n8n-editor-ui
Version:
Workflow Editor UI for n8n
1 lines • 243 kB
JavaScript
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.13.4`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]=`68071ac4-2903-4a4a-a95f-eab96315758f`,e._sentryDebugIdIdentifier=`sentry-dbid-68071ac4-2903-4a4a-a95f-eab96315758f`)})()}catch{}import{a as __toCommonJS,i as __require,o as __toESM,t as __commonJSMin}from"./chunk-DxpFCn6T.js";import{Wt as unref}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{bt as useI18n}from"./_MapCache-CUJwh2qp.js";import{v as require_get}from"./src-wni2AGA3.js";import{S as require_path_browserify,n as empty_exports,r as init_empty}from"./sanitize-html-my1ogl5v.js";import{Tr as useToast,fn as importCurlEventBus}from"./users.store-BHWXXawf.js";import{El as CURL_IMPORT_NOT_SUPPORTED_PROTOCOLS,Tl as CURL_IMPORT_NODES_PROTOCOLS}from"./constants-CIP7tKq1.js";import"./merge-BqvKZ38d.js";import{v as assert}from"./_baseOrderBy-CaKruttV.js";import"./dateformat-CYfyw486.js";import"./useDebounce-CTeIt-cH.js";var import_get=__toESM(require_get(),1),CCError=class extends Error{};const UTF8encoder=new TextEncoder;function has(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}function isInt(s){return/^\s*[+-]?\d+$/.test(s)}var Word=class Word{constructor(tokens){this.valueOf=Word.toString,typeof tokens==`string`&&(tokens=[tokens]),(tokens===void 0||tokens.length===0)&&(tokens=[``]),this.tokens=[];for(let t of tokens)typeof t==`string`?this.tokens.length>0&&typeof this.tokens[this.tokens.length-1]==`string`?this.tokens[this.tokens.length-1]+=t:t&&this.tokens.push(t):this.tokens.push(t);this.tokens.length===0&&this.tokens.push(``)}get length(){let len=0;for(let t of this.tokens)typeof t==`string`?len+=t.length:len+=1;return len}*[Symbol.iterator](){for(let t of this.tokens)if(typeof t==`string`)for(let c of t)yield c;else yield t}get(index){let i=0;for(let t of this.tokens)if(typeof t==`string`){if(i+t.length>index)return t[index-i];i+=t.length}else{if(i===index)return t;i+=1}throw new CCError(`Index out of bounds`)}charAt(index=0){try{return this.get(index)}catch{}return``}indexOf(search,start){start===void 0&&(start=0);let i=0;for(let t of this.tokens)if(typeof t==`string`){if(i+t.length>start){let index=t.indexOf(search,start-i);if(index!==-1)return i+index}i+=t.length}else i+=1;return-1}indexOfFirstChar(search){let i=0;for(let t of this.tokens)if(typeof t==`string`)for(let c of t){if(search.includes(c))return i;i+=1}else i+=1;return-1}removeFirstChar(c){return this.length===0?new Word:this.charAt(0)===c?this.slice(1):this.copy()}copy(){return new Word(this.tokens)}slice(indexStart,indexEnd){if(indexStart===void 0&&(indexStart=this.length),indexEnd===void 0&&(indexEnd=this.length),indexStart>=this.length||(indexStart<0&&(indexStart=Math.max(indexStart+this.length,0)),indexEnd<0&&(indexEnd=Math.max(indexEnd+this.length,0)),indexEnd<=indexStart))return new Word;let ret=[],i=0;for(let t of this.tokens)typeof t==`string`?(i+t.length>indexStart&&i<indexEnd&&ret.push(t.slice(Math.max(indexStart-i,0),indexEnd-i)),i+=t.length):(i>=indexStart&&i<indexEnd&&ret.push(t),i+=1);return new Word(ret)}includes(search,start){start===void 0&&(start=0);let i=0;for(let t of this.tokens)if(typeof t==`string`){if(i+t.length>start&&t.includes(search,start-i))return!0;i+=t.length}else i+=1;return!1}test(search){for(let t of this.tokens)if(typeof t==`string`&&search.test(t))return!0;return!1}prepend(c){let ret=this.copy();return ret.tokens.length&&typeof ret.tokens[0]==`string`?ret.tokens[0]=c+ret.tokens[0]:ret.tokens.unshift(c),ret}append(c){let ret=this.copy();return ret.tokens.length&&typeof ret.tokens[ret.tokens.length-1]==`string`?ret.tokens[ret.tokens.length-1]+=c:ret.tokens.push(c),ret}add(other){return new Word([...this.tokens,...other.tokens])}match(regex){for(let t of this.tokens)if(typeof t==`string`){let match=t.match(regex);if(match)return match}return null}search(regex){let offset=0;for(let t of this.tokens)if(typeof t==`string`){let match=t.search(regex);if(match!==-1)return offset+match;offset+=t.length}return-1}replace(search,replacement){let ret=[];for(let t of this.tokens)typeof t==`string`?ret.push(t.replace(search,replacement)):ret.push(t);return new Word(ret)}split(separator,limit){let ret=[],i=0,start=0;for(;i<this.length;){let match=!0;for(let j=0;j<separator.length;j++)if(this.get(i+j)!==separator.charAt(j)){match=!1;break}if(match){if(ret.push(this.slice(start,i)),i+=separator.length,start=i,limit!==void 0&&ret.length===limit-1)break}else i+=1}return start<=this.length&&ret.push(this.slice(start)),ret}toLowerCase(){return new Word(this.tokens.map(t=>typeof t==`string`?t.toLowerCase():t))}toUpperCase(){return new Word(this.tokens.map(t=>typeof t==`string`?t.toUpperCase():t))}trimStart(){let ret=[],i,t;for([i,t]of this.tokens.entries())typeof t==`string`?(i===0&&(t=t.trimStart()),t&&ret.push(t)):ret.push(t);return ret.length===0?new Word:new Word(ret)}trimEnd(){let ret=[],i,t;for([i,t]of this.tokens.entries())typeof t==`string`?(i===this.tokens.length-1&&(t=t.trimEnd()),t&&ret.push(t)):ret.push(t);return ret.length===0?new Word:new Word(ret)}trim(){let ret=[],i,t;for([i,t]of this.tokens.entries())typeof t==`string`?(i===0&&(t=t.trimStart()),i===this.tokens.length-1&&(t=t.trimEnd()),t&&ret.push(t)):ret.push(t);return ret.length===0?new Word:new Word(ret)}isEmpty(){return this.tokens.length===0?!0:this.tokens.length===1&&typeof this.tokens[0]==`string`?this.tokens[0].length===0:!1}toBool(){return!this.isEmpty()}isString(){for(let t of this.tokens)if(typeof t!=`string`)return!1;return!0}firstShellToken(){for(let t of this.tokens)if(typeof t!=`string`)return t;return null}startsWith(prefix){return this.tokens.length===0?!1:typeof this.tokens[0]==`string`?this.tokens[0].startsWith(prefix):!1}endsWith(suffix){if(this.tokens.length===0)return!1;let lastToken=this.tokens[this.tokens.length-1];return typeof lastToken==`string`?lastToken.endsWith(suffix):!1}toString(){return this.tokens.map(t=>typeof t==`string`?t:t.text).join(``)}};function eq(it,other){return it==null||other==null?it===other:typeof other==`string`?it.tokens.length===1&&typeof it.tokens[0]==`string`&&it.tokens[0]===other:it.tokens.length===other.tokens.length&&it.tokens.every((itToken,i)=>{let otherToken=other.tokens[i];return typeof itToken==`string`?itToken===otherToken:typeof otherToken==`string`?!1:itToken.text===otherToken.text})}function firstShellToken(word){return typeof word==`string`?null:word.firstShellToken()}function mergeWords(...words){let ret=[];for(let w of words)w instanceof Word?ret.push(...w.tokens):ret.push(w);return new Word(ret)}function joinWords(words,joinChar){let ret=[];for(let w of words)ret.length&&ret.push(joinChar),ret.push(...w.tokens);return new Word(ret)}var require_tree_sitter=__commonJSMin(((exports,module)=>{var Module=Module===void 0?{}:Module,ENVIRONMENT_IS_WEB=typeof window==`object`,ENVIRONMENT_IS_WORKER=typeof importScripts==`function`,ENVIRONMENT_IS_NODE=typeof process==`object`&&typeof process.versions==`object`&&typeof process.versions.node==`string`,TreeSitter=function(){var initPromise,document=typeof window==`object`?{currentScript:window.document.currentScript}:null;class Parser$3{constructor(){this.initialize()}initialize(){throw Error("cannot construct a Parser before calling `init()`")}static init(moduleOptions){return initPromise||=(Module=Object.assign({},Module,moduleOptions),new Promise(resolveInitPromise=>{var moduleOverrides=Object.assign({},Module),arguments_=[],thisProgram=`./this.program`,quit_=(status,toThrow)=>{throw toThrow},scriptDirectory=``;function locateFile(path){return Module.locateFile?Module.locateFile(path,scriptDirectory):scriptDirectory+path}var readAsync,readBinary;if(ENVIRONMENT_IS_NODE){var fs=(init_empty(),__toCommonJS(empty_exports)),nodePath=require_path_browserify();scriptDirectory=__dirname+`/`,readBinary=filename=>(filename=isFileURI(filename)?new URL(filename):nodePath.normalize(filename),fs.readFileSync(filename)),readAsync=(filename,binary=!0)=>(filename=isFileURI(filename)?new URL(filename):nodePath.normalize(filename),new Promise((resolve,reject)=>{fs.readFile(filename,binary?void 0:`utf8`,(err$1,data)=>{err$1?reject(err$1):resolve(binary?data.buffer:data)})})),!Module.thisProgram&&process.argv.length>1&&(thisProgram=process.argv[1].replace(/\\/g,`/`)),arguments_=process.argv.slice(2),module!==void 0&&(module.exports=Module),quit_=(status,toThrow)=>{throw process.exitCode=status,toThrow}}else (ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&(ENVIRONMENT_IS_WORKER?scriptDirectory=self.location.href:document!==void 0&&document.currentScript&&(scriptDirectory=document.currentScript.src),scriptDirectory=scriptDirectory.startsWith(`blob:`)?``:scriptDirectory.substr(0,scriptDirectory.replace(/[?#].*/,``).lastIndexOf(`/`)+1),ENVIRONMENT_IS_WORKER&&(readBinary=url=>{var xhr=new XMLHttpRequest;return xhr.open(`GET`,url,!1),xhr.responseType=`arraybuffer`,xhr.send(null),new Uint8Array(xhr.response)}),readAsync=url=>isFileURI(url)?new Promise((reject,resolve)=>{var xhr=new XMLHttpRequest;xhr.open(`GET`,url,!0),xhr.responseType=`arraybuffer`,xhr.onload=()=>{(xhr.status==200||xhr.status==0&&xhr.response)&&resolve(xhr.response),reject(xhr.status)},xhr.onerror=reject,xhr.send(null)}):fetch(url,{credentials:`same-origin`}).then(response=>response.ok?response.arrayBuffer():Promise.reject(Error(response.status+` : `+response.url))));var out=Module.print||console.log.bind(console),err=Module.printErr||console.error.bind(console);Object.assign(Module,moduleOverrides),moduleOverrides=null,Module.arguments&&(arguments_=Module.arguments),Module.thisProgram&&(thisProgram=Module.thisProgram),Module.quit&&(quit_=Module.quit);var dynamicLibraries=Module.dynamicLibraries||[],wasmBinary;Module.wasmBinary&&(wasmBinary=Module.wasmBinary);var wasmMemory,ABORT=!1,EXITSTATUS,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64,HEAP_DATA_VIEW;function updateMemoryViews(){var b=wasmMemory.buffer;Module.HEAP_DATA_VIEW=HEAP_DATA_VIEW=new DataView(b),Module.HEAP8=HEAP8=new Int8Array(b),Module.HEAP16=new Int16Array(b),Module.HEAPU8=HEAPU8=new Uint8Array(b),Module.HEAPU16=new Uint16Array(b),Module.HEAP32=new Int32Array(b),Module.HEAPU32=new Uint32Array(b),Module.HEAPF32=new Float32Array(b),Module.HEAPF64=new Float64Array(b)}if(Module.wasmMemory)wasmMemory=Module.wasmMemory;else{var INITIAL_MEMORY=Module.INITIAL_MEMORY||33554432;wasmMemory=new WebAssembly.Memory({initial:INITIAL_MEMORY/65536,maximum:2147483648/65536})}updateMemoryViews();var __ATPRERUN__=[],__ATINIT__=[],__ATMAIN__=[],__ATPOSTRUN__=[],__RELOC_FUNCS__=[],runtimeInitialized=!1;function preRun(){if(Module.preRun)for(typeof Module.preRun==`function`&&(Module.preRun=[Module.preRun]);Module.preRun.length;)addOnPreRun(Module.preRun.shift());callRuntimeCallbacks(__ATPRERUN__)}function initRuntime(){runtimeInitialized=!0,callRuntimeCallbacks(__RELOC_FUNCS__),callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function postRun(){if(Module.postRun)for(typeof Module.postRun==`function`&&(Module.postRun=[Module.postRun]);Module.postRun.length;)addOnPostRun(Module.postRun.shift());callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnInit(cb){__ATINIT__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}var runDependencies=0,runDependencyWatcher=null,dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++,Module.monitorRunDependencies?.(runDependencies)}function removeRunDependency(id){if(runDependencies--,Module.monitorRunDependencies?.(runDependencies),runDependencies==0&&(runDependencyWatcher!==null&&(clearInterval(runDependencyWatcher),runDependencyWatcher=null),dependenciesFulfilled)){var callback=dependenciesFulfilled;dependenciesFulfilled=null,callback()}}function abort(what){throw Module.onAbort?.(what),what=`Aborted(`+what+`)`,err(what),ABORT=!0,EXITSTATUS=1,what+=`. Build with -sASSERTIONS for more info.`,new WebAssembly.RuntimeError(what)}var dataURIPrefix=`data:application/octet-stream;base64,`,isDataURI=filename=>filename.startsWith(dataURIPrefix),isFileURI=filename=>filename.startsWith(`file://`);function findWasmBinary(){var f=`tree-sitter.wasm`;return isDataURI(f)?f:locateFile(f)}var wasmBinaryFile;function getBinarySync(file){if(file==wasmBinaryFile&&wasmBinary)return new Uint8Array(wasmBinary);if(readBinary)return readBinary(file);throw`both async and sync fetching of the wasm failed`}function getBinaryPromise(binaryFile){return wasmBinary?Promise.resolve().then(()=>getBinarySync(binaryFile)):readAsync(binaryFile).then(response=>new Uint8Array(response),()=>getBinarySync(binaryFile))}function instantiateArrayBuffer(binaryFile,imports,receiver){return getBinaryPromise(binaryFile).then(binary=>WebAssembly.instantiate(binary,imports)).then(receiver,reason=>{err(`failed to asynchronously prepare wasm: ${reason}`),abort(reason)})}function instantiateAsync(binary,binaryFile,imports,callback){return!binary&&typeof WebAssembly.instantiateStreaming==`function`&&!isDataURI(binaryFile)&&!isFileURI(binaryFile)&&!ENVIRONMENT_IS_NODE&&typeof fetch==`function`?fetch(binaryFile,{credentials:`same-origin`}).then(response=>WebAssembly.instantiateStreaming(response,imports).then(callback,function(reason){return err(`wasm streaming compile failed: ${reason}`),err(`falling back to ArrayBuffer instantiation`),instantiateArrayBuffer(binaryFile,imports,callback)})):instantiateArrayBuffer(binaryFile,imports,callback)}function getWasmImports(){return{env:wasmImports,wasi_snapshot_preview1:wasmImports,"GOT.mem":new Proxy(wasmImports,GOTHandler),"GOT.func":new Proxy(wasmImports,GOTHandler)}}function createWasm(){var info=getWasmImports();function receiveInstance(instance,module$1){wasmExports=instance.exports,wasmExports=relocateExports(wasmExports,1024);var metadata=getDylinkMetadata(module$1);return metadata.neededDynlibs&&(dynamicLibraries=metadata.neededDynlibs.concat(dynamicLibraries)),mergeLibSymbols(wasmExports,`main`),LDSO.init(),loadDylibs(),addOnInit(wasmExports.__wasm_call_ctors),__RELOC_FUNCS__.push(wasmExports.__wasm_apply_data_relocs),removeRunDependency(`wasm-instantiate`),wasmExports}addRunDependency(`wasm-instantiate`);function receiveInstantiationResult(result){receiveInstance(result.instance,result.module)}if(Module.instantiateWasm)try{return Module.instantiateWasm(info,receiveInstance)}catch(e){return err(`Module.instantiateWasm callback failed with error: ${e}`),!1}return wasmBinaryFile||=findWasmBinary(),instantiateAsync(wasmBinary,wasmBinaryFile,info,receiveInstantiationResult),{}}var ASM_CONSTS={};function ExitStatus(status){this.name=`ExitStatus`,this.message=`Program terminated with exit(${status})`,this.status=status}var GOT={},currentModuleWeakSymbols=new Set([]),GOTHandler={get(obj,symName){var rtn=GOT[symName];return rtn||=GOT[symName]=new WebAssembly.Global({value:`i32`,mutable:!0}),currentModuleWeakSymbols.has(symName)||(rtn.required=!0),rtn}},LE_HEAP_LOAD_F32=byteOffset=>HEAP_DATA_VIEW.getFloat32(byteOffset,!0),LE_HEAP_LOAD_F64=byteOffset=>HEAP_DATA_VIEW.getFloat64(byteOffset,!0),LE_HEAP_LOAD_I16=byteOffset=>HEAP_DATA_VIEW.getInt16(byteOffset,!0),LE_HEAP_LOAD_I32=byteOffset=>HEAP_DATA_VIEW.getInt32(byteOffset,!0),LE_HEAP_LOAD_U32=byteOffset=>HEAP_DATA_VIEW.getUint32(byteOffset,!0),LE_HEAP_STORE_F32=(byteOffset,value)=>HEAP_DATA_VIEW.setFloat32(byteOffset,value,!0),LE_HEAP_STORE_F64=(byteOffset,value)=>HEAP_DATA_VIEW.setFloat64(byteOffset,value,!0),LE_HEAP_STORE_I16=(byteOffset,value)=>HEAP_DATA_VIEW.setInt16(byteOffset,value,!0),LE_HEAP_STORE_I32=(byteOffset,value)=>HEAP_DATA_VIEW.setInt32(byteOffset,value,!0),LE_HEAP_STORE_U32=(byteOffset,value)=>HEAP_DATA_VIEW.setUint32(byteOffset,value,!0),callRuntimeCallbacks=callbacks=>{for(;callbacks.length>0;)callbacks.shift()(Module)},UTF8Decoder=typeof TextDecoder<`u`?new TextDecoder:void 0,UTF8ArrayToString=(heapOrArray,idx,maxBytesToRead)=>{for(var endIdx=idx+maxBytesToRead,endPtr=idx;heapOrArray[endPtr]&&!(endPtr>=endIdx);)++endPtr;if(endPtr-idx>16&&heapOrArray.buffer&&UTF8Decoder)return UTF8Decoder.decode(heapOrArray.subarray(idx,endPtr));for(var str=``;idx<endPtr;){var u0=heapOrArray[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heapOrArray[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heapOrArray[idx++]&63;if(u0=(u0&240)==224?(u0&15)<<12|u1<<6|u2:(u0&7)<<18|u1<<12|u2<<6|heapOrArray[idx++]&63,u0<65536)str+=String.fromCharCode(u0);else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}return str},getDylinkMetadata=binary=>{var offset=0,end=0;function getU8(){return binary[offset++]}function getLEB(){for(var ret=0,mul=1;;){var byte=binary[offset++];if(ret+=(byte&127)*mul,mul*=128,!(byte&128))break}return ret}function getString(){var len=getLEB();return offset+=len,UTF8ArrayToString(binary,offset-len,len)}function failIf(condition,message){if(condition)throw Error(message)}var name=`dylink.0`;if(binary instanceof WebAssembly.Module){var dylinkSection=WebAssembly.Module.customSections(binary,name);dylinkSection.length===0&&(name=`dylink`,dylinkSection=WebAssembly.Module.customSections(binary,name)),failIf(dylinkSection.length===0,`need dylink section`),binary=new Uint8Array(dylinkSection[0]),end=binary.length}else{var int32View=new Uint32Array(new Uint8Array(binary.subarray(0,24)).buffer);failIf(!(int32View[0]==1836278016||int32View[0]==6386541),`need to see wasm magic number`),failIf(binary[8]!==0,`need the dylink section to be first`),offset=9;var section_size=getLEB();end=offset+section_size,name=getString()}var customSection={neededDynlibs:[],tlsExports:new Set,weakImports:new Set};if(name==`dylink`){customSection.memorySize=getLEB(),customSection.memoryAlign=getLEB(),customSection.tableSize=getLEB(),customSection.tableAlign=getLEB();for(var neededDynlibsCount=getLEB(),i=0;i<neededDynlibsCount;++i){var libname=getString();customSection.neededDynlibs.push(libname)}}else{failIf(name!==`dylink.0`);for(var WASM_DYLINK_MEM_INFO=1,WASM_DYLINK_NEEDED=2,WASM_DYLINK_EXPORT_INFO=3,WASM_DYLINK_IMPORT_INFO=4,WASM_SYMBOL_TLS=256,WASM_SYMBOL_BINDING_MASK=3,WASM_SYMBOL_BINDING_WEAK=1;offset<end;){var subsectionType=getU8(),subsectionSize=getLEB();if(subsectionType===WASM_DYLINK_MEM_INFO)customSection.memorySize=getLEB(),customSection.memoryAlign=getLEB(),customSection.tableSize=getLEB(),customSection.tableAlign=getLEB();else if(subsectionType===WASM_DYLINK_NEEDED)for(var neededDynlibsCount=getLEB(),i=0;i<neededDynlibsCount;++i)libname=getString(),customSection.neededDynlibs.push(libname);else if(subsectionType===WASM_DYLINK_EXPORT_INFO)for(var count=getLEB();count--;){var symname=getString(),flags=getLEB();flags&WASM_SYMBOL_TLS&&customSection.tlsExports.add(symname)}else if(subsectionType===WASM_DYLINK_IMPORT_INFO)for(var count=getLEB();count--;){var modname=getString(),symname=getString(),flags=getLEB();(flags&WASM_SYMBOL_BINDING_MASK)==WASM_SYMBOL_BINDING_WEAK&&customSection.weakImports.add(symname)}else offset+=subsectionSize}}return customSection};function getValue(ptr,type=`i8`){switch(type.endsWith(`*`)&&(type=`*`),type){case`i1`:return HEAP8[ptr];case`i8`:return HEAP8[ptr];case`i16`:return LE_HEAP_LOAD_I16((ptr>>1)*2);case`i32`:return LE_HEAP_LOAD_I32((ptr>>2)*4);case`i64`:abort(`to do getValue(i64) use WASM_BIGINT`);case`float`:return LE_HEAP_LOAD_F32((ptr>>2)*4);case`double`:return LE_HEAP_LOAD_F64((ptr>>3)*8);case`*`:return LE_HEAP_LOAD_U32((ptr>>2)*4);default:abort(`invalid type for getValue: ${type}`)}}var newDSO=(name,handle,syms)=>{var dso={refcount:1/0,name,exports:syms,global:!0};return LDSO.loadedLibsByName[name]=dso,handle!=null&&(LDSO.loadedLibsByHandle[handle]=dso),dso},LDSO={loadedLibsByName:{},loadedLibsByHandle:{},init(){newDSO(`__main__`,0,wasmImports)}},___heap_base=78112,zeroMemory=(address,size)=>(HEAPU8.fill(0,address,address+size),address),alignMemory=(size,alignment)=>Math.ceil(size/alignment)*alignment,getMemory=size=>{if(runtimeInitialized)return zeroMemory(_malloc(size),size);var ret=___heap_base,end=ret+alignMemory(size,16);return ___heap_base=end,GOT.__heap_base.value=end,ret},isInternalSym=symName=>[`__cpp_exception`,`__c_longjmp`,`__wasm_apply_data_relocs`,`__dso_handle`,`__tls_size`,`__tls_align`,`__set_stack_limits`,`_emscripten_tls_init`,`__wasm_init_tls`,`__wasm_call_ctors`,`__start_em_asm`,`__stop_em_asm`,`__start_em_js`,`__stop_em_js`].includes(symName)||symName.startsWith(`__em_js__`),uleb128Encode=(n,target)=>{n<128?target.push(n):target.push(n%128|128,n>>7)},sigToWasmTypes=sig=>{for(var typeNames={i:`i32`,j:`i64`,f:`f32`,d:`f64`,e:`externref`,p:`i32`},type={parameters:[],results:sig[0]==`v`?[]:[typeNames[sig[0]]]},i=1;i<sig.length;++i)type.parameters.push(typeNames[sig[i]]);return type},generateFuncType=(sig,target)=>{var sigRet=sig.slice(0,1),sigParam=sig.slice(1),typeCodes={i:127,p:127,j:126,f:125,d:124,e:111};target.push(96),uleb128Encode(sigParam.length,target);for(var i=0;i<sigParam.length;++i)target.push(typeCodes[sigParam[i]]);sigRet==`v`?target.push(0):target.push(1,typeCodes[sigRet])},convertJsFunctionToWasm=(func,sig)=>{if(typeof WebAssembly.Function==`function`)return new WebAssembly.Function(sigToWasmTypes(sig),func);var typeSectionBody=[1];generateFuncType(sig,typeSectionBody);var bytes=[0,97,115,109,1,0,0,0,1];uleb128Encode(typeSectionBody.length,bytes),bytes.push(...typeSectionBody),bytes.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);var module$1=new WebAssembly.Module(new Uint8Array(bytes));return new WebAssembly.Instance(module$1,{e:{f:func}}).exports.f},wasmTableMirror=[],wasmTable=new WebAssembly.Table({initial:28,element:`anyfunc`}),getWasmTableEntry=funcPtr=>{var func=wasmTableMirror[funcPtr];return func||(funcPtr>=wasmTableMirror.length&&(wasmTableMirror.length=funcPtr+1),wasmTableMirror[funcPtr]=func=wasmTable.get(funcPtr)),func},updateTableMap=(offset,count)=>{if(functionsInTableMap)for(var i=offset;i<offset+count;i++){var item=getWasmTableEntry(i);item&&functionsInTableMap.set(item,i)}},functionsInTableMap,getFunctionAddress=func=>(functionsInTableMap||(functionsInTableMap=new WeakMap,updateTableMap(0,wasmTable.length)),functionsInTableMap.get(func)||0),freeTableIndexes=[],getEmptyTableSlot=()=>{if(freeTableIndexes.length)return freeTableIndexes.pop();try{wasmTable.grow(1)}catch(err$1){throw err$1 instanceof RangeError?`Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.`:err$1}return wasmTable.length-1},setWasmTableEntry=(idx,func)=>{wasmTable.set(idx,func),wasmTableMirror[idx]=wasmTable.get(idx)},addFunction=(func,sig)=>{var rtn=getFunctionAddress(func);if(rtn)return rtn;var ret=getEmptyTableSlot();try{setWasmTableEntry(ret,func)}catch(err$1){if(!(err$1 instanceof TypeError))throw err$1;setWasmTableEntry(ret,convertJsFunctionToWasm(func,sig))}return functionsInTableMap.set(func,ret),ret},updateGOT=(exports$1,replace)=>{for(var symName in exports$1)if(!isInternalSym(symName)){var value=exports$1[symName];symName.startsWith(`orig$`)&&(symName=symName.split(`$`)[1],replace=!0),GOT[symName]||=new WebAssembly.Global({value:`i32`,mutable:!0}),(replace||GOT[symName].value==0)&&(typeof value==`function`?GOT[symName].value=addFunction(value):typeof value==`number`?GOT[symName].value=value:err(`unhandled export type for '${symName}': ${typeof value}`))}},relocateExports=(exports$1,memoryBase,replace)=>{var relocated={};for(var e in exports$1){var value=exports$1[e];typeof value==`object`&&(value=value.value),typeof value==`number`&&(value+=memoryBase),relocated[e]=value}return updateGOT(relocated,replace),relocated},isSymbolDefined=symName=>{var existing=wasmImports[symName];return!(!existing||existing.stub)},dynCallLegacy=(sig,ptr,args)=>{sig=sig.replace(/p/g,`i`);var f=Module[`dynCall_`+sig];return f(ptr,...args)},dynCall=(sig,ptr,args=[])=>sig.includes(`j`)?dynCallLegacy(sig,ptr,args):getWasmTableEntry(ptr)(...args),stackSave=()=>_emscripten_stack_get_current(),stackRestore=val=>__emscripten_stack_restore(val),createInvokeFunction=sig=>(ptr,...args)=>{var sp=stackSave();try{return dynCall(sig,ptr,args)}catch(e){if(stackRestore(sp),e!==e+0)throw e;_setThrew(1,0)}},resolveGlobalSymbol=(symName,direct=!1)=>{var sym;return direct&&`orig$`+symName in wasmImports&&(symName=`orig$`+symName),isSymbolDefined(symName)?sym=wasmImports[symName]:symName.startsWith(`invoke_`)&&(sym=wasmImports[symName]=createInvokeFunction(symName.split(`_`)[1])),{sym,name:symName}},UTF8ToString=(ptr,maxBytesToRead)=>ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):``,loadWebAssemblyModule=(binary,flags,libName,localScope,handle)=>{var metadata=getDylinkMetadata(binary);currentModuleWeakSymbols=metadata.weakImports;function loadModule(){var firstLoad=!handle||!HEAP8[handle+8];if(firstLoad){var memAlign=2**metadata.memoryAlign,memoryBase=metadata.memorySize?alignMemory(getMemory(metadata.memorySize+memAlign),memAlign):0,tableBase=metadata.tableSize?wasmTable.length:0;handle&&(HEAP8[handle+8]=1,LE_HEAP_STORE_U32((handle+12>>2)*4,memoryBase),LE_HEAP_STORE_I32((handle+16>>2)*4,metadata.memorySize),LE_HEAP_STORE_U32((handle+20>>2)*4,tableBase),LE_HEAP_STORE_I32((handle+24>>2)*4,metadata.tableSize))}else memoryBase=LE_HEAP_LOAD_U32((handle+12>>2)*4),tableBase=LE_HEAP_LOAD_U32((handle+20>>2)*4);var tableGrowthNeeded=tableBase+metadata.tableSize-wasmTable.length;tableGrowthNeeded>0&&wasmTable.grow(tableGrowthNeeded);var moduleExports;function resolveSymbol(sym){var resolved=resolveGlobalSymbol(sym).sym;return!resolved&&localScope&&(resolved=localScope[sym]),resolved||=moduleExports[sym],resolved}var proxyHandler={get(stubs,prop){switch(prop){case`__memory_base`:return memoryBase;case`__table_base`:return tableBase}if(prop in wasmImports&&!wasmImports[prop].stub)return wasmImports[prop];if(!(prop in stubs)){var resolved;stubs[prop]=(...args)=>(resolved||=resolveSymbol(prop),resolved(...args))}return stubs[prop]}},proxy=new Proxy({},proxyHandler),info={"GOT.mem":new Proxy({},GOTHandler),"GOT.func":new Proxy({},GOTHandler),env:proxy,wasi_snapshot_preview1:proxy};function postInstantiation(module$2,instance$1){updateTableMap(tableBase,metadata.tableSize),moduleExports=relocateExports(instance$1.exports,memoryBase),flags.allowUndefined||reportUndefinedSymbols();function addEmAsm(addr,body){for(var args=[],arity=0;arity<16&&body.indexOf(`$`+arity)!=-1;arity++)args.push(`$`+arity);args=args.join(`,`);var func=`(${args}) => { ${body} };`;ASM_CONSTS[start]=eval(func)}if(`__start_em_asm`in moduleExports)for(var start=moduleExports.__start_em_asm,stop=moduleExports.__stop_em_asm;start<stop;){var jsString=UTF8ToString(start);addEmAsm(start,jsString),start=HEAPU8.indexOf(0,start)+1}function addEmJs(name$1,cSig,body){var jsArgs=[];if(cSig=cSig.slice(1,-1),cSig!=`void`)for(var i in cSig=cSig.split(`,`),cSig){var jsArg=cSig[i].split(` `).pop();jsArgs.push(jsArg.replace(`*`,``))}var func=`(${jsArgs}) => ${body};`;moduleExports[name$1]=eval(func)}for(var name in moduleExports)if(name.startsWith(`__em_js__`)){var start=moduleExports[name],jsString=UTF8ToString(start),parts=jsString.split(`<::>`);addEmJs(name.replace(`__em_js__`,``),parts[0],parts[1]),delete moduleExports[name]}var applyRelocs=moduleExports.__wasm_apply_data_relocs;applyRelocs&&(runtimeInitialized?applyRelocs():__RELOC_FUNCS__.push(applyRelocs));var init=moduleExports.__wasm_call_ctors;return init&&(runtimeInitialized?init():__ATINIT__.push(init)),moduleExports}if(flags.loadAsync){if(binary instanceof WebAssembly.Module){var instance=new WebAssembly.Instance(binary,info);return Promise.resolve(postInstantiation(binary,instance))}return WebAssembly.instantiate(binary,info).then(result=>postInstantiation(result.module,result.instance))}var module$1=binary instanceof WebAssembly.Module?binary:new WebAssembly.Module(binary),instance=new WebAssembly.Instance(module$1,info);return postInstantiation(module$1,instance)}return flags.loadAsync?metadata.neededDynlibs.reduce((chain,dynNeeded)=>chain.then(()=>loadDynamicLibrary(dynNeeded,flags,localScope)),Promise.resolve()).then(loadModule):(metadata.neededDynlibs.forEach(needed=>loadDynamicLibrary(needed,flags,localScope)),loadModule())},mergeLibSymbols=(exports$1,libName)=>{for(var[sym,exp]of Object.entries(exports$1)){let setImport=target=>{isSymbolDefined(target)||(wasmImports[target]=exp)};setImport(sym);let main_alias=`__main_argc_argv`;sym==`main`&&setImport(main_alias),sym==main_alias&&setImport(`main`),sym.startsWith(`dynCall_`)&&!Module.hasOwnProperty(sym)&&(Module[sym]=exp)}},asyncLoad=(url,onload,onerror,noRunDep)=>{var dep=noRunDep?``:getUniqueRunDependency(`al ${url}`);readAsync(url).then(arrayBuffer=>{onload(new Uint8Array(arrayBuffer)),dep&&removeRunDependency(dep)},err$1=>{if(onerror)onerror();else throw`Loading data file "${url}" failed.`}),dep&&addRunDependency(dep)};function loadDynamicLibrary(libName,flags={global:!0,nodelete:!0},localScope,handle){var dso=LDSO.loadedLibsByName[libName];if(dso)return flags.global?dso.global||(dso.global=!0,mergeLibSymbols(dso.exports,libName)):localScope&&Object.assign(localScope,dso.exports),flags.nodelete&&dso.refcount!==1/0&&(dso.refcount=1/0),dso.refcount++,handle&&(LDSO.loadedLibsByHandle[handle]=dso),flags.loadAsync?Promise.resolve(!0):!0;dso=newDSO(libName,handle,`loading`),dso.refcount=flags.nodelete?1/0:1,dso.global=flags.global;function loadLibData(){if(handle){var data=LE_HEAP_LOAD_U32((handle+28>>2)*4),dataSize=LE_HEAP_LOAD_U32((handle+32>>2)*4);if(data&&dataSize){var libData=HEAP8.slice(data,data+dataSize);return flags.loadAsync?Promise.resolve(libData):libData}}var libFile=locateFile(libName);if(flags.loadAsync)return new Promise(function(resolve,reject){asyncLoad(libFile,resolve,reject)});if(!readBinary)throw Error(`${libFile}: file not found, and synchronous loading of external files is not available`);return readBinary(libFile)}function getExports(){return flags.loadAsync?loadLibData().then(libData=>loadWebAssemblyModule(libData,flags,libName,localScope,handle)):loadWebAssemblyModule(loadLibData(),flags,libName,localScope,handle)}function moduleLoaded(exports$1){dso.global?mergeLibSymbols(exports$1,libName):localScope&&Object.assign(localScope,exports$1),dso.exports=exports$1}return flags.loadAsync?getExports().then(exports$1=>(moduleLoaded(exports$1),!0)):(moduleLoaded(getExports()),!0)}var reportUndefinedSymbols=()=>{for(var[symName,entry]of Object.entries(GOT))if(entry.value==0){var value=resolveGlobalSymbol(symName,!0).sym;if(!value&&!entry.required)continue;if(typeof value==`function`)entry.value=addFunction(value,value.sig);else if(typeof value==`number`)entry.value=value;else throw Error(`bad export type for '${symName}': ${typeof value}`)}},loadDylibs=()=>{if(!dynamicLibraries.length){reportUndefinedSymbols();return}addRunDependency(`loadDylibs`),dynamicLibraries.reduce((chain,lib)=>chain.then(()=>loadDynamicLibrary(lib,{loadAsync:!0,global:!0,nodelete:!0,allowUndefined:!0})),Promise.resolve()).then(()=>{reportUndefinedSymbols(),removeRunDependency(`loadDylibs`)})},noExitRuntime=Module.noExitRuntime||!0;function setValue(ptr,value,type=`i8`){switch(type.endsWith(`*`)&&(type=`*`),type){case`i1`:HEAP8[ptr]=value;break;case`i8`:HEAP8[ptr]=value;break;case`i16`:LE_HEAP_STORE_I16((ptr>>1)*2,value);break;case`i32`:LE_HEAP_STORE_I32((ptr>>2)*4,value);break;case`i64`:abort(`to do setValue(i64) use WASM_BIGINT`);case`float`:LE_HEAP_STORE_F32((ptr>>2)*4,value);break;case`double`:LE_HEAP_STORE_F64((ptr>>3)*8,value);break;case`*`:LE_HEAP_STORE_U32((ptr>>2)*4,value);break;default:abort(`invalid type for setValue: ${type}`)}}var ___memory_base=new WebAssembly.Global({value:`i32`,mutable:!1},1024),___stack_pointer=new WebAssembly.Global({value:`i32`,mutable:!0},78112),___table_base=new WebAssembly.Global({value:`i32`,mutable:!1},1),__abort_js=()=>{abort(``)};__abort_js.sig=`v`;var nowIsMonotonic=1,__emscripten_get_now_is_monotonic=()=>nowIsMonotonic;__emscripten_get_now_is_monotonic.sig=`i`;var __emscripten_memcpy_js=(dest,src,num)=>HEAPU8.copyWithin(dest,src,src+num);__emscripten_memcpy_js.sig=`vppp`;var _emscripten_date_now=()=>Date.now();_emscripten_date_now.sig=`d`;var _emscripten_get_now=()=>performance.now();_emscripten_get_now.sig=`d`;var getHeapMax=()=>2147483648,growMemory=size=>{var pages=(size-wasmMemory.buffer.byteLength+65535)/65536;try{return wasmMemory.grow(pages),updateMemoryViews(),1}catch{}},_emscripten_resize_heap=requestedSize=>{var oldSize=HEAPU8.length;requestedSize>>>=0;var maxHeapSize=getHeapMax();if(requestedSize>maxHeapSize)return!1;for(var alignUp=(x,multiple)=>x+(multiple-x%multiple)%multiple,cutDown=1;cutDown<=4;cutDown*=2){var overGrownHeapSize=oldSize*(1+.2/cutDown);if(overGrownHeapSize=Math.min(overGrownHeapSize,requestedSize+100663296),growMemory(Math.min(maxHeapSize,alignUp(Math.max(requestedSize,overGrownHeapSize),65536))))return!0}return!1};_emscripten_resize_heap.sig=`ip`;var _fd_close=fd=>52;_fd_close.sig=`ii`;var convertI32PairToI53Checked=(lo,hi)=>hi+2097152>>>0<4194305-!!lo?(lo>>>0)+hi*4294967296:NaN;function _fd_seek(fd,offset_low,offset_high,whence,newOffset){var offset=convertI32PairToI53Checked(offset_low,offset_high);return 70}_fd_seek.sig=`iiiiip`;var printCharBuffers=[null,[],[]],printChar=(stream,curr)=>{var buffer=printCharBuffers[stream];curr===0||curr===10?((stream===1?out:err)(UTF8ArrayToString(buffer,0)),buffer.length=0):buffer.push(curr)},_fd_write=(fd,iov,iovcnt,pnum)=>{for(var num=0,i=0;i<iovcnt;i++){var ptr=LE_HEAP_LOAD_U32((iov>>2)*4),len=LE_HEAP_LOAD_U32((iov+4>>2)*4);iov+=8;for(var j=0;j<len;j++)printChar(fd,HEAPU8[ptr+j]);num+=len}return LE_HEAP_STORE_U32((pnum>>2)*4,num),0};_fd_write.sig=`iippp`;function _tree_sitter_log_callback(isLexMessage,messageAddress){if(currentLogCallback){let message=UTF8ToString(messageAddress);currentLogCallback(message,isLexMessage!==0)}}function _tree_sitter_parse_callback(inputBufferAddress,index,row,column,lengthAddress){let INPUT_BUFFER_SIZE=10*1024,string=currentParseCallback(index,{row,column});typeof string==`string`?(setValue(lengthAddress,string.length,`i32`),stringToUTF16(string,inputBufferAddress,10240)):setValue(lengthAddress,0,`i32`)}var runtimeKeepaliveCounter=0,keepRuntimeAlive=()=>noExitRuntime||runtimeKeepaliveCounter>0,_proc_exit=code=>{EXITSTATUS=code,keepRuntimeAlive()||(Module.onExit?.(code),ABORT=!0),quit_(code,new ExitStatus(code))};_proc_exit.sig=`vi`;var exitJS=(status,implicit)=>{EXITSTATUS=status,_proc_exit(status)},handleException=e=>{if(e instanceof ExitStatus||e==`unwind`)return EXITSTATUS;quit_(1,e)},lengthBytesUTF8=str=>{for(var len=0,i=0;i<str.length;++i){var c=str.charCodeAt(i);c<=127?len++:c<=2047?len+=2:c>=55296&&c<=57343?(len+=4,++i):len+=3}return len},stringToUTF8Array=(str,heap,outIdx,maxBytesToWrite)=>{if(!(maxBytesToWrite>0))return 0;for(var startIdx=outIdx,endIdx=outIdx+maxBytesToWrite-1,i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6,heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12,heap[outIdx++]=128|u>>6&63,heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18,heap[outIdx++]=128|u>>12&63,heap[outIdx++]=128|u>>6&63,heap[outIdx++]=128|u&63}}return heap[outIdx]=0,outIdx-startIdx},stringToUTF8=(str,outPtr,maxBytesToWrite)=>stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite),stackAlloc=sz=>__emscripten_stack_alloc(sz),stringToUTF8OnStack=str=>{var size=lengthBytesUTF8(str)+1,ret=stackAlloc(size);return stringToUTF8(str,ret,size),ret},stringToUTF16=(str,outPtr,maxBytesToWrite)=>{if(maxBytesToWrite??=2147483647,maxBytesToWrite<2)return 0;maxBytesToWrite-=2;for(var startPtr=outPtr,numCharsToWrite=maxBytesToWrite<str.length*2?maxBytesToWrite/2:str.length,i=0;i<numCharsToWrite;++i){var codeUnit=str.charCodeAt(i);LE_HEAP_STORE_I16((outPtr>>1)*2,codeUnit),outPtr+=2}return LE_HEAP_STORE_I16((outPtr>>1)*2,0),outPtr-startPtr},AsciiToString=ptr=>{for(var str=``;;){var ch=HEAPU8[ptr++];if(!ch)return str;str+=String.fromCharCode(ch)}},wasmImports={__heap_base:___heap_base,__indirect_function_table:wasmTable,__memory_base:___memory_base,__stack_pointer:___stack_pointer,__table_base:___table_base,_abort_js:__abort_js,_emscripten_get_now_is_monotonic:__emscripten_get_now_is_monotonic,_emscripten_memcpy_js:__emscripten_memcpy_js,emscripten_get_now:_emscripten_get_now,emscripten_resize_heap:_emscripten_resize_heap,fd_close:_fd_close,fd_seek:_fd_seek,fd_write:_fd_write,memory:wasmMemory,tree_sitter_log_callback:_tree_sitter_log_callback,tree_sitter_parse_callback:_tree_sitter_parse_callback},wasmExports=createWasm(),___wasm_call_ctors=()=>(___wasm_call_ctors=wasmExports.__wasm_call_ctors)(),___wasm_apply_data_relocs=()=>(___wasm_apply_data_relocs=wasmExports.__wasm_apply_data_relocs)(),_malloc=Module._malloc=a0=>(_malloc=Module._malloc=wasmExports.malloc)(a0),_calloc=Module._calloc=(a0,a1)=>(_calloc=Module._calloc=wasmExports.calloc)(a0,a1),_realloc=Module._realloc=(a0,a1)=>(_realloc=Module._realloc=wasmExports.realloc)(a0,a1),_free=Module._free=a0=>(_free=Module._free=wasmExports.free)(a0),_ts_language_symbol_count=Module._ts_language_symbol_count=a0=>(_ts_language_symbol_count=Module._ts_language_symbol_count=wasmExports.ts_language_symbol_count)(a0),_ts_language_state_count=Module._ts_language_state_count=a0=>(_ts_language_state_count=Module._ts_language_state_count=wasmExports.ts_language_state_count)(a0),_ts_language_version=Module._ts_language_version=a0=>(_ts_language_version=Module._ts_language_version=wasmExports.ts_language_version)(a0),_ts_language_field_count=Module._ts_language_field_count=a0=>(_ts_language_field_count=Module._ts_language_field_count=wasmExports.ts_language_field_count)(a0),_ts_language_next_state=Module._ts_language_next_state=(a0,a1,a2)=>(_ts_language_next_state=Module._ts_language_next_state=wasmExports.ts_language_next_state)(a0,a1,a2),_ts_language_symbol_name=Module._ts_language_symbol_name=(a0,a1)=>(_ts_language_symbol_name=Module._ts_language_symbol_name=wasmExports.ts_language_symbol_name)(a0,a1),_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=(a0,a1,a2,a3)=>(_ts_language_symbol_for_name=Module._ts_language_symbol_for_name=wasmExports.ts_language_symbol_for_name)(a0,a1,a2,a3),_strncmp=Module._strncmp=(a0,a1,a2)=>(_strncmp=Module._strncmp=wasmExports.strncmp)(a0,a1,a2),_ts_language_symbol_type=Module._ts_language_symbol_type=(a0,a1)=>(_ts_language_symbol_type=Module._ts_language_symbol_type=wasmExports.ts_language_symbol_type)(a0,a1),_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=(a0,a1)=>(_ts_language_field_name_for_id=Module._ts_language_field_name_for_id=wasmExports.ts_language_field_name_for_id)(a0,a1),_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=(a0,a1)=>(_ts_lookahead_iterator_new=Module._ts_lookahead_iterator_new=wasmExports.ts_lookahead_iterator_new)(a0,a1),_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=a0=>(_ts_lookahead_iterator_delete=Module._ts_lookahead_iterator_delete=wasmExports.ts_lookahead_iterator_delete)(a0),_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=(a0,a1)=>(_ts_lookahead_iterator_reset_state=Module._ts_lookahead_iterator_reset_state=wasmExports.ts_lookahead_iterator_reset_state)(a0,a1),_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=(a0,a1,a2)=>(_ts_lookahead_iterator_reset=Module._ts_lookahead_iterator_reset=wasmExports.ts_lookahead_iterator_reset)(a0,a1,a2),_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=a0=>(_ts_lookahead_iterator_next=Module._ts_lookahead_iterator_next=wasmExports.ts_lookahead_iterator_next)(a0),_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=a0=>(_ts_lookahead_iterator_current_symbol=Module._ts_lookahead_iterator_current_symbol=wasmExports.ts_lookahead_iterator_current_symbol)(a0),_memset=Module._memset=(a0,a1,a2)=>(_memset=Module._memset=wasmExports.memset)(a0,a1,a2),_memcpy=Module._memcpy=(a0,a1,a2)=>(_memcpy=Module._memcpy=wasmExports.memcpy)(a0,a1,a2),_ts_parser_delete=Module._ts_parser_delete=a0=>(_ts_parser_delete=Module._ts_parser_delete=wasmExports.ts_parser_delete)(a0),_ts_parser_reset=Module._ts_parser_reset=a0=>(_ts_parser_reset=Module._ts_parser_reset=wasmExports.ts_parser_reset)(a0),_ts_parser_set_language=Module._ts_parser_set_language=(a0,a1)=>(_ts_parser_set_language=Module._ts_parser_set_language=wasmExports.ts_parser_set_language)(a0,a1),_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=a0=>(_ts_parser_timeout_micros=Module._ts_parser_timeout_micros=wasmExports.ts_parser_timeout_micros)(a0),_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=(a0,a1,a2)=>(_ts_parser_set_timeout_micros=Module._ts_parser_set_timeout_micros=wasmExports.ts_parser_set_timeout_micros)(a0,a1,a2),_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=(a0,a1,a2)=>(_ts_parser_set_included_ranges=Module._ts_parser_set_included_ranges=wasmExports.ts_parser_set_included_ranges)(a0,a1,a2),_memmove=Module._memmove=(a0,a1,a2)=>(_memmove=Module._memmove=wasmExports.memmove)(a0,a1,a2),_memcmp=Module._memcmp=(a0,a1,a2)=>(_memcmp=Module._memcmp=wasmExports.memcmp)(a0,a1,a2),_ts_query_new=Module._ts_query_new=(a0,a1,a2,a3,a4)=>(_ts_query_new=Module._ts_query_new=wasmExports.ts_query_new)(a0,a1,a2,a3,a4),_ts_query_delete=Module._ts_query_delete=a0=>(_ts_query_delete=Module._ts_query_delete=wasmExports.ts_query_delete)(a0),_iswspace=Module._iswspace=a0=>(_iswspace=Module._iswspace=wasmExports.iswspace)(a0),_iswalnum=Module._iswalnum=a0=>(_iswalnum=Module._iswalnum=wasmExports.iswalnum)(a0),_ts_query_pattern_count=Module._ts_query_pattern_count=a0=>(_ts_query_pattern_count=Module._ts_query_pattern_count=wasmExports.ts_query_pattern_count)(a0),_ts_query_capture_count=Module._ts_query_capture_count=a0=>(_ts_query_capture_count=Module._ts_query_capture_count=wasmExports.ts_query_capture_count)(a0),_ts_query_string_count=Module._ts_query_string_count=a0=>(_ts_query_string_count=Module._ts_query_string_count=wasmExports.ts_query_string_count)(a0),_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=(a0,a1,a2)=>(_ts_query_capture_name_for_id=Module._ts_query_capture_name_for_id=wasmExports.ts_query_capture_name_for_id)(a0,a1,a2),_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=(a0,a1,a2)=>(_ts_query_string_value_for_id=Module._ts_query_string_value_for_id=wasmExports.ts_query_string_value_for_id)(a0,a1,a2),_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=(a0,a1,a2)=>(_ts_query_predicates_for_pattern=Module._ts_query_predicates_for_pattern=wasmExports.ts_query_predicates_for_pattern)(a0,a1,a2),_ts_query_disable_capture=Module._ts_query_disable_capture=(a0,a1,a2)=>(_ts_query_disable_capture=Module._ts_query_disable_capture=wasmExports.ts_query_disable_capture)(a0,a1,a2),_ts_tree_copy=Module._ts_tree_copy=a0=>(_ts_tree_copy=Module._ts_tree_copy=wasmExports.ts_tree_copy)(a0),_ts_tree_delete=Module._ts_tree_delete=a0=>(_ts_tree_delete=Module._ts_tree_delete=wasmExports.ts_tree_delete)(a0),_ts_init=Module._ts_init=()=>(_ts_init=Module._ts_init=wasmExports.ts_init)(),_ts_parser_new_wasm=Module._ts_parser_new_wasm=()=>(_ts_parser_new_wasm=Module._ts_parser_new_wasm=wasmExports.ts_parser_new_wasm)(),_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=(a0,a1)=>(_ts_parser_enable_logger_wasm=Module._ts_parser_enable_logger_wasm=wasmExports.ts_parser_enable_logger_wasm)(a0,a1),_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=(a0,a1,a2,a3,a4)=>(_ts_parser_parse_wasm=Module._ts_parser_parse_wasm=wasmExports.ts_parser_parse_wasm)(a0,a1,a2,a3,a4),_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=a0=>(_ts_parser_included_ranges_wasm=Module._ts_parser_included_ranges_wasm=wasmExports.ts_parser_included_ranges_wasm)(a0),_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=(a0,a1)=>(_ts_language_type_is_named_wasm=Module._ts_language_type_is_named_wasm=wasmExports.ts_language_type_is_named_wasm)(a0,a1),_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=(a0,a1)=>(_ts_language_type_is_visible_wasm=Module._ts_language_type_is_visible_wasm=wasmExports.ts_language_type_is_visible_wasm)(a0,a1),_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=a0=>(_ts_tree_root_node_wasm=Module._ts_tree_root_node_wasm=wasmExports.ts_tree_root_node_wasm)(a0),_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=a0=>(_ts_tree_root_node_with_offset_wasm=Module._ts_tree_root_node_with_offset_wasm=wasmExports.ts_tree_root_node_with_offset_wasm)(a0),_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=a0=>(_ts_tree_edit_wasm=Module._ts_tree_edit_wasm=wasmExports.ts_tree_edit_wasm)(a0),_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=a0=>(_ts_tree_included_ranges_wasm=Module._ts_tree_included_ranges_wasm=wasmExports.ts_tree_included_ranges_wasm)(a0),_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=(a0,a1)=>(_ts_tree_get_changed_ranges_wasm=Module._ts_tree_get_changed_ranges_wasm=wasmExports.ts_tree_get_changed_ranges_wasm)(a0,a1),_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=a0=>(_ts_tree_cursor_new_wasm=Module._ts_tree_cursor_new_wasm=wasmExports.ts_tree_cursor_new_wasm)(a0),_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=a0=>(_ts_tree_cursor_delete_wasm=Module._ts_tree_cursor_delete_wasm=wasmExports.ts_tree_cursor_delete_wasm)(a0),_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=a0=>(_ts_tree_cursor_reset_wasm=Module._ts_tree_cursor_reset_wasm=wasmExports.ts_tree_cursor_reset_wasm)(a0),_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=(a0,a1)=>(_ts_tree_cursor_reset_to_wasm=Module._ts_tree_cursor_reset_to_wasm=wasmExports.ts_tree_cursor_reset_to_wasm)(a0,a1),_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=a0=>(_ts_tree_cursor_goto_first_child_wasm=Module._ts_tree_cursor_goto_first_child_wasm=wasmExports.ts_tree_cursor_goto_first_child_wasm)(a0),_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=a0=>(_ts_tree_cursor_goto_last_child_wasm=Module._ts_tree_cursor_goto_last_child_wasm=wasmExports.ts_tree_cursor_goto_last_child_wasm)(a0),_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=a0=>(_ts_tree_cursor_goto_first_child_for_index_wasm=Module._ts_tree_cursor_goto_first_child_for_index_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_index_wasm)(a0),_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=a0=>(_ts_tree_cursor_goto_first_child_for_position_wasm=Module._ts_tree_cursor_goto_first_child_for_position_wasm=wasmExports.ts_tree_cursor_goto_first_child_for_position_wasm)(a0),_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=a0=>(_ts_tree_cursor_goto_next_sibling_wasm=Module._ts_tree_cursor_goto_next_sibling_wasm=wasmExports.ts_tree_cursor_goto_next_sibling_wasm)(a0),_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=a0=>(_ts_tree_cursor_goto_previous_sibling_wasm=Module._ts_tree_cursor_goto_previous_sibling_wasm=wasmExports.ts_tree_cursor_goto_previous_sibling_wasm)(a0),_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=(a0,a1)=>(_ts_tree_cursor_goto_descendant_wasm=Module._ts_tree_cursor_goto_descendant_wasm=wasmExports.ts_tree_cursor_goto_descendant_wasm)(a0,a1),_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=a0=>(_ts_tree_cursor_goto_parent_wasm=Module._ts_tree_cursor_goto_parent_wasm=wasmExports.ts_tree_cursor_goto_parent_wasm)(a0),_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=a0=>(_ts_tree_cursor_current_node_type_id_wasm=Module._ts_tree_cursor_current_node_type_id_wasm=wasmExports.ts_tree_cursor_current_node_type_id_wasm)(a0),_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=a0=>(_ts_tree_cursor_current_node_state_id_wasm=Module._ts_tree_cursor_current_node_state_id_wasm=wasmExports.ts_tree_cursor_current_node_state_id_wasm)(a0),_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=a0=>(_ts_tree_cursor_current_node_is_named_wasm=Module._ts_tree_cursor_current_node_is_named_wasm=wasmExports.ts_tree_cursor_current_node_is_named_wasm)(a0),_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=a0=>(_ts_tree_cursor_current_node_is_missing_wasm=Module._ts_tree_cursor_current_node_is_missing_wasm=wasmExports.ts_tree_cursor_current_node_is_missing_wasm)(a0),_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=a0=>(_ts_tree_cursor_current_node_id_wasm=Module._ts_tree_cursor_current_node_id_wasm=wasmExports.ts_tree_cursor_current_node_id_wasm)(a0),_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=a0=>(_ts_tree_cursor_start_position_wasm=Module._ts_tree_cursor_start_position_wasm=wasmExports.ts_tree_cursor_start_position_wasm)(a0),_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=a0=>(_ts_tree_cursor_end_position_wasm=Module._ts_tree_cursor_end_position_wasm=wasmExports.ts_tree_cursor_end_position_wasm)(a0),_ts_tree_cursor_start_index_wasm=Module._ts_tree_cursor_start_index_wasm=a0=>(_ts_tree_cursor_start_index_wasm=Modul