diff --git a/.github/workflows/kusto-language-server-pr-validation.yml b/.github/workflows/kusto-language-server-pr-validation.yml index dd34fc4..bd2fb5b 100644 --- a/.github/workflows/kusto-language-server-pr-validation.yml +++ b/.github/workflows/kusto-language-server-pr-validation.yml @@ -22,6 +22,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 20 - run: npm ci - run: npm run vscode:prepublish diff --git a/.github/workflows/kusto-language-server-publish.yml b/.github/workflows/kusto-language-server-publish.yml index d8a87b8..6fee0cf 100644 --- a/.github/workflows/kusto-language-server-publish.yml +++ b/.github/workflows/kusto-language-server-publish.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 20 - name: 'Automated Version Bump' uses: ./.github/actions/gh-action-bump-version-master diff --git a/kusto-language-server/JANK_CLEANUP.md b/kusto-language-server/JANK_CLEANUP.md index a784d5e..e1ec515 100644 --- a/kusto-language-server/JANK_CLEANUP.md +++ b/kusto-language-server/JANK_CLEANUP.md @@ -1,7 +1,4 @@ -- .js files checked into server/out should be included in server/src instead, and gulp should be used to copy them into /out as a post-build task (after tsc -watch runs each time) - - bridge.min.js, Kusto.Language.Bridge.min.js - File replacement for formatting goes from 0,0 to Number.MAX_VALUE,MAX_VALUE - If a file happened to be bigger it wouldn't format properly. (Would also be oom exception) -- _items, Items._items - listener.newState == 2 - .csl files with .create-or-alter function must NOT have a blank line between the .create-or-alter statement and the function name, and must NOT have a blank line between the function name and the opening {, so that the whole thing is one block - .csl files with .create-or-alter function MUST have a blank line after the opening { and the first line of query, otherwise the whole thing is one block diff --git a/kusto-language-server/client/package-lock.json b/kusto-language-server/client/package-lock.json index 80c88a3..9afcc6d 100644 --- a/kusto-language-server/client/package-lock.json +++ b/kusto-language-server/client/package-lock.json @@ -1,199 +1,258 @@ { "name": "kuskus-kusto-language-server-client", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 3, "requires": true, - "dependencies": { - "@tootallnate/once": { + "packages": { + "": { + "name": "kuskus-kusto-language-server-client", + "version": "1.0.0", + "license": "Apache-2.0", + "dependencies": { + "clipboardy": "^2.1.0", + "open": "^6.4.0", + "vscode-languageclient": "^4.1.4" + }, + "devDependencies": { + "@types/vscode": "^1.33.0", + "@vscode/test-electron": "*" + }, + "engines": { + "vscode": "^1.33.0" + } + }, + "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", - "dev": true + "dev": true, + "engines": { + "node": ">= 6" + } }, - "@types/vscode": { + "node_modules/@types/vscode": { "version": "1.62.0", "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.62.0.tgz", "integrity": "sha512-iGlQJ1w5e3qPUryroO6v4lxg3ql1ztdTCwQW3xEwFawdyPLoeUSv48SYfMwc7kQA7h6ThUqflZIjgKAykeF9oA==", "dev": true }, - "@vscode/test-electron": { + "node_modules/@vscode/test-electron": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-1.6.2.tgz", "integrity": "sha512-W01ajJEMx6223Y7J5yaajGjVs1QfW3YGkkOJHVKfAMEqNB1ZHN9wCcViehv5ZwVSSJnjhu6lYEYgwBdHtCxqhQ==", "dev": true, - "requires": { + "dependencies": { "http-proxy-agent": "^4.0.1", "https-proxy-agent": "^5.0.0", "rimraf": "^3.0.2", "unzipper": "^0.10.11" }, + "engines": { + "node": ">=8.9.3" + } + }, + "node_modules/@vscode/test-electron/node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/@vscode/test-electron/node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, "dependencies": { - "agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "requires": { - "debug": "4" - } - }, - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", - "dev": true, - "requires": { - "@tootallnate/once": "1", - "agent-base": "6", - "debug": "4" - } - }, - "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, - "requires": { - "agent-base": "6", - "debug": "4" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true } } }, - "arch": { + "node_modules/@vscode/test-electron/node_modules/http-proxy-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", + "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "dev": true, + "dependencies": { + "@tootallnate/once": "1", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@vscode/test-electron/node_modules/https-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", + "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "dev": true, + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@vscode/test-electron/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/arch": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/arch/-/arch-2.1.1.tgz", "integrity": "sha512-BLM56aPo9vLLFVa8+/+pJLnrZ7QGGTVHWsCwieAWT9o9K8UeGaQbzZbGoabWLOo2ksBCztoXdqBZBplqLDDCSg==" }, - "balanced-match": { + "node_modules/balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, - "big-integer": { + "node_modules/big-integer": { "version": "1.6.51", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", "integrity": "sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg==", - "dev": true + "dev": true, + "engines": { + "node": ">=0.6" + } }, - "binary": { + "node_modules/binary": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", "integrity": "sha1-n2BVO8XOjDOG87VTz/R0Yq3sqnk=", "dev": true, - "requires": { + "dependencies": { "buffers": "~0.1.1", "chainsaw": "~0.1.0" + }, + "engines": { + "node": "*" } }, - "bluebird": { + "node_modules/bluebird": { "version": "3.4.7", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", "integrity": "sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM=", "dev": true }, - "brace-expansion": { + "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, - "requires": { + "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, - "buffer-indexof-polyfill": { + "node_modules/buffer-indexof-polyfill": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz", "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10" + } }, - "buffers": { + "node_modules/buffers": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz", "integrity": "sha1-skV5w77U1tOWru5tmorn9Ugqt7s=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.2.0" + } }, - "chainsaw": { + "node_modules/chainsaw": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz", "integrity": "sha1-XqtQsor+WAdNDVgpE4iCi15fvJg=", "dev": true, - "requires": { + "dependencies": { "traverse": ">=0.3.0 <0.4" + }, + "engines": { + "node": "*" } }, - "clipboardy": { + "node_modules/clipboardy": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-2.1.0.tgz", "integrity": "sha512-2pzOUxWcLlXWtn+Jd6js3o12TysNOOVes/aQfg+MT/35vrxWzedHlLwyoJpXjsFKWm95BTNEcMGD9+a7mKzZkQ==", - "requires": { + "dependencies": { "arch": "^2.1.1", "execa": "^1.0.0" + }, + "engines": { + "node": ">=8" } }, - "concat-map": { + "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, - "core-util-is": { + "node_modules/core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, - "cross-spawn": { + "node_modules/cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "requires": { + "dependencies": { "nice-try": "^1.0.4", "path-key": "^2.0.1", "semver": "^5.5.0", "shebang-command": "^1.2.0", "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" } }, - "duplexer2": { + "node_modules/duplexer2": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", "dev": true, - "requires": { + "dependencies": { "readable-stream": "^2.0.2" } }, - "end-of-stream": { + "node_modules/end-of-stream": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", - "requires": { + "dependencies": { "once": "^1.4.0" } }, - "execa": { + "node_modules/execa": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "requires": { + "dependencies": { "cross-spawn": "^6.0.0", "get-stream": "^4.0.0", "is-stream": "^1.1.0", @@ -201,198 +260,238 @@ "p-finally": "^1.0.0", "signal-exit": "^3.0.0", "strip-eof": "^1.0.0" + }, + "engines": { + "node": ">=6" } }, - "fs.realpath": { + "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, - "fstream": { + "node_modules/fstream": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", "dev": true, - "requires": { + "dependencies": { "graceful-fs": "^4.1.2", "inherits": "~2.0.0", "mkdirp": ">=0.5 0", "rimraf": "2" }, + "engines": { + "node": ">=0.6" + } + }, + "node_modules/fstream/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - } + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" } }, - "get-stream": { + "node_modules/get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "requires": { + "dependencies": { "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "glob": { + "node_modules/glob": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "dev": true, - "requires": { + "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" } }, - "graceful-fs": { + "node_modules/graceful-fs": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", "dev": true }, - "inflight": { + "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, - "requires": { + "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, - "inherits": { + "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, - "is-stream": { + "node_modules/is-stream": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "engines": { + "node": ">=0.10.0" + } }, - "is-wsl": { + "node_modules/is-wsl": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "engines": { + "node": ">=4" + } }, - "isarray": { + "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, - "isexe": { + "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" }, - "listenercount": { + "node_modules/listenercount": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/listenercount/-/listenercount-1.0.1.tgz", "integrity": "sha1-hMinKrWcRyUyFIDJdeZQg0LnCTc=", "dev": true }, - "minimatch": { + "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, - "requires": { + "dependencies": { "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" } }, - "minimist": { + "node_modules/minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, - "mkdirp": { + "node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, - "requires": { + "dependencies": { "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" } }, - "nice-try": { + "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" }, - "npm-run-path": { + "node_modules/npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "requires": { + "dependencies": { "path-key": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "once": { + "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "requires": { + "dependencies": { "wrappy": "1" } }, - "open": { + "node_modules/open": { "version": "6.4.0", "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", - "requires": { + "dependencies": { "is-wsl": "^1.1.0" + }, + "engines": { + "node": ">=8" } }, - "p-finally": { + "node_modules/p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "engines": { + "node": ">=4" + } }, - "path-is-absolute": { + "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "path-key": { + "node_modules/path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "engines": { + "node": ">=4" + } }, - "process-nextick-args": { + "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "dev": true }, - "pump": { + "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "requires": { + "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" } }, - "readable-stream": { + "node_modules/readable-stream": { "version": "2.3.7", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", "dev": true, - "requires": { + "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", @@ -402,76 +501,97 @@ "util-deprecate": "~1.0.1" } }, - "rimraf": { + "node_modules/rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, - "requires": { + "dependencies": { "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "safe-buffer": { + "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, - "semver": { + "node_modules/semver": { "version": "5.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", - "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==" + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "bin": { + "semver": "bin/semver" + } }, - "setimmediate": { + "node_modules/setimmediate": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", "dev": true }, - "shebang-command": { + "node_modules/shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "requires": { + "dependencies": { "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "shebang-regex": { + "node_modules/shebang-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "engines": { + "node": ">=0.10.0" + } }, - "signal-exit": { + "node_modules/signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" }, - "string_decoder": { + "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "dev": true, - "requires": { + "dependencies": { "safe-buffer": "~5.1.0" } }, - "strip-eof": { + "node_modules/strip-eof": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "engines": { + "node": ">=0.10.0" + } }, - "traverse": { + "node_modules/traverse": { "version": "0.3.9", "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz", "integrity": "sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk=", - "dev": true + "dev": true, + "engines": { + "node": "*" + } }, - "unzipper": { + "node_modules/unzipper": { "version": "0.10.11", "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.10.11.tgz", "integrity": "sha512-+BrAq2oFqWod5IESRjL3S8baohbevGcVA+teAIOYWM3pDVdseogqbzhhvvmiyQrUNKFUnDMtELW3X8ykbyDCJw==", "dev": true, - "requires": { + "dependencies": { "big-integer": "^1.6.17", "binary": "~0.3.0", "bluebird": "~3.4.1", @@ -484,48 +604,57 @@ "setimmediate": "~1.0.4" } }, - "util-deprecate": { + "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, - "vscode-jsonrpc": { + "node_modules/vscode-jsonrpc": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-3.6.2.tgz", - "integrity": "sha512-T24Jb5V48e4VgYliUXMnZ379ItbrXgOimweKaJshD84z+8q7ZOZjJan0MeDe+Ugb+uqERDVV8SBmemaGMSMugA==" + "integrity": "sha512-T24Jb5V48e4VgYliUXMnZ379ItbrXgOimweKaJshD84z+8q7ZOZjJan0MeDe+Ugb+uqERDVV8SBmemaGMSMugA==", + "engines": { + "node": ">=4.0.0 || >=6.0.0" + } }, - "vscode-languageclient": { + "node_modules/vscode-languageclient": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/vscode-languageclient/-/vscode-languageclient-4.1.4.tgz", "integrity": "sha512-V2fWd+2vm8wmShjgciBxovMzSXMzBFtQo2R6OIW5kJIynds6x0J3SwMNa3QKAmhsCDy3WmBwnplBGtyGNNnvPA==", - "requires": { + "dependencies": { "vscode-languageserver-protocol": "^3.7.2" + }, + "engines": { + "vscode": "^1.22" } }, - "vscode-languageserver-protocol": { + "node_modules/vscode-languageserver-protocol": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.7.2.tgz", "integrity": "sha512-VVJwIA/FPl/FnVtrns0FPK6TLi/ET7n1Yo6tCrm6aG7+yAVwIGWdpTmKE+nbP8wEMMbHCkIabk63IJvfz2HNRg==", - "requires": { + "dependencies": { "vscode-jsonrpc": "^3.6.2", "vscode-languageserver-types": "^3.7.2" } }, - "vscode-languageserver-types": { + "node_modules/vscode-languageserver-types": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.7.2.tgz", "integrity": "sha512-L9D2RA+PDS2CiyhLQY5ZrOmyRvXyjc4Ha8s9PqS6mIgGxj00R5Xx2vLKBnAOVfrawJXYZST+2hioMks6SQVU7A==" }, - "which": { + "node_modules/which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "requires": { + "dependencies": { "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" } }, - "wrappy": { + "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" diff --git a/kusto-language-server/package-lock.json b/kusto-language-server/package-lock.json index 7440d89..300d205 100644 --- a/kusto-language-server/package-lock.json +++ b/kusto-language-server/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "kuskus-kusto-language-server", - "version": "1.0.39", + "version": "1.0.40", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { @@ -18,11 +18,11 @@ }, "devDependencies": { "@types/mocha": "^5.2.0", - "@types/node": "^8.0.0", + "@types/node": "^20.12.7", "glob": "^7.2.0", "mocha": "^9.2.2", "tslint": "^5.16.0", - "typescript": "^3.5.1" + "typescript": "^5.2.2" }, "engines": { "vscode": "^1.33.0" @@ -313,10 +313,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "8.10.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.18.tgz", - "integrity": "sha512-WoepSz+wJlU5Bjq5oK6cO1oXe2FgPcjMtQPgKPS8fVaTAD0lxkScMCCbMimdkVCsykqaA4lvHWz3cmj28yimhA==", - "dev": true + "version": "20.12.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", + "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "dev": true, + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/uuid": { "version": "8.3.4", @@ -1934,18 +1937,24 @@ } }, "node_modules/typescript": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.1.tgz", - "integrity": "sha512-64HkdiRv1yYZsSe4xC1WVgamNigVYjlssIoaH2HcZF0+ijsk5YK2g0G34w9wJkze8+5ow4STd22AynfO6ZYYLw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "dev": true + }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -2358,10 +2367,13 @@ "dev": true }, "@types/node": { - "version": "8.10.18", - "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.18.tgz", - "integrity": "sha512-WoepSz+wJlU5Bjq5oK6cO1oXe2FgPcjMtQPgKPS8fVaTAD0lxkScMCCbMimdkVCsykqaA4lvHWz3cmj28yimhA==", - "dev": true + "version": "20.12.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", + "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "dev": true, + "requires": { + "undici-types": "~5.26.4" + } }, "@types/uuid": { "version": "8.3.4", @@ -3565,9 +3577,15 @@ } }, "typescript": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.5.1.tgz", - "integrity": "sha512-64HkdiRv1yYZsSe4xC1WVgamNigVYjlssIoaH2HcZF0+ijsk5YK2g0G34w9wJkze8+5ow4STd22AynfO6ZYYLw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "dev": true + }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", "dev": true }, "util-deprecate": { diff --git a/kusto-language-server/package.json b/kusto-language-server/package.json index afd7bdb..b75911e 100644 --- a/kusto-language-server/package.json +++ b/kusto-language-server/package.json @@ -78,11 +78,11 @@ }, "devDependencies": { "@types/mocha": "^5.2.0", - "@types/node": "^8.0.0", + "@types/node": "^20.12.7", "glob": "^7.2.0", "mocha": "^9.2.2", "tslint": "^5.16.0", - "typescript": "^3.5.1" + "typescript": "^5.2.2" }, "dependencies": { "@types/lodash": "^4.14.136", diff --git a/kusto-language-server/server/out/Kusto.Language.Bridge.min.js b/kusto-language-server/server/out/Kusto.Language.Bridge.min.js deleted file mode 100644 index a06199d..0000000 --- a/kusto-language-server/server/out/Kusto.Language.Bridge.min.js +++ /dev/null @@ -1,2 +0,0 @@ -Bridge.assembly("Kusto.Language.Bridge",function(){"use strict";Bridge.define("Kusto.Language.Aggregates",{statics:{fields:{Sum:null,SumIf:null,Cnt:null,Count:null,CountIf:null,DCount:null,DCountIf:null,TDigest:null,TDigestMerge:null,MergeTDigests:null,Hll:null,HllMerge:null,Min:null,Max:null,Avg:null,AvgIf:null,MakeList_Depricated:null,MakeList:null,MakeSet_Depricated:null,MakeSet:null,MakeDictionary:null,MakeBag:null,BuildSchema:null,PercentileReturn:null,PercentileArrayReturn:null,Percentile:null,Percentiles:null,PercentilesArray:null,PercentileW:null,PercentilesW:null,PercentilesWArray:null,Stdev:null,StdevIf:null,Stdevp:null,Variance:null,VarianceIf:null,Variancep:null,Any:null,ArgMin:null,ArgMax:null,ArgMin_Depricated:null,ArgMax_Depricated:null},props:{All:null},ctors:{init:function(){this.Sum=new Kusto.Language.Symbols.FunctionSymbol.$ctor4("sum",Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("sum");this.SumIf=new Kusto.Language.Symbols.FunctionSymbol.$ctor4("sumif",Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("sumif");this.Cnt=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("cnt",Kusto.Language.Symbols.ScalarTypes.Long).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("cnt").Hide();this.Count=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("count",Kusto.Language.Symbols.ScalarTypes.Long).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("count");this.CountIf=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("countif",Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("countif");this.DCount=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("dcount",Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("accuracy",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("dcount");this.DCountIf=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("dcountif",Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.Parameter.ctor("accuracy",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("dcountif");this.TDigest=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("tdigest",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("weight",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("tdigest");this.TDigestMerge=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("tdigest_merge",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("tdigest",Kusto.Language.Symbols.ScalarTypes.Dynamic)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("tdigest_merge");this.MergeTDigests=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("merge_tdigests",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("tdigest",Kusto.Language.Symbols.ScalarTypes.Dynamic)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("merge_tdigests");this.Hll=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("hll",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.NotRealOrBool),new Kusto.Language.Symbols.Parameter.ctor("accuracy",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("hll");this.HllMerge=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("hll_merge",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("hll",Kusto.Language.Symbols.ScalarTypes.Dynamic)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("hll_merge");this.Min=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("min",[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.String)])]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("min");this.Max=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("max",[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.String)])]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("max");this.Avg=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("avg",[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Integer)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Real)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Decimal,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Decimal)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.DateTime)])]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("avg");this.AvgIf=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("avgif",[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Integer),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Decimal,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Decimal),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)])]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("avgif");this.MakeList_Depricated=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("makelist",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("maxSize",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("list").Hide();this.MakeList=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("make_list",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("maxSize",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("list");this.MakeSet_Depricated=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("makeset",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("maxSize",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("set").Hide();this.MakeSet=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("make_set",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("maxSize",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("set");this.MakeDictionary=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("make_dictionary",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("maxSize",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("dictionary").Hide();this.MakeBag=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("make_bag",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("maxSize",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,void 0,0,1,void 0)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("bag");this.BuildSchema=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("buildschema",Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("expr",Kusto.Language.Symbols.ScalarTypes.Dynamic)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("schema");this.PercentileReturn=function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.Aggregates.AddPercentileColumns(cols,signature,"value","percentile",args),new Kusto.Language.Symbols.TupleSymbol.$ctor1(cols)};this.PercentileArrayReturn=function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor),valueArg=Kusto.Language.FunctionHelpers.GetArgument(args,signature,"value"),valueArgName=Kusto.Language.FunctionHelpers.GetExpressionResultName(valueArg);return cols.add(new Kusto.Language.Symbols.ColumnSymbol("percentiles_"+(valueArgName||""),Kusto.Language.Symbols.ScalarTypes.Dynamic)),new Kusto.Language.Symbols.TupleSymbol.$ctor1(cols)};this.Percentile=new Kusto.Language.Symbols.FunctionSymbol.ctor("percentile",Kusto.Language.Aggregates.PercentileReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("percentile",Kusto.Language.Symbols.ParameterTypeKind.Number)]);this.Percentiles=new Kusto.Language.Symbols.FunctionSymbol.ctor("percentiles",Kusto.Language.Aggregates.PercentileReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("percentile",Kusto.Language.Symbols.ParameterTypeKind.Number,0,void 0,void 0,!1,void 0,1,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.PercentilesArray=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("percentiles_array",[new Kusto.Language.Symbols.Signature.ctor(Kusto.Language.Aggregates.PercentileArrayReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("percentile",Kusto.Language.Symbols.ParameterTypeKind.Number,0,void 0,void 0,!1,void 0,1,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.ctor(Kusto.Language.Aggregates.PercentileArrayReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.$ctor2("percentiles",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.PercentileW=new Kusto.Language.Symbols.FunctionSymbol.ctor("percentilew",Kusto.Language.Aggregates.PercentileReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("weight",Kusto.Language.Symbols.ParameterTypeKind.Integer),new Kusto.Language.Symbols.Parameter.ctor("percentile",Kusto.Language.Symbols.ParameterTypeKind.Number)]);this.PercentilesW=new Kusto.Language.Symbols.FunctionSymbol.ctor("percentilesw",Kusto.Language.Aggregates.PercentileReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("weight",Kusto.Language.Symbols.ParameterTypeKind.Integer),new Kusto.Language.Symbols.Parameter.ctor("percentile",Kusto.Language.Symbols.ParameterTypeKind.Number,0,void 0,void 0,!1,void 0,1,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.PercentilesWArray=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("percentilesw_array",[new Kusto.Language.Symbols.Signature.ctor(Kusto.Language.Aggregates.PercentileArrayReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("weight",Kusto.Language.Symbols.ParameterTypeKind.Integer),new Kusto.Language.Symbols.Parameter.ctor("percentile",Kusto.Language.Symbols.ParameterTypeKind.Number,0,void 0,void 0,!1,void 0,1,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.ctor(Kusto.Language.Aggregates.PercentileArrayReturn,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar),new Kusto.Language.Symbols.Parameter.ctor("weight",Kusto.Language.Symbols.ParameterTypeKind.Integer),new Kusto.Language.Symbols.Parameter.$ctor2("percentiles",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.Stdev=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("stdev",Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("stdev");this.StdevIf=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("stdevif",Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("stdevif");this.Stdevp=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("stdevp",Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("stdevp");this.Variance=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("variance",Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("variance");this.VarianceIf=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("varianceif",Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.$ctor2("predicate",Kusto.Language.Symbols.ScalarTypes.Bool)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("varianceif");this.Variancep=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("variancep",Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable)]).WithResultNameKind(Kusto.Language.Symbols.ResultNameKind.PrefixAndFirstArgument).WithResultNamePrefix("variancep");this.Any=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("any",[new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetAnyResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("expression",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,1,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetAnyResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("expression",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Star)])]);this.ArgMin=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("arg_min",[new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("minimized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("minimized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Star)])]);this.ArgMax=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("arg_max",[new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("maximized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("maximized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Star)])]);this.ArgMin_Depricated=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("argmin",[new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxDepResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("minimized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxDepResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("minimized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Star)])]).WithResultNamePrefix("min").Hide();this.ArgMax_Depricated=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("argmax",[new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxDepResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("maximized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Aggregates.GetArgMinMaxDepResult,Kusto.Language.Symbols.Tabularity.Scalar,[new Kusto.Language.Symbols.Parameter.ctor("maximized",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("returned",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Star)])]).WithResultNamePrefix("max").Hide();this.All=System.Array.init([Kusto.Language.Aggregates.Sum,Kusto.Language.Aggregates.SumIf,Kusto.Language.Aggregates.Cnt,Kusto.Language.Aggregates.Count,Kusto.Language.Aggregates.CountIf,Kusto.Language.Aggregates.DCount,Kusto.Language.Aggregates.DCountIf,Kusto.Language.Aggregates.TDigest,Kusto.Language.Aggregates.TDigestMerge,Kusto.Language.Aggregates.MergeTDigests,Kusto.Language.Aggregates.Hll,Kusto.Language.Aggregates.HllMerge,Kusto.Language.Aggregates.Min,Kusto.Language.Aggregates.Max,Kusto.Language.Aggregates.Avg,Kusto.Language.Aggregates.AvgIf,Kusto.Language.Aggregates.MakeList_Depricated,Kusto.Language.Aggregates.MakeList,Kusto.Language.Aggregates.MakeSet_Depricated,Kusto.Language.Aggregates.MakeSet,Kusto.Language.Aggregates.MakeDictionary,Kusto.Language.Aggregates.MakeBag,Kusto.Language.Aggregates.BuildSchema,Kusto.Language.Aggregates.Percentile,Kusto.Language.Aggregates.Percentiles,Kusto.Language.Aggregates.PercentilesArray,Kusto.Language.Aggregates.PercentileW,Kusto.Language.Aggregates.PercentilesW,Kusto.Language.Aggregates.PercentilesWArray,Kusto.Language.Aggregates.Stdev,Kusto.Language.Aggregates.StdevIf,Kusto.Language.Aggregates.Stdevp,Kusto.Language.Aggregates.Variance,Kusto.Language.Aggregates.VarianceIf,Kusto.Language.Aggregates.Variancep,Kusto.Language.Aggregates.Any,Kusto.Language.Aggregates.ArgMin,Kusto.Language.Aggregates.ArgMax,Kusto.Language.Aggregates.ArgMin_Depricated,Kusto.Language.Aggregates.ArgMax_Depricated],Kusto.Language.Symbols.FunctionSymbol)}},methods:{AddPercentileColumns:function(columns,signature,valueParameterName,percentileParameterName,args){var valueArg=Kusto.Language.FunctionHelpers.GetArgument(args,signature,valueParameterName),valueArgName=Kusto.Language.FunctionHelpers.GetExpressionResultName(valueArg),percentileParameter=signature.GetParameter$2(percentileParameterName),start={},length={},p;for(signature.GetArgumentRange(percentileParameter,args,start,length),p=start.v;p<(start.v+length.v|0);p=p+1|0){var percentileArg=System.Array.getItem(args,p,Kusto.Language.Syntax.Expression),percentileFragment=Kusto.Language.FunctionHelpers.MakeValidNameFragment(Kusto.Language.FunctionHelpers.GetLiteralValue(percentileArg)),name=(percentileParameterName||"")+"_"+(valueArgName||"")+"_"+(percentileFragment||"");columns.add(new Kusto.Language.Symbols.ColumnSymbol(name,Kusto.Language.Symbols.ScalarTypes.Real))}},GetAnyResult:function(table,args){for(var arg,c,c1,col,$t,columns=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor),doNotRepeat=new(System.Collections.Generic.HashSet$1(Kusto.Language.Symbols.ColumnSymbol).$ctor1)(Kusto.Language.FunctionHelpers.GetSummarizeByColumns(args)),i=0;i0){var primaryArg=System.Array.getItem(args,0,Kusto.Language.Syntax.Expression),primaryColName=Kusto.Language.Binding.Binder.GetExpressionResultName(primaryArg,"column"),primaryCol=new Kusto.Language.Symbols.ColumnSymbol(primaryColName,primaryArg.ResultType);for(columns.add(primaryCol),doNotRepeat=new(System.Collections.Generic.HashSet$1(Kusto.Language.Symbols.ColumnSymbol).$ctor1)(Kusto.Language.FunctionHelpers.GetSummarizeByColumns(args)),i=1;i=token.Depth)?prev.Parent:token.Parent:null},IsFunctionCallName:function(name){var fn;return(fn=Bridge.as(name.Parent,Kusto.Language.Syntax.FunctionCallExpression))!=null&&Bridge.referenceEquals(fn.Name,name)},IsInvocableFunctionName:function(name){return name.GetFirstAncestor(Kusto.Language.Syntax.CustomCommand)==null},IsPossibleInvocableFunctionWithoutArgumentList:function(name){return!Kusto.Language.Binding.Binder.IsFunctionCallName(name)&&Kusto.Language.Binding.Binder.IsInvocableFunctionName(name)},IsInCommand:function(location){var command=location.GetFirstAncestor(Kusto.Language.Syntax.Command),functionBody=location.GetFirstAncestor(Kusto.Language.Syntax.FunctionBody);return command!=null&&functionBody==null},GetWildcardSymbols:function(pattern,symbols,matchingSymbols){var $t,symbol;$t=Bridge.getEnumerator(symbols,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())symbol=$t.Current,Kusto.Language.KustoFacts.Matches(pattern,symbol.Name)&&matchingSymbols.add(symbol)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}},GetOperatorKind:function(kind){switch(kind){case Kusto.Language.Syntax.SyntaxKind.AddExpression:return Kusto.Language.Symbols.OperatorKind.Add;case Kusto.Language.Syntax.SyntaxKind.SubtractExpression:return Kusto.Language.Symbols.OperatorKind.Subtract;case Kusto.Language.Syntax.SyntaxKind.MultiplyExpression:return Kusto.Language.Symbols.OperatorKind.Multiply;case Kusto.Language.Syntax.SyntaxKind.DivideExpression:return Kusto.Language.Symbols.OperatorKind.Divide;case Kusto.Language.Syntax.SyntaxKind.ModuloExpression:return Kusto.Language.Symbols.OperatorKind.Modulo;case Kusto.Language.Syntax.SyntaxKind.UnaryMinusExpression:return Kusto.Language.Symbols.OperatorKind.UnaryMinus;case Kusto.Language.Syntax.SyntaxKind.UnaryPlusExpression:return Kusto.Language.Symbols.OperatorKind.UnaryPlus;case Kusto.Language.Syntax.SyntaxKind.EqualExpression:return Kusto.Language.Symbols.OperatorKind.Equal;case Kusto.Language.Syntax.SyntaxKind.NotEqualExpression:return Kusto.Language.Symbols.OperatorKind.NotEqual;case Kusto.Language.Syntax.SyntaxKind.LessThanExpression:return Kusto.Language.Symbols.OperatorKind.LessThan;case Kusto.Language.Syntax.SyntaxKind.LessThanOrEqualExpression:return Kusto.Language.Symbols.OperatorKind.LessThanOrEqual;case Kusto.Language.Syntax.SyntaxKind.GreaterThanExpression:return Kusto.Language.Symbols.OperatorKind.GreaterThan;case Kusto.Language.Syntax.SyntaxKind.GreaterThanOrEqualExpression:return Kusto.Language.Symbols.OperatorKind.GreaterThanOrEqual;case Kusto.Language.Syntax.SyntaxKind.EqualTildeExpression:return Kusto.Language.Symbols.OperatorKind.EqualTilde;case Kusto.Language.Syntax.SyntaxKind.BangTildeExpression:return Kusto.Language.Symbols.OperatorKind.BangTilde;case Kusto.Language.Syntax.SyntaxKind.HasExpression:return Kusto.Language.Symbols.OperatorKind.Has;case Kusto.Language.Syntax.SyntaxKind.HasCsExpression:return Kusto.Language.Symbols.OperatorKind.HasCs;case Kusto.Language.Syntax.SyntaxKind.NotHasExpression:return Kusto.Language.Symbols.OperatorKind.NotHas;case Kusto.Language.Syntax.SyntaxKind.NotHasCsExpression:return Kusto.Language.Symbols.OperatorKind.NotHasCs;case Kusto.Language.Syntax.SyntaxKind.HasPrefixExpression:return Kusto.Language.Symbols.OperatorKind.HasPrefix;case Kusto.Language.Syntax.SyntaxKind.HasPrefixCsExpression:return Kusto.Language.Symbols.OperatorKind.HasPrefixCs;case Kusto.Language.Syntax.SyntaxKind.NotHasPrefixExpression:return Kusto.Language.Symbols.OperatorKind.NotHasPrefix;case Kusto.Language.Syntax.SyntaxKind.NotHasPrefixCsExpression:return Kusto.Language.Symbols.OperatorKind.NotHasPrefixCs;case Kusto.Language.Syntax.SyntaxKind.HasSuffixExpression:return Kusto.Language.Symbols.OperatorKind.HasSuffix;case Kusto.Language.Syntax.SyntaxKind.HasSuffixCsExpression:return Kusto.Language.Symbols.OperatorKind.HasSuffixCs;case Kusto.Language.Syntax.SyntaxKind.NotHasSuffixExpression:return Kusto.Language.Symbols.OperatorKind.NotHasSuffix;case Kusto.Language.Syntax.SyntaxKind.NotHasSuffixCsExpression:return Kusto.Language.Symbols.OperatorKind.NotHasSuffixCs;case Kusto.Language.Syntax.SyntaxKind.LikeExpression:return Kusto.Language.Symbols.OperatorKind.Like;case Kusto.Language.Syntax.SyntaxKind.LikeCsExpression:return Kusto.Language.Symbols.OperatorKind.LikeCs;case Kusto.Language.Syntax.SyntaxKind.NotLikeExpression:return Kusto.Language.Symbols.OperatorKind.NotLike;case Kusto.Language.Syntax.SyntaxKind.NotLikeCsExpression:return Kusto.Language.Symbols.OperatorKind.NotLikeCs;case Kusto.Language.Syntax.SyntaxKind.ContainsExpression:return Kusto.Language.Symbols.OperatorKind.Contains;case Kusto.Language.Syntax.SyntaxKind.ContainsCsExpression:return Kusto.Language.Symbols.OperatorKind.ContainsCs;case Kusto.Language.Syntax.SyntaxKind.NotContainsExpression:return Kusto.Language.Symbols.OperatorKind.NotContains;case Kusto.Language.Syntax.SyntaxKind.NotContainsCsExpression:return Kusto.Language.Symbols.OperatorKind.NotContainsCs;case Kusto.Language.Syntax.SyntaxKind.StartsWithExpression:return Kusto.Language.Symbols.OperatorKind.StartsWith;case Kusto.Language.Syntax.SyntaxKind.StartsWithCsExpression:return Kusto.Language.Symbols.OperatorKind.StartsWithCs;case Kusto.Language.Syntax.SyntaxKind.NotStartsWithExpression:return Kusto.Language.Symbols.OperatorKind.NotStartsWith;case Kusto.Language.Syntax.SyntaxKind.NotStartsWithCsExpression:return Kusto.Language.Symbols.OperatorKind.NotStartsWithCs;case Kusto.Language.Syntax.SyntaxKind.EndsWithExpression:return Kusto.Language.Symbols.OperatorKind.EndsWith;case Kusto.Language.Syntax.SyntaxKind.EndsWithCsExpression:return Kusto.Language.Symbols.OperatorKind.EndsWithCs;case Kusto.Language.Syntax.SyntaxKind.NotEndsWithExpression:return Kusto.Language.Symbols.OperatorKind.NotEndsWith;case Kusto.Language.Syntax.SyntaxKind.NotEndsWithCsExpression:return Kusto.Language.Symbols.OperatorKind.NotEndsWith;case Kusto.Language.Syntax.SyntaxKind.MatchesRegexExpression:return Kusto.Language.Symbols.OperatorKind.MatchRegex;case Kusto.Language.Syntax.SyntaxKind.InExpression:return Kusto.Language.Symbols.OperatorKind.In;case Kusto.Language.Syntax.SyntaxKind.InCsExpression:return Kusto.Language.Symbols.OperatorKind.InCs;case Kusto.Language.Syntax.SyntaxKind.NotInExpression:return Kusto.Language.Symbols.OperatorKind.NotIn;case Kusto.Language.Syntax.SyntaxKind.NotInCsExpression:return Kusto.Language.Symbols.OperatorKind.NotInCs;case Kusto.Language.Syntax.SyntaxKind.BetweenExpression:return Kusto.Language.Symbols.OperatorKind.Between;case Kusto.Language.Syntax.SyntaxKind.NotBetweenExpression:return Kusto.Language.Symbols.OperatorKind.NotBetween;case Kusto.Language.Syntax.SyntaxKind.AndExpression:return Kusto.Language.Symbols.OperatorKind.And;case Kusto.Language.Syntax.SyntaxKind.OrExpression:return Kusto.Language.Symbols.OperatorKind.Or;case Kusto.Language.Syntax.SyntaxKind.SearchExpression:return Kusto.Language.Symbols.OperatorKind.Search;default:return Kusto.Language.Symbols.OperatorKind.None}},TryGetLiteralStringValue:function(expression,value){var objValue={};return Kusto.Language.Binding.Binder.TryGetLiteralValue(expression,objValue)?(value.v=Bridge.as(objValue.v,System.String),value.v!=null):(value.v=null,!1)},TryGetLiteralValue:function(expression,value){var sn,nr,vs;return(sn=Bridge.as(expression,Kusto.Language.Syntax.SimpleNamedExpression))!=null&&(expression=sn.Expression),expression.IsLiteral?(value.v=expression.LiteralValue,value.v!=null):(nr=Bridge.as(expression,Kusto.Language.Syntax.NameReference))!=null&&(vs=Bridge.as(nr.ReferencedSymbol,Kusto.Language.Symbols.VariableSymbol))!=null&&vs.IsConstant?(value.v=vs.ConstantValue,!0):(value.v=null,!1)},IsPromotable:function(type1,type2){var type1Scalar,type2Scalar;return(type1Scalar=Bridge.as(type1,Kusto.Language.Symbols.ScalarSymbol))!=null&&(type2Scalar=Bridge.as(type2,Kusto.Language.Symbols.ScalarSymbol))!=null&&type2Scalar.IsWiderThan(type1Scalar)},Promote:function(symbol){return Bridge.referenceEquals(symbol,Kusto.Language.Symbols.ScalarTypes.Int)?Kusto.Language.Symbols.ScalarTypes.Long:Bridge.referenceEquals(symbol,Kusto.Language.Symbols.ScalarTypes.Decimal)?Kusto.Language.Symbols.ScalarTypes.Real:symbol},GetWidestArgumentType:function(signature,argumentTypes){for(var argType,s,widestType=null,i=0;i1){$t=Bridge.getEnumerator(sameNamedColumns.v);try{while($t.moveNext())colType=$t.Current,name=uniqueNames.GetOrAddName((col.Name||"")+"_"+(colType.Name||"")),newColumns.add(new Kusto.Language.Symbols.ColumnSymbol(name,colType))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}map.remove(col.Name)}columns.clear();columns.AddRange(newColumns)}finally{Kusto.Language.Binding.Binder.s_uniqueNameTablePool.ReturnToPool(uniqueNames);Kusto.Language.Binding.Binder.s_columnListPool.ReturnToPool(newColumns)}},UnifyColumnsWithSameName:function(columns){var newColumns=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool(),map,i,col,sameNamedColumns,types,commonType;try{for(map=Kusto.Language.Binding.Binder.BuildColumnNameMap(columns),i=0;i1&&(types=sameNamedColumns.v.ToArray(),commonType=Kusto.Language.Binding.Binder.GetCommonScalarType(types),commonType==null&&(commonType=Kusto.Language.Symbols.ScalarTypes.Dynamic),Bridge.referenceEquals(col.Type,commonType)?newColumns.add(col):newColumns.add(new Kusto.Language.Symbols.ColumnSymbol(col.Name,commonType))),map.remove(col.Name));columns.clear();columns.AddRange(newColumns)}finally{Kusto.Language.Binding.Binder.s_columnListPool.ReturnToPool(newColumns)}},MakeColumnNamesUnique:function(columns){var names=Kusto.Language.Binding.Binder.s_uniqueNameTablePool.AllocateFromPool(),newColumns=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool(),i,col;try{for(i=0;i2){columnsA=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool();columnsC=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool();try{for(Kusto.Language.Binding.Binder.GetCommonColumns$1(System.Array.getItem(tables,0,Kusto.Language.Symbols.TableSymbol).Columns,System.Array.getItem(tables,1,Kusto.Language.Symbols.TableSymbol).Columns,columnsA),i=2;i0?(name=Kusto.Language.Binding.Binder.GetExpressionResultName(fc.ArgumentList.Expressions.getItem$1(0).Element$1,defaultName),prefix!=null?(prefix||"")+"_"+(name||""):name):prefix!=null?(prefix||"")+"_":null:kind===Kusto.Language.Symbols.ResultNameKind.PrefixAndOnlyArgument&&fc.ArgumentList.Expressions.Count===1?(name1=Kusto.Language.Binding.Binder.GetExpressionResultName(fc.ArgumentList.Expressions.getItem$1(0).Element$1,defaultName),prefix!=null?(prefix||"")+"_"+(name1||""):name1):kind===Kusto.Language.Symbols.ResultNameKind.FirstArgumentValueIfColumn&&fc.ArgumentList.Expressions.Count>0&&(name2=Bridge.as(fc.ArgumentList.Expressions.getItem$1(0).Element$1.ConstantValue,System.String))!=null?(_discard1={},row!=null&&row.TryGetColumn(name2,_discard1)?name2:defaultName):kind===Kusto.Language.Symbols.ResultNameKind.PrefixOnly&&prefix!=null?prefix:defaultName},GetExpressionResultName:function(expr,defaultName,row){var n,be,p,left,right,e,left1,right1,o,s,f;defaultName===void 0&&(defaultName="");row===void 0&&(row=null);do return Bridge.is(expr,Kusto.Language.Syntax.NameReference)?(n=Bridge.cast(expr,Kusto.Language.Syntax.NameReference),n.SimpleName):Bridge.is(expr,Kusto.Language.Syntax.BrackettedExpression)&&(be=Bridge.cast(expr,Kusto.Language.Syntax.BrackettedExpression),be.Expression.Kind===Kusto.Language.Syntax.SyntaxKind.StringLiteralExpression||be.Expression.Kind===Kusto.Language.Syntax.SyntaxKind.CompoundStringLiteralExpression)?Bridge.cast(be.Expression.LiteralValue,System.String):Bridge.is(expr,Kusto.Language.Syntax.PathExpression)?(p=Bridge.cast(expr,Kusto.Language.Syntax.PathExpression),Bridge.referenceEquals(p.Expression.ResultType,Kusto.Language.Symbols.ScalarTypes.Dynamic)?(left=Kusto.Language.Binding.Binder.GetExpressionResultName(p.Expression,null),right=Kusto.Language.Binding.Binder.GetExpressionResultName(p.Selector,null),System.String.format("{0}_{1}",left,right)):Kusto.Language.Binding.Binder.GetExpressionResultName(p.Selector,defaultName)):Bridge.is(expr,Kusto.Language.Syntax.ElementExpression)?(e=Bridge.cast(expr,Kusto.Language.Syntax.ElementExpression),Bridge.referenceEquals(e.Expression.ResultType,Kusto.Language.Symbols.ScalarTypes.Dynamic)?(left1=Kusto.Language.Binding.Binder.GetExpressionResultName(e.Expression,null),right1=Kusto.Language.Binding.Binder.GetExpressionResultName(e.Selector,null),System.String.format("{0}_{1}",left1,right1)):Kusto.Language.Binding.Binder.GetExpressionResultName(e.Selector,defaultName)):Bridge.is(expr,Kusto.Language.Syntax.OrderedExpression)?(o=Bridge.cast(expr,Kusto.Language.Syntax.OrderedExpression),Kusto.Language.Binding.Binder.GetExpressionResultName(o.Expression,defaultName)):Bridge.is(expr,Kusto.Language.Syntax.SimpleNamedExpression)?(s=Bridge.cast(expr,Kusto.Language.Syntax.SimpleNamedExpression),s.Name.SimpleName):Bridge.is(expr,Kusto.Language.Syntax.FunctionCallExpression)?(f=Bridge.cast(expr,Kusto.Language.Syntax.FunctionCallExpression),Kusto.Language.Binding.Binder.GetFunctionResultName(f,defaultName,row)):defaultName;while(0)},GetType:function(primitiveType,diagnostics){diagnostics===void 0&&(diagnostics=null);var typeName=primitiveType.Type.Text,type=Kusto.Language.Symbols.ScalarTypes.GetSymbol(typeName);return type!=null?type:(diagnostics!=null&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetInvalidTypeName(typeName).WithLocation(primitiveType.Type)),Kusto.Language.Symbols.ErrorSymbol.Instance)},IsInteger:function(type){var s;return(s=Bridge.as(type,Kusto.Language.Symbols.ScalarSymbol))!=null&&s.IsInteger},IsRealOrDecimal:function(type){return Kusto.Language.Binding.Binder.SymbolsAssignable(type,Kusto.Language.Symbols.ScalarTypes.Real)||Kusto.Language.Binding.Binder.SymbolsAssignable(type,Kusto.Language.Symbols.ScalarTypes.Decimal)},IsStringOrDynamic:function(type){return Bridge.referenceEquals(type,Kusto.Language.Symbols.ScalarTypes.String)||Bridge.referenceEquals(type,Kusto.Language.Symbols.ScalarTypes.Dynamic)},IsNumber:function(type){var s;return(s=Bridge.as(type,Kusto.Language.Symbols.ScalarSymbol))!=null&&s.IsNumeric},IsIntegerOrDynamic:function(type){return Kusto.Language.Binding.Binder.IsInteger(type)||Bridge.referenceEquals(type,Kusto.Language.Symbols.ScalarTypes.Dynamic)},IsSummable:function(type){var s;return(s=Bridge.as(type,Kusto.Language.Symbols.ScalarSymbol))!=null&&s.IsSummable},IsTabular:function(type){return type!=null&&type.IsTabular},IsDatabase:function(symbol){return Bridge.is(symbol,Kusto.Language.Symbols.DatabaseSymbol)},IsCluster:function(symbol){return Bridge.is(symbol,Kusto.Language.Symbols.ClusterSymbol)},GetSemanticInfo:function(referencedSymbol,diagnostics){return diagnostics===void 0&&(diagnostics=[]),Kusto.Language.Binding.Binder.CreateSemanticInfo(referencedSymbol,Bridge.cast(diagnostics,System.Collections.Generic.IEnumerable$1(Kusto.Language.Diagnostic)))},CreateSemanticInfo:function(referencedSymbol,diagnostics){diagnostics===void 0&&(diagnostics=null);switch(referencedSymbol.Kind){case Kusto.Language.Symbols.SymbolKind.Operator:case Kusto.Language.Symbols.SymbolKind.Column:case Kusto.Language.Symbols.SymbolKind.Table:case Kusto.Language.Symbols.SymbolKind.Database:case Kusto.Language.Symbols.SymbolKind.Cluster:case Kusto.Language.Symbols.SymbolKind.Parameter:case Kusto.Language.Symbols.SymbolKind.Function:case Kusto.Language.Symbols.SymbolKind.Pattern:case Kusto.Language.Symbols.SymbolKind.Group:return new Kusto.Language.Syntax.SemanticInfo.$ctor1(referencedSymbol,Kusto.Language.Binding.Binder.GetResultType(referencedSymbol),diagnostics);case Kusto.Language.Symbols.SymbolKind.Variable:var v=Bridge.cast(referencedSymbol,Kusto.Language.Symbols.VariableSymbol);return new Kusto.Language.Syntax.SemanticInfo.$ctor1(referencedSymbol,Kusto.Language.Binding.Binder.GetResultType(referencedSymbol),diagnostics,v.IsConstant,void 0);case Kusto.Language.Symbols.SymbolKind.Scalar:case Kusto.Language.Symbols.SymbolKind.Tuple:return new Kusto.Language.Syntax.SemanticInfo.$ctor3(Bridge.cast(referencedSymbol,Kusto.Language.Symbols.TypeSymbol),diagnostics);default:return new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,Kusto.Language.Symbols.ErrorSymbol.Instance,diagnostics)}},GetResultType:function(symbol){return Kusto.Language.Symbols.Symbol.GetExpressionResultType(symbol)},SymbolsAssignable$1:function(parameterTypes,valueType,conversion){conversion===void 0&&(conversion=0);for(var i=0;i=0?position:contextNode.TextStart),contextNode.Visit$2(builder)),locals!=null){this._localScope=new Kusto.Language.Binding.LocalScope(this._localScope);$t=Bridge.getEnumerator(locals,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())local=$t.Current,this._localScope.AddDeclaration(local)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}},GetSemanticInfo:function(node){return node!=null?node.GetSemanticInfo():null},SetSemanticInfo:function(node,info){node!=null&&(Bridge.staticEquals(this._semanticInfoSetter,null)?null:this._semanticInfoSetter(node,info))},GetResultTypeOrError:function(expression){var $t;return(($t=this.GetSemanticInfo(expression))!=null?$t.ResultType:null)||Kusto.Language.Symbols.ErrorSymbol.Instance},GetResultType:function(expression){var $t;return($t=this.GetSemanticInfo(expression))!=null?$t.ResultType:null},GetReferencedSymbol:function(expression){var $t;return($t=this.GetSemanticInfo(expression))!=null?$t.ReferencedSymbol:null},GetIsConstant:function(expression){var $t,$t1;return $t=($t1=this.GetSemanticInfo(expression))!=null?$t1.IsConstant:null,$t!=null?$t:!1},GetCluster:function(name){var cluster=this._globals.GetCluster$1(name);return cluster||this.GetOpenCluster(name)},GetOpenCluster:function(name){this._openClusters==null&&(this._openClusters=new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.ClusterSymbol)));var cluster={};return this._openClusters.tryGetValue(name,cluster)||(cluster.v=new Kusto.Language.Symbols.ClusterSymbol.$ctor1(name,null,!0),this._openClusters.add(name,cluster.v)),cluster.v},GetDatabase:function(name,cluster){var db,list;if(cluster===void 0&&(cluster=null),cluster=cluster||this._currentCluster,Bridge.referenceEquals(cluster,this._currentCluster)&&System.String.compare(this._currentDatabase.Name,name,!0)===0)return this._currentDatabase;if(db={},this._aliasedDatabases.tryGetValue(name,db))return db.v;list=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool();try{return cluster.GetMembers$1(name,Kusto.Language.Symbols.SymbolMatch.Database,list,!0),list.Count>=1?Bridge.cast(list.getItem(0),Kusto.Language.Symbols.DatabaseSymbol):cluster.IsOpen?this.GetOpenDatabase(name,cluster):null}finally{Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(list)}},GetDatabase$1:function(name){var cluster=Bridge.as(this._pathScope,Kusto.Language.Symbols.ClusterSymbol)||this._currentCluster;return this.GetDatabase(name,cluster)||Bridge.cast(Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.Symbols.TypeSymbol)},GetOpenDatabase:function(name,cluster){var map,database;return cluster=cluster||this._currentCluster,this._openDatabases==null&&(this._openDatabases=new(System.Collections.Generic.Dictionary$2(Kusto.Language.Symbols.ClusterSymbol,System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.DatabaseSymbol)))),map={},this._openDatabases.tryGetValue(cluster,map)||(map.v=new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.DatabaseSymbol)),this._openDatabases.add(cluster,map.v)),database={},map.v.tryGetValue(name,database)||(database.v=new Kusto.Language.Symbols.DatabaseSymbol.$ctor1(name,null,!0),map.v.add(name,database.v)),database.v},GetTable:function(name,database){database===void 0&&(database=null);database=database||this._currentDatabase;var list=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool();try{return database.GetMembers$1(name,Kusto.Language.Symbols.SymbolMatch.Table,list),list.Count>=1?Bridge.cast(list.getItem(0),Kusto.Language.Symbols.TableSymbol):database.IsOpen?this.GetOpenTable(name,database):null}finally{Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(list)}},GetTable$1:function(name){var database=Bridge.as(this._pathScope,Kusto.Language.Symbols.DatabaseSymbol)||this._currentDatabase;return this.GetTable(name,database)||Bridge.cast(Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.Symbols.TypeSymbol)},GetOpenTable:function(name,database){var map,table;return this._openTables==null&&(this._openTables=new(System.Collections.Generic.Dictionary$2(Kusto.Language.Symbols.DatabaseSymbol,System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.TableSymbol)))),map={},this._openTables.tryGetValue(database,map)||(map.v=new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.TableSymbol)),this._openTables.add(database,map.v)),table={},map.v.tryGetValue(name,table)||(table.v=new Kusto.Language.Symbols.TableSymbol.$ctor3(name).Open(),map.v.add(name,table.v)),table.v},GetOpenColumn:function(name,type,table){var columnMap,column;return this.openColumns==null&&(this.openColumns=new(System.Collections.Generic.Dictionary$2(Kusto.Language.Symbols.TableSymbol,System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.ColumnSymbol)))),columnMap={},this.openColumns.tryGetValue(table,columnMap)||(columnMap.v=new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.ColumnSymbol)),this.openColumns.add(table,columnMap.v)),column={},columnMap.v.tryGetValue(name,column)||(column.v=new Kusto.Language.Symbols.ColumnSymbol(name,type),columnMap.v.add(name,column.v)),column.v},GetDeclaredAndInferredColumns$1:function(table,columns){columns.AddRange(table.Columns);var columnMap={};table.IsOpen&&this.openColumns!=null&&this.openColumns.tryGetValue(table,columnMap)&&columns.AddRange(columnMap.v.getValues())},GetDeclaredAndInferredColumns:function(table){if(table.IsOpen&&this.openColumns!=null&&this.openColumns.containsKey(table)){var list=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return this.GetDeclaredAndInferredColumns$1(table,list),list}return table.Columns},GetTuple:function(table){this.tupleMap==null&&(this.tupleMap=new(System.Collections.Generic.Dictionary$2(Kusto.Language.Symbols.TableSymbol,Kusto.Language.Symbols.TupleSymbol)));var tuple={};return this.tupleMap.tryGetValue(table,tuple)||(tuple.v=new Kusto.Language.Symbols.TupleSymbol.$ctor1(this.GetDeclaredAndInferredColumns(table)),this.tupleMap.add(table,tuple.v)),tuple.v},CanCache:function(tables){return Bridge.referenceEquals(tables,this._currentDatabase.Tables)||System.Linq.Enumerable.from(tables).all(Bridge.fn.bind(this,function(t){return this._globals.IsDatabaseTable(t)}))},GetTableOfColumnsUnifiedByName:function(tables){var $t,unifiedColumnsTable={},cache,columns,table;if(!this._globalBindingCache.UnifiedNameColumnsMap.tryGetValue(tables,unifiedColumnsTable)){cache=this.CanCache(tables);tables=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.TableSymbol,tables);columns=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);$t=Bridge.getEnumerator(tables,Kusto.Language.Symbols.TableSymbol);try{while($t.moveNext())table=$t.Current,columns.AddRange(table.Columns)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}Kusto.Language.Binding.Binder.UnifyColumnsWithSameName(columns);unifiedColumnsTable.v=new Kusto.Language.Symbols.TableSymbol.$ctor2(columns);cache&&this._globalBindingCache.UnifiedNameColumnsMap.set(tables,unifiedColumnsTable.v)}return unifiedColumnsTable.v},GetTableOfColumnsUnifiedByNameAndType:function(tables){var $t,unifiedColumnsTable={},cache,columns,table;if(!this._globalBindingCache.UnifiedNameAndTypeColumnsMap.tryGetValue(tables,unifiedColumnsTable)){cache=this.CanCache(tables);tables=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.TableSymbol,tables);columns=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);$t=Bridge.getEnumerator(tables,Kusto.Language.Symbols.TableSymbol);try{while($t.moveNext())table=$t.Current,columns.AddRange(table.Columns)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}Kusto.Language.Binding.Binder.UnifyColumnsWithSameNameAndType(columns);unifiedColumnsTable.v=new Kusto.Language.Symbols.TableSymbol.$ctor2(columns);cache&&this._globalBindingCache.UnifiedNameAndTypeColumnsMap.set(tables,unifiedColumnsTable.v)}return unifiedColumnsTable.v},GetTableOfCommonColumns:function(tables){var commonColumnsTable={},cache,columns;return this._globalBindingCache.CommonColumnsMap.tryGetValue(tables,commonColumnsTable)||(cache=this.CanCache(tables),tables=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.TableSymbol,tables),columns=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor),Kusto.Language.Binding.Binder.GetCommonColumns(tables,columns),commonColumnsTable.v=new Kusto.Language.Symbols.TableSymbol.$ctor2(columns),cache&&this._globalBindingCache.CommonColumnsMap.set(tables,commonColumnsTable.v)),commonColumnsTable.v},GetSymbolsInContext:function(contextNode,match,include,list){var memberMatch,dbMatch;if(this._pathScope!=null)memberMatch=match&7,Bridge.is(this._pathScope,Kusto.Language.Symbols.TableSymbol)&&!Kusto.Language.Binding.Binder.IsInCommand(contextNode)&&(memberMatch&=-2),memberMatch!==0&&this._pathScope.GetMembers(memberMatch,list),(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0&&this.GetSpecialFunctions(null,list);else switch(this._scopeKind){case Kusto.Language.Binding.Binder.ScopeKind.Normal:this._rowScope!=null&&(match&Kusto.Language.Symbols.SymbolMatch.Column)!=0&&(this._rightRowScope!=null?(list.add(new Kusto.Language.Symbols.VariableSymbol("$left",this.GetTuple(this._rowScope))),list.add(new Kusto.Language.Symbols.VariableSymbol("$right",this.GetTuple(this._rightRowScope))),Kusto.Language.Binding.Binder.GetCommonColumns$2(this.GetDeclaredAndInferredColumns(this._rowScope),this.GetDeclaredAndInferredColumns(this._rightRowScope),list)):this._rowScope.GetMembers(match,list));this._localScope.GetSymbols(match,list);(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0&&(include&Kusto.Language.IncludeFunctionKind.BuiltInFunctions)!=0&&this.GetFunctionsInScope$1(match,null,Kusto.Language.IncludeFunctionKind.BuiltInFunctions,list);this._currentDatabase!=null&&(dbMatch=match,(include&Kusto.Language.IncludeFunctionKind.DatabaseFunctions)==0&&(dbMatch&=-5),this._currentDatabase.GetMembers(dbMatch,list));(match&Kusto.Language.Symbols.SymbolMatch.Database)!=0&&this._currentCluster.GetMembers(match,list);(match&Kusto.Language.Symbols.SymbolMatch.Cluster)!=0&&list.AddRange(this._globals.Clusters);break;case Kusto.Language.Binding.Binder.ScopeKind.Aggregate:(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0&&this.GetFunctionsInScope$1(match,null,include,list);break;case Kusto.Language.Binding.Binder.ScopeKind.PlugIn:(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0&&this.GetFunctionsInScope$1(match,null,include,list)}},GetSpecialFunctions:function(name,functions){if(this._pathScope!=null)switch(this._pathScope.Kind){case Kusto.Language.Symbols.SymbolKind.Cluster:(name==null||Bridge.referenceEquals(Kusto.Language.Functions.Database.Name,name))&&functions.add(Kusto.Language.Functions.Database);break;case Kusto.Language.Symbols.SymbolKind.Database:(name==null||Bridge.referenceEquals(Kusto.Language.Functions.Database.Name,name))&&functions.add(Kusto.Language.Functions.Table)}},GetFunctionsInScope$1:function(match,name,include,functions,diagnostics,location){var $t,allFunctions,fn;diagnostics===void 0&&(diagnostics=null);location===void 0&&(location=null);allFunctions=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool();try{this.GetFunctionsInScope(this._scopeKind,name,include,allFunctions,diagnostics,location);$t=Bridge.getEnumerator(allFunctions);try{while($t.moveNext())fn=$t.Current,Kusto.Language.Symbols.SymbolMatchExtensions.Matches(fn,match)&&functions.add(fn)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}finally{Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(allFunctions)}},GetFunctionsInScope:function(kind,name,include,functions,diagnostics,location){var fn,fn1,fn2,oldCount;if(diagnostics===void 0&&(diagnostics=null),location===void 0&&(location=null),this._pathScope!=null)this.GetSpecialFunctions(name,functions);else switch(kind){case Kusto.Language.Binding.Binder.ScopeKind.Aggregate:name==null?(functions.AddRange(this._globals.Aggregates),this.GetFunctionsInScope(Kusto.Language.Binding.Binder.ScopeKind.Normal,name,include,functions)):(fn=this._globals.GetAggregate(name),fn!=null?functions.add(fn):this.GetFunctionsInScope(Kusto.Language.Binding.Binder.ScopeKind.Normal,name,include,functions),functions.Count===0&&diagnostics!=null&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetAggregateFunctionNotDefined(name).WithLocation(location)));break;case Kusto.Language.Binding.Binder.ScopeKind.PlugIn:name==null?functions.AddRange(this._globals.PlugIns):(fn1=this._globals.GetPlugIn(name),fn1!=null?functions.add(fn1):diagnostics!=null&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetPlugInFunctionNotDefined(name).WithLocation(location)));break;default:(include&Kusto.Language.IncludeFunctionKind.BuiltInFunctions)!=0&&(name==null?functions.AddRange(this._globals.Functions):functions.Count===0&&(fn2=this._globals.GetFunction(name),fn2!=null&&functions.add(fn2)));(name==null||functions.Count===0)&&(include&Kusto.Language.IncludeFunctionKind.LocalFunctions)!=0&&this.GetDeclaredFunctionsInScope(name,functions);(name==null||functions.Count===0)&&(include&Kusto.Language.IncludeFunctionKind.DatabaseFunctions)!=0&&this._currentDatabase!=null&&(oldCount=functions.Count,this._currentDatabase.GetMembers$1(name,Kusto.Language.Symbols.SymbolMatch.Function,functions),functions.Count===oldCount&&diagnostics!=null&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetScalarFunctionNotDefined(name).WithLocation(location)))}},GetDeclaredFunctionsInScope:function(name,functions){var $t,locals=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool(),local,fn;try{this._localScope.GetSymbols$1(name,Kusto.Language.Symbols.SymbolMatch.Local,locals);$t=Bridge.getEnumerator(locals);try{while($t.moveNext())local=$t.Current,(fn=Bridge.as(Kusto.Language.Binding.Binder.GetResultType(local),Kusto.Language.Symbols.FunctionSymbol))!=null&&functions.add(fn)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}finally{Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(locals)}},BindName:function(name,match,location){var tuple,tuple1,list,allowZeroArgumentInvocation,ds,table,cs,i,fn,item,resultType,fn1,sig,sigResult,returnType;if(Bridge.referenceEquals(name,""))return Kusto.Language.Binding.Binder.ErrorInfo;if(this._pathScope!=null){if(Bridge.referenceEquals(this._pathScope,Kusto.Language.Symbols.ScalarTypes.Dynamic))return Kusto.Language.Binding.Binder.LiteralDynamicInfo;if(Bridge.referenceEquals(this._pathScope,Kusto.Language.Symbols.ErrorSymbol.Instance))return Kusto.Language.Binding.Binder.ErrorInfo}else{if(Bridge.referenceEquals(name,"$left")&&this._rowScope!=null&&this._rightRowScope!=null)return tuple=this.GetTuple(this._rowScope),new Kusto.Language.Syntax.SemanticInfo.$ctor1(tuple,tuple);if(Bridge.referenceEquals(name,"$right")&&this._rightRowScope!=null)return tuple1=this.GetTuple(this._rightRowScope),new Kusto.Language.Syntax.SemanticInfo.$ctor1(tuple1,tuple1)}list=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool();try{if(allowZeroArgumentInvocation=!1,this._pathScope!=null){if(!Bridge.is(this._pathScope,Kusto.Language.Symbols.TableSymbol)||Kusto.Language.Binding.Binder.IsInCommand(location))if(this._pathScope.GetMembers$1(name,match,list),list.Count===0)if((ds=Bridge.as(this._pathScope,Kusto.Language.Symbols.DatabaseSymbol))!=null){if(Bridge.referenceEquals(name,Kusto.Language.Functions.Table.Name))list.add(Kusto.Language.Functions.Table);else if(ds.IsOpen)return table=this.GetOpenTable(name,ds),new Kusto.Language.Syntax.SemanticInfo.$ctor1(table,table)}else(cs=Bridge.as(this._pathScope,Kusto.Language.Symbols.ClusterSymbol))!=null&&Bridge.referenceEquals(name,Kusto.Language.Functions.Database.Name)&&list.add(Kusto.Language.Functions.Database);else allowZeroArgumentInvocation=!0}else{if(this._rowScope!=null&&this._rowScope.GetMembers$1(name,match,list),list.Count===0&&this._rightRowScope!=null&&this._rightRowScope.GetMembers$1(name,match,list),list.Count===0&&(this._localScope.GetSymbols$1(name,match,list),allowZeroArgumentInvocation=list.Count>0),list.Count===0&&Kusto.Language.Binding.Binder.IsPossibleInvocableFunctionWithoutArgumentList(location)&&(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0){for(this.GetFunctionsInScope(this._scopeKind,name,Kusto.Language.IncludeFunctionKind.DatabaseFunctions,list),i=list.Count-1|0;i>=0;i=i-1|0)fn=Bridge.as(list.getItem(i),Kusto.Language.Symbols.FunctionSymbol),(fn==null||fn.MinArgumentCount>0)&&list.removeAt(i);allowZeroArgumentInvocation=list.Count>0}list.Count===0&&this._currentDatabase!=null&&this._currentDatabase.GetMembers$1(name,match,list);list.Count===0&&this._currentCluster!=null&&(match&Kusto.Language.Symbols.SymbolMatch.Database)!=0&&this._currentCluster.GetMembers$1(name,match,list);list.Count===0&&(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0&&this.GetFunctionsInScope(this._scopeKind,name,Kusto.Language.IncludeFunctionKind.BuiltInFunctions,list);list.Count===0&&this._rowScope!=null&&this._rowScope.IsOpen&&(match&Kusto.Language.Symbols.SymbolMatch.Column)!=0&&list.add(this.GetOpenColumn(name,Kusto.Language.Symbols.ScalarTypes.Dynamic,this._rowScope))}return list.Count===1?(item=list.getItem(0),resultType=Kusto.Language.Binding.Binder.GetResultType(item),(fn1=Bridge.as(resultType,Kusto.Language.Symbols.FunctionSymbol))!=null&&Kusto.Language.Binding.Binder.IsPossibleInvocableFunctionWithoutArgumentList(location)?(sig=System.Linq.Enumerable.from(fn1.Signatures).firstOrDefault(function(s){return s.MinArgumentCount===0},null),sig!=null&&allowZeroArgumentInvocation?(sigResult=this.GetSignatureResult(sig,Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Syntax.Expression).Instance,Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.TypeSymbol).Instance),new Kusto.Language.Syntax.SemanticInfo.$ctor1(item,sigResult.Type,void 0,!1,sigResult.Expander)):(returnType=this.GetCommonReturnType(fn1.Signatures,Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Syntax.Expression).Instance,Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.TypeSymbol).Instance),new Kusto.Language.Syntax.SemanticInfo.ctor(item,returnType,Kusto.Language.DiagnosticFacts.GetFunctionRequiresArgumentList(name).WithLocation(location)))):Kusto.Language.Binding.Binder.CreateSemanticInfo(item)):list.Count===0?Kusto.Language.Binding.Binder.IsFunctionCallName(location)?this._globals.GetAggregate(name)!=null&&this._scopeKind!==Kusto.Language.Binding.Binder.ScopeKind.Aggregate?new Kusto.Language.Syntax.SemanticInfo.$ctor2(Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetAggregateNotAllowedInThisContext(name).WithLocation(location)):new Kusto.Language.Syntax.SemanticInfo.$ctor2(Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetNameDoesNotReferToAnyKnownFunction(name).WithLocation(location)):new Kusto.Language.Syntax.SemanticInfo.$ctor2(Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetNameDoesNotReferToAnyKnownItem(name).WithLocation(location)):new Kusto.Language.Syntax.SemanticInfo.ctor(new Kusto.Language.Symbols.GroupSymbol.$ctor1(System.Linq.Enumerable.from(list).toList(Bridge.global.Kusto.Language.Symbols.Symbol)),Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetNameRefersToMoreThanOneItem(name).WithLocation(location))}finally{Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(list)}},GetBinaryOperatorInfo$1:function(kind,left,right,location){return this.GetBinaryOperatorInfo(kind,left,this.GetResultTypeOrError(left),right,this.GetResultTypeOrError(right),location)},GetBinaryOperatorInfo:function(kind,left,leftType,right,rightType,location){var $arguments=Kusto.Language.Binding.Binder.s_expressionListPool.AllocateFromPool(),argumentTypes=Kusto.Language.Binding.Binder.s_typeListPool.AllocateFromPool();try{return $arguments.add(left),$arguments.add(right),argumentTypes.add(leftType),argumentTypes.add(rightType),this.GetOperatorInfo$1(kind,$arguments,argumentTypes,location)}finally{Kusto.Language.Binding.Binder.s_expressionListPool.ReturnToPool($arguments);Kusto.Language.Binding.Binder.s_typeListPool.ReturnToPool(argumentTypes)}},GetUnaryOperatorInfo:function(kind,operand,location){var $arguments=Kusto.Language.Binding.Binder.s_expressionListPool.AllocateFromPool();try{return $arguments.add(operand),this.GetOperatorInfo(kind,$arguments,location)}finally{Kusto.Language.Binding.Binder.s_expressionListPool.ReturnToPool($arguments)}},GetOperatorInfo:function(kind,$arguments,location){var argumentTypes=Kusto.Language.Binding.Binder.s_typeListPool.AllocateFromPool(),i;try{for(i=0;i=0?System.Array.getItem(argumentTypes,iArg,Kusto.Language.Symbols.TypeSymbol):Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.Parameter1:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,1,Kusto.Language.Symbols.Parameter),$arguments),Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(iArg>=0?System.Array.getItem(argumentTypes,iArg,Kusto.Language.Symbols.TypeSymbol):Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.Parameter2:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,2,Kusto.Language.Symbols.Parameter),$arguments),Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(iArg>=0?System.Array.getItem(argumentTypes,iArg,Kusto.Language.Symbols.TypeSymbol):Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.ParameterN:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,System.Array.getCount(signature.Parameters,Kusto.Language.Symbols.Parameter)-1|0,Kusto.Language.Symbols.Parameter),$arguments),Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(iArg>=0?System.Array.getItem(argumentTypes,iArg,Kusto.Language.Symbols.TypeSymbol):Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.ParameterNLiteral:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,System.Array.getCount(signature.Parameters,Kusto.Language.Symbols.Parameter)-1|0,Kusto.Language.Symbols.Parameter),$arguments),Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(iArg>=0?this.GetTypeOfType(System.Array.getItem($arguments,iArg,Kusto.Language.Syntax.Expression)):Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Promoted:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,0,Kusto.Language.Symbols.Parameter),$arguments),Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(iArg>=0?Kusto.Language.Binding.Binder.Promote(System.Array.getItem(argumentTypes,iArg,Kusto.Language.Symbols.TypeSymbol)):Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.Common:return Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(Kusto.Language.Binding.Binder.GetCommonArgumentType(signature,$arguments,argumentTypes)||Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.Widest:return Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(Kusto.Language.Binding.Binder.GetWidestArgumentType(signature,argumentTypes)||Kusto.Language.Symbols.ErrorSymbol.Instance);case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Cluster:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,0,Kusto.Language.Symbols.Parameter),$arguments),clusterName={},iArg>=0&&Kusto.Language.Binding.Binder.TryGetLiteralStringValue(System.Array.getItem($arguments,iArg,Kusto.Language.Syntax.Expression),clusterName)?Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(this.GetCluster(clusterName.v)):Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(new Kusto.Language.Symbols.ClusterSymbol.$ctor1("",null,!0));case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Database:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,0,Kusto.Language.Symbols.Parameter),$arguments),databaseName={},iArg>=0&&Kusto.Language.Binding.Binder.TryGetLiteralStringValue(System.Array.getItem($arguments,iArg,Kusto.Language.Syntax.Expression),databaseName)?Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(this.GetDatabase$1(databaseName.v)):Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(new Kusto.Language.Symbols.DatabaseSymbol.$ctor1("",null,!0));case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Table:return iArg=signature.GetArgumentIndex(System.Array.getItem(signature.Parameters,0,Kusto.Language.Symbols.Parameter),$arguments),tableName={},iArg>=0&&Kusto.Language.Binding.Binder.TryGetLiteralStringValue(System.Array.getItem($arguments,iArg,Kusto.Language.Syntax.Expression),tableName)?Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(this.GetTable$1(tableName.v)):Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(Kusto.Language.Symbols.TableSymbol.Empty.Open());case Kusto.Language.Symbols.ReturnTypeKind.Custom:return Kusto.Language.Binding.Binder.SignatureResult.op_Implicit(signature.CustomReturnType(this._rowScope||Kusto.Language.Symbols.TableSymbol.Empty,$arguments,signature)||Kusto.Language.Symbols.ErrorSymbol.Instance);default:throw new System.NotImplementedException.ctor;}},GetComputedSignatureResult:function(signature,$arguments,argumentTypes){var $t,expansion,returnType;return $arguments===void 0&&($arguments=null),argumentTypes===void 0&&(argumentTypes=null),System.Nullable.eq(signature.FunctionBodyFacts,Kusto.Language.Symbols.FunctionBodyFacts.None)?new Kusto.Language.Binding.Binder.SignatureResult.$ctor1(signature.NonVariableComputedReturnType,this.GetDeferredCallSiteExpansion(signature,$arguments,argumentTypes)):(expansion=this.GetCallSiteExpansion(signature,$arguments,argumentTypes),returnType=(expansion!=null&&($t=expansion.Expression)!=null?$t.ResultType:null)||Kusto.Language.Symbols.ErrorSymbol.Instance,new Kusto.Language.Binding.Binder.SignatureResult.$ctor1(returnType,function(){return expansion}))},GetDeferredCallSiteExpansion:function(signature,$arguments,argumentTypes){$arguments===void 0&&($arguments=null);argumentTypes===void 0&&(argumentTypes=null);var expansion=null,args=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Syntax.Expression,$arguments),types=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.TypeSymbol,argumentTypes);return Bridge.fn.bind(this,function(){return expansion==null&&(this._globalBindingCache,expansion=this.GetCallSiteExpansion(signature,args,types)),expansion})},GetCommonReturnType:function(signatures,$arguments,argumentTypes){var firstType,i,type;if(System.Array.getCount(signatures,Kusto.Language.Symbols.Signature)===0)return Kusto.Language.Symbols.ErrorSymbol.Instance;if(System.Array.getCount(signatures,Kusto.Language.Symbols.Signature)===1)return this.GetSignatureResult(System.Array.getItem(signatures,0,Kusto.Language.Symbols.Signature),$arguments,argumentTypes).Type;for(firstType=this.GetSignatureResult(System.Array.getItem(signatures,0,Kusto.Language.Symbols.Signature),$arguments,argumentTypes).Type,i=1;i1){closestCount=0;maxCount=0;$t=Bridge.getEnumerator(signatures,Kusto.Language.Symbols.Signature);try{while($t.moveNext())s=$t.Current,argCount>=s.MinArgumentCount&&argCount<=s.MaxArgumentCount?result.add(s):argCounts.MinArgumentCount&&(closestCount=s.MinArgumentCount),s.MaxArgumentCount>maxCount&&(maxCount=s.MaxArgumentCount)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}if(result.Count===0){closestCount===0&&(closestCount=maxCount);$t1=Bridge.getEnumerator(signatures,Kusto.Language.Symbols.Signature);try{while($t1.moveNext())s1=$t1.Current,closestCount>=s1.MinArgumentCount&&closestCount<=s1.MaxArgumentCount&&result.add(s1)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$Dispose()}}}if(result.Count>1){mostMatchingParameterCount=0;$t2=Bridge.getEnumerator(result);try{while($t2.moveNext())s2=$t2.Current,count=this.GetParameterMatchCount(s2,$arguments,argumentTypes),count>mostMatchingParameterCount&&(mostMatchingParameterCount=count)}finally{Bridge.is($t2,System.IDisposable)&&$t2.System$IDisposable$Dispose()}for(i=result.Count-1|0;i>=0;i=i-1|0)f=result.getItem(i),this.GetParameterMatchCount(f,$arguments,argumentTypes)!==mostMatchingParameterCount&&result.removeAt(i);if(result.Count>1){for(best=result.getItem(0),i1=1;i1matchCount2},IsBetterParameterMatch:function(signature1,signature2,$arguments,argumentTypes,argumentIndex){var matches1=this.GetParameterMatchKind$1(signature1,$arguments,argumentTypes,argumentIndex),matches2=this.GetParameterMatchKind$1(signature2,$arguments,argumentTypes,argumentIndex);return matches1>matches2},GetParameterMatchCount:function(signature,$arguments,argumentTypes){for(var argCount=System.Array.getCount(argumentTypes,Kusto.Language.Symbols.TypeSymbol),matches=0,i=0;i0?new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ErrorSymbol.Instance,diagnostics):(this.GetMatchingPatterns(pattern.Signatures,$arguments,matchingPatterns),matchingPatterns.Count===0)?(diagnostics.add(Kusto.Language.DiagnosticFacts.GetNoPatternMatchesArguments().WithLocation(functionCall.Name)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ErrorSymbol.Instance,diagnostics)):(result=this.GetReturnType$1(matchingPatterns),new Kusto.Language.Syntax.SemanticInfo.$ctor1(pattern,result,diagnostics))}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_patternListPool.ReturnToPool(matchingPatterns);Kusto.Language.Binding.Binder.s_expressionListPool.ReturnToPool($arguments)}},GetMatchingPatterns:function(signatures,$arguments,matchingSignatures){var $t,sig;$t=Bridge.getEnumerator(signatures,Kusto.Language.Symbols.PatternSignature);try{while($t.moveNext())sig=$t.Current,this.PatternMatches(sig,$arguments)&&matchingSignatures.add(sig)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}},PatternMatches:function(signature,$arguments){var $t,$t1,i,matchValue,argValue;if(System.Array.getCount(signature.ArgumentValues,System.String)!==System.Array.getCount($arguments,Kusto.Language.Syntax.Expression))return!1;for(i=0;i=0){var arg=System.Array.getItem($arguments,argIndex,Kusto.Language.Syntax.Expression),argType=argumentTypes!=null?System.Array.getItem(argumentTypes,argIndex,Kusto.Language.Symbols.TypeSymbol):arg.ResultType,literalValue={},isLiteral=Kusto.Language.Binding.Binder.TryGetLiteralValue(arg,literalValue);locals.add(new Kusto.Language.Symbols.VariableSymbol(p.Name,argType,isLiteral,literalValue.v))}else{var type=Kusto.Language.Binding.Binder.GetRepresentativeType(p),isConstant=p.IsOptional&&p.DefaultValue!=null,constantValue={v:null};isConstant&&Kusto.Language.Binding.Binder.TryGetLiteralValue(p.DefaultValue,constantValue);locals.add(new Kusto.Language.Symbols.VariableSymbol(p.Name,type,isConstant,constantValue.v))}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.VariableSymbol,locals)},GetFunctionBody:function(signature){var body=signature.Body.trim();return System.String.startsWith(body,"{")||(body="{"+(body||"")),System.String.endsWith(body,"}")||(body=(body||"")+"\n}"),body},ComputeFunctionBodyFacts:function(signature,body){var $t,$t1,$t2,result=Kusto.Language.Symbols.FunctionBodyFacts.None,isTabular=Bridge.is(($t=body.Expression)!=null?$t.ResultType:null,Kusto.Language.Symbols.TableSymbol),fc,isLiteral,fce,facts;$t1=Bridge.getEnumerator(body.GetDescendants(Kusto.Language.Syntax.FunctionCallExpression,function(_fc){return Bridge.referenceEquals(_fc.ReferencedSymbol,Kusto.Language.Functions.Table)||Bridge.referenceEquals(_fc.ReferencedSymbol,Kusto.Language.Functions.Database)||Bridge.referenceEquals(_fc.ReferencedSymbol,Kusto.Language.Functions.Cluster)}),Kusto.Language.Syntax.FunctionCallExpression);try{while($t1.moveNext())fc=$t1.Current,Bridge.referenceEquals(fc.ReferencedSymbol,Kusto.Language.Functions.Table)?result|=Kusto.Language.Symbols.FunctionBodyFacts.Table:Bridge.referenceEquals(fc.ReferencedSymbol,Kusto.Language.Functions.Database)?result|=Kusto.Language.Symbols.FunctionBodyFacts.Database:Bridge.referenceEquals(fc.ReferencedSymbol,Kusto.Language.Functions.Cluster)&&(result|=Kusto.Language.Symbols.FunctionBodyFacts.Cluster),isLiteral=fc.ArgumentList.Expressions.Count>0&&fc.ArgumentList.Expressions.getItem$1(0).Element$1.IsLiteral,!isLiteral&&isTabular&&(result|=Kusto.Language.Symbols.FunctionBodyFacts.VariableReturn)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$Dispose()}isTabular&&System.Linq.Enumerable.from(signature.Parameters).any(function(p){return p.IsTabular})&&(result|=Kusto.Language.Symbols.FunctionBodyFacts.VariableReturn);$t2=Bridge.getEnumerator(body.GetDescendants(Kusto.Language.Syntax.Expression,function(fc1){return Bridge.is(fc1.ReferencedSymbol,Kusto.Language.Symbols.FunctionSymbol)}),Kusto.Language.Syntax.Expression);try{while($t2.moveNext())fce=$t2.Current,facts=this.GetFunctionBodyFacts(fce),result|=facts}finally{Bridge.is($t2,System.IDisposable)&&$t2.System$IDisposable$Dispose()}return result},GetFunctionBodyFacts:function(expr){var $t,fs,signature,functionCall,$arguments,argumentTypes;if((fs=Bridge.as(expr.ReferencedSymbol,Kusto.Language.Symbols.FunctionSymbol))!=null){if(signature=System.Array.getItem(fs.Signatures,0,Kusto.Language.Symbols.Signature),signature.FunctionBodyFacts==null)if(signature.ReturnKind===Kusto.Language.Symbols.ReturnTypeKind.Computed)if((functionCall=Bridge.as(expr,Kusto.Language.Syntax.FunctionCallExpression))!=null){$arguments=Kusto.Language.Binding.Binder.s_expressionListPool.AllocateFromPool();argumentTypes=Kusto.Language.Binding.Binder.s_typeListPool.AllocateFromPool();try{this.GetArgumentsAndTypes(functionCall,$arguments,argumentTypes);this.GetComputedSignatureResult(signature,$arguments,argumentTypes)}finally{Kusto.Language.Binding.Binder.s_expressionListPool.ReturnToPool($arguments);Kusto.Language.Binding.Binder.s_typeListPool.ReturnToPool(argumentTypes)}}else this.GetComputedSignatureResult(signature,Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Syntax.Expression).Instance,Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.TypeSymbol).Instance);else signature.FunctionBodyFacts=Kusto.Language.Symbols.FunctionBodyFacts.None;return $t=signature.FunctionBodyFacts,$t!=null?$t:Kusto.Language.Symbols.FunctionBodyFacts.None}return Kusto.Language.Symbols.FunctionBodyFacts.None},AddLetDeclarationToScope:function(scope,statement,diagnostics){diagnostics===void 0&&(diagnostics=null);scope.AddDeclaration(this.GetReferencedSymbol(statement.Name))},AddDeclarationsToLocalScope:function(scope,declarations){for(var d,i=0,n=declarations.Count;i0&&(this.CheckIsLiteral(parameter.Expression,diagnostics),this.CheckLiteralValue(parameter.Expression,valueInfo.Values,valueInfo.CaseSensitive,diagnostics))}},IsAnyQueryParameterKind:function(parameter,info){var $t,type=this.GetResultTypeOrError(parameter.Expression),valueInfo;$t=Bridge.getEnumerator(info.ValueInfos,Kusto.Language.Binding.Binder.QueryParameterValueInfo);try{while($t.moveNext())if(valueInfo=$t.Current,this.IsQueryParameterKind(parameter,valueInfo))return!0}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return!1},IsQueryParameterKind:function(parameter,valueInfo){var type=this.GetResultTypeOrError(parameter.Expression);switch(valueInfo.Kind){case Kusto.Language.Binding.Binder.QueryParameterKind.Fixed:if(!this.IsType(parameter.Expression,valueInfo.FixedType,Kusto.Language.Binding.Conversion.Compatible))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.Integer:if(!Kusto.Language.Binding.Binder.IsInteger(type))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.Number:if(!Kusto.Language.Binding.Binder.IsNumber(type))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.RealOrDecimal:if(!Kusto.Language.Binding.Binder.IsRealOrDecimal(type))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.Scalar:if(!type.IsScalar)return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.StringOrDynamic:if(!Kusto.Language.Binding.Binder.IsStringOrDynamic(type))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.Summable:if(!Kusto.Language.Binding.Binder.IsSummable(type))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.StringLiteral:if(!(parameter.Expression.IsLiteral&&this.IsType(parameter.Expression,Kusto.Language.Symbols.ScalarTypes.String)))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.BoolLiteral:if(!(parameter.Expression.IsLiteral&&this.IsType(parameter.Expression,Kusto.Language.Symbols.ScalarTypes.Bool)))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.Column:if(!Bridge.is(this.GetReferencedSymbol(parameter.Expression),Kusto.Language.Symbols.ColumnSymbol))return!1;break;case Kusto.Language.Binding.Binder.QueryParameterKind.Identifier:if(!this.IsTokenLiteral(parameter.Expression,valueInfo.Values,valueInfo.CaseSensitive))return!1}return valueInfo.Kind!==Kusto.Language.Binding.Binder.QueryParameterKind.Identifier&&valueInfo.Values!=null&&System.Array.getCount(valueInfo.Values,System.Object)>0&&(!parameter.Expression.IsLiteral||!this.IsLiteralValue(parameter.Expression,valueInfo.Values,valueInfo.CaseSensitive))?!1:!0},CheckDataValueTypes:function(expressions,columns,diagnostics){var i,n,expr;for(expressions.Count%columns.Count!=0&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetIncorrectNumberOfDataValues(columns.Count).WithLocation(expressions)),i=0,n=expressions.Count;i0){var value=Kusto.Language.Utils.ConvertHelper.ChangeType(expression.LiteralValue,System.Array.getItem(values,0,System.Object));return Kusto.Language.Binding.Binder.Contains(values,value,caseSensitive)}return!0}return!1},CheckIsTokenLiteral:function(expression,values,caseSensitive,diagnostics){var result=this.GetResultTypeOrError(expression);if(!result.IsError){if(this.IsTokenLiteral(expression,values,caseSensitive))return!0;diagnostics.add(Kusto.Language.DiagnosticFacts.GetTokenExpected$2(System.Linq.Enumerable.from(values).select(function(v){return Bridge.toString(v)}).toList(System.String)).WithLocation(expression))}return!1},CheckIsToken:function(token,values,caseSensitive,diagnostics){var value=Kusto.Language.Utils.ConvertHelper.ChangeType(token.Text,System.Array.getItem(values,0,System.Object));return Kusto.Language.Binding.Binder.Contains(values,value,caseSensitive)?!0:(token.HasSyntaxDiagnostics||diagnostics.add(Kusto.Language.DiagnosticFacts.GetTokenExpected$2(System.Linq.Enumerable.from(values).select(function(v){return Bridge.toString(v)}).toList(System.String)).WithLocation(token)),!1)},IsLiteralValue:function(expression,values,caseSensitive){if(!expression.IsLiteral)return!1;var value=Kusto.Language.Utils.ConvertHelper.ChangeType(expression.LiteralValue,System.Array.getItem(values,0,System.Object));return Kusto.Language.Binding.Binder.Contains(values,value,caseSensitive)},CheckLiteralValue:function(expression,values,caseSensitive,diagnostics){var result=this.GetResultTypeOrError(expression);if(!result.IsError){if(this.IsLiteralValue(expression,values,caseSensitive))return!0;diagnostics.add(Kusto.Language.DiagnosticFacts.GetExpressionMustHaveValue$1(System.Object,values).WithLocation(expression))}return!1},CheckIsConstant:function(expression,diagnostics){return this.GetIsConstant(expression)||Bridge.is(expression.ReferencedSymbol,Kusto.Language.Symbols.ParameterSymbol)?!0:(this.GetResultTypeOrError(expression).IsError||diagnostics.add(Kusto.Language.DiagnosticFacts.GetExpressionMustBeConstant().WithLocation(expression)),!1)},CheckSignature:function(signature,$arguments,argumentTypes,location,dx){var $t,argCount=System.Array.getCount($arguments,Kusto.Language.Syntax.Expression),initialDxCount=dx.Count,namedArgumentsAllowed,hadOutOfOrderNamedArgument,reportedUnnamedArgument,i,orderedParameter,i1,parameter1,iArg;if(signature.IsValidArgumentCount(argCount)||(signature.HasRepeatableParameters?argCountsignature.MaxArgumentCount?dx.add(Kusto.Language.DiagnosticFacts.GetFunctionExpectsArgumentCountRange(signature.Symbol.Name,signature.MinArgumentCount,signature.MaxArgumentCount).WithLocation(location)):dx.add(Kusto.Language.DiagnosticFacts.GetFunctionHasIncorrectNumberOfArguments().WithLocation(location)):argCount!==System.Array.getCount(signature.Parameters,Kusto.Language.Symbols.Parameter)&&dx.add(Kusto.Language.DiagnosticFacts.GetFunctionExpectsArgumentCountExact(signature.Symbol.Name,System.Array.getCount(signature.Parameters,Kusto.Language.Symbols.Parameter)).WithLocation(location))),namedArgumentsAllowed=this.NamedArgumentsAllowed(signature),namedArgumentsAllowed&&dx.Count===initialDxCount)for(hadOutOfOrderNamedArgument=!1,reportedUnnamedArgument=!1,i=0;i0&&this.CheckLiteralValue(argument,parameter.Values,parameter.IsCaseSensitive,diagnostics);break;case Kusto.Language.Symbols.ArgumentKind.LiteralNotEmpty:this.CheckIsLiteral(argument,diagnostics)&&this.CheckLiteralStringNotEmpty(argument,diagnostics)}}}}});Bridge.define("Kusto.Language.Syntax.SyntaxVisitor");Bridge.define("Kusto.Language.Binding.Binder.MatchKind",{$kind:"nested enum",statics:{fields:{None:0,NotType:1,Scalar:2,Summable:3,Number:4,Compatible:5,Promoted:6,Tabular:7,Table:8,Database:9,Cluster:10,OneOfTwo:11,Exact:12}}});Bridge.define("Kusto.Language.Syntax.SyntaxVisitor$1",function(){return{}});Bridge.define("Kusto.Language.Binding.Binder.QueryParameterInfo",{$kind:"nested class",props:{Names:null,ValueInfos:null,IsRepeatable:!1},ctors:{$ctor2:function(names,valueInfos,isRepeatable){isRepeatable===void 0&&(isRepeatable=!1);this.$initialize();this.Names=names;this.ValueInfos=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Binding.Binder.QueryParameterValueInfo,valueInfos);this.IsRepeatable=isRepeatable},$ctor5:function(name,valueInfos,isRepeatable){isRepeatable===void 0&&(isRepeatable=!1);Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor2.call(this,System.Array.init([name],System.String),valueInfos,isRepeatable)},ctor:function(names,kind,caseSensitive,values,isRepeatable){caseSensitive===void 0&&(caseSensitive=!0);values===void 0&&(values=null);isRepeatable===void 0&&(isRepeatable=!1);Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor2.call(this,names,System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor1(kind,caseSensitive,values)],Kusto.Language.Binding.Binder.QueryParameterValueInfo),isRepeatable)},$ctor1:function(names,fixedType,caseSensitive,values,isRepeatable){caseSensitive===void 0&&(caseSensitive=!0);values===void 0&&(values=null);isRepeatable===void 0&&(isRepeatable=!1);Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor2.call(this,names,System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor2(fixedType,caseSensitive,values)],Kusto.Language.Binding.Binder.QueryParameterValueInfo),isRepeatable)},$ctor3:function(name,kind,caseSensitive,values,isRepeatable){caseSensitive===void 0&&(caseSensitive=!0);values===void 0&&(values=null);isRepeatable===void 0&&(isRepeatable=!1);Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor2.call(this,System.Array.init([name],System.String),System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterValueInfo.ctor(kind,null,caseSensitive,values)],Kusto.Language.Binding.Binder.QueryParameterValueInfo),isRepeatable)},$ctor4:function(name,fixedType,caseSensitive,values,isRepeatable){caseSensitive===void 0&&(caseSensitive=!0);values===void 0&&(values=null);isRepeatable===void 0&&(isRepeatable=!1);Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor2.call(this,System.Array.init([name],System.String),System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor2(fixedType,caseSensitive,values)],Kusto.Language.Binding.Binder.QueryParameterValueInfo),isRepeatable)}}});Bridge.define("Kusto.Language.Binding.Binder.QueryParameterKind",{$kind:"nested enum",statics:{fields:{Fixed:0,Scalar:1,Integer:2,RealOrDecimal:3,StringOrDynamic:4,Number:5,StringLiteral:6,BoolLiteral:7,Summable:8,Identifier:9,NameDeclaration:10,NameDeclarationList:11,Column:12}}});Bridge.define("Kusto.Language.Binding.Binder.QueryParameterValueInfo",{$kind:"nested class",props:{Kind:0,FixedType:null,CaseSensitive:!1,Values:null},ctors:{ctor:function(kind,fixedType,caseSensitive,values){this.$initialize();this.Kind=kind;this.FixedType=fixedType;this.CaseSensitive=caseSensitive;this.Values=Kusto.Language.Utils.ListExtensions.ToReadOnly(System.Object,values)},$ctor1:function(kind,caseSensitive,values){caseSensitive===void 0&&(caseSensitive=!0);values===void 0&&(values=null);Kusto.Language.Binding.Binder.QueryParameterValueInfo.ctor.call(this,kind,null,caseSensitive,values)},$ctor2:function(fixedType,caseSensitive,values){caseSensitive===void 0&&(caseSensitive=!0);values===void 0&&(values=null);Kusto.Language.Binding.Binder.QueryParameterValueInfo.ctor.call(this,Kusto.Language.Binding.Binder.QueryParameterKind.Fixed,fixedType,caseSensitive,values)}}});Bridge.define("Kusto.Language.Binding.Binder.ScopeKind",{$kind:"nested enum",statics:{fields:{Normal:0,Aggregate:1,PlugIn:2}}});Bridge.define("Kusto.Language.Binding.Binder.SignatureResult",{$kind:"nested struct",statics:{methods:{op_Implicit:function(type){return new Kusto.Language.Binding.Binder.SignatureResult.$ctor1(type,null)},getDefaultValue:function(){return new Kusto.Language.Binding.Binder.SignatureResult}}},props:{Type:null,Expander:null},ctors:{$ctor1:function(type,expander){this.$initialize();this.Type=type;this.Expander=expander},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([5716221070,this.Type,this.Expander])},equals:function(o){return Bridge.is(o,Kusto.Language.Binding.Binder.SignatureResult)?Bridge.equals(this.Type,o.Type)&&Bridge.equals(this.Expander,o.Expander):!1},$clone:function(){return this}}});Bridge.define("Kusto.Language.Binding.CallSiteInfo",{props:{Signature:null,Locals:null},ctors:{ctor:function(signature,locals){this.$initialize();this.Signature=signature;this.Locals=locals}},methods:{toString:function(){return(this.Signature.Symbol.Name||"")+"("+(Bridge.toArray(System.Linq.Enumerable.from(this.Locals).select(function(v){return v.IsConstant&&v.ConstantValue!=null?System.String.format("{0}={1}",v.Name,v.ConstantValue):v.Name})).join(",")||"")+")"}}});Bridge.define("Kusto.Language.Binding.Conversion",{$kind:"enum",statics:{fields:{None:0,Promotable:1,Compatible:2,Any:3}}});Bridge.define("Kusto.Language.Binding.GlobalBindingCache",{fields:{UnifiedNameColumnsMap:null,UnifiedNameAndTypeColumnsMap:null,CommonColumnsMap:null,CallSiteToExpansionMap:null},ctors:{init:function(){this.UnifiedNameColumnsMap=new(System.Collections.Generic.Dictionary$2(System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.TableSymbol),Kusto.Language.Symbols.TableSymbol))(null,Kusto.Language.Utils.ReadOnlyListComparer$1(Kusto.Language.Symbols.TableSymbol).Default);this.UnifiedNameAndTypeColumnsMap=new(System.Collections.Generic.Dictionary$2(System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.TableSymbol),Kusto.Language.Symbols.TableSymbol))(null,Kusto.Language.Utils.ReadOnlyListComparer$1(Kusto.Language.Symbols.TableSymbol).Default);this.CommonColumnsMap=new(System.Collections.Generic.Dictionary$2(System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.TableSymbol),Kusto.Language.Symbols.TableSymbol))(null,Kusto.Language.Utils.ReadOnlyListComparer$1(Kusto.Language.Symbols.TableSymbol).Default);this.CallSiteToExpansionMap=new(System.Collections.Generic.Dictionary$2(Kusto.Language.Binding.CallSiteInfo,Kusto.Language.Syntax.FunctionBody))(null,Kusto.Language.Binding.CallSiteInfo.Comparer.Instance)}}});Bridge.define("Kusto.Language.Binding.LocalBindingCache",{fields:{SignaturesComputingExpansion:null,CallSiteToExpansionMap:null},ctors:{init:function(){this.SignaturesComputingExpansion=new(System.Collections.Generic.HashSet$1(Kusto.Language.Symbols.Signature).ctor);this.CallSiteToExpansionMap=new(System.Collections.Generic.Dictionary$2(Kusto.Language.Binding.CallSiteInfo,Kusto.Language.Syntax.FunctionBody))(null,Kusto.Language.Binding.CallSiteInfo.Comparer.Instance)}}});Bridge.define("Kusto.Language.Binding.LocalScope",{fields:{_outerScope:null,_declaredSymbols:null},ctors:{ctor:function(outerScope){outerScope===void 0&&(outerScope=null);this.$initialize();this._outerScope=outerScope;this._declaredSymbols=new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.Symbol))}},methods:{AddDeclaration:function(symbol){return symbol!=null&&!this._declaredSymbols.containsKey(symbol.Name)?(this._declaredSymbols.add(symbol.Name,symbol),!0):!1},GetSymbols$1:function(name,match,symbols){var $t,decl={},symbol;if(name!=null){if(this._declaredSymbols.tryGetValue(name,decl)&&Kusto.Language.Symbols.SymbolMatchExtensions.Matches$1(decl.v,name,match)){symbols.add(decl.v);return}}else{$t=Bridge.getEnumerator(this._declaredSymbols.getValues(),Kusto.Language.Symbols.Symbol);try{while($t.moveNext())symbol=$t.Current,Kusto.Language.Symbols.SymbolMatchExtensions.Matches$1(symbol,name,match)&&symbols.add(symbol)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}this._outerScope!=null&&this._outerScope.GetSymbols$1(name,match,symbols)},GetSymbols:function(match,symbols){this.GetSymbols$1(null,match,symbols)}}});Bridge.define("Kusto.Language.Binding.ProjectionBuilder",{fields:{_projection:null,_doNotAdd:null,_columnIndexMap:null,_declaredNames:null,_uniqueNames:null},ctors:{init:function(){this._projection=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);this._doNotAdd=new(System.Collections.Generic.HashSet$1(Kusto.Language.Symbols.ColumnSymbol).ctor);this._columnIndexMap=new(System.Collections.Generic.Dictionary$2(System.String,System.Int32));this._declaredNames=new(System.Collections.Generic.HashSet$1(System.String).ctor);this._uniqueNames=new Kusto.Language.Utils.UniqueNameTable},ctor:function(){this.$initialize()}},methods:{Clear:function(){this._projection.clear();this._doNotAdd.clear();this._columnIndexMap.clear();this._uniqueNames.Clear();this._declaredNames.clear()},GetProjection:function(){return this._projection},AddRange:function(columns,declare,doNotRepeat){var $t,column,c;declare===void 0&&(declare=!1);doNotRepeat===void 0&&(doNotRepeat=!1);$t=Bridge.getEnumerator(columns,Kusto.Language.Symbols.ColumnSymbol);try{while($t.moveNext())column=$t.Current,c=this.Add(column,void 0,!1,doNotRepeat),declare&&c!=null&&this._declaredNames.add(c.Name)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}},DoNotAdd:function(column){this._doNotAdd.add(column)},CanAdd:function(column){return!this._doNotAdd.contains(column)},Add:function(column,baseName,replace,doNotRepeat){var index,uniqueName;return(baseName===void 0&&(baseName=null),replace===void 0&&(replace=!1),doNotRepeat===void 0&&(doNotRepeat=!1),this._doNotAdd.contains(column))?column:(index={},replace&&this._columnIndexMap.tryGetValue(column.Name,index)?this._projection.setItem(index.v,column):(uniqueName=this._uniqueNames.GetOrAddName(column.Name,baseName),Bridge.referenceEquals(uniqueName,column.Name)||(column=column.WithName(uniqueName)),this._projection.add(column),this._columnIndexMap.add(column.Name,this._projection.Count-1|0)),doNotRepeat&&this._doNotAdd.add(column),column)},Declare:function(column,diagnostics,location,replace){var index,added;if(replace===void 0&&(replace=!1),this._declaredNames.contains(column.Name)){diagnostics.add(Kusto.Language.DiagnosticFacts.GetDuplicateColumnDeclaration(column.Name).WithLocation(location));return}index={};replace&&this._columnIndexMap.tryGetValue(column.Name,index)?(this._projection.setItem(index.v,column),this._declaredNames.add(column.Name)):(added=this.Add(column),added!=null&&this._declaredNames.add(added.Name))},Rename:function(oldName,newName,diagnostics,location){var index={},oldColumn,newColumn;return this._columnIndexMap.tryGetValue(oldName,index)?this._declaredNames.contains(newName)?(diagnostics.add(Kusto.Language.DiagnosticFacts.GetDuplicateColumnDeclaration(newName).WithLocation(location)),null):(oldColumn=this._projection.getItem(index.v),newColumn=oldColumn.WithName(newName),this._projection.setItem(index.v,newColumn),this._columnIndexMap.remove(oldName),this._columnIndexMap.add(newName,index.v),this._declaredNames.add(newName),this._uniqueNames.AddName(newName),newColumn):null}}});Bridge.define("Kusto.Language.Commands",{statics:{fields:{ShowDatabaseResults:null,ShowDatabaseDetailsResults:null,ShowDatabase:null,ShowDatabaseDetails:null,ShowDatabaseIdentity:null,ShowDatabasePolicies:null,ShowDatabaseDataStats:null,ShowClusterDatabases:null,ShowClusterDatabasesDetails:null,ShowClusterDatabasesIdentity:null,ShowClusterDatabasesPolicies:null,ShowClusterDatabasesDataStats:null,CreateDatabasePersist:null,CreateDatabaseVolatile:null,AttachDatabase:null,DetachDatabase:null,AlterDatabasePrettyName:null,DropDatabasePrettyName:null,AlterDatabasePersistMetadata:null,SetAccess:null,ShowDatabaseSchema:null,ShowDatabaseSchemaAsJson:null,ShowDatabasesSchema:null,ShowDatabasesSchemaAsJson:null,ShowTablesResult:null,ShowTablesDetailsResult:null,ShowTableSchemaResult:null,ShowTables:null,ShowTablesDetails:null,ShowTableDetails:null,ShowTableCslSchema:null,ShowTableSchemaAsJson:null,CreateTable:null,CreateMergeTable:null,CreateTables:null,AlterTable:null,AlterMergeTable:null,AlterTableDocString:null,AlterTableFolder:null,RenameTable:null,RenameTables:null,DropTable:null,UndoDropTable:null,DropTables:null,TableIngestionMappingResult:null,CreateTableIngestionMapping:null,AlterTableIngestionMapping:null,ShowIngestionMappings:null,ShowIngestionMapping:null,ShowTableIngestionMappings:null,ShowTableIngestionMapping:null,DropTableIngestionMapping:null,RenameColumn:null,RenameColumns:null,AlterColumnType:null,DropColumn:null,DropTableColumns:null,AlterTableColumnDocString:null,AlterMergeTableColumnDocString:null,FunctionResult:null,ShowFunctions:null,ShowFunction:null,CreateFunction:null,AlterFunction:null,CreateOrAlterFunction:null,DropFunction:null,AlterFunctionDocString:null,AlterFunctionFolder:null,ExternalTableResult:null,ExternalTableSchemaResult:null,ExternalTableFullResult:null,ShowExternalTables:null,ShowExternalTable:null,ShowExternalTableCslSchema:null,ShowExternalTableSchema:null,DropExternalTable:null,CreateExternalTable:null,AlterExternalTable:null,PolicyResult:null,ShowDatabasePolicyCaching:null,ShowTablePolicyCaching:null,AlterDatabasePolicyCaching:null,AlterTablePolicyCaching:null,AlterClusterPolicyCaching:null,DeleteTablePolicyCaching:null,ShowTablePolicyIngestionTime:null,AlterTablePolicyIngestionTime:null,AlterTablesPolicyIngestionTime:null,DeleteTablePolicyIngestionTime:null,ShowTablePolicyRetention:null,ShowDatabasePolicyRetention:null,AlterTablePolicyRetention:null,AlterDatabasePolicyRetention:null,AlterTablesPolicyRetention:null,AlterMergeTablePolicyRetention:null,AlterMergeDatabasePolicyRetention:null,DeleteTablePolicyRetention:null,DeleteDatabasePolicyRetention:null,ShowTablePolicyRowOrder:null,AlterTablePolicyRowOrder:null,AlterTablesPolicyRowOrder:null,AlterMergeTablePolicyRowOrder:null,DeleteTablePolicyRowOrder:null,ShowTablePolicyUpdate:null,AlterTablePolicyUpdate:null,AlterMergeTablePolicyUpdate:null,DeleteTablePolicyUpdate:null,ShowDatabasePolicyIngestionBatching:null,ShowTablePolicyIngestionBatching:null,AlterDatabasePolicyIngestionBatching:null,AlterTablePolicyIngestionBatching:null,AlterTablesPolicyIngestionBatching:null,DeleteDatabasePolicyIngestionBatching:null,DeleteTablePolicyIngestionBatching:null,ShowDatabasePolicyEncoding:null,ShowTablePolicyEncoding:null,ShowColumnPolicyEncoding:null,AlterDatabasePolicyEncoding:null,AlterTablePolicyEncoding:null,AlterColumnPolicyEncoding:null,AlterMergeDatabasePolicyEncoding:null,AlterMergeTablePolicyEncoding:null,AlterMergeColumnPolicyEncoding:null,DeleteDatabasePolicyEncoding:null,DeleteTablePolicyEncoding:null,DeleteColumnPolicyEncoding:null,ShowDatabasePolicyMerge:null,ShowTablePolicyMerge:null,AlterDatabasePolicyMerge:null,AlterTablePolicyMerge:null,AlterMergeDatabasePolicyMerge:null,AlterMergeTablePolicyMerge:null,DeleteDatabasePolicyMerge:null,DeleteTablePolicyMerge:null,ShowTablePolicyRestrictedViewAccess:null,AlterTablePolicyRestrictedViewAccess:null,AlterTablesPolicyRestrictedViewAccess:null,DeleteTablePolicyRestrictedViewAccess:null,ShowClusterPolicyRowStore:null,AlterClusterPolicyRowStore:null,AlterMergeClusterPolicyRowStore:null,ShowClusterPolicySandbox:null,AlterClusterPolicySandbox:null,ShowDatabasePolicySharding:null,ShowTablePolicySharding:null,AlterDatabasePolicySharding:null,AlterTablePolicySharding:null,AlterMergeDatabasePolicySharding:null,AlterMergeTablePolicySharding:null,DeleteDatabasePolicySharding:null,DeleteTablePolicySharding:null,ShowDatabasePolicyStreamingIngestion:null,ShowTablePolicyStreamingIngestion:null,AlterDatabasePolicyStreamingIngestion:null,AlterTablePolicyStreamingIngestion:null,DeleteDatabasePolicyStreamingIngestion:null,DeleteTablePolicyStreamingIngestion:null,ShowPrincipalRoles:null,ShowPrincipalsResult:null,ShowClusterPrincipals:null,ShowDatabasePrincipals:null,ShowTablePrincipals:null,ShowFunctionPrincipals:null,ClusterRole:null,DatabaseRole:null,TableRole:null,FunctionRole:null,PrincipalsClause:null,PrincipalsOrNoneClause:null,AddClusterRole:null,DropClusterRole:null,SetClusterRole:null,AddDatabaseRole:null,DropDatabaseRole:null,SetDatabaseRole:null,AddTableRole:null,DropTableRole:null,SetTableRole:null,AddFunctionRole:null,DropFunctionRole:null,SetFunctionRole:null,BlockedPrincipalsResult:null,ShowClusterBlockedPrincipals:null,AddClusterBlockedPrincipals:null,DropClusterBlockedPrincipals:null,ShowCluster:null,ShowDiagnostics:null,ShowCapacity:null,ShowOperations:null,ShowOperationDetails:null,JournalResult:null,ShowJournal:null,ShowDatabaseJournal:null,ShowClusterJournal:null,QueryResults:null,ShowQueries:null,ShowRunningQueries:null,CancelQuery:null,ShowQueryPlan:null,ShowBasicAuthUsers:null,ShowCache:null},props:{All:null},ctors:{init:function(){this.ShowDatabaseResults=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid)]);this.ShowDatabaseDetailsResults=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("AuthorizedPrincipals",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RetentionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MergePolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CachingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ShardingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StreamingIngestionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IngestionBatchingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TotalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid)]);this.ShowDatabase=new Kusto.Language.Symbols.CommandSymbol.ctor("show database",Kusto.Language.Commands.ShowDatabaseResults);this.ShowDatabaseDetails=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database details","show database details",Kusto.Language.Commands.ShowDatabaseDetailsResults);this.ShowDatabaseIdentity=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database identity","show database identity",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid)]));this.ShowDatabasePolicies=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policies","show database policies",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid),new Kusto.Language.Symbols.ColumnSymbol("AuthorizedPrincipals",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RetentionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MergePolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CachingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ShardingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StreamingIngestionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IngestionBatchingPolicy",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowDatabaseDataStats=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database datastats","show database datastats",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid),new Kusto.Language.Symbols.ColumnSymbol("OriginalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("ExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("CompressedSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("IndexSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("RowCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("HotOriginalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotCompressedSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotIndexSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotRowCount",Kusto.Language.Symbols.ScalarTypes.Long)]));this.ShowClusterDatabases=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show cluster databases","show cluster databases ['(' { :DatabaseName, ',' }+ ')']",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid)]));this.ShowClusterDatabasesDetails=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster databases details",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("AuthorizedPrincipals",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RetentionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MergePolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CachingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ShardingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StreamingIngestionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IngestionBatchingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TotalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid)]));this.ShowClusterDatabasesIdentity=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster databases identity",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid)]));this.ShowClusterDatabasesPolicies=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster databases policies",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid),new Kusto.Language.Symbols.ColumnSymbol("AuthorizedPrincipals",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RetentionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MergePolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CachingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ShardingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StreamingIngestionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IngestionBatchingPolicy",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowClusterDatabasesDataStats=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster databases datastats",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentStorage",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsCurrent",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseAccessMode",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CurrentUseIsUnrestrictedViewer",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DatabaseId",Kusto.Language.Symbols.ScalarTypes.Guid),new Kusto.Language.Symbols.ColumnSymbol("OriginalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("ExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("CompressedSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("IndexSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("RowCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("HotOriginalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotCompressedSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotIndexSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotRowCount",Kusto.Language.Symbols.ScalarTypes.Long)]));this.CreateDatabasePersist=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create database persist","create database :DatabaseName persist '(' { :Container, ',' }+ ')' [ifnotexists]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentPath",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Created",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("StoresMetadata",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("StoresData",Kusto.Language.Symbols.ScalarTypes.Bool)]));this.CreateDatabaseVolatile=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create database volatile","create database :DatabaseName volatile [ifnotexists]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PersistentPath",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Created",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("StoresMetadata",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("StoresData",Kusto.Language.Symbols.ScalarTypes.Bool)]));this.AttachDatabase=new Kusto.Language.Symbols.CommandSymbol.$ctor1("attach database","attach database [metadata] :DatabaseName from (:BlobContainerUrl ';' :StorageAccountKey | :Path)",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Step",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Duration",Kusto.Language.Symbols.ScalarTypes.String)]));this.DetachDatabase=new Kusto.Language.Symbols.CommandSymbol.$ctor1("detach database","detach database :DatabaseName",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Table",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("NumberOfRemovedExtents",Kusto.Language.Symbols.ScalarTypes.String)]));this.AlterDatabasePrettyName=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database prettyname","alter database :DatabaseName prettyname :DatabasePrettyName",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String)]));this.DropDatabasePrettyName=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop database prettyname","drop database :DatabaseName prettyname",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String)]));this.AlterDatabasePersistMetadata=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database persist metadata","alter database :DatabaseName persist metadata (:BlobContainerUrl ';' :StorageAccountKey | :Path)",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Moniker",Kusto.Language.Symbols.ScalarTypes.Guid),new Kusto.Language.Symbols.ColumnSymbol("Url",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("State",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CreatedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("MaxDateTime",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("IsRecyclable",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("StoresDatabaseMetadata",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("HardDeletePeriod",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]));this.SetAccess=new Kusto.Language.Symbols.CommandSymbol.$ctor1("set access","set access :DatabaseName to (readonly | readwrite):AccessMode",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("AccessMode",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowDatabaseSchema=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database schema","show database :DatabaseName schema [details] [if_later_than :Version]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ColumnName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ColumnType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsDefaultTable",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("IsDefaultColumn",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowDatabaseSchemaAsJson=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database schema as json","show database :DatabaseName schema [if_later_than :Version] as json",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseSchema",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowDatabasesSchema=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show databases schema","show databases '(' { :DatabaseName [if_later_than :Version], ',' }+ ')' schema [details]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ColumnName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ColumnType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsDefaultTable",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("IsDefaultColumn",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("PrettyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Version",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowDatabasesSchemaAsJson=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show databases schema as json","show databases '(' { :DatabaseName [if_later_than :Version], ',' }+ ')' schema as json",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("DatabaseSchema",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowTablesResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowTablesDetailsResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TotalExtents",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("TotalExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("TotalRowCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("HotExtents",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("HotExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotOriginalSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("HotRowCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("AuthorizedPrincipals",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RetentionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("CachingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ShardingPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MergePolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StreamIngestionPolicy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MinExtentsCreationTime",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("MaxExtentsCreationTime",Kusto.Language.Symbols.ScalarTypes.DateTime)]);this.ShowTableSchemaResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Schema",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowTables=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show tables","show tables ['(' { :TableName, ',' }+ ')']",Kusto.Language.Commands.ShowTablesResult);this.ShowTablesDetails=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show tables details","show tables ['(' {
:TableName, ',' }+ ')'] details",Kusto.Language.Commands.ShowTablesDetailsResult);this.ShowTableDetails=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table details","show table
:TableName details",Kusto.Language.Commands.ShowTablesDetailsResult);this.ShowTableCslSchema=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table cslschema","show table
:TableName cslschema",Kusto.Language.Commands.ShowTableSchemaResult);this.ShowTableSchemaAsJson=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table schema as json","show table
:TableName schema as json",Kusto.Language.Commands.ShowTableSchemaResult);this.CreateTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create table","create table :TableName '(' { :ColumnName ':' :ColumnType, ',' }+ ')' [with '(' docstring '=' :Documentation [',' folder '=' :FolderName] ')']",Kusto.Language.Commands.ShowTableSchemaResult);this.CreateMergeTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create-merge table","create-merge table :TableName '(' { :ColumnName ':' :ColumnType, ',' }+ ')' [with '(' docstring '=' :Documentation [',' folder '=' :FolderName] ')']",Kusto.Language.Commands.ShowTableSchemaResult);this.CreateTables=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create tables","create tables { :TableName '(' { :ColumnName ':' :ColumnType, ',' }+ ')' [with '(' docstring '=' :Documentation [',' folder '=' :FolderName] ')'], ',' }+",Kusto.Language.Commands.ShowTableSchemaResult);this.AlterTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table","alter table
'(' { :ColumnName ':' :ColumnType, ',' }+ ')' [with '(' docstring '=' :Documentation [',' folder '=' :FolderName] ')']",Kusto.Language.Commands.ShowTableSchemaResult);this.AlterMergeTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table","alter-merge table
'(' { :ColumnName ':' :ColumnType , ',' }+ ')' [with '(' docstring '=' :Documentation [',' folder '=' :FolderName] ')']",Kusto.Language.Commands.ShowTableSchemaResult);this.AlterTableDocString=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table docstring","alter table
:TableName docstring :Documentation",Kusto.Language.Commands.ShowTablesResult);this.AlterTableFolder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table folder","alter table
:TableName folder :Folder",Kusto.Language.Commands.ShowTablesResult);this.RenameTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("rename table","rename table
:TableName to :NewTableName");this.RenameTables=new Kusto.Language.Symbols.CommandSymbol.$ctor1("rename tables","rename tables { :NewTableName '='
:TableName, ',' }+");this.DropTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop table","drop table
:TableName [ifexists]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String)]));this.UndoDropTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("undo drop table","undo drop table [as :TableName] version '=' :Version",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("ExtentId",Kusto.Language.Symbols.ScalarTypes.Guid),new Kusto.Language.Symbols.ColumnSymbol("NumberOfRecords",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Status",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("FailureReason",Kusto.Language.Symbols.ScalarTypes.String)]));this.DropTables=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop tables","drop tables '(' {
:TableName, ',' }+ ')' [ifexists]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String)]));this.TableIngestionMappingResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Name",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Kind",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Mapping",Kusto.Language.Symbols.ScalarTypes.String)]);this.CreateTableIngestionMapping=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create table ingestion mapping","create table :TableName ingestion (csv | json):MappingKind mapping :MappingName :MappingFormat",Kusto.Language.Commands.TableIngestionMappingResult);this.AlterTableIngestionMapping=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table ingestion mapping","alter table
ingestion (csv | json):MappingKind mapping :MappingName :MappingFormat",Kusto.Language.Commands.TableIngestionMappingResult);this.ShowIngestionMappings=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show ingestion mappings","show ingestion (csv | json):MappingKind mappings",Kusto.Language.Commands.TableIngestionMappingResult);this.ShowIngestionMapping=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show ingestion mapping","show ingestion (csv | json):MappingKind mapping :MappingName",Kusto.Language.Commands.TableIngestionMappingResult);this.ShowTableIngestionMappings=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table ingestion mappings","show table
:TableName ingestion (csv | json):MappingKind mappings",Kusto.Language.Commands.TableIngestionMappingResult);this.ShowTableIngestionMapping=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table ingestion mapping","show table
:TableName ingestion (csv | json):MappingKind mapping :MappingName",Kusto.Language.Commands.TableIngestionMappingResult);this.DropTableIngestionMapping=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop table ingestion mapping","drop table
:TableName ingestion (csv | json):MappingKind mapping :MappingName");this.RenameColumn=new Kusto.Language.Symbols.CommandSymbol.$ctor1("rename column","rename column :ColumnName to :NewColumnName");this.RenameColumns=new Kusto.Language.Symbols.CommandSymbol.$ctor1("rename columns","rename columns { :NewColumnName '=' :ColumnName, ',' }+");this.AlterColumnType=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter column type","alter column :ColumnName type '=' :ColumnType");this.DropColumn=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop column","drop column :ColumnName");this.DropTableColumns=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop table columns","drop table
:TableName columns '(' { :ColumnName, ',' }+ ')'");this.AlterTableColumnDocString=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table column-docstring","alter table
:TableName column-docstring '(' { :ColumnName ':' :DocString, ',' }+ ')'");this.AlterMergeTableColumnDocString=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table column-docstring","alter-merge table
:TableName column-docstring '(' { :ColumnName ':' :DocString, ',' }+ ')'");this.FunctionResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Name",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Parameters",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Body",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowFunctions=new Kusto.Language.Symbols.CommandSymbol.ctor("show functions",Kusto.Language.Commands.FunctionResult);this.ShowFunction=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show function","show function :FunctionName",Kusto.Language.Commands.FunctionResult);this.CreateFunction=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create function","create function [ifnotexists] [with '(' { :PropertyName '=' :Value, ',' }+ ')'] :FunctionName ",Kusto.Language.Commands.FunctionResult);this.AlterFunction=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter function","alter function [ifnotexists] [with '(' { :PropertyName '=' :Value, ',' }+ ')'] :FunctionName ",Kusto.Language.Commands.FunctionResult);this.CreateOrAlterFunction=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create-or-alter function","create-or-alter function [ifnotexists] [with '(' { :PropertyName '=' :Value, ',' }+ ')'] :FunctionName ",Kusto.Language.Commands.FunctionResult);this.DropFunction=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop function","drop function :FunctionName",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Name",Kusto.Language.Symbols.ScalarTypes.String)]));this.AlterFunctionDocString=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter function docstring","alter function docstring :Documentation",Kusto.Language.Commands.FunctionResult);this.AlterFunctionFolder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter function folder","alter function :FunctionName folder :Folder",Kusto.Language.Commands.FunctionResult);this.ExternalTableResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TableType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Properties",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ConnectionStrings",Kusto.Language.Symbols.ScalarTypes.Dynamic)]);this.ExternalTableSchemaResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Schema",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DatabaseName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String)]);this.ExternalTableFullResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("TableName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TableType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Folder",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DocString",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Schema",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Properties",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowExternalTables=new Kusto.Language.Symbols.CommandSymbol.ctor("show external tables",Kusto.Language.Commands.ExternalTableResult);this.ShowExternalTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show external table","show external table :TableName",Kusto.Language.Commands.ExternalTableResult);this.ShowExternalTableCslSchema=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show external table cslschema","show external table :TableName cslschema",Kusto.Language.Commands.ExternalTableSchemaResult);this.ShowExternalTableSchema=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show external table schema","show external table :TableName schema as (json | csl)",Kusto.Language.Commands.ExternalTableSchemaResult);this.DropExternalTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop external table","drop external table :TableName",Kusto.Language.Commands.ExternalTableFullResult);this.CreateExternalTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("create external table","create external table :TableName '(' { :ColumnName ':' :ColumnType, ',' }+ ')'\r\n kind '=' (blob | adl):TableKind\r\n [partition [format_datetime '=' :DateTimePartitionFormat] by bin '(' :BinColumn ',' :BinValue ')']\r\n dataformat '=' (csv | tsv | json | parquet):DataFormatKind '(' { :StorageConnectionString, ',' }+ ')'\r\n [with '(' { :PropertyName '=' :Value, ',' }+ ')']",Kusto.Language.Commands.ExternalTableFullResult);this.AlterExternalTable=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter external table","alter external table
:TableName '(' { :ColumnName ':' :ColumnType, ',' }+ ')'\r\n kind '=' (blob | adl):TableKind\r\n [partition [format_datetime '=' :DateTimePartitionFormat] by bin '(' :BinColumn ',' :BinValue ')']\r\n dataformat '=' (csv | tsv | json | parquet):DataFormatKind '(' { :StorageConnectionString, ',' }+ ')'\r\n [with '(' { :PropertyName '=' :Value, ',' }+ ')']",Kusto.Language.Commands.ExternalTableFullResult);this.PolicyResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("PolicyName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("EntityName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Policy",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ChildEntities",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.ColumnSymbol("EntityType",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowDatabasePolicyCaching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy caching","show database policy caching",Kusto.Language.Commands.PolicyResult);this.ShowTablePolicyCaching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy caching","show table policy caching",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicyCaching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy caching","alter database policy caching hot '=' :Timespan",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyCaching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy caching","alter table policy caching hot '=' :Timespan",Kusto.Language.Commands.PolicyResult);this.AlterClusterPolicyCaching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter cluster policy caching","alter cluster policy caching hot '=' :Timespan");this.DeleteTablePolicyCaching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy caching","delete table policy caching");this.ShowTablePolicyIngestionTime=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy ingestiontime","show table (
| '*'):TableName policy ingestiontime",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyIngestionTime=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy ingestiontime","alter table
:TableName policy ingestiontime true",Kusto.Language.Commands.PolicyResult);this.AlterTablesPolicyIngestionTime=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter tables policy ingestiontime","alter tables '(' {
:TableName, ',' }+ ')' policy ingestiontime true",Kusto.Language.Commands.PolicyResult);this.DeleteTablePolicyIngestionTime=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy ingestiontime","delete table
:TableName policy ingestiontime");this.ShowTablePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy retention","show table ( | '*'):TableName policy retention",Kusto.Language.Commands.PolicyResult);this.ShowDatabasePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy retention","show database ( | '*'):DatabaseName policy retention",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy retention","alter table :TableName policy retention :RetentionPolicy",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy retention","alter database :DatabaseName policy retention :RetentionPolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablesPolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter tables policy retention","alter tables '(' {
:TableName, ',' }+ ')' policy retention :RetentionPolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeTablePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table policy retention","alter-merge table :TableName policy retention (:RetentionPolicy | [softdelete '=' :SoftDeleteValue] [recoverability '=' (disabled|enabled):RecoverabilityValue])",Kusto.Language.Commands.PolicyResult);this.AlterMergeDatabasePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge database policy retention","alter-merge database :DatabaseName policy retention (:RetentionPolicy | [softdelete '=' :SoftDeleteValue] [recoverability '=' (disabled|enabled):RecoverabilityValue])",Kusto.Language.Commands.PolicyResult);this.DeleteTablePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy retention","delete table :TableName policy retention");this.DeleteDatabasePolicyRetention=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete database policy retention","delete database :DatabaseName policy retention");this.ShowTablePolicyRowOrder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy roworder","show table ( | '*'):TableName policy roworder",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyRowOrder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy roworder","alter table :TableName policy roworder '(' { :ColumnName (asc|desc), ',' }+ ')'",Kusto.Language.Commands.PolicyResult);this.AlterTablesPolicyRowOrder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter tables policy roworder","alter tables '(' {
:TableName, ',' }+ ')' policy roworder '(' { :ColumnName (asc|desc), ',' }+ ')'",Kusto.Language.Commands.PolicyResult);this.AlterMergeTablePolicyRowOrder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table policy roworder","alter-merge table :TableName policy roworder '(' { :ColumnName (asc|desc), ',' }+ ')'",Kusto.Language.Commands.PolicyResult);this.DeleteTablePolicyRowOrder=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy roworder","delete table :TableName policy roworder");this.ShowTablePolicyUpdate=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy update","show table ( | '*'):TableName policy update",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyUpdate=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy update","alter table :TableName policy update :UpdatePolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeTablePolicyUpdate=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table policy update","alter-merge table :TableName policy update :UpdatePolicy",Kusto.Language.Commands.PolicyResult);this.DeleteTablePolicyUpdate=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy update","delete table :TableName policy update");this.ShowDatabasePolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy ingestionbatching","show database :DatabaseName policy ingestionbatching",Kusto.Language.Commands.PolicyResult);this.ShowTablePolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy ingestionbatching","show table :TableName policy ingestionbatching",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy ingestionbatching","alter database :DatabaseName policy ingestionbatching :IngestionBatchingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy ingestionbatching","alter table :TableName policy ingestionbatching :IngestionBatchingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablesPolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter tables policy ingestionbatching","alter tables '(' {
:TableName, ',' }+ ')' policy ingestionbatching :IngestionBatchingPolicy",Kusto.Language.Commands.PolicyResult);this.DeleteDatabasePolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete database policy ingestionbatching","delete database :DatabaseName policy ingestionbatching");this.DeleteTablePolicyIngestionBatching=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy ingestionbatching","delete table :TableName policy ingestionbatching");this.ShowDatabasePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy encoding","show database :DatabaseName policy encoding",Kusto.Language.Commands.PolicyResult);this.ShowTablePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy encoding","show table :TableName policy encoding",Kusto.Language.Commands.PolicyResult);this.ShowColumnPolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show column policy encoding","show column :ColumnName policy encoding",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy encoding","alter database :DatabaseName policy encoding :EncodingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy encoding","alter table :TableName policy encoding :EncodingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterColumnPolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter column policy encoding","alter column :ColumnName policy encoding :EncodingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeDatabasePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge database policy encoding","alter-merge database :DatabaseName policy encoding :EncodingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeTablePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table policy encoding","alter-merge table :TableName policy encoding :EncodingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeColumnPolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge column policy encoding","alter-merge column :ColumnName policy encoding :EncodingPolicy",Kusto.Language.Commands.PolicyResult);this.DeleteDatabasePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete database policy encoding","delete database :DatabaseName policy encoding");this.DeleteTablePolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy encoding","delete table :TableName policy encoding");this.DeleteColumnPolicyEncoding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete column policy encoding","delete column :ColumnName policy encoding");this.ShowDatabasePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy merge","show database ( | '*'):DatabaseName policy merge",Kusto.Language.Commands.PolicyResult);this.ShowTablePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy merge","show table ( | '*'):TableName policy merge",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy merge","alter database :DatabaseName policy merge :MergePolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy merge","alter table :TableName policy merge :MergePolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeDatabasePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge database policy merge","alter-merge database :DatabaseName policy merge :MergePolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeTablePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table policy merge","alter-merge table :TableName policy merge :MergePolicy",Kusto.Language.Commands.PolicyResult);this.DeleteDatabasePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete database policy merge","delete database :DatabaseName policy merge");this.DeleteTablePolicyMerge=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy merge","delete table :TableName policy merge");this.ShowTablePolicyRestrictedViewAccess=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy restricted_view_access","show table ( | '*'):TableName policy restricted_view_access",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyRestrictedViewAccess=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy restricted_view_access","alter table :TableName policy restricted_view_access (true | false)",Kusto.Language.Commands.PolicyResult);this.AlterTablesPolicyRestrictedViewAccess=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter tables policy restricted_view_access","alter tables '(' {
:TableName policy, ',' }+ ')' restricted_view_access (true | false)",Kusto.Language.Commands.PolicyResult);this.DeleteTablePolicyRestrictedViewAccess=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy restricted_view_access","delete table :TableName policy restricted_view_access");this.ShowClusterPolicyRowStore=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster policy rowstore",Kusto.Language.Commands.PolicyResult);this.AlterClusterPolicyRowStore=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter cluster policy rowstore","alter cluster policy rowstore :RowStorePolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeClusterPolicyRowStore=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge cluster policy rowstore","alter-merge cluster policy rowstore :RowStorePolicy",Kusto.Language.Commands.PolicyResult);this.ShowClusterPolicySandbox=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster policy sandbox",Kusto.Language.Commands.PolicyResult);this.AlterClusterPolicySandbox=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter cluster policy sandbox","alter cluster policy sandbox :SandboxPolicy",Kusto.Language.Commands.PolicyResult);this.ShowDatabasePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy sharding","show database :DatabaseName policy sharding",Kusto.Language.Commands.PolicyResult);this.ShowTablePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy sharding","show table ( | '*'):TableName policy sharding",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy sharding","alter database :DatabaseName policy sharding :ShardingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy sharding","alter table :TableName policy sharding :ShardingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeDatabasePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge database policy sharding","alter-merge database :DatabaseName policy sharding :ShardingPolicy",Kusto.Language.Commands.PolicyResult);this.AlterMergeTablePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter-merge table policy sharding","alter-merge table :TableName policy sharding :ShardingPolicy",Kusto.Language.Commands.PolicyResult);this.DeleteDatabasePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete database policy sharding","delete database :DatabaseName policy sharding");this.DeleteTablePolicySharding=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy sharding","delete table :TableName policy sharding");this.ShowDatabasePolicyStreamingIngestion=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database policy streamingingestion","show database :DatabaseName policy streamingingestion",Kusto.Language.Commands.PolicyResult);this.ShowTablePolicyStreamingIngestion=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table policy streamingingestion","show table :TableName policy streamingingestion",Kusto.Language.Commands.PolicyResult);this.AlterDatabasePolicyStreamingIngestion=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter database policy streamingingestion","alter database :DatabaseName policy streamingingestion :StreamingIngestionPolicy",Kusto.Language.Commands.PolicyResult);this.AlterTablePolicyStreamingIngestion=new Kusto.Language.Symbols.CommandSymbol.$ctor1("alter table policy streamingingestion","alter table :TableName policy streamingingestion :StreamingIngestionPolicy",Kusto.Language.Commands.PolicyResult);this.DeleteDatabasePolicyStreamingIngestion=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete database policy streamingingestion","delete database :DatabaseName policy streamingingestion");this.DeleteTablePolicyStreamingIngestion=new Kusto.Language.Symbols.CommandSymbol.$ctor1("delete table policy streamingingestion","delete table :TableName policy streamingingestion");this.ShowPrincipalRoles=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show principal roles","show principal [:Principal] roles",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Scope",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DisplayName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("AADObjectID",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Role",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowPrincipalsResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Role",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalDisplayName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalObjectId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalFQN",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Notes",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowClusterPrincipals=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster principals",Kusto.Language.Commands.ShowPrincipalsResult);this.ShowDatabasePrincipals=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database principals",System.String.format("show database :DatabaseName principals",null),Kusto.Language.Commands.ShowPrincipalsResult);this.ShowTablePrincipals=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show table principals",System.String.format("show table :TableName principals",null),Kusto.Language.Commands.ShowPrincipalsResult);this.ShowFunctionPrincipals=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show function principals",System.String.format("show function :FunctionName principals",null),Kusto.Language.Commands.ShowPrincipalsResult);this.ClusterRole="(admins | databasecreators | users | viewers):Role";this.DatabaseRole="(admins | ingestors | monitors | unrestrictedviewers | users | viewers):Role";this.TableRole="(admins | ingestors):Role";this.FunctionRole="admins:Role";this.PrincipalsClause="'(' { :Principal, ',' }+ ')' [skip-results:SkipResults] [:Notes]";this.PrincipalsOrNoneClause=System.String.format("(none [skip-results:SkipResults] | {0})",[Kusto.Language.Commands.PrincipalsClause]);this.AddClusterRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("add cluster role",System.String.format("add cluster {0} {1}",Kusto.Language.Commands.ClusterRole,Kusto.Language.Commands.PrincipalsClause),Kusto.Language.Commands.ShowPrincipalsResult);this.DropClusterRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop cluster role",System.String.format("drop cluster {0} {1}",Kusto.Language.Commands.ClusterRole,Kusto.Language.Commands.PrincipalsClause));this.SetClusterRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("set cluster role",System.String.format("set cluster {0} {1}",Kusto.Language.Commands.ClusterRole,Kusto.Language.Commands.PrincipalsOrNoneClause),Kusto.Language.Commands.ShowPrincipalsResult);this.AddDatabaseRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("add database role",System.String.format("add database :DatabaseName {0} {1}",Kusto.Language.Commands.DatabaseRole,Kusto.Language.Commands.PrincipalsClause),Kusto.Language.Commands.ShowPrincipalsResult);this.DropDatabaseRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop database role",System.String.format("drop database :DatabaseName {0} {1}",Kusto.Language.Commands.DatabaseRole,Kusto.Language.Commands.PrincipalsClause));this.SetDatabaseRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("set database role",System.String.format("set database :DatabaseName {0} {1}",Kusto.Language.Commands.DatabaseRole,Kusto.Language.Commands.PrincipalsOrNoneClause),Kusto.Language.Commands.ShowPrincipalsResult);this.AddTableRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("add table role",System.String.format("add table
:TableName {0} {1}",Kusto.Language.Commands.TableRole,Kusto.Language.Commands.PrincipalsClause),Kusto.Language.Commands.ShowPrincipalsResult);this.DropTableRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop table role",System.String.format("drop table
:TableName {0} {1}",Kusto.Language.Commands.TableRole,Kusto.Language.Commands.PrincipalsClause));this.SetTableRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("set table role",System.String.format("set table
:TableName {0} {1}",Kusto.Language.Commands.TableRole,Kusto.Language.Commands.PrincipalsOrNoneClause),Kusto.Language.Commands.ShowPrincipalsResult);this.AddFunctionRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("add function role",System.String.format("add function :FunctionName {0} {1}",Kusto.Language.Commands.FunctionRole,Kusto.Language.Commands.PrincipalsClause),Kusto.Language.Commands.ShowPrincipalsResult);this.DropFunctionRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop function role",System.String.format("drop function :FunctionName {0} {1}",Kusto.Language.Commands.FunctionRole,Kusto.Language.Commands.PrincipalsClause));this.SetFunctionRole=new Kusto.Language.Symbols.CommandSymbol.$ctor1("set function role",System.String.format("set function :FunctionName {0} {1}",Kusto.Language.Commands.FunctionRole,Kusto.Language.Commands.PrincipalsOrNoneClause),Kusto.Language.Commands.ShowPrincipalsResult);this.BlockedPrincipalsResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("PrincipalType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalDisplayName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalObjectId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("PrincipalFQN",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Application",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("User",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("BlockedUntil",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("Reason",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowClusterBlockedPrincipals=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster blockedprincipals",Kusto.Language.Commands.BlockedPrincipalsResult);this.AddClusterBlockedPrincipals=new Kusto.Language.Symbols.CommandSymbol.$ctor1("add cluster blockedprincipals","add cluster blockedprincipals :Principal [application :AppName] [user :UserName] [period :Period] [reason :Reason]",Kusto.Language.Commands.BlockedPrincipalsResult);this.DropClusterBlockedPrincipals=new Kusto.Language.Symbols.CommandSymbol.$ctor1("drop cluster blockedprincipals","drop cluster blockedprincipals :Principal [application :AppName] [user :UserName]");this.ShowCluster=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show cluster","show cluster",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("NodeId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Address",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Name",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StartTime",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("IsAdmin",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("MachineTotalMemory",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MachineAvailableMemory",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("ProcessorCount",Kusto.Language.Symbols.ScalarTypes.Int),new Kusto.Language.Symbols.ColumnSymbol("EnvironmentDescription",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowDiagnostics=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show diagnostics","show diagnostics",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("IsHealthy",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("IsScaleOutRequired",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("MachineTotal",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MachinesOffline",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("NodeLastRestartedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("AdminLastElectedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("MemoryLoadFactor",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("ExtentsTotal",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("InstancesTargetBasedOnDataCapacity",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("TotalOriginalDataSize",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("IngestionsLoadFactor",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("IngestionsInProgress",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("IngestionsSuccessRate",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("MergesInProgress",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("BuildVersion",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("BuildTime",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("ClusterDataCapacityFactor",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("IsDataWarmingRequired",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("DataWarmingLastRunOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("MergesSuccessRate",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("NotHealthyReason",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("IsAttentionRequired",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.ColumnSymbol("AttentionRequiredReason",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ProductVersion",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("FaliedIngestOperations",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("FailedMergeOperations",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MaxExtentsInSingleTable",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("TableWithMaxExtents",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("WarmExtentSize",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("NumberOfDatabases",Kusto.Language.Symbols.ScalarTypes.Int)]));this.ShowCapacity=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show capacity","show capacity",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Resource",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Total",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Consumed",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Remaining",Kusto.Language.Symbols.ScalarTypes.Long)]));this.ShowOperations=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show operations","show operations [(:OperationId | '(' { :OperationId, ',' }+ ')')]",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Id",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Operation",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("NodeId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StartedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("LastUpdatedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("Duration",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("State",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Status",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowOperationDetails=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show operation details","show operation :OperationId details",(new Kusto.Language.Symbols.TableSymbol.ctor).Open());this.JournalResult=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Event",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("EventTimestamp",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("Database",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("EntityName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("UpdatedEntityName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("EntityVersion",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("EntityContainerName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("OriginalEntityState",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("UpdatedEntityState",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ChangeCommand",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Principal",Kusto.Language.Symbols.ScalarTypes.String)]);this.ShowJournal=new Kusto.Language.Symbols.CommandSymbol.ctor("show journal",Kusto.Language.Commands.JournalResult);this.ShowDatabaseJournal=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show database journal","show database :DatabaseName journal",Kusto.Language.Commands.JournalResult);this.ShowClusterJournal=new Kusto.Language.Symbols.CommandSymbol.ctor("show cluster journal",Kusto.Language.Commands.JournalResult);this.QueryResults=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("ClientActivityId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Text",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Database",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("StartedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("LastUpdatedOn",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.ColumnSymbol("Duration",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.ColumnSymbol("State",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RootActivityId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("User",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("FailureReason",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TotalCpu",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.ColumnSymbol("CacheStatistics",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.ColumnSymbol("Application",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("MemoryPeak",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("ScannedExtentsStatistics",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.ColumnSymbol("Principal",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ClientRequestProperties",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.ColumnSymbol("ResultSetStatistics",Kusto.Language.Symbols.ScalarTypes.Dynamic)]);this.ShowQueries=new Kusto.Language.Symbols.CommandSymbol.ctor("show queries",Kusto.Language.Commands.QueryResults);this.ShowRunningQueries=new Kusto.Language.Symbols.CommandSymbol.$ctor1("show running queries","show running queries [by (user :UserName | '*')]",Kusto.Language.Commands.QueryResults);this.CancelQuery=new Kusto.Language.Symbols.CommandSymbol.$ctor1("cancel query","cancel query :ClientRequestId");this.ShowQueryPlan=new Kusto.Language.Symbols.CommandSymbol.ctor("show queryplan",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("ResultType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("RelopTree",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("QueryPlan",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Stat",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowBasicAuthUsers=new Kusto.Language.Symbols.CommandSymbol.ctor("show basicauth users",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("UserName",Kusto.Language.Symbols.ScalarTypes.String)]));this.ShowCache=new Kusto.Language.Symbols.CommandSymbol.ctor("show cache",new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("NodeId",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("TotalMemoryCapacity",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MemoryCacheCapacity",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MemoryCacheInUse",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MemoryCacheHitCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("TotalDiskCapacity",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("DiskCacheCapacity",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("DiskCacheInUse",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("DiskCacheHitCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("DiskCacheMissCount",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("MemoryCacheDetails",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("DiskCacheDetails",Kusto.Language.Symbols.ScalarTypes.String)]));this.All=System.Array.init([Kusto.Language.Commands.ShowDatabase,Kusto.Language.Commands.ShowDatabaseDetails,Kusto.Language.Commands.ShowDatabaseIdentity,Kusto.Language.Commands.ShowDatabasePolicies,Kusto.Language.Commands.ShowClusterDatabases,Kusto.Language.Commands.ShowClusterDatabasesDetails,Kusto.Language.Commands.ShowClusterDatabasesIdentity,Kusto.Language.Commands.ShowClusterDatabasesPolicies,Kusto.Language.Commands.ShowClusterDatabasesDataStats,Kusto.Language.Commands.CreateDatabasePersist,Kusto.Language.Commands.CreateDatabaseVolatile,Kusto.Language.Commands.AttachDatabase,Kusto.Language.Commands.DetachDatabase,Kusto.Language.Commands.AlterDatabasePrettyName,Kusto.Language.Commands.DropDatabasePrettyName,Kusto.Language.Commands.AlterDatabasePersistMetadata,Kusto.Language.Commands.SetAccess,Kusto.Language.Commands.ShowDatabaseSchema,Kusto.Language.Commands.ShowDatabaseSchemaAsJson,Kusto.Language.Commands.ShowDatabasesSchema,Kusto.Language.Commands.ShowDatabasesSchemaAsJson,Kusto.Language.Commands.ShowTables,Kusto.Language.Commands.ShowTablesDetails,Kusto.Language.Commands.ShowTableDetails,Kusto.Language.Commands.ShowTableCslSchema,Kusto.Language.Commands.ShowTableSchemaAsJson,Kusto.Language.Commands.CreateTable,Kusto.Language.Commands.CreateMergeTable,Kusto.Language.Commands.CreateTables,Kusto.Language.Commands.AlterTable,Kusto.Language.Commands.AlterMergeTable,Kusto.Language.Commands.RenameTable,Kusto.Language.Commands.RenameTables,Kusto.Language.Commands.DropTable,Kusto.Language.Commands.UndoDropTable,Kusto.Language.Commands.DropTables,Kusto.Language.Commands.CreateTableIngestionMapping,Kusto.Language.Commands.AlterTableIngestionMapping,Kusto.Language.Commands.ShowIngestionMappings,Kusto.Language.Commands.ShowIngestionMapping,Kusto.Language.Commands.ShowTableIngestionMappings,Kusto.Language.Commands.ShowTableIngestionMapping,Kusto.Language.Commands.DropTableIngestionMapping,Kusto.Language.Commands.AlterTableDocString,Kusto.Language.Commands.AlterTableFolder,Kusto.Language.Commands.RenameColumn,Kusto.Language.Commands.RenameColumns,Kusto.Language.Commands.AlterColumnType,Kusto.Language.Commands.DropColumn,Kusto.Language.Commands.DropTableColumns,Kusto.Language.Commands.AlterTableColumnDocString,Kusto.Language.Commands.AlterMergeTableColumnDocString,Kusto.Language.Commands.ShowFunctions,Kusto.Language.Commands.ShowFunction,Kusto.Language.Commands.DropFunction,Kusto.Language.Commands.AlterFunctionDocString,Kusto.Language.Commands.AlterFunctionFolder,Kusto.Language.Commands.CreateFunction,Kusto.Language.Commands.AlterFunction,Kusto.Language.Commands.CreateOrAlterFunction,Kusto.Language.Commands.ShowExternalTables,Kusto.Language.Commands.ShowExternalTable,Kusto.Language.Commands.ShowExternalTableCslSchema,Kusto.Language.Commands.ShowExternalTableSchema,Kusto.Language.Commands.DropExternalTable,Kusto.Language.Commands.CreateExternalTable,Kusto.Language.Commands.AlterExternalTable,Kusto.Language.Commands.ShowDatabasePolicyCaching,Kusto.Language.Commands.AlterDatabasePolicyCaching,Kusto.Language.Commands.ShowTablePolicyCaching,Kusto.Language.Commands.AlterTablePolicyCaching,Kusto.Language.Commands.AlterClusterPolicyCaching,Kusto.Language.Commands.DeleteTablePolicyCaching,Kusto.Language.Commands.AlterTablePolicyIngestionTime,Kusto.Language.Commands.AlterTablesPolicyIngestionTime,Kusto.Language.Commands.ShowTablePolicyIngestionTime,Kusto.Language.Commands.DeleteTablePolicyIngestionTime,Kusto.Language.Commands.ShowTablePolicyRetention,Kusto.Language.Commands.ShowDatabasePolicyRetention,Kusto.Language.Commands.DeleteTablePolicyRetention,Kusto.Language.Commands.DeleteDatabasePolicyRetention,Kusto.Language.Commands.AlterTablePolicyRetention,Kusto.Language.Commands.AlterTablesPolicyRetention,Kusto.Language.Commands.AlterDatabasePolicyRetention,Kusto.Language.Commands.AlterMergeTablePolicyRetention,Kusto.Language.Commands.AlterMergeDatabasePolicyRetention,Kusto.Language.Commands.ShowTablePolicyRowOrder,Kusto.Language.Commands.DeleteTablePolicyRowOrder,Kusto.Language.Commands.AlterTablePolicyRowOrder,Kusto.Language.Commands.AlterTablesPolicyRowOrder,Kusto.Language.Commands.AlterMergeTablePolicyRowOrder,Kusto.Language.Commands.ShowTablePolicyUpdate,Kusto.Language.Commands.AlterTablePolicyUpdate,Kusto.Language.Commands.AlterMergeTablePolicyUpdate,Kusto.Language.Commands.DeleteTablePolicyUpdate,Kusto.Language.Commands.ShowDatabasePolicyIngestionBatching,Kusto.Language.Commands.ShowTablePolicyIngestionBatching,Kusto.Language.Commands.AlterDatabasePolicyIngestionBatching,Kusto.Language.Commands.AlterTablePolicyIngestionBatching,Kusto.Language.Commands.AlterTablesPolicyIngestionBatching,Kusto.Language.Commands.DeleteDatabasePolicyIngestionBatching,Kusto.Language.Commands.DeleteTablePolicyIngestionBatching,Kusto.Language.Commands.ShowDatabasePolicyEncoding,Kusto.Language.Commands.ShowTablePolicyEncoding,Kusto.Language.Commands.ShowColumnPolicyEncoding,Kusto.Language.Commands.AlterDatabasePolicyEncoding,Kusto.Language.Commands.AlterTablePolicyEncoding,Kusto.Language.Commands.AlterColumnPolicyEncoding,Kusto.Language.Commands.AlterMergeDatabasePolicyEncoding,Kusto.Language.Commands.AlterMergeTablePolicyEncoding,Kusto.Language.Commands.AlterMergeColumnPolicyEncoding,Kusto.Language.Commands.DeleteDatabasePolicyEncoding,Kusto.Language.Commands.DeleteTablePolicyEncoding,Kusto.Language.Commands.DeleteColumnPolicyEncoding,Kusto.Language.Commands.ShowDatabasePolicyMerge,Kusto.Language.Commands.ShowTablePolicyMerge,Kusto.Language.Commands.AlterDatabasePolicyMerge,Kusto.Language.Commands.AlterTablePolicyMerge,Kusto.Language.Commands.AlterMergeDatabasePolicyMerge,Kusto.Language.Commands.AlterMergeTablePolicyMerge,Kusto.Language.Commands.DeleteDatabasePolicyMerge,Kusto.Language.Commands.DeleteTablePolicyMerge,Kusto.Language.Commands.ShowTablePolicyRestrictedViewAccess,Kusto.Language.Commands.AlterTablePolicyRestrictedViewAccess,Kusto.Language.Commands.AlterTablesPolicyRestrictedViewAccess,Kusto.Language.Commands.DeleteTablePolicyRestrictedViewAccess,Kusto.Language.Commands.ShowClusterPolicyRowStore,Kusto.Language.Commands.AlterClusterPolicyRowStore,Kusto.Language.Commands.AlterMergeClusterPolicyRowStore,Kusto.Language.Commands.ShowClusterPolicySandbox,Kusto.Language.Commands.AlterClusterPolicySandbox,Kusto.Language.Commands.ShowDatabasePolicySharding,Kusto.Language.Commands.ShowTablePolicySharding,Kusto.Language.Commands.AlterDatabasePolicySharding,Kusto.Language.Commands.AlterTablePolicySharding,Kusto.Language.Commands.AlterMergeDatabasePolicySharding,Kusto.Language.Commands.AlterMergeTablePolicySharding,Kusto.Language.Commands.DeleteDatabasePolicySharding,Kusto.Language.Commands.DeleteTablePolicySharding,Kusto.Language.Commands.ShowDatabasePolicyStreamingIngestion,Kusto.Language.Commands.ShowTablePolicyStreamingIngestion,Kusto.Language.Commands.AlterDatabasePolicyStreamingIngestion,Kusto.Language.Commands.AlterTablePolicyStreamingIngestion,Kusto.Language.Commands.DeleteDatabasePolicyStreamingIngestion,Kusto.Language.Commands.DeleteTablePolicyStreamingIngestion,Kusto.Language.Commands.ShowPrincipalRoles,Kusto.Language.Commands.ShowClusterPrincipals,Kusto.Language.Commands.ShowDatabasePrincipals,Kusto.Language.Commands.ShowTablePrincipals,Kusto.Language.Commands.ShowFunctionPrincipals,Kusto.Language.Commands.AddClusterRole,Kusto.Language.Commands.DropClusterRole,Kusto.Language.Commands.SetClusterRole,Kusto.Language.Commands.AddDatabaseRole,Kusto.Language.Commands.DropDatabaseRole,Kusto.Language.Commands.SetDatabaseRole,Kusto.Language.Commands.AddTableRole,Kusto.Language.Commands.DropTableRole,Kusto.Language.Commands.SetTableRole,Kusto.Language.Commands.AddFunctionRole,Kusto.Language.Commands.DropFunctionRole,Kusto.Language.Commands.SetFunctionRole,Kusto.Language.Commands.ShowClusterBlockedPrincipals,Kusto.Language.Commands.AddClusterBlockedPrincipals,Kusto.Language.Commands.DropClusterBlockedPrincipals,Kusto.Language.Commands.ShowCluster,Kusto.Language.Commands.ShowDiagnostics,Kusto.Language.Commands.ShowCapacity,Kusto.Language.Commands.ShowOperations,Kusto.Language.Commands.ShowOperationDetails,Kusto.Language.Commands.ShowJournal,Kusto.Language.Commands.ShowDatabaseJournal,Kusto.Language.Commands.ShowClusterJournal,Kusto.Language.Commands.ShowQueries,Kusto.Language.Commands.ShowRunningQueries,Kusto.Language.Commands.CancelQuery,Kusto.Language.Commands.ShowQueryPlan,Kusto.Language.Commands.ShowBasicAuthUsers,Kusto.Language.Commands.ShowCache],Kusto.Language.Symbols.CommandSymbol)}}}});Bridge.define("Kusto.Language.Diagnostic",{statics:{fields:{NoDiagnostics:null},ctors:{init:function(){this.NoDiagnostics=System.Array.init(0,null,Kusto.Language.Diagnostic)}}},fields:{start:0,length:0},props:{Message:null,HasLocation:{get:function(){return this.length>0}},Start:{get:function(){return this.start}},Length:{get:function(){return this.length}},End:{get:function(){return this.Start+this.Length|0}}},ctors:{ctor:function(message){Kusto.Language.Diagnostic.$ctor1.call(this,message,0,0)},$ctor1:function(message,start,length){this.$initialize();this.Message=message;this.start=start;this.length=length}},methods:{WithLocation:function(location){return new Kusto.Language.Diagnostic.$ctor1(this.Message,location.TextStart,location.Width)},WithLocation$1:function(start,length){return new Kusto.Language.Diagnostic.$ctor1(this.Message,start,length)}}});Bridge.define("Kusto.Language.DiagnosticFacts",{statics:{methods:{GetMissingCharacter:function(ch){return new Kusto.Language.Diagnostic.ctor(System.String.format("Missing '{0}'",[Bridge.box(ch,System.Char,String.fromCharCode,System.Char.getHashCode)]))},GetUnexpectedCharacter:function(text){return new Kusto.Language.Diagnostic.ctor(System.String.format("Unexpected '{0}'",[text]))},GetMalformedToken:function(term){return new Kusto.Language.Diagnostic.ctor(System.String.format("Malformed {0}",[term]))},GetMalformedLiteral:function(){return new Kusto.Language.Diagnostic.ctor("Malformed literal")},GetTokenExpected:function(kinds){return kinds===void 0&&(kinds=[]),Kusto.Language.DiagnosticFacts.GetTokenExpected$1(Bridge.cast(kinds,System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Syntax.SyntaxKind)))},GetTokenExpected$1:function(kinds){var list=Kusto.Language.Utils.ListExtensions.Join(System.Linq.Enumerable.from(kinds).select(function(k){return Kusto.Language.Syntax.SyntaxFacts.GetText(k)}).toList(System.String),", "," or ");return new Kusto.Language.Diagnostic.ctor(System.String.format("Expected {0}",[list]))},GetTokenExpected$2:function(texts){var list=Kusto.Language.Utils.ListExtensions.Join(texts,", "," or ");return new Kusto.Language.Diagnostic.ctor(System.String.format("Expected {0}",[list]))},GetTokenExpected$3:function(tokens){return tokens===void 0&&(tokens=[]),Kusto.Language.DiagnosticFacts.GetTokenExpected$2(Bridge.cast(tokens,System.Collections.Generic.IReadOnlyList$1(System.String)))},GetMissingElement:function(term){return new Kusto.Language.Diagnostic.ctor(System.String.format("Missing {0}",[term]))},GetMissingName:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("name")},GetMissingValue:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("value")},GetMissingExpression:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("expression")},GetMissingNumber:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("number")},GetMissingString:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("string")},GetMissingBoolean:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("boolean")},GetMissingTypeOfLiteral:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("typeof")},GetMissingFunctionCall:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("function call")},GetMissingFunctionDeclaration:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("function declaration")},GetMissingTypeName:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("type name")},GetMissingParameter:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("parameter")},GetMissingFirstOrLast:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("first or last")},GetMissingJsonValue:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("json value")},GetMissingJoinOnClause:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("join on condition clause")},GetMissingJsonPair:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("json key:value pair")},GetMissingStatement:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("statement")},GetMissingPatternMatch:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("pattern match clause")},GetMissingClause:function(){return Kusto.Language.DiagnosticFacts.GetMissingElement("clause")},GetParsePatternMustStartWithColumnNameOrStar:function(){return new Kusto.Language.Diagnostic.ctor("The pattern must start with a column name or *")},GetParsePatternNameDoesNotFollowStringLiteral:function(){return new Kusto.Language.Diagnostic.ctor("The column name must follow a string literal")},GetParsePatternStringLiteralMustFollowStar:function(){return new Kusto.Language.Diagnostic.ctor("A string literal must follow a *")},GetParsePatternUsingStarAfterStringColumnIsAmbiguous:function(){return new Kusto.Language.Diagnostic.ctor("Using * after parsing a string column is abmiguous.")},GetInvalidPatternPart:function(){return new Kusto.Language.Diagnostic.ctor("Invalid pattern part.")},GetIdentifierNameOnly:function(){return new Kusto.Language.Diagnostic.ctor("The name must be a single identifier only.")},GetOperatorNotDefined:function(name,argumentTypes){return argumentTypes===void 0&&(argumentTypes=[]),Kusto.Language.DiagnosticFacts.GetOperatorNotDefined$1(name,Bridge.cast(argumentTypes,System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.TypeSymbol)))},GetOperatorNotDefined$1:function(name,argumentTypes){if(System.Array.getCount(argumentTypes,Kusto.Language.Symbols.TypeSymbol)===1)return new Kusto.Language.Diagnostic.ctor(System.String.format("The operator '{0}' is not defined for the operand type {1}.",name,System.Array.getItem(argumentTypes,0,Kusto.Language.Symbols.TypeSymbol).Name));var list=Kusto.Language.Utils.ListExtensions.Join(System.Linq.Enumerable.from(argumentTypes).select(function(t){return t.Name}).toList(System.String),", "," and ");return new Kusto.Language.Diagnostic.ctor(System.String.format("The operator '{0}' is not defined for the operand types {1}.",name,list))},GetTypeExpected:function(type){return new Kusto.Language.Diagnostic.ctor(System.String.format("A value of type '{0}' expected.",[type.Name]))},GetTypeExpected$1:function(types){if(System.Array.getCount(types,Kusto.Language.Symbols.TypeSymbol)===0)return Kusto.Language.DiagnosticFacts.GetTypeExpected(System.Array.getItem(types,0,Kusto.Language.Symbols.TypeSymbol));var list=Kusto.Language.Utils.ListExtensions.Join(System.Linq.Enumerable.from(types).select(function(t){return"'"+(t.Name||"")+"'"}).toList(System.String),", "," or ");return new Kusto.Language.Diagnostic.ctor(System.String.format("A value of type {0} expected.",[list]))},GetScalarTypeExpected:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("Scalar value expected.",null))},GetColumnExpected:function(){return new Kusto.Language.Diagnostic.ctor("Column name expected.")},GetRenameAssignmentExpected:function(){return new Kusto.Language.Diagnostic.ctor("Column rename assignment expected.")},GetTableExpected:function(){return new Kusto.Language.Diagnostic.ctor("Table expected.")},GetTableOrScalarExpected:function(){return new Kusto.Language.Diagnostic.ctor("A table or scalar value expected.")},GetSingleColumnTableExpected:function(){return new Kusto.Language.Diagnostic.ctor("A table with only one column expected.")},GetDatabaseExpected:function(){return new Kusto.Language.Diagnostic.ctor("Database expected.")},GetClusterExpected:function(){return new Kusto.Language.Diagnostic.ctor("Cluster expected.")},GetTypeNotAllowed:function(type){return new Kusto.Language.Diagnostic.ctor(System.String.format("The value of type '{0}' is not allowed in this context.",[type.Name]))},GetFunctionRequiresArgumentList:function(functionName){return new Kusto.Language.Diagnostic.ctor(System.String.format("The function '{0}' requires an argument list.",[functionName]))},GetArgumentCountExpected:function(count){return count===0?new Kusto.Language.Diagnostic.ctor(System.String.format("No arguments expected.",null)):count===1?new Kusto.Language.Diagnostic.ctor(System.String.format("1 argument expected.",null)):new Kusto.Language.Diagnostic.ctor(System.String.format("{0} arguments expected.",[Bridge.box(count,System.Int32)]))},GetFunctionExpectsArgumentCountExact:function(functionName,count){return count===0?new Kusto.Language.Diagnostic.ctor(System.String.format("The function '{0}' expects no arguments.",[functionName])):count===1?new Kusto.Language.Diagnostic.ctor(System.String.format("The function '{0}' expects 1 argument.",[functionName])):new Kusto.Language.Diagnostic.ctor(System.String.format("The function '{0}' expects {1} arguments.",functionName,Bridge.box(count,System.Int32)))},GetFunctionExpectsArgumentCountRange:function(functionName,min,max){return min===max?Kusto.Language.DiagnosticFacts.GetFunctionExpectsArgumentCountExact(functionName,min):new Kusto.Language.Diagnostic.ctor(System.String.format("The function '{0}' expects between {1} and {2} arguments.",functionName,Bridge.box(min,System.Int32),Bridge.box(max,System.Int32)))},GetFunctionHasIncorrectNumberOfArguments:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("The function call has an incorrect number of arguments.",null))},GetScalarFunctionNotDefined:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The scalar function '{0}' is not defined.",[name]))},GetAggregateFunctionNotDefined:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The aggregate function '{0}' is not defined.",[name]))},GetPlugInFunctionNotDefined:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The plug-in function '{0}' is not defined.",[name]))},GetFunctionNotDefinedWithMatchingParameters:function(name,argumentTypes){var types=Bridge.toArray(System.Linq.Enumerable.from(argumentTypes).select(function(p){return p.Name})).join(", ");return new Kusto.Language.Diagnostic.ctor(System.String.format("The function '{0}' is not compatible with arguments ({1})",name,types))},GetNameIsNotAFunction:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The name '{0}' does not refer to a function.",[name]))},GetExpressionMustBeConstant:function(){return new Kusto.Language.Diagnostic.ctor("The expression must be a constant.")},GetExpressionMustBeConstantOrIdentifier:function(){return new Kusto.Language.Diagnostic.ctor("The expression must be a constant or identifier.")},GetExpressionMustBeLiteral:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression must be a literal.",null))},GetExpressionMustBeLiteralScalarValue:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression must be a literal scalar value.",null))},GetExpressionMustNotBeEmpty:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression value must not be empty.",null))},GetExpressionMustBeInteger:function(){return new Kusto.Language.Diagnostic.ctor("The expression value must be an integer.")},GetExpressionMustBeRealOrDecimal:function(){return new Kusto.Language.Diagnostic.ctor("The expression value must be an real or decimal number.")},GetExpressionMustBeIntegerOrDynamic:function(){return new Kusto.Language.Diagnostic.ctor("The expression value must be an integer or dynamic.")},GetExpressionMustBeNumeric:function(){return new Kusto.Language.Diagnostic.ctor("The expression value must be a number.")},GetExpressionMustBeSummable:function(){return new Kusto.Language.Diagnostic.ctor("The argument value must be a number, timespan or datetime.")},GetMultiValuedExpressionCannotBeAssignedToVariable:function(){return new Kusto.Language.Diagnostic.ctor("The multi-valued expression cannot be assigned to a variable.")},GetExpressionMustHaveValue$1:function(T,values){if(System.Array.getCount(values,T)===1)return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression must be the value: {0}",[System.Array.getItem(values,0,T)]));var list=Kusto.Language.Utils.ListExtensions.Join(System.Linq.Enumerable.from(values).select(function(v){return Bridge.toString(v)}).toList(System.String),", "," or ");return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression must be one of the values: {0}",[list]))},GetExpressionMustHaveValue:function(T,values){return values===void 0&&(values=[]),Kusto.Language.DiagnosticFacts.GetExpressionMustHaveValue$1(T,Bridge.cast(values,System.Collections.Generic.IReadOnlyList$1(T)))},GetExpressionMustHaveType$1:function(types){if(System.Array.getCount(types,Kusto.Language.Symbols.Symbol)===1)return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression must have the type {0}.",[System.Array.getItem(types,0,Kusto.Language.Symbols.Symbol).Name]));var list=Kusto.Language.Utils.ListExtensions.Join(System.Linq.Enumerable.from(types).select(function(s){return s.Name}).toList(System.String),", "," or ");return new Kusto.Language.Diagnostic.ctor(System.String.format("The expression must have one of the types: {0}.",[list]))},GetExpressionMustHaveType:function(types){return types===void 0&&(types=[]),Kusto.Language.DiagnosticFacts.GetExpressionMustHaveType$1(Bridge.cast(types,System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.Symbol)))},GetNameDoesNotReferToAnyKnownItem:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The name '{0}' does not refer to any known column, table, variable or function.",[name]))},GetNameDoesNotReferToAnyKnownFunction:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The name '{0}' does not refer to any known function.",[name]))},GetAggregateNotAllowedInThisContext:function(){return new Kusto.Language.Diagnostic.ctor("The aggregate function '{name}' is not allowed in this context.")},GetColumnMustExistOnBothSidesOfJoin:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The column '{0}' must exist on both sides of the join.",[name]))},GetNameRefersToMoreThanOneItem:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The name '{0}' refers to more than one column or variable",[name]))},GetTheElementAccessOperatorIsNotAllowedInThisContext:function(){return new Kusto.Language.Diagnostic.ctor("The element access operator [] is not allowed in this context.")},GetTheExpressionHasNoName:function(){return new Kusto.Language.Diagnostic.ctor("A column name cannot be inferred for this expression.")},GetTheExpressionDoesNotHaveMultipleValues:function(){return new Kusto.Language.Diagnostic.ctor("The expression does not have multiple named values.")},GetTheNameDoesNotHaveCorrespondingExpression:function(){return new Kusto.Language.Diagnostic.ctor("The name does not have a corresponding expression.")},GetInvalidTypeName:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The name '{0}' is not a valid type name.",[name]))},GetInvalidColumnDeclaration:function(){return new Kusto.Language.Diagnostic.ctor("The syntax is not a valid column declaration.")},GetDuplicateColumnDeclaration:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("A column with the name '{0}' is already declared.",[name]))},GetInvalidTypeExpression:function(){return new Kusto.Language.Diagnostic.ctor("The syntax is not a valid type expression.")},GetIncorrectNumberOfDataValues:function(multiple){return new Kusto.Language.Diagnostic.ctor(System.String.format("Incorrect number of data values. The values should appear in multiples of {0}.",[Bridge.box(multiple,System.Int32)]))},GetQueryOperatorCannotBeFirst:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("The operator cannot be the first operator in a query.",null))},GetQueryOperatorMustBeFirst:function(){return new Kusto.Language.Diagnostic.ctor("The operator must be the first operator in the query.")},GetQueryOperatorExpected:function(){return new Kusto.Language.Diagnostic.ctor("Query operator expected.")},GetTypeIsNotIntervalType:function(intervalType,rangeType){return new Kusto.Language.Diagnostic.ctor(System.String.format("The type '{0}' is not an appropriate interval type for '{1}'",intervalType.Name,rangeType.Name))},GetUnknownParameterName:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The '{0}' is not a recognized parameter.",[name]))},GetParameterAlreadySpecified:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The parameter '{0}' is already specified.",[name]))},GetNameDoesNotReferToTable:function(name){return new Kusto.Language.Diagnostic.ctor(System.String.format("The name '{0}' does not refer to a table.",[name]))},GetInvalidJoinCondition:function(){return new Kusto.Language.Diagnostic.ctor("The join condition must be either the name of a column common to both tables or in the form $left. == $right..")},GetInvalidJoinConditionOperand:function(prefix){return new Kusto.Language.Diagnostic.ctor(System.String.format("The join condition operand must be: {0}.",[prefix]))},GetTheExpressionRefersToMoreThanOneColumn:function(){return new Kusto.Language.Diagnostic.ctor("The expression refers to more than one column.")},GetPackMustBeLastItemInList:function(){return new Kusto.Language.Diagnostic.ctor("The pack(*) expression must be the last item in the list.")},GetValueCountMustEqualParameterCount:function(){return new Kusto.Language.Diagnostic.ctor("The number of values must equal the number of parameters.")},GetPathValueWithNoPathParameter:function(){return new Kusto.Language.Diagnostic.ctor("A path value can only be specified when a path name is part of the declaration.")},GetPathValueExpected:function(){return new Kusto.Language.Diagnostic.ctor("A path value is expected.")},GetNoPatternMatchesArguments:function(){return new Kusto.Language.Diagnostic.ctor("No pattern matches the specified arguments.")},GetDefaultValueExpected:function(){return new Kusto.Language.Diagnostic.ctor("Default value expected.")},GetTableHasNoColumns:function(){return new Kusto.Language.Diagnostic.ctor("The table has no columns")},GetStarExpressionNotAllowed:function(){return new Kusto.Language.Diagnostic.ctor("The * syntax is not allowed here.")},GetStarExpressionMustBeLastArgument:function(){return new Kusto.Language.Diagnostic.ctor("The * syntax must be the last argument.")},GetNamedArgumentsNotSupported:function(){return new Kusto.Language.Diagnostic.ctor("Named arguments are not supported for this function.")},GetCompoundNamedArgumentsNotSupported:function(){return new Kusto.Language.Diagnostic.ctor("Compound named arguments are not supported.")},GetUnnamedArgumentAfterOutofOrderNamedArgument:function(){return new Kusto.Language.Diagnostic.ctor("All arguments after an unordered named argument must be named.")},GetUnknownArgumentName:function(){return new Kusto.Language.Diagnostic.ctor(System.String.format("The argument name does not refer to a declared parameter.",null))},GetMissingArgumentForParameter:function(parameterName){return new Kusto.Language.Diagnostic.ctor(System.String.format("The argument for parameter '{0}' is missing.",[parameterName]))},GetIncompleteFragment:function(){return new Kusto.Language.Diagnostic.ctor("The incomplete fragment is unexpected.")},GetNoColumnsInScope:function(){return new Kusto.Language.Diagnostic.ctor("No columns are currently in scope.")},GetErrorInExpansion:function(name,errors){return new Kusto.Language.Diagnostic.ctor(System.String.format("Failure in expansion of '{0}': {1}",name,errors))},GetMissingCommand:function(){return new Kusto.Language.Diagnostic.ctor("Missing command.")}}}});Bridge.define("Kusto.Language.Editor.BrackettingStyle",{$kind:"enum",statics:{fields:{None:0,Vertical:1,Diagonal:2}}});Bridge.define("Kusto.Language.Editor.ClassificationInfo",{statics:{fields:{Empty:null},ctors:{init:function(){this.Empty=new Kusto.Language.Editor.ClassificationInfo(null)}}},props:{Classifications:null},ctors:{ctor:function(classifications){this.$initialize();this.Classifications=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.ClassifiedRange,classifications)}}});Bridge.define("Kusto.Language.Editor.ClassificationKind",{$kind:"enum",statics:{fields:{PlainText:0,Comment:1,Punctuation:2,Directive:3,Literal:4,StringLiteral:5,Type:6,Column:7,Table:8,Database:9,Function:10,Parameter:11,Variable:12,Identifier:13,ClientParameter:14,QueryParameter:15,ScalarOperator:16,MathOperator:17,QueryOperator:18,Command:19,Keyword:20}}});Bridge.define("Kusto.Language.Editor.ClassifiedRange",{props:{Kind:0,Start:0,Length:0,End:{get:function(){return this.Start+this.Length|0}}},ctors:{ctor:function(kind,start,length){this.$initialize();this.Kind=kind;this.Start=start;this.Length=length}}});Bridge.define("Kusto.Language.Editor.TextRange",{props:{Start:0,Length:0,End:{get:function(){return this.Start+this.Length|0}}},ctors:{ctor:function(start,length){this.$initialize();this.Start=start;this.Length=length}}});Bridge.define("Kusto.Language.Editor.CodeBlock",{fields:{_codeService:null},props:{Text:{get:function(){return this._codeService.Text}},Start:0,Length:{get:function(){return this.Text.length}},End:{get:function(){return this.Start+this.Length|0}},Kind:{get:function(){return this._codeService.Kind}},Service:{get:function(){return this._codeService}}},ctors:{ctor:function(start,codeService){this.$initialize();this.Start=start;var ols;this._codeService=(ols=Bridge.as(codeService,Kusto.Language.Editor.OffsetCodeService))!=null?ols.WithOffset(start):new Kusto.Language.Editor.OffsetCodeService(codeService,start)}},methods:{WithStart:function(start){return new Kusto.Language.Editor.CodeBlock(start,this.Service)}}});Bridge.define("Kusto.Language.Editor.CodeKinds",{statics:{fields:{Query:null,Command:null,Directive:null,Unknown:null},ctors:{init:function(){this.Query="Query";this.Command="Command";this.Directive="Directive";this.Unknown="Unknown"}}}});Bridge.define("Kusto.Language.Editor.CodeScript",{statics:{methods:{From:function(text,factory){var $t;return Kusto.Language.Editor.CodeScript.CreateScript(($t=text,$t!=null?$t:""),factory)},From$1:function(text,globals){return Kusto.Language.Editor.CodeScript.From(text,new Kusto.Language.Editor.KustoCodeServiceFactory(globals))},CreateScript:function(text,factory,existingBlocks){var lineStarts,blockStarts,existingBlockMap,blocks,i,blockText,service;for(existingBlocks===void 0&&(existingBlocks=null),lineStarts=new(System.Collections.Generic.List$1(System.Int32).ctor),blockStarts=new(System.Collections.Generic.List$1(System.Int32).ctor),Kusto.Language.Editor.CodeScript.GetStarts(text,lineStarts,blockStarts),existingBlockMap=existingBlocks!=null?Kusto.Language.Utils.TextKeyedDictionaryExtensions.ToTextKeyedDictionary(Bridge.global.Kusto.Language.Editor.CodeBlock,Bridge.global.Kusto.Language.Editor.CodeBlock,existingBlocks,function(b){return b.Text},function(b){return b}):null,blocks=new(System.Collections.Generic.List$1(Kusto.Language.Editor.CodeBlock).ctor),i=0;i0?(i=i+lb|0,allWhitespace?(newBlockNextWhitespaceLine&&blockStarts.add(lineStart),newBlockNextWhitespaceLine=!0,newBlockNextNonWhitespaceLine=!0):newBlockNextNonWhitespaceLine?(blockStarts.add(lineStart),newBlockNextWhitespaceLine=!1,newBlockNextNonWhitespaceLine=!1):newBlockNextWhitespaceLine=!1,lineStart=i,lineStarts.add(lineStart),allWhitespace=!0):(System.Char.isWhiteSpace(String.fromCharCode(text.charCodeAt(i)))||(allWhitespace=!1),i=i+1|0);(allWhitespace&&newBlockNextWhitespaceLine||!allWhitespace&&newBlockNextNonWhitespaceLine)&&blockStarts.add(lineStart)}}},fields:{lineStarts:null,blocks:null,factory:null},props:{Text:null,Blocks:{get:function(){return this.blocks}},Globals:{get:function(){var $t;return($t=this.factory.GetFactory(Kusto.Language.Editor.KustoCodeServiceFactory))!=null?$t.Globals:null}}},ctors:{ctor:function(text,lineStarts,blocks,factory){this.$initialize();this.Text=text;this.lineStarts=lineStarts;this.blocks=blocks;this.factory=factory}},methods:{WithText:function(newText){var $t;return Kusto.Language.Editor.CodeScript.CreateScript(($t=newText,$t!=null?$t:""),this.factory,this.Blocks)},WithFactory:function(factory){return Bridge.referenceEquals(factory,this.factory)?this:Kusto.Language.Editor.CodeScript.CreateScript(this.Text,factory,null)},WithTextAndFactory:function(newText,factory){return this.WithText(newText).WithFactory(factory)},WithGlobals:function(newGlobals){var kustoFactory=this.factory.GetFactory(Kusto.Language.Editor.KustoCodeServiceFactory);return kustoFactory!=null?this.WithFactory(this.factory.WithFactory(kustoFactory.WithGlobals(newGlobals))):this},GetBlockAtPosition:function(position){if(position===0)return System.Array.getItem(this.Blocks,0,Kusto.Language.Editor.CodeBlock);if(position===this.Text.length)return System.Array.getItem(this.Blocks,System.Array.getCount(this.Blocks,Kusto.Language.Editor.CodeBlock)-1|0,Kusto.Language.Editor.CodeBlock);if(position>=0&&position=b.End?-1:0});return System.Array.getItem(this.Blocks,index,Kusto.Language.Editor.CodeBlock)}return null},TryGetTextPosition:function(line,lineOffset,position){var lineStart,lineEnd,lineLength;if(line=line-1|0,lineOffset=lineOffset-1|0,position.v=0,line<0||line>=this.lineStarts.Count)return!1;for(lineStart=this.lineStarts.getItem(line),lineEnd=line<(this.lineStarts.Count-1|0)?this.lineStarts.getItem(line+1|0):this.Text.length;lineEnd>lineStart&&Kusto.Language.Parsing.TextFacts.GetLineBreakLength(this.Text,lineEnd-1|0)>0;)lineEnd=lineEnd-1|0;return(lineLength=lineEnd-lineStart|0,lineOffset<(lineLength+1|0))?(position.v=lineStart+lineOffset|0,!0):!1},TryGetLineAndOffset:function(position,line,lineOffset){return Kusto.Language.Parsing.TextFacts.TryGetLineAndOffset(this.Text,position,this.lineStarts,line,lineOffset)}}});Bridge.define("Kusto.Language.Editor.CodeService");Bridge.define("Kusto.Language.Editor.CodeServiceFactory",{methods:{GetFactory:function(TFactory){return Bridge.is(this,TFactory)?Bridge.cast(this,TFactory):null},WithFactory:function(factory){var af;return(af=Bridge.as(factory,Kusto.Language.Editor.CodeServiceFactory.AggregateCodeServiceFactory))!=null?af.WithFactory(this):Bridge.referenceEquals(Bridge.getType(factory),Bridge.getType(this))?factory:new Kusto.Language.Editor.CodeServiceFactory.AggregateCodeServiceFactory(System.Array.init([this],Kusto.Language.Editor.CodeServiceFactory)).WithFactory(factory)}}});Bridge.define("Kusto.Language.Editor.CodeServiceFeatures",{statics:{fields:{Diagnostics:null,Classification:null,Completion:null,Outlining:null,QuickInfo:null,ClusterReferences:null,DatabaseReferences:null,MinimalText:null,Formatting:null,ClientParameters:null},ctors:{init:function(){this.Diagnostics="Diagnostics";this.Classification="Classification";this.Completion="Completion";this.Outlining="Outlining";this.QuickInfo="QuickInfo";this.ClusterReferences="ClusterReferences";this.DatabaseReferences="DatabaseReferences";this.MinimalText="MinimalText";this.Formatting="Formatting";this.ClientParameters="ClientParameters"}}}});Bridge.define("Kusto.Language.Editor.CompletionHint",{$kind:"enum",statics:{fields:{None:0,Inherit:1,Expression:2,Scalar:4,Tabular:8,Boolean:16,Number:32,Literal:64,Aggregate:128,TabularFunction:256,ScalarFunction:512,DatabaseFunction:1024,Function:2048,Declaration:4096,Column:8192,Table:16384,Database:32768,Cluster:65536,Syntax:131072,Query:262144,Command:524288,Keyword:1048576,Clause:2097152}},$flags:!0});Bridge.define("Kusto.Language.Editor.CompletionInfo",{statics:{fields:{Empty:null},ctors:{init:function(){this.Empty=new Kusto.Language.Editor.CompletionInfo(null,0,0)}}},props:{Items:null,EditStart:0,EditLength:0},ctors:{ctor:function(items,editStart,editLength){this.$initialize();this.Items=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.CompletionItem,items);this.EditStart=editStart;this.EditLength=editLength}}});Bridge.define("Kusto.Language.Editor.CompletionItem",{props:{Kind:0,DisplayText:null,MatchText:null,EditText:null,AfterText:null,Priority:0},ctors:{ctor:function(kind,displayText,editText,afterText,matchText,priority){editText===void 0&&(editText=null);afterText===void 0&&(afterText=null);matchText===void 0&&(matchText=null);priority===void 0&&(priority=2);var $t,$t1,$t2;this.$initialize();this.DisplayText=($t=displayText,$t!=null?$t:"");this.Kind=kind;this.EditText=($t1=editText,$t1!=null?$t1:this.DisplayText);this.AfterText=afterText;this.MatchText=($t2=matchText,$t2!=null?$t2:displayText);this.Priority=priority}},methods:{WithKind:function(kind){return new Kusto.Language.Editor.CompletionItem(kind,this.DisplayText,this.EditText,this.AfterText,this.MatchText,this.Priority)},WithDisplayText:function(displayText){return new Kusto.Language.Editor.CompletionItem(this.Kind,displayText,this.EditText,this.AfterText,this.MatchText,this.Priority)},WithEditText:function(editText){return new Kusto.Language.Editor.CompletionItem(this.Kind,this.DisplayText,editText,this.AfterText,this.MatchText,this.Priority)},WithAfterText:function(afterText){return new Kusto.Language.Editor.CompletionItem(this.Kind,this.DisplayText,this.EditText,afterText,this.MatchText,this.Priority)},WithMatchText:function(matchText){return new Kusto.Language.Editor.CompletionItem(this.Kind,this.DisplayText,this.EditText,this.AfterText,matchText,this.Priority)},WithPriority:function(priority){return new Kusto.Language.Editor.CompletionItem(this.Kind,this.DisplayText,this.EditText,this.AfterText,this.MatchText,priority)}}});Bridge.define("Kusto.Language.Editor.CompletionKind",{$kind:"enum",statics:{fields:{Unknown:0,Keyword:1,Punctuation:2,Syntax:3,Identifier:4,Literal:5,ScalarPrefix:6,TabularPrefix:7,TabularSuffix:8,QueryPrefix:9,CommandPrefix:10,ScalarInfix:11,RenderChart:12,Column:13,Table:14,ScalarFunction:15,TabularFunction:16,AggregateFunction:17,Parameter:18,Variable:19,Database:20,Cluster:21}}});Bridge.define("Kusto.Language.Editor.CompletionOptions",{statics:{fields:{Default:null},ctors:{init:function(){this.Default=new Kusto.Language.Editor.CompletionOptions(Kusto.Language.Editor.CompletionOptions.OptionFlags.Default,Kusto.Language.IncludeFunctionKind.All)}},methods:{SetOption:function(flags,option,value){return value?flags|option:flags&~option}}},fields:{flags:0},props:{IncludeSymbols:{get:function(){return(this.flags&Kusto.Language.Editor.CompletionOptions.OptionFlags.IncludeSymbols)!=0}},IncludeSyntax:{get:function(){return(this.flags&Kusto.Language.Editor.CompletionOptions.OptionFlags.IncludeSyntax)!=0}},IncludePunctuationOnlySyntax:{get:function(){return(this.flags&Kusto.Language.Editor.CompletionOptions.OptionFlags.IncludePunctuation)!=0}},EnableParameterInjection:{get:function(){return(this.flags&Kusto.Language.Editor.CompletionOptions.OptionFlags.EnableParameterInjection)!=0}},AutoAppendWhitespace:{get:function(){return(this.flags&Kusto.Language.Editor.CompletionOptions.OptionFlags.AutoAppendWhitespace)!=0}},IncludeFunctions:0},ctors:{ctor:function(flags,includeFunctionKind){this.$initialize();this.flags=flags;this.IncludeFunctions=includeFunctionKind}},methods:{WithIncludeSymbols:function(include){return new Kusto.Language.Editor.CompletionOptions(Kusto.Language.Editor.CompletionOptions.SetOption(this.flags,Kusto.Language.Editor.CompletionOptions.OptionFlags.IncludeSymbols,include),this.IncludeFunctions)},WithIncludeFunctions:function(kind){return new Kusto.Language.Editor.CompletionOptions(this.flags,kind)},WithIncludeFunctions$1:function(include){return new Kusto.Language.Editor.CompletionOptions(this.flags,include?Kusto.Language.IncludeFunctionKind.All:Kusto.Language.IncludeFunctionKind.None)},WithIncludeSyntax:function(include){return new Kusto.Language.Editor.CompletionOptions(Kusto.Language.Editor.CompletionOptions.SetOption(this.flags,Kusto.Language.Editor.CompletionOptions.OptionFlags.IncludeSyntax,include),this.IncludeFunctions)},WithIncludePunctuationOnlySyntax:function(include){return new Kusto.Language.Editor.CompletionOptions(Kusto.Language.Editor.CompletionOptions.SetOption(this.flags,Kusto.Language.Editor.CompletionOptions.OptionFlags.IncludePunctuation,include),this.IncludeFunctions)},WithEnableParameterInjection:function(enable){return new Kusto.Language.Editor.CompletionOptions(Kusto.Language.Editor.CompletionOptions.SetOption(this.flags,Kusto.Language.Editor.CompletionOptions.OptionFlags.EnableParameterInjection,enable),this.IncludeFunctions)},WithAutoAppendWhitespace:function(enable){return new Kusto.Language.Editor.CompletionOptions(Kusto.Language.Editor.CompletionOptions.SetOption(this.flags,Kusto.Language.Editor.CompletionOptions.OptionFlags.AutoAppendWhitespace,enable),this.IncludeFunctions)}}});Bridge.define("Kusto.Language.Editor.CompletionOptions.OptionFlags",{$kind:"nested enum",statics:{fields:{IncludeSymbols:1,IncludeSyntax:2,IncludePunctuation:4,EnableParameterInjection:16,AutoAppendWhitespace:32,Default:39}},$flags:!0});Bridge.define("Kusto.Language.Editor.CompletionPriority",{$kind:"enum",statics:{fields:{Top:0,High:1,Normal:2,Low:3}}});Bridge.define("Kusto.Language.Editor.FindRelatedOptions",{$kind:"enum",statics:{fields:{None:0,SeeThroughVariables:1}},$flags:!0});Bridge.define("Kusto.Language.Editor.FormattedText",{props:{Text:null,Position:0},ctors:{ctor:function(newText,newPosition){this.$initialize();this.Text=newText;this.Position=newPosition}}});Bridge.define("Kusto.Language.Editor.FormattingOptions",{statics:{fields:{Default:null},ctors:{init:function(){this.Default=new Kusto.Language.Editor.FormattingOptions(4,!0,Kusto.Language.Editor.BrackettingStyle.Vertical,Kusto.Language.Editor.PlacementStyle.Smart,Kusto.Language.Editor.PlacementStyle.None)}}},props:{IndentationSize:0,InsertMissingTokens:!1,BrackettingStyle:0,PipeOperatorStyle:0,SemicolonStyle:0},ctors:{ctor:function(indentationSize,insertMissingTokens,brackettingStyle,pipeOperatorStyle,semicolonStyle){this.$initialize();this.IndentationSize=indentationSize;this.InsertMissingTokens=insertMissingTokens;this.BrackettingStyle=brackettingStyle;this.PipeOperatorStyle=pipeOperatorStyle;this.SemicolonStyle=semicolonStyle}},methods:{With:function(indentationSize,insertMissingTokens,brackettingStyle,pipeOperatorStyle,semicolonStyle){indentationSize===void 0&&(indentationSize=null);insertMissingTokens===void 0&&(insertMissingTokens=null);brackettingStyle===void 0&&(brackettingStyle=null);pipeOperatorStyle===void 0&&(pipeOperatorStyle=null);semicolonStyle===void 0&&(semicolonStyle=null);var newIndentationSize=System.Nullable.hasValue(indentationSize)?System.Nullable.getValue(indentationSize):this.IndentationSize,newInsertMissingTokens=System.Nullable.hasValue(insertMissingTokens)?System.Nullable.getValue(insertMissingTokens):this.InsertMissingTokens,newBrackettingStyle=System.Nullable.hasValue(brackettingStyle)?System.Nullable.getValue(brackettingStyle):this.BrackettingStyle,newPipeOperatorStyle=System.Nullable.hasValue(pipeOperatorStyle)?System.Nullable.getValue(pipeOperatorStyle):this.PipeOperatorStyle,newSemicolonStyle=System.Nullable.hasValue(semicolonStyle)?System.Nullable.getValue(semicolonStyle):this.SemicolonStyle;return newIndentationSize!==this.IndentationSize||newInsertMissingTokens!==this.InsertMissingTokens||newBrackettingStyle!==this.BrackettingStyle||newPipeOperatorStyle!==this.PipeOperatorStyle||newSemicolonStyle!==this.SemicolonStyle?new Kusto.Language.Editor.FormattingOptions(newIndentationSize,newInsertMissingTokens,newBrackettingStyle,newPipeOperatorStyle,newSemicolonStyle):this},WithIndentationSize:function(size){return this.With(size,void 0,void 0,void 0,void 0)},WithInsertMissingTokens:function(enable){return this.With(void 0,enable,void 0,void 0,void 0)},WithBrackettingStyle:function(style){return this.With(void 0,void 0,style,void 0,void 0)},WithPipeOperatorStyle:function(style){return this.With(void 0,void 0,void 0,style,void 0)},WithSemicolonStyle:function(style){return this.With(void 0,void 0,void 0,void 0,style)}}});Bridge.define("Kusto.Language.Editor.KustoClassifier",{statics:{methods:{GetClassifications:function(root,start,length,list,cancellationToken){var end=start+length|0,limiter=function(range){if(range.End>start&&range.Startend)&&(range=new Kusto.Language.Editor.ClassifiedRange(range.Kind,Math.max(range.Start,start),Math.min(range.End,end))),list.Count>0){var last=list.getItem(list.Count-1|0);if(last.Kind===range.Kind&&last.End===range.Start){list.setItem(list.Count-1|0,new Kusto.Language.Editor.ClassifiedRange(last.Kind,last.Start,last.Length+range.Length|0));return}}list.add(range)}};root.WalkTokens(start,end,function(token){if(cancellationToken.ThrowIfCancellationRequested(),Kusto.Language.Editor.KustoClassifier.GetTriviaClassifications(token,limiter),token.IsLiteral&&token.Prefix.length>0)limiter(new Kusto.Language.Editor.ClassifiedRange(Kusto.Language.Editor.ClassificationKind.Keyword,token.TextStart,token.Prefix.length)),limiter(new Kusto.Language.Editor.ClassifiedRange(Kusto.Language.Editor.ClassificationKind.Literal,token.TextStart+token.Prefix.length|0,token.Text.length-token.Prefix.length|0));else{var kind=Kusto.Language.Editor.KustoClassifier.GetKind(token);limiter(new Kusto.Language.Editor.ClassifiedRange(kind,token.TextStart,token.Width))}})},GetKind:function(token){var $step=0,$t,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1,2,3,4,5,6,7,8,9,10],$step);switch($step){case 0:if(Kusto.Language.Editor.KustoClassifier.IsSkipped(token))return Kusto.Language.Editor.ClassificationKind.PlainText;if(Kusto.Language.Editor.KustoClassifier.IsCommandVerbToken(token))return Kusto.Language.Editor.ClassificationKind.Command;if(Bridge.is(token.Parent,Kusto.Language.Syntax.BracedName))return Kusto.Language.Editor.ClassificationKind.ClientParameter;if($t=Kusto.Language.Syntax.SyntaxFacts.GetCategory(token.Kind),$t===Kusto.Language.Syntax.SyntaxCategory.Identifier){$step=1;continue}else if($t===Kusto.Language.Syntax.SyntaxCategory.Literal){$step=2;continue}else if($t===Kusto.Language.Syntax.SyntaxCategory.Keyword){$step=3;continue}else if($t===Kusto.Language.Syntax.SyntaxCategory.Punctuation){$step=7;continue}else if($t===Kusto.Language.Syntax.SyntaxCategory.Operator){$step=8;continue}else{$step=9;continue}$step=10;continue;case 1:return Kusto.Language.Editor.KustoClassifier.IsQueryParameter(token)?Kusto.Language.Editor.ClassificationKind.QueryParameter:Kusto.Language.Editor.KustoClassifier.GetIdentifierKind(token);case 2:return token.Kind===Kusto.Language.Syntax.SyntaxKind.StringLiteralToken?Kusto.Language.Editor.ClassificationKind.StringLiteral:Kusto.Language.Editor.ClassificationKind.Literal;case 3:if(Kusto.Language.Editor.KustoClassifier.IsIdentifierKeyword(token)){$step=4;continue}else{$step=5;continue}case 4:$step=1;continue;case 5:return Kusto.Language.Editor.KustoClassifier.IsTypeToken(token)?Kusto.Language.Editor.ClassificationKind.Type:Kusto.Language.Editor.KustoClassifier.IsScalarOperatorToken(token)?Kusto.Language.Editor.ClassificationKind.ScalarOperator:Kusto.Language.Editor.KustoClassifier.IsQueryOperatorToken(token)?Kusto.Language.Editor.ClassificationKind.QueryOperator:Kusto.Language.Editor.KustoClassifier.IsQueryParameter(token)?Kusto.Language.Editor.ClassificationKind.QueryParameter:Kusto.Language.Editor.KustoClassifier.IsCommandVerbToken(token)?Kusto.Language.Editor.ClassificationKind.Command:Kusto.Language.Editor.ClassificationKind.Keyword;case 6:case 7:return Kusto.Language.Editor.ClassificationKind.Punctuation;case 8:return Kusto.Language.Editor.ClassificationKind.MathOperator;case 9:return token.Kind===Kusto.Language.Syntax.SyntaxKind.DirectiveToken?Kusto.Language.Editor.ClassificationKind.Directive:Kusto.Language.Editor.ClassificationKind.PlainText;case 10:return;default:return}}},arguments);return $asyncBody()},GetIdentifierKind:function(token){var $t,$t1,symbolKind=($t=($t1=token.Parent.GetFirstAncestorOrSelf(Kusto.Language.Syntax.SyntaxNode,function(n){return n.ReferencedSymbol!=null}))!=null?$t1.ReferencedSymbol.Kind:null,$t!=null?$t:Kusto.Language.Symbols.SymbolKind.None);switch(symbolKind){case Kusto.Language.Symbols.SymbolKind.Column:return Kusto.Language.Editor.ClassificationKind.Column;case Kusto.Language.Symbols.SymbolKind.Table:return Kusto.Language.Editor.ClassificationKind.Table;case Kusto.Language.Symbols.SymbolKind.Database:return Kusto.Language.Editor.ClassificationKind.Database;case Kusto.Language.Symbols.SymbolKind.Function:case Kusto.Language.Symbols.SymbolKind.Pattern:return Kusto.Language.Editor.ClassificationKind.Function;case Kusto.Language.Symbols.SymbolKind.Variable:return Kusto.Language.Editor.ClassificationKind.Variable;case Kusto.Language.Symbols.SymbolKind.Parameter:return Kusto.Language.Editor.ClassificationKind.Parameter;default:return Kusto.Language.Editor.KustoClassifier.IsName(token)?Kusto.Language.Editor.ClassificationKind.Identifier:Kusto.Language.Editor.ClassificationKind.Keyword}},IsSkipped:function(token){var ls;return(ls=Bridge.as(token.Parent,Kusto.Language.Syntax.SyntaxList))!=null&&Bridge.is(ls.Parent,Kusto.Language.Syntax.SkippedTokens)},IsName:function(token){return Bridge.is(token.Parent,Kusto.Language.Syntax.Name)},IsIdentifierKeyword:function(token){return Bridge.is(token.Parent,Kusto.Language.Syntax.TokenName)},IsTypeToken:function(token){var pt,type;return(pt=Bridge.as(token.Parent,Kusto.Language.Syntax.PrimitiveTypeExpression))!=null?(type=Kusto.Language.Binding.Binder.GetType(pt),type!=null&&!type.IsError):!1},IsScalarOperatorToken:function(token){var b,u;return(b=Bridge.as(token.Parent,Kusto.Language.Syntax.BinaryExpression))!=null&&Bridge.referenceEquals(b.Operator,token)||(u=Bridge.as(token.Parent,Kusto.Language.Syntax.PrefixUnaryExpression))!=null&&Bridge.referenceEquals(u.Operator,token)},IsQueryOperatorToken:function(token){var q;return(q=Bridge.as(token.Parent,Kusto.Language.Syntax.QueryOperator))!=null&&Bridge.referenceEquals(q.GetChild(0),token)},IsQueryParameter:function(token){var n,d,np;return(n=Bridge.as(token.Parent,Kusto.Language.Syntax.Name))!=null&&(d=Bridge.as(n.Parent,Kusto.Language.Syntax.NameDeclaration))!=null&&(np=Bridge.as(d.Parent,Kusto.Language.Syntax.NamedParameter))!=null&&Bridge.referenceEquals(np.GetChild(0),d)},IsCommandVerbToken:function(token){var c,cn,list,uc;return(c=Bridge.as(token.Parent,Kusto.Language.Syntax.Command))!=null&&c.GetChildIndex(token)<2||(cn=Bridge.as(token.Parent,Kusto.Language.Syntax.CustomNode))!=null&&Bridge.is(cn.Parent,Kusto.Language.Syntax.CustomCommand)&&cn.GetChildIndex(token)===0||(list=Bridge.as(token.Parent,Kusto.Language.Syntax.SyntaxList))!=null&&(uc=Bridge.as(list.Parent,Kusto.Language.Syntax.UnknownCommand))!=null&&Bridge.referenceEquals(uc.Parts.getItem$1(0),token)},GetTriviaClassifications:function(token,action){var trivia,i,start;if(token.TriviaWidth>0)for(trivia=token.Trivia,i=0;i0){end=end+lbLen|0;hasLineBreak=!0;break}if(p=end-1|0,hasLineBreak&&position>=start&&position=start)return!0}}return!1},IsInsideLiteral:function(token,position){return Kusto.Language.Syntax.SyntaxFacts.GetCategory(token.Kind)===Kusto.Language.Syntax.SyntaxCategory.Literal&&position>=token.TextStart&&position<=token.End},IsStartOfQuery:function(context){while(Bridge.is(context,Kusto.Language.Syntax.Name)||Bridge.is(context,Kusto.Language.Syntax.NameReference)||Bridge.is(context,Kusto.Language.Syntax.ExpressionStatement))context=context.Parent;return Bridge.is(context,Kusto.Language.Syntax.QueryBlock)||Bridge.is(context,Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)))||Bridge.is(context,Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement))},IsInvokeFunctionContext:function(node){var op=node!=null?node.GetFirstAncestorOrSelf(Kusto.Language.Syntax.QueryOperator):null,fc=node!=null?node.GetFirstAncestorOrSelf(Kusto.Language.Syntax.FunctionCallExpression):null;return Bridge.is(op,Kusto.Language.Syntax.InvokeOperator)&&(fc==null||fc.TextStarttoken.TextStart&&positiontoken.TextStart&&positionchild.TextStart&&position0)return i;if(position=0;i1=i1-1|0)if(child1=node.GetChild(i1),child1!=null&&child1.Width>0)break;else bestEmptyChild=i1;return bestEmptyChild},HasEmptyChild:function(element,position){var hasEmptyChild,i,n,child;if(element==null)return!1;if(position>=element.End&&element.Kind===Kusto.Language.Syntax.SyntaxKind.List)return!0;for(hasEmptyChild=!1,i=0,n=element.ChildCount;i0?System.Array.getItem(this.code.LexerTokens,tokenOffset-1|0,Kusto.Language.Parsing.LexicalToken):null,affinity=this.GetTokenWithAffinity(position)||token,leftOrSurrounding=position===token.TriviaStart?previous||token:token;return Kusto.Language.Editor.KustoCompleter.IsInsideLiteral(leftOrSurrounding,position)?!1:position<=affinity.TextStart&&affinity.Trivia.length>0?!Kusto.Language.Editor.KustoCompleter.IsInsideComment(token.Trivia,position-token.TriviaStart|0):!0},GetOrderingRank:function(item){var $t;this.cancellationToken.ThrowIfCancellationRequested();switch(item.Kind){case Kusto.Language.Editor.CompletionKind.Literal:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Literal;case Kusto.Language.Editor.CompletionKind.Keyword:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Keyword;case Kusto.Language.Editor.CompletionKind.AggregateFunction:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Aggregate;case Kusto.Language.Editor.CompletionKind.Column:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Column;case Kusto.Language.Editor.CompletionKind.Table:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Table;case Kusto.Language.Editor.CompletionKind.Variable:case Kusto.Language.Editor.CompletionKind.Parameter:return Bridge.referenceEquals(item.DisplayText,"$left")||Bridge.referenceEquals(item.DisplayText,"$right")?Kusto.Language.Editor.KustoCompleter.OrderingRank.Literal:Kusto.Language.Editor.KustoCompleter.OrderingRank.Variable;case Kusto.Language.Editor.CompletionKind.ScalarFunction:case Kusto.Language.Editor.CompletionKind.TabularFunction:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Function;case Kusto.Language.Editor.CompletionKind.ScalarInfix:return($t=item.DisplayText.charCodeAt(0),System.Char.isDigit($t)||System.Char.isLetter($t))?Kusto.Language.Editor.KustoCompleter.OrderingRank.StringOperator:Kusto.Language.Editor.KustoCompleter.OrderingRank.MathOperator;case Kusto.Language.Editor.CompletionKind.ScalarPrefix:case Kusto.Language.Editor.CompletionKind.TabularPrefix:case Kusto.Language.Editor.CompletionKind.TabularSuffix:case Kusto.Language.Editor.CompletionKind.QueryPrefix:case Kusto.Language.Editor.CompletionKind.Identifier:case Kusto.Language.Editor.CompletionKind.Cluster:case Kusto.Language.Editor.CompletionKind.Database:case Kusto.Language.Editor.CompletionKind.Punctuation:case Kusto.Language.Editor.CompletionKind.Syntax:case Kusto.Language.Editor.CompletionKind.Unknown:case Kusto.Language.Editor.CompletionKind.RenderChart:default:return Kusto.Language.Editor.KustoCompleter.OrderingRank.Other}},IsInCommand:function(element){var body,command;return element==null?!1:(body=element.GetFirstAncestorOrSelf(Kusto.Language.Syntax.FunctionBody),body!=null)?!1:(command=element.GetFirstAncestorOrSelf(Kusto.Language.Syntax.Command),command!=null)},GetSymbolCompletions:function(position,builder){var $t,hint=Kusto.Language.Editor.CompletionHint.None,contextNode={},contextChildIndex={},mode,symbols,match,isCommand,include,isInvoke,rowScope,symbol,fs,vs,vfs,item;if(this.TryGetCompletionContext(position,contextNode,contextChildIndex)){if(mode=this.GetFunctionArgumentCompletions(position,contextNode.v,contextChildIndex.v,builder),mode===Kusto.Language.Editor.KustoCompleter.CompletionMode.Isolated)return mode;hint=this.GetCompletionHint(contextNode.v,contextChildIndex.v)}symbols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.Symbol).ctor);match=this.GetSymbolMatch(position);this.options.IncludeFunctions===Kusto.Language.IncludeFunctionKind.None&&(match&=-5);isCommand=this.IsInCommand(contextNode.v);include=this.options.IncludeFunctions;isCommand&&(include&=Kusto.Language.IncludeFunctionKind.DatabaseFunctions);Kusto.Language.Binding.Binder.GetSymbolsInScope(this.code.Syntax,position,this.code.Globals,match,include,symbols,this.cancellationToken);isInvoke=Kusto.Language.Editor.KustoCompleter.IsInvokeFunctionContext(contextNode.v);rowScope=isInvoke?Kusto.Language.Binding.Binder.GetRowScope(this.code.Syntax,position,this.code.Globals,this.cancellationToken):null;$t=Bridge.getEnumerator(symbols);try{while($t.moveNext())if(symbol=$t.Current,!symbol.IsHidden){if(isInvoke&&rowScope!=null&&!rowScope.IsOpen){if((fs=Bridge.as(symbol,Kusto.Language.Symbols.FunctionSymbol))!=null&&!this.IsApplicable(fs,rowScope))continue;if((vs=Bridge.as(symbol,Kusto.Language.Symbols.VariableSymbol))!=null&&(vfs=Bridge.as(vs.Type,Kusto.Language.Symbols.FunctionSymbol))!=null&&!this.IsApplicable(vfs,rowScope))continue}item=this.GetSymbolCompletionItem(symbol,contextNode.v,isCommand);this.ShouldAugmentSymbolCompletionItem(symbol,hint)&&(item=this.GetAugmentedCompletionItem(item));builder.Add(item)}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return Kusto.Language.Editor.KustoCompleter.CompletionMode.Combined},IsApplicable:function($function,implicitFirstArgumentType){var $t,$t1,sig,p,t,ts;if(Bridge.referenceEquals($function,Kusto.Language.Functions.Cluster)||Bridge.referenceEquals($function,Kusto.Language.Functions.Database)||Bridge.referenceEquals($function,Kusto.Language.Functions.Table))return!0;$t=Bridge.getEnumerator($function.Signatures,Kusto.Language.Symbols.Signature);try{while($t.moveNext())if(sig=$t.Current,System.Array.getCount(sig.Parameters,Kusto.Language.Symbols.Parameter)!==0){p=System.Array.getItem(sig.Parameters,0,Kusto.Language.Symbols.Parameter);switch(p.TypeKind){case Kusto.Language.Symbols.ParameterTypeKind.Declared:$t1=Bridge.getEnumerator(p.DeclaredTypes,Kusto.Language.Symbols.TypeSymbol);try{while($t1.moveNext())if(t=$t1.Current,(ts=Bridge.as(t,Kusto.Language.Symbols.TableSymbol))!=null&&Kusto.Language.Binding.Binder.SymbolsAssignable(t,implicitFirstArgumentType))return!0}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$Dispose()}break;case Kusto.Language.Symbols.ParameterTypeKind.Tabular:return Bridge.is(implicitFirstArgumentType,Kusto.Language.Symbols.TableSymbol)}}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return!1},ShouldAugmentSymbolCompletionItem:function(symbol,hint){return(hint&Kusto.Language.Editor.CompletionHint.Boolean)!=0&&!Bridge.referenceEquals(Kusto.Language.Symbols.Symbol.GetExpressionResultType(symbol),Kusto.Language.Symbols.ScalarTypes.Bool)},GetSymbolCompletionItem:function(symbol,contextNode,nameOnly){var kind=this.GetCompletionKind(symbol),editName=Kusto.Language.KustoFacts.BracketNameIfNecessary(symbol.Name),t,f,builtIn,fdisplay,isInvoke,p,v,p1,d,cl;do return Bridge.is(symbol,Kusto.Language.Symbols.TableSymbol)?(t=Bridge.cast(symbol,Kusto.Language.Symbols.TableSymbol),Kusto.Language.Editor.KustoCompleter.IsStartOfQuery(contextNode)?new Kusto.Language.Editor.CompletionItem(kind,t.Name,(editName||"")+(Kusto.Language.Editor.KustoCompleter.AfterQueryStart||"")):new Kusto.Language.Editor.CompletionItem(kind,t.Name,editName)):Bridge.is(symbol,Kusto.Language.Symbols.FunctionSymbol)?(f=Bridge.cast(symbol,Kusto.Language.Symbols.FunctionSymbol),nameOnly)?new Kusto.Language.Editor.CompletionItem(kind,f.Name,editName):(builtIn=this.code.Globals.IsBuiltInFunction(f),builtIn&&(editName=f.Name),fdisplay=f.Display,System.Linq.Enumerable.from(f.Signatures).max(function(s){return System.Array.getCount(s.Parameters,Kusto.Language.Symbols.Parameter)})===0?(builtIn&&(editName=(editName||"")+"()"),Kusto.Language.Editor.KustoCompleter.IsStartOfQuery(contextNode)?new Kusto.Language.Editor.CompletionItem(kind,fdisplay,(editName||"")+(Kusto.Language.Editor.KustoCompleter.AfterQueryStart||""),void 0,f.Name,2):new Kusto.Language.Editor.CompletionItem(kind,fdisplay,editName,void 0,f.Name,2)):(isInvoke=Kusto.Language.Editor.KustoCompleter.IsInvokeFunctionContext(contextNode),!this.options.EnableParameterInjection||f.MaxArgumentCount!==1||builtIn||isInvoke?new Kusto.Language.Editor.CompletionItem(kind,fdisplay,(editName||"")+"(",")",f.Name,2):new Kusto.Language.Editor.CompletionItem(kind,fdisplay,(editName||"")+"({parameter})",void 0,f.Name,2))):Bridge.is(symbol,Kusto.Language.Symbols.PatternSymbol)?(p=Bridge.cast(symbol,Kusto.Language.Symbols.PatternSymbol),new Kusto.Language.Editor.CompletionItem(kind,p.Display,(editName||"")+"(",")",p.Name,2)):Bridge.is(symbol,Kusto.Language.Symbols.VariableSymbol)?(v=Bridge.cast(symbol,Kusto.Language.Symbols.VariableSymbol),Bridge.is(v.Type,Kusto.Language.Symbols.FunctionSymbol)?this.GetSymbolCompletionItem(v.Type,contextNode,nameOnly):Bridge.is(v.Type,Kusto.Language.Symbols.TableSymbol)&&Kusto.Language.Editor.KustoCompleter.IsStartOfQuery(contextNode)?new Kusto.Language.Editor.CompletionItem(kind,v.Name,(editName||"")+(Kusto.Language.Editor.KustoCompleter.AfterQueryStart||"")):new Kusto.Language.Editor.CompletionItem(kind,v.Name,editName)):Bridge.is(symbol,Kusto.Language.Symbols.ParameterSymbol)?(p1=Bridge.cast(symbol,Kusto.Language.Symbols.ParameterSymbol),Bridge.is(p1.Type,Kusto.Language.Symbols.FunctionSymbol)?this.GetSymbolCompletionItem(p1.Type,contextNode,nameOnly):new Kusto.Language.Editor.CompletionItem(kind,symbol.Name,editName)):Bridge.is(symbol,Kusto.Language.Symbols.DatabaseSymbol)?(d=Bridge.cast(symbol,Kusto.Language.Symbols.DatabaseSymbol),new Kusto.Language.Editor.CompletionItem(Kusto.Language.Editor.CompletionKind.Database,d.Name,editName)):Bridge.is(symbol,Kusto.Language.Symbols.ClusterSymbol)?(cl=Bridge.cast(symbol,Kusto.Language.Symbols.ClusterSymbol),new Kusto.Language.Editor.CompletionItem(Kusto.Language.Editor.CompletionKind.Cluster,cl.Name,Kusto.Language.KustoFacts.GetBrackettedName(cl.Name))):new Kusto.Language.Editor.CompletionItem(kind,symbol.Name,editName);while(0)},GetTokenWithAffinity:function(position){if(System.Array.getCount(this.code.LexerTokens,Kusto.Language.Parsing.LexicalToken)===0)return null;var tokenOffset=this.GetTokenIndex(position),token=System.Array.getItem(this.code.LexerTokens,tokenOffset,Kusto.Language.Parsing.LexicalToken),previous=tokenOffset>0?System.Array.getItem(this.code.LexerTokens,tokenOffset-1|0,Kusto.Language.Parsing.LexicalToken):null;return Kusto.Language.Editor.KustoCompleter.HasAffinity$1(token,position)?token:previous!=null&&Kusto.Language.Editor.KustoCompleter.HasAffinity$1(previous,position)?previous:null},GetSymbolMatch:function(position){var match=Kusto.Language.Symbols.SymbolMatch.None,contextNode={},index={},hint,grammarMatch;return this.TryGetCompletionContext(position,contextNode,index)&&(hint=this.GetCompletionHint(contextNode.v,index.v),match|=Kusto.Language.Editor.KustoCompleter.GetSymbolMatch(hint)),grammarMatch=this.GetSymbolMatchFromGrammar(position),match|grammarMatch},GetSymbolMatchFromGrammar:function(position){var match=Kusto.Language.Symbols.SymbolMatch.None;return this.ScanGrammarAtPosition(position,Bridge.fn.bind(this,function(g){var i,n,hint;for(this.cancellationToken.ThrowIfCancellationRequested(),i=0,n=System.Array.getCount(g.Annotations,System.Object);i1&&!System.Char.isWhiteSpace(String.fromCharCode(item.EditText.charCodeAt(item.EditText.length-2|0))))return!1;switch(item.Kind){case Kusto.Language.Editor.CompletionKind.Column:case Kusto.Language.Editor.CompletionKind.ScalarFunction:case Kusto.Language.Editor.CompletionKind.TabularFunction:case Kusto.Language.Editor.CompletionKind.AggregateFunction:case Kusto.Language.Editor.CompletionKind.Parameter:case Kusto.Language.Editor.CompletionKind.Variable:case Kusto.Language.Editor.CompletionKind.Table:case Kusto.Language.Editor.CompletionKind.Database:case Kusto.Language.Editor.CompletionKind.Cluster:return!1;case Kusto.Language.Editor.CompletionKind.Punctuation:return System.Linq.Enumerable.from(Kusto.Language.Editor.KustoCompleter.punctuationWithoutSpace).any(function(p){return Bridge.referenceEquals(item.DisplayText,p)});default:return!0}},ScanGrammarAtPosition:function(position,action){var offset=this.GetTokenIndex(position),source=new(Kusto.Language.Parsing.ArraySource$1(Kusto.Language.Parsing.LexicalToken))(this.code.LexerTokens);this.code.Grammar.Search$1(source,0,!1,function(_grammar,_source,_start,_prevWasMissing){_start===offset&&(_prevWasMissing||action(_grammar))})},GetTokenLeftOfPosition:function(position){var token=this.code.Syntax.GetTokenAt(position),hasAffinity=token!=null&&Kusto.Language.Editor.KustoCompleter.HasAffinity(token,position);return token!=null&&(position=System.Array.getItem(this.code.LexerTokens,System.Array.getCount(this.code.LexerTokens,Kusto.Language.Parsing.LexicalToken)-1|0,Kusto.Language.Parsing.LexicalToken).End)return System.Array.getCount(this.code.LexerTokens,Kusto.Language.Parsing.LexicalToken)-1|0;var offset=Kusto.Language.Utils.ListExtensions.BinarySearch(Bridge.global.Kusto.Language.Parsing.LexicalToken,this.code.LexerTokens,function(t){return position=t.End?-1:0});return offset>=0?offset:0},IncludeSyntax:function(item,position,hints,match,left){if(!this.options.IncludePunctuationOnlySyntax&&item.Kind===Kusto.Language.Editor.CompletionKind.Punctuation)return!1;switch(item.Kind){case Kusto.Language.Editor.CompletionKind.QueryPrefix:return(hints&Kusto.Language.Editor.CompletionHint.Query)!=0||(hints&Kusto.Language.Editor.CompletionHint.Keyword)!=0||(match&Kusto.Language.Symbols.SymbolMatch.Tabular)!=0;case Kusto.Language.Editor.CompletionKind.TabularPrefix:return(match&Kusto.Language.Symbols.SymbolMatch.Tabular)!=0;case Kusto.Language.Editor.CompletionKind.TabularSuffix:return left!=null&&left.ResultType!=null&&left.ResultType.IsTabular;case Kusto.Language.Editor.CompletionKind.ScalarPrefix:return(match&Kusto.Language.Symbols.SymbolMatch.Scalar)!=0;case Kusto.Language.Editor.CompletionKind.ScalarInfix:return this.AnyInfixMatches(left,item.DisplayText,position);default:return!0}},AnyInfixMatches:function(left,op,position){var kind=Kusto.Language.Editor.KustoCompleter.GetOperatorKind(op),hint,parent;if(kind===Kusto.Language.Symbols.OperatorKind.None)return!1;for(;left!=null;left=Bridge.as(left.Parent,Kusto.Language.Syntax.Expression)){if(position0||token.Trivia.length>0||token.IsMissing&&this._options.InsertMissingTokens)&&this.WriteTrivia(token,indentation,spacingKind,token.Kind!==Kusto.Language.Syntax.SyntaxKind.EndOfTextToken),this._newCursorPosition===-1&&(this._cursorPosition>=token.TextStart&&this._cursorPosition<=token.End?this._newCursorPosition=this._builder.getLength()+(this._cursorPosition-token.TextStart|0)|0:this._cursorPosition=token.TriviaStart&&this._cursorPosition=0?nextLineStart:whitespaceEnd,this._builder.append(trivia,whitespaceEnd,lineEnd-whitespaceEnd|0),lineEnd>=trivia.length&&nextLineBreakStart>=0&&hasFollowingToken&&this.WriteIndentation(indentation);else switch(spacingKind){case Kusto.Language.Editor.KustoFormatter.SpacingKind.NoSpaceIfOnSameLine:break;case Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpaceIfOnSameLine:this._builder.append(" ");break;case Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine:this._builder.appendLine();this.WriteIndentation(indentation);break;case Kusto.Language.Editor.KustoFormatter.SpacingKind.AsIs:case Kusto.Language.Editor.KustoFormatter.SpacingKind.AlignOnly:default:this._builder.append(trivia)}},WriteIndentation:function(indentation){this._builder.append(Kusto.Language.Editor.KustoFormatter.s_Spaces,0,Math.min(indentation,Kusto.Language.Editor.KustoFormatter.s_Spaces.length))},IdentityFormattingRules:function(node){var i,child,n,t;if(node!=null){for(i=0;i0&&this.AddRule(n,this.IndentRule()),Bridge.is(n,Kusto.Language.Syntax.Clause)&&this.AddRule$2(n.GetFirstToken(),new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,Bridge.fn.bind(this,function(){return this.DidOrWillSpanMultipleLines(n.Parent)}))));do{if(Bridge.is(n,Kusto.Language.Syntax.PipeExpression)){pe={v:Bridge.cast(n,Kusto.Language.Syntax.PipeExpression)};switch(this._options.PipeOperatorStyle){case Kusto.Language.Editor.PlacementStyle.Smart:entirePipeExpression={v:pe.v.GetFirstAncestorOrSelf(Kusto.Language.Syntax.SyntaxNode,function(a){return!Bridge.is(a.Parent,Kusto.Language.Syntax.PipeExpression)})};this.AddRule$2(pe.v.Bar,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,function($me,entirePipeExpression,pe){return Bridge.fn.bind($me,function(){return this.DidOrWillSpanMultipleLines(entirePipeExpression.v,!1,pe.v.Bar)})}(this,entirePipeExpression,pe)));opToken=pe.v.Operator.GetFirstToken();this.AddRule$2(opToken,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpace));Bridge.referenceEquals(entirePipeExpression.v,pe.v)&&Bridge.is(pe.v.Parent,Kusto.Language.Syntax.ParenthesizedExpression)&&(firstToken={v:pe.v.GetFirstToken()},this.AddRule$2(firstToken.v,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,function($me,entirePipeExpression,firstToken){return Bridge.fn.bind($me,function(){return this.DidOrWillSpanMultipleLines(entirePipeExpression.v,!1,firstToken.v)})}(this,entirePipeExpression,firstToken))));break;case Kusto.Language.Editor.PlacementStyle.NewLine:this.AddRule$2(pe.v.Bar,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine));opToken=pe.v.Operator.GetFirstToken();this.AddRule$2(opToken,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpace))}break}if(Bridge.is(n,Kusto.Language.Syntax.FunctionDeclaration)){fd={v:Bridge.cast(n,Kusto.Language.Syntax.FunctionDeclaration)};letStatement=fd.v.Parent;this.AddBrackettingStyleRules(fd.v.Body.OpenBrace,fd.v.Body.CloseBrace,letStatement);$t=Bridge.getEnumerator(fd.v.Body.Statements,"GetEnumerator$1");try{while($t.moveNext())statement=$t.Current,firstToken1={v:statement.GetFirstToken()},this.AddRule$2(firstToken1.v,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,function($me,fd,firstToken1){return Bridge.fn.bind($me,function(){return this.DidOrWillSpanMultipleLines(fd.v.Body,!0,firstToken1.v)})}(this,fd,firstToken1)))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}this.AddRule(fd.v.Body.Statements,this.IndentRule(letStatement));fd.v.Body.Expression!=null&&(firstToken2={v:fd.v.Body.Expression.GetFirstToken()},this.AddRule$2(firstToken2.v,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,function($me,fd,firstToken2){return Bridge.fn.bind($me,function(){return this.DidOrWillSpanMultipleLines(fd.v.Body,!0,firstToken2.v)})}(this,fd,firstToken2))),this.AddRule(fd.v.Body.Expression,this.IndentRule(letStatement)));break}if(Bridge.is(n,Kusto.Language.Syntax.SeparatedElement)){if(se={v:Bridge.cast(n,Kusto.Language.Syntax.SeparatedElement)},System.Nullable.eq(($t1=se.v.Separator)!=null?$t1.Kind:null,Kusto.Language.Syntax.SyntaxKind.SemicolonToken)&&Bridge.is(se.v.Element,Kusto.Language.Syntax.LetStatement))switch(this._options.SemicolonStyle){case Kusto.Language.Editor.PlacementStyle.Smart:this.AddRule$2(se.v.Separator,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,function($me,se){return Bridge.fn.bind($me,function(){return this.DidOrWillSpanMultipleLines(Bridge.cast(se.v.Element,Kusto.Language.Syntax.SyntaxNode))})}(this,se)));this.AddRule(se.v.Separator,this.IndentRule(se.v));break;case Kusto.Language.Editor.PlacementStyle.NewLine:this.AddRule$2(se.v.Separator,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine));this.AddRule(se.v.Separator,this.IndentRule(se.v))}break}if(Bridge.is(n,Kusto.Language.Syntax.BrackettedExpression)){be=Bridge.cast(n,Kusto.Language.Syntax.BrackettedExpression);Bridge.is(be.Parent,Kusto.Language.Syntax.ElementExpression)&&this.AddRule$2(be.OpenBracket,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.NoSpaceIfOnSameLine));break}}while(0)},AddBrackettingStyleRules:function(open,close,alignedTo){switch(this._options.BrackettingStyle){case Kusto.Language.Editor.BrackettingStyle.Vertical:this.AddRule$2(open,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,Bridge.fn.bind(this,function(){return this.DidOrWillSpanMultipleLines$1(open,close,!0,open)})).Otherwise(Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpaceIfOnSameLine)));var next=open.GetNextToken();next==null||Bridge.referenceEquals(next,close)||this.AddRule$2(next,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpaceIfOnSameLine));this.AddRule(open,new Kusto.Language.Editor.KustoFormatter.AlignmentRule.ctor(alignedTo));this.AddRule$2(close,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,Bridge.fn.bind(this,function(){return this.DidOrWillSpanMultipleLines$1(open,close,!0,close)})).Otherwise(Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpaceIfOnSameLine)));this.AddRule(close,new Kusto.Language.Editor.KustoFormatter.AlignmentRule.ctor(alignedTo));break;case Kusto.Language.Editor.BrackettingStyle.Diagonal:this.AddRule$2(open,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpace));next=open.GetNextToken();next==null||Bridge.referenceEquals(next,close)||this.AddRule$2(next,Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpaceIfOnSameLine));this.AddRule$2(close,new Kusto.Language.Editor.KustoFormatter.SpacingRule(Kusto.Language.Editor.KustoFormatter.SpacingKind.NewLine,Bridge.fn.bind(this,function(){return this.DidOrWillSpanMultipleLines$1(open,close,!0,close)})).Otherwise(Kusto.Language.Editor.KustoFormatter.SpacingRule.From(Kusto.Language.Editor.KustoFormatter.SpacingKind.SingleSpaceIfOnSameLine)));this.AddRule(close,new Kusto.Language.Editor.KustoFormatter.AlignmentRule.ctor(alignedTo))}},AddListElementRules:function(TElement,list,relativeTo){var i,se;for(this.AddRule(list,this.IndentRule(relativeTo)),i=0;ibestLength&&(bestGrammar=_parser,bestLength=scanLength)}}),bestGrammar},GetTokenIndex:function(position){if(System.Array.getCount(this._code.LexerTokens,Kusto.Language.Parsing.LexicalToken)===0)return 0;if(position>=System.Array.getItem(this._code.LexerTokens,System.Array.getCount(this._code.LexerTokens,Kusto.Language.Parsing.LexicalToken)-1|0,Kusto.Language.Parsing.LexicalToken).End)return System.Array.getCount(this._code.LexerTokens,Kusto.Language.Parsing.LexicalToken)-1|0;var offset=Kusto.Language.Utils.ListExtensions.BinarySearch(Bridge.global.Kusto.Language.Parsing.LexicalToken,this._code.LexerTokens,function(t){return position=t.End?-1:0});return offset>=0?offset:0},GetDiagnosticInfo:function(position,cancellationToken){var $t,builder=null,d,end;$t=Bridge.getEnumerator(this._code.GetDiagnostics(cancellationToken),Kusto.Language.Diagnostic);try{while($t.moveNext())d=$t.Current,end=d.End>d.Start?d.End:d.End+1|0,position>=d.Start&&position0&&builder.appendLine(),builder.append(d.Message))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return builder!=null?builder.toString():null}}});Bridge.define("Kusto.Language.Editor.KustoRelatedElementFinder",{statics:{methods:{AreSymbolsEqual:function(symbol,element,options){var canSee=(options&Kusto.Language.Editor.FindRelatedOptions.SeeThroughVariables)!=0,n,d;return(n=Bridge.as(element,Kusto.Language.Syntax.NameReference))!=null&&(Bridge.referenceEquals(n.ReferencedSymbol,symbol)||canSee&&Bridge.referenceEquals(n.ReferencedSymbol,Kusto.Language.Symbols.Symbol.GetExpressionResultType(symbol)))||(d=Bridge.as(element,Kusto.Language.Syntax.NameDeclaration))!=null&&(Bridge.referenceEquals(d.ReferencedSymbol,symbol)||canSee&&Bridge.referenceEquals(Kusto.Language.Symbols.Symbol.GetExpressionResultType(d.ReferencedSymbol),symbol))}}},fields:{_code:null},ctors:{ctor:function(code){this.$initialize();this._code=code}},methods:{FindRelatedElements:function(position,options){var token,prev,elements,current,currentIndex;return(options===void 0&&(options=0),token=this._code.Syntax.GetTokenAt(position),token==null||position>token.TriviaStart&&position<(token.TextStart-1|0))?Kusto.Language.Editor.RelatedInfo.Empty:(prev=token!=null?token.GetPreviousToken():null,position===token.TriviaStart&&(token.Trivia.length>0||prev!=null&&this.IsRelatable(prev)&&!this.IsRelatable(token))&&(token=token.GetPreviousToken()),token==null)?Kusto.Language.Editor.RelatedInfo.Empty:(elements=new(System.Collections.Generic.List$1(Kusto.Language.Editor.RelatedElement).ctor),this.IsBracket(token)?this.GetRelatedBrackets(token,elements):this.IsNameReferenceOrDeclaration(token)&&this.GetRelatedNameReferencesAndDeclarations(token,elements,options),elements.Count>1&&(current=System.Linq.Enumerable.from(elements).firstOrDefault(function(r){return r.Start===token.TextStart},null),current!=null))?(currentIndex=elements.indexOf(current),new Kusto.Language.Editor.RelatedInfo(elements,currentIndex)):Kusto.Language.Editor.RelatedInfo.Empty},IsRelatable:function(token){return this.IsBracket(token)||this.IsNameReferenceOrDeclaration(token)},IsBracket:function(token){switch(token.Text){case"{":case"}":case"[":case"]":case"(":case")":return!0;default:return!1}},GetRelatedBrackets:function(token,elements){switch(token.Text){case"{":this.GetNextTokenReference(token,"}",elements);break;case"}":this.GetPreviousTokenReference(token,"{",elements);break;case"(":this.GetNextTokenReference(token,")",elements);break;case")":this.GetPreviousTokenReference(token,"(",elements);break;case"[":this.GetNextTokenReference(token,"]",elements);break;case"]":this.GetPreviousTokenReference(token,"[",elements)}},GetNextTokenReference:function(token,matchingText,elements){for(var child,t,parent=token.Parent,index=parent.GetChildIndex(token),i=index+1|0;i=0;i=i-1|0)if(child=parent.GetChild(i),(t=Bridge.as(child,Kusto.Language.Syntax.SyntaxToken))!=null&&Bridge.referenceEquals(t.Text,matchingText)){elements.add(new Kusto.Language.Editor.RelatedElement.ctor(t.TextStart,t.Text.length,Kusto.Language.Editor.RelatedElementKind.Syntax));elements.add(new Kusto.Language.Editor.RelatedElement.ctor(token.TextStart,token.Text.length,Kusto.Language.Editor.RelatedElementKind.Syntax));return}},IsNameReferenceOrDeclaration:function(token){return Bridge.is(token.Parent,Kusto.Language.Syntax.NameReference)||Bridge.is(token.Parent,Kusto.Language.Syntax.NameDeclaration)},GetRelatedNameReferencesAndDeclarations:function(token,elements,options){var symbol=token.Parent.ReferencedSymbol;symbol!=null&&this._code.Syntax.WalkElements(function(e){if(Kusto.Language.Editor.KustoRelatedElementFinder.AreSymbolsEqual(symbol,e,options)){var kind=new Kusto.Language.Editor.RelatedElementKind;kind=Bridge.is(e,Kusto.Language.Syntax.NameDeclaration)?Kusto.Language.Editor.RelatedElementKind.Declaration:Bridge.is(e,Kusto.Language.Syntax.NameReference)?Kusto.Language.Editor.RelatedElementKind.Reference:Kusto.Language.Editor.RelatedElementKind.Other;elements.add(new Kusto.Language.Editor.RelatedElement.$ctor1(e.TextStart,e.Width,kind,e.TextStart,e.TextStart))}})}}});Bridge.define("Kusto.Language.Editor.OutlineInfo",{statics:{fields:{Empty:null},ctors:{init:function(){this.Empty=new Kusto.Language.Editor.OutlineInfo(null)}}},props:{Ranges:null},ctors:{ctor:function(ranges){this.$initialize();this.Ranges=ranges||Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.OutlineRange).Instance}}});Bridge.define("Kusto.Language.Editor.OutlineRange",{props:{Start:0,Length:0,CollapsedText:null},ctors:{ctor:function(start,length,collapsedText){var $t;this.$initialize();this.Start=start;this.Length=length;this.CollapsedText=($t=collapsedText,$t!=null?$t:"")}}});Bridge.define("Kusto.Language.Editor.PlacementStyle",{$kind:"enum",statics:{fields:{None:0,NewLine:1,Smart:2}}});Bridge.define("Kusto.Language.Editor.QuickInfo",{statics:{fields:{Empty:null},ctors:{init:function(){this.Empty=new Kusto.Language.Editor.QuickInfo("")}}},props:{Text:null},ctors:{ctor:function(text){this.$initialize();this.Text=text}}});Bridge.define("Kusto.Language.Editor.RelatedElementKind",{$kind:"enum",statics:{fields:{Syntax:0,Reference:1,Declaration:2,Other:3}}});Bridge.define("Kusto.Language.Editor.RelatedInfo",{statics:{fields:{Empty:null},ctors:{init:function(){this.Empty=new Kusto.Language.Editor.RelatedInfo(Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.RelatedElement).Instance,0)}}},props:{Elements:null,CurrentIndex:0},ctors:{ctor:function(elements,currentIndex){this.$initialize();this.Elements=elements;this.CurrentIndex=currentIndex}},methods:{GetNextIndex:function(index){return index<(System.Array.getCount(this.Elements,Kusto.Language.Editor.RelatedElement)-1|0)?index+1|0:0},GetPreviousIndex:function(index){return index>0?index-1|0:System.Array.getCount(this.Elements,Kusto.Language.Editor.RelatedElement)-1|0}}});Bridge.define("Kusto.Language.FunctionHelpers",{statics:{fields:{MaxRepeat:0},ctors:{init:function(){this.MaxRepeat=32767}},methods:{MakePrefixedTuple:function(signature,parameterName,args,baseTuple){var $t,$t1,$t2,functionPrefix=($t=Bridge.cast(signature.Symbol,Kusto.Language.Symbols.FunctionSymbol).ResultNamePrefix,$t!=null?$t:signature.Symbol.Name),argumentPrefix=($t1=($t2=Kusto.Language.FunctionHelpers.GetReferencedColumn(signature,parameterName,args))!=null?$t2.Name:null,$t1!=null?$t1:"");return new Kusto.Language.Symbols.TupleSymbol.$ctor1(System.Linq.Enumerable.from(baseTuple.Columns).select(function(c){return new Kusto.Language.Symbols.ColumnSymbol(Kusto.Language.FunctionHelpers.GetPrefixedName(functionPrefix,argumentPrefix,c.Name),c.Type)}))},GetPrefixedName:function(functionPrefix,argumentPrefix,name){return functionPrefix!=null&&argumentPrefix!=null?System.String.format("{0}_{1}_{2}",functionPrefix,argumentPrefix,name):functionPrefix!=null?System.String.format("{0}_{1}",functionPrefix,name):argumentPrefix!=null?System.String.format("{0}_{1}",argumentPrefix,name):name},AddReferencedColumns:function(columns,signature,parameterName,args,type){var argIndex,arg,c;type===void 0&&(type=null);var parameter=signature.GetParameter$2(parameterName),start={},length={};for(signature.GetArgumentRange(parameter,args,start,length),argIndex=start.v;argIndex>=0&&argIndex<(start.v+length.v|0);argIndex=argIndex+1|0)arg=System.Array.getItem(args,argIndex,Kusto.Language.Syntax.Expression),(c=Bridge.as(arg.ReferencedSymbol,Kusto.Language.Symbols.ColumnSymbol))!=null&&(type==null||Bridge.referenceEquals(c.Type,type)||(c=new Kusto.Language.Symbols.ColumnSymbol(c.Name,type)),columns.add(c))},AddReferencedColumn:function(columns,signature,parameterName,args,name,type){var parameter,argIndex,arg,c;name===void 0&&(name=null);type===void 0&&(type=null);parameter=signature.GetParameter$2(parameterName);argIndex=signature.GetArgumentIndex(parameter,args);argIndex>=0&&argIndex=0&&argIndex=0&&argIndex0){var op=System.Array.getItem(args,0,Kusto.Language.Syntax.Expression).GetFirstAncestorOrSelf(Kusto.Language.Syntax.SummarizeOperator);if(op!=null&&op.ByClause!=null)return Kusto.Language.FunctionHelpers.GetColumnSymbols(op.ByClause.Expressions)}return Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.ColumnSymbol).Instance},GetColumnSymbols:function(exprs){for(var expr,sn,c,symbols=null,i=0;i=text.length)?"":(quote=text.charCodeAt(start),start=start+1|0,end>0&&text.charCodeAt(end-1|0)===quote&&(end=end-1|0),end<=start?"":!verbatim&&System.String.indexOf(text,String.fromCharCode(92),start)>=start?Kusto.Language.KustoFacts.DecodeEscapes(text,start,end-start|0):verbatim&&Kusto.Language.KustoFacts.HasInteriorQuote(text,start,end,quote)?Kusto.Language.KustoFacts.DecodeDoubleQuotes(text,start,end-start|0,quote):start>0||end=0&&position=97&&ch<=102)value=value.shl(4).add(System.Int64(ch-97|0));else if(ch>=65&&ch<=70)value=value.shl(4).add(System.Int64(ch-65|0));else if(ch>=48&&ch<=57)value=value.shl(4).add(System.Int64(ch-48|0));else break;return System.Int64.clipu16(value)},DecodeDoubleQuotes:function(text,start,length,quote){for(var ch,builder=new System.Text.StringBuilder,i=start,end=start+length|0;i0&&(start=hostNamePrefixStart+Kusto.Language.KustoFacts.HostNamePrefix.length|0,colon=System.String.indexOf(clusterUriOrName,String.fromCharCode(58),start),colon>=0&&(end=colon)),start===0&&end===clusterUriOrName.length?clusterUriOrName:clusterUriOrName.substr(start,end-start|0)},Matches:function(pattern,text){if(pattern==null)throw new System.ArgumentNullException.$ctor1("pattern");if(text==null)throw new System.ArgumentNullException.$ctor1("text");return pattern.length===0?!1:Kusto.Language.KustoFacts.Matches$1(pattern,0,text,0)},Matches$1:function(pattern,patternSegmentStart,text,textPosition){for(var asteriskPosition=System.String.indexOf(pattern,String.fromCharCode(42),patternSegmentStart),sawAsterisk=asteriskPosition>=0,patternSegmentEnd=sawAsterisk?asteriskPosition:pattern.length,nextPatternStart,patternSegmentLength,matchesPosition;sawAsterisk&&(asteriskPosition+1|0)=pattern.length?!0:Kusto.Language.KustoFacts.Matches$1(pattern,nextPatternStart,text,textPosition):patternSegmentStart===0?sawAsterisk?patternSegmentLength>text.length||System.String.compare(text.substr(0,patternSegmentLength),pattern.substr(0,patternSegmentLength))!==0?!1:Kusto.Language.KustoFacts.Matches$1(pattern,nextPatternStart,text,patternSegmentLength):text.length===patternSegmentLength&&System.String.compare(text.substr(0,patternSegmentLength),pattern.substr(0,patternSegmentLength))===0:sawAsterisk?(matchesPosition=Kusto.Language.KustoFacts.IndexOf(text,textPosition,pattern,patternSegmentStart,patternSegmentLength),matchesPosition===-1)?!1:Kusto.Language.KustoFacts.Matches$1(pattern,nextPatternStart,text,matchesPosition+patternSegmentLength|0):patternSegmentLength<=(text.length-textPosition|0)&&System.String.compare(text.substr(text.length-patternSegmentLength|0,patternSegmentLength),pattern.substr(patternSegmentStart,patternSegmentLength))===0},IndexOf:function(text,textStart,value,valueStart,valueLength){for(var firstChar=value.charCodeAt(valueStart),firstCharPosition;;){if(firstCharPosition=System.String.indexOf(text,String.fromCharCode(firstChar),textStart),firstCharPositiontext.length)return-1;if(System.String.compare(text.substr(firstCharPosition,valueLength),value.substr(valueStart,valueLength))===0)return firstCharPosition;textStart=firstCharPosition+1|0}}}}});Bridge.define("Kusto.Language.Operators",{statics:{fields:{DateAndTimespan:null,StringOrDynamic:null,DynamicAddable:null,UnaryMinus:null,UnaryPlus:null,And:null,Or:null,Add:null,Subtract:null,Multiply:null,Divide:null,Modulo:null,LessThan:null,LessThanOrEqual:null,GreaterThan:null,GreaterThanOrEqual:null,Equal:null,NotEqual:null,EqualTilde:null,BangTilde:null,Has:null,HasCs:null,NotHas:null,NotHasCs:null,HasPrefix:null,HasPrefixCs:null,NotHasPrefix:null,NotHasPrefixCs:null,HasSuffix:null,HasSuffixCs:null,NotHasSuffix:null,NotHasSuffixCs:null,Like:null,LikeCs:null,NotLike:null,NotLikeCs:null,Contains:null,ContainsCs:null,NotContains:null,NotContainsCs:null,StartsWith:null,StartsWithCs:null,NotStartsWith:null,NotStartsWithCs:null,EndsWith:null,EndsWithCs:null,NotEndsWith:null,NotEndsWithCs:null,MatchRegex:null,Search:null,In:null,InCs:null,NotIn:null,NotInCs:null,Between:null,NotBetween:null},props:{All:null},ctors:{init:function(){this.DateAndTimespan=System.Array.init([Kusto.Language.Symbols.ScalarTypes.DateTime,Kusto.Language.Symbols.ScalarTypes.TimeSpan],Kusto.Language.Symbols.ScalarSymbol);this.StringOrDynamic=System.Array.init([Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ScalarTypes.Dynamic],Kusto.Language.Symbols.ScalarSymbol);this.DynamicAddable=System.Array.init([Kusto.Language.Symbols.ScalarTypes.Int,Kusto.Language.Symbols.ScalarTypes.Long,Kusto.Language.Symbols.ScalarTypes.Real,Kusto.Language.Symbols.ScalarTypes.Decimal,Kusto.Language.Symbols.ScalarTypes.TimeSpan,Kusto.Language.Symbols.ScalarTypes.DateTime],Kusto.Language.Symbols.ScalarSymbol);this.UnaryMinus=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.UnaryMinus,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("operand",Kusto.Language.Symbols.ParameterTypeKind.Summable)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("operand",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.UnaryPlus=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.UnaryPlus,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("operand",Kusto.Language.Symbols.ParameterTypeKind.Summable)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("operand",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.And=Kusto.Language.Operators.Binary(Kusto.Language.Symbols.OperatorKind.And,Kusto.Language.Symbols.ScalarTypes.Bool,Kusto.Language.Symbols.ScalarTypes.Bool,Kusto.Language.Symbols.ScalarTypes.Bool);this.Or=Kusto.Language.Operators.Binary(Kusto.Language.Symbols.OperatorKind.Or,Kusto.Language.Symbols.ScalarTypes.Bool,Kusto.Language.Symbols.ScalarTypes.Bool,Kusto.Language.Symbols.ScalarTypes.Bool);this.Add=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Add,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Widest,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor4("left",Kusto.Language.Operators.DateAndTimespan),new Kusto.Language.Symbols.Parameter.$ctor4("right",Kusto.Language.Operators.DateAndTimespan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Int)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Int),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter1,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor4("right",Kusto.Language.Operators.DynamicAddable)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.$ctor4("left",Kusto.Language.Operators.DynamicAddable),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.Subtract=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Subtract,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Widest,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Int)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Int),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter1,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor4("right",Kusto.Language.Operators.DynamicAddable)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.$ctor4("left",Kusto.Language.Operators.DynamicAddable),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.Multiply=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Multiply,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Widest,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Int)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Int),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter1,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.Divide=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Divide,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Widest,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Real,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Int)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Int),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter1,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.Modulo=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Modulo,[new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Widest,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.TimeSpan,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.DateTime,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Dynamic,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Int)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Long,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Int),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter1,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Parameter0,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.LessThan=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.LessThan,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.LessThanOrEqual=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.LessThanOrEqual,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.GreaterThan=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.GreaterThan,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.GreaterThanOrEqual=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.GreaterThanOrEqual,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.TimeSpan),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.DateTime)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.Dynamic)])]);this.Equal=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Equal,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Scalar)]).Hide(),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.NotBool),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Scalar)])]);this.NotEqual=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.NotEqual,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("left",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Scalar)]).Hide(),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.NotBool),new Kusto.Language.Symbols.Parameter.ctor("right",Kusto.Language.Symbols.ParameterTypeKind.Scalar)])]);this.EqualTilde=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.EqualTilde);this.BangTilde=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.BangTilde);this.Has=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.Has);this.HasCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.HasCs);this.NotHas=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotHas);this.NotHasCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotHasCs);this.HasPrefix=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.HasPrefix);this.HasPrefixCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.HasPrefixCs);this.NotHasPrefix=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotHasPrefix);this.NotHasPrefixCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotHasPrefixCs);this.HasSuffix=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.HasSuffix);this.HasSuffixCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.HasSuffixCs);this.NotHasSuffix=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotHasSuffix);this.NotHasSuffixCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotHasSuffixCs);this.Like=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.Like);this.LikeCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.LikeCs);this.NotLike=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotLike);this.NotLikeCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotLikeCs);this.Contains=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.Contains);this.ContainsCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.ContainsCs);this.NotContains=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotContains);this.NotContainsCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotContainsCs);this.StartsWith=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.StartsWith);this.StartsWithCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.StartsWithCs);this.NotStartsWith=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotStartsWith);this.NotStartsWithCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotStartsWithCs);this.EndsWith=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.EndsWith);this.EndsWithCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.EndsWithCs);this.NotEndsWith=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotEndsWith);this.NotEndsWithCs=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.NotEndsWithCs);this.MatchRegex=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.MatchRegex);this.Search=Kusto.Language.Operators.StringBinary(Kusto.Language.Symbols.OperatorKind.Search);this.In=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.In,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.NotRealOrBool),new Kusto.Language.Symbols.Parameter.ctor("table",Kusto.Language.Symbols.ParameterTypeKind.SingleColumnTable)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.Parameter.$ctor3("value",Kusto.Language.Symbols.ScalarTypes.Bool,0,void 0,void 0,!1,void 0,1,32767,void 0)]).Hide(),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.NotRealOrBool),new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,1,32767,void 0)])]);this.InCs=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.InCs,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor4("value",Kusto.Language.Operators.StringOrDynamic),new Kusto.Language.Symbols.Parameter.ctor("table",Kusto.Language.Symbols.ParameterTypeKind.SingleColumnTable)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor4("value",Kusto.Language.Operators.StringOrDynamic),new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,1,32767,void 0)])]);this.NotIn=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.NotIn,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.NotRealOrBool),new Kusto.Language.Symbols.Parameter.ctor("table",Kusto.Language.Symbols.ParameterTypeKind.SingleColumnTable)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Bool),new Kusto.Language.Symbols.Parameter.$ctor3("value",Kusto.Language.Symbols.ScalarTypes.Bool,0,void 0,void 0,!1,void 0,1,32767,void 0)]).Hide(),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.NotRealOrBool),new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,1,32767,void 0)])]);this.NotInCs=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.NotInCs,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor4("value",Kusto.Language.Operators.StringOrDynamic),new Kusto.Language.Symbols.Parameter.ctor("table",Kusto.Language.Symbols.ParameterTypeKind.SingleColumnTable)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor4("value",Kusto.Language.Operators.StringOrDynamic),new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,1,32767,void 0)])]);this.Between=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.Between,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("start",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("start",Kusto.Language.Symbols.ParameterTypeKind.Parameter0),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Parameter0)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("start",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("end",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("start",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Parameter1)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("start",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Parameter1)])]);this.NotBetween=new Kusto.Language.Symbols.OperatorSymbol.ctor(Kusto.Language.Symbols.OperatorKind.NotBetween,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("start",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Number)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("start",Kusto.Language.Symbols.ParameterTypeKind.Parameter0),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Parameter0)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("start",Kusto.Language.Symbols.ScalarTypes.DateTime),new Kusto.Language.Symbols.Parameter.$ctor2("end",Kusto.Language.Symbols.ScalarTypes.TimeSpan)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("value",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.$ctor2("start",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Parameter1)]),new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.$ctor2("value",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.Parameter.ctor("start",Kusto.Language.Symbols.ParameterTypeKind.Number),new Kusto.Language.Symbols.Parameter.ctor("end",Kusto.Language.Symbols.ParameterTypeKind.Parameter1)])]);this.All=System.Array.init([Kusto.Language.Operators.UnaryMinus,Kusto.Language.Operators.UnaryPlus,Kusto.Language.Operators.And,Kusto.Language.Operators.Or,Kusto.Language.Operators.Add,Kusto.Language.Operators.Subtract,Kusto.Language.Operators.Multiply,Kusto.Language.Operators.Divide,Kusto.Language.Operators.Modulo,Kusto.Language.Operators.LessThan,Kusto.Language.Operators.LessThanOrEqual,Kusto.Language.Operators.GreaterThan,Kusto.Language.Operators.GreaterThanOrEqual,Kusto.Language.Operators.Equal,Kusto.Language.Operators.NotEqual,Kusto.Language.Operators.EqualTilde,Kusto.Language.Operators.BangTilde,Kusto.Language.Operators.Has,Kusto.Language.Operators.HasCs,Kusto.Language.Operators.NotHas,Kusto.Language.Operators.NotHasCs,Kusto.Language.Operators.HasPrefix,Kusto.Language.Operators.HasPrefixCs,Kusto.Language.Operators.NotHasPrefix,Kusto.Language.Operators.NotHasPrefixCs,Kusto.Language.Operators.HasSuffix,Kusto.Language.Operators.HasSuffixCs,Kusto.Language.Operators.NotHasSuffix,Kusto.Language.Operators.NotHasSuffixCs,Kusto.Language.Operators.Like,Kusto.Language.Operators.LikeCs,Kusto.Language.Operators.NotLike,Kusto.Language.Operators.NotLikeCs,Kusto.Language.Operators.Contains,Kusto.Language.Operators.ContainsCs,Kusto.Language.Operators.NotContains,Kusto.Language.Operators.NotContainsCs,Kusto.Language.Operators.StartsWith,Kusto.Language.Operators.StartsWithCs,Kusto.Language.Operators.NotStartsWith,Kusto.Language.Operators.NotStartsWithCs,Kusto.Language.Operators.EndsWith,Kusto.Language.Operators.EndsWithCs,Kusto.Language.Operators.NotEndsWith,Kusto.Language.Operators.NotEndsWithCs,Kusto.Language.Operators.MatchRegex,Kusto.Language.Operators.Search,Kusto.Language.Operators.In,Kusto.Language.Operators.InCs,Kusto.Language.Operators.NotIn,Kusto.Language.Operators.NotInCs,Kusto.Language.Operators.Between,Kusto.Language.Operators.NotBetween],Kusto.Language.Symbols.OperatorSymbol)}},methods:{Binary:function(kind,left,right,result){return new Kusto.Language.Symbols.OperatorSymbol.ctor(kind,[new Kusto.Language.Symbols.Signature.$ctor7(result,[new Kusto.Language.Symbols.Parameter.$ctor2("left",left),new Kusto.Language.Symbols.Parameter.$ctor2("right",right)])])},StringBinary:function(kind){return new Kusto.Language.Symbols.OperatorSymbol.ctor(kind,[new Kusto.Language.Symbols.Signature.$ctor7(Kusto.Language.Symbols.ScalarTypes.Bool,[new Kusto.Language.Symbols.Parameter.ctor("left",Kusto.Language.Symbols.ParameterTypeKind.StringOrDynamic),new Kusto.Language.Symbols.Parameter.$ctor2("right",Kusto.Language.Symbols.ScalarTypes.String)])])}}}});Bridge.define("Kusto.Language.Parsing.ApplyKind",{$kind:"enum",statics:{fields:{One:0,ZeroOrOne:1,ZeroOrMore:2}}});Bridge.define("Kusto.Language.Parsing.Parser$1",function(TInput){return{fields:{description:null},props:{Tag:null,Annotations:null,Description:{get:function(){return this.description==null&&(this.description=this.Tag==null?Kusto.Language.Parsing.GrammarBuilder.BuildGrammar(TInput,this):Kusto.Language.Parsing.GrammarBuilder.BuildGrammar(TInput,this.WithTag(null))),this.description}},IsHidden:!1,IsOptional:{get:function(){return!1}}},ctors:{init:function(){this.Tag="";this.Annotations=Kusto.Language.Utils.EmptyReadOnlyList$1(System.Object).Instance;this.IsHidden=!1}},methods:{WithTag:function(tag){var $t,clone;return tag=($t=tag,$t!=null?$t:""),Bridge.referenceEquals(tag,this.Tag)?this:(clone=this.Clone(),clone.Tag=tag,clone.Annotations=this.Annotations,clone.IsHidden=this.IsHidden,clone)},WithAnnotations:function(annotations){var list=Kusto.Language.Utils.ListExtensions.ToReadOnly(System.Object,annotations),clone;return Bridge.referenceEquals(this.Annotations,list)?this:(clone=this.Clone(),clone.Annotations=list,clone.Tag=this.Tag,clone.IsHidden=this.IsHidden,clone)},WithIsHidden:function(isHidden){if(isHidden!==this.IsHidden){var clone=this.Clone();return clone.IsHidden=isHidden,clone.Tag=this.Tag,clone.Annotations=this.Annotations,clone}return this},Hide:function(){return this.WithIsHidden(!0)},Search$1:function(input,inputStart,prevWasMissing,action){return Kusto.Language.Parsing.SafeSearcher.SearchSafe(TInput,this,input,inputStart,prevWasMissing,action)},Search:function(source,action){return this.Search$1(source,0,!1,action)}}}});Bridge.define("Kusto.Language.Parsing.Source$1",function(){return{}});Bridge.define("Kusto.Language.Parsing.CharScanners",{statics:{fields:{Letter:null,Digit:null,HexDigit:null,Whitespace:null,LineBreak:null},ctors:{init:function(){this.Letter=Kusto.Language.Parsing.Parsers$1(System.Char).Match$1(Kusto.Language.Parsing.TextFacts.IsLetter).WithTag("");this.Digit=Kusto.Language.Parsing.Parsers$1(System.Char).Match$1(Kusto.Language.Parsing.TextFacts.IsDigit).WithTag("");this.HexDigit=Kusto.Language.Parsing.Parsers$1(System.Char).Match$1(Kusto.Language.Parsing.TextFacts.IsHexDigit).WithTag("");this.Whitespace=Kusto.Language.Parsing.Parsers$1(System.Char).Match$1(Kusto.Language.Parsing.TextFacts.IsWhitespace).WithTag("");this.LineBreak=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(13),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(10))]),Kusto.Language.Parsing.CharScanners.Char(10),Kusto.Language.Parsing.CharScanners.Char(8232),Kusto.Language.Parsing.CharScanners.Char(8233)]).WithTag("")}},methods:{Chars:function(text,ignoreCase){if(ignoreCase===void 0&&(ignoreCase=!1),ignoreCase){var lower=text.toLowerCase(),upper=text.toUpperCase();return Kusto.Language.Parsing.Parsers$1(System.Char).Match(function(source,start){var textSource=Bridge.as(source,Kusto.Language.Parsing.TextSource),ts,i,ch;if((ts=Bridge.as(source,Kusto.Language.Parsing.TextSource))!=null)return ts.Matches$1(start,text,!0)?text.length:-1;for(i=0;i"),badCommand=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Command,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),function(dot){return Bridge.cast(new Kusto.Language.Syntax.BadCommand(dot,System.Array.init([Kusto.Language.DiagnosticFacts.GetMissingCommand()],Kusto.Language.Diagnostic)),Kusto.Language.Syntax.Command)}).WithTag$1(""),grammarParser=Kusto.Language.Parsing.CommandGrammar.GetCommandGrammarParser(globals),commandParsers=System.Linq.Enumerable.from(globals.Commands).select(function(c){return Kusto.Language.Parsing.CommandGrammar.CreateCommandParser(c,grammarParser)}).ToArray(Kusto.Language.Parsing.Parser$2(Kusto.Language.Parsing.LexicalToken,Kusto.Language.Syntax.Command)),map=System.Linq.Enumerable.range(0,commandParsers.length).toDictionary(function(i){return System.Array.getItem(globals.Commands,i,Kusto.Language.Symbols.CommandSymbol)},function(i){return commandParsers[System.Array.index(i,commandParsers)]},Bridge.global.Kusto.Language.Symbols.CommandSymbol,Bridge.global.Kusto.Language.Parsing.Parser$2(Kusto.Language.Parsing.LexicalToken,Kusto.Language.Syntax.Command)),command=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Command,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Best$1(Bridge.global.Kusto.Language.Syntax.Command,commandParsers),unknownCommand,badCommand]).WithTag$1(""),commandInputItem=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxNode,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.SyntaxNode,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),command.Cast(Kusto.Language.Syntax.SyntaxNode)),q.StatementList.Cast(Kusto.Language.Syntax.SyntaxNode)]),commandInputExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,command.Cast(Kusto.Language.Syntax.Expression),function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxNode,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LessThanBarToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxNode,commandInputItem,function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingExpression(),Kusto.Language.Syntax.SyntaxNode)}),function(cmd,op,expr){return Bridge.cast(new Kusto.Language.Syntax.CommandInputExpression(Bridge.cast(cmd,Kusto.Language.Syntax.Command),op,expr),Kusto.Language.Syntax.Expression)}).WithTag("")}),commandOutputPipeExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,commandInputExpression,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BarToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.QueryOperator,q.FollowingPipeElementExpression,Kusto.Language.Parsing.QueryGrammar.MissingQueryOperator),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.PipeExpression(left,op,right),Kusto.Language.Syntax.Expression)}).WithTag("")}),commandStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Statement,commandOutputPipeExpression,function(cmd){return Bridge.cast(new Kusto.Language.Syntax.ExpressionStatement(cmd),Kusto.Language.Syntax.Statement)}),commandBlock=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),Bridge.global.Kusto.Language.Syntax.SkippedTokens,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.CommandBlock,Kusto.Language.Parsing.SyntaxParsers.SeparatedList(Bridge.global.Kusto.Language.Syntax.Statement,commandStatement,q.Statement,Kusto.Language.Syntax.SyntaxKind.SemicolonToken,Kusto.Language.Parsing.CommandGrammar.MissingCommandStatementNode,!0,!0),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SkippedTokens,q.SkippedTokens),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EndOfTextToken)),function(cmd,skipped,end){return new Kusto.Language.Syntax.CommandBlock(cmd,skipped,end)});return new Kusto.Language.Parsing.CommandGrammar(commandBlock,map)},CreateCommandParser:function(symbol,commandGrammarParser){var commandParser=null,customParser;try{customParser=Kusto.Language.Parsing.ParserExtensions.Parse(Bridge.global.Kusto.Language.Parsing.Parser$2(Kusto.Language.Parsing.LexicalToken,Kusto.Language.Syntax.SyntaxElement),commandGrammarParser,symbol.Grammar).Value;customParser!=null&&(commandParser=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxElement,Bridge.global.Kusto.Language.Syntax.Command,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),customParser,function(dot,custom){return Bridge.cast(new Kusto.Language.Syntax.CustomCommand(symbol.Name,dot,custom),Kusto.Language.Syntax.Command)}).WithTag$1(System.String.format("<{0}>",[symbol.Name])))}finally{}return commandParser||Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.Command,function(){return!1},function(){return null})},IsHex:function(text){return System.Linq.Enumerable.from(text).all(function(c){return Kusto.Language.Parsing.TextFacts.IsHexDigit(c)})},GetCompletionKind:function(textAndOffset){if(textAndOffset.Offset===0)return Kusto.Language.Editor.CompletionKind.CommandPrefix;var kind={v:new Kusto.Language.Syntax.SyntaxKind};if(Kusto.Language.Syntax.SyntaxFacts.TryGetKind(textAndOffset.Value,kind))switch(Kusto.Language.Syntax.SyntaxFacts.GetCategory(kind.v)){case Kusto.Language.Syntax.SyntaxCategory.Punctuation:return Kusto.Language.Editor.CompletionKind.Punctuation;case Kusto.Language.Syntax.SyntaxCategory.Operator:return Kusto.Language.Editor.CompletionKind.ScalarInfix;case Kusto.Language.Syntax.SyntaxCategory.Literal:return Kusto.Language.Editor.CompletionKind.Literal;default:return Kusto.Language.Editor.CompletionKind.Keyword}else return Kusto.Language.Editor.CompletionKind.Keyword},GetCommandGrammarParser:function(globals){var cgp={};return globals.Cache.TryGetValue(Kusto.Language.Parsing.CommandGrammar.CommandGrammarParser,cgp)||(cgp.v=globals.Cache.GetOrCreate$1(Bridge.global.Kusto.Language.Parsing.CommandGrammar.CommandGrammarParser,function(){return new Kusto.Language.Parsing.CommandGrammar.CommandGrammarParser(Kusto.Language.Parsing.CommandGrammar.CreateCommandGrammarParser(globals))})),cgp.v.Parser},CreateCommandGrammarParser:function(globals){var q=Kusto.Language.Parsing.QueryGrammar.From(globals),StringName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Name,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.TokenName(token),Kusto.Language.Syntax.Name)}),GuidLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Convert$3(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return Kusto.Language.Parsing.CommandGrammar.IsHex(t.Text)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return t.Kind===Kusto.Language.Syntax.SyntaxKind.MinusToken&&t.Trivia.length===0}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return Kusto.Language.Parsing.CommandGrammar.IsHex(t.Text)&&t.Trivia.length===0})]))]),function(list){var text=System.String.concat(Bridge.toArray(System.Linq.Enumerable.from(list).select(function(e){return e.Text})));return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.GuidLiteralExpression,Kusto.Language.Syntax.SyntaxToken.Literal(System.Array.getItem(list,0,Kusto.Language.Parsing.LexicalToken).Trivia,text,Kusto.Language.Syntax.SyntaxKind.GuidLiteralToken)),Kusto.Language.Syntax.Expression)}).WithTag$1(""),Name=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Name,[q.IdentifierName,q.BrackettedName,q.BracedName,StringName]).WithTag$1(""),ColumnNameReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,Kusto.Language.Symbols.SymbolMatch.Column),Kusto.Language.Syntax.Expression)}),Kusto.Language.Editor.CompletionHint.Column).WithTag$1(""),TableNameReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,Kusto.Language.Symbols.SymbolMatch.Table),Kusto.Language.Syntax.Expression)}),Kusto.Language.Editor.CompletionHint.Table).WithTag$1("
"),DatabaseNameReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,Kusto.Language.Symbols.SymbolMatch.Database),Kusto.Language.Syntax.Expression)}),Kusto.Language.Editor.CompletionHint.Database).WithTag$1(""),ClusterNameReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,Kusto.Language.Symbols.SymbolMatch.Cluster),Kusto.Language.Syntax.Expression)}),Kusto.Language.Editor.CompletionHint.Cluster).WithTag$1(""),DatabaseFunctionNameReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,Kusto.Language.Symbols.SymbolMatch.Function),Kusto.Language.Syntax.Expression)}),Kusto.Language.Editor.CompletionHint.DatabaseFunction).WithTag$1(""),DatabaseOrTableReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,18),Kusto.Language.Syntax.Expression)}),49152).WithTag$1(""),DatabaseTableNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,DatabaseOrTableReference,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token$3(".").Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,TableNameReference,Kusto.Language.Parsing.QueryGrammar.MissingNameReference),function(expr,dot,selector){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(expr,dot,selector),Kusto.Language.Syntax.Expression)})}).WithTag$1(""),DatabaseOrTableOrColumnReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,19),Kusto.Language.Syntax.Expression)}),57344).WithTag$1(""),DatabaseTableColumnNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,DatabaseOrTableOrColumnReference,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token$3(".").Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,DatabaseOrTableOrColumnReference,Kusto.Language.Parsing.QueryGrammar.MissingNameReference),function(expr,dot,selector){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(expr,dot,selector),Kusto.Language.Syntax.Expression)})}).WithTag$1(""),TableOrColumnReference=Kusto.Language.Parsing.SyntaxParsers.WithCompletionHint(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Name,Bridge.global.Kusto.Language.Syntax.Expression,Name,function(name){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(name,3),Kusto.Language.Syntax.Expression)}),24576).WithTag$1(""),TableColumnNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,TableOrColumnReference,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token$3(".").Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,TableOrColumnReference,Kusto.Language.Parsing.QueryGrammar.MissingNameReference),function(expr,dot,selector){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(expr,dot,selector),Kusto.Language.Syntax.Expression)})}).WithTag$1(""),KustoStringLiteralInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(q.StringLiteral.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Literal,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingStringLiteral(),Kusto.Language.Syntax.SyntaxElement)}),KustoGuidLiteralInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(GuidLiteral.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Literal,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingValue(),Kusto.Language.Syntax.SyntaxElement)}),KustoValueInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxElement,[GuidLiteral.Cast(Kusto.Language.Syntax.SyntaxElement),q.Literal.Cast(Kusto.Language.Syntax.SyntaxElement)]),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Literal,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingValue(),Kusto.Language.Syntax.SyntaxElement)}),KustoTypeInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(q.ParamTypeExtended.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Syntax,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingType(),Kusto.Language.Syntax.SyntaxElement)}),NameOrStringLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[q.SimpleNameDeclarationExpression,q.StringLiteral]),KustoNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(NameOrStringLiteral.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.None,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoColumnNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(ColumnNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Column,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoTableNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(TableNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Table,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoDatabaseNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(DatabaseNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Database,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoDatabaseTableNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(DatabaseTableNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Table,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoClusterNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(ClusterNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Cluster,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoFunctionNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(DatabaseFunctionNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Function),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoDatabaseTableColumnNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(DatabaseTableColumnNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Column,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoTableColumnNameInfo=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(TableColumnNameReference.Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Column,!1),function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameReference(),Kusto.Language.Syntax.SyntaxElement)}),KustoFunctionDeclaration=new Kusto.Language.Parsing.CommandGrammar.ParserInfo(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.FunctionParameters,Bridge.global.Kusto.Language.Syntax.FunctionBody,Bridge.global.Kusto.Language.Syntax.SyntaxElement,q.FunctionParameters,q.FunctionBody,function(p,b){return Bridge.cast(new Kusto.Language.Syntax.FunctionDeclaration(null,p,b),Kusto.Language.Syntax.SyntaxElement)}),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Syntax,!1),function(){return new Kusto.Language.Syntax.FunctionDeclaration(null,new Kusto.Language.Syntax.FunctionParameters(Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.FunctionParameter)).Empty(),Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken)),new Kusto.Language.Syntax.FunctionBody(Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)).Empty(),null,null,Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken)))}),grammar=Kusto.Language.Parsing.GrammarParser.Create(Bridge.global.Kusto.Language.Parsing.CommandGrammar.ParserInfo,function(_o1){return _o1.add("value",KustoValueInfo),_o1.add("type",KustoTypeInfo),_o1.add("string",KustoStringLiteralInfo),_o1.add("guid",KustoGuidLiteralInfo),_o1.add("name",KustoNameInfo),_o1.add("column",KustoColumnNameInfo),_o1.add("table_column",KustoTableColumnNameInfo),_o1.add("database_table_column",KustoDatabaseTableColumnNameInfo),_o1.add("table",KustoTableNameInfo),_o1.add("database_table",KustoDatabaseTableNameInfo),_o1.add("database",KustoDatabaseNameInfo),_o1.add("cluster",KustoClusterNameInfo),_o1.add("function",KustoFunctionNameInfo),_o1.add("function_declaration",KustoFunctionDeclaration),_o1}(new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Parsing.CommandGrammar.ParserInfo))),function(textAndOffset){return new Kusto.Language.Parsing.CommandGrammar.ParserInfo(Kusto.Language.Parsing.SyntaxParsers.Token$3(textAndOffset.Value,Kusto.Language.Parsing.CommandGrammar.GetCompletionKind(textAndOffset)).Cast(Kusto.Language.Syntax.SyntaxElement),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(Kusto.Language.Editor.CompletionHint.Syntax,!1),function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken$3(textAndOffset.Value)},!0)},function(elem){return new Kusto.Language.Parsing.CommandGrammar.ParserInfo(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxElement,elem.Parser),new Kusto.Language.Syntax.CustomElementDescriptor.ctor(elem.Element.CompletionHint,!0),elem.Missing)},function(elem){return new Kusto.Language.Parsing.CommandGrammar.ParserInfo(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxElement,elem.Parser,elem.Missing),elem.Element,elem.Missing)},function(elem,tag){return elem.WithElement(elem.Element.WithName(tag))},function(list){var i,t,p,parser;if(System.Array.getCount(list,Kusto.Language.Parsing.CommandGrammar.ParserInfo)===1)return System.Array.getItem(list,0,Kusto.Language.Parsing.CommandGrammar.ParserInfo);var shape=System.Linq.Enumerable.from(list).select(function(t){return t.Element}).ToArray(Kusto.Language.Syntax.CustomElementDescriptor),parsers=new(System.Collections.Generic.List$1(Kusto.Language.Parsing.Parser$1(Kusto.Language.Parsing.LexicalToken)).ctor),term=!0;for(i=0;i");TokenText=function(text){return Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.Parsers$1(System.Char).And(System.Linq.Enumerable.from(text).select(function(ch){return Kusto.Language.Parsing.CharScanners.Char(ch)}).ToArray(Kusto.Language.Parsing.Parser$1(System.Char))))};Token=function(text){return Kusto.Language.Parsing.Parsers$1(System.Char).Rule$1(System.Int32,System.String,System.String,WhitespaceCount,TokenText(text),function(ws,tx){return tx})};var rule=Kusto.Language.Parsing.Parsers$1(System.Char).Rule$2(System.String,System.String,System.String,TResult,Token("<"),Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Not(Token(">")))),Token(">"),function(open,name){var value={};if(rules["System$Collections$Generic$IReadOnlyDictionary$2$System$String$"+Bridge.getTypeAlias(TResult)+"$tryGetValue"](name,value))return value.v;throw new System.InvalidOperationException.$ctor1(System.String.format("Unknown rule <{0}>",[name]));}).WithTag$1(""),sequence=Kusto.Language.Parsing.Parsers$1(System.Char).Produce$1(TResult,TResult,Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(element),function(list){return System.Array.getCount(list,TResult)===0?System.Array.getItem(list,0,TResult):createSequence(list)}).WithTag$1(""),alternation=Kusto.Language.Parsing.Parsers$1(System.Char).SeparatedList$1(System.Object,TResult,sequence.Cast(System.Object),Token("|").Cast(System.Object),function(){return null},function(){return null},!1,!1,function(list){return System.Array.getCount(list,System.Object)>1?createAlternation(System.Linq.Enumerable.from(list).ofType(TResult).ToArray(TResult)):Bridge.cast(Bridge.unbox(System.Array.getItem(list,0,System.Object)),TResult)}).WithTag$1(""),separator=Kusto.Language.Parsing.Parsers$1(System.Char).Rule$1(System.String,TResult,TResult,Token(","),term,function(colon,word){return word}),repeatition=Kusto.Language.Parsing.Parsers$1(System.Char).Rule$4(System.String,TResult,TResult,System.String,System.String,TResult,Token("{"),alternation,Kusto.Language.Parsing.Parsers$1(System.Char).Optional$1(TResult,separator),Token("}"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional$1(System.String,Kusto.Language.Parsing.Parsers$1(System.Char).First$1(System.String,[Token("+"),Token("*")])),function(open,elem,sep,close,kind){var zeroOrMore=kind==null||Bridge.referenceEquals(kind,"*");return zeroOrMore?sep!=null?createZeroOrMoreSeparated(elem,sep):createZeroOrMore(elem):sep!=null?createOneOrMoreSeparated(elem,sep):createOneOrMore(elem)}).WithTag$1(""),grouped=Kusto.Language.Parsing.Parsers$1(System.Char).Rule$2(System.String,TResult,System.String,TResult,Token("("),alternation,Token(")"),function(open,parser){return parser}).WithTag$1(""),optional=Kusto.Language.Parsing.Parsers$1(System.Char).Rule$2(System.String,TResult,System.String,TResult,Token("["),alternation,Token("]"),function(open,tuplet){return createOptional(tuplet)}).WithTag$1(""),primaryElement=Kusto.Language.Parsing.Parsers$1(System.Char).First$1(TResult,[term,rule,grouped]).WithTag$1(""),postfixPrimary=Kusto.Language.Parsing.Parsers$1(System.Char).First$1(TResult,[optional,repeatition,Kusto.Language.Parsing.Parsers$1(System.Char).ApplyOptional(TResult,primaryElement,function(_left){return Kusto.Language.Parsing.Parsers$1(System.Char).First$2(TResult,[Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(TResult,System.String,TResult,_left,Token("!"),function(left){return createRequired(left)}).WithTag(""),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(TResult,System.String,TResult,_left,Token("?"),function(left){return createOptional(left)}).WithTag(""),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(TResult,System.String,TResult,_left,Token("*"),function(left){return createZeroOrMore(left)}).WithTag(""),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(TResult,System.String,TResult,_left,Token("+"),function(left){return createOneOrMore(left)}).WithTag("")])})]),taggedPrimary=Kusto.Language.Parsing.Parsers$1(System.Char).First$1(TResult,[Kusto.Language.Parsing.Parsers$1(System.Char).Rule$2(System.String,System.String,TResult,TResult,Identifier,Token("="),postfixPrimary,function(id,eq,elem){return createTagged(elem,id)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$2(System.String,System.String,TResult,TResult,StringLiteral,Token("="),postfixPrimary,function(str,eq,elem){return createTagged(elem,Kusto.Language.KustoFacts.GetStringLiteralValue(str))}),Kusto.Language.Parsing.Parsers$1(System.Char).ApplyOptional(TResult,postfixPrimary,function(_left){return Kusto.Language.Parsing.Parsers$1(System.Char).First$2(TResult,[Kusto.Language.Parsing.Parsers$1(System.Char).Rule$11(TResult,System.String,System.String,TResult,_left,Token(":"),Identifier,function(left,colon,id){return createTagged(left,id)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$11(TResult,System.String,System.String,TResult,_left,Token(":"),StringLiteral,function(left,colon,str){return createTagged(left,Kusto.Language.KustoFacts.GetStringLiteralValue(str))})])}).WithTag$1("")]);return elementCore=taggedPrimary,sequence}}}});Bridge.define("Kusto.Language.Parsing.IToken",{$kind:"interface"});Bridge.define("Kusto.Language.Parsing.LexicalGrammar",{statics:{fields:{Identifier:null,ClientParameter:null,SingleLineComment:null,Trivia:null,NonHexIntegerNumber:null,HexIntegerPrefix:null,HexIntegerNumber:null,LongLiteral:null,PlusOrMinus:null,Exponent:null,RealLiteral:null,Goo:null,PrefixedLongLiteral:null,PrefixedIntLiteral:null,PrefixedRealLiteral:null,PrefixedDecimalLiteral:null,PrefixedBooleanLiteral:null,BooleanLiteral:null,PrefixedDateTimeLiteral:null,PrefixedTimespanLiteral:null,TimespanLiteral:null,PrefixedGuidLiteral:null,TwoHexDigits:null,FourHexDigits:null,EightHexDigits:null,ZeroToThree:null,ZeroToSeven:null,Escape:null,HiddenPrefix:null,SingleQuoteStringLiteral:null,DoubleQuoteStringLiteral:null,Directive:null,KeywordOrPunctuationInfo:null,Token:null,EndOfText:null,TokenOrEnd:null,Tokens:null,TokensAndEnd:null},ctors:{init:function(){this.Identifier=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(36),Kusto.Language.Parsing.CharScanners.Char(95),Kusto.Language.Parsing.CharScanners.Letter]),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(95),Kusto.Language.Parsing.CharScanners.Letter,Kusto.Language.Parsing.CharScanners.Digit]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(Kusto.Language.Parsing.CharScanners.Digit),Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(95),Kusto.Language.Parsing.CharScanners.Letter]),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(95),Kusto.Language.Parsing.CharScanners.Letter,Kusto.Language.Parsing.CharScanners.Digit]))])]);this.ClientParameter=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(123),Kusto.Language.Parsing.LexicalGrammar.Identifier,Kusto.Language.Parsing.CharScanners.Char(125)]);this.SingleLineComment=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("//"),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.CharScanners.LineBreak))]);this.Trivia=Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(Kusto.Language.Parsing.CharScanners.Whitespace),Kusto.Language.Parsing.LexicalGrammar.SingleLineComment]));this.NonHexIntegerNumber=Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(Kusto.Language.Parsing.CharScanners.Digit);this.HexIntegerPrefix=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Chars("0x"),Kusto.Language.Parsing.CharScanners.Chars("0X")]);this.HexIntegerNumber=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.HexIntegerPrefix,Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(Kusto.Language.Parsing.CharScanners.HexDigit)]);this.LongLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.LexicalGrammar.NonHexIntegerNumber,Kusto.Language.Parsing.LexicalGrammar.HexIntegerNumber]);this.PlusOrMinus=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(43),Kusto.Language.Parsing.CharScanners.Char(45)]);this.Exponent=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(101),Kusto.Language.Parsing.CharScanners.Char(69)]),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.LexicalGrammar.PlusOrMinus),Kusto.Language.Parsing.Parsers$1(System.Char).OneOrMore(Kusto.Language.Parsing.CharScanners.Digit)]);this.RealLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.NonHexIntegerNumber,Kusto.Language.Parsing.CharScanners.Char(46),Kusto.Language.Parsing.Parsers$1(System.Char).Fails(Kusto.Language.Parsing.CharScanners.Char(46)),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.CharScanners.Digit),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.LexicalGrammar.Exponent)]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.NonHexIntegerNumber,Kusto.Language.Parsing.LexicalGrammar.Exponent])]);this.Goo=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(40),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.CharScanners.Char(41))),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(41))]);this.PrefixedLongLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("long"),Kusto.Language.Parsing.LexicalGrammar.Goo])]);this.PrefixedIntLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("int"),Kusto.Language.Parsing.LexicalGrammar.Goo])]);this.PrefixedRealLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("real"),Kusto.Language.Parsing.LexicalGrammar.Goo]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("double"),Kusto.Language.Parsing.LexicalGrammar.Goo])]);this.PrefixedDecimalLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("decimal"),Kusto.Language.Parsing.LexicalGrammar.Goo]);this.PrefixedBooleanLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("bool"),Kusto.Language.Parsing.LexicalGrammar.Goo]);this.BooleanLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Chars("true"),Kusto.Language.Parsing.CharScanners.Chars("false"),Kusto.Language.Parsing.CharScanners.Chars("TRUE"),Kusto.Language.Parsing.CharScanners.Chars("FALSE"),Kusto.Language.Parsing.CharScanners.Chars("True"),Kusto.Language.Parsing.CharScanners.Chars("False")]);this.PrefixedDateTimeLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("datetime"),Kusto.Language.Parsing.LexicalGrammar.Goo]);this.PrefixedTimespanLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("time"),Kusto.Language.Parsing.LexicalGrammar.Goo]);this.TimespanLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.NonHexIntegerNumber,Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(109),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("in"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Chars("ute"))]),Kusto.Language.Parsing.CharScanners.Chars("inutes")]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(115),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ec"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Chars("ond"))]),Kusto.Language.Parsing.CharScanners.Chars("econds")]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(100),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ay"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(104),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("our"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("hr"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))]),Kusto.Language.Parsing.CharScanners.Chars("ms"),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("milli"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("s"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ec"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ond"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))]))]))]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("micro"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("s"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ec"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ond"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))]))]))]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("nano"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("s"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ec"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("ond"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))]))]))]))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("tick"),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(115))])])]);this.PrefixedGuidLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("guid"),Kusto.Language.Parsing.LexicalGrammar.Goo]);this.TwoHexDigits=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.HexDigit,Kusto.Language.Parsing.CharScanners.HexDigit]);this.FourHexDigits=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.HexDigit,Kusto.Language.Parsing.CharScanners.HexDigit,Kusto.Language.Parsing.CharScanners.HexDigit,Kusto.Language.Parsing.CharScanners.HexDigit]);this.EightHexDigits=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.FourHexDigits,Kusto.Language.Parsing.LexicalGrammar.FourHexDigits]);this.ZeroToThree=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(48),Kusto.Language.Parsing.CharScanners.Char(49),Kusto.Language.Parsing.CharScanners.Char(50),Kusto.Language.Parsing.CharScanners.Char(51)]);this.ZeroToSeven=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.LexicalGrammar.ZeroToThree,Kusto.Language.Parsing.CharScanners.Char(52),Kusto.Language.Parsing.CharScanners.Char(53),Kusto.Language.Parsing.CharScanners.Char(54),Kusto.Language.Parsing.CharScanners.Char(55)]);this.Escape=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(92),Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(39),Kusto.Language.Parsing.CharScanners.Char(34),Kusto.Language.Parsing.CharScanners.Char(92),Kusto.Language.Parsing.CharScanners.Char(97),Kusto.Language.Parsing.CharScanners.Char(98),Kusto.Language.Parsing.CharScanners.Char(102),Kusto.Language.Parsing.CharScanners.Char(110),Kusto.Language.Parsing.CharScanners.Char(114),Kusto.Language.Parsing.CharScanners.Char(116),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(117),Kusto.Language.Parsing.LexicalGrammar.FourHexDigits]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(85),Kusto.Language.Parsing.LexicalGrammar.EightHexDigits]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(120),Kusto.Language.Parsing.LexicalGrammar.TwoHexDigits]),Kusto.Language.Parsing.CharScanners.Char(118),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.ZeroToThree,Kusto.Language.Parsing.LexicalGrammar.ZeroToSeven,Kusto.Language.Parsing.LexicalGrammar.ZeroToSeven]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.LexicalGrammar.ZeroToSeven,Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.LexicalGrammar.ZeroToSeven)])])]);this.HiddenPrefix=Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(104),Kusto.Language.Parsing.CharScanners.Char(72)]);this.SingleQuoteStringLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.LexicalGrammar.HiddenPrefix),Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(39),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.LexicalGrammar.Escape,Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(92),Kusto.Language.Parsing.CharScanners.Char(39),Kusto.Language.Parsing.CharScanners.Char(13),Kusto.Language.Parsing.CharScanners.Char(10)]))])),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(39))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars("@'"),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Chars("''"),Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(39),Kusto.Language.Parsing.CharScanners.Char(13),Kusto.Language.Parsing.CharScanners.Char(10)]))])),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(39))])])]);this.DoubleQuoteStringLiteral=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.LexicalGrammar.HiddenPrefix),Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(34),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.LexicalGrammar.Escape,Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(92),Kusto.Language.Parsing.CharScanners.Char(34),Kusto.Language.Parsing.CharScanners.Char(13),Kusto.Language.Parsing.CharScanners.Char(10)]))])),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(34))]),Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Chars('@"'),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Chars('""'),Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.Parsers$1(System.Char).Or([Kusto.Language.Parsing.CharScanners.Char(34),Kusto.Language.Parsing.CharScanners.Char(13),Kusto.Language.Parsing.CharScanners.Char(10)]))])),Kusto.Language.Parsing.Parsers$1(System.Char).Optional(Kusto.Language.Parsing.CharScanners.Char(34))])])]);this.Directive=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.CharScanners.Char(35),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(System.Char).Not(Kusto.Language.Parsing.CharScanners.LineBreak))]);this.KeywordOrPunctuationInfo=Kusto.Language.Parsing.Parsers$1(System.Char).Map(Bridge.global.Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo,System.Linq.Enumerable.from(Kusto.Language.Syntax.SyntaxFacts.GetKindsWithFixedText()).select(function(k){return new(System.Collections.Generic.KeyValuePair$2(System.Collections.Generic.IEnumerable$1(System.Char),Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo).$ctor1)(Kusto.Language.Syntax.SyntaxFacts.GetText(k),new Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo.$ctor1(k,Kusto.Language.Syntax.SyntaxFacts.GetText(k)))}));this.Token=Kusto.Language.Parsing.Parsers$1(System.Char).Apply(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),Bridge.global.Kusto.Language.Parsing.LexicalToken,Kusto.Language.Parsing.Parsers$1(System.Char).TextAndOffset(Kusto.Language.Parsing.LexicalGrammar.Trivia),function(_trivia){return Kusto.Language.Parsing.Parsers$1(System.Char).Best$2(Bridge.global.Kusto.Language.Parsing.LexicalToken,[Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),Bridge.global.Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.LexicalGrammar.KeywordOrPunctuationInfo,function(trivia,info){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,info.Kind,trivia.Value,info.Text)}),Kusto.Language.Parsing.LexicalGrammar.EndCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.SingleQuoteStringLiteral,Kusto.Language.Syntax.SyntaxKind.StringLiteralToken,39),Kusto.Language.Parsing.LexicalGrammar.EndCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.DoubleQuoteStringLiteral,Kusto.Language.Syntax.SyntaxKind.StringLiteralToken,34),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedBooleanLiteral,Kusto.Language.Syntax.SyntaxKind.BooleanLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedGuidLiteral,Kusto.Language.Syntax.SyntaxKind.GuidLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedDateTimeLiteral,Kusto.Language.Syntax.SyntaxKind.DateTimeLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedTimespanLiteral,Kusto.Language.Syntax.SyntaxKind.TimespanLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedLongLiteral,Kusto.Language.Syntax.SyntaxKind.LongLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedIntLiteral,Kusto.Language.Syntax.SyntaxKind.IntLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedRealLiteral,Kusto.Language.Syntax.SyntaxKind.RealLiteralToken),Kusto.Language.Parsing.LexicalGrammar.GooCheckedToken(_trivia,Kusto.Language.Parsing.LexicalGrammar.PrefixedDecimalLiteral,Kusto.Language.Syntax.SyntaxKind.DecimalLiteralToken),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.LexicalGrammar.BooleanLiteral),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.BooleanLiteralToken,trivia.Value,text)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.LexicalGrammar.LongLiteral),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.LongLiteralToken,trivia.Value,text)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.LexicalGrammar.RealLiteral),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.RealLiteralToken,trivia.Value,text)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.LexicalGrammar.TimespanLiteral),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.TimespanLiteralToken,trivia.Value,text)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.LexicalGrammar.Identifier),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.IdentifierToken,trivia.Value,text)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.LexicalGrammar.Directive),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.DirectiveToken,trivia.Value,text)}),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,Kusto.Language.Parsing.Parsers$1(System.Char).Text(Kusto.Language.Parsing.Parsers$1(System.Char).Any),function(trivia,text){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.BadToken,trivia.Value,text,System.Array.init([Kusto.Language.DiagnosticFacts.GetUnexpectedCharacter(text)],Kusto.Language.Diagnostic))})])});this.EndOfText=Kusto.Language.Parsing.Parsers$1(System.Char).Apply(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),Bridge.global.Kusto.Language.Parsing.LexicalToken,Kusto.Language.Parsing.Parsers$1(System.Char).TextAndOffset(Kusto.Language.Parsing.LexicalGrammar.Trivia),function(_trivia){return Kusto.Language.Parsing.Parsers$1(System.Char).If$2(Bridge.global.Kusto.Language.Parsing.LexicalToken,Kusto.Language.Parsing.Parsers$1(System.Char).Fails(Kusto.Language.Parsing.Parsers$1(System.Char).Any),Kusto.Language.Parsing.Parsers$1(System.Char).Rule$9(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),Bridge.global.Kusto.Language.Parsing.LexicalToken,_trivia,function(trivia){return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,Kusto.Language.Syntax.SyntaxKind.EndOfTextToken,trivia.Value,null)}))});this.TokenOrEnd=Kusto.Language.Parsing.Parsers$1(System.Char).First$1(Bridge.global.Kusto.Language.Parsing.LexicalToken,[Kusto.Language.Parsing.LexicalGrammar.Token,Kusto.Language.Parsing.LexicalGrammar.EndOfText]);this.Tokens=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.LexicalGrammar.Token),Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrOne(Kusto.Language.Parsing.Parsers$1(System.Char).If$1(Bridge.global.Kusto.Language.Parsing.LexicalToken,Kusto.Language.Parsing.Parsers$1(System.Char).Any,Kusto.Language.Parsing.LexicalGrammar.EndOfText))]);this.TokensAndEnd=Kusto.Language.Parsing.Parsers$1(System.Char).And([Kusto.Language.Parsing.Parsers$1(System.Char).ZeroOrMore(Kusto.Language.Parsing.LexicalGrammar.Token),Kusto.Language.Parsing.LexicalGrammar.EndOfText])}},methods:{GetTokens:function(text,alwaysProduceEndToken){alwaysProduceEndToken===void 0&&(alwaysProduceEndToken=!1);var list=new(System.Collections.Generic.List$1(System.Object).ctor),parser=alwaysProduceEndToken?Kusto.Language.Parsing.LexicalGrammar.TokensAndEnd:Kusto.Language.Parsing.LexicalGrammar.Tokens;return Kusto.Language.Parsing.ParserExtensions.Parse$1(parser,text,list),System.Linq.Enumerable.from(list).select(function(e){return Bridge.cast(e,Kusto.Language.Parsing.LexicalToken)}).ToArray(Kusto.Language.Parsing.LexicalToken)},GetFirstToken:function(text){return Kusto.Language.Parsing.ParserExtensions.Parse(Bridge.global.Kusto.Language.Parsing.LexicalToken,Kusto.Language.Parsing.LexicalGrammar.TokenOrEnd,text).Value},EndCheckedToken:function(left,scanner,kind,expectedEndChar){return Kusto.Language.Parsing.Parsers$1(System.Char).Rule$10(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),System.String,Bridge.global.Kusto.Language.Parsing.LexicalToken,left,Kusto.Language.Parsing.Parsers$1(System.Char).Text(scanner),function(trivia,text){var dx=text.charCodeAt(text.length-1|0)===expectedEndChar?null:System.Array.init([Kusto.Language.DiagnosticFacts.GetMissingCharacter(expectedEndChar)],Kusto.Language.Diagnostic);return new Kusto.Language.Parsing.LexicalToken(trivia.Offset,kind,trivia.Value,text,dx)})},GooCheckedToken:function(left,gooScanner,kind){return Kusto.Language.Parsing.LexicalGrammar.EndCheckedToken(left,gooScanner,kind,41)}}}});Bridge.define("Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo}}},fields:{Kind:0,Text:null},ctors:{$ctor1:function(kind,text){this.$initialize();this.Kind=kind;this.Text=text},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([5440800653,this.Kind,this.Text])},equals:function(o){return Bridge.is(o,Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo)?Bridge.equals(this.Kind,o.Kind)&&Bridge.equals(this.Text,o.Text):!1},$clone:function(to){var s=to||new Kusto.Language.Parsing.LexicalGrammar.FixedTextInfo;return s.Kind=this.Kind,s.Text=this.Text,s}}});Bridge.define("Kusto.Language.Parsing.OffsetValue$1",function(TValue){return{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new(Kusto.Language.Parsing.OffsetValue$1(TValue))}}},fields:{Offset:0,Value:Bridge.getDefaultValue(TValue)},ctors:{$ctor1:function(offset,value){this.$initialize();this.Offset=offset;this.Value=value},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([3575795744,this.Offset,this.Value])},equals:function(o){return Bridge.is(o,Kusto.Language.Parsing.OffsetValue$1(TValue))?Bridge.equals(this.Offset,o.Offset)&&Bridge.equals(this.Value,o.Value):!1},$clone:function(to){var s=to||new(Kusto.Language.Parsing.OffsetValue$1(TValue));return s.Offset=this.Offset,s.Value=this.Value,s}}}});Bridge.define("Kusto.Language.Parsing.ParseResult$1",function(TOutput){return{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new(Kusto.Language.Parsing.ParseResult$1(TOutput))}}},props:{Length:0,Value:Bridge.getDefaultValue(TOutput)},ctors:{$ctor1:function(length,value){this.$initialize();this.Length=length;this.Value=value},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([3880525866,this.Length,this.Value])},equals:function(o){return Bridge.is(o,Kusto.Language.Parsing.ParseResult$1(TOutput))?Bridge.equals(this.Length,o.Length)&&Bridge.equals(this.Value,o.Value):!1},$clone:function(){return this}}}});Bridge.define("Kusto.Language.Parsing.ParserExtensions",{statics:{methods:{Parse$1:function(parser,text,output){return parser.Parse(new Kusto.Language.Parsing.TextSource.ctor(text),0,output,0)},Parse:function(TOutput,parser,text){return parser.Parse$1(new Kusto.Language.Parsing.TextSource.ctor(text),0)},TryParse:function(TOutput,parser,text,value){var result=Kusto.Language.Parsing.ParserExtensions.Parse(TOutput,parser,text);return value.v=result.Value,result.Length>0}}}});Bridge.define("Kusto.Language.Parsing.Parsers$1",function(TInput){return{statics:{fields:{Any:null},ctors:{init:function(){this.Any=Kusto.Language.Parsing.Parsers$1(TInput).Match$1(function(){return!0}).WithTag("")}},methods:{And:function(parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.SequenceParser$1(TInput))(parsers)},Apply:function(TLeft,TOutput,leftParser,fnRightParser){return new(Kusto.Language.Parsing.ApplyParser$3(TInput,TLeft,TOutput).$ctor1)(Kusto.Language.Parsing.ApplyKind.One,leftParser,fnRightParser(Bridge.getDefaultValue(Kusto.Language.Parsing.Parsers$1.LeftValue$1(TInput,TLeft))))},ApplyOptional:function(TOutput,leftParser,fnRightParser){return new(Kusto.Language.Parsing.ApplyParser$3(TInput,TOutput,TOutput).$ctor1)(Kusto.Language.Parsing.ApplyKind.ZeroOrOne,leftParser,fnRightParser(Bridge.getDefaultValue(Kusto.Language.Parsing.Parsers$1.LeftValue$1(TInput,TOutput))))},ApplyZeroOrMore:function(TOutput,leftParser,fnRightParser){return new(Kusto.Language.Parsing.ApplyParser$3(TInput,TOutput,TOutput).$ctor1)(Kusto.Language.Parsing.ApplyKind.ZeroOrMore,leftParser,fnRightParser(Bridge.getDefaultValue(Kusto.Language.Parsing.Parsers$1.LeftValue$1(TInput,TOutput))))},Best:function(parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.BestParser$1(TInput))(parsers)},Best$1:function(TOutput,parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.BestParser$2(TInput,TOutput))(parsers)},Best$2:function(TOutput,parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.BestParser$2(TInput,TOutput))(System.Linq.Enumerable.from(parsers).select(function(p){return p.Parser}).ToArray(Kusto.Language.Parsing.Parser$2(TInput,TOutput))))},Convert$1:function(TOutput,pattern,producer){return new(Kusto.Language.Parsing.ConvertParser$2(TInput,TOutput).ctor)(pattern,producer)},Convert$3:function(TOutput,pattern,producer){return new(Kusto.Language.Parsing.ConvertParser$2(TInput,TOutput).$ctor3)(pattern,producer)},Convert$4:function(TOutput,pattern,producer){return Kusto.Language.Parsing.Parsers$1(System.Char).Convert$1(TOutput,pattern,function(source,start,length){return producer(Bridge.cast(source,Kusto.Language.Parsing.TextSource).PeekText$1(start,length))})},Convert$2:function(TOutput,pattern,producer){return new(Kusto.Language.Parsing.ConvertParser$2(TInput,TOutput).$ctor2)(pattern,producer)},Convert:function(TOutput,pattern,value){return Kusto.Language.Parsing.Parsers$1(TInput).Convert$2(TOutput,pattern,function(){return value})},Count:function(scanner){return Kusto.Language.Parsing.Parsers$1(TInput).Convert$1(System.Int32,scanner,function(source,start,length){return length})},Fails:function(parser){return new(Kusto.Language.Parsing.FailsParser$1(TInput))(parser)},First$1:function(TOutput,parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.FirstParser$2(TInput,TOutput))(parsers)},First:function(parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.FirstParser$1(TInput))(parsers)},First$2:function(TOutput,parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.FirstParser$2(TInput,TOutput))(System.Linq.Enumerable.from(parsers).select(function(p){return p.Parser}).ToArray(Kusto.Language.Parsing.Parser$2(TInput,TOutput))))},Forward:function(TOutput,deferredParser){return new(Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput))(deferredParser)},If$1:function(TOutput,test,parser){return new(Kusto.Language.Parsing.IfParser$2(TInput,TOutput))(test,parser)},If$2:function(TOutput,test,parser){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.IfParser$2(TInput,TOutput))(test,parser.Parser))},If:function(test,parser){return new(Kusto.Language.Parsing.IfParser$1(TInput))(test,parser)},List:function(TElement,TProducer,element,missingElement,oneOrMore,producer){if(oneOrMore&&!Bridge.staticEquals(missingElement,null)){var requiredElement=Kusto.Language.Parsing.Parsers$1(TInput).Required(TElement,element,missingElement);return Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TElement,TProducer,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredElement,Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(element)]),producer)}return Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore$1(TElement,TProducer,element,producer)},Map:function(TOutput,keyValuePairs){return new(Kusto.Language.Parsing.MapParser$2(TInput,TOutput).$ctor1)(System.Linq.Enumerable.from(keyValuePairs).toDictionary(function(kvp){return kvp.key},function(kvp){return function(){return kvp.value}},Bridge.global.System.Collections.Generic.IEnumerable$1(TInput),Bridge.global.Function))},Map$1:function(TOutput,keyValuePairs){return new(Kusto.Language.Parsing.MapParser$2(TInput,TOutput).$ctor1)(keyValuePairs)},Match$1:function(predicate){return new(Kusto.Language.Parsing.MatchParser$1(TInput).$ctor1)(predicate)},Match:function(consumer){return new(Kusto.Language.Parsing.MatchParser$1(TInput).ctor)(consumer)},Match$3:function(TOutput,predicate,producer){return new(Kusto.Language.Parsing.MatchParser$2(TInput,TOutput).$ctor1)(predicate,producer)},Match$2:function(TOutput,consumer,producer){return new(Kusto.Language.Parsing.MatchParser$2(TInput,TOutput).ctor)(consumer,producer)},Not:function(parser){return new(Kusto.Language.Parsing.NotParser$1(TInput))(parser)},OneOrMore$1:function(TParser,TProducer,parser,producer){return Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TParser,TProducer,Kusto.Language.Parsing.Parsers$1(TInput).OneOrMore(parser),producer)},OneOrMore:function(parser){return new(Kusto.Language.Parsing.OneOrMoreParser$1(TInput))(parser)},Optional:function(parser){return new(Kusto.Language.Parsing.ZeroOrMoreParser$1(TInput))(parser,!0)},Optional$1:function(TOutput,parser){return new(Kusto.Language.Parsing.OptionalParser$2(TInput,TOutput))(parser,function(){return Bridge.getDefaultValue(TOutput)})},Optional$2:function(TOutput,parser,producer){return new(Kusto.Language.Parsing.OptionalParser$2(TInput,TOutput))(parser,producer)},Or:function(parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.BestParser$1(TInput))(parsers)},Produce:function(TOutput,parser,producer){return new(Kusto.Language.Parsing.ProduceParser$2(TInput,TOutput))(parser,Kusto.Language.Parsing.Parsers$1(TInput).Produce$2(System.Object,TOutput,producer))},Produce$1:function(TElement,TOutput,parser,producer){return new(Kusto.Language.Parsing.ProduceParser$2(TInput,TOutput))(parser,Kusto.Language.Parsing.Parsers$1(TInput).Produce$2(TElement,TOutput,producer))},Produce$2:function(TElement,TOutput,producer){return function(list,start){return Kusto.Language.Parsing.Parsers$1.ElementProducer$2(TInput,TElement,TOutput).Produce(list,start,producer)}},Required:function(TOutput,parser,producer){return new(Kusto.Language.Parsing.RequiredParser$2(TInput,TOutput))(parser,producer)},Rule:function(TParser1,TOutput,parser1,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1))},function(source,start){var result1=parser1.Parse$1(source,start),produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(produced=producer(result1.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,produced))})},Rule$1:function(TParser1,TParser2,TOutput,parser1,parser2,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,produced=producer(result1.Value,result2.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$2:function(TParser1,TParser2,TParser3,TOutput,parser1,parser2,parser3,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,produced=producer(result1.Value,result2.Value,result3.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$3:function(TParser1,TParser2,TParser3,TParser4,TOutput,parser1,parser2,parser3,parser4,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3,parser4],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser4))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,result4,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,result4=parser4.Parse$1(source,start+len|0),result4.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result4.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result4.Length|0,produced=producer(result1.Value,result2.Value,result3.Value,result4.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$4:function(TParser1,TParser2,TParser3,TParser4,TParser5,TOutput,parser1,parser2,parser3,parser4,parser5,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3,parser4,parser5],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser4),Bridge.cast(Bridge.unbox(list.getItem(start+4|0)),TParser5))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,result4,result5,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,result4=parser4.Parse$1(source,start+len|0),result4.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result4.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result4.Length|0,result5=parser5.Parse$1(source,start+len|0),result5.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result5.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result5.Length|0,produced=producer(result1.Value,result2.Value,result3.Value,result4.Value,result5.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$5:function(TParser1,TParser2,TParser3,TParser4,TParser5,TParser6,TOutput,parser1,parser2,parser3,parser4,parser5,parser6,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3,parser4,parser5,parser6],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser4),Bridge.cast(Bridge.unbox(list.getItem(start+4|0)),TParser5),Bridge.cast(Bridge.unbox(list.getItem(start+5|0)),TParser6))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,result4,result5,result6,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,result4=parser4.Parse$1(source,start+len|0),result4.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result4.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result4.Length|0,result5=parser5.Parse$1(source,start+len|0),result5.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result5.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result5.Length|0,result6=parser6.Parse$1(source,start+len|0),result6.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result6.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result6.Length|0,produced=producer(result1.Value,result2.Value,result3.Value,result4.Value,result5.Value,result6.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$6:function(TParser1,TParser2,TParser3,TParser4,TParser5,TParser6,TParser7,TOutput,parser1,parser2,parser3,parser4,parser5,parser6,parser7,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3,parser4,parser5,parser6,parser7],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser4),Bridge.cast(Bridge.unbox(list.getItem(start+4|0)),TParser5),Bridge.cast(Bridge.unbox(list.getItem(start+5|0)),TParser6),Bridge.cast(Bridge.unbox(list.getItem(start+6|0)),TParser7))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,result4,result5,result6,result7,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,result4=parser4.Parse$1(source,start+len|0),result4.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result4.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result4.Length|0,result5=parser5.Parse$1(source,start+len|0),result5.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result5.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result5.Length|0,result6=parser6.Parse$1(source,start+len|0),result6.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result6.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result6.Length|0,result7=parser7.Parse$1(source,start+len|0),result7.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result7.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result7.Length|0,produced=producer(result1.Value,result2.Value,result3.Value,result4.Value,result5.Value,result6.Value,result7.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$7:function(TParser1,TParser2,TParser3,TParser4,TParser5,TParser6,TParser7,TParser8,TOutput,parser1,parser2,parser3,parser4,parser5,parser6,parser7,parser8,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3,parser4,parser5,parser6,parser7,parser8],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser4),Bridge.cast(Bridge.unbox(list.getItem(start+4|0)),TParser5),Bridge.cast(Bridge.unbox(list.getItem(start+5|0)),TParser6),Bridge.cast(Bridge.unbox(list.getItem(start+6|0)),TParser7),Bridge.cast(Bridge.unbox(list.getItem(start+7|0)),TParser8))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,result4,result5,result6,result7,result8,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,result4=parser4.Parse$1(source,start+len|0),result4.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result4.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result4.Length|0,result5=parser5.Parse$1(source,start+len|0),result5.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result5.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result5.Length|0,result6=parser6.Parse$1(source,start+len|0),result6.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result6.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result6.Length|0,result7=parser7.Parse$1(source,start+len|0),result7.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result7.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result7.Length|0,result8=parser8.Parse$1(source,start+len|0),result8.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result8.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result8.Length|0,produced=producer(result1.Value,result2.Value,result3.Value,result4.Value,result5.Value,result6.Value,result7.Value,result8.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$8:function(TParser1,TParser2,TParser3,TParser4,TParser5,TParser6,TParser7,TParser8,TParser9,TOutput,parser1,parser2,parser3,parser4,parser5,parser6,parser7,parser8,parser9,producer){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3,parser4,parser5,parser6,parser7,parser8,parser9],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser3),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser4),Bridge.cast(Bridge.unbox(list.getItem(start+4|0)),TParser5),Bridge.cast(Bridge.unbox(list.getItem(start+5|0)),TParser6),Bridge.cast(Bridge.unbox(list.getItem(start+6|0)),TParser7),Bridge.cast(Bridge.unbox(list.getItem(start+7|0)),TParser8),Bridge.cast(Bridge.unbox(list.getItem(start+8|0)),TParser9))},function(source,start){var result1=parser1.Parse$1(source,start),len,result2,result3,result4,result5,result6,result7,result8,result9,produced;return result1.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(result1.Length,Bridge.getDefaultValue(TOutput)):(len=result1.Length,result2=parser2.Parse$1(source,start+len|0),result2.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result2.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result2.Length|0,result3=parser3.Parse$1(source,start+len|0),result3.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result3.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result3.Length|0,result4=parser4.Parse$1(source,start+len|0),result4.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result4.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result4.Length|0,result5=parser5.Parse$1(source,start+len|0),result5.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result5.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result5.Length|0,result6=parser6.Parse$1(source,start+len|0),result6.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result6.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result6.Length|0,result7=parser7.Parse$1(source,start+len|0),result7.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result7.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result7.Length|0,result8=parser8.Parse$1(source,start+len|0),result8.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result8.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result8.Length|0,result9=parser9.Parse$1(source,start+len|0),result9.Length<0)?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)((-len|0)+result9.Length|0,Bridge.getDefaultValue(TOutput)):(len=len+result9.Length|0,produced=producer(result1.Value,result2.Value,result3.Value,result4.Value,result5.Value,result6.Value,result7.Value,result8.Value,result9.Value),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(len,produced))})},Rule$9:function(TLeft,TOutput,left,producer){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TLeft))}))},Rule$10:function(TLeft,TParser1,TOutput,left,parser1,producer){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TLeft),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser1))}))},Rule$11:function(TLeft,TParser1,TParser2,TOutput,left,parser1,parser2,producer){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TLeft),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser2))}))},Rule$12:function(TLeft,TParser1,TParser2,TParser3,TOutput,left,parser1,parser2,parser3,producer){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(new(Kusto.Language.Parsing.RuleParser$2(TInput,TOutput))(System.Array.init([parser1,parser2,parser3],Kusto.Language.Parsing.Parser$1(TInput)),function(list,start){return producer(Bridge.cast(Bridge.unbox(list.getItem(start)),TLeft),Bridge.cast(Bridge.unbox(list.getItem(start+1|0)),TParser1),Bridge.cast(Bridge.unbox(list.getItem(start+2|0)),TParser2),Bridge.cast(Bridge.unbox(list.getItem(start+3|0)),TParser3))}))},SeparatedList$1:function(TParser,TProducer,element,separator,missingElement,missingSeparator,oneOrMore,allowTrailingSeparator,producer){return Kusto.Language.Parsing.Parsers$1(TInput).SeparatedList(TParser,TProducer,element,element,separator,missingElement,missingSeparator,oneOrMore,allowTrailingSeparator,producer)},SeparatedList:function(TElement,TList,primaryElement,secondaryElement,separator,missingElement,missingSeparator,oneOrMore,allowTrailingSeparator,producer){var requiredPrimaryElement=Kusto.Language.Parsing.Parsers$1(TInput).Required(TElement,primaryElement,missingElement),requiredSecondaryElement=Kusto.Language.Parsing.Parsers$1(TInput).Required(TElement,secondaryElement,missingElement),requiredSeparator=Kusto.Language.Parsing.Parsers$1(TInput).Required(TElement,separator,missingSeparator),emptyList=function(){return producer(System.Array.init([],TElement))};return oneOrMore?allowTrailingSeparator?Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TElement,TList,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredPrimaryElement,Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(TInput).First([Kusto.Language.Parsing.Parsers$1(TInput).Sequence([separator,secondaryElement]),Kusto.Language.Parsing.Parsers$1(TInput).If(secondaryElement,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredSeparator,secondaryElement])).Hide()])),Kusto.Language.Parsing.Parsers$1(TInput).Optional$1(TElement,separator)]),producer):Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TElement,TList,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredPrimaryElement,Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(TInput).First([Kusto.Language.Parsing.Parsers$1(TInput).Sequence([separator,requiredSecondaryElement]),Kusto.Language.Parsing.Parsers$1(TInput).If(secondaryElement,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredSeparator,secondaryElement])).Hide()]))]),producer):allowTrailingSeparator?Kusto.Language.Parsing.Parsers$1(TInput).Optional$2(TList,Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TElement,TList,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([Kusto.Language.Parsing.Parsers$1(TInput).First$1(TElement,[Kusto.Language.Parsing.Parsers$1(TInput).If$1(TElement,separator,requiredPrimaryElement).Hide$1(),primaryElement]),Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(TInput).First([Kusto.Language.Parsing.Parsers$1(TInput).Sequence([separator,secondaryElement]),Kusto.Language.Parsing.Parsers$1(TInput).If(secondaryElement,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredSeparator,secondaryElement])).Hide()])),Kusto.Language.Parsing.Parsers$1(TInput).Optional$1(TElement,separator)]),producer),emptyList):Kusto.Language.Parsing.Parsers$1(TInput).Optional$2(TList,Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TElement,TList,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([Kusto.Language.Parsing.Parsers$1(TInput).First$1(TElement,[Kusto.Language.Parsing.Parsers$1(TInput).If$1(TElement,separator,requiredPrimaryElement).Hide$1(),primaryElement]),Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(TInput).First([Kusto.Language.Parsing.Parsers$1(TInput).Sequence([separator,requiredPrimaryElement]),Kusto.Language.Parsing.Parsers$1(TInput).If(secondaryElement,Kusto.Language.Parsing.Parsers$1(TInput).Sequence([requiredSeparator,secondaryElement])).Hide()]))]),producer),emptyList)},Sequence:function(parsers){return parsers===void 0&&(parsers=[]),new(Kusto.Language.Parsing.SequenceParser$1(TInput))(parsers)},Tag$1:function(TOutput,tag,parser){return parser.WithTag$1(tag)},Tag:function(tag,parser){return parser.WithTag(tag)},Text:function(pattern){return Kusto.Language.Parsing.Parsers$1(System.Char).Convert$1(System.String,pattern,function(source,start,length){return Bridge.cast(source,Kusto.Language.Parsing.TextSource).PeekText$1(start,length)})},TextAndOffset:function(pattern){return Kusto.Language.Parsing.Parsers$1(System.Char).Convert$1(Bridge.global.Kusto.Language.Parsing.OffsetValue$1(System.String),pattern,function(source,start,length){return new(Kusto.Language.Parsing.OffsetValue$1(System.String).$ctor1)(start,Bridge.cast(source,Kusto.Language.Parsing.TextSource).PeekText$1(start,length))})},ZeroOrMore$1:function(TParser,TProducer,parser,producer){return Kusto.Language.Parsing.Parsers$1(TInput).Produce$1(TParser,TProducer,Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(parser),producer)},ZeroOrMore:function(parser){return new(Kusto.Language.Parsing.ZeroOrMoreParser$1(TInput))(parser)},ZeroOrOne:function(parser){return new(Kusto.Language.Parsing.ZeroOrMoreParser$1(TInput))(parser,!0)}}}}});Bridge.define("Kusto.Language.Parsing.Parsers$1.ElementProducer$2",function(TInput,TElement,TProducer){return{$kind:"nested class",statics:{fields:{listPool:null},ctors:{init:function(){this.listPool=new(Kusto.Language.Utils.ObjectPool$1(System.Collections.Generic.List$1(TElement)))(function(){return new(System.Collections.Generic.List$1(TElement).ctor)},function(list){list.clear()})}},methods:{Produce:function(output,outputStart,producer){var list=Kusto.Language.Parsing.Parsers$1.ElementProducer$2(TInput,TElement,TProducer).listPool.AllocateFromPool(),i;try{for(i=outputStart;i");UnnamedExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return UnnamedExpressionCore}).WithTag$1("");NameAndTypeDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,function(){return NameAndTypeDeclarationCore}).WithTag$1("");this.Literal=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return LiteralCore}).WithTag$1("");var StringOrCompoundStringLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return StringOrCompoundStringLiteralCore}).WithTag$1(""),JsonValue=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return JsonValueCore}).WithTag$1(""),PrimaryExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return PrimaryExpressionCore}).WithTag$1(""),FunctionCallOrPath=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return FunctionCallOrPathCore}).WithTag$1(""),ForkPipeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.QueryOperator,function(){return ForkPipeOperatorCore}).WithTag$1(""),ForkPipeExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return ForkPipeExpressionCore}).WithTag$1(""),PartitionPipeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.QueryOperator,function(){return PartitionPipeOperatorCore}).WithTag$1(""),PartitionPipeExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Expression,function(){return PartitionPipeExpressionCore}).WithTag$1(""),LetStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Statement,function(){return LetStatementCore}).WithTag$1(""),QueryParametersStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Forward(Bridge.global.Kusto.Language.Syntax.Statement,function(){return QueryParametersStatementCore}).WithTag$1(""),ScanIdentifierName=Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),ScanKeywordAsIdentifier=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return Kusto.Language.Syntax.SyntaxFacts.GetCategory(t.Kind)===Kusto.Language.Syntax.SyntaxCategory.Keyword&&Kusto.Language.Syntax.SyntaxFacts.CanBeIdentifier(t.Kind)}).WithTag(""),KeywordAsIdentifier=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(t){return Kusto.Language.Syntax.SyntaxFacts.GetCategory(t.Kind)===Kusto.Language.Syntax.SyntaxCategory.Keyword&&Kusto.Language.Syntax.SyntaxFacts.CanBeIdentifier(t.Kind)},function(t){return Kusto.Language.Syntax.SyntaxToken.From(t)}).WithTag$1("");this.IdentifierName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Name,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),KeywordAsIdentifier]),function(token){return Bridge.cast(new Kusto.Language.Syntax.TokenName(token),Kusto.Language.Syntax.Name)});this.BrackettedName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Name,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),StringOrCompoundStringLiteral,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(open,name,close){return Bridge.cast(new Kusto.Language.Syntax.BrackettedName(open,name,close),Kusto.Language.Syntax.Name)});this.BracedName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Name,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),KeywordAsIdentifier]),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(open,name,close){return Bridge.cast(new Kusto.Language.Syntax.BracedName(open,name,close),Kusto.Language.Syntax.Name)});var IdentifierNameDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),function(id){return new Kusto.Language.Syntax.NameDeclaration.$ctor1(id)}).WithTag$1(""),IdentifierNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),function(id){return Bridge.cast(new Kusto.Language.Syntax.NameReference.$ctor2(id),Kusto.Language.Syntax.Expression)}).WithTag$1(""),ClientParameterReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return t.Kind===Kusto.Language.Syntax.SyntaxKind.IdentifierToken&&t.TriviaWidth===0}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return t.Kind===Kusto.Language.Syntax.SyntaxKind.CloseBraceToken&&t.TriviaWidth===0})]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken),function(open,name,close){return Bridge.cast(new Kusto.Language.Syntax.NameReference.ctor(new Kusto.Language.Syntax.BracedName(open,name,close),Kusto.Language.Symbols.SymbolMatch.None),Kusto.Language.Syntax.Expression)})).WithTag$1(""),ScanBrackettedName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).OneOrMore(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken))]);this.BrackettedNameDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,StringOrCompoundStringLiteral,Kusto.Language.Parsing.QueryGrammar.MissingStringLiteral),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(openBracket,name,closeBracket){return new Kusto.Language.Syntax.NameDeclaration.ctor(new Kusto.Language.Syntax.BrackettedName(openBracket,name,closeBracket))});var BrackettedNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,StringOrCompoundStringLiteral,Kusto.Language.Parsing.QueryGrammar.MissingStringLiteral),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(openBracket,name,closeBracket){return Bridge.cast(new Kusto.Language.Syntax.NameReference.$ctor1(new Kusto.Language.Syntax.BrackettedName(openBracket,name,closeBracket)),Kusto.Language.Syntax.Expression)}),KeywordNameDeclaration=Kusto.Language.Parsing.QueryGrammar.AsIdentifierNameDeclaration(KeywordAsIdentifier).WithTag$1(""),KeywordNameReference=Kusto.Language.Parsing.QueryGrammar.AsIdentifierNameReference(KeywordAsIdentifier).WithTag$1(""),NameTokenLiteral=Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),KeywordAsIdentifier])),ScanSimpleName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([ScanIdentifierName,ScanBrackettedName,ScanKeywordAsIdentifier]);this.SimpleNameDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NameDeclaration,[IdentifierNameDeclaration,this.BrackettedNameDeclaration,KeywordNameDeclaration]).WithTag$1("");this.SimpleNameDeclarationExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.Expression,this.SimpleNameDeclaration,function(nd){return Bridge.cast(nd,Kusto.Language.Syntax.Expression)});this.SimpleNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[IdentifierNameReference,BrackettedNameReference,KeywordNameReference,ClientParameterReference]).WithTag$1("");IdentifierTypeExpression=Kusto.Language.Parsing.QueryGrammar.AsPrimitiveTypeExpression(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken));ParamType=Kusto.Language.Parsing.QueryGrammar.AsPrimitiveTypeExpression(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BoolKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BooleanKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DateKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DateTimeKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DecimalKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DoubleKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DynamicKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.GuidKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IntKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.Int64Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.Int8Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LongKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RealKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TimeKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TimespanKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UniqueIdKeyword).Hide$1()]));this.ParamTypeExtended=Kusto.Language.Parsing.QueryGrammar.AsPrimitiveTypeExpression(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BoolKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BooleanKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DateKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DateTimeKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DecimalKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DoubleKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DynamicKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.FloatKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.GuidKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IntKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.Int16Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.Int32Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.Int64Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.Int8Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LongKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RealKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DecimalKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SingleKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TimeKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TimespanKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UIntKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UInt16Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UInt32Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UInt64Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UInt8Keyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ULongKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UniqueIdKeyword).Hide$1()]));var ScanSchemaTypeStart=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([ScanSimpleName,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken)]),StarExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken).Hide$1(),function(star){return Bridge.cast(new Kusto.Language.Syntax.StarExpression(star),Kusto.Language.Syntax.Expression)}),SchemaAsteriskType=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),StarExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,star,closeParen){return new Kusto.Language.Syntax.SchemaTypeExpression(openParen,new(Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)).ctor)([new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression))(star)]),closeParen)}),SchemaMultipartType=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,Bridge.global.Kusto.Language.Syntax.Expression,NameAndTypeDeclaration,function(nat){return Bridge.cast(nat,Kusto.Language.Syntax.Expression)}),Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNameAndTypeDeclarationNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,columns,closeParen){return new Kusto.Language.Syntax.SchemaTypeExpression(openParen,columns,closeParen)}),SchemaType=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken)]),SchemaAsteriskType),SchemaMultipartType]);NameAndTypeDeclarationCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.TypeExpression,Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.TypeExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.TypeExpression,[ParamType,IdentifierTypeExpression]),Kusto.Language.Parsing.QueryGrammar.MissingType),function(colon,type){return new Kusto.Language.Syntax.NameAndTypeDeclaration(Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameDeclarationNode.Clone$1(),Kusto.Language.Syntax.NameDeclaration),colon,type)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,ScanSchemaTypeStart,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken),SchemaType,function(name,colon,type){return new Kusto.Language.Syntax.NameAndTypeDeclaration(name,colon,type)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.TypeExpression,Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ColonToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.TypeExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.TypeExpression,[ParamType,IdentifierTypeExpression]),Kusto.Language.Parsing.QueryGrammar.MissingType),function(name,colon,type){return new Kusto.Language.Syntax.NameAndTypeDeclaration(name,colon,type)})]);var BooleanLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BooleanLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.BooleanLiteralExpression,token),Kusto.Language.Syntax.Expression)}),BooleanLiteralWithCompletion=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token$3("true"),Kusto.Language.Parsing.SyntaxParsers.Token$3("false")]),BooleanLiteral),BooleanLiteral]),LongLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LongLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.LongLiteralExpression,token),Kusto.Language.Syntax.Expression)}),RealLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RealLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.RealLiteralExpression,token),Kusto.Language.Syntax.Expression)}),DecimalLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DecimalLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.DecimalLiteralExpression,token),Kusto.Language.Syntax.Expression)}),IntLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IntLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.IntLiteralExpression,token),Kusto.Language.Syntax.Expression)}),GuidLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.GuidLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.GuidLiteralExpression,token),Kusto.Language.Syntax.Expression)}),DateTimeLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DateTimeLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.DateTimeLiteralExpression,token),Kusto.Language.Syntax.Expression)}),TimespanLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TimespanLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.TimespanLiteralExpression,token),Kusto.Language.Syntax.Expression)});this.StringLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.StringLiteralExpression,token),Kusto.Language.Syntax.Expression)}).WithTag$1("");var TypeofElement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,Bridge.global.Kusto.Language.Syntax.Expression,NameAndTypeDeclaration,function(nat){return Bridge.cast(nat,Kusto.Language.Syntax.Expression)}),StarExpression]),ScanTypeOfScalar=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TypeOfKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([ParamType,this.ParamTypeExtended.Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseParenToken)])])]),TypeofLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,ScanTypeOfScalar,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.TypeExpression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TypeOfKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.TypeExpression,[ParamType,this.ParamTypeExtended.Hide$1(),IdentifierTypeExpression.Hide$1()]),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(keyword,openParen,type,closeParen){return Bridge.cast(new Kusto.Language.Syntax.TypeOfLiteralExpression(keyword,openParen,new(Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)).ctor)([new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression))(type)]),closeParen),Kusto.Language.Syntax.Expression)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TypeOfKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,TypeofElement,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingTypeNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(keyword,openParen,list,closeParen){return Bridge.cast(new Kusto.Language.Syntax.TypeOfLiteralExpression(keyword,openParen,list,closeParen),Kusto.Language.Syntax.Expression)})]);StringOrCompoundStringLiteralCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).OneOrMore$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken),function(list){return System.Array.getCount(list,Kusto.Language.Syntax.SyntaxToken)===1?Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.StringLiteralExpression,System.Array.getItem(list,0,Kusto.Language.Syntax.SyntaxToken)),Kusto.Language.Syntax.Expression):new Kusto.Language.Syntax.CompoundStringLiteralExpression(new(Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken).$ctor1)(list))});LiteralCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[StringOrCompoundStringLiteral,BooleanLiteral,LongLiteral,RealLiteral,DecimalLiteral,IntLiteral,GuidLiteral,DateTimeLiteral,TimespanLiteral,TypeofLiteral,ClientParameterReference]);var KeywordTokenLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(Bridge.global.Kusto.Language.Syntax.Expression,"",Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(KeywordAsIdentifier)),NullLiteralExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token$3("null"),function(token){return Bridge.cast(new Kusto.Language.Syntax.LiteralExpression(Kusto.Language.Syntax.SyntaxKind.NullLiteralExpression,token),Kusto.Language.Syntax.Expression)}),JsonPair=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(Bridge.global.Kusto.Language.Syntax.JsonPair,"",Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.JsonPair,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.JsonPair,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ColonToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,JsonValue,Kusto.Language.Parsing.QueryGrammar.MissingJsonValue),function(name,colon,value){return new Kusto.Language.Syntax.JsonPair(name,colon,value)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.JsonPair,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,JsonValue,Kusto.Language.Parsing.QueryGrammar.MissingJsonValue),function(colonToken,value){return new Kusto.Language.Syntax.JsonPair(Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken,Kusto.Language.DiagnosticFacts.GetMissingString()),colonToken,value)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.JsonPair,JsonValue.Hide$1(),function(value){return new Kusto.Language.Syntax.JsonPair(Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken,Kusto.Language.DiagnosticFacts.GetMissingString()),Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.ColonToken),value)})])),JsonObject=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(Bridge.global.Kusto.Language.Syntax.Expression,"",Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.JsonPair)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.JsonPair,JsonPair,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingJsonPairNode,!1,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken),function(openBrace,list,closeBrace){return Bridge.cast(new Kusto.Language.Syntax.JsonObjectExpression(openBrace,list,closeBrace),Kusto.Language.Syntax.Expression)})),JsonArray=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(Bridge.global.Kusto.Language.Syntax.Expression,"",Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,JsonValue,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingJsonValueNode,!1,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(openBracket,values,closeBracket){return Bridge.cast(new Kusto.Language.Syntax.JsonArrayExpression(openBracket,values,closeBracket),Kusto.Language.Syntax.Expression)})),DynamicLiteral=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(Bridge.global.Kusto.Language.Syntax.Expression,"",Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DynamicKeyword,Kusto.Language.Editor.CompletionKind.ScalarPrefix),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[NullLiteralExpression,JsonValue]),Kusto.Language.Parsing.QueryGrammar.MissingJsonValue),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(dynamicKeyword,openParen,value,closeParen){return Bridge.cast(new Kusto.Language.Syntax.DynamicExpression(dynamicKeyword,openParen,value,closeParen),Kusto.Language.Syntax.Expression)})),JsonNumber=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MinusToken).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[LongLiteral,RealLiteral]),function(unaryOp,value){return Bridge.cast(new Kusto.Language.Syntax.PrefixUnaryExpression(Kusto.Language.Syntax.SyntaxKind.UnaryMinusExpression,unaryOp,value),Kusto.Language.Syntax.Expression)}),LongLiteral,RealLiteral]);JsonValueCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[StringOrCompoundStringLiteral,JsonNumber,TimespanLiteral,BooleanLiteral,DateTimeLiteral,GuidLiteral,DecimalLiteral,DynamicLiteral,NullLiteralExpression,JsonObject,JsonArray,ClientParameterReference]);ParenthesizedExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,expression,closeParen){return Bridge.cast(new Kusto.Language.Syntax.ParenthesizedExpression(openParen,expression,closeParen),Kusto.Language.Syntax.Expression)});this.ConstantExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[this.Literal,DynamicLiteral]).WithTag$1("");var NumericConstantExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[LongLiteral,IntLiteral,RealLiteral,DateTimeLiteral,TimespanLiteral]).WithTag$1(""),ScanRenameName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([ScanIdentifierName,ScanKeywordAsIdentifier,ScanBrackettedName]),ScanRenameList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([ScanRenameName,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CommaToken))])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseParenToken))]),RenameName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NameDeclaration,[this.SimpleNameDeclaration,KeywordNameDeclaration]).WithTag$1(""),RenameList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameDeclaration)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.RenameList,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.NameDeclaration,RenameName,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclarationNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,list,closeParen){return new Kusto.Language.Syntax.RenameList(openParen,list,closeParen)}),NamedExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([RenameName,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken)]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,RenameName,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(name,equals,expr){return Bridge.cast(new Kusto.Language.Syntax.SimpleNamedExpression(name,equals,expr),Kusto.Language.Syntax.Expression)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([ScanRenameList,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken)]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.RenameList,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,RenameList,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(list,equals,expr){return Bridge.cast(new Kusto.Language.Syntax.CompoundNamedExpression(list,equals,expr),Kusto.Language.Syntax.Expression)})),UnnamedExpression]).WithTag$1(""),Argument=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CommaToken)])]),StarExpression),NamedExpression]),FunctionArgumentList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,Argument,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!1,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,list,closeParen){return new Kusto.Language.Syntax.ExpressionList(openParen,list,closeParen)}),knownFunctionNames=System.Linq.Enumerable.from(Kusto.Language.Functions.All).select(function(f){return f.Name}).concat(System.Linq.Enumerable.from(Kusto.Language.Aggregates.All).select(function(f){return f.Name})).ToArray(System.String),ScanKnownFunctionNames=Kusto.Language.Parsing.SyntaxParsers.Token$2(knownFunctionNames).Hide$1(),KnownFunctionNameReference=Kusto.Language.Parsing.QueryGrammar.AsIdentifierNameReference(Kusto.Language.Parsing.SyntaxParsers.Token$2(knownFunctionNames).Hide$1()),ScanFunctionCall=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([ScanIdentifierName,ScanBrackettedName,ScanKnownFunctionNames]),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken)]),FunctionCallNames=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[this.SimpleNameReference,KnownFunctionNameReference]),FunctionCall=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.ExpressionList,Bridge.global.Kusto.Language.Syntax.Expression,FunctionCallNames,FunctionArgumentList,function(name,$arguments){return Bridge.cast(new Kusto.Language.Syntax.FunctionCallExpression(Bridge.cast(name,Kusto.Language.Syntax.NameReference),$arguments),Kusto.Language.Syntax.Expression)}).WithTag$1(""),DotCompositeFunctionCall=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,FunctionCall,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,ScanFunctionCall,FunctionCall),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(left,op,right),Kusto.Language.Syntax.Expression)})}),AtTokenSelector=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AtToken),function(token){return Bridge.cast(new Kusto.Language.Syntax.AtExpression(token),Kusto.Language.Syntax.Expression)}),BarePathElementSelector=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[AtTokenSelector,IdentifierNameReference,KeywordNameReference,ClientParameterReference]),ScanWildcard=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return t.Kind===Kusto.Language.Syntax.SyntaxKind.IdentifierToken||Kusto.Language.Syntax.SyntaxFacts.GetCategory(t.Kind)===Kusto.Language.Syntax.SyntaxCategory.Keyword}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return t.Kind===Kusto.Language.Syntax.SyntaxKind.AsteriskToken&&t.Trivia.length===0})]),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken)]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$1(function(t){return(t.Kind===Kusto.Language.Syntax.SyntaxKind.IdentifierToken||t.Kind===Kusto.Language.Syntax.SyntaxKind.LongLiteralToken||t.Kind===Kusto.Language.Syntax.SyntaxKind.AsteriskToken||Kusto.Language.Syntax.SyntaxFacts.GetCategory(t.Kind)===Kusto.Language.Syntax.SyntaxCategory.Keyword)&&t.Trivia.length===0}))]),WildcardedNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Convert$3(Bridge.global.Kusto.Language.Syntax.Expression,ScanWildcard.Hide(),function(list){return Bridge.cast(new Kusto.Language.Syntax.NameReference.$ctor1(new Kusto.Language.Syntax.WildcardedName(Kusto.Language.Syntax.SyntaxToken.Identifier(System.Array.getItem(list,0,Kusto.Language.Parsing.LexicalToken).Trivia,System.String.concat(Bridge.toArray(System.Linq.Enumerable.from(list).select(function(t){return t.Text})))))),Kusto.Language.Syntax.Expression)}).WithTag$1(""),Conditioned=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.QuestionToken),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(question,openParen,expr,closeParen){return Bridge.cast(new Kusto.Language.Syntax.ConditionedExpression(question,openParen,expr,closeParen),Kusto.Language.Syntax.Expression)}).WithTag$1(""),InvocationExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MinusToken).Hide$1(),FunctionCallOrPath,function(op,expr){return Bridge.cast(new Kusto.Language.Syntax.PrefixUnaryExpression(Kusto.Language.Syntax.SyntaxKind.UnaryMinusExpression,op,expr),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PlusToken).Hide$1(),FunctionCallOrPath,function(op,expr){return Bridge.cast(new Kusto.Language.Syntax.PrefixUnaryExpression(Kusto.Language.Syntax.SyntaxKind.UnaryPlusExpression,op,expr),Kusto.Language.Syntax.Expression)}),FunctionCallOrPath]),BrackettedPathElementSelector=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[WildcardedNameReference,Conditioned,InvocationExpression]).Hide$1(),Kusto.Language.Parsing.QueryGrammar.MissingNameReference),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(openBracket,expr,closeBracket){return Bridge.cast(new Kusto.Language.Syntax.BrackettedExpression(openBracket,expr,closeBracket),Kusto.Language.Syntax.Expression)}),PathElementSelector=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[BarePathElementSelector,BrackettedPathElementSelector]),BrackettedEntityNamePathElementSelector=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[WildcardedNameReference,this.StringLiteral]),Kusto.Language.Parsing.QueryGrammar.MissingNameReference),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(openBracket,expr,closeBracket){return Bridge.cast(new Kusto.Language.Syntax.BrackettedExpression(openBracket,expr,closeBracket),Kusto.Language.Syntax.Expression)}),EntityPathExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,PathElementSelector,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$2(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,PathElementSelector,Kusto.Language.Parsing.QueryGrammar.MissingNameReference),function(left,dot,selector){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(left,dot,selector),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$10(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,BrackettedPathElementSelector,function(left,right){return Bridge.cast(new Kusto.Language.Syntax.ElementExpression(left,right),Kusto.Language.Syntax.Expression)})])}),EntityReferenceExpression=EntityPathExpression.WithTag$1(""),ScanWildcardedEntityReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([ScanWildcard,ScanFunctionCall]),SimpleOrWildcardedEntityReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[WildcardedNameReference,this.SimpleNameReference]).WithTag$1(""),WildcardedEntityReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[WildcardedNameReference,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,ScanFunctionCall,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,DotCompositeFunctionCall,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[WildcardedNameReference,BarePathElementSelector,BrackettedEntityNamePathElementSelector]),Kusto.Language.Parsing.QueryGrammar.MissingNameReference),function(path,dot,selector){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(path,dot,selector),Kusto.Language.Syntax.Expression)})}))]).WithTag$1("");TokenNamedParameter=Bridge.fn.bind(this,function(keyword,tokenValues){return tokenValues!=null?Kusto.Language.Parsing.QueryGrammar.NamedParameter$3(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token$2(tokenValues)),Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)).Hide$1(),this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingTokenLiteral(tokenValues)):Kusto.Language.Parsing.QueryGrammar.NamedParameter$3(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)),this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingTokenLiteral$1(["token"]))});ToScalarExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NamedParameter,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToScalarKeyword,Kusto.Language.Editor.CompletionKind.ScalarPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,TokenNamedParameter("kind",Kusto.Language.KustoFacts.ToScalarKinds).Hide$1()),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(name,kind,openParen,expression,closeParen){return Bridge.cast(new Kusto.Language.Syntax.ToScalarExpression(name,kind,openParen,expression,closeParen),Kusto.Language.Syntax.Expression)});ToTableExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NamedParameter,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToTableKeyword,Kusto.Language.Editor.CompletionKind.TabularPrefix).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,TokenNamedParameter("kind",Kusto.Language.KustoFacts.ToTableKinds).Hide$1()),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(name,kind,openParen,expression,closeParen){return Bridge.cast(new Kusto.Language.Syntax.ToTableExpression(name,kind,openParen,expression,closeParen),Kusto.Language.Syntax.Expression)});FunctionCallOrPathCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[ToTableExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[ToScalarExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,ScanFunctionCall,DotCompositeFunctionCall),PrimaryExpression]),function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$2(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,PathElementSelector,Kusto.Language.Parsing.QueryGrammar.MissingNameReference),function(left,dot,selector){return Bridge.cast(new Kusto.Language.Syntax.PathExpression(left,dot,selector),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$10(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,BrackettedPathElementSelector,function(left,right){return Bridge.cast(new Kusto.Language.Syntax.ElementExpression(left,right),Kusto.Language.Syntax.Expression)})])})]);var RequiredFunctionCallOrPath=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,FunctionCallOrPath,Kusto.Language.Parsing.QueryGrammar.MissingExpression),UnaryPlusOrMinus=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PlusToken).Hide$1(),RequiredFunctionCallOrPath,function(op,expr){return Bridge.cast(new Kusto.Language.Syntax.PrefixUnaryExpression(Kusto.Language.Syntax.SyntaxKind.UnaryPlusExpression,op,expr),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MinusToken).Hide$1(),RequiredFunctionCallOrPath,function(op,expr){return Bridge.cast(new Kusto.Language.Syntax.PrefixUnaryExpression(Kusto.Language.Syntax.SyntaxKind.UnaryMinusExpression,op,expr),Kusto.Language.Syntax.Expression)}),FunctionCallOrPath]),RequiredUnaryPlusOrMinus=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnaryPlusOrMinus,Kusto.Language.Parsing.QueryGrammar.MissingExpression),StringOperatorTokens=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,System.Linq.Enumerable.from(Kusto.Language.Parsing.QueryGrammar.StringOperatorMap.getKeys()).select(function(k){return Kusto.Language.Parsing.QueryGrammar.IsTokenVisible(k)?Kusto.Language.Parsing.SyntaxParsers.Token(k,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(k)||"")+' "|"'):Kusto.Language.Parsing.SyntaxParsers.Token(k).Hide$1()}).ToArray(Kusto.Language.Parsing.Parser$2(Kusto.Language.Parsing.LexicalToken,Kusto.Language.Syntax.SyntaxToken))),StringOperation=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken).Hide$1(),StringOperatorTokens,RequiredUnaryPlusOrMinus,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Parsing.QueryGrammar.StringOperatorMap.get(op.Kind),new Kusto.Language.Syntax.StarExpression(left),op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,UnaryPlusOrMinus,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,StringOperatorTokens,RequiredUnaryPlusOrMinus,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Parsing.QueryGrammar.StringOperatorMap.get(op.Kind),left,op,right),Kusto.Language.Syntax.Expression)})})]),RequiredStringOperation=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,StringOperation,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Multiplicative=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,StringOperation,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$2(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredStringOperation,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.MultiplyExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SlashToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredStringOperation,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.DivideExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PercentToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredStringOperation,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.ModuloExpression,left,op,right),Kusto.Language.Syntax.Expression)})])}),RequiredMultiplicative=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Multiplicative,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Additive=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,Multiplicative,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$2(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PlusToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredMultiplicative,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.AddExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MinusToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredMultiplicative,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.SubtractExpression,left,op,right),Kusto.Language.Syntax.Expression)})])}),RequiredAdditive=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Additive,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Relational=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,Additive,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$2(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LessThanToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredAdditive,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.LessThanExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LessThanOrEqualToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredAdditive,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.LessThanOrEqualExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.GreaterThanToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredAdditive,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.GreaterThanExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.GreaterThanOrEqualToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredAdditive,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.GreaterThanOrEqualExpression,left,op,right),Kusto.Language.Syntax.Expression)})])}),RequiredRelational=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Relational,Kusto.Language.Parsing.QueryGrammar.MissingExpression),ExpressionCouple=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionCouple,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,FunctionCallOrPath,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.DotDotToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,FunctionCallOrPath,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,first,dotDot,second,closeParen){return new Kusto.Language.Syntax.ExpressionCouple(openParen,first,dotDot,second,closeParen)}),InOperatorExpressionList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,list,closeParen){return new Kusto.Language.Syntax.ExpressionList(openParen,list,closeParen)}),Equality=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualEqualToken),Relational,function(asterisk,equal,expression){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.EqualExpression,new Kusto.Language.Syntax.StarExpression(asterisk),equal,expression),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,Relational,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$2(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualEqualToken,Kusto.Language.Editor.CompletionKind.ScalarInfix,Kusto.Language.Editor.CompletionPriority.Top),RequiredRelational,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.EqualExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BangEqualToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredRelational,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.NotEqualExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LessThanGreaterThanToken,Kusto.Language.Editor.CompletionKind.ScalarInfix).Hide$1(),RequiredRelational,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.NotEqualExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.InKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.InKeyword)||"")+" (|)"),InOperatorExpressionList,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.InExpression(Kusto.Language.Syntax.SyntaxKind.InExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.InCsKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.InCsKeyword)||"")+" (|)"),InOperatorExpressionList,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.InExpression(Kusto.Language.Syntax.SyntaxKind.InCsExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.NotInKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.NotInKeyword)||"")+" (|)"),InOperatorExpressionList,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.InExpression(Kusto.Language.Syntax.SyntaxKind.NotInExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.NotInCsKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.NotInCsKeyword)||"")+" (|)"),InOperatorExpressionList,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.InExpression(Kusto.Language.Syntax.SyntaxKind.NotInCsExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionList,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.HasAnyKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HasAnyKeyword)||"")+" (|)"),InOperatorExpressionList,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.HasAnyExpression(Kusto.Language.Syntax.SyntaxKind.HasAnyKeyword,left,op,right),Kusto.Language.Syntax.Expression)}).Hide(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionCouple,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BetweenKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.BetweenKeyword)||"")+" (|)"),ExpressionCouple,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BetweenExpression(Kusto.Language.Syntax.SyntaxKind.BetweenExpression,left,op,right),Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExpressionCouple,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.NotBetweenKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix,2,(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.NotBetweenKeyword)||"")+" (|)"),ExpressionCouple,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BetweenExpression(Kusto.Language.Syntax.SyntaxKind.NotBetweenExpression,left,op,right),Kusto.Language.Syntax.Expression)})])})]),LogicalAnd=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,Equality,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AndKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Equality,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.AndExpression,left,op,right),Kusto.Language.Syntax.Expression)})}),LogicalOr=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,LogicalAnd,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OrKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,LogicalAnd,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.OrExpression,left,op,right),Kusto.Language.Syntax.Expression)})}),QueryOperatorParameter=Kusto.Language.Parsing.QueryGrammar.NamedParameter(Kusto.Language.Parsing.SyntaxParsers.Token$2(Kusto.Language.Parsing.QueryGrammar.KnownQueryOperatorParameterNames).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)),BooleanLiteral,NumericConstantExpression,StringOrCompoundStringLiteral])).Hide$1();BooleanNamedParameter=Bridge.fn.bind(this,function(keyword){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$3(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[BooleanLiteralWithCompletion,this.SimpleNameReference,this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingBooleanLiteral)});var ConsumeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ConsumeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[BooleanNamedParameter("decodeblocks"),QueryOperatorParameter])),function(consume,parameters){return Bridge.cast(new Kusto.Language.Syntax.ConsumeOperator(consume,parameters),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),CountAsIdentifierClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.CountAsIdentifierClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),function(asKeyword,identifier){return new Kusto.Language.Syntax.CountAsIdentifierClause(asKeyword,identifier)}),CountOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.CountAsIdentifierClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CountKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.CountAsIdentifierClause,CountAsIdentifierClause),function(countKeyword,asIdentifier){return Bridge.cast(new Kusto.Language.Syntax.CountOperator(countKeyword,asIdentifier),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ExecuteAndCacheOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ExecuteAndCacheKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),function(keyword){return Bridge.cast(new Kusto.Language.Syntax.ExecuteAndCacheOperator(keyword),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ExtendOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ExtendKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return Bridge.cast(new Kusto.Language.Syntax.ExtendOperator(keyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),FacetWithClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.FacetWithClause,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FacetWithClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WithKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,ForkPipeExpression,Kusto.Language.Parsing.QueryGrammar.MissingQueryOperatorExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(withKeyword,openParen,expr,closeParen){return Bridge.cast(new Kusto.Language.Syntax.FacetWithExpressionClause(withKeyword,openParen,expr,closeParen),Kusto.Language.Syntax.FacetWithClause)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.FacetWithClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WithKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.QueryOperator,ForkPipeOperator,Kusto.Language.Parsing.QueryGrammar.MissingQueryOperator),function(withKeyword,op){return Bridge.cast(new Kusto.Language.Syntax.FacetWithOperatorClause(withKeyword,op),Kusto.Language.Syntax.FacetWithClause)})]),FacetOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.FacetWithClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.FacetKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,EntityReferenceExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNameReferenceNode,!0,!1),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.FacetWithClause,FacetWithClause),function(facetKeyword,byKeyword,list,withClause){return Bridge.cast(new Kusto.Language.Syntax.FacetOperator(facetKeyword,byKeyword,list,withClause),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),FilterOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WhereKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Top),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.FilterKeyword).Hide$1()]),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,parameters,condition){return Bridge.cast(new Kusto.Language.Syntax.FilterOperator(keyword,parameters,condition),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),GetSchemaOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.GetSchemaKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),function(keyword){return Bridge.cast(new Kusto.Language.Syntax.GetSchemaOperator(keyword),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),FindOperand=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[WildcardedEntityReference,BrackettedEntityNamePathElementSelector,BarePathElementSelector]),FindInClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FindInClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.InKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,FindOperand,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(inKeyword,openParen,exprs,closeParen){return new Kusto.Language.Syntax.FindInClause(inKeyword,openParen,exprs,closeParen)}),ColumnNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[IdentifierNameReference,KeywordNameReference,BrackettedNameReference,ClientParameterReference]).WithTag$1(""),TypedColumnNameReference=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,ColumnNameReference,Bridge.fn.bind(this,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.TypeExpression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.TypeExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.TypeExpression,[this.ParamTypeExtended,IdentifierTypeExpression]),Kusto.Language.Parsing.QueryGrammar.MissingType),function(name,colon,type){return Bridge.cast(new Kusto.Language.Syntax.TypedColumnReference(Bridge.cast(name,Kusto.Language.Syntax.NameReference),colon,type),Kusto.Language.Syntax.Expression)})})),PackExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PackKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.AsteriskToken,Kusto.Language.Editor.CompletionKind.Syntax),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(pack,openParen,asterisk,closeParen){return Bridge.cast(new Kusto.Language.Syntax.PackExpression(pack,openParen,asterisk,closeParen),Kusto.Language.Syntax.Expression)}),FindProjectColumn=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[PackExpression,StarExpression,TypedColumnNameReference]),FindProjectClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.FindProjectClause,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.FindProjectClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ProjectKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,FindProjectColumn,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(token,list){return new Kusto.Language.Syntax.FindProjectClause(token,list)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FindProjectClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ProjectSmartKeyword),function(token){return new Kusto.Language.Syntax.FindProjectClause(token,Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)).Empty())})]),FindProjectAwayClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.FindProjectClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind._ProjectAwayKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,FindProjectColumn,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(token,list){return new Kusto.Language.Syntax.FindProjectClause(token,list)});NameDeclarationNamedParameter=Bridge.fn.bind(this,function(keyword,expressionHint){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$3(keyword,this.SimpleNameDeclarationExpression,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclarationExpression,expressionHint)});DataScopeClause=function(ckind){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.DataScopeClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DataScopeKeyword,ckind).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.SyntaxParsers.RequiredToken$2(Kusto.Language.KustoFacts.DataScopeValues),function(dataScopeKeyword,equalToken,valueToken){return new Kusto.Language.Syntax.DataScopeClause(dataScopeKeyword,equalToken,valueToken)})};var FindOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$7(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.DataScopeClause,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.FindInClause,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.FindProjectClause,Bridge.global.Kusto.Language.Syntax.FindProjectClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.FindKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.DataScopeClause,DataScopeClause(Kusto.Language.Editor.CompletionKind.Syntax)),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[NameDeclarationNamedParameter(Kusto.Language.KustoFacts.FindWithSourceProperty,0),QueryOperatorParameter])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.FindInClause,FindInClause),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WhereKeyword)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.FindProjectClause,FindProjectClause),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.FindProjectClause,FindProjectAwayClause).Hide$1(),function(findKeyword,dataScope,parameters,inClause,whereKeyword,condition,project,projectAway){return Bridge.cast(new Kusto.Language.Syntax.FindOperator(findKeyword,dataScope,parameters,inClause,whereKeyword||(parameters.ChildCount>0||inClause!=null?Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(Kusto.Language.Syntax.SyntaxKind.WhereKeyword):null),condition,project,projectAway),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),SearchPredicate=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[UnnamedExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,StarExpression,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AndKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.AndExpression,left,op,right),Kusto.Language.Syntax.Expression)})})]),SearchOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.DataScopeClause,Bridge.global.Kusto.Language.Syntax.FindInClause,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SearchKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameter("kind",Kusto.Language.KustoFacts.SearchKinds),QueryOperatorParameter])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.DataScopeClause,DataScopeClause(Kusto.Language.Editor.CompletionKind.Syntax)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.FindInClause,FindInClause),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,SearchPredicate,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,parameters,dataScope,inClause,predicate){return Bridge.cast(new Kusto.Language.Syntax.SearchOperator(keyword,parameters,dataScope,inClause,predicate),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),NameEqualsClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.NameEqualsClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken)]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameEqualsClause,this.SimpleNameDeclaration,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),function(name,equalsToken){return new Kusto.Language.Syntax.NameEqualsClause(name,equalsToken)})),ForkExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.NameEqualsClause,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ForkExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.NameEqualsClause,NameEqualsClause),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,ForkPipeExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(nameClause,openParen,expr,closeParen){return new Kusto.Language.Syntax.ForkExpression(nameClause,openParen,expr,closeParen)}),ForkOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.ForkExpression),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ForkKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.ForkExpression,ForkExpression,Kusto.Language.Parsing.QueryGrammar.MissingForkExpressionNode,!0),function(forkKeyword,list){return Bridge.cast(new Kusto.Language.Syntax.ForkOperator(forkKeyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),PartitionQueryExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PartitionExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken),function(openParen,expr,closeParen){return new Kusto.Language.Syntax.PartitionExpression(openParen,expr,closeParen)}),PartitionSubqueryExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PartitionExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,PartitionPipeExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,expr,closeParen){return new Kusto.Language.Syntax.PartitionExpression(openParen,expr,closeParen)});TokenNamedParameterK=Bridge.fn.bind(this,function(keyword,tokenValues){return tokenValues!=null?Kusto.Language.Parsing.QueryGrammar.NamedParameter$2(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token$2(tokenValues)),Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)).Hide$1(),this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingTokenLiteral(tokenValues)):Kusto.Language.Parsing.QueryGrammar.NamedParameter$2(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)),this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingTokenLiteral$1(["token"]))});BooleanNamedParameterK=Bridge.fn.bind(this,function(keyword){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$2(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[BooleanLiteralWithCompletion,this.SimpleNameReference,this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingBooleanLiteral)});var PartitionOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.PartitionExpression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PartitionKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotSpreadKeyword,Kusto.Language.KustoFacts.JoinHintRemotes),TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotConcurrencyKeyword,Kusto.Language.KustoFacts.JoinHintRemotes),BooleanNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotMaterializedKeyword),QueryOperatorParameter])),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,EntityReferenceExpression,Kusto.Language.Parsing.QueryGrammar.MissingNameReference),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.PartitionExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.PartitionExpression,[PartitionSubqueryExpression,PartitionQueryExpression]),Kusto.Language.Parsing.QueryGrammar.MissingPartitionSubqueryExpression),function(partitionKeyword,parameters,byKeyword,byExpression,operand){return Bridge.cast(new Kusto.Language.Syntax.PartitionOperator(partitionKeyword,parameters,byKeyword,byExpression,operand),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),JoinEqualityExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,FunctionCallOrPath,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualEqualToken,Kusto.Language.Editor.CompletionKind.ScalarInfix),RequiredFunctionCallOrPath,function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.EqualExpression,left,op,right),Kusto.Language.Syntax.Expression)})}),JoinAndExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,JoinEqualityExpression,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AndKeyword,Kusto.Language.Editor.CompletionKind.ScalarInfix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,JoinEqualityExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.BinaryExpression(Kusto.Language.Syntax.SyntaxKind.AndExpression,left,op,right),Kusto.Language.Syntax.Expression)})}),JoinOnExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Best$1(Bridge.global.Kusto.Language.Syntax.Expression,[JoinAndExpression,UnnamedExpression.Hide$1()]),JoinOnClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.JoinConditionClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OnKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,JoinOnExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(onKeyword,list){return Bridge.cast(new Kusto.Language.Syntax.JoinOnClause(onKeyword,list),Kusto.Language.Syntax.JoinConditionClause)}),JoinWhereClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.JoinConditionClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WhereKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,predicate){return Bridge.cast(new Kusto.Language.Syntax.JoinWhereClause(keyword,predicate),Kusto.Language.Syntax.JoinConditionClause)});NameReferenceNamedParameterK=Bridge.fn.bind(this,function(keyword,expressionHint){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$2(keyword,this.SimpleNameReference,Kusto.Language.Parsing.QueryGrammar.MissingNameReference,expressionHint)});NumericNamedParameterK=Bridge.fn.bind(this,function(keyword){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$2(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[NumericConstantExpression,this.SimpleNameReference,this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingLongLiteral)});var JoinOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.JoinConditionClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.JoinKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.KindKeyword,Kusto.Language.KustoFacts.JoinKinds),TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotRemoteKeyword,Kusto.Language.KustoFacts.JoinHintRemotes),NameReferenceNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotShuffleKeyKeyword,Kusto.Language.Editor.CompletionHint.Column),TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotStrategyKeyword,Kusto.Language.KustoFacts.JoinHintStrategies),NumericNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotNumPartitions),QueryOperatorParameter])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.JoinConditionClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.JoinConditionClause,[JoinOnClause,JoinWhereClause.Hide$1()])),function(joinKeyword,parameters,expr,condition){return Bridge.cast(new Kusto.Language.Syntax.JoinOperator(joinKeyword,parameters,expr,condition),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),LookupOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.JoinConditionClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LookupKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.KindKeyword,Kusto.Language.KustoFacts.JoinKinds)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.JoinConditionClause,JoinOnClause,Kusto.Language.Parsing.QueryGrammar.MissingJoinOnClause),function(LookupKeyword,parameters,expr,onClause){return Bridge.cast(new Kusto.Language.Syntax.LookupOperator(LookupKeyword,parameters,expr,onClause),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),MakeSeriesOnClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.MakeSeriesOnClause,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OnKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,expr){return new Kusto.Language.Syntax.MakeSeriesOnClause(keyword,expr)}),MakeSeriesInRangeClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.MakeSeriesRangeClause,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.InKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.RangeKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(inKeyword,rangeKeyword,openParen,list,closeParen){return Bridge.cast(new Kusto.Language.Syntax.MakeSeriesInRangeClause(inKeyword,rangeKeyword,new Kusto.Language.Syntax.ExpressionList(openParen,list,closeParen)),Kusto.Language.Syntax.MakeSeriesRangeClause)}),MakeSeriesFromToStepClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$5(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.MakeSeriesRangeClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.FromKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ToKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.StepKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(FromToken,fromEx,ToToken,toEx,stepToken,stepEx){return Bridge.cast(new Kusto.Language.Syntax.MakeSeriesFromToStepClause(FromToken,fromEx,ToToken,toEx,stepToken,stepEx),Kusto.Language.Syntax.MakeSeriesRangeClause)}),MakeSeriesByClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.MakeSeriesByClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return new Kusto.Language.Syntax.MakeSeriesByClause(keyword,list)}),DefaultExpressionClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.DefaultExpressionClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DefaultKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(defaultKeyword,equalToken,expr){return new Kusto.Language.Syntax.DefaultExpressionClause(defaultKeyword,equalToken,expr)}),MakeSeriesExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.DefaultExpressionClause,Bridge.global.Kusto.Language.Syntax.MakeSeriesExpression,NamedExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.DefaultExpressionClause,DefaultExpressionClause),function(agg,defexp){return new Kusto.Language.Syntax.MakeSeriesExpression(agg,defexp)}),MakeSeriesOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$5(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MakeSeriesExpression)),Bridge.global.Kusto.Language.Syntax.MakeSeriesOnClause,Bridge.global.Kusto.Language.Syntax.MakeSeriesRangeClause,Bridge.global.Kusto.Language.Syntax.MakeSeriesByClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MakeSeriesKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.MakeSeriesExpression,MakeSeriesExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingMakeSeriesExpressionNode,!0,!1),MakeSeriesOnClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.MakeSeriesRangeClause,[MakeSeriesFromToStepClause,MakeSeriesInRangeClause]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.MakeSeriesByClause,MakeSeriesByClause),function(keyword,parameters,aggregates,onClause,rangeClause,byClause){return Bridge.cast(new Kusto.Language.Syntax.MakeSeriesOperator(keyword,parameters,aggregates,onClause,rangeClause,byClause),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ToTypeOfClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,TypeofLiteral,Kusto.Language.Parsing.QueryGrammar.MissingTypeOfLiteral),function(toKeyword,typeOfLiteral){return new Kusto.Language.Syntax.ToTypeOfClause(toKeyword,Bridge.cast(typeOfLiteral,Kusto.Language.Syntax.TypeOfLiteralExpression))}),MvExpandExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.MvExpandExpression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.MvExpandExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToKeyword).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Bridge.global.Kusto.Language.Syntax.MvExpandExpression,ToTypeOfClause,function(clause){return new Kusto.Language.Syntax.MvExpandExpression(Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode.Clone$1(),Kusto.Language.Syntax.Expression),clause)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Bridge.global.Kusto.Language.Syntax.MvExpandExpression,NamedExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,ToTypeOfClause),function(expr,toTypeOfClause){return new Kusto.Language.Syntax.MvExpandExpression(expr,toTypeOfClause)})]),MvExpandExpressionList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)),[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToKeyword).Hide$1(),TypeofLiteral,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Fails(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CommaToken))]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)),ToTypeOfClause,function(clause){return new(Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)).ctor)(System.Array.init([new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression))(new Kusto.Language.Syntax.MvExpandExpression(null,clause))],Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)))})),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.MvExpandExpression,MvExpandExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingMvExpandExpressionNode,!0,!1)]),MvExpandRowLimitClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.MvExpandRowLimitClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LimitKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,expr){return new Kusto.Language.Syntax.MvExpandRowLimitClause(keyword,expr)}),MvExpandParameters=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameter(Kusto.Language.KustoFacts.MvExpandBagExpansionProperty,Kusto.Language.KustoFacts.MvExpandBagExpansions),NameDeclarationNamedParameter(Kusto.Language.KustoFacts.MvExpandWithItemIndexProperty,0),QueryOperatorParameter]),MvExpandOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)),Bridge.global.Kusto.Language.Syntax.MvExpandRowLimitClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MvExpandKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MvDashExpandKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix)]),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,MvExpandParameters).Hide$1(),MvExpandExpressionList,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.MvExpandRowLimitClause,MvExpandRowLimitClause),function(keyword,parameters,list,rowLimit){return Bridge.cast(new Kusto.Language.Syntax.MvExpandOperator(keyword,parameters,list,rowLimit),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),MvApplyExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.MvApplyExpression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.MvApplyExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToKeyword).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Bridge.global.Kusto.Language.Syntax.MvApplyExpression,ToTypeOfClause,function(clause){return new Kusto.Language.Syntax.MvApplyExpression(Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode.Clone$1(),Kusto.Language.Syntax.Expression),clause)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Bridge.global.Kusto.Language.Syntax.MvApplyExpression,NamedExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,ToTypeOfClause),function(expr,toTypeOfClause){return new Kusto.Language.Syntax.MvApplyExpression(expr,toTypeOfClause)})]),MvApplyExpressionList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)),[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ToKeyword).Hide$1(),TypeofLiteral,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Fails(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CommaToken))]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)),ToTypeOfClause,function(clause){return new(Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)).ctor)(System.Array.init([new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression))(new Kusto.Language.Syntax.MvApplyExpression(null,clause))],Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)))})),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.MvApplyExpression,MvApplyExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingMvApplyExpressionNode,!0,!1)]),MvApplyRowLimitClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.MvApplyRowLimitClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LimitKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,expr){return new Kusto.Language.Syntax.MvApplyRowLimitClause(keyword,expr)}),MvApplyContextIdClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.MvApplyContextIdClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,expr){return new Kusto.Language.Syntax.MvApplyContextIdClause(keyword,expr)}),MvApplyParameters=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[NameDeclarationNamedParameter(Kusto.Language.KustoFacts.MvApplyWithItemIndexProperty,0),QueryOperatorParameter]),MvApplySubqueryExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.MvApplySubqueryExpression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,PartitionPipeExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,expr,closeParen){return new Kusto.Language.Syntax.MvApplySubqueryExpression(openParen,expr,closeParen)}),MvApplyOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$6(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)),Bridge.global.Kusto.Language.Syntax.MvApplyRowLimitClause,Bridge.global.Kusto.Language.Syntax.MvApplyContextIdClause,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.MvApplySubqueryExpression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MvApplyKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MvDashApplyKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix)]),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,MvApplyParameters).Hide$1(),MvApplyExpressionList,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.MvApplyRowLimitClause,MvApplyRowLimitClause),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.MvApplyContextIdClause,MvApplyContextIdClause).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OnKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.MvApplySubqueryExpression,MvApplySubqueryExpression,Kusto.Language.Parsing.QueryGrammar.MissingMvApplySubqueryExpression),function(keyword,parameters,list,rowLimit,contextId,onKeyword,subquery){return Bridge.cast(new Kusto.Language.Syntax.MvApplyOperator(keyword,parameters,list,rowLimit,contextId,onKeyword,subquery),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),EvaluateOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EvaluateKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotDistributionKeyword,Kusto.Language.KustoFacts.DistributionHintStrategies),QueryOperatorParameter])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,FunctionCall,Kusto.Language.Parsing.QueryGrammar.MissingFunctionCallExpression),function(keyword,parameters,expr){return Bridge.cast(new Kusto.Language.Syntax.EvaluateOperator(keyword,parameters,Bridge.cast(expr,Kusto.Language.Syntax.FunctionCallExpression)),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ParseParameter=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.KindKeyword,Kusto.Language.KustoFacts.ParseKinds),TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.FlagsKeyword,void 0),QueryOperatorParameter]),ParseParameters=Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,ParseParameter),NameAndOptionalTypeDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,this.SimpleNameDeclarationExpression,Bridge.fn.bind(this,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.TypeExpression,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.TypeExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.TypeExpression,[this.ParamTypeExtended,IdentifierTypeExpression]),Kusto.Language.Parsing.QueryGrammar.MissingType),function(name,colon,type){return Bridge.cast(new Kusto.Language.Syntax.NameAndTypeDeclaration(Bridge.cast(name,Kusto.Language.Syntax.NameDeclaration),colon,type),Kusto.Language.Syntax.Expression)})})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.TypeExpression,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken).Hide$1(),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.TypeExpression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.TypeExpression,[this.ParamTypeExtended,IdentifierTypeExpression]),Kusto.Language.Parsing.QueryGrammar.MissingType),function(colon,type){return Bridge.cast(new Kusto.Language.Syntax.NameAndTypeDeclaration(Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameDeclarationNode.Clone$1(),Kusto.Language.Syntax.NameDeclaration),colon,type),Kusto.Language.Syntax.Expression)})]),ParseWithExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[StarExpression,StringOrCompoundStringLiteral,NameAndOptionalTypeDeclaration]),ParseOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxNode),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ParseKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),ParseParameters,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.WithKeyword),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.SyntaxNode,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxNode,ParseWithExpression,function(e){return Bridge.cast(e,Kusto.Language.Syntax.SyntaxNode)})),function(parseKeyword,parameters,expr,withKeyword,expressions){return Bridge.cast(new Kusto.Language.Syntax.ParseOperator(parseKeyword,parameters,expr,withKeyword,expressions),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ProjectOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ProjectKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return Bridge.cast(new Kusto.Language.Syntax.ProjectOperator(keyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ProjectAwayOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ProjectAwayKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,SimpleOrWildcardedEntityReference,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return Bridge.cast(new Kusto.Language.Syntax.ProjectAwayOperator(keyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ProjectRenameOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ProjectRenameKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return Bridge.cast(new Kusto.Language.Syntax.ProjectRenameOperator(keyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),SampleOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SampleKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(sampleKeyword,parameters,expression){return Bridge.cast(new Kusto.Language.Syntax.SampleOperator(sampleKeyword,parameters,expression),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),SampleDistinctOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SampleDistinctKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OfKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,parameters,expr,ofKeyword,ofExpr){return Bridge.cast(new Kusto.Language.Syntax.SampleDistinctOperator(keyword,parameters,expr,ofKeyword,ofExpr),Kusto.Language.Syntax.QueryOperator)}).WithTag$1("");StringNamedParameterK=Bridge.fn.bind(this,function(keyword){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$1(Kusto.Language.Parsing.SyntaxParsers.Token(keyword,void 0,2,System.String.format('{0}="|"',[Kusto.Language.Syntax.SyntaxFacts.GetText(keyword)])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[StringOrCompoundStringLiteral,this.SimpleNameReference,this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingStringLiteral)});var ReduceByWithParameter=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[NumericNamedParameterK(Kusto.Language.Syntax.SyntaxKind.ThresholdKeyword),StringNamedParameterK(Kusto.Language.Syntax.SyntaxKind.CharactersKeyword),QueryOperatorParameter]),ReduceByWithClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),Bridge.global.Kusto.Language.Syntax.ReduceByWithClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WithKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,ReduceByWithParameter,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNamedParameterNode),function(keyword,list){return new Kusto.Language.Syntax.ReduceByWithClause(keyword,list)}),ReduceByOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.ReduceByWithClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ReduceKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.KindKeyword,Kusto.Language.KustoFacts.ReduceByKinds),QueryOperatorParameter])),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.ReduceByWithClause,ReduceByWithClause),function(reduceKeyword,parameters,byKeyword,expr,withClause){return Bridge.cast(new Kusto.Language.Syntax.ReduceByOperator(reduceKeyword,parameters,byKeyword,expr,withClause),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),SummarizeByClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SummarizeByClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Not(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BinKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken)])),NamedExpression),Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(byKeyword,expressions){return new Kusto.Language.Syntax.SummarizeByClause(byKeyword,expressions)}).WithTag$1(""),SummarizeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SummarizeByClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SummarizeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[NameReferenceNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotShuffleKeyKeyword,Kusto.Language.Editor.CompletionHint.Column),NumericNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotNumPartitions),QueryOperatorParameter])),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!1,!1),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SummarizeByClause,SummarizeByClause),function(summarizeKeyword,parameters,aggregates,byClause){return Bridge.cast(new Kusto.Language.Syntax.SummarizeOperator(summarizeKeyword,parameters,aggregates,byClause),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),DistinctOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DistinctKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[StarExpression,UnnamedExpression]),Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return Bridge.cast(new Kusto.Language.Syntax.DistinctOperator(keyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),TakeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LimitKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TakeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix)]),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Examples(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.KustoFacts.LimitExamples),Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,parameters,expression){return Bridge.cast(new Kusto.Language.Syntax.TakeOperator(keyword,parameters,expression),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),MissingFirstOrLastToken=Kusto.Language.Syntax.SyntaxToken.Missing$1("",Kusto.Language.Syntax.SyntaxKind.FirstKeyword,System.Array.init([Kusto.Language.DiagnosticFacts.GetMissingFirstOrLast()],Kusto.Language.Diagnostic)),OrderingNullsClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.OrderingNullsClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.NullsKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.FirstKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LastKeyword)]),function(){return MissingFirstOrLastToken.Clone$1()}),function(keyword,firstOrLast){return new Kusto.Language.Syntax.OrderingNullsClause(keyword,firstOrLast)}),OrderingClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.OrderingNullsClause,Bridge.global.Kusto.Language.Syntax.OrderingClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token$1(System.Array.init([Kusto.Language.Syntax.SyntaxKind.AscKeyword,Kusto.Language.Syntax.SyntaxKind.DescKeyword],Kusto.Language.Syntax.SyntaxKind))),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.OrderingNullsClause,OrderingNullsClause),function(ascOrDesc,nullsClause){return new Kusto.Language.Syntax.OrderingClause(ascOrDesc,nullsClause)}),OrderingNoNullClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.OrderingClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token$1(System.Array.init([Kusto.Language.Syntax.SyntaxKind.AscKeyword,Kusto.Language.Syntax.SyntaxKind.DescKeyword],Kusto.Language.Syntax.SyntaxKind))),function(ascOrDesc){return new Kusto.Language.Syntax.OrderingClause(ascOrDesc,null)}),SortExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$10(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.OrderingClause,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.OrderingClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AscKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DescKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.NullsKeyword)]),OrderingClause),function(left,right){return Bridge.cast(new Kusto.Language.Syntax.OrderedExpression(left,right),Kusto.Language.Syntax.Expression)})}),SortOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OrderKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SortKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High)]),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,SortExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,byKeyword,list){return Bridge.cast(new Kusto.Language.Syntax.SortOperator(keyword,byKeyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),ReorderExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,SimpleOrWildcardedEntityReference,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$10(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.OrderingClause,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.OrderingClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AscKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DescKeyword)]),OrderingNoNullClause),function(left,right){return Bridge.cast(new Kusto.Language.Syntax.OrderedExpression(left,right),Kusto.Language.Syntax.Expression)})}),ProjectReorderOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ProjectReorderKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,ReorderExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,list){return Bridge.cast(new Kusto.Language.Syntax.ProjectReorderOperator(keyword,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),TopHittersByClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.TopHittersByClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,expression){return new Kusto.Language.Syntax.TopHittersByClause(keyword,expression)}),TopHittersOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,"",Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.TopHittersByClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TopHittersKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Examples(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.KustoFacts.TopExamples),Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OfKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.TopHittersByClause,TopHittersByClause),function(keyword,expr,ofKeyword,ofExpr,byClause){return Bridge.cast(new Kusto.Language.Syntax.TopHittersOperator(keyword,expr,ofKeyword,ofExpr,byClause),Kusto.Language.Syntax.QueryOperator)})),TopOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TopKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[BooleanNamedParameterK(Kusto.Language.Syntax.SyntaxKind.HintDotProgressiveTopKeyword)])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Examples(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.KustoFacts.TopExamples),Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,SortExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,parameters,expr,byKeyword,byExpr){return Bridge.cast(new Kusto.Language.Syntax.TopOperator(keyword,parameters,expr,byKeyword,byExpr),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),TopNestedWithOthersClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.TopNestedWithOthersClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WithKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OthersKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),this.ConstantExpression,function(withKeyword,othersKeyword,equals,expression){return new Kusto.Language.Syntax.TopNestedWithOthersClause(withKeyword,othersKeyword,equals,expression)}),TopNestedByExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$10(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.OrderingClause,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.OrderingClause,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AscKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DescKeyword),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.NullsKeyword)]),OrderingClause),function(expr,orderingClause){return Bridge.cast(new Kusto.Language.Syntax.OrderedExpression(expr,orderingClause),Kusto.Language.Syntax.Expression)})}),TopNestedClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$6(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.TopNestedWithOthersClause,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.TopNestedClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TopNestedKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OfKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.TopNestedWithOthersClause,TopNestedWithOthersClause),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ByKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,TopNestedByExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,expr,ofKeyword,ofExpr,withOthersClause,byKeyword,byExpr){return new Kusto.Language.Syntax.TopNestedClause(keyword,expr,ofKeyword,ofExpr,withOthersClause,byKeyword,byExpr)}),MissingTopNestedClauseNode=new Kusto.Language.Syntax.TopNestedClause(Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.TopNestedKeyword),null,Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.OfKeyword),new Kusto.Language.Syntax.NameReference.$ctor2(Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)),null,Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.ByKeyword),new Kusto.Language.Syntax.NameReference.$ctor2(Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)),System.Array.init([Kusto.Language.DiagnosticFacts.GetMissingClause()],Kusto.Language.Diagnostic)),TopNestedOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.TopNestedKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.TopNestedClause)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.TopNestedClause,TopNestedClause,Kusto.Language.Syntax.SyntaxKind.CommaToken,MissingTopNestedClauseNode,!0,!1),function(list){return Bridge.cast(new Kusto.Language.Syntax.TopNestedOperator(list),Kusto.Language.Syntax.QueryOperator)})).WithTag$1(""),UnionExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[ParenthesizedExpression,WildcardedEntityReference,BrackettedEntityNamePathElementSelector,BarePathElementSelector]);NameDeclarationNamedParameterL=function(keywords,expressionHint){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,System.Linq.Enumerable.from(keywords).select(function(keyword){return NameDeclarationNamedParameter(keyword,expressionHint)}).ToArray(Kusto.Language.Parsing.Parser$2(Kusto.Language.Parsing.LexicalToken,Kusto.Language.Syntax.NamedParameter)))};var UnionOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.UnionKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[TokenNamedParameterK(Kusto.Language.Syntax.SyntaxKind.KindKeyword,Kusto.Language.KustoFacts.UnionKinds),NameDeclarationNamedParameterL(Kusto.Language.KustoFacts.UnionWithSourceProperties,0),BooleanNamedParameterK(Kusto.Language.Syntax.SyntaxKind.IsFuzzyKeyword),QueryOperatorParameter])),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,UnionExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,parameters,list){return Bridge.cast(new Kusto.Language.Syntax.UnionOperator(keyword,parameters,list),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),AsOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),function(keyword,parameters,name){return Bridge.cast(new Kusto.Language.Syntax.AsOperator(keyword,parameters,name),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),SerializeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SerializeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!1,!1),function(keyword,parameters,exprs){return Bridge.cast(new Kusto.Language.Syntax.SerializeOperator(keyword,parameters,exprs),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),RangeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RangeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Fails(Kusto.Language.Parsing.SyntaxParsers.Token$3("("))]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$7(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RangeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.FromKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ToKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.StepKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(rangeToken,name,FromToken,fromEx,ToToken,toEx,stepToken,stepEx){return Bridge.cast(new Kusto.Language.Syntax.RangeOperator(rangeToken,name,FromToken,fromEx,ToToken,toEx,stepToken,stepEx),Kusto.Language.Syntax.QueryOperator)})).WithTag$1(""),InvokeOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.InvokeKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.Low),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,DotCompositeFunctionCall,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(keyword,$function){return Bridge.cast(new Kusto.Language.Syntax.InvokeOperator(keyword,$function),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),RenderNameListName=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Not(Kusto.Language.Parsing.SyntaxParsers.Token$2(Kusto.Language.KustoFacts.ChartProperties)),this.SimpleNameDeclaration),RenderNameList=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameDeclaration)),Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Produce(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameDeclaration)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Sequence([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxElement,RenderNameListName,function(n){return Bridge.cast(n,Kusto.Language.Syntax.SyntaxElement)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ZeroOrMore(Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Sequence([Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxElement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CommaToken),function(t){return Bridge.cast(t,Kusto.Language.Syntax.SyntaxElement)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxElement,RenderNameListName,function(l){return Bridge.cast(l,Kusto.Language.Syntax.SyntaxElement)})]))]),function(elements){return Kusto.Language.Parsing.SyntaxParsers.MakeSeparatedList$1(Bridge.global.Kusto.Language.Syntax.NameDeclaration,elements)}),function(list){return Bridge.cast(new Kusto.Language.Syntax.RenderNameList(list),Kusto.Language.Syntax.Expression)});NameReferenceNamedParameter=Bridge.fn.bind(this,function(keyword,expressionHint){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$3(keyword,this.SimpleNameReference,Kusto.Language.Parsing.QueryGrammar.MissingNameReference,expressionHint)});NumericNamedParameter=Bridge.fn.bind(this,function(keyword){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$3(keyword,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[NumericConstantExpression,this.SimpleNameReference,this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingLongLiteral)});StringNamedParameter=Bridge.fn.bind(this,function(keyword){return Kusto.Language.Parsing.QueryGrammar.NamedParameter$1(Kusto.Language.Parsing.SyntaxParsers.Token$3(keyword,void 0,2,System.String.format('{0}="|"',[keyword])),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[StringOrCompoundStringLiteral,this.SimpleNameReference,this.ConstantExpression.Hide$1()]),Kusto.Language.Parsing.QueryGrammar.MissingStringLiteral)});var RenderProperty=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,[StringNamedParameter("title"),NameReferenceNamedParameter("xcolumn",Kusto.Language.Editor.CompletionHint.Column),Kusto.Language.Parsing.QueryGrammar.NamedParameter$3("series",RenderNameList,void 0,Kusto.Language.Editor.CompletionHint.Column),Kusto.Language.Parsing.QueryGrammar.NamedParameter$3("ycolumns",RenderNameList,void 0,Kusto.Language.Editor.CompletionHint.Column),Kusto.Language.Parsing.QueryGrammar.NamedParameter(Kusto.Language.Parsing.SyntaxParsers.Token$3("anomalycolumns"),RenderNameList,Kusto.Language.Editor.CompletionHint.Column),TokenNamedParameter("kind",Kusto.Language.KustoFacts.ChartKinds),StringNamedParameter("xtitle"),StringNamedParameter("ytitle"),TokenNamedParameter("xaxis",Kusto.Language.KustoFacts.ChartAxis),TokenNamedParameter("yaxis",Kusto.Language.KustoFacts.ChartAxis),TokenNamedParameter("legend",Kusto.Language.KustoFacts.ChartLegends),TokenNamedParameter("ysplit",Kusto.Language.KustoFacts.ChartYSplit),BooleanNamedParameter("accumulate"),NumericNamedParameter("ymin"),NumericNamedParameter("ymax"),Kusto.Language.Parsing.QueryGrammar.NamedParameter(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.ConstantExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression)).Hide$1()]),RenderWithClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.RenderWithClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WithKeyword).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,RenderProperty,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNamedParameterNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(withKeyword,openParen,properties,closeParen){return new Kusto.Language.Syntax.RenderWithClause(withKeyword,openParen,properties,closeParen)}),RenderChartType=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,System.Linq.Enumerable.from(Kusto.Language.KustoFacts.ChartTypes).select(function(c){return System.Linq.Enumerable.from(Kusto.Language.KustoFacts.HiddenChartTypes).contains(c)?Kusto.Language.Parsing.SyntaxParsers.Token$3(c).Hide$1():Kusto.Language.Parsing.SyntaxParsers.Token$3(c,Kusto.Language.Editor.CompletionKind.RenderChart)}).ToArray(Kusto.Language.Parsing.Parser$2(Kusto.Language.Parsing.LexicalToken,Kusto.Language.Syntax.SyntaxToken))),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)]),RenderOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.RenderWithClause,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RenderKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix,Kusto.Language.Editor.CompletionPriority.High),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxToken,RenderChartType,function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken$2(Kusto.Language.KustoFacts.ChartTypes)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.RenderWithClause,RenderWithClause),function(keyword,chart,withClause){return Bridge.cast(new Kusto.Language.Syntax.RenderOperator(keyword,chart,withClause,null),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),PrintOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PrintKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,NamedExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),function(keyword,exprs){return Bridge.cast(new Kusto.Language.Syntax.PrintOperator(keyword,exprs),Kusto.Language.Syntax.QueryOperator)}).WithTag$1(""),PrePipeQueryOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,[FindOperator,SearchOperator,UnionOperator,RangeOperator,PrintOperator]),BadQueryOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken),function(id){return Bridge.cast(new Kusto.Language.Syntax.BadQueryOperator(id,System.Array.init([Kusto.Language.DiagnosticFacts.GetQueryOperatorExpected()],Kusto.Language.Diagnostic)),Kusto.Language.Syntax.QueryOperator)}),PostPipeQueryOperator=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,[ConsumeOperator,CountOperator,ExecuteAndCacheOperator,ExtendOperator,FacetOperator,FilterOperator,GetSchemaOperator,JoinOperator,ForkOperator,LookupOperator,MakeSeriesOperator,MvApplyOperator,MvExpandOperator,EvaluateOperator,ParseOperator,PartitionOperator,ProjectOperator,SampleOperator,SampleDistinctOperator,ProjectAwayOperator,ProjectRenameOperator,ProjectReorderOperator,ReduceByOperator,SummarizeOperator,DistinctOperator,TakeOperator,SortOperator,TopHittersOperator,TopOperator,TopNestedOperator,UnionOperator,RenderOperator,AsOperator,SerializeOperator,InvokeOperator]);ForkPipeOperatorCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,[CountOperator,ExtendOperator,FilterOperator,ParseOperator,TakeOperator,TopNestedOperator,ProjectOperator,ProjectAwayOperator,ProjectRenameOperator,ProjectReorderOperator,SummarizeOperator,DistinctOperator,TopHittersOperator,TopOperator,SortOperator,MvExpandOperator,MvApplyOperator,ReduceByOperator,SampleOperator,SampleDistinctOperator,AsOperator,InvokeOperator,ExecuteAndCacheOperator]);ForkPipeExpressionCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,ForkPipeOperator,function(o){return Bridge.cast(o,Kusto.Language.Syntax.Expression)}),function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BarToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.QueryOperator,ForkPipeOperator,Kusto.Language.Parsing.QueryGrammar.MissingQueryOperator),function(left,pipeToken,right){return Bridge.cast(new Kusto.Language.Syntax.PipeExpression(left,pipeToken,right),Kusto.Language.Syntax.Expression)})});PartitionPipeOperatorCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,[CountOperator,ExtendOperator,FilterOperator,ParseOperator,TakeOperator,TopNestedOperator,ProjectOperator,ProjectAwayOperator,ProjectRenameOperator,ProjectReorderOperator,SummarizeOperator,DistinctOperator,TopHittersOperator,TopOperator,SortOperator,MvExpandOperator,MvApplyOperator,ReduceByOperator,SampleOperator,SampleDistinctOperator,AsOperator,InvokeOperator,ExecuteAndCacheOperator]);PartitionPipeExpressionCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,PartitionPipeOperator,function(o){return Bridge.cast(o,Kusto.Language.Syntax.Expression)}),function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BarToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.QueryOperator,PartitionPipeOperator,Kusto.Language.Parsing.QueryGrammar.MissingQueryOperator),function(left,pipeToken,right){return Bridge.cast(new Kusto.Language.Syntax.PipeExpression(left,pipeToken,right),Kusto.Language.Syntax.Expression)})});InitialPipeElementExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,PrePipeQueryOperator,function(o){return Bridge.cast(o,Kusto.Language.Syntax.Expression)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,PostPipeQueryOperator,function(o){return Bridge.cast(o,Kusto.Language.Syntax.Expression)}).Hide$1(),UnnamedExpression]);this.FollowingPipeElementExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.QueryOperator,[PostPipeQueryOperator,PrePipeQueryOperator.Hide$1(),BadQueryOperator.Hide$1()]);PipeExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyZeroOrMore(Bridge.global.Kusto.Language.Syntax.Expression,InitialPipeElementExpression,Bridge.fn.bind(this,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$11(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryOperator,Bridge.global.Kusto.Language.Syntax.Expression,_left,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.BarToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.QueryOperator,this.FollowingPipeElementExpression,Kusto.Language.Parsing.QueryGrammar.MissingQueryOperator),function(left,op,right){return Bridge.cast(new Kusto.Language.Syntax.PipeExpression(left,op,right),Kusto.Language.Syntax.Expression)})}));UnnamedExpressionCore=LogicalOr;ExpressionCore=PipeExpression;var AliasStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AliasKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.DatabaseKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(aliasKeyword,databaseKeyword,name,equalToken,expression){return Bridge.cast(new Kusto.Language.Syntax.AliasStatement(aliasKeyword,databaseKeyword,name,equalToken,expression),Kusto.Language.Syntax.Statement)}).WithTag$1(""),MaterializeExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MaterializeKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,PipeExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(keyword,openParen,expr,closeParen){return Bridge.cast(new Kusto.Language.Syntax.MaterializeExpression(keyword,openParen,expr,closeParen),Kusto.Language.Syntax.Expression)}),DefaultValueDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.DefaultValueDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[this.ConstantExpression,NameTokenLiteral]),Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(equalToken,value){return new Kusto.Language.Syntax.DefaultValueDeclaration(equalToken,value)}),FunctionParameter=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,Bridge.global.Kusto.Language.Syntax.DefaultValueDeclaration,Bridge.global.Kusto.Language.Syntax.FunctionParameter,NameAndTypeDeclaration,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.DefaultValueDeclaration,DefaultValueDeclaration),function(nameAndType,defaultValue){return new Kusto.Language.Syntax.FunctionParameter(nameAndType,defaultValue)});this.FunctionParameters=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.FunctionParameter)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FunctionParameters,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.FunctionParameter,FunctionParameter,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingFunctionParameterNode,!1,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(openParen,parameters,closeParen){return new Kusto.Language.Syntax.FunctionParameters(openParen,parameters,closeParen)});FunctionBodyStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement),[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Statement,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement),LetStatement,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.SemicolonToken),function(statement,semicolon){return new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement))(statement,semicolon)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Statement,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement),QueryParametersStatement,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.SemicolonToken),function(statement,semicolon){return new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement))(statement,semicolon)})]);FunctionBodyStatementList=Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement),FunctionBodyStatement,Kusto.Language.Parsing.QueryGrammar.MissingStatementElementNode,!1).WithTag$1("");this.FunctionBody=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FunctionBody,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),FunctionBodyStatementList,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SemicolonToken)),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken),function(openBrace,statements,expr,semicolon,closeBrace){return new Kusto.Language.Syntax.FunctionBody(openBrace,statements,expr,semicolon,closeBrace)});FunctionDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FunctionParameters,Bridge.global.Kusto.Language.Syntax.FunctionBody,Bridge.global.Kusto.Language.Syntax.FunctionDeclaration,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ViewKeyword)),this.FunctionParameters,this.FunctionBody,function(view,parameters,body){return new Kusto.Language.Syntax.FunctionDeclaration(view,parameters,body)}).WithTag$1("");LetStatementCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Statement,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LetKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),ScanSimpleName,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ViewKeyword)),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Or([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.AsteriskToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([ScanSimpleName,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ColonToken)])])]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FunctionDeclaration,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LetKeyword),this.SimpleNameDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),FunctionDeclaration,function(letKeyword,name,equal,expression){return Bridge.cast(new Kusto.Language.Syntax.LetStatement(letKeyword,name,equal,expression),Kusto.Language.Syntax.Statement)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).And([Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LetKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),ScanSimpleName,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.MaterializeKeyword)]),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LetKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),MaterializeExpression,function(keyword,name,equal,expr){return Bridge.cast(new Kusto.Language.Syntax.LetStatement(keyword,name,equal,expr),Kusto.Language.Syntax.Statement)})),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.LetKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(letKeyword,name,equalToken,expression){return Bridge.cast(new Kusto.Language.Syntax.LetStatement(letKeyword,name,equalToken,expression),Kusto.Language.Syntax.Statement)})]);OptionValueClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.OptionValueClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,UnnamedExpression,Kusto.Language.Parsing.QueryGrammar.MissingExpression),function(equal,expr){return new Kusto.Language.Syntax.OptionValueClause(equal,expr)});SetOptionStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.OptionValueClause,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SetKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.OptionValueClause,OptionValueClause),function(keyword,name,value){return Bridge.cast(new Kusto.Language.Syntax.SetOptionStatement(keyword,name,value),Kusto.Language.Syntax.Statement)}).WithTag$1("");QueryParametersStatementCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.FunctionParameter)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DeclareKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.QueryParametersKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.FunctionParameter,FunctionParameter,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingFunctionParameterNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(declareKeyword,queryParametersKeyword,open,list,close){return Bridge.cast(new Kusto.Language.Syntax.QueryParametersStatement(declareKeyword,queryParametersKeyword,open,list,close),Kusto.Language.Syntax.Statement)});var Restriction=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.Expression,ScanWildcardedEntityReference,WildcardedEntityReference),this.SimpleNameReference]),RestrictStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$5(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.RestrictKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.AccessKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.ToKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,Restriction,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(restrictKeyword,accessKeyword,toKeyword,openParen,list,closeParen){return Bridge.cast(new Kusto.Language.Syntax.RestrictStatement(restrictKeyword,accessKeyword,toKeyword,openParen,list,closeParen),Kusto.Language.Syntax.Statement)}).WithTag$1(""),PatternPathValue=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PatternPathValue,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DotToken),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,this.StringLiteral,Kusto.Language.Parsing.QueryGrammar.MissingStringLiteral),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(dot,openBracket,value,closeBracket){return new Kusto.Language.Syntax.PatternPathValue(dot,openBracket,value,closeBracket)}),PatternMatchStatementElement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$1(Bridge.global.Kusto.Language.Syntax.Statement,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement),LetStatement,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.SemicolonToken),function(statement,semicolon){return new(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement))(statement,semicolon)}),PatternMatchBody=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FunctionBody,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement),PatternMatchStatementElement,Kusto.Language.Parsing.QueryGrammar.MissingStatementElementNode,!1),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.SemicolonToken)),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken),function(open,statements,expression,semi,close){return new Kusto.Language.Syntax.FunctionBody(open,statements,expression,semi,close)}),PatternMatchValue=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[this.StringLiteral,UnnamedExpression.Hide$1()]),PatternMatch=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$6(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PatternPathValue,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.FunctionBody,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PatternMatch,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,PatternMatchValue,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingStringLiteralNode,!0,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.PatternPathValue,PatternPathValue),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),PatternMatchBody,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.SemicolonToken),function(openParen,exprs,closeParen,path,equalToken,body,semicolon){return new Kusto.Language.Syntax.PatternMatch(new Kusto.Language.Syntax.ExpressionList(openParen,exprs,closeParen),path,equalToken,body,semicolon)}),PatternPathParameter=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PatternPathParameter,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,NameAndTypeDeclaration,function(){return Bridge.cast(Kusto.Language.Parsing.QueryGrammar.MissingNameAndTypeDeclarationNode.Clone$1(),Kusto.Language.Syntax.NameAndTypeDeclaration)}),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(openBracket,parameter,closeBracket){return new Kusto.Language.Syntax.PatternPathParameter(openBracket,parameter,closeBracket)}),MissingPatternMatch=new Kusto.Language.Syntax.PatternMatch(new Kusto.Language.Syntax.ExpressionList(Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)).Empty(),Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.CloseParenToken)),null,Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.EqualToken),new Kusto.Language.Syntax.FunctionBody(Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)).Empty(),null,null,Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken)),Kusto.Language.Syntax.SyntaxToken.Missing(Kusto.Language.Syntax.SyntaxKind.SemicolonToken),System.Array.init([Kusto.Language.DiagnosticFacts.GetMissingPatternMatch()],Kusto.Language.Diagnostic)),PatternDeclaration=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$7(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameAndTypeDeclaration)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PatternPathParameter,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.PatternMatch),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.PatternDeclaration,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,NameAndTypeDeclaration,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNameAndTypeDeclarationNode,!1,!1),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.PatternPathParameter,PatternPathParameter),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenBraceToken),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.PatternMatch,PatternMatch,MissingPatternMatch,!0),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBraceToken),function(equal,openParen,parameters,closeParen,pathParameter,openBrace,patterns,closeBrace){return new Kusto.Language.Syntax.PatternDeclaration(equal,openParen,parameters,closeParen,pathParameter,openBrace,patterns,closeBrace)}),PatternStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.PatternDeclaration,Bridge.global.Kusto.Language.Syntax.Statement,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DeclareKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix).Hide$1(),Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.PatternKeyword),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.NameDeclaration,this.SimpleNameDeclaration,Kusto.Language.Parsing.QueryGrammar.MissingNameDeclaration),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.PatternDeclaration,PatternDeclaration),function(declareKeyword,patternKeyword,name,pattern){return Bridge.cast(new Kusto.Language.Syntax.PatternStatement(declareKeyword,patternKeyword,name,pattern),Kusto.Language.Syntax.Statement)}).WithTag$1(""),QueryStatement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.Statement,this.Expression,function(expr){return Bridge.cast(new Kusto.Language.Syntax.ExpressionStatement(expr),Kusto.Language.Syntax.Statement)}),PrimaryPathSelector=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).ApplyOptional(Bridge.global.Kusto.Language.Syntax.Expression,PathElementSelector,function(_left){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$10(Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.DataScopeClause,Bridge.global.Kusto.Language.Syntax.Expression,_left,DataScopeClause(Kusto.Language.Editor.CompletionKind.TabularSuffix),function(path,clause){return Bridge.cast(new Kusto.Language.Syntax.DataScopeExpression(path,clause),Kusto.Language.Syntax.Expression)})}),DataTableExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$4(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.DataTableKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),SchemaMultipartType,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,this.ConstantExpression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!1,!0),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),function(keyword,schema,openBracket,values,closeBracket){return Bridge.cast(new Kusto.Language.Syntax.DataTableExpression(keyword,schema,openBracket,values,closeBracket),Kusto.Language.Syntax.Expression)}),ExternalDataWithClauseNamedParameter=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.NameDeclaration,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.Expression,Bridge.global.Kusto.Language.Syntax.NamedParameter,this.SimpleNameDeclaration,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.EqualToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[this.Literal,Kusto.Language.Parsing.QueryGrammar.AsTokenLiteral(Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.IdentifierToken)),KeywordTokenLiteral]),Kusto.Language.Parsing.QueryGrammar.MissingValue),function(name,equalToken,value){return new Kusto.Language.Syntax.NamedParameter(name,equalToken,value)}),ExternalDataWithClause=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExternalDataWithClause,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.WithKeyword),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenParenToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.NamedParameter,ExternalDataWithClauseNamedParameter,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingNamedParameterNode),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseParenToken),function(keyword,openParen,list,closeParen){return new Kusto.Language.Syntax.ExternalDataWithClause(keyword,openParen,list,closeParen)}),ExternalDataExpression=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$6(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.ExternalDataWithClause,Bridge.global.Kusto.Language.Syntax.Expression,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.ExternalDataKeyword,Kusto.Language.Editor.CompletionKind.QueryPrefix),Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.NamedParameter,QueryOperatorParameter),SchemaMultipartType,Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.OpenBracketToken),Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Expression,this.Expression,Kusto.Language.Syntax.SyntaxKind.CommaToken,Kusto.Language.Parsing.QueryGrammar.MissingExpressionNode,!0,!0),Kusto.Language.Parsing.SyntaxParsers.RequiredToken(Kusto.Language.Syntax.SyntaxKind.CloseBracketToken),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.ExternalDataWithClause,ExternalDataWithClause),function(keyword,parameters,schema,openBracket,name,closeBracket,withClause){return Bridge.cast(new Kusto.Language.Syntax.ExternalDataExpression(keyword,parameters,schema,openBracket,name,closeBracket,withClause),Kusto.Language.Syntax.Expression)});PrimaryExpressionCore=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Expression,[this.ConstantExpression,ParenthesizedExpression,DataTableExpression,ExternalDataExpression,PrimaryPathSelector]);this.Statement=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).First$1(Bridge.global.Kusto.Language.Syntax.Statement,[AliasStatement,LetStatement,SetOptionStatement,QueryParametersStatement,RestrictStatement,PatternStatement,QueryStatement]).WithTag$1("");this.StatementList=Kusto.Language.Parsing.SyntaxParsers.SeparatedList$1(Bridge.global.Kusto.Language.Syntax.Statement,this.Statement,Kusto.Language.Syntax.SyntaxKind.SemicolonToken,Kusto.Language.Parsing.QueryGrammar.MissingStatementNode,!1,!0);this.SkippedTokens=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).If$1(Bridge.global.Kusto.Language.Syntax.SkippedTokens,Kusto.Language.Parsing.SyntaxParsers.AnyTokenButEnd,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken),Bridge.global.Kusto.Language.Syntax.SkippedTokens,Kusto.Language.Parsing.SyntaxParsers.List(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.AnyTokenButEnd),function(tokens){return new Kusto.Language.Syntax.SkippedTokens(tokens)})).WithTag$1("");this.QueryBlock=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule$2(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),Bridge.global.Kusto.Language.Syntax.SkippedTokens,Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.QueryBlock,this.StatementList,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SkippedTokens,this.SkippedTokens),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Optional$1(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(Kusto.Language.Syntax.SyntaxKind.EndOfTextToken)),function(statements,skipped,end){return new Kusto.Language.Syntax.QueryBlock(statements,skipped,end)})}}});Bridge.define("Kusto.Language.Parsing.RightParser$2",function(TInput,TOutput){return{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput))}}},props:{Parser:null},ctors:{$ctor1:function(parser){this.$initialize();this.Parser=parser},ctor:function(){this.$initialize()}},methods:{WithTag:function(tag){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(this.Parser.WithTag$1(tag))},WithAnnotations:function(annotations){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(this.Parser.WithAnnotations$1(annotations))},WithIsHidden:function(isHidden){return new(Kusto.Language.Parsing.RightParser$2(TInput,TOutput).$ctor1)(this.Parser.WithIsHidden$1(isHidden))},Hide:function(){return this.WithIsHidden(!0)},getHashCode:function(){return Bridge.addHash([3678084921,this.Parser])},equals:function(o){return Bridge.is(o,Kusto.Language.Parsing.RightParser$2(TInput,TOutput))?Bridge.equals(this.Parser,o.Parser):!1},$clone:function(){return this}}}});Bridge.define("Kusto.Language.Parsing.SafeParser",{statics:{methods:{ParseSafe:function(TInput,parser,source,inputStart,output,outputStart){var ssp=Kusto.Language.Parsing.SafeParser.StackSafeParser$1(TInput).pool.AllocateFromPool();try{return ssp.Initialize(source,output),ssp.Parse(parser,inputStart,outputStart)}finally{Kusto.Language.Parsing.SafeParser.StackSafeParser$1(TInput).pool.ReturnToPool(ssp)}}}}});Bridge.define("Kusto.Language.Parsing.SafeScanner",{statics:{methods:{ScanSafe:function(TInput,parser,source,start){var sss=Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1(TInput).pool.AllocateFromPool();try{return sss.Initialize(source),sss.Scan(parser,start)}finally{Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1(TInput).pool.ReturnToPool(sss)}}}}});Bridge.define("Kusto.Language.Parsing.SafeSearcher",{statics:{methods:{SearchSafe:function(TInput,parser,source,start,prevWasMissing,action){var sss=Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1(TInput).pool.AllocateFromPool();try{return sss.Initialize(source,action),sss.Search(parser,start,prevWasMissing)}finally{Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1(TInput).pool.ReturnToPool(sss)}}}}});Bridge.define("Kusto.Language.Parsing.ScannerExtensions",{statics:{fields:{s_sourcePool:null},ctors:{init:function(){this.s_sourcePool=new(Kusto.Language.Utils.ObjectPool$1(Kusto.Language.Parsing.ScannerExtensions.ReuseableTextSource))(function(){return new Kusto.Language.Parsing.ScannerExtensions.ReuseableTextSource},function(source){source.Clear()})}},methods:{Matches:function(scanner,text){return Kusto.Language.Parsing.ScannerExtensions.Matches$1(scanner,text,0,text.length)},Matches$1:function(scanner,text,offset,length){var source=Kusto.Language.Parsing.ScannerExtensions.s_sourcePool.AllocateFromPool(),len;try{return source.Init(text),len=scanner.Scan(source,0),len===length}finally{Kusto.Language.Parsing.ScannerExtensions.s_sourcePool.ReturnToPool(source)}}}}});Bridge.define("Kusto.Language.Parsing.SearchResult",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new Kusto.Language.Parsing.SearchResult}}},fields:{Length:0,Missing:!1},ctors:{$ctor1:function(length,missing){this.$initialize();this.Length=length;this.Missing=missing},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([5572150057,this.Length,this.Missing])},equals:function(o){return Bridge.is(o,Kusto.Language.Parsing.SearchResult)?Bridge.equals(this.Length,o.Length)&&Bridge.equals(this.Missing,o.Missing):!1},$clone:function(to){var s=to||new Kusto.Language.Parsing.SearchResult;return s.Length=this.Length,s.Missing=this.Missing,s}}});Bridge.define("Kusto.Language.Parsing.SyntaxParsers",{statics:{fields:{AnyToken:null,AnyTokenButEnd:null},ctors:{init:function(){this.AnyToken=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(){return!0},function(t){return Kusto.Language.Syntax.SyntaxToken.From(t)}).WithTag$1("");this.AnyTokenButEnd=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(t){return t.Kind!==Kusto.Language.Syntax.SyntaxKind.EndOfTextToken},function(t){return Kusto.Language.Syntax.SyntaxToken.From(t)}).WithTag$1("")}},methods:{CreateMissingToken:function(kind,diagnostic){diagnostic===void 0&&(diagnostic=null);var dx=diagnostic||(kind===Kusto.Language.Syntax.SyntaxKind.IdentifierToken?Kusto.Language.DiagnosticFacts.GetMissingName():Kusto.Language.DiagnosticFacts.GetTokenExpected([kind]));return Kusto.Language.Syntax.SyntaxToken.Missing$1("",kind,System.Array.init([dx],Kusto.Language.Diagnostic))},CreateMissingToken$1:function(kinds){return Kusto.Language.Syntax.SyntaxToken.Missing$1("",System.Array.getItem(kinds,0,Kusto.Language.Syntax.SyntaxKind),System.Array.init([Kusto.Language.DiagnosticFacts.GetTokenExpected$1(kinds)],Kusto.Language.Diagnostic))},CreateMissingToken$3:function(text,diagnostic){diagnostic===void 0&&(diagnostic=null);var kind={v:new Kusto.Language.Syntax.SyntaxKind};return Kusto.Language.Syntax.SyntaxFacts.TryGetKind(text,kind)||(kind.v=Kusto.Language.Syntax.SyntaxKind.IdentifierToken),Kusto.Language.Syntax.SyntaxToken.Missing$1("",kind.v,System.Array.init([diagnostic||Kusto.Language.DiagnosticFacts.GetTokenExpected$3(System.Array.init([text],System.String))],Kusto.Language.Diagnostic))},CreateMissingToken$2:function(texts){return Kusto.Language.Syntax.SyntaxToken.Missing$1("",Kusto.Language.Syntax.SyntaxKind.IdentifierToken,System.Array.init([Kusto.Language.DiagnosticFacts.GetTokenExpected$2(texts)],Kusto.Language.Diagnostic))},GetTag$1:function(text){var kind={v:new Kusto.Language.Syntax.SyntaxKind};return Kusto.Language.Syntax.SyntaxFacts.TryGetKind(text,kind)?Kusto.Language.Parsing.SyntaxParsers.GetTag(kind.v):text},GetTag:function(kind){var $t;return Kusto.Language.Syntax.SyntaxFacts.GetCategory(kind)===Kusto.Language.Syntax.SyntaxCategory.Punctuation?System.String.format("'{0}'",[Kusto.Language.Syntax.SyntaxFacts.GetText(kind)]):($t=Kusto.Language.Syntax.SyntaxFacts.GetText(kind),$t!=null?$t:System.Enum.toString(Kusto.Language.Syntax.SyntaxKind,kind).toLowerCase())},Token:function(kind,ckind,priority,ctext){ckind===void 0&&(ckind=null);priority===void 0&&(priority=2);ctext===void 0&&(ctext=null);var rule=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(t){return t.Kind===kind},function(lt){return Kusto.Language.Syntax.SyntaxToken.From(lt)}).WithTag$1(Kusto.Language.Parsing.SyntaxParsers.GetTag(kind)),item=Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem(kind,ckind,priority,ctext);return item!=null&&(rule=rule.WithAnnotations$1(System.Array.init([item],Kusto.Language.Editor.CompletionItem))),rule},Token$1:function(kinds,ckind,priority){ckind===void 0&&(ckind=null);priority===void 0&&(priority=2);var set=new(System.Collections.Generic.HashSet$1(Kusto.Language.Syntax.SyntaxKind).$ctor1)(kinds),rule=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(t){return set.contains(t.Kind)},function(lt){return Kusto.Language.Syntax.SyntaxToken.From(lt)}).WithTag$1(Bridge.toArray(System.Linq.Enumerable.from(kinds).select(function(k){return Kusto.Language.Parsing.SyntaxParsers.GetTag(k)})).join(" | ")),items=System.Linq.Enumerable.from(Kusto.Language.Parsing.SyntaxParsers.GetCompletionItems(set,ckind,priority)).toList(Bridge.global.Kusto.Language.Editor.CompletionItem);return items.Count>0&&(rule=rule.WithAnnotations$1(items)),rule},Token$3:function(text,ckind,priority,ctext){ckind===void 0&&(ckind=null);priority===void 0&&(priority=2);ctext===void 0&&(ctext=null);var rule=Kusto.Language.Parsing.SyntaxParsers.MatchText(text).WithTag$1(Kusto.Language.Parsing.SyntaxParsers.GetTag$1(text)),item=Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem$2(text,ckind,priority,ctext);return item!=null&&(rule=rule.WithAnnotations$1(System.Array.init([item],Kusto.Language.Editor.CompletionItem))),rule},Token$2:function(texts,ckind,priority){ckind===void 0&&(ckind=null);priority===void 0&&(priority=2);var set=new(System.Collections.Generic.HashSet$1(System.String).$ctor1)(texts),rule=Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$3(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(t){return set.contains(t.Text)},function(lt){return Kusto.Language.Syntax.SyntaxToken.From(lt)}).WithTag$1(Bridge.toArray(System.Linq.Enumerable.from(texts).select(function(t){return Kusto.Language.Parsing.SyntaxParsers.GetTag$1(t)})).join(" | ")),items=System.Linq.Enumerable.from(Kusto.Language.Parsing.SyntaxParsers.GetCompletionItems$1(texts,ckind,priority)).toList(Bridge.global.Kusto.Language.Editor.CompletionItem);return items.Count>0&&(rule=rule.WithAnnotations$1(items)),rule},WithCompletion:function(TElement,parser,item){return parser.WithAnnotations$1(System.Linq.Enumerable.from(parser.Annotations).concat(System.Array.init([item],System.Object)))},WithCompletionHint:function(TElement,parser,hint){return parser.WithAnnotations$1(System.Linq.Enumerable.from(parser.Annotations).concat(System.Array.init([Bridge.box(hint,Kusto.Language.Editor.CompletionHint,System.Enum.toStringFn(Kusto.Language.Editor.CompletionHint))],System.Object)))},MatchesText:function(source,start,text){for(var $t,textOffset=0,i=0,token;!source.IsEnd(start+i|0);i=i+1|0){if(token=source.Peek(start+i|0),i>0&&token.Trivia.length>0)break;if(token.Text.length>(text.length-textOffset|0))break;if(($t=token.Text.length,System.String.compare(token.Text.substr(0,$t),text.substr(textOffset,$t)))!==0)break;if(textOffset=textOffset+token.Text.length|0,textOffset===text.length)return i+1|0}return-(i+1|0)|0},ProduceSyntaxToken:function(source,start,length,text){return length===1?Kusto.Language.Syntax.SyntaxToken.From(source.Peek(start)):Kusto.Language.Syntax.SyntaxToken.Identifier(source.Peek(start).Trivia,text)},MatchText:function(text){return Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Match$2(Bridge.global.Kusto.Language.Syntax.SyntaxToken,function(source,start){return Kusto.Language.Parsing.SyntaxParsers.MatchesText(source,start,text)},function(source,start,length){return Kusto.Language.Parsing.SyntaxParsers.ProduceSyntaxToken(source,start,length,text)})},RequiredToken:function(kind,ckind,priority,ctext){return ckind===void 0&&(ckind=null),priority===void 0&&(priority=2),ctext===void 0&&(ctext=null),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token(kind,ckind,priority,ctext),function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(kind)})},RequiredToken$1:function(kinds,ckind,priority){return ckind===void 0&&(ckind=null),priority===void 0&&(priority=2),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token$1(kinds,ckind,priority),function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken$1(kinds)})},RequiredToken$3:function(text,ckind,priority,ctext){return ckind===void 0&&(ckind=null),priority===void 0&&(priority=2),ctext===void 0&&(ctext=null),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token$3(text,ckind,priority,ctext),function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken$3(text)})},RequiredToken$2:function(texts,ckind,priority){return ckind===void 0&&(ckind=null),priority===void 0&&(priority=2),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Required(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Kusto.Language.Parsing.SyntaxParsers.Token$2(texts,ckind,priority),function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken$2(texts)})},GetCompletionItem:function(kind,ckind,priority,ctext){var $t,$t1,$t2,text;if(ctext===void 0&&(ctext=null),text=Kusto.Language.Syntax.SyntaxFacts.GetText(kind),System.String.isNullOrWhiteSpace(text))return null;switch(Kusto.Language.Syntax.SyntaxFacts.GetCategory(kind)){case Kusto.Language.Syntax.SyntaxCategory.Keyword:return Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem$1(text,($t=ckind,$t!=null?$t:Kusto.Language.Editor.CompletionKind.Keyword),priority,ctext);case Kusto.Language.Syntax.SyntaxCategory.Operator:return Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem$1(text,($t1=ckind,$t1!=null?$t1:Kusto.Language.Editor.CompletionKind.ScalarInfix),priority,ctext);case Kusto.Language.Syntax.SyntaxCategory.Punctuation:return Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem$1(text,($t2=ckind,$t2!=null?$t2:Kusto.Language.Editor.CompletionKind.Punctuation),priority,ctext);default:return null}},GetCompletionItem$2:function(text,ckind,priority,ctext){var $t;return ctext===void 0&&(ctext=null),Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem$1(text,($t=ckind,$t!=null?$t:Kusto.Language.Editor.CompletionKind.Syntax),priority,ctext)},GetCompletionItem$1:function(text,ckind,priority,ctext){var $t,afterText,editText,cursor;return(ctext===void 0&&(ctext=null),System.String.startsWith(text,"_"))?null:(afterText=null,editText=($t=ctext,$t!=null?$t:text),ctext!=null&&(cursor=System.String.indexOf(ctext,String.fromCharCode(124)),cursor>=0&&(afterText=ctext.substr(cursor+1|0),editText=ctext.substr(0,cursor))),new Kusto.Language.Editor.CompletionItem(ckind,text,editText,afterText,void 0,priority))},GetCompletionItems:function(kinds,ckind,priority){return System.Linq.Enumerable.from(kinds).select(function(k){return Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem(k,ckind,priority)}).where(function(i){return i!=null})},GetCompletionItems$1:function(texts,ckind,priority){return System.Linq.Enumerable.from(texts).select(function(t){return Kusto.Language.Parsing.SyntaxParsers.GetCompletionItem$2(t,ckind,priority)}).where(function(i){return i!=null})},List:function(TElement,elementParser,missingElement,oneOrMore){return missingElement===void 0&&(missingElement=Bridge.getDefaultValue(TElement)),oneOrMore===void 0&&(oneOrMore=!1),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).List(TElement,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(TElement),elementParser,Bridge.staticEquals(missingElement,null)?null:function(){return Bridge.cast(missingElement.Clone(),TElement)},oneOrMore,function(elements){return new(Kusto.Language.Syntax.SyntaxList$1(TElement).ctor)(System.Linq.Enumerable.from(elements).ToArray())})},SeparatedList$1:function(TElement,primaryElementParser,separatorKind,missingElement,oneOrMore,allowTrailingSeparator){return oneOrMore===void 0&&(oneOrMore=!1),allowTrailingSeparator===void 0&&(allowTrailingSeparator=!1),Kusto.Language.Parsing.SyntaxParsers.SeparatedList(TElement,primaryElementParser,Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Tag$1(TElement,"...",primaryElementParser),separatorKind,missingElement,oneOrMore,allowTrailingSeparator)},SeparatedList:function(TElement,primaryElementParser,secondaryElementParser,separatorKind,missingElement,oneOrMore,allowTrailingSeparator){return oneOrMore===void 0&&(oneOrMore=!1),allowTrailingSeparator===void 0&&(allowTrailingSeparator=!1),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).SeparatedList(Bridge.global.Kusto.Language.Syntax.SyntaxElement,Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(TElement)),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(TElement,Bridge.global.Kusto.Language.Syntax.SyntaxElement,primaryElementParser,function(e){return Bridge.cast(e,Kusto.Language.Syntax.SyntaxElement)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(TElement,Bridge.global.Kusto.Language.Syntax.SyntaxElement,secondaryElementParser,function(e){return Bridge.cast(e,Kusto.Language.Syntax.SyntaxElement)}),Kusto.Language.Parsing.Parsers$1(Kusto.Language.Parsing.LexicalToken).Rule(Bridge.global.Kusto.Language.Syntax.SyntaxToken,Bridge.global.Kusto.Language.Syntax.SyntaxElement,Kusto.Language.Parsing.SyntaxParsers.Token(separatorKind),function(e){return Bridge.cast(e,Kusto.Language.Syntax.SyntaxElement)}),function(){return missingElement.Clone()},function(){return Kusto.Language.Parsing.SyntaxParsers.CreateMissingToken(separatorKind)},oneOrMore,allowTrailingSeparator,function(elements){return Kusto.Language.Parsing.SyntaxParsers.MakeSeparatedList$1(TElement,elements)})},MakeSeparatedList:function(TElement,elements){return elements===void 0&&(elements=[]),Kusto.Language.Parsing.SyntaxParsers.MakeSeparatedList$1(TElement,Bridge.cast(elements,System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Syntax.SyntaxElement)))},MakeSeparatedList$1:function(TElement,elements){var separatedElements,i,element,separator;if(elements==null)return Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(TElement)).Empty();for(separatedElements=new(System.Collections.Generic.List$1(Kusto.Language.Syntax.SeparatedElement$1(TElement)).ctor),i=0;i=0?nextStart+Kusto.Language.Parsing.TextFacts.GetLineBreakLength(text,nextStart)|0:nextStart},IsLetter:function(ch){return ch>=97&&ch<=122||ch>=65&&ch<=90},IsDigit:function(ch){return ch>=48&&ch<=57},IsHexDigit:function(ch){return ch>=48&&ch<=57||ch>=97&&ch<=102||ch>=65&&ch<=70},GetLineStarts:function(text,lineStarts){var lineStart,i,n,lb;for(lineStarts.add(0),lineStart=0,i=0,n=text.length;i0?(i=i+lb|0,lineStart=i,lineStarts.add(lineStart)):i=i+1|0},TryGetLineAndOffset:function(text,position,lineStarts,line,lineOffset){return(line.v=lineStarts.BinarySearch(position),line.v=line.v>=0?line.v:~line.v-1|0,line.v<0||line.v>=lineStarts.Count)?(line.v=0,lineOffset.v=0,!1):(lineOffset.v=(position-lineStarts.getItem(line.v)|0)+1|0,line.v=line.v+1|0,!0)},TrimEnd:function(text){return Kusto.Language.Parsing.TextFacts.TrimEnd$1(text,0,text.length)},TrimEnd$1:function(text,start,length){for(var ln=length-1|0;ln>=0;ln=ln-1|0)if(!Kusto.Language.Parsing.TextFacts.IsWhitespace(text.charCodeAt(start+ln|0)))return ln+1|0;return 0}}}});Bridge.define("Kusto.Language.PlugIns",{statics:{fields:{ActiveUseCounts:null,ActivityCountsMetrics:null,ActivityEngagement:null,ActivityMetrics:null,AutoClusterColumns:null,AutoCluster:null,BagUnpack:null,BasketColumns:null,Basket:null,CosmosdbSqlRequest:null,DCountIntersect:null,DiffPatternsColumns:null,DiffPatterns:null,EstimateRowsCount:null,ExecuteShowCommand:null,ExternalDatatable:null,FunnelSequence:null,FunnelSequenceCompletion:null,HttpRequestColumns:null,HttpRequest:null,HttpRequestPost:null,Identity:null,IdentityV3:null,NarrowColumns:null,Narrow:null,Pivot:null,Preview:null,Python:null,R:null,RollingPercentile:null,SessionCount:null,SlidingWindowCounts:null,SqlRequest:null},props:{All:null},ctors:{init:function(){this.ActiveUseCounts=new Kusto.Language.Symbols.FunctionSymbol.ctor("active_users_count",function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount",Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("LookbackWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Period",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("ActivePeriods",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Step",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.ActivityCountsMetrics=new Kusto.Language.Symbols.FunctionSymbol.ctor("activity_counts_metrics",function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("count",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("new_dcount",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("aggregated_dcount",Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Step",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.ActivityEngagement=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("activity_engagement",[new Kusto.Language.Symbols.Signature.ctor(function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_activities_inner",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_activities_outer",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("activity_ratio",Kusto.Language.Symbols.ScalarTypes.Real)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("InnerActivityWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("OuterActivityWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant)]),new Kusto.Language.Symbols.Signature.ctor(function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_activities_inner",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_activities_outer",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("activity_ratio",Kusto.Language.Symbols.ScalarTypes.Real)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("InnerActivityWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("OuterActivityWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)])]);this.ActivityMetrics=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("activity_metrics",[new Kusto.Language.Symbols.Signature.ctor(function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_values",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_newvalues",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("retention_rate",Kusto.Language.Symbols.ScalarTypes.Real)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("churn_rate",Kusto.Language.Symbols.ScalarTypes.Real)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Step",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]),new Kusto.Language.Symbols.Signature.ctor(function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_values",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount_newvalues",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("retention_rate",Kusto.Language.Symbols.ScalarTypes.Real)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("churn_rate",Kusto.Language.Symbols.ScalarTypes.Real)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant,void 0,void 0,!1,void 0,0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant,void 0,void 0,!1,void 0,0,1,void 0)])]);this.AutoClusterColumns=System.Array.init([new Kusto.Language.Symbols.ColumnSymbol("SegmentId",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Count",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Percent",Kusto.Language.Symbols.ScalarTypes.Real)],Kusto.Language.Symbols.ColumnSymbol);this.AutoCluster=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("autocluster",function(table){return table.WithColumns$1(System.Linq.Enumerable.from(Kusto.Language.PlugIns.AutoClusterColumns).concat(table.Columns))},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor3("SizeWeight",Kusto.Language.Symbols.ScalarTypes.Real,0,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("WeightColumn",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("NumSeeds",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("CustomWildcard",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.BagUnpack=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("bag_unpack",function(table,args){return table.WithColumns$1(System.Linq.Enumerable.from(table.Columns).where(function(c){return System.Array.getCount(args,Kusto.Language.Syntax.Expression)===0||!Bridge.referenceEquals(c,System.Array.getItem(args,0,Kusto.Language.Syntax.Expression).ReferencedSymbol)})).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor3("column",Kusto.Language.Symbols.ScalarTypes.Dynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.$ctor3("column_prefix",Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ArgumentKind.LiteralNotEmpty,void 0,void 0,!1,void 0,0,1,void 0)]);this.BasketColumns=System.Array.init([new Kusto.Language.Symbols.ColumnSymbol("SegmentId",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Count",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Percent",Kusto.Language.Symbols.ScalarTypes.Real)],Kusto.Language.Symbols.ColumnSymbol);this.Basket=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("basket",function(table){return table.WithColumns$1(System.Linq.Enumerable.from(Kusto.Language.PlugIns.BasketColumns).concat(table.Columns))},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor3("Threshold",Kusto.Language.Symbols.ScalarTypes.Real,0,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("WeightColumn",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("MaxDimensions",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("CustomWildcard",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.CosmosdbSqlRequest=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("cosmosdb_sql_request",function(){return(new Kusto.Language.Symbols.TableSymbol.ctor).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor2("endpoint",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor2("authorization_string",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor2("database_name",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor2("collection_name",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor2("sql_query",Kusto.Language.Symbols.ScalarTypes.String)]);this.DCountIntersect=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("dcount_intersect",function(table,args){return table.AddColumns$1(System.Linq.Enumerable.from(args).select(function(a,i){return new Kusto.Language.Symbols.ColumnSymbol("s"+i,Kusto.Language.Symbols.ScalarTypes.Long)}))},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor3("hll",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,2,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.DiffPatternsColumns=System.Array.init([new Kusto.Language.Symbols.ColumnSymbol("SegmentId",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("CountA",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("CountB",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("PercentA",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("PercentB",Kusto.Language.Symbols.ScalarTypes.Real),new Kusto.Language.Symbols.ColumnSymbol("PercentDiffAB",Kusto.Language.Symbols.ScalarTypes.Real)],Kusto.Language.Symbols.ColumnSymbol);this.DiffPatterns=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("diffpatterns",function(table){return table.WithColumns$1(System.Linq.Enumerable.from(Kusto.Language.PlugIns.DiffPatternsColumns).concat(table.Columns))},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("SplitColumn",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.$ctor2("SplitValueA",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor2("SplitValueB",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.ctor("WeightColumn",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.$ctor3("Threshold",Kusto.Language.Symbols.ScalarTypes.Real,0,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("MaxDimensions",Kusto.Language.Symbols.ParameterTypeKind.Integer,0,void 0,void 0,!1,"~",0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("CustomWildcard",Kusto.Language.Symbols.ParameterTypeKind.Scalar,0,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.EstimateRowsCount=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("estimate_rows_count",[new Kusto.Language.Symbols.Signature.$ctor2(function(){return new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("EstimatedRowsCount",Kusto.Language.Symbols.ScalarTypes.Long)])},Kusto.Language.Symbols.Tabularity.Tabular)]);this.ExecuteShowCommand=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("execute_show_command",function(){return(new Kusto.Language.Symbols.TableSymbol.ctor).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor2("command",Kusto.Language.Symbols.ScalarTypes.String)]);this.ExternalDatatable=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("external_datatable",[new Kusto.Language.Symbols.Signature.$ctor2(function(){return(new Kusto.Language.Symbols.TableSymbol.ctor).Open()},Kusto.Language.Symbols.Tabularity.Tabular)]);this.FunnelSequence=new Kusto.Language.Symbols.FunctionSymbol.ctor("funnel_sequence",function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"StateColumn",args,"prev"),Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"StateColumn",args,"next"),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("samples",Kusto.Language.Symbols.ScalarTypes.Dynamic)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("MaxWindowSizeBetweenSteps",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Step",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("StateColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.$ctor3("Sequence",Kusto.Language.Symbols.ScalarTypes.Dynamic,Kusto.Language.Symbols.ArgumentKind.Constant)]);this.FunnelSequenceCompletion=new Kusto.Language.Symbols.FunctionSymbol.ctor("funnel_sequence_completion",function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"StateColumn",args,void 0,Kusto.Language.Symbols.ScalarTypes.String),cols.add(new Kusto.Language.Symbols.ColumnSymbol("Period",Kusto.Language.Symbols.ScalarTypes.TimeSpan)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("dcount",Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Step",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("StateColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.$ctor3("Sequence",Kusto.Language.Symbols.ScalarTypes.Dynamic,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.$ctor3("MaxSequenceWindows",Kusto.Language.Symbols.ScalarTypes.Dynamic,Kusto.Language.Symbols.ArgumentKind.Constant)]);this.HttpRequestColumns=System.Array.init([new Kusto.Language.Symbols.ColumnSymbol("ResponseHeaders",Kusto.Language.Symbols.ScalarTypes.Dynamic),new Kusto.Language.Symbols.ColumnSymbol("ResponseBody",Kusto.Language.Symbols.ScalarTypes.Dynamic)],Kusto.Language.Symbols.ColumnSymbol);this.HttpRequest=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("http_request",new Kusto.Language.Symbols.TableSymbol.$ctor2(Kusto.Language.PlugIns.HttpRequestColumns),[new Kusto.Language.Symbols.Parameter.$ctor3("Uri",Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.$ctor3("RequestHeaders",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,0,1,void 0),new Kusto.Language.Symbols.Parameter.$ctor3("Options",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,0,1,void 0)]);this.HttpRequestPost=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("http_request_post",new Kusto.Language.Symbols.TableSymbol.$ctor2(Kusto.Language.PlugIns.HttpRequestColumns),[new Kusto.Language.Symbols.Parameter.$ctor3("Uri",Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.$ctor3("RequestHeaders",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,0,1,void 0),new Kusto.Language.Symbols.Parameter.$ctor3("Options",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,0,1,void 0),new Kusto.Language.Symbols.Parameter.$ctor3("Content",Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ArgumentKind.Constant,void 0,void 0,!1,void 0,0,1,void 0)]);this.Identity=new Kusto.Language.Symbols.FunctionSymbol.$ctor6("identity",[new Kusto.Language.Symbols.Signature.$ctor2(function(table){return table},Kusto.Language.Symbols.Tabularity.Tabular)]);this.IdentityV3=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("identity_v3",function(table){return table},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor3("mode",Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.$ctor3("exceptionText",Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ArgumentKind.Constant)]);this.NarrowColumns=System.Array.init([new Kusto.Language.Symbols.ColumnSymbol("Row",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Column",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Value",Kusto.Language.Symbols.ScalarTypes.String)],Kusto.Language.Symbols.ColumnSymbol);this.Narrow=new Kusto.Language.Symbols.FunctionSymbol.$ctor7("narrow",new Kusto.Language.Symbols.TableSymbol.$ctor2(Kusto.Language.PlugIns.NarrowColumns));this.Pivot=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("pivot",function(table,args){var pivotColumn=System.Array.getCount(args,Kusto.Language.Syntax.Expression)>0?Bridge.as(System.Array.getItem(args,0,Kusto.Language.Syntax.Expression).ReferencedSymbol,Kusto.Language.Symbols.ColumnSymbol):null,fc,aggregateColumn=System.Array.getCount(args,Kusto.Language.Syntax.Expression)>1&&(fc=Bridge.as(System.Array.getItem(args,1,Kusto.Language.Syntax.Expression),Kusto.Language.Syntax.FunctionCallExpression))!=null&&fc.ArgumentList.Expressions.Count>0?Bridge.as(fc.ArgumentList.Expressions.getItem$1(0).Element$1.ReferencedSymbol,Kusto.Language.Symbols.ColumnSymbol):null,columns=System.Linq.Enumerable.from(args).skip(2).select(function(a){return Bridge.as(a.ReferencedSymbol,Kusto.Language.Symbols.ColumnSymbol)}).where(function(c){return c!=null}).toList(Kusto.Language.Symbols.ColumnSymbol);return columns.Count===0&&columns.AddRange(System.Linq.Enumerable.from(table.Columns).where(function(c){return!Bridge.referenceEquals(c,pivotColumn)&&!Bridge.referenceEquals(c,aggregateColumn)})),new Kusto.Language.Symbols.TableSymbol.$ctor2(columns).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("pivotColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("aggregateFunction",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Aggregate,void 0,void 0,!1,void 0,0,1,void 0),new Kusto.Language.Symbols.Parameter.ctor("columnName",Kusto.Language.Symbols.ParameterTypeKind.Scalar,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.Preview=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("preview",function(table){return new Kusto.Language.Symbols.GroupSymbol.ctor([table,new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Count",Kusto.Language.Symbols.ScalarTypes.Long)])])},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("NumberOfRows",Kusto.Language.Symbols.ParameterTypeKind.Integer)]);this.Python=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("python",function(){return(new Kusto.Language.Symbols.TableSymbol.ctor).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor2("OutputSchema",Kusto.Language.Symbols.ScalarTypes.Type),new Kusto.Language.Symbols.Parameter.$ctor2("Script",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor3("ScriptParameters",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,0,1,void 0)]);this.R=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("r",function(){return(new Kusto.Language.Symbols.TableSymbol.ctor).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor2("OutputSchema",Kusto.Language.Symbols.ScalarTypes.Type),new Kusto.Language.Symbols.Parameter.$ctor2("Script",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor3("ScriptParameters",Kusto.Language.Symbols.ScalarTypes.Dynamic,0,void 0,void 0,!1,void 0,0,1,void 0)]);this.RollingPercentile=new Kusto.Language.Symbols.FunctionSymbol.ctor("rolling_percentile",function(table,args,signature){var $t,$t1,$t2,$t3,$t4,$t5,$t6,$t7,cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"IndexColumn",args);Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args);var binsPerWindow=($t=($t1=Kusto.Language.FunctionHelpers.GetArgument(args,signature,"BinsPerWindow"))!=null&&($t2=$t1.LiteralValue)!=null?Bridge.toString($t2):null,$t!=null?$t:"0"),percentile=($t3=($t4=Kusto.Language.FunctionHelpers.GetArgument(args,signature,"Percentile"))!=null&&($t5=$t4.LiteralValue)!=null?Bridge.toString($t5):null,$t3!=null?$t3:"0"),valueColumn=Bridge.as(($t6=Kusto.Language.FunctionHelpers.GetArgument(args,signature,"ValueColumn"))!=null?$t6.ReferencedSymbol:null,Kusto.Language.Symbols.ColumnSymbol);return cols.add(new Kusto.Language.Symbols.ColumnSymbol(System.String.format("rolling_{0}_percentile_{1}_{2}",binsPerWindow,($t7=valueColumn!=null?valueColumn.Name:null,$t7!=null?$t7:"value"),percentile),(valueColumn!=null?valueColumn.Type:null)||Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("ValueColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Percentile",Kusto.Language.Symbols.ParameterTypeKind.Number,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("IndexColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("BinSize",Kusto.Language.Symbols.ParameterTypeKind.Summable),new Kusto.Language.Symbols.Parameter.ctor("BinsPerWindow",Kusto.Language.Symbols.ParameterTypeKind.Integer,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.SessionCount=new Kusto.Language.Symbols.FunctionSymbol.ctor("session_count",function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("count_sessions",Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Bin",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("LookBackWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.SlidingWindowCounts=new Kusto.Language.Symbols.FunctionSymbol.ctor("sliding_window_counts",function(table,args,signature){var cols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor);return Kusto.Language.FunctionHelpers.AddReferencedColumn(cols,signature,"TimelineColumn",args),Kusto.Language.FunctionHelpers.AddReferencedColumns(cols,signature,"Dimension",args),cols.add(new Kusto.Language.Symbols.ColumnSymbol("Count",Kusto.Language.Symbols.ScalarTypes.Long)),cols.add(new Kusto.Language.Symbols.ColumnSymbol("Dcount",Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Symbols.TableSymbol.$ctor2(cols)},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.ctor("IdColumn",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("TimelineColumn",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Column),new Kusto.Language.Symbols.Parameter.ctor("Start",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("End",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("LookBackWindow",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Step",Kusto.Language.Symbols.ParameterTypeKind.Summable,Kusto.Language.Symbols.ArgumentKind.Constant),new Kusto.Language.Symbols.Parameter.ctor("Dimension",Kusto.Language.Symbols.ParameterTypeKind.NotDynamic,Kusto.Language.Symbols.ArgumentKind.Column,void 0,void 0,!1,void 0,0,Kusto.Language.FunctionHelpers.MaxRepeat,void 0)]);this.SqlRequest=new Kusto.Language.Symbols.FunctionSymbol.$ctor2("sql_request",function(){return(new Kusto.Language.Symbols.TableSymbol.ctor).Open()},Kusto.Language.Symbols.Tabularity.Tabular,[new Kusto.Language.Symbols.Parameter.$ctor2("ConnectionString",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.Parameter.$ctor2("SqlQuery",Kusto.Language.Symbols.ScalarTypes.String)]);this.All=System.Array.init([Kusto.Language.PlugIns.ActiveUseCounts,Kusto.Language.PlugIns.ActivityCountsMetrics,Kusto.Language.PlugIns.ActivityEngagement,Kusto.Language.PlugIns.ActivityMetrics,Kusto.Language.PlugIns.AutoCluster,Kusto.Language.PlugIns.BagUnpack,Kusto.Language.PlugIns.Basket,Kusto.Language.PlugIns.CosmosdbSqlRequest,Kusto.Language.PlugIns.DCountIntersect,Kusto.Language.PlugIns.DiffPatterns,Kusto.Language.PlugIns.EstimateRowsCount,Kusto.Language.PlugIns.ExecuteShowCommand,Kusto.Language.PlugIns.ExternalDatatable,Kusto.Language.PlugIns.FunnelSequence,Kusto.Language.PlugIns.FunnelSequenceCompletion,Kusto.Language.PlugIns.HttpRequest,Kusto.Language.PlugIns.HttpRequestPost,Kusto.Language.PlugIns.Identity,Kusto.Language.PlugIns.IdentityV3,Kusto.Language.PlugIns.Narrow,Kusto.Language.PlugIns.Pivot,Kusto.Language.PlugIns.Preview,Kusto.Language.PlugIns.Python,Kusto.Language.PlugIns.R,Kusto.Language.PlugIns.RollingPercentile,Kusto.Language.PlugIns.SessionCount,Kusto.Language.PlugIns.SlidingWindowCounts,Kusto.Language.PlugIns.SqlRequest],Kusto.Language.Symbols.FunctionSymbol)}}}});Bridge.define("Kusto.Language.Symbols.ArgumentKind",{$kind:"enum",statics:{fields:{Expression:0,Star:1,Aggregate:2,Column:3,Literal:4,LiteralNotEmpty:5,Constant:6}}});Bridge.define("Kusto.Language.Symbols.Symbol",{statics:{methods:{GetExpressionResultType:function(symbol){var $t,c,v,p,g,resultSymbols,m,rs;do{if(Bridge.is(symbol,Kusto.Language.Symbols.ColumnSymbol))return c=Bridge.cast(symbol,Kusto.Language.Symbols.ColumnSymbol),c.Type;if(Bridge.is(symbol,Kusto.Language.Symbols.VariableSymbol))return v=Bridge.cast(symbol,Kusto.Language.Symbols.VariableSymbol),v.Type;if(Bridge.is(symbol,Kusto.Language.Symbols.ParameterSymbol))return p=Bridge.cast(symbol,Kusto.Language.Symbols.ParameterSymbol),p.Type;if(Bridge.is(symbol,Kusto.Language.Symbols.GroupSymbol)){g=Bridge.cast(symbol,Kusto.Language.Symbols.GroupSymbol);resultSymbols=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.Symbol).ctor);$t=Bridge.getEnumerator(g.Members,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())m=$t.Current,rs=Kusto.Language.Symbols.Symbol.GetExpressionResultType(m),rs!=null&&resultSymbols.add(rs)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return resultSymbols.Count===1?Bridge.as(resultSymbols.getItem(0),Kusto.Language.Symbols.TypeSymbol):resultSymbols.Count>1?new Kusto.Language.Symbols.GroupSymbol.$ctor1(resultSymbols):null}return Bridge.is(symbol,Kusto.Language.Symbols.TypeSymbol)?Bridge.cast(symbol,Kusto.Language.Symbols.TypeSymbol):null}while(0)}}},fields:{_display:null},props:{Name:null,IsHidden:{get:function(){return System.String.startsWith(this.Name,"__")}},IsError:{get:function(){return!1}},Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Unknown}},IsScalar:{get:function(){switch(this.Tabularity){case Kusto.Language.Symbols.Tabularity.Scalar:case Kusto.Language.Symbols.Tabularity.Unknown:return!0;default:return!1}}},IsTabular:{get:function(){switch(this.Tabularity){case Kusto.Language.Symbols.Tabularity.Tabular:case Kusto.Language.Symbols.Tabularity.Unknown:return!0;default:return!1}}},Display:{get:function(){return this._display==null&&(this._display=this.GetDisplay()),this._display}},Members:{get:function(){return Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.Symbol).Instance}}},ctors:{ctor:function(name){var $t;this.$initialize();this.Name=($t=name,$t!=null?$t:"")}},methods:{GetDisplay:function(){return this.Name},GetMembers$1:function(name,match,symbols,ignoreCase){var $t,symbol;ignoreCase===void 0&&(ignoreCase=!1);$t=Bridge.getEnumerator(this.Members,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())symbol=$t.Current,Kusto.Language.Symbols.SymbolMatchExtensions.Matches$1(symbol,name,match,ignoreCase)&&symbols.add(symbol)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}},GetMembers:function(match,symbols,ignoreCase){ignoreCase===void 0&&(ignoreCase=!1);this.GetMembers$1(null,match,symbols,ignoreCase)},GetFirstMember:function(name,match,ignoreCase){var $t,symbol;match===void 0&&(match=255);ignoreCase===void 0&&(ignoreCase=!1);$t=Bridge.getEnumerator(this.Members,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())if(symbol=$t.Current,Kusto.Language.Symbols.SymbolMatchExtensions.Matches$1(symbol,name,match,ignoreCase))return symbol}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return null}}});Bridge.define("Kusto.Language.Symbols.CombineKind",{$kind:"enum",statics:{fields:{UnifySameNameAndType:0,UnifySameName:1,UniqueNames:2}}});Bridge.define("Kusto.Language.Symbols.FunctionBodyFacts",{$kind:"enum",statics:{fields:{None:0,Cluster:1,Database:2,Table:4,VariableReturn:16}},$flags:!0});Bridge.define("Kusto.Language.Symbols.OperatorKind",{$kind:"enum",statics:{fields:{None:0,UnaryMinus:1,UnaryPlus:2,Add:3,Subtract:4,Multiply:5,Divide:6,Modulo:7,EqualTilde:8,BangTilde:9,Has:10,HasCs:11,NotHas:12,NotHasCs:13,HasPrefix:14,HasPrefixCs:15,NotHasPrefix:16,NotHasPrefixCs:17,HasSuffix:18,HasSuffixCs:19,NotHasSuffix:20,NotHasSuffixCs:21,Like:22,LikeCs:23,NotLike:24,NotLikeCs:25,Contains:26,ContainsCs:27,NotContains:28,NotContainsCs:29,StartsWith:30,StartsWithCs:31,NotStartsWith:32,NotStartsWithCs:33,EndsWith:34,EndsWithCs:35,NotEndsWith:36,NotEndsWithCs:37,MatchRegex:38,Search:39,LessThan:40,LessThanOrEqual:41,GreaterThan:42,GreaterThanOrEqual:43,Equal:44,NotEqual:45,And:46,Or:47,In:48,InCs:49,NotIn:50,NotInCs:51,Between:52,NotBetween:53,HasAny:54}}});Bridge.define("Kusto.Language.Symbols.Parameter",{statics:{fields:{NoValues:null,NoExamples:null},ctors:{init:function(){this.NoValues=Kusto.Language.Utils.EmptyReadOnlyList$1(System.Object).Instance;this.NoExamples=Kusto.Language.Utils.EmptyReadOnlyList$1(System.String).Instance}},methods:{From:function(parameter,isOptional,defaultValue){return isOptional===void 0&&(isOptional=!1),defaultValue===void 0&&(defaultValue=null),new Kusto.Language.Symbols.Parameter.$ctor3(parameter.Name,parameter.Type,0,void 0,void 0,!1,void 0,isOptional?0:1,1,defaultValue)}}},props:{Name:null,TypeKind:0,DeclaredTypes:null,ArgumentKind:0,MinOccurring:0,MaxOccurring:0,IsOptional:{get:function(){return this.MinOccurring===0}},IsRepeatable:{get:function(){return this.MaxOccurring>1}},Values:null,Examples:null,IsCaseSensitive:!1,DefaultValueIndicator:null,DefaultValue:null,TypeDependsOnArguments:{get:function(){return this.TypeKind!==Kusto.Language.Symbols.ParameterTypeKind.Declared||System.Array.getItem(this.DeclaredTypes,0,Kusto.Language.Symbols.TypeSymbol).IsTabular}},Tabularity:{get:function(){switch(this.TypeKind){case Kusto.Language.Symbols.ParameterTypeKind.Declared:return System.Array.getItem(this.DeclaredTypes,0,Kusto.Language.Symbols.TypeSymbol).Tabularity;case Kusto.Language.Symbols.ParameterTypeKind.Tabular:case Kusto.Language.Symbols.ParameterTypeKind.SingleColumnTable:case Kusto.Language.Symbols.ParameterTypeKind.Database:case Kusto.Language.Symbols.ParameterTypeKind.Cluster:return Kusto.Language.Symbols.Tabularity.Tabular;default:return Kusto.Language.Symbols.Tabularity.Scalar}}},IsScalar:{get:function(){return this.Tabularity===Kusto.Language.Symbols.Tabularity.Scalar}},IsTabular:{get:function(){return this.Tabularity===Kusto.Language.Symbols.Tabularity.Tabular}},TypeDisplay:{get:function(){switch(this.TypeKind){case Kusto.Language.Symbols.ParameterTypeKind.Declared:return Bridge.toArray(System.Linq.Enumerable.from(this.DeclaredTypes).select(function(t){return t.Display})).join("|");default:return"<"+(System.Enum.toString(Kusto.Language.Symbols.ParameterTypeKind,this.TypeKind)||"")+">"}}},Display:{get:function(){return System.String.format("{0}: {1}",this.Name,this.TypeDisplay)}}},ctors:{$ctor1:function(name,typeKind,types,argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue){if(this.$initialize(),typeKind===Kusto.Language.Symbols.ParameterTypeKind.Declared)if(types==null)throw new System.ArgumentNullException.$ctor1("types");else if(types.length===0)throw new System.ArgumentException.$ctor3("Must have at least one declared type.","types");this.Name=name;this.TypeKind=typeKind;this.DeclaredTypes=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.TypeSymbol,types);this.ArgumentKind=argumentKind;this.Values=values!=null?Kusto.Language.Utils.ListExtensions.ToReadOnly(System.Object,values):Kusto.Language.Symbols.Parameter.NoValues;this.Examples=examples!=null?Kusto.Language.Utils.ListExtensions.ToReadOnly(System.String,examples):Kusto.Language.Symbols.Parameter.NoExamples;this.IsCaseSensitive=isCaseSensitive;this.MinOccurring=defaultValue!=null?0:minOccurring;this.MaxOccurring=defaultValue!=null?1:maxOccurring;this.DefaultValueIndicator=defaultValueIndicator;this.DefaultValue=defaultValue},ctor:function(name,typeKind,argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue){argumentKind===void 0&&(argumentKind=0);values===void 0&&(values=null);examples===void 0&&(examples=null);isCaseSensitive===void 0&&(isCaseSensitive=!1);defaultValueIndicator===void 0&&(defaultValueIndicator=null);minOccurring===void 0&&(minOccurring=1);maxOccurring===void 0&&(maxOccurring=1);defaultValue===void 0&&(defaultValue=null);Kusto.Language.Symbols.Parameter.$ctor1.call(this,name,typeKind,null,argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue)},$ctor3:function(name,type,argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue){argumentKind===void 0&&(argumentKind=0);values===void 0&&(values=null);examples===void 0&&(examples=null);isCaseSensitive===void 0&&(isCaseSensitive=!1);defaultValueIndicator===void 0&&(defaultValueIndicator=null);minOccurring===void 0&&(minOccurring=1);maxOccurring===void 0&&(maxOccurring=1);defaultValue===void 0&&(defaultValue=null);Kusto.Language.Symbols.Parameter.$ctor1.call(this,name,Kusto.Language.Symbols.ParameterTypeKind.Declared,System.Array.init([type],Kusto.Language.Symbols.TypeSymbol),argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue)},$ctor4:function(name,types,argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue){argumentKind===void 0&&(argumentKind=0);values===void 0&&(values=null);examples===void 0&&(examples=null);isCaseSensitive===void 0&&(isCaseSensitive=!1);defaultValueIndicator===void 0&&(defaultValueIndicator=null);minOccurring===void 0&&(minOccurring=1);maxOccurring===void 0&&(maxOccurring=1);defaultValue===void 0&&(defaultValue=null);Kusto.Language.Symbols.Parameter.$ctor1.call(this,name,Kusto.Language.Symbols.ParameterTypeKind.Declared,types,argumentKind,values,examples,isCaseSensitive,defaultValueIndicator,minOccurring,maxOccurring,defaultValue)},$ctor2:function(name,type){Kusto.Language.Symbols.Parameter.$ctor1.call(this,name,Kusto.Language.Symbols.ParameterTypeKind.Declared,System.Array.init([type],Kusto.Language.Symbols.TypeSymbol),Kusto.Language.Symbols.ArgumentKind.Expression,null,null,!1,null,1,1,null)}}});Bridge.define("Kusto.Language.Symbols.ParameterTypeKind",{$kind:"enum",statics:{fields:{Declared:0,Scalar:1,Tabular:2,SingleColumnTable:3,Database:4,Cluster:5,Integer:6,RealOrDecimal:7,StringOrDynamic:8,Number:9,Summable:10,NotRealOrBool:11,NotDynamic:12,NotBool:13,Parameter0:14,Parameter1:15,Parameter2:16,CommonScalar:17,CommonNumber:18,CommonSummable:19,CommonScalarOrDynamic:20,IntegerOrDynamic:21}}});Bridge.define("Kusto.Language.Symbols.PatternSignature",{props:{ArgumentValues:null,PathValue:null,Body:null,Declaration:null},ctors:{$ctor2:function(argumentValues,pathValue,body,declaration){this.$initialize();this.ArgumentValues=argumentValues;this.PathValue=pathValue;this.Body=body;this.Declaration=declaration},$ctor1:function(argumentValues,pathValue,body){Kusto.Language.Symbols.PatternSignature.$ctor2.call(this,argumentValues,pathValue,body,null)},ctor:function(argumentValues,pathValue,declaration){Kusto.Language.Symbols.PatternSignature.$ctor2.call(this,argumentValues,pathValue,null,declaration)}}});Bridge.define("Kusto.Language.Symbols.ResultNameKind",{$kind:"enum",statics:{fields:{None:0,PrefixAndFirstArgument:1,PrefixAndOnlyArgument:2,FirstArgumentValueIfColumn:3,PrefixOnly:4,Default:0},ctors:{init:function(){this.Default=Kusto.Language.Symbols.ResultNameKind.None}}}});Bridge.define("Kusto.Language.Symbols.ReturnTypeKind",{$kind:"enum",statics:{fields:{Declared:0,Computed:1,Custom:2,Parameter0:3,Parameter1:4,Parameter2:5,ParameterN:6,ParameterNLiteral:7,Parameter0Promoted:8,Parameter0Cluster:9,Parameter0Database:10,Parameter0Table:11,Common:12,Widest:13}}});Bridge.define("Kusto.Language.Symbols.ScalarFlags",{$kind:"enum",statics:{fields:{None:0,Integer:1,Numeric:2,Interval:4,Summable:8}},$flags:!0});Bridge.define("Kusto.Language.Symbols.ScalarTypes",{statics:{fields:{Bool:null,Int:null,Long:null,Real:null,Decimal:null,DateTime:null,TimeSpan:null,Guid:null,Type:null,Dynamic:null,String:null,s_types:null,s_typeMap:null},ctors:{init:function(){this.Bool=new Kusto.Language.Symbols.ScalarSymbol("bool");this.Int=new Kusto.Language.Symbols.ScalarSymbol("int",System.Array.init(["int32","uint","uint32","int8","uint8","int16","uint16"],System.String),15);this.Long=new Kusto.Language.Symbols.ScalarSymbol("long",System.Array.init(["int64","ulong","uint64"],System.String),15,System.Array.init([Kusto.Language.Symbols.ScalarTypes.Int],Kusto.Language.Symbols.ScalarSymbol));this.Real=new Kusto.Language.Symbols.ScalarSymbol("real",System.Array.init(["double","float"],System.String),14,System.Array.init([Kusto.Language.Symbols.ScalarTypes.Int,Kusto.Language.Symbols.ScalarTypes.Long],Kusto.Language.Symbols.ScalarSymbol));this.Decimal=new Kusto.Language.Symbols.ScalarSymbol("decimal",null,14,System.Array.init([Kusto.Language.Symbols.ScalarTypes.Int,Kusto.Language.Symbols.ScalarTypes.Long,Kusto.Language.Symbols.ScalarTypes.Real],Kusto.Language.Symbols.ScalarSymbol));this.DateTime=new Kusto.Language.Symbols.ScalarSymbol("datetime",null,12);this.TimeSpan=new Kusto.Language.Symbols.ScalarSymbol("timespan",null,12);this.Guid=new Kusto.Language.Symbols.ScalarSymbol("guid",System.Array.init(["uuid","uniqueid"],System.String));this.Type=new Kusto.Language.Symbols.ScalarSymbol("type");this.Dynamic=new Kusto.Language.Symbols.ScalarSymbol("dynamic",null,Kusto.Language.Symbols.ScalarFlags.Interval);this.String=new Kusto.Language.Symbols.ScalarSymbol("string",void 0,0,System.Array.init([Kusto.Language.Symbols.ScalarTypes.Dynamic],Kusto.Language.Symbols.ScalarSymbol));this.s_types=System.Array.init([Kusto.Language.Symbols.ScalarTypes.Bool,Kusto.Language.Symbols.ScalarTypes.Int,Kusto.Language.Symbols.ScalarTypes.Long,Kusto.Language.Symbols.ScalarTypes.Real,Kusto.Language.Symbols.ScalarTypes.Decimal,Kusto.Language.Symbols.ScalarTypes.String,Kusto.Language.Symbols.ScalarTypes.DateTime,Kusto.Language.Symbols.ScalarTypes.TimeSpan,Kusto.Language.Symbols.ScalarTypes.Guid,Kusto.Language.Symbols.ScalarTypes.Type,Kusto.Language.Symbols.ScalarTypes.Dynamic],Kusto.Language.Symbols.ScalarSymbol);this.s_typeMap=new(System.Collections.Generic.Dictionary$2(System.String,Kusto.Language.Symbols.ScalarSymbol))},ctor:function(){var $t,$t1,type,alias;$t=Bridge.getEnumerator(Kusto.Language.Symbols.ScalarTypes.s_types,Kusto.Language.Symbols.ScalarSymbol);try{while($t.moveNext()){type=$t.Current;Kusto.Language.Symbols.ScalarTypes.s_typeMap.add(type.Name,type);$t1=Bridge.getEnumerator(type.Aliases,System.String);try{while($t1.moveNext())alias=$t1.Current,Kusto.Language.Symbols.ScalarTypes.s_typeMap.add(alias,type)}finally{Bridge.is($t1,System.IDisposable)&&$t1.System$IDisposable$Dispose()}}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}},methods:{GetSymbol:function(typeName){var type={};return Kusto.Language.Symbols.ScalarTypes.s_typeMap.tryGetValue(typeName,type),type.v}}}});Bridge.define("Kusto.Language.Symbols.Signature",{fields:{_firstRepeatableParameter:0,_lastRepeatableParameter:0,_returnType:null,_body:null,_tabularity:0,_display:null},props:{Symbol:null,ReturnKind:0,Parameters:null,MinArgumentCount:0,MaxArgumentCount:0,Declaration:null,CustomReturnType:null,IsHidden:!1,HasRepeatableParameters:{get:function(){return this._firstRepeatableParameter>=0}},ReturnTypeDependsOnArguments:!1,Body:{get:function(){return this._body==null&&this.Declaration!=null&&(this._body=this.Declaration.Body.ToString(Kusto.Language.Syntax.IncludeTrivia.Interior)),this._body}},DeclaredReturnType:{get:function(){return this.ReturnKind===Kusto.Language.Symbols.ReturnTypeKind.Declared?this._returnType:null}},Tabularity:{get:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6,$t7;if(this._tabularity===Kusto.Language.Symbols.Tabularity.Unknown)switch(this.ReturnKind){case Kusto.Language.Symbols.ReturnTypeKind.Declared:return this._returnType.Tabularity;case Kusto.Language.Symbols.ReturnTypeKind.Computed:return Kusto.Language.Symbols.Tabularity.Unknown;case Kusto.Language.Symbols.ReturnTypeKind.Parameter0:return $t=($t1=this.GetParameter$1(0,System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)))!=null?$t1.Tabularity:null,$t!=null?$t:Kusto.Language.Symbols.Tabularity.Unknown;case Kusto.Language.Symbols.ReturnTypeKind.Parameter1:return $t2=($t3=this.GetParameter$1(1,System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)))!=null?$t3.Tabularity:null,$t2!=null?$t2:Kusto.Language.Symbols.Tabularity.Unknown;case Kusto.Language.Symbols.ReturnTypeKind.Parameter2:return $t4=($t5=this.GetParameter$1(2,System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)))!=null?$t5.Tabularity:null,$t4!=null?$t4:Kusto.Language.Symbols.Tabularity.Unknown;case Kusto.Language.Symbols.ReturnTypeKind.ParameterN:return $t6=($t7=this.GetParameter$1(System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)-1|0,System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)))!=null?$t7.Tabularity:null,$t6!=null?$t6:Kusto.Language.Symbols.Tabularity.Unknown;case Kusto.Language.Symbols.ReturnTypeKind.Custom:return Kusto.Language.Symbols.Tabularity.Unknown;case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Table:case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Database:case Kusto.Language.Symbols.ReturnTypeKind.Parameter0Cluster:return Kusto.Language.Symbols.Tabularity.Tabular;default:return Kusto.Language.Symbols.Tabularity.Scalar}return this._tabularity}},IsScalar:{get:function(){switch(this.Tabularity){case Kusto.Language.Symbols.Tabularity.Scalar:case Kusto.Language.Symbols.Tabularity.Unknown:return!0;default:return!1}}},IsTabular:{get:function(){switch(this.Tabularity){case Kusto.Language.Symbols.Tabularity.Tabular:case Kusto.Language.Symbols.Tabularity.Unknown:return!0;default:return!1}}},ReturnTypeDisplay:{get:function(){switch(this.ReturnKind){case Kusto.Language.Symbols.ReturnTypeKind.Declared:return this._returnType.Display;default:return"<"+(System.Enum.toString(Kusto.Language.Symbols.ReturnTypeKind,this.ReturnKind)||"")+">"}}},Display:{get:function(){return this._display==null&&(this._display=this.GetDisplay()),this._display}},FunctionBodyFacts:null,NonVariableComputedReturnType:null,HasVariableReturnType:{get:function(){return this.FunctionBodyFacts!=null&&System.Nullable.neq(System.Nullable.band(this.FunctionBodyFacts,Kusto.Language.Symbols.FunctionBodyFacts.VariableReturn),0)}},HasClusterCall:{get:function(){return this.FunctionBodyFacts!=null&&System.Nullable.neq(System.Nullable.band(this.FunctionBodyFacts,Kusto.Language.Symbols.FunctionBodyFacts.Cluster),0)}},HasDatabaseCall:{get:function(){return this.FunctionBodyFacts!=null&&System.Nullable.neq(System.Nullable.band(this.FunctionBodyFacts,Kusto.Language.Symbols.FunctionBodyFacts.Database),0)}}},ctors:{$ctor5:function(returnKind,returnType,body,declaration,customReturnType,tabularity,parameters,isHidden){var minArgumentCount,maxArgumentCount,i,n,p;if(isHidden===void 0&&(isHidden=!1),this.$initialize(),returnKind===Kusto.Language.Symbols.ReturnTypeKind.Declared&&returnType==null)throw new System.ArgumentNullException.$ctor1("returnType");if(returnKind===Kusto.Language.Symbols.ReturnTypeKind.Computed&&!!!(body!=null|declaration!=null))throw new System.ArgumentNullException.$ctor1("body");if(returnKind===Kusto.Language.Symbols.ReturnTypeKind.Custom&&Bridge.staticEquals(customReturnType,null))throw new System.ArgumentNullException.$ctor1("customReturnType");for(this.ReturnKind=returnKind,this._returnType=returnType,this._body=body,this.Declaration=declaration,this.CustomReturnType=customReturnType,this._tabularity=tabularity,this.Parameters=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.Parameter,parameters),this.IsHidden=isHidden,returnKind===Kusto.Language.Symbols.ReturnTypeKind.Computed&&returnType!=null&&tabularity===Kusto.Language.Symbols.Tabularity.Unknown&&(this._tabularity=returnType.Tabularity),this.ReturnTypeDependsOnArguments=returnKind!==Kusto.Language.Symbols.ReturnTypeKind.Declared&&System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)>0&&System.Linq.Enumerable.from(this.Parameters).any(function(p){return p.TypeDependsOnArguments}),this._firstRepeatableParameter=-1,this._lastRepeatableParameter=-1,minArgumentCount=0,maxArgumentCount=0,i=0,n=Bridge.Int.sxb(System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)&255);ithis._lastRepeatableParameter&&this._lastRepeatableParameter<(System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)-1|0)&&(argumentCount-argumentIndex|0)<(System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)-this._lastRepeatableParameter|0)?(iAfterRepeatableParam=System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)-(argumentCount-argumentIndex|0)|0,System.Array.getItem(this.Parameters,iAfterRepeatableParam,Kusto.Language.Symbols.Parameter)):(nRepeatable=(this._lastRepeatableParameter-this._firstRepeatableParameter|0)+1|0,iparam=(argumentIndex-this._firstRepeatableParameter|0)%nRepeatable+this._firstRepeatableParameter|0,System.Array.getItem(this.Parameters,iparam,Kusto.Language.Symbols.Parameter)):argumentIndexthis._lastRepeatableParameter&&this._lastRepeatableParameter<(System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)-1|0))for(remainder=(argumentIndex-this._firstRepeatableParameter|0)%nRepeatable,iAfterParam=this._lastRepeatableParameter+remainder|0;iAfterParam=0){for(length.v=1,i=start.v+1|0;ithis.MaxArgumentCount)return!1;if(this.HasRepeatableParameters){var nVariable=(this._lastRepeatableParameter-this._firstRepeatableParameter|0)+1|0;return(argumentCount-System.Array.getCount(this.Parameters,Kusto.Language.Symbols.Parameter)|0)%nVariable==0}return!0},GetDisplay:function(){for(var p,builder=new System.Text.StringBuilder,i=0;i0&&builder.append(", "),p.IsOptional?(builder.append("["),builder.append(p.Display),builder.append("]")):builder.append(p.Display);return this.HasRepeatableParameters&&builder.append(", ..."),System.String.format("{0}({1}) => {2}",this.Symbol.Name,builder.toString(),this.ReturnTypeDisplay)},ComputeTabularity:function(globals){if(this.ReturnKind===Kusto.Language.Symbols.ReturnTypeKind.Custom&&this._tabularity===Kusto.Language.Symbols.Tabularity.Unknown){var type=Kusto.Language.Binding.Binder.GetComputedReturnType(this,globals);this._tabularity===Kusto.Language.Symbols.Tabularity.Unknown&&type!=null&&(type.IsTabular?this._tabularity=Kusto.Language.Symbols.Tabularity.Tabular:type.IsScalar&&(this._tabularity=Kusto.Language.Symbols.Tabularity.Scalar))}}}});Bridge.define("Kusto.Language.Symbols.SymbolKind",{$kind:"enum",statics:{fields:{None:0,Scalar:1,Variable:2,Function:3,Parameter:4,Pattern:5,Tuple:6,Column:7,Table:8,Database:9,Cluster:10,Operator:11,Group:12,Void:13,Error:14,Command:15}}});Bridge.define("Kusto.Language.Symbols.SymbolMatch",{$kind:"enum",statics:{fields:{None:0,Column:1,Table:2,Function:4,Local:8,Database:16,Cluster:32,Scalar:64,Tabular:128,Any:255,Default:207}},$flags:!0});Bridge.define("Kusto.Language.Symbols.SymbolMatchExtensions",{statics:{methods:{Matches$1:function(symbol,name,match,ignoreCase){if(ignoreCase===void 0&&(ignoreCase=!1),name!=null)if(ignoreCase){if(System.String.compare(symbol.Name,name,ignoreCase)!==0)return!1}else{var sn=symbol.Name;if(name.length===0||sn.length===0||name.charCodeAt(0)!==sn.charCodeAt(0)||System.String.compare(sn,name)!==0)return!1}return(match&Kusto.Language.Symbols.SymbolMatch.Column)!=0&&symbol.Kind===Kusto.Language.Symbols.SymbolKind.Column?!0:(match&Kusto.Language.Symbols.SymbolMatch.Table)!=0&&symbol.Kind===Kusto.Language.Symbols.SymbolKind.Table?!0:(match&Kusto.Language.Symbols.SymbolMatch.Database)!=0&&symbol.Kind===Kusto.Language.Symbols.SymbolKind.Database?!0:(match&Kusto.Language.Symbols.SymbolMatch.Cluster)!=0&&symbol.Kind===Kusto.Language.Symbols.SymbolKind.Cluster?!0:(match&Kusto.Language.Symbols.SymbolMatch.Scalar)!=0&&(match&Kusto.Language.Symbols.SymbolMatch.Tabular)==0&&!symbol.IsScalar?!1:(match&Kusto.Language.Symbols.SymbolMatch.Tabular)!=0&&(match&Kusto.Language.Symbols.SymbolMatch.Scalar)==0&&!symbol.IsTabular?!1:(match&Kusto.Language.Symbols.SymbolMatch.Function)!=0&&(symbol.Kind===Kusto.Language.Symbols.SymbolKind.Function||symbol.Kind===Kusto.Language.Symbols.SymbolKind.Pattern)?!0:(match&Kusto.Language.Symbols.SymbolMatch.Local)!=0&&(symbol.Kind===Kusto.Language.Symbols.SymbolKind.Variable||symbol.Kind===Kusto.Language.Symbols.SymbolKind.Parameter)?!0:!1},Matches:function(symbol,match){return Kusto.Language.Symbols.SymbolMatchExtensions.Matches$1(symbol,null,match)}}}});Bridge.define("Kusto.Language.Symbols.TableSymbol.TableState",{$kind:"nested enum",statics:{fields:{None:0,Serialized:1,Sorted:2,Open:4}},$flags:!0,$utype:System.UInt16});Bridge.define("Kusto.Language.Symbols.Tabularity",{$kind:"enum",statics:{fields:{None:0,Scalar:1,Tabular:2,Unknown:3}}});Bridge.define("Kusto.Language.Syntax.SyntaxElement",{statics:{methods:{GatherDiagnostics:function(element,diagnostics,include,cancellationToken){var $t,$t1,node,i,n,child,expr,expansion,originalCount;cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);cancellationToken.ThrowIfCancellationRequested();var includeSyntax=(include&Kusto.Language.Syntax.DiagnosticsInclude.Syntactic)!=0,includeSemantic=(include&Kusto.Language.Syntax.DiagnosticsInclude.Semantic)!=0,includeExpansion=(include&Kusto.Language.Syntax.DiagnosticsInclude.Expansion)!=0;if(element.HasSyntaxDiagnostics&&includeSyntax&&diagnostics.AddRange(System.Linq.Enumerable.from(element.SyntaxDiagnostics).select(function(d){return d.HasLocation?d:Kusto.Language.Syntax.SyntaxElement.SetLocation(d,element)})),includeSemantic&&(node=Bridge.as(element,Kusto.Language.Syntax.SyntaxNode))!=null&&System.Array.getCount(node.SemanticDiagnostics,Kusto.Language.Diagnostic)>0&&diagnostics.AddRange(node.SemanticDiagnostics),includeSemantic||includeSyntax&&element.ContainsSyntaxDiagnostics)for(i=0,n=element.ChildCount;ioriginalCount)){var name=($t=($t1=expr.ReferencedSymbol)!=null?$t1.Name:null,$t!=null?$t:""),fc,location=(fc=Bridge.as(expr,Kusto.Language.Syntax.FunctionCallExpression))!=null?fc.Name:expr,errors=diagnostics.getItem(originalCount).Message,dx=Kusto.Language.DiagnosticFacts.GetErrorInExpansion(name,errors).WithLocation(location);Kusto.Language.Utils.ListExtensions.SetCount(Bridge.global.Kusto.Language.Diagnostic,diagnostics,originalCount);diagnostics.add(dx)}},SetLocation:function(d,location){var token,next;return location.Width===0&&(token=Bridge.as(location,Kusto.Language.Syntax.SyntaxToken))!=null&&(next=token.GetNextToken(),next!=null&&(next.TextStart-token.End|0)<2&&!Kusto.Language.Parsing.TextFacts.HasLineBreaks(next.Trivia)&&(location=next)),d.WithLocation(location)},GetDescendants:function(TElement,element,predicate,list){for(var child,ce,cn,i=0;i0}},SyntaxDiagnostics:{get:function(){var $t;return(($t=this.GetExtendedData(!1))!=null?$t.SyntaxDiagnostics:null)||Kusto.Language.Diagnostic.NoDiagnostics}},IsToken:{get:function(){return!1}},IsMissing:{get:function(){return this.Width===0&&this.ContainsSyntaxDiagnostics}},Parent:{get:function(){var node=Bridge.as(this.parent,Kusto.Language.Syntax.SyntaxNode),data;return node!=null?node:(data=Bridge.as(this.parent,Kusto.Language.Syntax.SyntaxElement.ExtendedData),data!=null)?data.Parent:null},set:function(value){Kusto.Language.Utils.Interlocked.CompareExchange(System.Object,Bridge.ref(this,"parent"),value,null);var data=Bridge.as(this.parent,Kusto.Language.Syntax.SyntaxElement.ExtendedData);data!=null&&Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.Kusto.Language.Syntax.SyntaxNode,Bridge.ref(data,"Parent"),value,null)}},Root:{get:function(){for(var element=this,parent=element.Parent;parent!=null;)element=parent,parent=element.Parent;return element}},IndexInParent:0,Depth:{get:function(){for(var depth=0,element=this;element.Parent!=null;element=element.Parent)depth=depth+1|0;return depth}},NameInParent:{get:function(){return this.Parent!=null?this.Parent.GetName(this.Parent.GetChildIndex(this)):""}},TriviaStart:{get:function(){return this.Parent==null?this.OffsetInParent:this.Parent.TriviaStart+this.OffsetInParent|0}},TriviaWidth:{get:function(){var $t,$t1;return $t=($t1=this.GetFirstToken())!=null?$t1.TriviaWidth:null,$t!=null?$t:0}},TextStart:{get:function(){return this.TriviaStart+this.TriviaWidth|0}},End:{get:function(){return this.TriviaStart+this.FullWidth|0}},Width:{get:function(){return this.FullWidth-this.TriviaWidth|0}},OffsetInParent:0},ctors:{ctor:function(diagnostics){this.$initialize();this.SetDiagnostics(diagnostics)}},methods:{GetContainedDiagnostics:function(include,cancellationToken){include===void 0&&(include=3);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var list=new(System.Collections.Generic.List$1(Kusto.Language.Diagnostic).ctor);return Kusto.Language.Syntax.SyntaxElement.GatherDiagnostics(this,list,include,cancellationToken),list.AsReadOnly()},Init:function(){for(var child,offset=0,i=0;i0&&(this.GetExtendedData(!0).SyntaxDiagnostics=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Diagnostic,diagnostics),this.flags|=Bridge.Int.sxs(Kusto.Language.Syntax.SyntaxElement.Flags.ContainsDiagnostics&65535))},WithDiagnostics:function(diagnostics){var clone=this.Clone();return clone.SetDiagnostics(System.Linq.Enumerable.from(diagnostics).toList(Bridge.global.Kusto.Language.Diagnostic).AsReadOnly()),clone},WithAdditionalDiagnostics$1:function(diagnostics){return this.WithDiagnostics(System.Linq.Enumerable.from(this.SyntaxDiagnostics).concat(diagnostics))},WithAdditionalDiagnostics:function(diagnostics){return diagnostics===void 0&&(diagnostics=[]),this.WithDiagnostics(System.Linq.Enumerable.from(this.SyntaxDiagnostics).concat(diagnostics))},GetExtendedData:function(create){var $t,data=Bridge.as(this.parent,Kusto.Language.Syntax.SyntaxElement.ExtendedData);return data==null&&create&&(data=($t=new Kusto.Language.Syntax.SyntaxElement.ExtendedData,$t.Parent=Bridge.as(this.parent,Kusto.Language.Syntax.SyntaxNode),$t),Kusto.Language.Utils.Interlocked.CompareExchange(System.Object,Bridge.ref(this,"parent"),data,this.parent),data=Bridge.as(this.parent,Kusto.Language.Syntax.SyntaxElement.ExtendedData)),data},GetChild:function(){return function(){throw new System.IndexOutOfRangeException.ctor;}()},IsOptional:function(){return!1},GetName:function(){return""},GetCompletionHint:function(index){return this.GetCompletionHintCore(index)},GetCompletionHintCore:function(){return Kusto.Language.Editor.CompletionHint.Inherit},HasMissingChildren:function(){var n,child;if(this.ContainsSyntaxDiagnostics)for(n=this.ChildCount-1|0;n>=0;n=n-1|0)if(child=this.GetChild(n),child!=null&&(child.IsMissing||child.HasMissingChildren()))return!0;return!1},GetChildIndex:function(child){for(var i=0,n=this.ChildCount;i0||includeZeroWidthTokens)&&tokens.add(t)}),Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Syntax.SyntaxToken,tokens)},WalkTokens:function(start,end,action){for(var child,i=0,n=this.ChildCount;i0))return sibling;return null},GetPreviousSibling:function(includeZeroWidthElements){var i,sibling;if(includeZeroWidthElements===void 0&&(includeZeroWidthElements=!1),this.Parent!=null)for(i=this.IndexInParent-1|0;i>=0;i=i-1|0)if(sibling=this.Parent.GetChild(i),sibling!=null&&(includeZeroWidthElements||sibling.FullWidth>0))return sibling;return null},GetFirstToken:function(includeZeroWidthTokens){var i,n,child,first;for(includeZeroWidthTokens===void 0&&(includeZeroWidthTokens=!1),i=0,n=this.ChildCount;i0)return Bridge.cast(child,Kusto.Language.Syntax.SyntaxToken)}else if(first=child.GetFirstToken(includeZeroWidthTokens),first!=null)return first;return null},GetLastToken:function(includeZeroWidthTokens){var i,child,first;for(includeZeroWidthTokens===void 0&&(includeZeroWidthTokens=!1),i=this.ChildCount-1|0;i>=0;i=i-1|0)if(child=this.GetChild(i),child!=null)if(child.IsToken){if(includeZeroWidthTokens||child.FullWidth>0)return Bridge.cast(child,Kusto.Language.Syntax.SyntaxToken)}else if(first=child.GetLastToken(includeZeroWidthTokens),first!=null)return first;return null},GetTokenAt:function(position){var $step=0,element,i,n,child,$asyncBody=Bridge.fn.bind(this,function(){for(;;){$step=System.Array.min([0,1,2,3,4,5,6,9,11],$step);switch($step){case 0:if(element=this,this.IsToken){if(this.TriviaStart<=position&&position=element.FullWidth)return element.GetLastToken(!0);case 1:if(element!=null&&element.ChildCount>0){$step=2;continue}$step=11;continue;case 2:i=0;n=element.ChildCount;$step=3;continue;case 3:if(i",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.GreaterThan)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.GreaterThanOrEqualToken,">=",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.GreaterThanOrEqual)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EqualToken,"=",Kusto.Language.Syntax.SyntaxCategory.Punctuation)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EqualEqualToken,"==",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.Equal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BangEqualToken,"!=",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.NotEqual)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LessThanGreaterThanToken,"<>",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.NotEqual)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ColonToken,":",Kusto.Language.Syntax.SyntaxCategory.Punctuation)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SemicolonToken,";",Kusto.Language.Syntax.SyntaxCategory.Punctuation)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CommaToken,",",Kusto.Language.Syntax.SyntaxCategory.Punctuation)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EqualTildeToken,"=~",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.EqualTilde)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BangTildeToken,"!~",Kusto.Language.Syntax.SyntaxCategory.Operator,Kusto.Language.Symbols.OperatorKind.BangTilde)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.AtToken,"@",Kusto.Language.Syntax.SyntaxCategory.Punctuation)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.QuestionToken,"?",Kusto.Language.Syntax.SyntaxCategory.Punctuation)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.StringLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BooleanLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LongLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.IntLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RealLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DecimalLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DateTimeLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TimespanLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.GuidLiteralToken,"",Kusto.Language.Syntax.SyntaxCategory.Literal)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.IdentifierToken,"",Kusto.Language.Syntax.SyntaxCategory.Identifier)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EndOfTextToken,"",Kusto.Language.Syntax.SyntaxCategory.Other)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DirectiveToken,"",Kusto.Language.Syntax.SyntaxCategory.Other)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BadToken,"",Kusto.Language.Syntax.SyntaxCategory.Other)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.List,"",Kusto.Language.Syntax.SyntaxCategory.List)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SeparatedElement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExpressionList,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExpressionCouple,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RenameList,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CustomNode,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TokenName,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BrackettedName,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BracedName,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.WildcardedName,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NameDeclaration,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NameReference,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ParenthesizedExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PathExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ElementExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SimpleNamedExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CompoundNamedExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FunctionCallExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ToScalarExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ToTableExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BrackettedExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ConditionedExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RangeOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PipeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NamedParameter,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DataScopeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DataTableExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExternalDataExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExternalDataWithClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExternalDataUriList,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.IntLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BooleanLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LongLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RealLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DecimalLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DateTimeLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TimespanLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TypeOfLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.GuidLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.StringLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CompoundStringLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NullLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TokenLiteralExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.StarExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.AtExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.UnaryPlusExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.UnaryMinusExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.AddExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SubtractExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MultiplyExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DivideExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ModuloExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LessThanExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LessThanOrEqualExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.GreaterThanExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.GreaterThanOrEqualExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EqualExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotEqualExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.AndExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.OrExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.InExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.InCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotInExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotInCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BetweenExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotBetweenExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EqualTildeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BangTildeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.HasExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.HasCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotHasExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotHasCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.HasPrefixExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.HasPrefixCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotHasPrefixExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotHasPrefixCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.HasSuffixExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.HasSuffixCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotHasSuffixExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotHasSuffixCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LikeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LikeCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotLikeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotLikeCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ContainsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ContainsCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotContainsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotContainsCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.StartsWithExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.StartsWithCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotStartsWithExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotStartsWithCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EndsWithExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EndsWithCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotEndsWithExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NotEndsWithCsExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MatchesRegexExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SearchExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.JsonObjectExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.JsonPair,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.JsonArrayExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DynamicExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TypedColumnReference,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PackExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NameAndTypeDeclaration,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PrimitiveTypeExpression,"",Kusto.Language.Syntax.SyntaxCategory.None)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SchemaTypeExpression,"",Kusto.Language.Syntax.SyntaxCategory.None)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ToTypeOfClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DataScopeClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.NameEqualsClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DefaultExpressionClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BadQueryOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.AsOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ConsumeOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CountOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CountAsIdentifierClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DistinctOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExecuteAndCacheOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExtendOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FacetOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FacetWithOperatorClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FacetWithExpressionClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FilterOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FindOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FindInClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FindProjectClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ForkOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ForkExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.GetSchemaOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.InvokeOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LookupOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.JoinOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.JoinOnClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.JoinWhereClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MakeSeriesOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MakeSeriesExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MakeSeriesOnClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MakeSeriesInRangeClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MakeSeriesFromToStepClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MakeSeriesByClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvApplyOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvApplyExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvApplyRowLimitClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvApplyContextIdClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvApplySubqueryExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvExpandOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvExpandExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MvExpandRowLimitClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PartitionOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PartitionExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ParseOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.EvaluateOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PrintOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ProjectOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ProjectAwayOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ProjectRenameOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ProjectReorderOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ReduceByOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ReduceByWithClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RenderOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RenderWithClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RenderNameList,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SampleOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SampleDistinctOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SearchOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SerializeOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SummarizeOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SummarizeByClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SortOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.OrderedExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.OrderingClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.OrderingNullsClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TakeOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TopOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TopHittersOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TopHittersByClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TopNestedOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TopNestedClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.TopNestedWithOthersClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.UnionOperator,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.AliasStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.ExpressionStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FunctionDeclaration,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FunctionParameters,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FunctionParameter,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DefaultValueDeclaration,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.FunctionBody,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.LetStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.MaterializeExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PatternStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PatternPathParameter,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PatternDeclaration,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PatternMatch,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.PatternPathValue,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.RestrictStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SetOptionStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.OptionValueClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.QueryParametersStatement,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CommandInputExpression,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CommandWithValueClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CommandWithPropertyListClause,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.BadCommand,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.UnknownCommand,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CustomCommand,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.QueryBlock,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.CommandBlock,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.DirectiveBlock,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1.add(new Kusto.Language.Syntax.SyntaxFacts.SyntaxData(Kusto.Language.Syntax.SyntaxKind.SkippedTokens,"",Kusto.Language.Syntax.SyntaxCategory.Node)),_o1}(new(System.Collections.Generic.List$1(Kusto.Language.Syntax.SyntaxFacts.SyntaxData).ctor)),count,i,d;for(data.Sort$2(function(d1,d2){return System.String.compare(d1.Text,d2.Text)}),count=System.Enum.getValues(Kusto.Language.Syntax.SyntaxKind).length,Kusto.Language.Syntax.SyntaxFacts.kindToDataMap=System.Array.init(count,null,Kusto.Language.Syntax.SyntaxFacts.SyntaxData),Kusto.Language.Syntax.SyntaxFacts.textToKindMap=new(Kusto.Language.Utils.TextKeyedDictionary$1(Kusto.Language.Syntax.SyntaxKind)),i=0;i0){$step=3;continue}$step=5;continue;case 3:return $enumerator.current=datum.Kind,$step=4,!0;case 4:$step=5;continue;case 5:$step=1;continue;case 6:default:return!1}}catch($async_e1){$async_e=System.Exception.create($async_e1);throw $async_e;}}));return $enumerator}))},CanBeIdentifier:function(kind){return Kusto.Language.Syntax.SyntaxFacts.kindToDataMap[System.Array.index(kind,Kusto.Language.Syntax.SyntaxFacts.kindToDataMap)].CanBeIdentifier}}}});Bridge.define("Kusto.Language.Syntax.SyntaxFacts.SyntaxData",{$kind:"nested class",props:{Kind:0,Text:null,Category:0,OperatorKind:0,CanBeIdentifier:!1,IsType:!1},ctors:{ctor:function(kind,text,category,opKind,canBeIdentifier,isType){category===void 0&&(category=1);opKind===void 0&&(opKind=0);canBeIdentifier===void 0&&(canBeIdentifier=!1);isType===void 0&&(isType=!1);this.$initialize();this.Kind=kind;this.Text=text;this.Category=category;this.OperatorKind=opKind;this.CanBeIdentifier=canBeIdentifier;this.IsType=isType}}});Bridge.define("Kusto.Language.Syntax.SyntaxKind",{$kind:"enum",statics:{fields:{None:0,AccessKeyword:1,AccountsKeyword:2,AccumulateKeyword:3,AddKeyword:4,AdminKeyword:5,AdminsKeyword:6,AliasKeyword:7,AllKeyword:8,AlterKeyword:9,AlterMergeKeyword:10,AndKeyword:11,AppendKeyword:12,AsKeyword:13,AscKeyword:14,AsyncKeyword:15,AttachKeyword:16,BagExpansionKeyword:17,BasicAuthKeyword:18,BetweenKeyword:19,BinKeyword:20,BinLegacyKeyword:21,ByKeyword:22,CacheKeyword:23,CachingKeyword:24,CachingPolicyKeyword:25,CalloutKeyword:26,CancelKeyword:27,CapacityKeyword:28,CharactersKeyword:29,ClusterKeyword:30,ColumnKeyword:31,ColumnsKeyword:32,ColumnDocStringsKeyword:33,CommandsKeyword:34,CommandsAndQueriesKeyword:35,CommPoolsKeyword:36,CompletedKeyword:37,CompressedKeyword:38,ConsumeKeyword:39,ContainsKeyword:40,ContainsCsKeyword:41,Contains_CsKeyword:42,ContinuousExport:43,ContinuousExports:44,CountKeyword:45,CrashKeyword:46,CreateKeyword:47,CreateOrAlterKeyword:48,CreatedOnKeyword:49,CreateMergeKeyword:50,CrossDbKeyword:51,CrossClusterKeyword:52,CslKeyword:53,CslSchemaKeyword:54,CsvKeyword:55,DataKeyword:56,DatabaseKeyword:57,DatabaseCreatorsKeyword:58,DatabasesKeyword:59,DataScopeKeyword:60,DataTableKeyword:61,DeclareKeyword:62,DecryptionCertificateThumbPrintKeyword:63,DefaultKeyword:64,DefineKeyword:65,DeleteKeyword:66,DescKeyword:67,DetachKeyword:68,DetailsKeyword:69,DiagnosticsKeyword:70,DisableKeyword:71,DistinctKeyword:72,DocStringKeyword:73,DropKeyword:74,DropPretendKeyword:75,DupNextFailedIngestKeyword:76,DupNextIngestKeyword:77,EarliestKeyword:78,EchoKeyword:79,EffectiveKeyword:80,EnableKeyword:81,EncodingKeyword:82,EncodingPolicyKeyword:83,EndsWithKeyword:84,EndsWithCsKeyword:85,EntityKeyword:86,EphemeralKeyword:87,EvaluateKeyword:88,ExceptKeyword:89,ExecuteKeyword:90,ExecuteAndCacheKeyword:91,ExpandOutputKeyword:92,ExportKeyword:93,ExtendKeyword:94,ExtentKeyword:95,ExtentContainersKeyword:96,ExtentsKeyword:97,ExtentsMergeKeyword:98,ExternalKeyword:99,ExternalDataKeyword:100,FabricKeyword:101,FabricCacheKeyword:102,FabricClocksKeyword:103,FabricLocksKeyword:104,FacetKeyword:105,FailuresKeyword:106,FilterKeyword:107,FindKeyword:108,FirstKeyword:109,FlagsKeyword:110,FolderKeyword:111,ForceKeyword:112,ForkKeyword:113,FreshnessKeyword:114,FromKeyword:115,FunctionKeyword:116,FunctionsKeyword:117,GetSchemaKeyword:118,GroupsKeyword:119,HardDeleteKeyword:120,HasKeyword:121,HasAnyKeyword:122,HasCsKeyword:123,HashKeyword:124,HasPrefixKeyword:125,HasPrefixCsKeyword:126,HasSuffixKeyword:127,HasSuffixCsKeyword:128,HintDotConcurrencyKeyword:129,HintDotDistributionKeyword:130,HintDotMaterializedKeyword:131,HintDotNumPartitions:132,HintDotShuffleKeyKeyword:133,HintDotSpreadKeyword:134,HintDotRemoteKeyword:135,HintDotStrategyKeyword:136,HintDotProgressiveTopKeyword:137,HotCacheKeyword:138,HotKeyword:139,HotDataKeyword:140,HotIndexKeyword:141,HoursKeyword:142,IdKeyword:143,IfLaterThanKeyword:144,IfExistsKeyword:145,IfNotExistsKeyword:146,InKeyword:147,InCsKeyword:148,IngestKeyword:149,IngestionKeyword:150,IngestionsKeyword:151,IngestionTimeKeyword:152,IngestorsKeyword:153,InlineKeyword:154,IsFuzzyKeyword:155,_IsFuzzyKeyword:156,IntoKeyword:157,InvokeKeyword:158,JoinKeyword:159,JournalKeyword:160,JsonKeyword:161,KeysKeyword:162,KindKeyword:163,LastKeyword:164,LatestKeyword:165,LetKeyword:166,LikeKeyword:167,LikeCsKeyword:168,LimitKeyword:169,LoadKeyword:170,LocalKeyword:171,LookupKeyword:172,MakeSeriesKeyword:173,MappingKeyword:174,MappingsKeyword:175,MatchesRegexKeyword:176,MaterializeKeyword:177,MdmKeyword:178,MemoryKeyword:179,MergeKeyword:180,MetadataKeyword:181,MissingKeyword:182,MonitoringKeyword:183,MoveKeyword:184,MvApplyKeyword:185,MvDashApplyKeyword:186,MvDashExpandKeyword:187,MvExpandKeyword:188,NanKeyword:189,NoneKeyword:190,NotBetweenKeyword:191,NotContainsKeyword:192,NotContainsCsKeyword:193,NotBangContainsKeyword:194,NotBangContainsCsKeyword:195,NotEndsWithKeyword:196,NotEndsWithCsKeyword:197,NotHasKeyword:198,NotHasCsKeyword:199,NotHasPrefixKeyword:200,NotHasPrefixCsKeyword:201,NotHasSuffixKeyword:202,NotHasSuffixCsKeyword:203,NotInKeyword:204,NotInCsKeyword:205,NotLikeKeyword:206,NotLikeCsKeyword:207,NotStartsWithKeyword:208,NotStartsWithCsKeyword:209,NullKeyword:210,NullsKeyword:211,OfKeyword:212,OnKeyword:213,OlderKeyword:214,OperationsKeyword:215,OrKeyword:216,OrderKeyword:217,OthersKeyword:218,PackKeyword:219,PackedColumnKeyword:220,ParseKeyword:221,PartitionKeyword:222,PasswordKeyword:223,PatternKeyword:224,PersistKeyword:225,PluginKeyword:226,PluginsKeyword:227,PoliciesKeyword:228,PolicyKeyword:229,PretendKeyword:230,PrettyNameKeyword:231,PrincipalKeyword:232,PrincipalsKeyword:233,PrintKeyword:234,ProjectKeyword:235,ProjectAwayKeyword:236,_ProjectAwayKeyword:237,ProjectRenameKeyword:238,ProjectReorderKeyword:239,ProjectSmartKeyword:240,PurgeKeyword:241,PurgeCleanupKeyword:242,QueriesKeyword:243,QueryKeyword:244,QueryParametersKeyword:245,QueryExecutionKeyword:246,QueryPlanKeyword:247,QueryThrottlingKeyword:248,QuickKeyword:249,RangeKeyword:250,ReadOnlyKeyword:251,ReadWriteKeyword:252,RebalanceKeyword:253,RebalancePretendKeyword:254,RebuildKeyword:255,RecycleKeyword:256,ReduceKeyword:257,RegexKeyword:258,RelaxedKeyword:259,RenameKeyword:260,RenderKeyword:261,ReplaceKeyword:262,ResetKeyword:263,RestrictKeyword:264,RetentionKeyword:265,RolesKeyword:266,RowOrderKeyword:267,RowOrderPolicyKeyword:268,RowStoreKeyword:269,RowStorePolicyKeyword:270,RowStoresKeyword:271,RunKeyword:272,RunningKeyword:273,SampleKeyword:274,SampleDistinctKeyword:275,SandboxKeyword:276,SandboxesKeyword:277,SaveKeyword:278,SchemaKeyword:279,ScriptKeyword:280,SealKeyword:281,SearchKeyword:282,SerializeKeyword:283,SetKeyword:284,SetOrAppendKeyword:285,SetOrReplaceKeyword:286,ShardingKeyword:287,ShowKeyword:288,SimpleKeyword:289,SoftDeleteKeyword:290,SortKeyword:291,SourceColumnIndexKeyword:292,SqlKeyword:293,StartsWithKeyword:294,StartsWithCsKeyword:295,StateKeyword:296,StepKeyword:297,StreamKeyword:298,SummarizeKeyword:299,StorageKeyword:300,TableKeyword:301,TablePurgeKeyword:302,TablesKeyword:303,TagsKeyword:304,TakeKeyword:305,TempStorageKeyword:306,ThresholdKeyword:307,ThrowKeyword:308,TimeoutKeyword:309,TitleKeyword:310,ToKeyword:311,TopKeyword:312,TopHittersKeyword:313,TopNestedKeyword:314,ToScalarKeyword:315,ToTableKeyword:316,TraceKeyword:317,TraceResultsKeyword:318,TsvKeyword:319,TypeKeyword:320,TypeOfKeyword:321,UndoKeyword:322,UnionKeyword:323,UpdateKeyword:324,UserKeyword:325,UsersKeyword:326,UuidKeyword:327,VerboseKeyword:328,VersionKeyword:329,ViewKeyword:330,ViewersKeyword:331,VolatileKeyword:332,WarmKeyword:333,WarmingKeyword:334,WhatIfKeyword:335,WhereKeyword:336,WithKeyword:337,WriteAheadLogKeyword:338,BoolKeyword:339,BooleanKeyword:340,Int8Keyword:341,CharKeyword:342,UInt8Keyword:343,ByteKeyword:344,Int16Keyword:345,UInt16Keyword:346,IntKeyword:347,Int32Keyword:348,UIntKeyword:349,UInt32Keyword:350,LongKeyword:351,Int64Keyword:352,ULongKeyword:353,UInt64Keyword:354,SingleKeyword:355,FloatKeyword:356,RealKeyword:357,DecimalKeyword:358,DoubleKeyword:359,StringKeyword:360,TimeKeyword:361,TimespanKeyword:362,DateKeyword:363,DateTimeKeyword:364,GuidKeyword:365,UniqueIdKeyword:366,DynamicKeyword:367,OpenParenToken:368,CloseParenToken:369,OpenBracketToken:370,CloseBracketToken:371,OpenBraceToken:372,CloseBraceToken:373,BarToken:374,LessThanBarToken:375,PlusToken:376,MinusToken:377,AsteriskToken:378,SlashToken:379,PercentToken:380,DotToken:381,DotDotToken:382,BangToken:383,LessThanToken:384,LessThanOrEqualToken:385,GreaterThanToken:386,GreaterThanOrEqualToken:387,EqualToken:388,EqualEqualToken:389,BangEqualToken:390,LessThanGreaterThanToken:391,ColonToken:392,SemicolonToken:393,CommaToken:394,EqualTildeToken:395,BangTildeToken:396,AtToken:397,QuestionToken:398,BooleanLiteralToken:399,IntLiteralToken:400,LongLiteralToken:401,RealLiteralToken:402,DecimalLiteralToken:403,DateTimeLiteralToken:404,TimespanLiteralToken:405,GuidLiteralToken:406,StringLiteralToken:407,IdentifierToken:408,DirectiveToken:409,EndOfTextToken:410,BadToken:411,List:412,SeparatedElement:413,ExpressionList:414,ExpressionCouple:415,RenameList:416,CustomNode:417,BooleanLiteralExpression:418,IntLiteralExpression:419,LongLiteralExpression:420,RealLiteralExpression:421,DecimalLiteralExpression:422,DateTimeLiteralExpression:423,TimespanLiteralExpression:424,GuidLiteralExpression:425,StringLiteralExpression:426,NullLiteralExpression:427,TokenLiteralExpression:428,CompoundStringLiteralExpression:429,TypeOfLiteralExpression:430,DynamicExpression:431,JsonObjectExpression:432,JsonPair:433,JsonArrayExpression:434,TokenName:435,BrackettedName:436,BracedName:437,WildcardedName:438,NameDeclaration:439,NameReference:440,ParenthesizedExpression:441,PathExpression:442,ElementExpression:443,SimpleNamedExpression:444,CompoundNamedExpression:445,FunctionCallExpression:446,ToScalarExpression:447,ToTableExpression:448,BrackettedExpression:449,ConditionedExpression:450,PipeExpression:451,NamedParameter:452,DataScopeExpression:453,DataTableExpression:454,ExternalDataExpression:455,ExternalDataWithClause:456,ExternalDataUriList:457,StarExpression:458,AtExpression:459,UnaryPlusExpression:460,UnaryMinusExpression:461,AddExpression:462,SubtractExpression:463,MultiplyExpression:464,DivideExpression:465,ModuloExpression:466,LessThanExpression:467,LessThanOrEqualExpression:468,GreaterThanExpression:469,GreaterThanOrEqualExpression:470,EqualExpression:471,NotEqualExpression:472,AndExpression:473,OrExpression:474,InExpression:475,InCsExpression:476,NotInExpression:477,NotInCsExpression:478,BetweenExpression:479,NotBetweenExpression:480,EqualTildeExpression:481,BangTildeExpression:482,HasExpression:483,HasCsExpression:484,NotHasExpression:485,NotHasCsExpression:486,HasPrefixExpression:487,HasPrefixCsExpression:488,NotHasPrefixExpression:489,NotHasPrefixCsExpression:490,HasSuffixExpression:491,HasSuffixCsExpression:492,NotHasSuffixExpression:493,NotHasSuffixCsExpression:494,LikeExpression:495,LikeCsExpression:496,NotLikeExpression:497,NotLikeCsExpression:498,ContainsExpression:499,ContainsCsExpression:500,NotContainsExpression:501,NotContainsCsExpression:502,StartsWithExpression:503,StartsWithCsExpression:504,NotStartsWithExpression:505,NotStartsWithCsExpression:506,EndsWithExpression:507,EndsWithCsExpression:508,NotEndsWithExpression:509,NotEndsWithCsExpression:510,MatchesRegexExpression:511,SearchExpression:512,TypedColumnReference:513,PackExpression:514,NameAndTypeDeclaration:515,PrimitiveTypeExpression:516,SchemaTypeExpression:517,NameEqualsClause:518,DefaultExpressionClause:519,ToTypeOfClause:520,BadQueryOperator:521,AsOperator:522,ConsumeOperator:523,CountOperator:524,CountAsIdentifierClause:525,DistinctOperator:526,ExecuteAndCacheOperator:527,ExtendOperator:528,FacetOperator:529,FacetWithOperatorClause:530,FacetWithExpressionClause:531,FilterOperator:532,FindOperator:533,DataScopeClause:534,FindInClause:535,FindProjectClause:536,GetSchemaOperator:537,InvokeOperator:538,LookupOperator:539,JoinOperator:540,JoinOnClause:541,JoinWhereClause:542,SearchOperator:543,ForkOperator:544,ForkExpression:545,MakeSeriesOperator:546,MakeSeriesExpression:547,MakeSeriesOnClause:548,MakeSeriesInRangeClause:549,MakeSeriesFromToStepClause:550,MakeSeriesByClause:551,MvApplyOperator:552,MvApplyExpression:553,MvApplyRowLimitClause:554,MvApplyContextIdClause:555,MvApplySubqueryExpression:556,MvExpandOperator:557,MvExpandExpression:558,MvExpandRowLimitClause:559,PartitionExpression:560,PartitionOperator:561,ParseOperator:562,EvaluateOperator:563,ProjectOperator:564,ProjectAwayOperator:565,ProjectRenameOperator:566,ProjectReorderOperator:567,RangeOperator:568,ReduceByOperator:569,ReduceByWithClause:570,RenderOperator:571,RenderWithClause:572,RenderNameList:573,SampleOperator:574,SampleDistinctOperator:575,SerializeOperator:576,SortOperator:577,OrderedExpression:578,OrderingClause:579,OrderingNullsClause:580,SummarizeOperator:581,SummarizeByClause:582,TakeOperator:583,TopHittersOperator:584,TopHittersByClause:585,TopOperator:586,TopNestedOperator:587,TopNestedClause:588,TopNestedWithOthersClause:589,UnionOperator:590,PrintOperator:591,AliasStatement:592,ExpressionStatement:593,FunctionDeclaration:594,FunctionParameters:595,FunctionParameter:596,DefaultValueDeclaration:597,FunctionBody:598,LetStatement:599,MaterializeExpression:600,RestrictStatement:601,SetOptionStatement:602,OptionValueClause:603,PatternStatement:604,PatternDeclaration:605,PatternPathParameter:606,PatternMatch:607,PatternPathValue:608,QueryParametersStatement:609,CommandInputExpression:610,CommandWithValueClause:611,CommandWithPropertyListClause:612,BadCommand:613,UnknownCommand:614,CustomCommand:615,QueryBlock:616,CommandBlock:617,DirectiveBlock:618,SkippedTokens:619}}});Bridge.define("Kusto.Language.Utils.CancellationToken",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new Kusto.Language.Utils.CancellationToken}}},ctors:{ctor:function(){this.$initialize()}},methods:{ThrowIfCancellationRequested:function(){},$clone:function(){return this}}});Bridge.define("Kusto.Language.Utils.ConvertHelper",{statics:{methods:{ChangeType:function(value,sample){if(Bridge.is(sample,System.String))return System.Convert.toString(value);if(Bridge.is(sample,System.Int32))return Bridge.box(System.Convert.toInt32(value),System.Int32);if(Bridge.is(sample,System.Int64))return System.Convert.toInt64(value);if(Bridge.is(sample,System.Single))return Bridge.box(System.Convert.toSingle(value),System.Single,System.Single.format,System.Single.getHashCode);if(Bridge.is(sample,System.Double))return Bridge.box(System.Convert.toDouble(value),System.Double,System.Double.format,System.Double.getHashCode);if(Bridge.is(sample,System.DateTime))return Bridge.box(System.Convert.toDateTime(value),System.DateTime,System.DateTime.format);if(Bridge.is(sample,System.Decimal))return System.Convert.toDecimal(value);if(Bridge.is(sample,System.Boolean))return Bridge.box(System.Convert.toBoolean(value),System.Boolean,System.Boolean.toString);if(Bridge.is(sample,System.Int16))return Bridge.box(System.Convert.toInt16(value),System.Int16);if(Bridge.is(sample,System.Byte))return Bridge.box(System.Convert.toByte(value),System.Byte);if(Bridge.is(sample,System.SByte))return Bridge.box(System.Convert.toSByte(value),System.SByte);throw new System.InvalidOperationException.$ctor1("Undefined type conversion.");}}}});Bridge.define("Kusto.Language.Utils.EmptyReadOnlyList$1",function(T){return{statics:{fields:{Instance:null},ctors:{init:function(){this.Instance=(new(System.Collections.Generic.List$1(T).ctor)).AsReadOnly()}}}}});Bridge.define("Kusto.Language.Utils.Ensure",{statics:{methods:{IsTrue:function(value,message){var $t;if(message===void 0&&(message=null),!value)throw new System.InvalidOperationException.$ctor1(($t=message,$t!=null?$t:"Expected true"));},AreEqual:function(T,expected,actual,message){var $t;if(message===void 0&&(message=null),!Bridge.equals(expected,actual))throw new System.InvalidOperationException.$ctor1(($t=message,$t!=null?$t:System.String.format("Expected: {0} actual: {1}",expected,actual)));},NotNull:function(value,message){var $t;if(message===void 0&&(message=null),value==null)throw new System.InvalidOperationException.$ctor1(($t=message,$t!=null?$t:"Expected not null"));},IsNull:function(value,message){var $t;if(message===void 0&&(message=null),value!=null)throw new System.InvalidOperationException.$ctor1(($t=message,$t!=null?$t:"Expected null"));},ArgumentNotNull:function(value,paramName){if(value==null)throw new System.ArgumentNullException.$ctor1(paramName);},ElementsNotNull:function(T,list,listName){for(var i=0;i0?right=mid-1|0:left=mid+1|0}return-1},Contains:function(T,list,item){for(var c,i=0,n=System.Array.getCount(list,T);i=0;i=i-1|0)selector(list.getItem(i))&&list.removeAt(i)},SetCount:function(T,list,count){list.Count>count&&list.RemoveRange(count,list.Count-count|0)},Join:function(items,separator,finalSeparator){var builder,i,n;for(finalSeparator===void 0&&(finalSeparator=null),builder=new System.Text.StringBuilder,i=0,n=System.Array.getCount(items,System.String);i0&&builder.append(i<(n-1|0)?separator:finalSeparator),builder.append(System.Array.getItem(items,i,System.String));return builder.toString()},IsEquivalentTo:function(K,V,a,b){var $t,kvp,bValue;if(Bridge.referenceEquals(a,b))return!0;if(a==null||b==null||System.Array.getCount(a,System.Collections.Generic.KeyValuePair$2(K,V))!==System.Array.getCount(b,System.Collections.Generic.KeyValuePair$2(K,V)))return!1;$t=Bridge.getEnumerator(a,System.Collections.Generic.KeyValuePair$2(K,V));try{while($t.moveNext())if((kvp=$t.Current,bValue={},!b["System$Collections$Generic$IReadOnlyDictionary$2$"+Bridge.getTypeAlias(K)+"$"+Bridge.getTypeAlias(V)+"$tryGetValue"](kvp.key,bValue))||kvp.value!=null&&bValue.v!=null&&!Bridge.equalsT(kvp.value,bValue.v,V))return!1}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return!0}}}});Bridge.define("Kusto.Language.Utils.ObjectPool$1",function(T){return{fields:{creator:null,resetter:null,items:null},ctors:{ctor:function(creator,resetter,size){size===void 0&&(size=10);this.$initialize();this.creator=creator;this.resetter=resetter;this.items=System.Array.init(size,function(){return Bridge.getDefaultValue(T)},T)}},methods:{AllocateFromPool:function(){for(var item,i=0;itext.length?!1:this.map.containsKey(new(Kusto.Language.Utils.TextKeyedDictionary$1.Key(TValue).$ctor2)(text,start,length))},GetEnumerator:function(){return Bridge.getEnumerator(this.map.getValues(),TValue)},System$Collections$IEnumerable$GetEnumerator:function(){return this.GetEnumerator()}}}});Bridge.define("Kusto.Language.Utils.TextKeyedDictionary$1.Key",function(TValue){return{inherits:function(){return[System.IEquatable$1(Kusto.Language.Utils.TextKeyedDictionary$1.Key(TValue))]},$kind:"nested struct",statics:{fields:{FnvOffsetBias:0,FnvPrime:0},ctors:{init:function(){this.FnvOffsetBias=-2128831035;this.FnvPrime=16777619}},methods:{GetFNVHashCode:function(text,start,length){for(var hashCode=Kusto.Language.Utils.TextKeyedDictionary$1.Key(TValue).FnvOffsetBias,end=start+length|0,i=start;i=0?list.setItem(index,factory):list.add(factory),new Kusto.Language.Editor.CodeServiceFactory.AggregateCodeServiceFactory(Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.CodeServiceFactory,list))}}});Bridge.define("Kusto.Language.Editor.CommonCodeService",{inherits:[Kusto.Language.Editor.CodeService],statics:{methods:{Add:function(classifications1,classifications2){var len,len1,len2;if(System.Array.getCount(classifications2,Kusto.Language.Editor.ClassifiedRange)===0)return classifications1;if(System.Array.getCount(classifications1,Kusto.Language.Editor.ClassifiedRange)===0)return classifications2;for(var list=new(System.Collections.Generic.List$1(Kusto.Language.Editor.ClassifiedRange).$ctor2)(System.Array.getCount(classifications1,Kusto.Language.Editor.ClassifiedRange)+System.Array.getCount(classifications2,Kusto.Language.Editor.ClassifiedRange)|0),index1=0,index2=0,class1=null,class2=null;;)if(class1==null&&index1=class2.Start&&class1.End<=class2.End?(class1=null,index1=index1+1|0):class1.Startlen?class1=new Kusto.Language.Editor.ClassifiedRange(class1.Kind,class1.Start+len|0,class1.Length-len|0):(class1=null,index1=index1+1|0)):class2.Startlen1?class2=new Kusto.Language.Editor.ClassifiedRange(class2.Kind,class2.Start+len1|0,class2.Length-len1|0):(class2=null,index2=index2+1|0)):class1.End<=class2.End?(class1=null,index1=index1+1|0):(len2=class2.Length,list.add(class2),class2=null,index2=index2+1|0,class1=new Kusto.Language.Editor.ClassifiedRange(class1.Kind,class1.Start+len2|0,class1.Length-len2|0));return list}}},fields:{_text:null,_clientParameters:null},props:{Text:{get:function(){return this._text}}},ctors:{ctor:function(text){if(this.$initialize(),Kusto.Language.Editor.CodeService.ctor.call(this),text==null)throw new System.ArgumentNullException.$ctor1("text");this._text=text}},methods:{IsFeatureSupported:function(feature,position){return position===void 0&&(position=-1),!0},GetDiagnostics:function(cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Diagnostic).Instance},GetClassifications:function(start,length,cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var classifications=System.Array.init([new Kusto.Language.Editor.ClassifiedRange(Kusto.Language.Editor.ClassificationKind.PlainText,start,length)],Kusto.Language.Editor.ClassifiedRange),clientParameterClassifications=this.GetClientParametersClassifications(),merged=Kusto.Language.Editor.CommonCodeService.Add(classifications,clientParameterClassifications);return new Kusto.Language.Editor.ClassificationInfo(merged)},GetClientParametersClassifications:function(){var $t,cps=this.GetClientParameters(),list,cp;if(System.Array.getCount(cps,Kusto.Language.Editor.ClientParameter)===0)return Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.ClassifiedRange).Instance;list=new(System.Collections.Generic.List$1(Kusto.Language.Editor.ClassifiedRange).ctor);$t=Bridge.getEnumerator(cps,Kusto.Language.Editor.ClientParameter);try{while($t.moveNext())cp=$t.Current,list.add(new Kusto.Language.Editor.ClassifiedRange(Kusto.Language.Editor.ClassificationKind.ClientParameter,cp.Start,cp.Length))}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return list},GetOutlines:function(cancellationToken){var firstToken;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),firstToken=Kusto.Language.Parsing.LexicalGrammar.GetFirstToken(this.Text),firstToken!=null&&firstToken.Text.length>0){var start=0,end=start+Kusto.Language.Parsing.TextFacts.TrimEnd(this.Text)|0,nextLineBreakStart=Kusto.Language.Parsing.TextFacts.GetNextLineBreakStart(this.Text,firstToken.TextStart),collapsedTextEnd=nextLineBreakStart>=0?nextLineBreakStart:this.Text.length,collapsedTextLength=Kusto.Language.Parsing.TextFacts.TrimEnd$1(this.Text,firstToken.TextStart,collapsedTextEnd-firstToken.TextStart|0),collapsedText=this.Text.substr(firstToken.TextStart,collapsedTextLength);return new Kusto.Language.Editor.OutlineInfo(System.Array.init([new Kusto.Language.Editor.OutlineRange(start,end-start|0,collapsedText)],Kusto.Language.Editor.OutlineRange))}return Kusto.Language.Editor.OutlineInfo.Empty},ShouldAutoComplete:function(position,key,cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),!1},GetCompletionItems:function(position,options,cancellationToken){return options===void 0&&(options=null),cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),Kusto.Language.Editor.CompletionInfo.Empty},GetQuickInfo:function(position,cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),Kusto.Language.Editor.QuickInfo.Empty},GetElement:function(position,cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),new Kusto.Language.Editor.TextRange(0,0)},GetRelatedElements:function(position,options,cancellationToken){return options===void 0&&(options=0),cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),Kusto.Language.Editor.RelatedInfo.Empty},GetClusterReferences:function(cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.ClusterReference).Instance},GetDatabaseReferences:function(cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.DatabaseReference).Instance},GetMinimalText:function(cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var list=new(Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken).ctor)(System.Linq.Enumerable.from(Kusto.Language.Parsing.LexicalGrammar.GetTokens(this.Text)).select(function(t){return Kusto.Language.Syntax.SyntaxToken.From(t)}).ToArray(Kusto.Language.Syntax.SyntaxToken));return list.ToString(Kusto.Language.Syntax.IncludeTrivia.Minimal)},GetFormattedText:function(options,cursorPosition,cancellationToken){return options===void 0&&(options=null),cursorPosition===void 0&&(cursorPosition=0),cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),new Kusto.Language.Editor.FormattedText(this.Text,cursorPosition)},GetClientParameters:function(){return this._clientParameters==null&&(this._clientParameters=this.GetClientParameters$1(this.Text,0)),this._clientParameters},GetClientParameters$1:function(blockText,offsetInScript){for(var src=null,list=null,start=0,openBrace,len;start=0)src==null&&(src=new Kusto.Language.Parsing.TextSource.ctor(blockText)),len=Kusto.Language.Parsing.LexicalGrammar.ClientParameter.Scan(src,openBrace),len>0?(list==null&&(list=new(System.Collections.Generic.List$1(Kusto.Language.Editor.ClientParameter).ctor)),list.add(new Kusto.Language.Editor.ClientParameter(blockText.substr(openBrace+1|0,len-2|0),openBrace+offsetInScript|0,len)),start=openBrace+len|0):start=openBrace+1|0;else break;return list!=null?list.AsReadOnly():Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.ClientParameter).Instance}}});Bridge.define("Kusto.Language.Editor.KustoCodeServiceFactory",{inherits:[Kusto.Language.Editor.CodeServiceFactory],statics:{methods:{IsKusto:function(text){return!Kusto.Language.Editor.KustoCodeServiceFactory.IsSql(text)},IsSql:function(text){var firstToken=Kusto.Language.Editor.KustoCodeServiceFactory.GetFirstKustoToken(text);return System.String.compare(firstToken,"select",!0)===0},GetFirstKustoToken:function(text){var $t,firstToken=Kusto.Language.Parsing.LexicalGrammar.GetFirstToken(text);return $t=firstToken!=null?firstToken.Text:null,$t!=null?$t:""}}},props:{Globals:null},ctors:{ctor:function(globals){if(this.$initialize(),Kusto.Language.Editor.CodeServiceFactory.ctor.call(this),globals==null)throw new System.ArgumentNullException.$ctor1("globals");this.Globals=globals}},methods:{WithGlobals:function(globals){return Bridge.referenceEquals(this.Globals,globals)?this:new Kusto.Language.Editor.KustoCodeServiceFactory(globals)},TryGetCodeService:function(text,service){return Kusto.Language.Editor.KustoCodeServiceFactory.IsKusto(text)?(service.v=new Kusto.Language.Editor.KustoCodeService.$ctor1(text,this.Globals),!0):(service.v=null,!1)}}});Bridge.define("Kusto.Language.Editor.OffsetCodeService",{inherits:[Kusto.Language.Editor.CodeService],fields:{_service:null,_offset:0},props:{Kind:{get:function(){return this._service.Kind}},Text:{get:function(){return this._service.Text}}},ctors:{ctor:function(service,offset){this.$initialize();Kusto.Language.Editor.CodeService.ctor.call(this);this._service=service;this._offset=offset}},methods:{WithOffset:function(offset){return new Kusto.Language.Editor.OffsetCodeService(this._service,offset)},GetClassifications:function(start,length,cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetClassifications(start-this._offset|0,length,cancellationToken);return System.Array.getCount(result.Classifications,Kusto.Language.Editor.ClassifiedRange)>0&&this._offset>0?new Kusto.Language.Editor.ClassificationInfo(System.Linq.Enumerable.from(result.Classifications).select(Bridge.fn.bind(this,function(cr){return new Kusto.Language.Editor.ClassifiedRange(cr.Kind,cr.Start+this._offset|0,cr.Length)}))):result},GetClientParameters:function(){var result=this._service.GetClientParameters();return System.Array.getCount(result,Kusto.Language.Editor.ClientParameter)>0&&this._offset>0?Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.ClientParameter,System.Linq.Enumerable.from(result).select(Bridge.fn.bind(this,function(cp){return new Kusto.Language.Editor.ClientParameter(cp.Name,cp.Start+this._offset|0,cp.Length)}))):result},GetClusterReferences:function(cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetClusterReferences(cancellationToken);return System.Array.getCount(result,Kusto.Language.Editor.ClusterReference)>0&&this._offset>0?Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.ClusterReference,System.Linq.Enumerable.from(result).select(Bridge.fn.bind(this,function(cr){return new Kusto.Language.Editor.ClusterReference(cr.Cluster,cr.Start+this._offset|0,cr.Length)}))):result},GetCompletionItems:function(position,options,cancellationToken){options===void 0&&(options=null);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetCompletionItems(position-this._offset|0,options,cancellationToken);return this._offset>0?new Kusto.Language.Editor.CompletionInfo(result.Items,result.EditStart+this._offset|0,result.EditLength):result},GetDatabaseReferences:function(cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetDatabaseReferences(cancellationToken);return System.Array.getCount(result,Kusto.Language.Editor.DatabaseReference)>0&&this._offset>0?Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.DatabaseReference,System.Linq.Enumerable.from(result).select(Bridge.fn.bind(this,function(dr){return new Kusto.Language.Editor.DatabaseReference(dr.Database,dr.Cluster,dr.Start+this._offset|0,dr.Length)}))):result},GetDiagnostics:function(cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetDiagnostics(cancellationToken);return System.Array.getCount(result,Kusto.Language.Diagnostic)>0&&this._offset>0?Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Diagnostic,System.Linq.Enumerable.from(result).select(Bridge.fn.bind(this,function(dx){return dx.WithLocation$1(dx.Start+this._offset|0,dx.Length)}))):result},GetFormattedText:function(options,cursorPosition,cancellationToken){options===void 0&&(options=null);cursorPosition===void 0&&(cursorPosition=0);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetFormattedText(options,cursorPosition-this._offset|0,cancellationToken);return this._offset>0?new Kusto.Language.Editor.FormattedText(result.Text,result.Position+this._offset|0):result},GetMinimalText:function(cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),this._service.GetMinimalText(cancellationToken)},GetOutlines:function(cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetOutlines(cancellationToken);return System.Array.getCount(result.Ranges,Kusto.Language.Editor.OutlineRange)>0&&this._offset>0?new Kusto.Language.Editor.OutlineInfo(Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.OutlineRange,System.Linq.Enumerable.from(result.Ranges).select(Bridge.fn.bind(this,function(o){return new Kusto.Language.Editor.OutlineRange(o.Start+this._offset|0,o.Length,o.CollapsedText)})))):result},GetQuickInfo:function(position,cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),this._service.GetQuickInfo(position-this._offset|0,cancellationToken)},GetElement:function(position,cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),this._service.GetElement(position)},GetRelatedElements:function(position,options,cancellationToken){options===void 0&&(options=0);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var result=this._service.GetRelatedElements(position-this._offset|0,options,cancellationToken);return System.Array.getCount(result.Elements,Kusto.Language.Editor.RelatedElement)>0&&this._offset>0?new Kusto.Language.Editor.RelatedInfo(Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.RelatedElement,System.Linq.Enumerable.from(result.Elements).select(Bridge.fn.bind(this,function(e){return new Kusto.Language.Editor.RelatedElement.$ctor1(e.Start+this._offset|0,e.Length,e.Kind,e.CursorLeft+this._offset|0,e.CursorRight+this._offset|0)}))),result.CurrentIndex):result},IsFeatureSupported:function(feature,position){return position===void 0&&(position=-1),this._service.IsFeatureSupported(feature,position!==-1?position-this._offset|0:position)},ShouldAutoComplete:function(position,key,cancellationToken){return cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),this._service.ShouldAutoComplete(position-this._offset|0,key,cancellationToken)}}});Bridge.define("Kusto.Language.Editor.RelatedElement",{inherits:[Kusto.Language.Editor.TextRange],props:{Kind:0,CursorLeft:0,CursorRight:0},ctors:{$ctor1:function(start,length,kind,cursorLeft,cursorRight){this.$initialize();Kusto.Language.Editor.TextRange.ctor.call(this,start,length);this.Kind=kind;this.CursorLeft=cursorLeft;this.CursorRight=cursorRight},ctor:function(start,length,kind){Kusto.Language.Editor.RelatedElement.$ctor1.call(this,start,length,kind,start,start+length|0)}}});Bridge.define("Kusto.Language.Parsing.Parser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],methods:{WithTag$1:function(tag){return Bridge.cast(this.WithTag(tag),Kusto.Language.Parsing.Parser$2(TInput,TOutput))},WithAnnotations$1:function(annotations){return Bridge.cast(this.WithAnnotations(annotations),Kusto.Language.Parsing.Parser$2(TInput,TOutput))},WithIsHidden$1:function(isHidden){return Bridge.cast(this.WithIsHidden(isHidden),Kusto.Language.Parsing.Parser$2(TInput,TOutput))},Hide$1:function(){return this.WithIsHidden$1(!0)},Cast:function(TNewOutput){return Kusto.Language.Parsing.Parsers$1(TInput).Rule(TOutput,TNewOutput,this,function(o){return Bridge.cast(Bridge.unbox(o),TNewOutput)}).WithTag$1(this.Tag)}}}});Bridge.define("Kusto.Language.Parsing.ArraySource$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Source$1(TInput)],fields:{input:null,offset:0},ctors:{ctor:function(input){this.$initialize();Kusto.Language.Parsing.Source$1(TInput).ctor.call(this);this.input=input}},methods:{Peek:function(n){return(this.offset+n|0)=System.Array.getCount(this.input,TInput)},Eat:function(n){this.offset=this.offset+n|0}}}});Bridge.define("Kusto.Language.Parsing.BestParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],fields:{_parsers:null},props:{Parsers:{get:function(){return this._parsers}}},ctors:{ctor:function(parsers){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this._parsers=System.Linq.Enumerable.from(parsers).ToArray()}},methods:{Accept$1:function(visitor){visitor.VisitBest(this)},Accept:function(TResult,visitor){return visitor.VisitBest(this)},Clone:function(){return new(Kusto.Language.Parsing.BestParser$1(TInput))(this.Parsers)},Parse:function(source,inputStart,output,outputStart){for(var parser,length,minLength=-1,maxLength=-1,bestParser=-1,i=0;imaxLength?(maxLength=length,bestParser=i):length=0&&this._parsers[System.Array.index(bestParser,this._parsers)].Parse(source,inputStart,output,outputStart),maxLength},Scan:function(source,start){var $t,max=-1,min=-1,parser,n;$t=Bridge.getEnumerator(this._parsers);try{while($t.moveNext())parser=$t.Current,n=parser.Scan(source,start),n>max?max=n:n=0?max:min}}}});Bridge.define("Kusto.Language.Parsing.FailsParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],props:{Pattern:null},ctors:{ctor:function(pattern){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this.Pattern=pattern}},methods:{Clone:function(){return new(Kusto.Language.Parsing.FailsParser$1(TInput))(this.Pattern)},Accept$1:function(visitor){visitor.VisitFails(this)},Accept:function(TResult,visitor){return visitor.VisitFails(this)},Parse:function(source,inputStart){return this.Scan(source,inputStart)},Scan:function(source,start){return source.IsEnd(start)?0:this.Pattern.Scan(source,start)>=0?-1:0}}}});Bridge.define("Kusto.Language.Parsing.FirstParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],fields:{_parsers:null},props:{Parsers:{get:function(){return this._parsers}}},ctors:{ctor:function(parsers){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this._parsers=System.Linq.Enumerable.from(parsers).ToArray()}},methods:{Accept$1:function(visitor){visitor.VisitFirst(this)},Accept:function(TResult,visitor){return visitor.VisitFirst(this)},Clone:function(){return new(Kusto.Language.Parsing.FirstParser$1(TInput))(this.Parsers)},Parse:function(source,inputStart,output,outputCount){for(var parser,length,minLength=-1,i=0;i=0)return length;length=0)return n;n0&&builders.add(nestedBuilder));if(builders.Count>1)for(this.separator=separator,i1=0;i10&&this.builder.append(separator),grammarBuilder=builders.getItem(i1),grammarBuilder.separator==null||Bridge.referenceEquals(grammarBuilder.separator,separator)?this.builder.append(grammarBuilder.builder.toString()):(this.builder.append("("),this.builder.append(grammarBuilder.builder.toString()),this.builder.append(")"));else builders.Count===1&&(this.builder=builders.getItem(0).builder,this.separator=builders.getItem(0).separator)},WriteBracketted:function(startBracket,endBracket,parser,action){var nestedBuilder,text;action===void 0&&(action=null);nestedBuilder=new(Kusto.Language.Parsing.GrammarBuilder.Builder$1(TInput))(this.showRequired);nestedBuilder.Visit(parser);text=nestedBuilder.toString();text.length>0&&(this.builder.append(startBracket),this.builder.append(text),this.builder.append(endBracket))},VisitApply:function(TLeft,TOutput,parser){switch(parser.ApplyKind){case Kusto.Language.Parsing.ApplyKind.ZeroOrMore:this.WriteSequence(System.Array.init([parser.LeftParser,Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrMore(parser.RightParser)],Kusto.Language.Parsing.Parser$1(TInput)));break;case Kusto.Language.Parsing.ApplyKind.ZeroOrOne:this.WriteSequence(System.Array.init([parser.LeftParser,Kusto.Language.Parsing.Parsers$1(TInput).ZeroOrOne(parser.RightParser)],Kusto.Language.Parsing.Parser$1(TInput)));break;default:this.WriteSequence(System.Array.init([parser.LeftParser,parser.RightParser],Kusto.Language.Parsing.Parser$1(TInput)))}},VisitBest$1:function(TOutput,parser){this.WriteAlternation(parser.Parsers)},VisitBest:function(parser){this.WriteAlternation(parser.Parsers)},VisitConvert:function(TOutput,parser){this.Visit(parser.Pattern)},VisitFails:function(parser){this.WriteBracketted("fails(",")",parser.Pattern)},VisitFirst$1:function(TOutput,parser){this.WriteAlternation(parser.Parsers)},VisitFirst:function(parser){this.WriteAlternation(parser.Parsers)},VisitForward:function(){this.WriteTerm("forward()")},VisitIf$1:function(TOutput,parser){this.Visit(parser.Parser)},VisitIf:function(parser){this.Visit(parser.Parser)},VisitMap:function(){this.WriteTerm("map()")},VisitMatch:function(){this.WriteTerm("match()")},VisitMatch$1:function(){this.WriteTerm("match()")},VisitNot:function(parser){this.WriteBracketted("not(",")",parser.Pattern)},VisitOneOrMore:function(parser){this.WriteOneOrMore(parser.Parser)},VisitOptional:function(TOutput,parser){this.WriteOptional(parser.Parser)},VisitProduce:function(TOutput,parser){this.Visit(parser.Parser)},VisitRequired:function(TOutput,parser){this.showRequired?this.WriteRequired(parser.Parser):this.Visit(parser.Parser)},VisitRule:function(TOutput,parser){this.WriteSequence(parser.Parsers)},VisitSequence:function(parser){this.WriteSequence(parser.Parsers)},VisitZeroOrMore:function(parser){parser.ZeroOrOne?this.WriteOptional(parser.Parser):this.WriteZeroOrMore(parser.Parser)}}}});Bridge.define("Kusto.Language.Parsing.IfParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],props:{Test:null,Parser:null},ctors:{ctor:function(test,parser){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this.Test=test;this.Parser=parser}},methods:{Accept$1:function(visitor){visitor.VisitIf(this)},Accept:function(TResult,visitor){return visitor.VisitIf(this)},Clone:function(){return new(Kusto.Language.Parsing.IfParser$1(TInput))(this.Test,this.Parser)},Parse:function(source,inputStart,output,outputStart){var length=this.Test.Scan(source,inputStart);return length<0?length:this.Parser.Parse(source,inputStart,output,outputStart)},Scan:function(source,start){var length=this.Test.Scan(source,start);return length<0?length:this.Parser.Scan(source,start)}}}});Bridge.define("Kusto.Language.Parsing.LexicalToken",{inherits:[Kusto.Language.Parsing.IToken],props:{TriviaStart:0,FullWidth:0,Kind:0,Trivia:null,Text:null,Diagnostics:null,End:{get:function(){return this.TriviaStart+this.FullWidth|0}},TriviaWidth:{get:function(){return this.Trivia.length}},TextStart:{get:function(){return this.TriviaStart+this.Trivia.length|0}},Width:{get:function(){return this.Text.length}},DebugText:{get:function(){return this.Text.length>0?this.Text:Kusto.Language.Syntax.SyntaxFacts.GetText(this.Kind)}}},alias:["TriviaStart","Kusto$Language$Parsing$IToken$TriviaStart","FullWidth","Kusto$Language$Parsing$IToken$FullWidth","Kind","Kusto$Language$Parsing$IToken$Kind","Trivia","Kusto$Language$Parsing$IToken$Trivia","Text","Kusto$Language$Parsing$IToken$Text","TextStart","Kusto$Language$Parsing$IToken$TextStart","Width","Kusto$Language$Parsing$IToken$Width"],ctors:{ctor:function(start,kind,trivia,text,diagnostics){diagnostics===void 0&&(diagnostics=null);var $t,$t1;this.$initialize();this.TriviaStart=start;this.Kind=kind;this.Trivia=($t=trivia,$t!=null?$t:"");this.Text=($t1=text,$t1!=null?$t1:"");this.FullWidth=this.Trivia.length+this.Text.length|0;this.Diagnostics=diagnostics||Kusto.Language.Diagnostic.NoDiagnostics}}});Bridge.define("Kusto.Language.Parsing.MatchParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],props:{Consumer:null},ctors:{ctor:function(consumer){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this.Consumer=consumer},$ctor1:function(predicate){Kusto.Language.Parsing.MatchParser$1(TInput).ctor.call(this,function(source,start){return!source.IsEnd(start)&&predicate(source.Peek(start))?1:-1})}},methods:{Clone:function(){return new(Kusto.Language.Parsing.MatchParser$1(TInput).ctor)(this.Consumer)},Accept$1:function(visitor){visitor.VisitMatch(this)},Accept:function(TResult,visitor){return visitor.VisitMatch(this)},Scan:function(source,start){return this.Consumer(source,start)},Parse:function(source,inputStart){return this.Scan(source,inputStart)}}}});Bridge.define("Kusto.Language.Parsing.NotParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],props:{Pattern:null},ctors:{ctor:function(parser){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this.Pattern=parser}},methods:{Clone:function(){return new(Kusto.Language.Parsing.NotParser$1(TInput))(this.Pattern)},Accept$1:function(visitor){visitor.VisitNot(this)},Accept:function(TResult,visitor){return visitor.VisitNot(this)},Parse:function(source,inputStart){return this.Scan(source,inputStart)},Scan:function(source,start){return source.IsEnd(start)?-1:this.Pattern.Scan(source,start)>=0?-1:1}}}});Bridge.define("Kusto.Language.Parsing.OneOrMoreParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],props:{Parser:null},ctors:{ctor:function(parser){this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this.Parser=parser}},methods:{Accept$1:function(visitor){visitor.VisitOneOrMore(this)},Accept:function(TResult,visitor){return visitor.VisitOneOrMore(this)},Clone:function(){return new(Kusto.Language.Parsing.OneOrMoreParser$1(TInput))(this.Parser)},Parse:function(source,inputStart,output){var firstLen=this.Parser.Parse(source,inputStart,output,output.Count),length,len;if(firstLen<0)return firstLen;for(length=firstLen;;){if(len=this.Parser.Parse(source,inputStart+length|0,output,output.Count),len<=0)return length;length=length+len|0}},Scan:function(source,start){var n=this.Parser.Scan(source,start),len;if(n<0)return n;for(len=n;;){if(n=this.Parser.Scan(source,start+len|0),n<=0)break;len=len+n|0}return len}}}});Bridge.define("Kusto.Language.Parsing.SafeParser.StackSafeParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.ParserVisitor$2(TInput,Kusto.Language.Parsing.Parser$1(TInput))],$kind:"nested class",statics:{fields:{pool:null},ctors:{init:function(){this.pool=new(Kusto.Language.Utils.ObjectPool$1(Kusto.Language.Parsing.SafeParser.StackSafeParser$1(TInput)))(function(){return new(Kusto.Language.Parsing.SafeParser.StackSafeParser$1(TInput))},function(p){p.Clear()})}},methods:{Scan:function(parser,source,start){return Kusto.Language.Parsing.SafeScanner.ScanSafe(TInput,parser,source,start)}}},fields:{source:null,output:null,stack:null,stackPosition:0,state:null},ctors:{ctor:function(){this.$initialize();Kusto.Language.Parsing.ParserVisitor$2(TInput,Kusto.Language.Parsing.Parser$1(TInput)).ctor.call(this);this.stack=new(System.Collections.Generic.List$1(Kusto.Language.Parsing.SafeParser.StackSafeParser$1.ParseState(TInput)).ctor);this.stackPosition=-1}},methods:{Initialize:function(source,output){this.source=source;this.output=output},Clear:function(){this.source=null;this.output=null;this.state=null;this.stackPosition=-1},Push:function(parser,inputStart,outputStart){this.stackPosition=this.stackPosition+1|0;this.stackPosition===this.stack.Count&&this.stack.add(new(Kusto.Language.Parsing.SafeParser.StackSafeParser$1.ParseState(TInput)));this.state=this.stack.getItem(this.stackPosition);this.state.Init(parser,inputStart,outputStart,this.output.Count)},Pop:function(){this.stackPosition=this.stackPosition-1|0;this.stackPosition>=0&&(this.state=this.stack.getItem(this.stackPosition))},Parse:function(parser,inputStart,outputStart){var nextParser,result;for(this.Push(parser,inputStart,outputStart);;)if(nextParser=this.state.Parser.Accept(Bridge.global.Kusto.Language.Parsing.Parser$1(TInput),this),nextParser!=null)this.Push(nextParser,this.state.InputStart+this.state.InputLength|0,this.state.NextOutputStart);else{if(result=this.state.InputLength,this.stackPosition===0)return result;this.Pop();this.state.LastResult=result}},VisitApply:function(TLeft,TOutput,parser){return this.state.State===0?(this.state.State=1,this.state.NextOutputStart=this.state.OutputStart,parser.LeftParser):this.state.State===1?this.state.LastResult<0?(this.state.InputLength=parser.ApplyKind===Kusto.Language.Parsing.ApplyKind.One?(-this.state.InputLength|0)+this.state.LastResult|0:this.state.LastResult,null):(this.state.InputLength=this.state.LastResult,this.state.State=2,this.state.NextOutputStart=this.state.OutputStart,parser.RightParser):this.state.LastResult>0&&(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.ApplyKind===Kusto.Language.Parsing.ApplyKind.ZeroOrMore)?parser.RightParser:null},VisitBest:function(parser){var i,p,length;if(this.state.State===0){var minLength=-1,maxLength=-1,bestParser=-1;for(i=0;imaxLength?(maxLength=length,bestParser=i):length=0?(this.state.State=1,this.state.NextOutputStart=this.state.OutputStart,System.Array.getItem(parser.Parsers,bestParser,Kusto.Language.Parsing.Parser$1(TInput))):(this.state.InputLength=-1,null)}return this.state.InputLength=this.state.LastResult,null},VisitBest$1:function(TOutput,parser){var i,p,length;if(this.state.State===0){var minLength=-1,maxLength=-1,bestParser=-1;for(i=0;imaxLength?(maxLength=length,bestParser=i):length=0?(this.state.State=1,this.state.NextOutputStart=this.state.OutputStart,System.Array.getItem(parser.Parsers,bestParser,Kusto.Language.Parsing.Parser$2(TInput,TOutput))):(this.state.InputLength=-1,null)}return this.state.InputLength=this.state.LastResult,null},VisitConvert:function(TOutput,parser){return this.state.InputLength=parser.Parse(this.source,this.state.InputStart,this.output,this.output.Count),null},VisitFails:function(){throw new System.NotImplementedException.ctor;},VisitFirst$1:function(TOutput,parser){if(this.state.State===0)return this.state.State=1,this.state.NextOutputStart=this.state.OutputStart,System.Array.getItem(parser.Parsers,0,Kusto.Language.Parsing.Parser$2(TInput,TOutput));if(this.state.LastResult<0){if(this.state.LastResult0?(this.state.State=this.state.State+1|0,this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.NextOutputStart=this.output.Count,parser.Parser):null},VisitOptional:function(TOutput,parser){return this.state.State===0?(this.state.State=1,this.state.NextOutputStart=this.output.Count,parser.Parser):this.state.LastResult<0?(Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OriginalOutputCount),this.output.add(parser.Producer()),this.state.InputLength=0,null):(this.state.InputLength=this.state.LastResult,null)},VisitProduce:function(TOutput,parser){if(this.state.State===0)return this.state.State=1,this.state.NextOutputStart=this.state.OutputStart,parser.Parser;if(this.state.LastResult>=0){var value=parser.Producer(this.output,this.state.OutputStart);Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OutputStart);this.output.add(value)}else Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OriginalOutputCount);return this.state.InputLength=this.state.LastResult,null},VisitRequired:function(TOutput,parser){return this.state.State===0?(this.state.State=1,this.state.NextOutputStart=this.output.Count,parser.Parser):this.state.LastResult<0?(Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OriginalOutputCount),this.output.add(parser.Producer()),this.state.InputLength=0,null):(this.state.InputLength=this.state.LastResult,null)},VisitRule:function(TOutput,parser){var value,next;return this.state.LastResult<0?(this.state.InputLength=(-this.state.InputLength|0)+this.state.LastResult|0,Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OriginalOutputCount),null):(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.State>=System.Array.getCount(parser.Parsers,Kusto.Language.Parsing.Parser$1(TInput))?(value=parser.ListProducer(this.output,this.state.OutputStart),Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OutputStart),this.output.add(value),null):(next=System.Array.getItem(parser.Parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput)),this.state.State=this.state.State+1|0,this.state.NextOutputStart=this.output.Count,next))},VisitSequence:function(parser){if(this.state.LastResult<0)return this.state.InputLength=(-this.state.InputLength|0)+this.state.LastResult|0,Kusto.Language.Utils.ListExtensions.SetCount(System.Object,this.output,this.state.OriginalOutputCount),null;if(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.State>=System.Array.getCount(parser.Parsers,Kusto.Language.Parsing.Parser$1(TInput)))return null;var next=System.Array.getItem(parser.Parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput));return this.state.State=this.state.State+1|0,this.state.NextOutputStart=this.output.Count,next},VisitZeroOrMore:function(parser){return this.state.State===0||this.state.LastResult>0&&!parser.ZeroOrOne?(this.state.State=this.state.State+1|0,this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.NextOutputStart=this.output.Count,parser.Parser):null}}}});Bridge.define("Kusto.Language.Parsing.SafeParser.StackSafeParser$1.ParseState",function(){return{$kind:"nested class",fields:{InputLength:0,NextOutputStart:0,State:0,LastResult:0,BestFailedResult:0,BestSuccessResult:0},props:{Parser:null,InputStart:0,OutputStart:0,OriginalOutputCount:0},methods:{Init:function(parser,inputStart,outputStart,outputCount){this.Parser=parser;this.InputStart=inputStart;this.OutputStart=outputStart;this.OriginalOutputCount=outputCount;this.InputLength=0;this.State=0;this.LastResult=0;this.NextOutputStart=outputCount;this.BestFailedResult=0;this.BestSuccessResult=0}}}});Bridge.define("Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1",function(TInput){return{inherits:[Kusto.Language.Parsing.ParserVisitor$2(TInput,Kusto.Language.Parsing.Parser$1(TInput))],$kind:"nested class",statics:{fields:{pool:null},ctors:{init:function(){this.pool=new(Kusto.Language.Utils.ObjectPool$1(Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1(TInput)))(function(){return new(Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1(TInput))},function(s){s.Clear()})}}},fields:{source:null,stack:null,stackPosition:0,state:null},ctors:{ctor:function(){this.$initialize();Kusto.Language.Parsing.ParserVisitor$2(TInput,Kusto.Language.Parsing.Parser$1(TInput)).ctor.call(this);this.stack=new(System.Collections.Generic.List$1(Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1.ScanState(TInput)).ctor);this.stackPosition=-1}},methods:{Initialize:function(source){this.source=source},Clear:function(){this.source=null;this.state=null;this.stackPosition=-1},Push:function(parser,inputStart){this.stackPosition=this.stackPosition+1|0;this.stackPosition===this.stack.Count&&this.stack.add(new(Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1.ScanState(TInput)));this.state=this.stack.getItem(this.stackPosition);this.state.Init(parser,inputStart)},Pop:function(){this.stackPosition=this.stackPosition-1|0;this.stackPosition>=0&&(this.state=this.stack.getItem(this.stackPosition))},Scan:function(parser,start){var nextParser,result;for(this.Push(parser,start);;)if(nextParser=this.state.Parser.Accept(Bridge.global.Kusto.Language.Parsing.Parser$1(TInput),this),nextParser!=null)this.Push(nextParser,this.state.InputStart+this.state.InputLength|0);else{if(result=this.state.InputLength,this.stackPosition===0)return result;this.Pop();this.state.LastResult=result}},VisitApply:function(TLeft,TOutput,parser){return this.state.State===0?(this.state.State=1,parser.LeftParser):this.state.State===1?this.state.LastResult<0?(this.state.InputLength=parser.ApplyKind===Kusto.Language.Parsing.ApplyKind.One?(-this.state.InputLength|0)+this.state.LastResult|0:this.state.LastResult,null):(this.state.InputLength=this.state.LastResult,this.state.State=2,parser.RightParser):this.state.LastResult>0&&(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.ApplyKind===Kusto.Language.Parsing.ApplyKind.ZeroOrMore)?parser.RightParser:null},VisitBest:function(parser){if(this.state.State===0)return this.state.BestFailedResult=-1,this.state.BestSuccessResult=-1,this.state.State=1,System.Array.getItem(parser.Parsers,0,Kusto.Language.Parsing.Parser$1(TInput));if(this.state.LastResult>this.state.BestSuccessResult?this.state.BestSuccessResult=this.state.LastResult:this.state.LastResult=System.Array.getCount(parser.Parsers,Kusto.Language.Parsing.Parser$1(TInput)))return this.state.BestSuccessResult>=0?(this.state.InputLength=this.state.BestSuccessResult,null):(this.state.InputLength=this.state.BestFailedResult,null);this.state.InputLength=0;var next=System.Array.getItem(parser.Parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput));return this.state.State=this.state.State+1|0,next},VisitBest$1:function(TOutput,parser){if(this.state.State===0)return this.state.BestFailedResult=-1,this.state.BestSuccessResult=-1,this.state.State=1,System.Array.getItem(parser.Parsers,0,Kusto.Language.Parsing.Parser$2(TInput,TOutput));if(this.state.LastResult>this.state.BestSuccessResult?this.state.BestSuccessResult=this.state.LastResult:this.state.LastResult=System.Array.getCount(parser.Parsers,Kusto.Language.Parsing.Parser$2(TInput,TOutput)))return this.state.BestSuccessResult>=0?(this.state.InputLength=this.state.BestSuccessResult,null):(this.state.InputLength=this.state.BestFailedResult,null);this.state.InputLength=0;var next=System.Array.getItem(parser.Parsers,this.state.State,Kusto.Language.Parsing.Parser$2(TInput,TOutput));return this.state.State=this.state.State+1|0,next},VisitConvert:function(TOutput,parser){return this.state.InputLength=parser.Scan(this.source,this.state.InputStart),null},VisitFails:function(parser){return this.state.State===0?this.source.IsEnd(this.state.InputStart)?(this.state.InputLength=0,null):(this.state.State=this.state.State+1|0,parser.Pattern):(this.state.InputLength=this.state.LastResult>=0?-1:0,null)},VisitFirst$1:function(TOutput,parser){if(this.state.State===0)return this.state.State=1,System.Array.getItem(parser.Parsers,0,Kusto.Language.Parsing.Parser$2(TInput,TOutput));if(this.state.LastResult<0){if(this.state.LastResult=0?(this.state.InputLength=-1,null):(this.state.InputLength=1,null)},VisitOneOrMore:function(parser){return this.state.State===0?(this.state.State=1,parser.Parser):this.state.State===1&&this.state.LastResult<0?(this.state.InputLength=this.state.LastResult,null):this.state.LastResult>0?(this.state.State=this.state.State+1|0,this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.Parser):null},VisitOptional:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.Parser):this.state.LastResult<0?(this.state.InputLength=0,null):(this.state.InputLength=this.state.LastResult,null)},VisitProduce:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.Parser):(this.state.InputLength=this.state.LastResult,null)},VisitRequired:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.Parser):this.state.LastResult<0?(this.state.InputLength=0,null):(this.state.InputLength=this.state.LastResult,null)},VisitRule:function(TOutput,parser){if(this.state.LastResult<0)return this.state.InputLength=(-this.state.InputLength|0)+this.state.LastResult|0,null;if(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.State>=System.Array.getCount(parser.Parsers,Kusto.Language.Parsing.Parser$1(TInput)))return null;var next=System.Array.getItem(parser.Parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput));return this.state.State=this.state.State+1|0,next},VisitSequence:function(parser){if(this.state.LastResult<0)return this.state.InputLength=(-this.state.InputLength|0)+this.state.LastResult|0,null;if(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.State>=System.Array.getCount(parser.Parsers,Kusto.Language.Parsing.Parser$1(TInput)))return null;var next=System.Array.getItem(parser.Parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput));return this.state.State=this.state.State+1|0,next},VisitZeroOrMore:function(parser){return this.state.State===0||this.state.LastResult>0&&!parser.ZeroOrOne?(this.state.State=this.state.State+1|0,this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.Parser):null}}}});Bridge.define("Kusto.Language.Parsing.SafeScanner.StackSafeScanner$1.ScanState",function(){return{$kind:"nested class",fields:{InputLength:0,State:0,LastResult:0,BestFailedResult:0,BestSuccessResult:0},props:{Parser:null,InputStart:0},methods:{Init:function(parser,inputStart){this.Parser=parser;this.InputStart=inputStart;this.InputLength=0;this.State=0;this.LastResult=0;this.BestFailedResult=0;this.BestSuccessResult=0}}}});Bridge.define("Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1",function(TInput){return{inherits:[Kusto.Language.Parsing.ParserVisitor$2(TInput,Kusto.Language.Parsing.Parser$1(TInput))],$kind:"nested class",statics:{fields:{pool:null},ctors:{init:function(){this.pool=new(Kusto.Language.Utils.ObjectPool$1(Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1(TInput)))(function(){return new(Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1(TInput))},function(s){s.Clear()})}}},fields:{source:null,action:null,stack:null,stackPosition:0,state:null,prevWasMissing:!1},ctors:{ctor:function(){this.$initialize();Kusto.Language.Parsing.ParserVisitor$2(TInput,Kusto.Language.Parsing.Parser$1(TInput)).ctor.call(this);this.stack=new(System.Collections.Generic.List$1(Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1.SearchState(TInput)).ctor);this.stackPosition=-1}},methods:{Initialize:function(source,action){this.source=source;this.action=action},Clear:function(){this.source=null;this.state=null;this.stackPosition=-1},Push:function(parser,inputStart,prevWasMissing){this.stackPosition=this.stackPosition+1|0;this.stackPosition===this.stack.Count&&this.stack.add(new(Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1.SearchState(TInput)));this.state=this.stack.getItem(this.stackPosition);this.state.Init(parser,inputStart,prevWasMissing)},Pop:function(){this.stackPosition=this.stackPosition-1|0;this.stackPosition>=0&&(this.state=this.stack.getItem(this.stackPosition))},Search:function(parser,start,initialPrevWasMissing){var nextParser,length;for(this.prevWasMissing=initialPrevWasMissing,this.Push(parser,start,initialPrevWasMissing),nextParser=null;;)if(this.state.Parser.IsHidden?(this.state.InputLength=Kusto.Language.Parsing.SafeScanner.ScanSafe(TInput,this.state.Parser,this.source,this.state.InputStart),nextParser=null):(this.state.State===0&&this.action(this.state.Parser,this.source,this.state.InputStart,this.prevWasMissing),nextParser=this.state.Parser.Accept(Bridge.global.Kusto.Language.Parsing.Parser$1(TInput),this)),nextParser!=null)this.Push(nextParser,this.state.InputStart+this.state.InputLength|0,this.prevWasMissing);else{if(length=this.state.InputLength,this.stackPosition===0)return new Kusto.Language.Parsing.SearchResult.$ctor1(length,this.prevWasMissing);this.Pop();this.state.LastResult=length}},VisitApply:function(TLeft,TOutput,parser){return this.state.State===0?(this.state.State=1,parser.LeftParser):this.state.State===1?this.state.LastResult<0?(this.state.InputLength=parser.ApplyKind===Kusto.Language.Parsing.ApplyKind.One?(-this.state.InputLength|0)+this.state.LastResult|0:this.state.LastResult,null):(this.state.InputLength=this.state.LastResult,this.state.State=2,parser.RightParser):this.state.LastResult>0&&(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.ApplyKind===Kusto.Language.Parsing.ApplyKind.ZeroOrMore)?parser.RightParser:null},VisitBest:function(parser){return this.NextBest(parser.Parsers)},VisitBest$1:function(TOutput,parser){return this.NextBest(parser.Parsers)},VisitConvert:function(TOutput,parser){return this.state.State===0?(this.state.State=this.state.State+1|0,parser.Pattern):(this.state.InputLength=this.state.LastResult,this.prevWasMissing=this.state.PrevWasMissing,null)},VisitFails:function(parser){var length=parser.Scan(this.source,this.state.InputStart);return this.state.InputLength=length,this.prevWasMissing=!1,null},VisitFirst$1:function(TOutput,parser){return this.NextBest(parser.Parsers)},VisitFirst:function(parser){return this.NextBest(parser.Parsers)},NextBest:function(parsers){if(this.state.State===0)return this.state.BestFailedResult=-1,this.state.BestFailedMissing=this.prevWasMissing,this.state.BestSuccessResult=-1,this.state.State=1,System.Array.getItem(parsers,0,Kusto.Language.Parsing.Parser$1(TInput));if(this.state.LastResult>this.state.BestSuccessResult?(this.state.BestSuccessResult=this.state.LastResult,this.state.BestSuccessMissing=this.prevWasMissing):this.state.LastResult=System.Array.getCount(parsers,Kusto.Language.Parsing.Parser$1(TInput)))return this.state.BestSuccessResult>=0?(this.state.InputLength=this.state.BestSuccessResult,this.prevWasMissing=this.state.BestSuccessMissing,null):(this.state.InputLength=this.state.BestFailedResult,this.prevWasMissing=this.state.BestFailedMissing,null);this.state.InputLength=0;this.prevWasMissing=this.state.PrevWasMissing;var next=System.Array.getItem(parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput));return this.state.State=this.state.State+1|0,next},VisitForward:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.DeferredParser()):(this.state.InputLength=this.state.LastResult,null)},VisitIf$1:function(TOutput,parser){return this.NextIf(parser.Test,parser.Parser)},VisitIf:function(parser){return this.NextIf(parser.Test,parser.Parser)},NextIf:function(test,parser){if(this.state.State===0)return this.state.State=this.state.State+1|0,test.Scan(this.source,this.state.InputStart)>=0?parser:test;var length=this.state.LastResult;return this.state.InputLength=length,length<0&&(this.prevWasMissing=this.state.PrevWasMissing),null},VisitMap:function(TOutput,parser){var length=parser.Scan(this.source,this.state.InputStart);return this.state.InputLength=length,this.prevWasMissing=length>=0,null},VisitMatch:function(parser){return this.state.InputLength=parser.Consumer(this.source,this.state.InputStart),this.state.InputLength>=0?(this.prevWasMissing=!1,null):null},VisitMatch$1:function(TOutput,parser){return this.state.InputLength=parser.Consumer(this.source,this.state.InputStart),this.state.InputLength>=0?(this.prevWasMissing=!1,null):null},VisitNot:function(parser){if(this.source.IsEnd(this.state.InputStart))return this.state.InputLength=0,this.prevWasMissing=!1,null;var len=parser.Pattern.Scan(this.source,this.state.InputStart);return len>=0?(this.state.InputLength=-1,this.prevWasMissing=!1,null):(this.state.InputLength=1,this.prevWasMissing=!1,null)},VisitOneOrMore:function(parser){return this.state.State===0?(this.state.State=1,parser.Parser):this.state.State===1&&this.state.LastResult<0?(this.state.InputLength=this.state.LastResult,null):this.state.LastResult>0?(this.state.State=this.state.State+1|0,this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.Parser):null},VisitOptional:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.Parser):this.state.LastResult<0?(this.state.InputLength=0,this.prevWasMissing=this.state.PrevWasMissing,null):(this.state.InputLength=this.state.LastResult,null)},VisitProduce:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.Parser):(this.state.InputLength=this.state.LastResult,null)},VisitRequired:function(TOutput,parser){return this.state.State===0?(this.state.State=1,parser.Parser):this.state.LastResult<0?(this.state.InputLength=0,this.prevWasMissing=!0,null):(this.state.InputLength=this.state.LastResult,null)},VisitRule:function(TOutput,parser){return this.NextSequence(parser.Parsers)},VisitSequence:function(parser){return this.NextSequence(parser.Parsers)},NextSequence:function(parsers){if(this.state.LastResult<0)return this.state.InputLength=(-this.state.InputLength|0)+this.state.LastResult|0,null;if(this.state.InputLength=this.state.InputLength+this.state.LastResult|0,this.state.State>=System.Array.getCount(parsers,Kusto.Language.Parsing.Parser$1(TInput)))return null;var next=System.Array.getItem(parsers,this.state.State,Kusto.Language.Parsing.Parser$1(TInput));return this.state.State=this.state.State+1|0,next},VisitZeroOrMore:function(parser){return this.state.State===0||this.state.LastResult>0&&!parser.ZeroOrOne?(this.state.State=this.state.State+1|0,this.state.InputLength=this.state.InputLength+this.state.LastResult|0,parser.Parser):null}}}});Bridge.define("Kusto.Language.Parsing.SafeSearcher.StackSafeSearcher$1.SearchState",function(){return{$kind:"nested class",fields:{InputLength:0,State:0,LastResult:0,BestFailedResult:0,BestFailedMissing:!1,BestSuccessResult:0,BestSuccessMissing:!1},props:{Parser:null,InputStart:0,PrevWasMissing:!1},methods:{Init:function(parser,inputStart,prevWasMissing){this.Parser=parser;this.InputStart=inputStart;this.PrevWasMissing=prevWasMissing;this.InputLength=0;this.State=0;this.LastResult=0;this.BestFailedResult=0;this.BestFailedMissing=!1;this.BestSuccessResult=0;this.BestSuccessMissing=!1}}}});Bridge.define("Kusto.Language.Parsing.ScannerExtensions.ReuseableTextSource",{inherits:[Kusto.Language.Parsing.Source$1(System.Char)],$kind:"nested class",fields:{source:null,offset:0,end:0},ctors:{init:function(){this.source=""},ctor:function(){this.$initialize();Kusto.Language.Parsing.Source$1(System.Char).ctor.call(this)}},methods:{Init$1:function(source,offset,length){this.source=source;this.offset=offset;this.end=offset+length|0},Init:function(source){this.Init$1(source,0,source.length)},Clear:function(){this.source="";this.offset=0;this.end=0},Peek:function(n){return n===void 0&&(n=0),(this.offset+n|0)=this.end},Eat:function(n){this.offset=this.end},Eat:function(n){this.offset0&&this.source.charCodeAt(offs)===text.charCodeAt(0)&&($t=text.length,System.String.compare(this.source.substr(offs,$t),text.substr(0,$t)))===0},Matches$1:function(start,text,ignoreCase){var $t;return($t=text.length,System.String.compare(this.source.substr(this.offset+start|0,$t),text.substr(0,$t),ignoreCase))===0},EatText:function(length){var text=this.PeekText$1(0,length);return this.Eat(length),text}}});Bridge.define("Kusto.Language.Parsing.ZeroOrMoreParser$1",function(TInput){return{inherits:[Kusto.Language.Parsing.Parser$1(TInput)],props:{Parser:null,ZeroOrOne:!1,IsOptional:{get:function(){return!0}}},ctors:{ctor:function(parser,zeroOrOne){zeroOrOne===void 0&&(zeroOrOne=!1);this.$initialize();Kusto.Language.Parsing.Parser$1(TInput).ctor.call(this);this.Parser=parser;this.ZeroOrOne=zeroOrOne}},methods:{Accept$1:function(visitor){visitor.VisitZeroOrMore(this)},Accept:function(TResult,visitor){return visitor.VisitZeroOrMore(this)},Clone:function(){return new(Kusto.Language.Parsing.ZeroOrMoreParser$1(TInput))(this.Parser,this.ZeroOrOne)},Parse:function(source,inputStart,output){for(var length=0,len;;)if(len=this.Parser.Parse(source,inputStart+length|0,output,output.Count),len>0&&(length=length+len|0),len<=0||this.ZeroOrOne)return length},Scan:function(source,start){for(var len=0,n;;)if(n=this.Parser.Scan(source,start+len|0),n>0&&(len=len+n|0),n<=0||this.ZeroOrOne)break;return len}}}});Bridge.define("Kusto.Language.Symbols.TypeSymbol",{inherits:[Kusto.Language.Symbols.Symbol],ctors:{ctor:function(name){this.$initialize();Kusto.Language.Symbols.Symbol.ctor.call(this,name)}}});Bridge.define("Kusto.Language.Symbols.ColumnSymbol",{inherits:[Kusto.Language.Symbols.Symbol],statics:{methods:{Combine:function(kind,columnSets){var $t,result=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.ColumnSymbol).ctor),list;$t=Bridge.getEnumerator(columnSets,System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.ColumnSymbol));try{while($t.moveNext())list=$t.Current,result.AddRange(list)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}switch(kind){case Kusto.Language.Symbols.CombineKind.UnifySameNameAndType:Kusto.Language.Binding.Binder.UnifyColumnsWithSameNameAndType(result);break;case Kusto.Language.Symbols.CombineKind.UnifySameName:Kusto.Language.Binding.Binder.UnifyColumnsWithSameName(result);break;case Kusto.Language.Symbols.CombineKind.UniqueNames:Kusto.Language.Binding.Binder.MakeColumnNamesUnique(result)}return result},Combine$1:function(kind,columnSets){return columnSets===void 0&&(columnSets=[]),Kusto.Language.Symbols.ColumnSymbol.Combine(kind,Bridge.cast(columnSets,System.Collections.Generic.IEnumerable$1(System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Symbols.ColumnSymbol))))}}},props:{Type:null,Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Column}},Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Scalar}}},ctors:{ctor:function(name,type){this.$initialize();Kusto.Language.Symbols.Symbol.ctor.call(this,name);this.Type=type||function(){throw new System.ArgumentNullException.$ctor1("type");}()}},methods:{WithName:function(name){return Bridge.referenceEquals(name,this.Name)?this:new Kusto.Language.Symbols.ColumnSymbol(name,this.Type)},WithType:function(type){return Bridge.referenceEquals(type,this.Type)?this:new Kusto.Language.Symbols.ColumnSymbol(this.Name,type)},GetDisplay:function(){return System.String.format("{0}: {1}",this.Name,this.Type.Display)}}});Bridge.define("Kusto.Language.Symbols.CommandSymbol",{inherits:[Kusto.Language.Symbols.Symbol],props:{Grammar:null,Type:null,Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Command}}},ctors:{$ctor1:function(name,grammar,type){type===void 0&&(type=null);this.$initialize();Kusto.Language.Symbols.Symbol.ctor.call(this,name);this.Grammar=grammar;this.Type=type||Kusto.Language.Symbols.VoidSymbol.Instance},ctor:function(grammar,type){type===void 0&&(type=null);Kusto.Language.Symbols.CommandSymbol.$ctor1.call(this,grammar,grammar,type)}}});Bridge.define("Kusto.Language.Symbols.OperatorSymbol",{inherits:[Kusto.Language.Symbols.Symbol],props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Operator}},OperatorKind:0,Result:null,Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Scalar}},Signatures:null},ctors:{$ctor2:function(kind,signatures){var $t,signature;this.$initialize();Kusto.Language.Symbols.Symbol.ctor.call(this,System.Enum.toString(Kusto.Language.Symbols.OperatorKind,kind));this.OperatorKind=kind;this.Signatures=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.Signature,signatures);$t=Bridge.getEnumerator(this.Signatures,Kusto.Language.Symbols.Signature);try{while($t.moveNext())signature=$t.Current,signature.Symbol=this}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}},ctor:function(kind,signatures){signatures===void 0&&(signatures=[]);Kusto.Language.Symbols.OperatorSymbol.$ctor2.call(this,kind,Bridge.cast(signatures,System.Collections.Generic.IEnumerable$1(Kusto.Language.Symbols.Signature)))},$ctor1:function(kind,result){Kusto.Language.Symbols.OperatorSymbol.ctor.call(this,kind,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor7(result)],Kusto.Language.Symbols.Signature))}}});Bridge.define("Kusto.Language.Symbols.ParameterSymbol",{inherits:[Kusto.Language.Symbols.Symbol],props:{Type:null,Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Parameter}},Tabularity:{get:function(){return this.Type.Tabularity}}},ctors:{ctor:function(name,type){this.$initialize();Kusto.Language.Symbols.Symbol.ctor.call(this,name);this.Type=type}},methods:{GetDisplay:function(){return System.String.format("{0}: {1}",this.Name,this.Type.Display)}}});Bridge.define("Kusto.Language.Symbols.VariableSymbol",{inherits:[Kusto.Language.Symbols.Symbol],props:{Type:null,Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Variable}},IsConstant:!1,ConstantValue:null,Tabularity:{get:function(){return this.Type.Tabularity}}},ctors:{ctor:function(name,type,isConstant,constantValue){isConstant===void 0&&(isConstant=!1);constantValue===void 0&&(constantValue=null);this.$initialize();Kusto.Language.Symbols.Symbol.ctor.call(this,name);this.Type=type;this.IsConstant=isConstant;this.ConstantValue=constantValue}},methods:{GetDisplay:function(){return System.String.format("let {0}: {1}",this.Name,this.Type.Display)}}});Bridge.define("Kusto.Language.Syntax.SyntaxNode",{inherits:[Kusto.Language.Syntax.SyntaxElement],fields:{fullWidth:0},props:{ReferencedSymbol:{get:function(){var $t;return($t=this.GetSemanticInfo())!=null?$t.ReferencedSymbol:null}},SemanticDiagnostics:{get:function(){var $t;return(($t=this.GetSemanticInfo())!=null?$t.Diagnostics:null)||Kusto.Language.Diagnostic.NoDiagnostics}},IsBound:{get:function(){return this.GetSemanticInfo()!=null}},FullWidth:{get:function(){return this.fullWidth}}},ctors:{ctor:function(diagnostics){this.$initialize();Kusto.Language.Syntax.SyntaxElement.ctor.call(this,diagnostics)}},methods:{GetExpansion:function(){var $t,$t1;return($t=this.GetSemanticInfo())!=null&&!Bridge.staticEquals($t1=$t.Expander,null)?$t1():null},GetSemanticInfo:function(){var data=this.GetExtendedData(!1);return data!=null?data.SemanticInfo:null},Init:function(){Kusto.Language.Syntax.SyntaxElement.prototype.Init.call(this);this.fullWidth=this.ComputeFullWidth()},Clone$1:function(){return Bridge.cast(this.CloneCore(),Kusto.Language.Syntax.SyntaxNode)}}});Bridge.define("Kusto.Language.Syntax.DefaultSyntaxVisitor$1",function(TResult){return{inherits:[Kusto.Language.Syntax.SyntaxVisitor$1(TResult)],methods:{VisitDirectiveBlock:function(node){return this.DefaultVisit(node)},VisitSkippedTokens:function(node){return this.DefaultVisit(node)},VisitQueryBlock:function(node){return this.DefaultVisit(node)},VisitTypeOfLiteralExpression:function(node){return this.DefaultVisit(node)},VisitBadQueryOperator:function(node){return this.DefaultVisit(node)},VisitCompoundStringLiteralExpression:function(node){return this.DefaultVisit(node)},VisitTokenName:function(node){return this.DefaultVisit(node)},VisitBrackettedName:function(node){return this.DefaultVisit(node)},VisitBracedName:function(node){return this.DefaultVisit(node)},VisitWildcardedName:function(node){return this.DefaultVisit(node)},VisitNameDeclaration:function(node){return this.DefaultVisit(node)},VisitNameReference:function(node){return this.DefaultVisit(node)},VisitLiteralExpression:function(node){return this.DefaultVisit(node)},VisitStarExpression:function(node){return this.DefaultVisit(node)},VisitAtExpression:function(node){return this.DefaultVisit(node)},VisitJsonPair:function(node){return this.DefaultVisit(node)},VisitJsonObjectExpression:function(node){return this.DefaultVisit(node)},VisitJsonArrayExpression:function(node){return this.DefaultVisit(node)},VisitDynamicExpression:function(node){return this.DefaultVisit(node)},VisitParenthesizedExpression:function(node){return this.DefaultVisit(node)},VisitExpressionList:function(node){return this.DefaultVisit(node)},VisitExpressionCouple:function(node){return this.DefaultVisit(node)},VisitPrefixUnaryExpression:function(node){return this.DefaultVisit(node)},VisitBinaryExpression:function(node){return this.DefaultVisit(node)},VisitInExpression:function(node){return this.DefaultVisit(node)},VisitHasAnyExpression:function(node){return this.DefaultVisit(node)},VisitBetweenExpression:function(node){return this.DefaultVisit(node)},VisitFunctionCallExpression:function(node){return this.DefaultVisit(node)},VisitToScalarExpression:function(node){return this.DefaultVisit(node)},VisitToTableExpression:function(node){return this.DefaultVisit(node)},VisitSimpleNamedExpression:function(node){return this.DefaultVisit(node)},VisitRenameList:function(node){return this.DefaultVisit(node)},VisitCompoundNamedExpression:function(node){return this.DefaultVisit(node)},VisitBrackettedExpression:function(node){return this.DefaultVisit(node)},VisitConditionedExpression:function(node){return this.DefaultVisit(node)},VisitPathExpression:function(node){return this.DefaultVisit(node)},VisitElementExpression:function(node){return this.DefaultVisit(node)},VisitPipeExpression:function(node){return this.DefaultVisit(node)},VisitRangeOperator:function(node){return this.DefaultVisit(node)},VisitNamedParameter:function(node){return this.DefaultVisit(node)},VisitConsumeOperator:function(node){return this.DefaultVisit(node)},VisitCountOperator:function(node){return this.DefaultVisit(node)},VisitCountAsIdentifierClause:function(node){return this.DefaultVisit(node)},VisitExecuteAndCacheOperator:function(node){return this.DefaultVisit(node)},VisitExtendOperator:function(node){return this.DefaultVisit(node)},VisitFacetOperator:function(node){return this.DefaultVisit(node)},VisitFacetWithOperatorClause:function(node){return this.DefaultVisit(node)},VisitFacetWithExpressionClause:function(node){return this.DefaultVisit(node)},VisitFilterOperator:function(node){return this.DefaultVisit(node)},VisitGetSchemaOperator:function(node){return this.DefaultVisit(node)},VisitFindOperator:function(node){return this.DefaultVisit(node)},VisitDataScopeClause:function(node){return this.DefaultVisit(node)},VisitTypedColumnReference:function(node){return this.DefaultVisit(node)},VisitFindInClause:function(node){return this.DefaultVisit(node)},VisitFindProjectClause:function(node){return this.DefaultVisit(node)},VisitPackExpression:function(node){return this.DefaultVisit(node)},VisitNameAndTypeDeclaration:function(node){return this.DefaultVisit(node)},VisitPrimitiveTypeExpression:function(node){return this.DefaultVisit(node)},VisitSearchOperator:function(node){return this.DefaultVisit(node)},VisitForkOperator:function(node){return this.DefaultVisit(node)},VisitNameEqualsClause:function(node){return this.DefaultVisit(node)},VisitForkExpression:function(node){return this.DefaultVisit(node)},VisitMakeSeriesOperator:function(node){return this.DefaultVisit(node)},VisitMakeSeriesExpression:function(node){return this.DefaultVisit(node)},VisitDefaultExpressionClause:function(node){return this.DefaultVisit(node)},VisitMakeSeriesOnClause:function(node){return this.DefaultVisit(node)},VisitMakeSeriesInRangeClause:function(node){return this.DefaultVisit(node)},VisitMakeSeriesFromToStepClause:function(node){return this.DefaultVisit(node)},VisitMakeSeriesByClause:function(node){return this.DefaultVisit(node)},VisitMvExpandOperator:function(node){return this.DefaultVisit(node)},VisitMvExpandExpression:function(node){return this.DefaultVisit(node)},VisitMvExpandRowLimitClause:function(node){return this.DefaultVisit(node)},VisitMvApplyOperator:function(node){return this.DefaultVisit(node)},VisitMvApplyExpression:function(node){return this.DefaultVisit(node)},VisitMvApplyRowLimitClause:function(node){return this.DefaultVisit(node)},VisitMvApplyContextIdClause:function(node){return this.DefaultVisit(node)},VisitMvApplySubqueryExpression:function(node){return this.DefaultVisit(node)},VisitToTypeOfClause:function(node){return this.DefaultVisit(node)},VisitEvaluateOperator:function(node){return this.DefaultVisit(node)},VisitParseOperator:function(node){return this.DefaultVisit(node)},VisitPartitionOperator:function(node){return this.DefaultVisit(node)},VisitPartitionExpression:function(node){return this.DefaultVisit(node)},VisitProjectOperator:function(node){return this.DefaultVisit(node)},VisitProjectAwayOperator:function(node){return this.DefaultVisit(node)},VisitProjectRenameOperator:function(node){return this.DefaultVisit(node)},VisitProjectReorderOperator:function(node){return this.DefaultVisit(node)},VisitSampleOperator:function(node){return this.DefaultVisit(node)},VisitSampleDistinctOperator:function(node){return this.DefaultVisit(node)},VisitReduceByOperator:function(node){return this.DefaultVisit(node)},VisitReduceByWithClause:function(node){return this.DefaultVisit(node)},VisitSummarizeOperator:function(node){return this.DefaultVisit(node)},VisitSummarizeByClause:function(node){return this.DefaultVisit(node)},VisitDistinctOperator:function(node){return this.DefaultVisit(node)},VisitTakeOperator:function(node){return this.DefaultVisit(node)},VisitSortOperator:function(node){return this.DefaultVisit(node)},VisitOrderedExpression:function(node){return this.DefaultVisit(node)},VisitOrderingClause:function(node){return this.DefaultVisit(node)},VisitOrderingNullsClause:function(node){return this.DefaultVisit(node)},VisitTopHittersOperator:function(node){return this.DefaultVisit(node)},VisitTopHittersByClause:function(node){return this.DefaultVisit(node)},VisitTopOperator:function(node){return this.DefaultVisit(node)},VisitTopNestedOperator:function(node){return this.DefaultVisit(node)},VisitTopNestedClause:function(node){return this.DefaultVisit(node)},VisitTopNestedWithOthersClause:function(node){return this.DefaultVisit(node)},VisitUnionOperator:function(node){return this.DefaultVisit(node)},VisitAsOperator:function(node){return this.DefaultVisit(node)},VisitSerializeOperator:function(node){return this.DefaultVisit(node)},VisitInvokeOperator:function(node){return this.DefaultVisit(node)},VisitRenderOperator:function(node){return this.DefaultVisit(node)},VisitRenderNameList:function(node){return this.DefaultVisit(node)},VisitRenderWithClause:function(node){return this.DefaultVisit(node)},VisitPrintOperator:function(node){return this.DefaultVisit(node)},VisitAliasStatement:function(node){return this.DefaultVisit(node)},VisitLetStatement:function(node){return this.DefaultVisit(node)},VisitFunctionDeclaration:function(node){return this.DefaultVisit(node)},VisitFunctionParameters:function(node){return this.DefaultVisit(node)},VisitFunctionParameter:function(node){return this.DefaultVisit(node)},VisitDefaultValueDeclaration:function(node){return this.DefaultVisit(node)},VisitFunctionBody:function(node){return this.DefaultVisit(node)},VisitSchemaTypeExpression:function(node){return this.DefaultVisit(node)},VisitExpressionStatement:function(node){return this.DefaultVisit(node)},VisitMaterializeExpression:function(node){return this.DefaultVisit(node)},VisitSetOptionStatement:function(node){return this.DefaultVisit(node)},VisitOptionValueClause:function(node){return this.DefaultVisit(node)},VisitQueryParametersStatement:function(node){return this.DefaultVisit(node)},VisitRestrictStatement:function(node){return this.DefaultVisit(node)},VisitPatternStatement:function(node){return this.DefaultVisit(node)},VisitPatternDeclaration:function(node){return this.DefaultVisit(node)},VisitPatternPathParameter:function(node){return this.DefaultVisit(node)},VisitPatternMatch:function(node){return this.DefaultVisit(node)},VisitPatternPathValue:function(node){return this.DefaultVisit(node)},VisitDataScopeExpression:function(node){return this.DefaultVisit(node)},VisitDataTableExpression:function(node){return this.DefaultVisit(node)},VisitExternalDataExpression:function(node){return this.DefaultVisit(node)},VisitExternalDataWithClause:function(node){return this.DefaultVisit(node)},VisitJoinOperator:function(node){return this.DefaultVisit(node)},VisitLookupOperator:function(node){return this.DefaultVisit(node)},VisitJoinOnClause:function(node){return this.DefaultVisit(node)},VisitJoinWhereClause:function(node){return this.DefaultVisit(node)},VisitCommandWithValueClause:function(node){return this.DefaultVisit(node)},VisitCommandWithPropertyListClause:function(node){return this.DefaultVisit(node)},VisitCommandInputExpression:function(node){return this.DefaultVisit(node)},VisitUnknownCommand:function(node){return this.DefaultVisit(node)},VisitCustomCommand:function(node){return this.DefaultVisit(node)},VisitBadCommand:function(node){return this.DefaultVisit(node)},VisitCommandBlock:function(node){return this.DefaultVisit(node)},VisitCustom:function(node){return this.DefaultVisit(node)},VisitList:function(list){return this.DefaultVisit(list)},VisitSeparatedElement:function(separatedElement){return this.DefaultVisit(separatedElement)}}}});Bridge.define("Kusto.Language.Syntax.DefaultSyntaxVisitor$2",function(TContext,TResult){return{inherits:[Kusto.Language.Syntax.SyntaxVisitor$2(TContext,TResult)],methods:{VisitDirectiveBlock:function(context,node){return this.DefaultVisit(context,node)},VisitSkippedTokens:function(context,node){return this.DefaultVisit(context,node)},VisitQueryBlock:function(context,node){return this.DefaultVisit(context,node)},VisitTypeOfLiteralExpression:function(context,node){return this.DefaultVisit(context,node)},VisitBadQueryOperator:function(context,node){return this.DefaultVisit(context,node)},VisitCompoundStringLiteralExpression:function(context,node){return this.DefaultVisit(context,node)},VisitTokenName:function(context,node){return this.DefaultVisit(context,node)},VisitBrackettedName:function(context,node){return this.DefaultVisit(context,node)},VisitBracedName:function(context,node){return this.DefaultVisit(context,node)},VisitWildcardedName:function(context,node){return this.DefaultVisit(context,node)},VisitNameDeclaration:function(context,node){return this.DefaultVisit(context,node)},VisitNameReference:function(context,node){return this.DefaultVisit(context,node)},VisitLiteralExpression:function(context,node){return this.DefaultVisit(context,node)},VisitStarExpression:function(context,node){return this.DefaultVisit(context,node)},VisitAtExpression:function(context,node){return this.DefaultVisit(context,node)},VisitJsonPair:function(context,node){return this.DefaultVisit(context,node)},VisitJsonObjectExpression:function(context,node){return this.DefaultVisit(context,node)},VisitJsonArrayExpression:function(context,node){return this.DefaultVisit(context,node)},VisitDynamicExpression:function(context,node){return this.DefaultVisit(context,node)},VisitParenthesizedExpression:function(context,node){return this.DefaultVisit(context,node)},VisitExpressionList:function(context,node){return this.DefaultVisit(context,node)},VisitExpressionCouple:function(context,node){return this.DefaultVisit(context,node)},VisitPrefixUnaryExpression:function(context,node){return this.DefaultVisit(context,node)},VisitBinaryExpression:function(context,node){return this.DefaultVisit(context,node)},VisitInExpression:function(context,node){return this.DefaultVisit(context,node)},VisitHasAnyExpression:function(context,node){return this.DefaultVisit(context,node)},VisitBetweenExpression:function(context,node){return this.DefaultVisit(context,node)},VisitFunctionCallExpression:function(context,node){return this.DefaultVisit(context,node)},VisitToScalarExpression:function(context,node){return this.DefaultVisit(context,node)},VisitToTableExpression:function(context,node){return this.DefaultVisit(context,node)},VisitSimpleNamedExpression:function(context,node){return this.DefaultVisit(context,node)},VisitRenameList:function(context,node){return this.DefaultVisit(context,node)},VisitCompoundNamedExpression:function(context,node){return this.DefaultVisit(context,node)},VisitBrackettedExpression:function(context,node){return this.DefaultVisit(context,node)},VisitConditionedExpression:function(context,node){return this.DefaultVisit(context,node)},VisitPathExpression:function(context,node){return this.DefaultVisit(context,node)},VisitElementExpression:function(context,node){return this.DefaultVisit(context,node)},VisitPipeExpression:function(context,node){return this.DefaultVisit(context,node)},VisitRangeOperator:function(context,node){return this.DefaultVisit(context,node)},VisitNamedParameter:function(context,node){return this.DefaultVisit(context,node)},VisitConsumeOperator:function(context,node){return this.DefaultVisit(context,node)},VisitCountOperator:function(context,node){return this.DefaultVisit(context,node)},VisitCountAsIdentifierClause:function(context,node){return this.DefaultVisit(context,node)},VisitExecuteAndCacheOperator:function(context,node){return this.DefaultVisit(context,node)},VisitExtendOperator:function(context,node){return this.DefaultVisit(context,node)},VisitFacetOperator:function(context,node){return this.DefaultVisit(context,node)},VisitFacetWithOperatorClause:function(context,node){return this.DefaultVisit(context,node)},VisitFacetWithExpressionClause:function(context,node){return this.DefaultVisit(context,node)},VisitFilterOperator:function(context,node){return this.DefaultVisit(context,node)},VisitGetSchemaOperator:function(context,node){return this.DefaultVisit(context,node)},VisitFindOperator:function(context,node){return this.DefaultVisit(context,node)},VisitDataScopeClause:function(context,node){return this.DefaultVisit(context,node)},VisitTypedColumnReference:function(context,node){return this.DefaultVisit(context,node)},VisitFindInClause:function(context,node){return this.DefaultVisit(context,node)},VisitFindProjectClause:function(context,node){return this.DefaultVisit(context,node)},VisitPackExpression:function(context,node){return this.DefaultVisit(context,node)},VisitNameAndTypeDeclaration:function(context,node){return this.DefaultVisit(context,node)},VisitPrimitiveTypeExpression:function(context,node){return this.DefaultVisit(context,node)},VisitSearchOperator:function(context,node){return this.DefaultVisit(context,node)},VisitForkOperator:function(context,node){return this.DefaultVisit(context,node)},VisitNameEqualsClause:function(context,node){return this.DefaultVisit(context,node)},VisitForkExpression:function(context,node){return this.DefaultVisit(context,node)},VisitMakeSeriesOperator:function(context,node){return this.DefaultVisit(context,node)},VisitMakeSeriesExpression:function(context,node){return this.DefaultVisit(context,node)},VisitDefaultExpressionClause:function(context,node){return this.DefaultVisit(context,node)},VisitMakeSeriesOnClause:function(context,node){return this.DefaultVisit(context,node)},VisitMakeSeriesInRangeClause:function(context,node){return this.DefaultVisit(context,node)},VisitMakeSeriesFromToStepClause:function(context,node){return this.DefaultVisit(context,node)},VisitMakeSeriesByClause:function(context,node){return this.DefaultVisit(context,node)},VisitMvExpandOperator:function(context,node){return this.DefaultVisit(context,node)},VisitMvExpandExpression:function(context,node){return this.DefaultVisit(context,node)},VisitMvExpandRowLimitClause:function(context,node){return this.DefaultVisit(context,node)},VisitMvApplyOperator:function(context,node){return this.DefaultVisit(context,node)},VisitMvApplyExpression:function(context,node){return this.DefaultVisit(context,node)},VisitMvApplyRowLimitClause:function(context,node){return this.DefaultVisit(context,node)},VisitMvApplyContextIdClause:function(context,node){return this.DefaultVisit(context,node)},VisitMvApplySubqueryExpression:function(context,node){return this.DefaultVisit(context,node)},VisitToTypeOfClause:function(context,node){return this.DefaultVisit(context,node)},VisitEvaluateOperator:function(context,node){return this.DefaultVisit(context,node)},VisitParseOperator:function(context,node){return this.DefaultVisit(context,node)},VisitPartitionOperator:function(context,node){return this.DefaultVisit(context,node)},VisitPartitionExpression:function(context,node){return this.DefaultVisit(context,node)},VisitProjectOperator:function(context,node){return this.DefaultVisit(context,node)},VisitProjectAwayOperator:function(context,node){return this.DefaultVisit(context,node)},VisitProjectRenameOperator:function(context,node){return this.DefaultVisit(context,node)},VisitProjectReorderOperator:function(context,node){return this.DefaultVisit(context,node)},VisitSampleOperator:function(context,node){return this.DefaultVisit(context,node)},VisitSampleDistinctOperator:function(context,node){return this.DefaultVisit(context,node)},VisitReduceByOperator:function(context,node){return this.DefaultVisit(context,node)},VisitReduceByWithClause:function(context,node){return this.DefaultVisit(context,node)},VisitSummarizeOperator:function(context,node){return this.DefaultVisit(context,node)},VisitSummarizeByClause:function(context,node){return this.DefaultVisit(context,node)},VisitDistinctOperator:function(context,node){return this.DefaultVisit(context,node)},VisitTakeOperator:function(context,node){return this.DefaultVisit(context,node)},VisitSortOperator:function(context,node){return this.DefaultVisit(context,node)},VisitOrderedExpression:function(context,node){return this.DefaultVisit(context,node)},VisitOrderingClause:function(context,node){return this.DefaultVisit(context,node)},VisitOrderingNullsClause:function(context,node){return this.DefaultVisit(context,node)},VisitTopHittersOperator:function(context,node){return this.DefaultVisit(context,node)},VisitTopHittersByClause:function(context,node){return this.DefaultVisit(context,node)},VisitTopOperator:function(context,node){return this.DefaultVisit(context,node)},VisitTopNestedOperator:function(context,node){return this.DefaultVisit(context,node)},VisitTopNestedClause:function(context,node){return this.DefaultVisit(context,node)},VisitTopNestedWithOthersClause:function(context,node){return this.DefaultVisit(context,node)},VisitUnionOperator:function(context,node){return this.DefaultVisit(context,node)},VisitAsOperator:function(context,node){return this.DefaultVisit(context,node)},VisitSerializeOperator:function(context,node){return this.DefaultVisit(context,node)},VisitInvokeOperator:function(context,node){return this.DefaultVisit(context,node)},VisitRenderOperator:function(context,node){return this.DefaultVisit(context,node)},VisitRenderNameList:function(context,node){return this.DefaultVisit(context,node)},VisitRenderWithClause:function(context,node){return this.DefaultVisit(context,node)},VisitPrintOperator:function(context,node){return this.DefaultVisit(context,node)},VisitAliasStatement:function(context,node){return this.DefaultVisit(context,node)},VisitLetStatement:function(context,node){return this.DefaultVisit(context,node)},VisitFunctionDeclaration:function(context,node){return this.DefaultVisit(context,node)},VisitFunctionParameters:function(context,node){return this.DefaultVisit(context,node)},VisitFunctionParameter:function(context,node){return this.DefaultVisit(context,node)},VisitDefaultValueDeclaration:function(context,node){return this.DefaultVisit(context,node)},VisitFunctionBody:function(context,node){return this.DefaultVisit(context,node)},VisitSchemaTypeExpression:function(context,node){return this.DefaultVisit(context,node)},VisitExpressionStatement:function(context,node){return this.DefaultVisit(context,node)},VisitMaterializeExpression:function(context,node){return this.DefaultVisit(context,node)},VisitSetOptionStatement:function(context,node){return this.DefaultVisit(context,node)},VisitOptionValueClause:function(context,node){return this.DefaultVisit(context,node)},VisitQueryParametersStatement:function(context,node){return this.DefaultVisit(context,node)},VisitRestrictStatement:function(context,node){return this.DefaultVisit(context,node)},VisitPatternStatement:function(context,node){return this.DefaultVisit(context,node)},VisitPatternDeclaration:function(context,node){return this.DefaultVisit(context,node)},VisitPatternPathParameter:function(context,node){return this.DefaultVisit(context,node)},VisitPatternMatch:function(context,node){return this.DefaultVisit(context,node)},VisitPatternPathValue:function(context,node){return this.DefaultVisit(context,node)},VisitDataScopeExpression:function(context,node){return this.DefaultVisit(context,node)},VisitDataTableExpression:function(context,node){return this.DefaultVisit(context,node)},VisitExternalDataExpression:function(context,node){return this.DefaultVisit(context,node)},VisitExternalDataWithClause:function(context,node){return this.DefaultVisit(context,node)},VisitJoinOperator:function(context,node){return this.DefaultVisit(context,node)},VisitLookupOperator:function(context,node){return this.DefaultVisit(context,node)},VisitJoinOnClause:function(context,node){return this.DefaultVisit(context,node)},VisitJoinWhereClause:function(context,node){return this.DefaultVisit(context,node)},VisitCommandWithValueClause:function(context,node){return this.DefaultVisit(context,node)},VisitCommandWithPropertyListClause:function(context,node){return this.DefaultVisit(context,node)},VisitCommandInputExpression:function(context,node){return this.DefaultVisit(context,node)},VisitUnknownCommand:function(context,node){return this.DefaultVisit(context,node)},VisitCustomCommand:function(context,node){return this.DefaultVisit(context,node)},VisitBadCommand:function(context,node){return this.DefaultVisit(context,node)},VisitCommandBlock:function(context,node){return this.DefaultVisit(context,node)},VisitCustom:function(context,node){return this.DefaultVisit(context,node)},VisitList:function(context,list){return this.DefaultVisit(context,list)},VisitSeparatedElement:function(context,separatedElement){return this.DefaultVisit(context,separatedElement)}}}});Bridge.define("Kusto.Language.Syntax.SyntaxToken",{inherits:[Kusto.Language.Syntax.SyntaxElement,Kusto.Language.Parsing.IToken],statics:{methods:{From:function(token,diagnostic){diagnostic===void 0&&(diagnostic=null);var dx=token.Diagnostics;diagnostic!=null&&(dx=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Diagnostic,System.Linq.Enumerable.from(dx).concat(System.Array.init([diagnostic],Kusto.Language.Diagnostic))));switch(Kusto.Language.Syntax.SyntaxFacts.GetCategory(token.Kind)){case Kusto.Language.Syntax.SyntaxCategory.Identifier:return Kusto.Language.Syntax.SyntaxToken.Identifier(token.Trivia,token.Text,dx);case Kusto.Language.Syntax.SyntaxCategory.Keyword:return Kusto.Language.Syntax.SyntaxToken.Keyword(token.Trivia,token.Kind,dx);case Kusto.Language.Syntax.SyntaxCategory.Literal:return Kusto.Language.Syntax.SyntaxToken.Literal(token.Trivia,token.Text,token.Kind,dx);case Kusto.Language.Syntax.SyntaxCategory.Punctuation:return Kusto.Language.Syntax.SyntaxToken.Punctuation(token.Trivia,token.Kind,dx);case Kusto.Language.Syntax.SyntaxCategory.Operator:return Kusto.Language.Syntax.SyntaxToken.Operator(token.Trivia,token.Kind,dx);case Kusto.Language.Syntax.SyntaxCategory.Other:default:return Kusto.Language.Syntax.SyntaxToken.Other(token.Trivia,token.Text,token.Kind,dx)}},Keyword:function(trivia,keyword,diagnostics){return diagnostics===void 0&&(diagnostics=null),Kusto.Language.Syntax.SyntaxToken.CheckCategory(keyword,Kusto.Language.Syntax.SyntaxCategory.Keyword),new Kusto.Language.Syntax.SyntaxToken.KindToken(trivia,keyword,diagnostics)},Identifier:function(trivia,text,diagnostics){return diagnostics===void 0&&(diagnostics=null),new Kusto.Language.Syntax.SyntaxToken.IdentifierToken(trivia,text,diagnostics)},Punctuation:function(trivia,kind,diagnostics){return diagnostics===void 0&&(diagnostics=null),Kusto.Language.Syntax.SyntaxToken.CheckCategory(kind,Kusto.Language.Syntax.SyntaxCategory.Punctuation),new Kusto.Language.Syntax.SyntaxToken.KindToken(trivia,kind,diagnostics)},Operator:function(trivia,kind,diagnostics){return diagnostics===void 0&&(diagnostics=null),Kusto.Language.Syntax.SyntaxToken.CheckCategory(kind,Kusto.Language.Syntax.SyntaxCategory.Operator),new Kusto.Language.Syntax.SyntaxToken.KindToken(trivia,kind,diagnostics)},Literal:function(trivia,text,kind,diagnostics){return diagnostics===void 0&&(diagnostics=null),Kusto.Language.Syntax.SyntaxToken.CheckCategory(kind,Kusto.Language.Syntax.SyntaxCategory.Literal),new Kusto.Language.Syntax.SyntaxToken.LiteralToken(trivia,text,kind,diagnostics)},Other:function(trivia,text,kind,diagnostics){return diagnostics===void 0&&(diagnostics=null),Kusto.Language.Syntax.SyntaxToken.CheckCategory(kind,Kusto.Language.Syntax.SyntaxCategory.Other),new Kusto.Language.Syntax.SyntaxToken.TextAndKindToken(trivia,text,kind,diagnostics)},Missing$1:function(trivia,kind,diagnostics){return new Kusto.Language.Syntax.SyntaxToken.MissingToken(trivia,kind,diagnostics)},Missing:function(kind,diagnostic){return diagnostic===void 0&&(diagnostic=null),new Kusto.Language.Syntax.SyntaxToken.MissingToken("",kind,diagnostic!=null?System.Array.init([diagnostic],Kusto.Language.Diagnostic):null)},CheckCategory:function(kind,category){if(Kusto.Language.Syntax.SyntaxFacts.GetCategory(kind)!==category)throw new System.ArgumentException.$ctor1(System.String.format("The kind {0} is not a {1}",Bridge.box(kind,Kusto.Language.Syntax.SyntaxKind,System.Enum.toStringFn(Kusto.Language.Syntax.SyntaxKind)),System.Enum.toString(Kusto.Language.Syntax.SyntaxCategory,category).toLowerCase()));}}},props:{Value:{get:function(){return this.Text}},ValueText:{get:function(){return this.Text}},ChildCount:{get:function(){return 0}},TriviaWidth:{get:function(){return this.Trivia.length}},FullWidth:{get:function(){return this.Trivia.length+this.Text.length|0}},Width:{get:function(){return this.Text.length}},IsToken:{get:function(){return!0}},IsLiteral:{get:function(){return!1}},Prefix:{get:function(){return""}}},alias:["FullWidth","Kusto$Language$Parsing$IToken$FullWidth","Width","Kusto$Language$Parsing$IToken$Width","TriviaStart","Kusto$Language$Parsing$IToken$TriviaStart","TextStart","Kusto$Language$Parsing$IToken$TextStart","Kind","Kusto$Language$Parsing$IToken$Kind"],ctors:{ctor:function(diagnostics){this.$initialize();Kusto.Language.Syntax.SyntaxElement.ctor.call(this,diagnostics)}},methods:{Clone$1:function(){return Bridge.cast(this.CloneCore(),Kusto.Language.Syntax.SyntaxToken)},ToString:function(includeTrivia){if(System.String.isNullOrEmpty(this.Trivia))return this.Text;switch(includeTrivia){case Kusto.Language.Syntax.IncludeTrivia.All:return(this.Trivia||"")+(this.Text||"");default:return this.Text}},Write:function(builder,includeTrivia,initialTriviaStart){if(!System.String.isNullOrEmpty(this.Trivia))switch(includeTrivia){case Kusto.Language.Syntax.IncludeTrivia.All:builder.append(this.Trivia);break;case Kusto.Language.Syntax.IncludeTrivia.Interior:this.TriviaStart>initialTriviaStart&&builder.append(this.Trivia);break;case Kusto.Language.Syntax.IncludeTrivia.Minimal:this.TriviaStart>initialTriviaStart&&(System.String.contains(this.Trivia,"\n")?builder.append("\n"):builder.append(" "))}builder.append(this.Text)},GetNextToken:function(includeZeroWidthTokens){var node,sibling,first;for(includeZeroWidthTokens===void 0&&(includeZeroWidthTokens=!1),node=this;node!=null;node=node.Parent)if(sibling=node.GetNextSibling(),sibling!=null){if(sibling.IsToken)return Bridge.cast(sibling,Kusto.Language.Syntax.SyntaxToken);if(first=sibling.GetFirstToken(includeZeroWidthTokens),first!=null)return first}return null},GetPreviousToken:function(includeZeroWidthTokens){var node,sibling,last;for(includeZeroWidthTokens===void 0&&(includeZeroWidthTokens=!1),node=this;node!=null;node=node.Parent)if(sibling=node.GetPreviousSibling(),sibling!=null){if(sibling.IsToken)return Bridge.cast(sibling,Kusto.Language.Syntax.SyntaxToken);if(last=sibling.GetLastToken(includeZeroWidthTokens),last!=null)return last}return null}}});Bridge.define("Kusto.Language.Utils.StringTable",{inherits:[System.Collections.Generic.IEnumerable$1(System.String)],fields:{map:null},alias:["GetEnumerator",["System$Collections$Generic$IEnumerable$1$System$String$GetEnumerator","System$Collections$Generic$IEnumerable$1$GetEnumerator"]],ctors:{init:function(){this.map=new(Kusto.Language.Utils.TextKeyedDictionary$1(System.String))},ctor:function(){this.$initialize()}},methods:{Add:function(text){var result={};return this.map.TryGetValue(text,0,text.length,result)||(result.v=this.map.GetOrAddValue$3(text,0,text.length,function(_t,_s,_l){return _s>0||_l<_t.length?_t.substr(_s,_l):_t})),result.v},Add$2:function(strings){var $t,s;$t=Bridge.getEnumerator(strings,System.String);try{while($t.moveNext())s=$t.Current,this.Add(s)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}},Add$1:function(text,start,length){var result={};return this.map.TryGetValue(text,start,length,result)||(result.v=this.map.GetOrAddValue$3(text,start,length,function(_t,_s,_l){return _t.substr(_s,_l)})),result.v},Contains:function(text){return this.map.ContainsKey(text)},ContainsKey:function(text,start,length){return this.map.ContainsKey$1(text,start,length)},GetEnumerator:function(){return this.map.GetEnumerator()},System$Collections$IEnumerable$GetEnumerator:function(){return this.GetEnumerator()}}});Bridge.define("Kusto.Language.Binding.Binder.AsContextBuilder",{inherits:[Kusto.Language.Syntax.DefaultSyntaxVisitor],$kind:"nested class",fields:{_position:0,_binder:null},ctors:{ctor:function(position,binder){this.$initialize();Kusto.Language.Syntax.DefaultSyntaxVisitor.ctor.call(this);this._position=position;this._binder=binder}},methods:{DefaultVisit:function(node){var i,n,child;if(node!=null)for(i=0,n=node.ChildCount;inode.End&&type!=null&&(declaration=new Kusto.Language.Symbols.VariableSymbol(node.Name.SimpleName,type),this._binder._localScope.AddDeclaration(declaration))},VisitFunctionBody:function(node){this._position>node.TextStart&&this._position0&&node.Statements.getItem$1(0).Separator!=null&&this._position>node.Statements.getItem$1(0).End&&(command=node.Statements.getItem$1(0).Element$1.GetFirstDescendant(Kusto.Language.Syntax.Command),command!=null&&(commandResults=new Kusto.Language.Symbols.VariableSymbol("$command_results",this._binder.GetResultTypeOrError(command)),this._binder._localScope.AddDeclaration(commandResults)))}}});Bridge.define("Kusto.Language.Binding.Binder.ContextBuilder",{inherits:[Kusto.Language.Syntax.DefaultSyntaxVisitor],$kind:"nested class",statics:{methods:{IsIncomplete:function(node){var $t,last=node.GetLastToken(!0);return $t=last!=null?last.IsMissing:null,$t!=null?$t:!1}}},fields:{_binder:null,_position:0,_asBuilder:null},ctors:{ctor:function(binder,position){this.$initialize();Kusto.Language.Syntax.DefaultSyntaxVisitor.ctor.call(this);this._binder=binder;this._position=position;this._asBuilder=new Kusto.Language.Binding.Binder.AsContextBuilder(position,this._binder)}},methods:{DefaultVisit:function(node){for(var parentNode,parent=node.Parent;parent!=null;parent=parent.Parent)if((parentNode=parent)!=null){parentNode.Visit$2(this);break}node.Parent==null&&node.Visit$2(this._asBuilder)},VisitPathExpression:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitPathExpression.call(this,node);this._position>=node.Selector.TriviaStart&&(this._binder._pathScope=node.Expression.ResultType)},VisitElementExpression:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitElementExpression.call(this,node);this._position>=node.Selector.TriviaStart&&(this._binder._pathScope=node.Expression.ResultType)},VisitParenthesizedExpression:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitParenthesizedExpression.call(this,node);this._binder._pathScope=null;this._binder._implicitArgumentType=null},VisitFunctionCallExpression:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitFunctionCallExpression.call(this,node);this._position>=node.ArgumentList.TextStart&&(this._binder._pathScope=null,this._binder._scopeKind=Kusto.Language.Binding.Binder.ScopeKind.Normal,this._binder._implicitArgumentType=null)},VisitPipeExpression:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitPipeExpression.call(this,node);this._position>=node.Operator.TriviaStart&&(this._binder._rowScope=Bridge.as(node.Expression.ResultType,Kusto.Language.Symbols.TableSymbol))},VisitEvaluateOperator:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitEvaluateOperator.call(this,node);this._binder._scopeKind=Kusto.Language.Binding.Binder.ScopeKind.PlugIn},VisitSummarizeOperator:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitSummarizeOperator.call(this,node);(node.ByClause==null||this._position=node.Body.TextStart&&(this._positionnode.Patterns.TextStart&&(this._binder.AddDeclarationsToLocalScope$1(this._binder._localScope,node.Parameters),node.PathParameter!=null&&this._binder.AddDeclarationToLocalScope(this._binder._localScope,node.PathParameter.Parameter))},VisitJoinOperator:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitJoinOperator.call(this,node);node.ConditionClause==null||this._position=node.ConditionClause.TextStart&&(this._binder._rightRowScope=Bridge.as(node.Expression.ResultType,Kusto.Language.Symbols.TableSymbol))},VisitLookupOperator:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitLookupOperator.call(this,node);this._position=node.InClause.End)&&(this._binder._rowScope=this._binder.GetFindColumnsTable(node))},VisitSearchOperator:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitSearchOperator.call(this,node);this._position>=node.Condition.TextStart&&(this._binder._rowScope=this._binder.GetSearchColumnsTable(node));node.InClause!=null&&this._position>=node.InClause.TextStart&&(this._binder._rowScope=null)},VisitMvApplyOperator:function(node){if(Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitMvApplyOperator.call(this,node),this._position>=node.OnKeyword.TextStart){var info=new Kusto.Language.Binding.Binder.NodeBinder(this._binder).VisitMvApplyOperator(node);this._binder._rowScope=Bridge.as(info!=null?info.ResultType:null,Kusto.Language.Symbols.TableSymbol)}},VisitInvokeOperator:function(node){Kusto.Language.Syntax.DefaultSyntaxVisitor.prototype.VisitInvokeOperator.call(this,node);node.Function!=null&&!node.Function.IsMissing&&this._position>node.Function.TextStart&&(this._binder._rowScope=null)},VisitCustomCommand:function(node){var nearestTableRef=System.Linq.Enumerable.from(node.GetDescendants(Kusto.Language.Syntax.NameReference,function(nr){return Bridge.is(nr.ReferencedSymbol,Kusto.Language.Symbols.TableSymbol)})).where(Bridge.fn.bind(this,function(nr){return nr.End<=this._position})).lastOrDefault(null,null);nearestTableRef!=null&&(this._binder._rowScope=Bridge.cast(nearestTableRef.ReferencedSymbol,Kusto.Language.Symbols.TableSymbol))}}});Bridge.define("Kusto.Language.Binding.Binder.NodeBinder",{inherits:[Kusto.Language.Syntax.SyntaxVisitor$1(Kusto.Language.Syntax.SemanticInfo)],$kind:"nested class",statics:{fields:{toScalarKind:null,toTableKind:null,s_SummarizeParameters:null,s_ConsumeStatsSchema:null,s_ConsumeParameters:null,s_AsParameters:null,s_PartitionParameters:null,s_SearchParameters:null,s_FindParameters:null,s_UnionParameters:null,s_JoinParameters:null,s_MvExpandParameters:null,s_MvApplyParameters:null,s_ReduceColumns:null,s_ReduceQueryParameters:null,s_ReduceWithParameters:null,s_RenderKindProperty:null,s_RenderTitleProperty:null,s_RenderAccumulateProperty:null,s_RenderProperties:null,s_ParseParameters:null,s_GetSchemaSchema:null,s_GetSchemaInfo:null},ctors:{init:function(){this.toScalarKind=new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ToScalarKinds,!1);this.toTableKind=new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ToTableKinds,!1);this.s_SummarizeParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotShuffleKeyKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Column,!0,void 0,!0),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotNumPartitions),Kusto.Language.Binding.Binder.QueryParameterKind.Integer,!0,void 0,!1)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_ConsumeStatsSchema=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("Stats",Kusto.Language.Symbols.ScalarTypes.Dynamic)]);this.s_ConsumeParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("decodeblocks",Kusto.Language.Binding.Binder.QueryParameterKind.BoolLiteral,!0,void 0,!1)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_AsParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotMaterializedKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.BoolLiteral)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_PartitionParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor5(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotConcurrencyKeyword),System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor1(Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.JoinHintRemotes),new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor1(Kusto.Language.Binding.Binder.QueryParameterKind.Number)],Kusto.Language.Binding.Binder.QueryParameterValueInfo)),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor5(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotSpreadKeyword),System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor1(Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.JoinHintRemotes),new Kusto.Language.Binding.Binder.QueryParameterValueInfo.$ctor1(Kusto.Language.Binding.Binder.QueryParameterKind.Number)],Kusto.Language.Binding.Binder.QueryParameterValueInfo)),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotMaterializedKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.BoolLiteral)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_SearchParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.SearchKinds,!1)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_FindParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.KustoFacts.FindWithSourceProperty,Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclaration)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_UnionParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.UnionKinds,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.ctor(System.Array.init(["withsource","with_source"],System.String),Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclaration),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.IsFuzzyKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.BoolLiteral)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_JoinParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.JoinKinds,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotRemoteKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.JoinHintRemotes,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotShuffleKeyKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Column,!0,void 0,!0),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotStrategyKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.JoinHintStrategies,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.HintDotNumPartitions),Kusto.Language.Binding.Binder.QueryParameterKind.Integer,!0,void 0,!1)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_MvExpandParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.KustoFacts.MvExpandBagExpansionProperty,Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.MvExpandBagExpansions,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.KustoFacts.MvExpandWithItemIndexProperty,Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclaration)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_MvApplyParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.KustoFacts.MvApplyWithItemIndexProperty,Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclaration)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_ReduceColumns=System.Array.init([new Kusto.Language.Symbols.ColumnSymbol("Pattern",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("Count",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("Representative",Kusto.Language.Symbols.ScalarTypes.String)],Kusto.Language.Symbols.ColumnSymbol);this.s_ReduceQueryParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,System.Array.init(["source"],System.String),!1)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_ReduceWithParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.ThresholdKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Number),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor4(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.CharactersKeyword),Kusto.Language.Symbols.ScalarTypes.String)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_RenderKindProperty=new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ChartKinds,!1);this.s_RenderTitleProperty=new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor4(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.TitleKeyword),Kusto.Language.Symbols.ScalarTypes.String);this.s_RenderAccumulateProperty=new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.AccumulateKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.BoolLiteral);this.s_RenderProperties=System.Array.init([Kusto.Language.Binding.Binder.NodeBinder.s_RenderKindProperty,Kusto.Language.Binding.Binder.NodeBinder.s_RenderTitleProperty,Kusto.Language.Binding.Binder.NodeBinder.s_RenderAccumulateProperty,new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("xcolumn",Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclaration),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("ycolumns",Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclarationList),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("anomalycolumns",Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclarationList),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("series",Kusto.Language.Binding.Binder.QueryParameterKind.NameDeclarationList),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("xtitle",Kusto.Language.Binding.Binder.QueryParameterKind.StringLiteral),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("ytitle",Kusto.Language.Binding.Binder.QueryParameterKind.StringLiteral),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("xaxis",Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ChartAxis,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("yaxis",Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ChartAxis,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("legend",Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ChartLegends,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("ysplit",Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ChartYSplit,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("ymin",Kusto.Language.Binding.Binder.QueryParameterKind.Number),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3("ymax",Kusto.Language.Binding.Binder.QueryParameterKind.Number)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_ParseParameters=System.Array.init([new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.KindKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier,!0,Kusto.Language.KustoFacts.ParseKinds,!1),new Kusto.Language.Binding.Binder.QueryParameterInfo.$ctor3(Kusto.Language.Syntax.SyntaxFacts.GetText(Kusto.Language.Syntax.SyntaxKind.FlagsKeyword),Kusto.Language.Binding.Binder.QueryParameterKind.Identifier)],Kusto.Language.Binding.Binder.QueryParameterInfo);this.s_GetSchemaSchema=new Kusto.Language.Symbols.TableSymbol.ctor([new Kusto.Language.Symbols.ColumnSymbol("ColumnName",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ColumnOrdinal",Kusto.Language.Symbols.ScalarTypes.Long),new Kusto.Language.Symbols.ColumnSymbol("DataType",Kusto.Language.Symbols.ScalarTypes.String),new Kusto.Language.Symbols.ColumnSymbol("ColumnType",Kusto.Language.Symbols.ScalarTypes.String)]);this.s_GetSchemaInfo=new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Binding.Binder.NodeBinder.s_GetSchemaSchema)}},methods:{IsArgument:function(e){var se,list,el;return(se=Bridge.as(e.Parent,Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)))!=null&&(list=Bridge.as(se.Parent,Kusto.Language.Syntax.SyntaxList))!=null&&(el=Bridge.as(list.Parent,Kusto.Language.Syntax.ExpressionList))!=null&&Bridge.is(el.Parent,Kusto.Language.Syntax.FunctionCallExpression)},IsLeftOperand:function(e){var be;return(be=Bridge.as(e.Parent,Kusto.Language.Syntax.BinaryExpression))!=null&&Bridge.referenceEquals(be.Left,e)},IsSecondaryPipeOperator:function(queryOp){var pe;return(pe=Bridge.as(queryOp.Parent,Kusto.Language.Syntax.PipeExpression))!=null&&Bridge.referenceEquals(pe.Operator,queryOp)||Kusto.Language.Binding.Binder.NodeBinder.IsChildOfPipeStartingExpression(queryOp)},IsChildOfPipeStartingExpression:function(expr){var fce,pce,mvas,fwce,pe;return(fce=Bridge.as(expr.Parent,Kusto.Language.Syntax.ForkExpression))!=null&&Bridge.referenceEquals(fce.Expression,expr)||(pce=Bridge.as(expr.Parent,Kusto.Language.Syntax.PartitionExpression))!=null&&Bridge.referenceEquals(pce.Expression,expr)&&pce.IsSubquery||(mvas=Bridge.as(expr.Parent,Kusto.Language.Syntax.MvApplySubqueryExpression))!=null&&Bridge.referenceEquals(mvas.Expression,expr)||(fwce=Bridge.as(expr.Parent,Kusto.Language.Syntax.FacetWithExpressionClause))!=null&&Bridge.referenceEquals(fwce.Expression,expr)||(pe=Bridge.as(expr.Parent,Kusto.Language.Syntax.Expression))!=null&&Kusto.Language.Binding.Binder.NodeBinder.IsChildOfPipeStartingExpression(pe)}}},fields:{_binder:null},props:{RowScopeOrEmpty:{get:function(){return this._binder._rowScope||Kusto.Language.Symbols.TableSymbol.Empty}},RightRowScopeOrEmpty:{get:function(){return this._binder._rightRowScope||Kusto.Language.Symbols.TableSymbol.Empty}}},ctors:{ctor:function(binder){this.$initialize();Kusto.Language.Syntax.SyntaxVisitor$1(Kusto.Language.Syntax.SemanticInfo).ctor.call(this);this._binder=binder}},methods:{VisitNameAndTypeDeclaration:function(){return Kusto.Language.Binding.Binder.VoidInfo},VisitFunctionDeclaration:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor3(this.CreateFunctionSymbol(node))},VisitFunctionParameter:function(node){var diagnostics,type;if(node.DefaultValue!=null){diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{if(type=this._binder.GetTypeFromTypeExpression(node.NameAndType.Type),type==null||type.IsError||this._binder.CheckIsLiteralValue(node.DefaultValue.Value,diagnostics)&&this._binder.CheckIsType(node.DefaultValue.Value,type,Kusto.Language.Binding.Conversion.Compatible,diagnostics),diagnostics.Count>0)return new Kusto.Language.Syntax.SemanticInfo.$ctor4(diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}}return null},VisitDefaultValueDeclaration:function(){return null},VisitFunctionBody:function(){return null},VisitFunctionParameters:function(){return null},CreateFunctionSymbol:function(decl){var $t,$t1,name,ls,parameters,i,fp,isOptional,p,fs,cs;do{if($t=decl.Parent,Bridge.is($t,Kusto.Language.Syntax.LetStatement)){ls=Bridge.cast($t,Kusto.Language.Syntax.LetStatement);name=ls.Name.SimpleName;break}name="";break}while(0);for(parameters=new(System.Collections.Generic.List$1(Kusto.Language.Symbols.Parameter).ctor),i=0;i0?(col=System.Array.getItem(table.Columns,0,Kusto.Language.Symbols.ColumnSymbol),new Kusto.Language.Syntax.SemanticInfo.$ctor3(col.Type,dx)):(dx.add(Kusto.Language.DiagnosticFacts.GetTableHasNoColumns().WithLocation(node.Expression)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ErrorSymbol.Instance,dx)):Bridge.is(resultType,Kusto.Language.Symbols.ScalarSymbol)?new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType,dx):(dx.add(Kusto.Language.DiagnosticFacts.GetTableOrScalarExpected().WithLocation(node.Expression)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ErrorSymbol.Instance,dx))}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(dx)}},VisitToTableExpression:function(node){var dx=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),table;try{return(node.KindParameter!=null&&this._binder.CheckQueryParameter(node.KindParameter,Kusto.Language.Binding.Binder.NodeBinder.toTableKind,dx),this._binder.CheckIsTabular(node.Expression,dx))?(table=Bridge.cast(this._binder.GetResultType(node.Expression),Kusto.Language.Symbols.TableSymbol),new Kusto.Language.Syntax.SemanticInfo.$ctor3(table,dx)):new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ErrorSymbol.Instance,dx)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(dx)}},VisitTokenName:function(){return null},VisitBrackettedName:function(){return null},VisitBracedName:function(){return null},VisitWildcardedName:function(){return null},VisitNameReference:function(node){var $t,_discard1,_discard2,wc,_discard3;do{if($t=node.Name,Bridge.is($t,Kusto.Language.Syntax.TokenName))return _discard1=Bridge.cast($t,Kusto.Language.Syntax.TokenName),this._binder.BindName(node.SimpleName,node.Match,node);if(Bridge.is($t,Kusto.Language.Syntax.BrackettedName))return _discard2=Bridge.cast($t,Kusto.Language.Syntax.BrackettedName),this._binder.BindName(node.SimpleName,node.Match,node);if(Bridge.is($t,Kusto.Language.Syntax.WildcardedName))return wc=Bridge.cast($t,Kusto.Language.Syntax.WildcardedName),this.VisitWildcardedNameReference(node,wc);if(Bridge.is($t,Kusto.Language.Syntax.BracedName))return _discard3=Bridge.cast($t,Kusto.Language.Syntax.BracedName),new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ScalarTypes.Dynamic);throw new System.NotImplementedException.ctor;}while(0)},VisitWildcardedNameReference:function(node,wc){var list=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool(),matchingList=Kusto.Language.Binding.Binder.s_symbolListPool.AllocateFromPool();try{return this._binder.GetSymbolsInContext(node,11,Kusto.Language.IncludeFunctionKind.All,list),Kusto.Language.Binding.Binder.GetWildcardSymbols(wc.Pattern.Text,list,matchingList),matchingList.Count===1?Kusto.Language.Binding.Binder.CreateSemanticInfo(matchingList.getItem(0)):matchingList.Count>1?Kusto.Language.Binding.Binder.CreateSemanticInfo(new Kusto.Language.Symbols.GroupSymbol.$ctor1(matchingList)):new Kusto.Language.Syntax.SemanticInfo.$ctor2(Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetNameDoesNotReferToAnyKnownItem(wc.Pattern.Text).WithLocation(node))}finally{Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(list);Kusto.Language.Binding.Binder.s_symbolListPool.ReturnToPool(matchingList)}},VisitBrackettedExpression:function(node){var selectorType=this._binder.GetResultTypeOrError(node.Expression),nr,wc,ce,nr1,wc1,ce1;return selectorType.IsError?Kusto.Language.Binding.Binder.ErrorInfo:node.IsElementSelector?this._binder._pathScope==null||this._binder._pathScope.IsError?Kusto.Language.Binding.Binder.ErrorInfo:Bridge.referenceEquals(this._binder._pathScope,Kusto.Language.Symbols.ScalarTypes.Dynamic)?Kusto.Language.Binding.Binder.IsInteger(selectorType)||Kusto.Language.Binding.Binder.IsStringOrDynamic(selectorType)?new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ScalarTypes.Dynamic):new Kusto.Language.Syntax.SemanticInfo.ctor(null,Kusto.Language.Symbols.ScalarTypes.Dynamic,Kusto.Language.DiagnosticFacts.GetExpressionMustHaveType([Kusto.Language.Symbols.ScalarTypes.Int,Kusto.Language.Symbols.ScalarTypes.Long,Kusto.Language.Symbols.ScalarTypes.String]).WithLocation(node.Expression)):new Kusto.Language.Syntax.SemanticInfo.ctor(null,Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetTheElementAccessOperatorIsNotAllowedInThisContext().WithLocation(node)):node.IsPathSelector?this._binder._pathScope==null||this._binder._pathScope.IsError?Kusto.Language.Binding.Binder.ErrorInfo:(nr=Bridge.as(node.Expression,Kusto.Language.Syntax.NameReference))!=null&&(wc=Bridge.as(nr.Name,Kusto.Language.Syntax.WildcardedName))!=null?new Kusto.Language.Syntax.SemanticInfo.$ctor1(this._binder.GetReferencedSymbol(nr),this._binder.GetResultTypeOrError(nr)):(ce=Bridge.as(node.Expression,Kusto.Language.Syntax.ConditionedExpression))!=null?Kusto.Language.Binding.Binder.ErrorInfo:Bridge.referenceEquals(selectorType,Kusto.Language.Symbols.ScalarTypes.String)?node.Expression.IsLiteral?Bridge.referenceEquals(this._binder._pathScope,Kusto.Language.Symbols.ScalarTypes.Dynamic)?new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ScalarTypes.Dynamic):this._binder.BindName(Bridge.cast(node.Expression.LiteralValue,System.String),Kusto.Language.Symbols.SymbolMatch.Default,node.Expression):new Kusto.Language.Syntax.SemanticInfo.ctor(null,Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetExpressionMustBeLiteral().WithLocation(node.Expression)):new Kusto.Language.Syntax.SemanticInfo.ctor(null,Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetExpressionMustHaveType([Kusto.Language.Symbols.ScalarTypes.String]).WithLocation(node.Expression)):(nr1=Bridge.as(node.Expression,Kusto.Language.Syntax.NameReference))!=null&&(wc1=Bridge.as(nr1.Name,Kusto.Language.Syntax.WildcardedName))!=null?new Kusto.Language.Syntax.SemanticInfo.$ctor1(this._binder.GetReferencedSymbol(nr1),this._binder.GetResultTypeOrError(nr1)):(ce1=Bridge.as(node.Expression,Kusto.Language.Syntax.ConditionedExpression))!=null?Kusto.Language.Binding.Binder.ErrorInfo:Bridge.referenceEquals(selectorType,Kusto.Language.Symbols.ScalarTypes.String)?node.Expression.IsLiteral?this._binder.BindName(Bridge.cast(node.Expression.LiteralValue,System.String),Kusto.Language.Symbols.SymbolMatch.Default,node.Expression):new Kusto.Language.Syntax.SemanticInfo.ctor(null,Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetExpressionMustBeLiteral().WithLocation(node.Expression)):new Kusto.Language.Syntax.SemanticInfo.ctor(null,Kusto.Language.Symbols.ErrorSymbol.Instance,Kusto.Language.DiagnosticFacts.GetExpressionMustHaveType([Kusto.Language.Symbols.ScalarTypes.String]).WithLocation(node.Expression))},VisitPathExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(this._binder.GetReferencedSymbol(node.Selector),this._binder.GetResultTypeOrError(node.Selector))},VisitElementExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(this._binder.GetReferencedSymbol(node.Selector),this._binder.GetResultTypeOrError(node.Selector))},VisitFunctionCallExpression:function(node){return this._binder.BindFunctionCallOrPattern(node)},VisitParenthesizedExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,this._binder.GetResultTypeOrError(node.Expression))},VisitOrderedExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(this._binder.GetReferencedSymbol(node.Expression),this._binder.GetResultTypeOrError(node.Expression))},VisitSimpleNamedExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,this._binder.GetResultTypeOrError(node.Expression))},VisitCompoundNamedExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,this._binder.GetResultTypeOrError(node.Expression))},VisitPipeExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,this._binder.GetResultTypeOrError(node.Operator))},VisitAtExpression:function(){return null},VisitConditionedExpression:function(){return null},VisitDataScopeExpression:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{return this._binder.CheckIsTabular(node.Expression,diagnostics),new Kusto.Language.Syntax.SemanticInfo.$ctor3(this._binder.GetResultTypeOrError(node.Expression),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitExpressionCouple:function(){return null},VisitExpressionList:function(){return null},VisitForkExpression:function(node){var resultType=this._binder.GetResultTypeOrError(node.Expression),table;return node.NameEquals!=null&&(table=Bridge.as(resultType,Kusto.Language.Symbols.TableSymbol))!=null&&(resultType=table.WithColumns$1(this._binder.GetDeclaredAndInferredColumns(table)).WithName(node.NameEquals.Name.SimpleName)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType)},VisitPartitionExpression:function(node){var resultType=this._binder.GetResultTypeOrError(node.Expression),table;return(table=Bridge.as(resultType,Kusto.Language.Symbols.TableSymbol))!=null&&(resultType=table.WithColumns$1(this._binder.GetDeclaredAndInferredColumns(table))),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType)},VisitJsonArrayExpression:function(){return Kusto.Language.Binding.Binder.LiteralDynamicInfo},VisitJsonObjectExpression:function(){return Kusto.Language.Binding.Binder.LiteralDynamicInfo},VisitJsonPair:function(){return null},VisitList:function(){return null},VisitSeparatedElement:function(){return null},VisitMakeSeriesExpression:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor3(this._binder.GetResultTypeOrError(node.Expression))},VisitNamedParameter:function(){return null},VisitPackExpression:function(){return null},VisitPatternMatch:function(){return null},VisitPatternPathValue:function(){return null},VisitPatternPathParameter:function(){return null},VisitPrimitiveTypeExpression:function(node){var dx=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),type;try{return type=this._binder.GetTypeFromTypeExpression(node,dx),new Kusto.Language.Syntax.SemanticInfo.$ctor1(type,Kusto.Language.Symbols.VoidSymbol.Instance,dx)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(dx)}},VisitSchemaTypeExpression:function(node){var dx=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),type;try{return type=this._binder.GetTypeFromTypeExpression(node,dx),new Kusto.Language.Syntax.SemanticInfo.$ctor1(type,Kusto.Language.Symbols.VoidSymbol.Instance,dx)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(dx)}},VisitQueryBlock:function(){return null},VisitSkippedTokens:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{return node.Tokens.Count>0&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetIncompleteFragment().WithLocation(node.Tokens.getItem$1(0))),new Kusto.Language.Syntax.SemanticInfo.$ctor3(null,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitRenameList:function(){return null},VisitRenderNameList:function(){return null},VisitStarExpression:function(node){if(Kusto.Language.Binding.Binder.NodeBinder.IsArgument(node)){var columns=this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty),refSymbol=new Kusto.Language.Symbols.GroupSymbol.$ctor1(columns),resultSymbol=new Kusto.Language.Symbols.TupleSymbol.$ctor1(columns);return new Kusto.Language.Syntax.SemanticInfo.$ctor1(refSymbol,resultSymbol)}return Kusto.Language.Binding.Binder.NodeBinder.IsLeftOperand(node)?new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ScalarTypes.Dynamic):null},VisitTypedColumnReference:function(node){return new Kusto.Language.Syntax.SemanticInfo.$ctor3(this._binder.GetResultTypeOrError(node.Column))},VisitCustom:function(){return null},CheckFirstInPipe:function(queryOp,diagnostics){Kusto.Language.Binding.Binder.NodeBinder.IsSecondaryPipeOperator(queryOp)&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetQueryOperatorMustBeFirst().WithLocation(queryOp.GetChild(0)||queryOp))},CheckNotFirstInPipe:function(queryOp,diagnostics){Kusto.Language.Binding.Binder.NodeBinder.IsSecondaryPipeOperator(queryOp)||diagnostics.add(Kusto.Language.DiagnosticFacts.GetQueryOperatorCannotBeFirst().WithLocation(queryOp.GetChild(0)||queryOp))},VisitBadQueryOperator:function(){return Kusto.Language.Binding.Binder.ErrorInfo},VisitFilterOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),resultTable;try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckIsExactType(node.Condition,Kusto.Language.Symbols.ScalarTypes.Bool,diagnostics),resultTable=this.RowScopeOrEmpty.WithColumns$1(this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultTable,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitTakeOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),resultTable;try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckIsInteger(node.Expression,diagnostics),resultTable=this.RowScopeOrEmpty.WithColumns$1(this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty)).Unsorted(),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultTable,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitSampleOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),resultTable;try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckIsInteger(node.Expression,diagnostics),resultTable=this.RowScopeOrEmpty.WithColumns$1(this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty)).Unsorted(),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultTable,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitSampleDistinctOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),name,result;try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckIsInteger(node.Expression,diagnostics),this._binder.CheckIsColumn(node.OfExpression,diagnostics),name=Kusto.Language.Binding.Binder.GetExpressionResultName(node.OfExpression,"Column1"),result=this.RowScopeOrEmpty.WithColumns([new Kusto.Language.Symbols.ColumnSymbol(name,this._binder.GetResultTypeOrError(node.OfExpression))]).Unsorted(),new Kusto.Language.Syntax.SemanticInfo.$ctor3(result,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitCountOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),name;try{return this.CheckNotFirstInPipe(node,diagnostics),node.AsIdentifier!=null?(name=node.AsIdentifier.Identifier.Text,new Kusto.Language.Syntax.SemanticInfo.$ctor3(this.RowScopeOrEmpty.WithColumns([new Kusto.Language.Symbols.ColumnSymbol(name,Kusto.Language.Symbols.ScalarTypes.Long)]),diagnostics)):new Kusto.Language.Syntax.SemanticInfo.$ctor3(this.RowScopeOrEmpty.WithColumns([new Kusto.Language.Symbols.ColumnSymbol("Count",Kusto.Language.Symbols.ScalarTypes.Long)]),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitProjectOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool();try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CreateProjectionColumns$1(node.Expressions,builder,diagnostics),new Kusto.Language.Syntax.SemanticInfo.$ctor3(this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitProjectAwayOperator:function(node){var $t,diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),columns=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool(),namesToRemove,column,resultType,info;try{this.CheckNotFirstInPipe(node,diagnostics);this._binder.GetColumnsInColumnList(node.Expressions,columns,diagnostics);namesToRemove=new(System.Collections.Generic.HashSet$1(System.String).$ctor1)(System.Linq.Enumerable.from(columns).select(function(c){return c.Name}));columns.clear();$t=Bridge.getEnumerator(this.RowScopeOrEmpty.Members,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())column=Bridge.cast($t.Current,Kusto.Language.Symbols.ColumnSymbol),namesToRemove.contains(column.Name)||columns.add(column)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return resultType=this.RowScopeOrEmpty.WithColumns$1(columns),info=new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType,diagnostics),info}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_columnListPool.ReturnToPool(columns)}},VisitProjectRenameOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool(),resultType,info;try{return this.CheckNotFirstInPipe(node,diagnostics),builder.AddRange(this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty),!0,!0),this._binder.CreateProjectionColumns$1(node.Expressions,builder,diagnostics,!0,!1,!1,!1,!1,!1),resultType=this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()),info=new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType,diagnostics),info}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitProjectReorderOperator:function(node){var $t,diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool(),col,resultTable,info;try{this.CheckNotFirstInPipe(node,diagnostics);this._binder.CreateProjectionColumns$1(node.Expressions,builder,diagnostics,!1,!1,!0,!1,!1,!0);$t=Bridge.getEnumerator(this.RowScopeOrEmpty.Columns,Kusto.Language.Symbols.ColumnSymbol);try{while($t.moveNext())col=$t.Current,builder.Add(col)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return resultTable=this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()).Sorted(),info=new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultTable,diagnostics),info}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitExtendOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool(),resultType,info;try{return this.CheckNotFirstInPipe(node,diagnostics),builder.AddRange(this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty),!1,!0),this._binder.CreateProjectionColumns$1(node.Expressions,builder,diagnostics,!1,!1,!1,!0,!1,!1),resultType=this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()),info=new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType,diagnostics),info}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitSummarizeOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool(),resultType;try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckQueryParameters(node.Parameters,Kusto.Language.Binding.Binder.NodeBinder.s_SummarizeParameters,diagnostics),node.ByClause!=null&&this._binder.CreateProjectionColumns$1(node.ByClause.Expressions,builder,diagnostics,!1,!1,!1,!1,!1,!0),this._binder.CreateProjectionColumns$1(node.Aggregates,builder,diagnostics,!1,!1,!1,!1,!0,!1),resultType=this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()).Unsorted(),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultType,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitDistinctOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool();try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CreateProjectionColumns$1(node.Expressions,builder,diagnostics),new Kusto.Language.Syntax.SemanticInfo.$ctor3(this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()).Unsorted(),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitTopOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),resultTable;try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckIsInteger(node.Expression,diagnostics),this._binder.CheckIsColumn(node.ByExpression,diagnostics),resultTable=this.RowScopeOrEmpty.WithColumns$1(this._binder.GetDeclaredAndInferredColumns(this.RowScopeOrEmpty)).Sorted(),new Kusto.Language.Syntax.SemanticInfo.$ctor3(resultTable,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitTopHittersOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),builder=Kusto.Language.Binding.Binder.s_projectionBuilderPool.AllocateFromPool();try{return this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckIsInteger(node.Expression,diagnostics),this._binder.CheckIsColumn(node.OfExpression,diagnostics),this._binder.CreateProjectionColumns(node.OfExpression,builder,diagnostics),node.ByClause!=null?(this._binder.CheckIsNumber(node.ByClause.Expression,diagnostics),builder.Add(new Kusto.Language.Symbols.ColumnSymbol("approximate_sum_"+(Kusto.Language.Binding.Binder.GetExpressionResultName(node.ByClause.Expression)||""),this._binder.GetResultTypeOrError(node.ByClause.Expression)))):builder.Add(new Kusto.Language.Symbols.ColumnSymbol("approximate_count_"+(Kusto.Language.Binding.Binder.GetExpressionResultName(node.OfExpression)||""),Kusto.Language.Symbols.ScalarTypes.Long)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(this.RowScopeOrEmpty.WithColumns$1(builder.GetProjection()).Sorted(),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_projectionBuilderPool.ReturnToPool(builder)}},VisitTopNestedOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),columns=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool(),uniqueNames=Kusto.Language.Binding.Binder.s_uniqueNameTablePool.AllocateFromPool(),i,n,clause,name;try{for(this.CheckNotFirstInPipe(node,diagnostics),i=0,n=node.Clauses.Count;i0)if(Bridge.is(node.ProjectAway.Columns.getItem$1(0).Element$1,Kusto.Language.Syntax.StarExpression))columns.RemoveAll(function(c1){return!Bridge.referenceEquals(c1.Name,sourceColumnName)&&!Bridge.referenceEquals(c1.Name,"pack_")});else{columnNamesToRemove=Kusto.Language.Binding.Binder.s_stringSetPool.AllocateFromPool();try{for(i1=0;i10&&(columns.AddRange(unifiedTable.Columns),result=new Kusto.Language.Symbols.TableSymbol.$ctor2(columns)),new Kusto.Language.Syntax.SemanticInfo.$ctor3(result.Unsorted(),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_columnListPool.ReturnToPool(columns);Kusto.Language.Binding.Binder.s_tableListPool.ReturnToPool(tables)}},VisitLookupOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),columns=Kusto.Language.Binding.Binder.s_columnListPool.AllocateFromPool(),joinOnClause,i,n,expr,exprTable,result;try{for(this.CheckNotFirstInPipe(node,diagnostics),this._binder.CheckQueryParameters(node.Parameters,Kusto.Language.Binding.Binder.NodeBinder.s_JoinParameters,diagnostics),this._binder.CheckIsTabular(node.Expression,diagnostics),joinOnClause=Bridge.cast(node.LookupClause,Kusto.Language.Syntax.JoinOnClause),i=0,n=joinOnClause.Expressions.Count;i0&&(prevPart=node.Patterns.getItem$1(i-1|0),(prevPart.Kind===Kusto.Language.Syntax.SyntaxKind.NameDeclaration||prevPart.Kind===Kusto.Language.Syntax.SyntaxKind.BrackettedExpression||(nat=Bridge.as(prevPart,Kusto.Language.Syntax.NameAndTypeDeclaration))!=null&&(pt=Bridge.as(nat.Type,Kusto.Language.Syntax.PrimitiveTypeExpression))!=null&&Bridge.referenceEquals(Kusto.Language.Binding.Binder.GetType(pt),Kusto.Language.Symbols.ScalarTypes.String))&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetParsePatternUsingStarAfterStringColumnIsAmbiguous().WithLocation(part)));break;case Kusto.Language.Syntax.SyntaxKind.NameDeclaration:case Kusto.Language.Syntax.SyntaxKind.NameAndTypeDeclaration:i>0&&(prevPart1=node.Patterns.getItem$1(i-1|0),prevPart1.Kind!==Kusto.Language.Syntax.SyntaxKind.StringLiteralExpression&&prevPart1.Kind!==Kusto.Language.Syntax.SyntaxKind.CompoundStringLiteralExpression&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetParsePatternNameDoesNotFollowStringLiteral().WithLocation(part)));break;default:diagnostics.add(Kusto.Language.DiagnosticFacts.GetInvalidPatternPart().WithLocation(part))}do{if(Bridge.is(part,Kusto.Language.Syntax.NameDeclaration)){nd=Bridge.cast(part,Kusto.Language.Syntax.NameDeclaration);Kusto.Language.Binding.Binder.DeclareColumnName(declaredNames,nd.SimpleName,diagnostics,nd)&&columns.add(new Kusto.Language.Symbols.ColumnSymbol(nd.SimpleName,Kusto.Language.Symbols.ScalarTypes.String));break}if(Bridge.is(part,Kusto.Language.Syntax.NameAndTypeDeclaration)){nat1=Bridge.cast(part,Kusto.Language.Syntax.NameAndTypeDeclaration);Kusto.Language.Binding.Binder.CreateColumnsFromSchema(nat1,columns,declaredNames,diagnostics);break}}while(0)}return result=this.RowScopeOrEmpty.WithColumns$1(columns),new Kusto.Language.Syntax.SemanticInfo.$ctor3(result,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics);Kusto.Language.Binding.Binder.s_columnListPool.ReturnToPool(columns);Kusto.Language.Binding.Binder.s_stringSetPool.ReturnToPool(declaredNames)}},VisitInvokeOperator:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{return this.CheckNotFirstInPipe(node,diagnostics),new Kusto.Language.Syntax.SemanticInfo.$ctor3(this._binder.GetResultTypeOrError(node.Function),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitEvaluateOperator:function(node){var call=node.FunctionCall,diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{return new Kusto.Language.Syntax.SemanticInfo.$ctor3(this._binder.GetResultTypeOrError(node.FunctionCall),diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitGetSchemaOperator:function(){return Kusto.Language.Binding.Binder.NodeBinder.s_GetSchemaInfo},VisitCountAsIdentifierClause:function(){return null},VisitDataScopeClause:function(){return null},VisitDefaultExpressionClause:function(){return null},VisitExternalDataWithClause:function(){return null},VisitFacetWithOperatorClause:function(){return null},VisitFacetWithExpressionClause:function(){return null},VisitFindInClause:function(){return null},VisitFindProjectClause:function(){return null},VisitJoinOnClause:function(){return null},VisitJoinWhereClause:function(){return null},VisitMakeSeriesByClause:function(){return null},VisitMakeSeriesInRangeClause:function(){return null},VisitMakeSeriesFromToStepClause:function(){return null},VisitMakeSeriesOnClause:function(){return null},VisitMvExpandRowLimitClause:function(){return null},VisitMvApplyRowLimitClause:function(){return null},VisitMvApplyContextIdClause:function(){return null},VisitNameEqualsClause:function(){return null},VisitOrderingClause:function(){return null},VisitOrderingNullsClause:function(){return null},VisitReduceByWithClause:function(){return null},VisitRenderWithClause:function(){return null},VisitSummarizeByClause:function(){return null},VisitTopHittersByClause:function(){return null},VisitTopNestedClause:function(){return null},VisitTopNestedWithOthersClause:function(){return null},VisitToTypeOfClause:function(){return null},VisitAliasStatement:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{this._binder.GetResultTypeOrError(node.Expression).IsError||this._binder.CheckIsDatabase(node.Expression,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}return null},VisitExpressionStatement:function(){return null},VisitLetStatement:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool(),ts;try{return((ts=Bridge.as(this._binder.GetResultType(node.Expression),Kusto.Language.Symbols.TupleSymbol))!=null&&diagnostics.add(Kusto.Language.DiagnosticFacts.GetMultiValuedExpressionCannotBeAssignedToVariable().WithLocation(node.Expression)),diagnostics.Count>0)?new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,null,diagnostics):null}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}},VisitQueryParametersStatement:function(){return null},VisitRestrictStatement:function(){return null},VisitSetOptionStatement:function(node){var diagnostics=Kusto.Language.Binding.Binder.s_diagnosticListPool.AllocateFromPool();try{if(this._binder.CheckIsIdentifierNameDeclaration(node.Name,diagnostics),node.ValueClause!=null&&this._binder.CheckIsLiteralOrName(node.ValueClause.Expression,diagnostics),diagnostics.Count>0)return new Kusto.Language.Syntax.SemanticInfo.$ctor1(null,null,diagnostics)}finally{Kusto.Language.Binding.Binder.s_diagnosticListPool.ReturnToPool(diagnostics)}return null},VisitOptionValueClause:function(){return null},VisitCommandWithValueClause:function(){return null},VisitCommandWithPropertyListClause:function(){return null},VisitBadCommand:function(){return null},VisitCommandBlock:function(){return null},VisitCustomCommand:function(node){var commandSymbol=this._binder._globals.GetCommand(node.CommandKind);return new Kusto.Language.Syntax.SemanticInfo.$ctor1(commandSymbol,commandSymbol.Type)},VisitUnknownCommand:function(){return null},VisitCommandInputExpression:function(){return null},VisitDirectiveBlock:function(){return null}}});Bridge.define("Kusto.Language.Binding.Binder.SearchPredicateBinder",{inherits:[Kusto.Language.Syntax.DefaultSyntaxVisitor],$kind:"nested class",fields:{_binder:null,_treeBinder:null},props:{RowScopeOrEmpty:{get:function(){return this._binder._rowScope||Kusto.Language.Symbols.TableSymbol.Empty}}},ctors:{ctor:function(binder,treeBinder){this.$initialize();Kusto.Language.Syntax.DefaultSyntaxVisitor.ctor.call(this);this._binder=binder;this._treeBinder=treeBinder}},methods:{DefaultVisit:function(node){node.Visit$2(this._treeBinder)},VisitStarExpression:function(node){this._binder.SetSemanticInfo(node,new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ScalarTypes.Dynamic))},VisitLiteralExpression:function(node){node.Kind===Kusto.Language.Syntax.SyntaxKind.StringLiteralExpression?this._binder.SetSemanticInfo(node,new Kusto.Language.Syntax.SemanticInfo.$ctor3(Kusto.Language.Symbols.ScalarTypes.Bool)):node.Visit$2(this._treeBinder)},VisitParenthesizedExpression:function(node){node.Expression.Visit$2(this);this._binder.SetSemanticInfo(node,new Kusto.Language.Syntax.SemanticInfo.$ctor3(node.Expression.ResultType))},VisitBinaryExpression:function(node){var opKind=Kusto.Language.Binding.Binder.GetOperatorKind(node.Kind),info;switch(opKind){case Kusto.Language.Symbols.OperatorKind.And:case Kusto.Language.Symbols.OperatorKind.Or:node.Left.Visit$2(this);node.Right.Visit$2(this);info=this._binder.GetBinaryOperatorInfo$1(opKind,node.Left,node.Right,node.Operator);this._binder.SetSemanticInfo(node,info);break;default:node.Visit$2(this._treeBinder)}}}});Bridge.define("Kusto.Language.Binding.Binder.TreeBinder",{inherits:[Kusto.Language.Syntax.DefaultSyntaxVisitor],$kind:"nested class",fields:{_binder:null,_nodeBinder:null,predicateBinder:null},ctors:{ctor:function(binder){this.$initialize();Kusto.Language.Syntax.DefaultSyntaxVisitor.ctor.call(this);this._binder=binder;this._nodeBinder=new Kusto.Language.Binding.Binder.NodeBinder(binder)}},methods:{DefaultVisit:function(node){this.VisitChildren(node);this.BindNode(node)},VisitChildren:function(node){var i,n,child;if(node!=null)for(i=0,n=node.ChildCount;i0)for(commandStatement=node.Statements.getItem$1(0).Element$1,commandStatement.Visit$2(this),command=commandStatement.GetFirstDescendant(Kusto.Language.Syntax.Command),command!=null&&(commandResults=new Kusto.Language.Symbols.VariableSymbol("$command_results",this._binder.GetResultTypeOrError(command)),this._binder._localScope.AddDeclaration(commandResults)),i=1;i0&&(i===0?builder.append(token.Trivia):builder.append(" "));builder.append(token.Text)}return builder.toString()},GetClusterReference:function(fc,location){var name={};return Bridge.referenceEquals(fc.ReferencedSymbol,Kusto.Language.Functions.Cluster)&&Kusto.Language.Editor.KustoCodeService.TryGetConstantStringArgumentValue(fc,0,name)?(location=location||fc.ArgumentList.Expressions.getItem$1(0).Element$1,new Kusto.Language.Editor.ClusterReference(name.v,location.TextStart,location.Width)):null},TryGetConstantStringArgumentValue:function(fc,index,constant){return fc.ArgumentList.Expressions.Count>index&&fc.ArgumentList.Expressions.getItem$1(index).Element$1.IsConstant?(constant.v=Bridge.as(fc.ArgumentList.Expressions.getItem$1(index).Element$1.ConstantValue,System.String),constant.v!=null):(constant.v=null,!1)}}},fields:{kind:null,globals:null,lazyUnboundCode:null,lazyBoundCode:null,codeException:null,lazyDiagnostics:null},props:{Kind:{get:function(){return this.kind}}},ctors:{$ctor2:function(text,globals,code){if(this.$initialize(),Kusto.Language.Editor.CommonCodeService.ctor.call(this,text),globals==null)throw new System.ArgumentNullException.$ctor1("globals");this.kind=Kusto.Language.KustoCode.GetKind(text);this.globals=globals;this.lazyBoundCode=code},$ctor1:function(text,globals){globals===void 0&&(globals=null);Kusto.Language.Editor.KustoCodeService.$ctor2.call(this,text,globals||Kusto.Language.GlobalState.Default,null)},ctor:function(code){Kusto.Language.Editor.KustoCodeService.$ctor2.call(this,code.Text,code.Globals,code)}},methods:{TryGetBoundOrUnboundCode:function(cancellationToken,code){if(this.lazyUnboundCode==null&&this.codeException==null){this;try{if(this.lazyBoundCode!=null)return code.v=this.lazyBoundCode,!0;var newCode=Kusto.Language.KustoCode.Parse(this.Text,this.globals);Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.Kusto.Language.KustoCode,Bridge.ref(this,"lazyUnboundCode"),newCode,null)}catch(e){e=System.Exception.create(e);this.codeException=e}}return code.v=this.lazyUnboundCode,code.v!=null},TryGetBoundCode:function(cancellationToken,code){var newCode,newCode1;if(this.lazyBoundCode==null&&this.codeException==null){this;try{this.lazyUnboundCode!=null?(newCode=this.lazyUnboundCode.Analyze(cancellationToken),Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.Kusto.Language.KustoCode,Bridge.ref(this,"lazyBoundCode"),newCode,null)):(newCode1=Kusto.Language.KustoCode.ParseAndAnalyze(this.Text,this.globals,cancellationToken),Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.Kusto.Language.KustoCode,Bridge.ref(this,"lazyBoundCode"),newCode1,null))}catch(e){e=System.Exception.create(e);this.codeException=e}}return code.v=this.lazyBoundCode,code.v!=null},IsFeatureSupported:function(feature){switch(this.Kind){case Kusto.Language.Editor.CodeKinds.Query:case Kusto.Language.Editor.CodeKinds.Command:return!0;case Kusto.Language.Editor.CodeKinds.Directive:switch(feature){case Kusto.Language.Editor.CodeServiceFeatures.Classification:return!0}return!1;default:return!1}},GetDiagnostics:function(cancellationToken){var code,ds;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),this.lazyDiagnostics==null)if(code={},this.TryGetBoundCode(cancellationToken,code))try{ds=code.v.GetDiagnostics(cancellationToken);Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Diagnostic),Bridge.ref(this,"lazyDiagnostics"),ds,null)}catch($e1){$e1=System.Exception.create($e1);Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Diagnostic),Bridge.ref(this,"lazyDiagnostics"),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Diagnostic).Instance,null)}else Kusto.Language.Utils.Interlocked.CompareExchange(Bridge.global.System.Collections.Generic.IReadOnlyList$1(Kusto.Language.Diagnostic),Bridge.ref(this,"lazyDiagnostics"),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Diagnostic).Instance,null);return this.lazyDiagnostics},GetClassifications:function(start,length,cancellationToken){var code,classifications,clientParameterClassifications,merged;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),code={},this.TryGetBoundCode(cancellationToken,code))try{return classifications=new(System.Collections.Generic.List$1(Kusto.Language.Editor.ClassifiedRange).ctor),Kusto.Language.Editor.KustoClassifier.GetClassifications(code.v.Syntax,start,length,classifications,cancellationToken),clientParameterClassifications=this.GetClientParametersClassifications(),System.Array.getCount(clientParameterClassifications,Kusto.Language.Editor.ClassifiedRange)>0?(merged=Kusto.Language.Editor.CommonCodeService.Add(classifications,clientParameterClassifications),new Kusto.Language.Editor.ClassificationInfo(merged)):new Kusto.Language.Editor.ClassificationInfo(classifications)}catch($e1){return $e1=System.Exception.create($e1),Kusto.Language.Editor.ClassificationInfo.Empty}else return Kusto.Language.Editor.ClassificationInfo.Empty},GetClientParameters:function(){var $t,cps=Kusto.Language.Editor.CommonCodeService.prototype.GetClientParameters.call(this),code={},newCps,cp,token;if(System.Array.getCount(cps,Kusto.Language.Editor.ClientParameter)>0&&this.TryGetBoundOrUnboundCode(Bridge.getDefaultValue(Kusto.Language.Utils.CancellationToken),code)){newCps=new(System.Collections.Generic.List$1(Kusto.Language.Editor.ClientParameter).ctor);$t=Bridge.getEnumerator(cps,Kusto.Language.Editor.ClientParameter);try{while($t.moveNext())cp=$t.Current,token=code.v.Syntax.GetTokenAt(cp.Start),cp.Start>=token.TextStart&&newCps.add(cp)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return newCps}return cps},GetOutlines:function(cancellationToken){var code,collapsedText,length;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),code={},this.TryGetBoundOrUnboundCode(cancellationToken,code))try{return System.Array.getCount(code.v.LexerTokens,Kusto.Language.Parsing.LexicalToken)>0?(collapsedText=Kusto.Language.Editor.KustoCodeService.GetOutlineCollapsedText(code.v),length=Kusto.Language.Parsing.TextFacts.TrimEnd$1(this.Text,0,this.Text.length),new Kusto.Language.Editor.OutlineInfo(System.Array.init([new Kusto.Language.Editor.OutlineRange(0,length,collapsedText)],Kusto.Language.Editor.OutlineRange))):Kusto.Language.Editor.OutlineInfo.Empty}catch($e1){$e1=System.Exception.create($e1)}return Kusto.Language.Editor.CommonCodeService.prototype.GetOutlines.call(this)},ShouldAutoComplete:function(position,key,cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var code={};if(this.TryGetBoundOrUnboundCode(cancellationToken,code))try{return new Kusto.Language.Editor.KustoCompleter(code.v,Kusto.Language.Editor.CompletionOptions.Default,cancellationToken).ShouldAutoComplete(position,key)}catch($e1){$e1=System.Exception.create($e1)}return!1},GetCompletionItems:function(position,options,cancellationToken){options===void 0&&(options=null);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var code={};if(this.TryGetBoundCode(cancellationToken,code)&&code.v.HasSemantics)try{return new Kusto.Language.Editor.KustoCompleter(code.v,options||Kusto.Language.Editor.CompletionOptions.Default,cancellationToken).GetCompletionItems(position)}catch($e1){$e1=System.Exception.create($e1)}return Kusto.Language.Editor.CompletionInfo.Empty},GetQuickInfo:function(position,cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var code={};if(this.TryGetBoundCode(cancellationToken,code))try{return new Kusto.Language.Editor.KustoQuickInfoBuilder(code.v).GetQuickInfo(position,cancellationToken)}catch($e1){return $e1=System.Exception.create($e1),Kusto.Language.Editor.QuickInfo.Empty}else return this.codeException!=null?new Kusto.Language.Editor.QuickInfo(this.codeException.Message):Kusto.Language.Editor.QuickInfo.Empty},GetElement:function(position,cancellationToken){var code,token;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),code={},this.TryGetBoundCode(cancellationToken,code))try{return token=code.v.Syntax.GetTokenAt(position),new Kusto.Language.Editor.TextRange(token.TextStart,token.Text.length)}catch($e1){$e1=System.Exception.create($e1)}return new Kusto.Language.Editor.TextRange(0,0)},GetRelatedElements:function(position,options,cancellationToken){options===void 0&&(options=0);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var code={};if(this.TryGetBoundCode(cancellationToken,code))try{return new Kusto.Language.Editor.KustoRelatedElementFinder(code.v).FindRelatedElements(position,options)}catch($e1){$e1=System.Exception.create($e1)}return Kusto.Language.Editor.RelatedInfo.Empty},GetClusterReferences:function(cancellationToken){var code,clusters;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),code={},this.TryGetBoundCode(cancellationToken,code))try{return clusters=new(System.Collections.Generic.List$1(Kusto.Language.Editor.ClusterReference).ctor),code.v.HasSemantics&&this.GetClusterReferences$1(code.v.Syntax,null,clusters,cancellationToken),Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Editor.ClusterReference,clusters)}catch($e1){return $e1=System.Exception.create($e1),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.ClusterReference).Instance}else return Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.ClusterReference).Instance},GetClusterReferences$1:function(root,location,clusters,cancellationToken){root.WalkElements(Bridge.fn.bind(this,function(element){var fc,fs,cluster,expansion;cancellationToken.ThrowIfCancellationRequested();(fc=Bridge.as(element,Kusto.Language.Syntax.FunctionCallExpression))!=null&&(fs=Bridge.as(fc.ReferencedSymbol,Kusto.Language.Symbols.FunctionSymbol))!=null&&(Bridge.referenceEquals(fs,Kusto.Language.Functions.Cluster)?(cluster=Kusto.Language.Editor.KustoCodeService.GetClusterReference(fc,location),cluster!=null&&clusters.add(cluster)):System.Array.getItem(fs.Signatures,0,Kusto.Language.Symbols.Signature).HasClusterCall&&(expansion=fc.GetExpansion(),expansion!=null&&this.GetClusterReferences$1(expansion,location||fc.Name,clusters,cancellationToken)))}))},GetDatabaseReferences:function(cancellationToken){var code,refs;if(cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken),code={},this.TryGetBoundCode(cancellationToken,code))try{return refs=new(System.Collections.Generic.List$1(Kusto.Language.Editor.DatabaseReference).ctor),code.v.HasSemantics&&this.GetDatabaseReferences$1(code.v.Syntax,null,this.globals.Cluster,this.globals.Database,refs,cancellationToken),refs}catch($e1){return $e1=System.Exception.create($e1),Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.DatabaseReference).Instance}else return Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Editor.DatabaseReference).Instance},GetDatabaseReferences$1:function(root,location,defaultCluster,defaultDatabase,refs,cancellationToken){root.WalkElements(Bridge.fn.bind(this,function(element){var fc,fs,dbref,expansion,db,cluster;cancellationToken.ThrowIfCancellationRequested();(fc=Bridge.as(element,Kusto.Language.Syntax.FunctionCallExpression))!=null&&(fs=Bridge.as(fc.ReferencedSymbol,Kusto.Language.Symbols.FunctionSymbol))!=null&&(Bridge.referenceEquals(fs,Kusto.Language.Functions.Database)?(dbref=this.GetDatabaseReference(fc,location,defaultCluster),dbref!=null&&refs.add(dbref)):System.Array.getItem(fs.Signatures,0,Kusto.Language.Symbols.Signature).HasDatabaseCall&&(expansion=fc.GetExpansion(),expansion!=null&&(db=defaultDatabase,cluster=defaultCluster,db=this.globals.GetDatabase(fs)||defaultDatabase,cluster=this.globals.GetCluster(db)||defaultCluster,this.GetDatabaseReferences$1(expansion,location||fc.Name,cluster,db,refs,cancellationToken))))}))},GetDatabaseReference:function(fc,location,defaultCluster){var databaseName={},cluster,p,fcCluster;return Bridge.referenceEquals(fc.ReferencedSymbol,Kusto.Language.Functions.Database)&&Kusto.Language.Editor.KustoCodeService.TryGetConstantStringArgumentValue(fc,0,databaseName)?(location=location||fc.ArgumentList.Expressions.getItem$1(0).Element$1,cluster={},(p=Bridge.as(fc.Parent,Kusto.Language.Syntax.PathExpression))!=null&&Bridge.referenceEquals(p.Selector,fc)&&(fcCluster=Bridge.as(p.Expression,Kusto.Language.Syntax.FunctionCallExpression))!=null&&Bridge.referenceEquals(fcCluster.ReferencedSymbol,Kusto.Language.Functions.Cluster)&&Kusto.Language.Editor.KustoCodeService.TryGetConstantStringArgumentValue(fcCluster,0,cluster)||(cluster.v=defaultCluster.Name),new Kusto.Language.Editor.DatabaseReference(databaseName.v,cluster.v,location.TextStart,location.Width)):null},GetMinimalText:function(cancellationToken){cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var code={};return this.TryGetBoundOrUnboundCode(cancellationToken,code)?code.v.Syntax.ToString(Kusto.Language.Syntax.IncludeTrivia.Minimal):this.Text},GetFormattedText:function(options,cursorPosition,cancellationToken){options===void 0&&(options=null);cursorPosition===void 0&&(cursorPosition=0);cancellationToken===void 0&&(cancellationToken=new Kusto.Language.Utils.CancellationToken);var code={};return this.TryGetBoundOrUnboundCode(cancellationToken,code)?Kusto.Language.Editor.KustoFormatter.GetFormattedText(code.v.Syntax,options,cursorPosition):new Kusto.Language.Editor.FormattedText(this.Text,cursorPosition)}}});Bridge.define("Kusto.Language.Editor.UnknownCodeService",{inherits:[Kusto.Language.Editor.CommonCodeService],props:{Kind:{get:function(){return"Unknown"}}},ctors:{ctor:function(text){this.$initialize();Kusto.Language.Editor.CommonCodeService.ctor.call(this,text)}}});Bridge.define("Kusto.Language.Parsing.ListPrimaryParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$2(TInput,TOutput)],statics:{fields:{s_outputListPool:null},ctors:{init:function(){this.s_outputListPool=new(Kusto.Language.Utils.ObjectPool$1(System.Collections.Generic.List$1(System.Object)))(function(){return new(System.Collections.Generic.List$1(System.Object).ctor)},function(list){list.clear()},50)}}},methods:{Parse$1:function(source,start){var list=Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TOutput).s_outputListPool.AllocateFromPool(),n;try{return n=this.Parse(source,start,list,0),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(n,n>=0&&list.Count>0?Bridge.cast(Bridge.unbox(list.getItem(0)),TOutput):Bridge.getDefaultValue(TOutput))}finally{Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TOutput).s_outputListPool.ReturnToPool(list)}}}}});Bridge.define("Kusto.Language.Parsing.BestParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$2(TInput,TOutput)],fields:{_parsers:null},props:{Parsers:{get:function(){return this._parsers}}},ctors:{ctor:function(parsers){this.$initialize();Kusto.Language.Parsing.Parser$2(TInput,TOutput).ctor.call(this);this._parsers=System.Linq.Enumerable.from(parsers).ToArray()}},methods:{Accept$1:function(visitor){visitor.VisitBest$1(TOutput,this)},Accept:function(TResult,visitor){return visitor.VisitBest$1(TOutput,this)},Clone:function(){return new(Kusto.Language.Parsing.BestParser$2(TInput,TOutput))(this.Parsers)},Parse$1:function(source,start){for(var parser,length,result,minLength=-1,maxLength=-1,bestParser=-1,i=0;imaxLength?(maxLength=length,bestParser=i):length=0?(result=this._parsers[System.Array.index(bestParser,this._parsers)].Parse$1(source,start),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(maxLength,result.Value)):new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(minLength,Bridge.getDefaultValue(TOutput))},Parse:function(source,inputStart,output,outputStart){for(var parser,length,minLength=-1,maxLength=-1,bestParser=-1,i=0;imaxLength?(maxLength=length,bestParser=i):length=0&&this._parsers[System.Array.index(bestParser,this._parsers)].Parse(source,inputStart,output,outputStart),maxLength},Scan:function(source,start){var $t,max=-1,min=-1,parser,n;$t=Bridge.getEnumerator(this._parsers);try{while($t.moveNext())parser=$t.Current,n=parser.Scan(source,start),n>max?max=n:n=0?max:min}}}});Bridge.define("Kusto.Language.Parsing.ResultPrimaryParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$2(TInput,TOutput)],methods:{Parse:function(source,inputStart,output){var result=this.Parse$1(source,inputStart);return result.Length>=0&&output.add(result.Value),result.Length}}}});Bridge.define("Kusto.Language.Parsing.FirstParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$2(TInput,TOutput)],fields:{_parsers:null},props:{Parsers:{get:function(){return this._parsers}}},ctors:{ctor:function(parsers){this.$initialize();Kusto.Language.Parsing.Parser$2(TInput,TOutput).ctor.call(this);this._parsers=System.Linq.Enumerable.from(parsers).ToArray()}},methods:{Accept$1:function(visitor){visitor.VisitFirst$1(TOutput,this)},Accept:function(TResult,visitor){return visitor.VisitFirst$1(TOutput,this)},Clone:function(){return new(Kusto.Language.Parsing.FirstParser$2(TInput,TOutput))(this.Parsers)},Parse$1:function(source,start){for(var parser,result,minLength=-1,i=0;i=0)return result;result.Length=0)return length;length=0)return n;n=0&&(value=this.Producer(source,inputStart,length),output.add(value)),length},Parse$1:function(source,start){var length,value;return(start===void 0&&(start=0),length=this.Consumer(source,start),length>0)?(value=this.Producer(source,start,length),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(length,value)):new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(length,Bridge.getDefaultValue(TOutput))}}}});Bridge.define("Kusto.Language.Parsing.OptionalParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$2(TInput,TOutput)],props:{Parser:null,Producer:null,IsOptional:{get:function(){return!0}}},ctors:{ctor:function(parser,producer){this.$initialize();Kusto.Language.Parsing.Parser$2(TInput,TOutput).ctor.call(this);this.Parser=parser;this.Producer=producer}},methods:{Accept$1:function(visitor){visitor.VisitOptional(TOutput,this)},Accept:function(TResult,visitor){return visitor.VisitOptional(TOutput,this)},Clone:function(){return new(Kusto.Language.Parsing.OptionalParser$2(TInput,TOutput))(this.Parser,this.Producer)},Parse$1:function(source,start){var result=this.Parser.Parse$1(source,start);return result.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(0,this.Producer()):result},Parse:function(source,inputStart,output){var originalOutputCount=output.Count,length=this.Parser.Parse(source,inputStart,output,output.Count);return length<0||output.Count===originalOutputCount?(Kusto.Language.Utils.ListExtensions.SetCount(System.Object,output,originalOutputCount),output.add(this.Producer()),0):length},Scan:function(source,start){var n=this.Parser.Scan(source,start);return n<0?0:n}}}});Bridge.define("Kusto.Language.Parsing.RequiredParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.Parser$2(TInput,TOutput)],props:{Parser:null,Producer:null},ctors:{ctor:function(parser,producer){this.$initialize();Kusto.Language.Parsing.Parser$2(TInput,TOutput).ctor.call(this);this.Parser=parser;this.Producer=producer}},methods:{Accept$1:function(visitor){visitor.VisitRequired(TOutput,this)},Accept:function(TResult,visitor){return visitor.VisitRequired(TOutput,this)},Clone:function(){return new(Kusto.Language.Parsing.RequiredParser$2(TInput,TOutput))(this.Parser,this.Producer)},Parse$1:function(source,start){var result=this.Parser.Parse$1(source,start);return result.Length<0?new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(0,this.Producer()):result},Parse:function(source,inputStart,output){var originalOutputCount=output.Count,length=this.Parser.Parse(source,inputStart,output,output.Count);return length<0||output.Count===originalOutputCount?(Kusto.Language.Utils.ListExtensions.SetCount(System.Object,output,originalOutputCount),output.add(this.Producer()),0):length},Scan:function(source,start){var len=this.Parser.Scan(source,start);return len<0?0:len}}}});Bridge.define("Kusto.Language.Symbols.ClusterSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],props:{Databases:null,Members:{get:function(){return this.Databases}},Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Cluster}},IsOpen:!1,Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Tabular}}},ctors:{$ctor1:function(name,databases,isOpen){isOpen===void 0&&(isOpen=!1);this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,name);this.Databases=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.DatabaseSymbol,databases);this.IsOpen=isOpen},ctor:function(name,databases){databases===void 0&&(databases=[]);Kusto.Language.Symbols.ClusterSymbol.$ctor1.call(this,name,databases,!1)}},methods:{IsCluster:function(name){var $t;return name=($t=Kusto.Language.KustoFacts.GetHostName(name),$t!=null?$t:name),Kusto.Language.KustoFacts.IsClusterHostName(name,this.Name)||Kusto.Language.KustoFacts.IsClusterShortName(name,this.Name)},WithDatabases:function(databases){return new Kusto.Language.Symbols.ClusterSymbol.$ctor1(this.Name,databases,this.IsOpen)},AddDatabase:function(database){var newDatabases=System.Linq.Enumerable.from(this.Databases).concat(System.Array.init([database],Kusto.Language.Symbols.DatabaseSymbol));return new Kusto.Language.Symbols.ClusterSymbol.$ctor1(this.Name,newDatabases,this.IsOpen)},UpdateDatabase:function(existingDatabase,newDatabase){var newDatabases=System.Linq.Enumerable.from(this.Databases).select(function(d){return Bridge.referenceEquals(d,existingDatabase)?newDatabase:d});return new Kusto.Language.Symbols.ClusterSymbol.$ctor1(this.Name,newDatabases,this.IsOpen)},AddOrUpdateDatabase:function(newDatabase){var existingDatabase=System.Linq.Enumerable.from(this.Databases).firstOrDefault(function(d){return Bridge.referenceEquals(d.Name,newDatabase.Name)},null);return existingDatabase!=null?this.UpdateDatabase(existingDatabase,newDatabase):this.AddDatabase(newDatabase)},GetDisplay:function(){return System.String.format("cluster({0})",[this.Name])}}});Bridge.define("Kusto.Language.Symbols.DatabaseSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],fields:{members:null,tables:null,functions:null,symbolSet:null},props:{Members:{get:function(){return this.members}},Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Database}},IsOpen:!1,Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Tabular}},Tables:{get:function(){return this.tables==null&&(this.tables=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.TableSymbol,System.Linq.Enumerable.from(this.Members).ofType(Kusto.Language.Symbols.TableSymbol))),this.tables}},Functions:{get:function(){return this.functions==null&&(this.functions=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.FunctionSymbol,System.Linq.Enumerable.from(this.Members).ofType(Kusto.Language.Symbols.FunctionSymbol))),this.functions}}},ctors:{$ctor1:function(name,members,isOpen){isOpen===void 0&&(isOpen=!1);this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,name);this.members=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.Symbol,members);this.IsOpen=isOpen},ctor:function(name,members){members===void 0&&(members=[]);Kusto.Language.Symbols.DatabaseSymbol.$ctor1.call(this,name,Bridge.cast(members,System.Collections.Generic.IEnumerable$1(Kusto.Language.Symbols.Symbol)))}},methods:{GetSymbol:function(name){return System.Linq.Enumerable.from(this.members).firstOrDefault(function(m){return Bridge.referenceEquals(m.Name,name)},null)},GetDisplay:function(){return System.String.format("database({0})",[this.Name])},AddSymbols$1:function(symbols){return new Kusto.Language.Symbols.DatabaseSymbol.$ctor1(this.Name,System.Linq.Enumerable.from(this.Members).concat(symbols),this.IsOpen)},AddSymbols:function(symbols){return symbols===void 0&&(symbols=[]),this.AddSymbols$1(Bridge.cast(symbols,System.Collections.Generic.IEnumerable$1(Kusto.Language.Symbols.Symbol)))},Contains:function(symbol){var $t,member;if(this.symbolSet==null){this.symbolSet=new(System.Collections.Generic.HashSet$1(Kusto.Language.Symbols.Symbol).ctor);$t=Bridge.getEnumerator(this.Members,Kusto.Language.Symbols.Symbol);try{while($t.moveNext())member=$t.Current,this.symbolSet.add(symbol)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}}return this.symbolSet.contains(symbol)}}});Bridge.define("Kusto.Language.Symbols.ErrorSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],statics:{fields:{Instance:null},ctors:{init:function(){this.Instance=new Kusto.Language.Symbols.ErrorSymbol}}},props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Error}},IsError:{get:function(){return!0}},Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.None}}},ctors:{ctor:function(){this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,"error")}}});Bridge.define("Kusto.Language.Symbols.FunctionSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],fields:{hidden:!1,constantFoldable:!1,resultNameKind:0,resultNamePrefix:null},props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Function}},Signatures:null,IsHidden:{get:function(){return this.hidden||Bridge.ensureBaseProperty(this,"IsHidden").$Kusto$Language$Symbols$Symbol$IsHidden}},ResultNameKind:{get:function(){return this.resultNameKind}},ResultNamePrefix:{get:function(){return this.resultNamePrefix}},IsConstantFoldable:{get:function(){return this.constantFoldable}},Tabularity:{get:function(){return System.Array.getItem(this.Signatures,0,Kusto.Language.Symbols.Signature).Tabularity}},MinArgumentCount:{get:function(){var $t,min=-1,s;$t=Bridge.getEnumerator(this.Signatures,Kusto.Language.Symbols.Signature);try{while($t.moveNext())s=$t.Current,min=min===-1?s.MinArgumentCount:Math.min(min,s.MinArgumentCount)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return min}},MaxArgumentCount:{get:function(){var $t,max=-1,s;$t=Bridge.getEnumerator(this.Signatures,Kusto.Language.Symbols.Signature);try{while($t.moveNext())s=$t.Current,max=max===-1?s.MaxArgumentCount:Math.max(max,s.MaxArgumentCount)}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return max}}},ctors:{$ctor12:function(name,signatures,hidden,constantFoldable,resultNameKind,resultNamePrefix){var $t,signature;this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,name);this.Signatures=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.Signature,signatures);$t=Bridge.getEnumerator(this.Signatures,Kusto.Language.Symbols.Signature);try{while($t.moveNext())signature=$t.Current,signature.Symbol=this}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}this.hidden=hidden;this.constantFoldable=constantFoldable;this.resultNameKind=resultNameKind;this.resultNamePrefix=resultNamePrefix},$ctor11:function(name,signatures){Kusto.Language.Symbols.FunctionSymbol.$ctor12.call(this,name,signatures,!1,!1,Kusto.Language.Symbols.ResultNameKind.Default,null)},$ctor6:function(name,signatures){signatures===void 0&&(signatures=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor11.call(this,name,Bridge.cast(signatures,System.Collections.Generic.IEnumerable$1(Kusto.Language.Symbols.Signature)))},$ctor8:function(name,returnType,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor8(returnType,parameters)],Kusto.Language.Symbols.Signature))},$ctor7:function(name,returnType,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor7(returnType,parameters)],Kusto.Language.Symbols.Signature))},$ctor5:function(name,returnTypeKind,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor6(returnTypeKind,parameters)],Kusto.Language.Symbols.Signature))},$ctor4:function(name,returnTypeKind,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor4(returnTypeKind,parameters)],Kusto.Language.Symbols.Signature))},$ctor1:function(name,customReturnType,tabularity,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor1(customReturnType,tabularity,parameters)],Kusto.Language.Symbols.Signature))},ctor:function(name,customReturnType,tabularity,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.ctor(customReturnType,tabularity,parameters)],Kusto.Language.Symbols.Signature))},$ctor3:function(name,customReturnType,tabularity,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor1.call(this,name,function(table,args){return customReturnType(table,args)},tabularity,parameters)},$ctor2:function(name,customReturnType,tabularity,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.ctor.call(this,name,function(table,args){return customReturnType(table,args)},tabularity,parameters)},$ctor15:function(name,body,tabularity,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor12(body,tabularity,parameters)],Kusto.Language.Symbols.Signature))},$ctor14:function(name,body,tabularity,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor11(body,tabularity,parameters)],Kusto.Language.Symbols.Signature))},$ctor16:function(name,body,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor12(body,Kusto.Language.Symbols.Tabularity.Unknown,parameters)],Kusto.Language.Symbols.Signature))},$ctor13:function(name,body,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor11(body,Kusto.Language.Symbols.Tabularity.Unknown,parameters)],Kusto.Language.Symbols.Signature))},$ctor10:function(name,declaration,parameters){Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor10(declaration,parameters)],Kusto.Language.Symbols.Signature))},$ctor9:function(name,declaration,parameters){parameters===void 0&&(parameters=[]);Kusto.Language.Symbols.FunctionSymbol.$ctor6.call(this,name,System.Array.init([new Kusto.Language.Symbols.Signature.$ctor9(declaration,parameters)],Kusto.Language.Symbols.Signature))}},methods:{Hide:function(){return new Kusto.Language.Symbols.FunctionSymbol.$ctor12(this.Name,this.Signatures,!0,this.constantFoldable,this.resultNameKind,this.resultNamePrefix)},ConstantFoldable:function(){return new Kusto.Language.Symbols.FunctionSymbol.$ctor12(this.Name,this.Signatures,this.hidden,!0,this.resultNameKind,this.resultNamePrefix)},WithResultNamePrefix:function(resultNamePrefix){return Bridge.referenceEquals(this.ResultNamePrefix,resultNamePrefix)?this:new Kusto.Language.Symbols.FunctionSymbol.$ctor12(this.Name,this.Signatures,this.hidden,this.constantFoldable,this.resultNameKind,resultNamePrefix)},WithResultNameKind:function(kind){return this.ResultNameKind!==kind?new Kusto.Language.Symbols.FunctionSymbol.$ctor12(this.Name,this.Signatures,this.hidden,this.constantFoldable,kind,this.resultNamePrefix):this},GetDisplay:function(){return this.GetDisplay$1(!1)},GetDisplay$1:function(verbose){for(var p,prms,sig=System.Array.getItem(this.Signatures,0,Kusto.Language.Symbols.Signature),builder=new System.Text.StringBuilder,i=0;i0&&builder.append(", "),p.IsOptional?(builder.append("["),builder.append(this.GetParameterDisplay(p,verbose)),builder.append("]")):builder.append(this.GetParameterDisplay(p,verbose));return sig.HasRepeatableParameters&&builder.append(", ..."),prms=builder.toString(),System.String.format("{0}({1})",this.Name,prms)},GetParameterDisplay:function(parameter,verbose){if(verbose){var typeDisplay=this.GetTypeDisplay(parameter);if(!System.String.isNullOrEmpty(typeDisplay))return System.String.format("{0}: {1}",parameter.Name,typeDisplay)}return parameter.Name},GetTypeDisplay:function(parameter){switch(parameter.TypeKind){case Kusto.Language.Symbols.ParameterTypeKind.Declared:return parameter.TypeDisplay;case Kusto.Language.Symbols.ParameterTypeKind.Integer:return"integer";case Kusto.Language.Symbols.ParameterTypeKind.IntegerOrDynamic:return"integer|dynamic";case Kusto.Language.Symbols.ParameterTypeKind.Number:return"number";case Kusto.Language.Symbols.ParameterTypeKind.RealOrDecimal:return"real|decimal";case Kusto.Language.Symbols.ParameterTypeKind.Summable:return"summable";case Kusto.Language.Symbols.ParameterTypeKind.StringOrDynamic:return"string|dynamic";case Kusto.Language.Symbols.ParameterTypeKind.Parameter0:return this.GetTypeDisplay(System.Array.getItem(System.Array.getItem(this.Signatures,0,Kusto.Language.Symbols.Signature).Parameters,0,Kusto.Language.Symbols.Parameter));case Kusto.Language.Symbols.ParameterTypeKind.Parameter1:return this.GetTypeDisplay(System.Array.getItem(System.Array.getItem(this.Signatures,0,Kusto.Language.Symbols.Signature).Parameters,1,Kusto.Language.Symbols.Parameter));case Kusto.Language.Symbols.ParameterTypeKind.Parameter2:return this.GetTypeDisplay(System.Array.getItem(System.Array.getItem(this.Signatures,0,Kusto.Language.Symbols.Signature).Parameters,2,Kusto.Language.Symbols.Parameter));case Kusto.Language.Symbols.ParameterTypeKind.SingleColumnTable:case Kusto.Language.Symbols.ParameterTypeKind.Tabular:return"()";case Kusto.Language.Symbols.ParameterTypeKind.Cluster:return"cluster";case Kusto.Language.Symbols.ParameterTypeKind.Database:return"database";case Kusto.Language.Symbols.ParameterTypeKind.Scalar:default:return"scalar"}}}});Bridge.define("Kusto.Language.Symbols.GroupSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],fields:{members:null},props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Group}},Members:{get:function(){return this.members}},Tabularity:{get:function(){return System.Array.getItem(this.Members,0,Kusto.Language.Symbols.Symbol).Tabularity}}},ctors:{$ctor1:function(symbols){this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,"group");this.members=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.Symbol,symbols)},ctor:function(symbols){symbols===void 0&&(symbols=[]);Kusto.Language.Symbols.GroupSymbol.$ctor1.call(this,Bridge.cast(symbols,System.Collections.Generic.IEnumerable$1(Kusto.Language.Symbols.Symbol)))}},methods:{GetDisplay:function(){return"["+(Bridge.toArray(System.Linq.Enumerable.from(this.Members).select(function(s){return s.Display})).join(", ")||"")+"]"}}});Bridge.define("Kusto.Language.Symbols.PatternSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Pattern}},Parameters:null,PathParameter:null,Signatures:null,Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Tabular}}},ctors:{$ctor1:function(name,parameters,pathParameter,signatures){parameters===void 0&&(parameters=null);pathParameter===void 0&&(pathParameter=null);signatures===void 0&&(signatures=null);this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,name);this.Parameters=parameters||Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.Parameter).Instance;this.PathParameter=pathParameter;this.Signatures=signatures||Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Symbols.PatternSignature).Instance},ctor:function(name){Kusto.Language.Symbols.PatternSymbol.$ctor1.call(this,name,null,null,null)}},methods:{GetDisplay:function(){var prms=Bridge.toArray(System.Linq.Enumerable.from(this.Parameters).select(function(p){return System.String.format("{0}:{1}",p.Name,p.TypeDisplay)})).join(", ");return System.String.format("{0}({1})",this.Name,prms)}}});Bridge.define("Kusto.Language.Symbols.ScalarSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Scalar}},Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Scalar}},Aliases:null,Flags:0,WiderThan:null,IsInteger:{get:function(){return(this.Flags&Kusto.Language.Symbols.ScalarFlags.Integer)!=0}},IsNumeric:{get:function(){return(this.Flags&Kusto.Language.Symbols.ScalarFlags.Numeric)!=0}},IsInterval:{get:function(){return(this.Flags&Kusto.Language.Symbols.ScalarFlags.Interval)!=0}},IsSummable:{get:function(){return(this.Flags&Kusto.Language.Symbols.ScalarFlags.Summable)!=0}}},ctors:{ctor:function(name,aliases,flags,widerThan){aliases===void 0&&(aliases=null);flags===void 0&&(flags=0);widerThan===void 0&&(widerThan=null);this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,name);this.Aliases=Kusto.Language.Utils.ListExtensions.ToReadOnly(System.String,aliases);this.Flags=flags;this.WiderThan=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.ScalarSymbol,widerThan)}},methods:{IsWiderThan:function(scalar){for(var i=0;i0)if(name!=null){var column={};this.ColumnMap.tryGetValue(name,column)&&Kusto.Language.Symbols.SymbolMatchExtensions.Matches$1(column.v,name,match,ignoreCase)&&symbols.add(column.v)}else Kusto.Language.Symbols.TypeSymbol.prototype.GetMembers$1.call(this,name,match,symbols)},GetDisplay:function(){return System.String.format("({0})",[Bridge.toArray(System.Linq.Enumerable.from(this.Members).select(function(m){return m.Display})).join(", ")])}}});Bridge.define("Kusto.Language.Symbols.TupleSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],props:{Columns:null,Members:{get:function(){return this.Columns}},Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Tuple}},Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.Scalar}}},ctors:{$ctor1:function(columns){this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,"tuple");this.Columns=Kusto.Language.Utils.ListExtensions.ToReadOnly(Bridge.global.Kusto.Language.Symbols.ColumnSymbol,columns)},ctor:function(columns){columns===void 0&&(columns=[]);Kusto.Language.Symbols.TupleSymbol.$ctor1.call(this,Bridge.cast(columns,System.Collections.Generic.IEnumerable$1(Kusto.Language.Symbols.ColumnSymbol)))}},methods:{WithColumns:function(columns){return new Kusto.Language.Symbols.TupleSymbol.$ctor1(columns)},GetDisplay:function(){return System.String.format("{{{0}}}",[Bridge.toArray(System.Linq.Enumerable.from(this.Members).select(function(m){return m.Display})).join(", ")])}}});Bridge.define("Kusto.Language.Symbols.VoidSymbol",{inherits:[Kusto.Language.Symbols.TypeSymbol],statics:{fields:{Instance:null},ctors:{init:function(){this.Instance=new Kusto.Language.Symbols.VoidSymbol}}},props:{Kind:{get:function(){return Kusto.Language.Symbols.SymbolKind.Void}},Tabularity:{get:function(){return Kusto.Language.Symbols.Tabularity.None}}},ctors:{ctor:function(){this.$initialize();Kusto.Language.Symbols.TypeSymbol.ctor.call(this,"void")}}});Bridge.define("Kusto.Language.Syntax.Statement",{inherits:[Kusto.Language.Syntax.SyntaxNode],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.Expression",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{ResultType:{get:function(){var $t;return($t=this.GetSemanticInfo())!=null?$t.ResultType:null}},IsConstant:{get:function(){var $t,$t1;return $t=($t1=this.GetSemanticInfo())!=null?$t1.IsConstant:null,$t!=null?$t:!1}},ConstantValue:{get:function(){var v;return this.IsLiteral?this.LiteralValue:(v=Bridge.as(this.ReferencedSymbol,Kusto.Language.Symbols.VariableSymbol))!=null&&v.IsConstant?v.ConstantValue:null}},IsLiteral:{get:function(){return!1}},LiteralValue:{get:function(){return null}},IsSelector:{get:function(){return this.IsPathSelector||this.IsElementSelector}},IsPathSelector:{get:function(){var pe;return(pe=Bridge.as(this.Parent,Kusto.Language.Syntax.PathExpression))!=null&&Bridge.referenceEquals(pe.Selector,this)}},IsElementSelector:{get:function(){var ee;return(ee=Bridge.as(this.Parent,Kusto.Language.Syntax.ElementExpression))!=null&&Bridge.referenceEquals(ee.Selector,this)}}},ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.Name",{inherits:[Kusto.Language.Syntax.SyntaxNode],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.Clause",{inherits:[Kusto.Language.Syntax.SyntaxNode],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.CommandBlock",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CommandBlock}},Statements:null,SkippedTokens:null,EndOfCommand:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(statements,skippedTokens,endOfCommand,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.Statements=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),statements);this.SkippedTokens=this.Attach(Bridge.global.Kusto.Language.Syntax.SkippedTokens,skippedTokens,!0);this.EndOfCommand=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,endOfCommand,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Statements;case 1:return this.SkippedTokens;case 2:return this.EndOfCommand;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Statements";case 1:return"SkippedTokens";case 2:return"EndOfCommand";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:case 2:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Tabular;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.None;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCommandBlock(this)},Visit:function(TResult,visitor){return visitor.VisitCommandBlock(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCommandBlock(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.CommandBlock(($t=this.Statements)!=null?$t.Clone$2():null,($t1=this.SkippedTokens)!=null?$t1.Clone$1():null,($t2=this.EndOfCommand)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CustomNode",{inherits:[Kusto.Language.Syntax.SyntaxNode],fields:{shape:null,elements:null,fullWidth$1:0},props:{FullWidth:{get:function(){return this.fullWidth$1}},Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CustomNode}},ChildCount:{get:function(){return System.Array.getCount(this.shape,Kusto.Language.Syntax.CustomElementDescriptor)}}},ctors:{$ctor1:function(shape,elements,diagnostics){this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.shape=shape||Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Syntax.CustomElementDescriptor).Instance;this.elements=elements!=null?System.Linq.Enumerable.from(elements).select(Bridge.fn.bind(this,function(e,i){return this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxElement,e,System.Array.getItem(this.shape,i,Kusto.Language.Syntax.CustomElementDescriptor).IsOptional)})).ToArray(Kusto.Language.Syntax.SyntaxElement):Kusto.Language.Utils.EmptyReadOnlyList$1(Kusto.Language.Syntax.SyntaxElement).Instance;this.Init();this.fullWidth$1=this.ComputeFullWidth()},ctor:function(shape,elements){elements===void 0&&(elements=[]);Kusto.Language.Syntax.CustomNode.$ctor1.call(this,shape,elements,null)}},methods:{GetChild:function(index){if(index<0||index>=System.Array.getCount(this.shape,Kusto.Language.Syntax.CustomElementDescriptor))throw new System.ArgumentOutOfRangeException.$ctor1("index");return index=System.Array.getCount(this.shape,Kusto.Language.Syntax.CustomElementDescriptor))throw new System.ArgumentOutOfRangeException.$ctor1("index");return System.Array.getItem(this.shape,index,Kusto.Language.Syntax.CustomElementDescriptor).Name},GetCompletionHint:function(index){if(index<0||index>=System.Array.getCount(this.shape,Kusto.Language.Syntax.CustomElementDescriptor))throw new System.ArgumentOutOfRangeException.$ctor1("index");return System.Array.getItem(this.shape,index,Kusto.Language.Syntax.CustomElementDescriptor).CompletionHint},IsOptional:function(index){if(index<0||index>=System.Array.getCount(this.shape,Kusto.Language.Syntax.CustomElementDescriptor))throw new System.ArgumentOutOfRangeException.$ctor1("index");return System.Array.getItem(this.shape,index,Kusto.Language.Syntax.CustomElementDescriptor).IsOptional},Visit$2:function(visitor){visitor.VisitCustom(this)},Visit:function(TResult,visitor){return visitor.VisitCustom(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCustom(context,this)},CloneCore:function(){var clonedElements=System.Linq.Enumerable.from(this.elements).select(function(e){return e.Clone()}).ToArray(Kusto.Language.Syntax.SyntaxElement);return new Kusto.Language.Syntax.CustomNode.ctor(this.shape,clonedElements)}}});Bridge.define("Kusto.Language.Syntax.DefaultValueDeclaration",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DefaultValueDeclaration}},Equal:null,Value:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(equal,value,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.Equal=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equal);this.Value=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,value);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Equal;case 1:return this.Value;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Equal";case 1:return"Value";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDefaultValueDeclaration(this)},Visit:function(TResult,visitor){return visitor.VisitDefaultValueDeclaration(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDefaultValueDeclaration(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.DefaultValueDeclaration(($t=this.Equal)!=null?$t.Clone$1():null,($t1=this.Value)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DirectiveBlock",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DirectiveBlock}},DirectiveToken:null,SkippedTokens:null,EndOfText:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(directiveToken,skippedTokens,endOfText,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.DirectiveToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,directiveToken);this.SkippedTokens=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken),skippedTokens);this.EndOfText=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,endOfText,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DirectiveToken;case 1:return this.SkippedTokens;case 2:return this.EndOfText;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DirectiveToken";case 1:return"SkippedTokens";case 2:return"EndOfText";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 2:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.None;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.None;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDirectiveBlock(this)},Visit:function(TResult,visitor){return visitor.VisitDirectiveBlock(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDirectiveBlock(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.DirectiveBlock(($t=this.DirectiveToken)!=null?$t.Clone$1():null,($t1=this.SkippedTokens)!=null?$t1.Clone$2():null,($t2=this.EndOfText)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExpressionCouple",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExpressionCouple}},OpenParen:null,First:null,DotDot:null,Second:null,CloseParen:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(openParen,first,dotDot,second,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.First=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,first);this.DotDot=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dotDot);this.Second=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,second);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.First;case 2:return this.DotDot;case 3:return this.Second;case 4:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"First";case 2:return"DotDot";case 3:return"Second";case 4:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitExpressionCouple(this)},Visit:function(TResult,visitor){return visitor.VisitExpressionCouple(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExpressionCouple(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.ExpressionCouple(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.First)!=null?$t1.Clone$1():null,($t2=this.DotDot)!=null?$t2.Clone$1():null,($t3=this.Second)!=null?$t3.Clone$1():null,($t4=this.CloseParen)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExpressionList",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExpressionList}},OpenParen:null,Expressions:null,CloseParen:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openParen,expressions,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Expressions;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Expressions";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitExpressionList(this)},Visit:function(TResult,visitor){return visitor.VisitExpressionList(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExpressionList(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.ExpressionList(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FunctionBody",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FunctionBody}},OpenBrace:null,Statements:null,Expression:null,Semicolon:null,CloseBrace:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(openBrace,statements,expression,semicolon,closeBrace,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.OpenBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBrace);this.Statements=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),statements);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression,!0);this.Semicolon=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,semicolon,!0);this.CloseBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBrace);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBrace;case 1:return this.Statements;case 2:return this.Expression;case 3:return this.Semicolon;case 4:return this.CloseBrace;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBrace";case 1:return"Statements";case 2:return"Expression";case 3:return"Semicolon";case 4:return"CloseBrace";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 2:case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Tabular;case 2:return Kusto.Language.Editor.CompletionHint.Expression;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFunctionBody(this)},Visit:function(TResult,visitor){return visitor.VisitFunctionBody(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFunctionBody(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.FunctionBody(($t=this.OpenBrace)!=null?$t.Clone$1():null,($t1=this.Statements)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.Semicolon)!=null?$t3.Clone$1():null,($t4=this.CloseBrace)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FunctionParameter",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FunctionParameter}},NameAndType:null,DefaultValue:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(nameAndType,defaultValue,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.NameAndType=this.Attach(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,nameAndType);this.DefaultValue=this.Attach(Bridge.global.Kusto.Language.Syntax.DefaultValueDeclaration,defaultValue,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.NameAndType;case 1:return this.DefaultValue;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"NameAndType";case 1:return"DefaultValue";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFunctionParameter(this)},Visit:function(TResult,visitor){return visitor.VisitFunctionParameter(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFunctionParameter(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.FunctionParameter(($t=this.NameAndType)!=null?$t.Clone$1():null,($t1=this.DefaultValue)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FunctionParameters",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FunctionParameters}},OpenParen:null,Parameters:null,CloseParen:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openParen,parameters,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.FunctionParameter)),parameters);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Parameters;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Parameters";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFunctionParameters(this)},Visit:function(TResult,visitor){return visitor.VisitFunctionParameters(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFunctionParameters(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.FunctionParameters(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JsonPair",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.JsonPair}},Name:null,Colon:null,Value:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(name,colon,value,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,name);this.Colon=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,colon);this.Value=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,value);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;case 1:return this.Colon;case 2:return this.Value;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";case 1:return"Colon";case 2:return"Value";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Declaration;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Literal;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitJsonPair(this)},Visit:function(TResult,visitor){return visitor.VisitJsonPair(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitJsonPair(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.JsonPair(($t=this.Name)!=null?$t.Clone$1():null,($t1=this.Colon)!=null?$t1.Clone$1():null,($t2=this.Value)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.NamedParameter",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.NamedParameter}},Name:null,EqualToken:null,Expression:null,ExpressionHint:0,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(name,equalToken,expression,expressionHint,diagnostics){expressionHint===void 0&&(expressionHint=0);diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.ExpressionHint=expressionHint;this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;case 1:return this.EqualToken;case 2:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";case 1:return"EqualToken";case 2:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Declaration;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.None;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitNamedParameter(this)},Visit:function(TResult,visitor){return visitor.VisitNamedParameter(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitNamedParameter(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.NamedParameter(($t=this.Name)!=null?$t.Clone$1():null,($t1=this.EqualToken)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,this.ExpressionHint,this.SyntaxDiagnostics)},GetCompletionHint:function(index){return index===2?this.ExpressionHint:Kusto.Language.Syntax.SyntaxNode.prototype.GetCompletionHint.call(this,index)}}});Bridge.define("Kusto.Language.Syntax.OrderingClause",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.OrderingClause}},AscOrDescKeyword:null,NullsClause:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(ascOrDescKeyword,nullsClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.AscOrDescKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,ascOrDescKeyword,!0);this.NullsClause=this.Attach(Bridge.global.Kusto.Language.Syntax.OrderingNullsClause,nullsClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.AscOrDescKeyword;case 1:return this.NullsClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"AscOrDescKeyword";case 1:return"NullsClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 0:case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitOrderingClause(this)},Visit:function(TResult,visitor){return visitor.VisitOrderingClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitOrderingClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.OrderingClause(($t=this.AscOrDescKeyword)!=null?$t.Clone$1():null,($t1=this.NullsClause)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.OrderingNullsClause",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.OrderingNullsClause}},NullsKeyword:null,FirstOrLastKeyword:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(nullsKeyword,firstOrLastKeyword,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.NullsKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,nullsKeyword);this.FirstOrLastKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,firstOrLastKeyword);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.NullsKeyword;case 1:return this.FirstOrLastKeyword;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"NullsKeyword";case 1:return"FirstOrLastKeyword";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitOrderingNullsClause(this)},Visit:function(TResult,visitor){return visitor.VisitOrderingNullsClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitOrderingNullsClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.OrderingNullsClause(($t=this.NullsKeyword)!=null?$t.Clone$1():null,($t1=this.FirstOrLastKeyword)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PatternMatch",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PatternMatch}},ParameterValues:null,PathValue:null,EqualToken:null,Body:null,SemicolonToken:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(parameterValues,pathValue,equalToken,body,semicolonToken,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.ParameterValues=this.Attach(Bridge.global.Kusto.Language.Syntax.ExpressionList,parameterValues);this.PathValue=this.Attach(Bridge.global.Kusto.Language.Syntax.PatternPathValue,pathValue,!0);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Body=this.Attach(Bridge.global.Kusto.Language.Syntax.FunctionBody,body);this.SemicolonToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,semicolonToken);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ParameterValues;case 1:return this.PathValue;case 2:return this.EqualToken;case 3:return this.Body;case 4:return this.SemicolonToken;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ParameterValues";case 1:return"PathValue";case 2:return"EqualToken";case 3:return"Body";case 4:return"SemicolonToken";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Clause;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Clause;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPatternMatch(this)},Visit:function(TResult,visitor){return visitor.VisitPatternMatch(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPatternMatch(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.PatternMatch(($t=this.ParameterValues)!=null?$t.Clone$1():null,($t1=this.PathValue)!=null?$t1.Clone$1():null,($t2=this.EqualToken)!=null?$t2.Clone$1():null,($t3=this.Body)!=null?$t3.Clone$1():null,($t4=this.SemicolonToken)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PatternPathParameter",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PatternPathParameter}},OpenBracket:null,Parameter:null,CloseBracket:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openBracket,parameter,closeBracket,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.Parameter=this.Attach(Bridge.global.Kusto.Language.Syntax.NameAndTypeDeclaration,parameter);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBracket;case 1:return this.Parameter;case 2:return this.CloseBracket;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBracket";case 1:return"Parameter";case 2:return"CloseBracket";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPatternPathParameter(this)},Visit:function(TResult,visitor){return visitor.VisitPatternPathParameter(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPatternPathParameter(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.PatternPathParameter(($t=this.OpenBracket)!=null?$t.Clone$1():null,($t1=this.Parameter)!=null?$t1.Clone$1():null,($t2=this.CloseBracket)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PatternPathValue",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PatternPathValue}},DotToken:null,OpenBracket:null,Value:null,CloseBracket:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(dotToken,openBracket,value,closeBracket,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.DotToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dotToken);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.Value=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,value);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DotToken;case 1:return this.OpenBracket;case 2:return this.Value;case 3:return this.CloseBracket;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DotToken";case 1:return"OpenBracket";case 2:return"Value";case 3:return"CloseBracket";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPatternPathValue(this)},Visit:function(TResult,visitor){return visitor.VisitPatternPathValue(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPatternPathValue(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.PatternPathValue(($t=this.DotToken)!=null?$t.Clone$1():null,($t1=this.OpenBracket)!=null?$t1.Clone$1():null,($t2=this.Value)!=null?$t2.Clone$1():null,($t3=this.CloseBracket)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.QueryBlock",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.QueryBlock}},Statements:null,SkippedTokens:null,EndOfQuery:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(statements,skippedTokens,endOfQuery,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.Statements=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Statement)),statements);this.SkippedTokens=this.Attach(Bridge.global.Kusto.Language.Syntax.SkippedTokens,skippedTokens,!0);this.EndOfQuery=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,endOfQuery,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Statements;case 1:return this.SkippedTokens;case 2:return this.EndOfQuery;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Statements";case 1:return"SkippedTokens";case 2:return"EndOfQuery";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:case 2:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Tabular;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.None;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitQueryBlock(this)},Visit:function(TResult,visitor){return visitor.VisitQueryBlock(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitQueryBlock(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.QueryBlock(($t=this.Statements)!=null?$t.Clone$2():null,($t1=this.SkippedTokens)!=null?$t1.Clone$1():null,($t2=this.EndOfQuery)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.RenameList",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.RenameList}},OpenParen:null,Names:null,CloseParen:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openParen,names,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Names=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameDeclaration)),names);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Names;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Names";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Declaration;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitRenameList(this)},Visit:function(TResult,visitor){return visitor.VisitRenameList(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitRenameList(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.RenameList(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Names)!=null?$t1.Clone$2():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SeparatedElement",{inherits:[Kusto.Language.Syntax.SyntaxNode],fields:{fullWidth$1:0},props:{Element:null,Separator:null,FullWidth:{get:function(){return this.fullWidth$1}},Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SeparatedElement}},ChildCount:{get:function(){return 2}}},ctors:{ctor:function(element,separator){separator===void 0&&(separator=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,null);this.Element=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxElement,element);this.Separator=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,separator,!0);this.Init();this.fullWidth$1=this.ComputeFullWidth()}},methods:{GetChild:function(index){switch(index){case 0:return this.Element;case 1:return this.Separator;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHint:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Inherit;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitSeparatedElement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSeparatedElement(context,this)},Visit:function(TResult,visitor){return visitor.VisitSeparatedElement(this)}}});Bridge.define("Kusto.Language.Syntax.SkippedTokens",{inherits:[Kusto.Language.Syntax.SyntaxNode],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SkippedTokens}},Tokens:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(tokens,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.Tokens=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken),tokens);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Tokens;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Tokens";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.None;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSkippedTokens(this)},Visit:function(TResult,visitor){return visitor.VisitSkippedTokens(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSkippedTokens(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.SkippedTokens(($t=this.Tokens)!=null?$t.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SyntaxList",{inherits:[Kusto.Language.Syntax.SyntaxNode],fields:{elements:null,fullWidth$1:0},props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.List}},Count:{get:function(){return this.elements.length}},ChildCount:{get:function(){return this.Count}},FullWidth:{get:function(){return this.fullWidth$1}}},ctors:{ctor:function(elements,diagnostics){this.$initialize();Kusto.Language.Syntax.SyntaxNode.ctor.call(this,diagnostics);this.elements=elements;for(var i=0;iKusto.Language.Parsing.ForwardParser$2(TInput,TOutput).MaxCallDepth)?Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TOutput).prototype.Parse$1.call(this,source,start):this.DeferredParser().Parse$1(source,start)}finally{Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth=Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth-1|0}},Parse:function(source,inputStart,output,outputStart){try{return(Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth=Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth+1|0,Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth>Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).MaxCallDepth)?Kusto.Language.Parsing.SafeParser.ParseSafe(TInput,Bridge.cast(this.DeferredParser(),Kusto.Language.Parsing.Parser$1(TInput)),source,inputStart,output,outputStart):this.DeferredParser().Parse(source,inputStart,output,outputStart)}finally{Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth=Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth-1|0}},Scan:function(source,start){try{return(Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth=Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth+1|0,Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth>Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).MaxCallDepth)?Kusto.Language.Parsing.SafeScanner.ScanSafe(TInput,this.DeferredParser(),source,start):this.DeferredParser().Scan(source,start)}finally{Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth=Kusto.Language.Parsing.ForwardParser$2(TInput,TOutput).s_callDepth-1|0}}}}});Bridge.define("Kusto.Language.Parsing.MapParser$2",function(TInput,TOutput){return{inherits:[Kusto.Language.Parsing.ResultPrimaryParser$2(TInput,TOutput)],fields:{root:null},ctors:{ctor:function(root){this.$initialize();Kusto.Language.Parsing.ResultPrimaryParser$2(TInput,TOutput).ctor.call(this);this.root=root},$ctor1:function(keyValuePairs){Kusto.Language.Parsing.MapParser$2(TInput,TOutput).ctor.call(this,Kusto.Language.Parsing.MapParser$2.Node(TInput,TOutput).From(keyValuePairs))}},methods:{Accept$1:function(visitor){visitor.VisitMap(TOutput,this)},Accept:function(TResult,visitor){return visitor.VisitMap(TOutput,this)},Clone:function(){return new(Kusto.Language.Parsing.MapParser$2(TInput,TOutput).ctor)(this.root)},Parse$1:function(source,start){for(var node=this.root,length=0,bestLength=-1,bestOutput=null,input,subNode,bestValue;;){if(source.IsEnd(start+length|0))break;if(input=source.Peek(start+length|0),subNode={},node.TryGetValueNode(input,subNode))length=length+1|0,subNode.v.HasValue&&(bestLength=length,bestOutput=subNode.v.Value),node=subNode.v;else break}return bestLength>0?(bestValue=bestOutput(),new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(bestLength,bestValue)):new(Kusto.Language.Parsing.ParseResult$1(TOutput).$ctor1)(bestLength,Bridge.getDefaultValue(TOutput))},Scan:function(source,start){for(var node=this.root,length=0,bestLength=-1,input,subNode;;){if(source.IsEnd(start+length|0))break;if(input=source.Peek(start+length|0),subNode={},node.TryGetValueNode(input,subNode))length=length+1|0,subNode.v.HasValue&&(bestLength=length),node=subNode.v;else break}return bestLength}}}});Bridge.define("Kusto.Language.Parsing.ProduceParser$2",function(TInput,TProducer){return{inherits:[Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TProducer)],props:{Parser:null,Producer:null},ctors:{ctor:function(parser,producer){this.$initialize();Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TProducer).ctor.call(this);this.Parser=parser;this.Producer=producer}},methods:{Accept$1:function(visitor){visitor.VisitProduce(TProducer,this)},Accept:function(TResult,visitor){return visitor.VisitProduce(TProducer,this)},Clone:function(){return new(Kusto.Language.Parsing.ProduceParser$2(TInput,TProducer))(this.Parser,this.Producer)},Parse:function(source,inputStart,output,outputStart){var originalOutputCount=output.Count,length=this.Parser.Parse(source,inputStart,output,outputStart);return this.Produce(output,outputStart,originalOutputCount,length)},Produce:function(output,outputStart,originalOutputCount,inputLength){if(inputLength>=0){var value=this.Producer(output,outputStart);Kusto.Language.Utils.ListExtensions.SetCount(System.Object,output,outputStart);output.add(value)}else Kusto.Language.Utils.ListExtensions.SetCount(System.Object,output,originalOutputCount);return inputLength},Scan:function(source,start){return this.Parser.Scan(source,start)}}}});Bridge.define("Kusto.Language.Parsing.RuleParser$2",function(TInput,TProducer){return{inherits:[Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TProducer)],fields:{_parsers:null},props:{Parsers:{get:function(){return this._parsers}},ListProducer:null,ResultProducer:null},ctors:{ctor:function(parsers,listProducer,resultProducer){resultProducer===void 0&&(resultProducer=null);this.$initialize();Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TProducer).ctor.call(this);this._parsers=System.Linq.Enumerable.from(parsers).ToArray();this.ListProducer=listProducer;this.ResultProducer=resultProducer}},methods:{Accept$1:function(visitor){visitor.VisitRule(TProducer,this)},Accept:function(TResult,visitor){return visitor.VisitRule(TProducer,this)},Clone:function(){return new(Kusto.Language.Parsing.RuleParser$2(TInput,TProducer))(this.Parsers,this.ListProducer,this.ResultProducer)},Scan:function(source,start){var $t,len=0,parser,n;$t=Bridge.getEnumerator(this._parsers);try{while($t.moveNext()){if(parser=$t.Current,n=parser.Scan(source,start+len|0),n<0)return n-len|0;len=len+n|0}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return len},Parse$1:function(source,start){return Bridge.staticEquals(this.ResultProducer,null)?Kusto.Language.Parsing.ListPrimaryParser$2(TInput,TProducer).prototype.Parse$1.call(this,source,start):this.ResultProducer(source,start)},Parse:function(input,inputStart,output,outputStart){var $t,length=0,originalOutputCount=output.Count,parser,n,value;$t=Bridge.getEnumerator(this._parsers);try{while($t.moveNext()){if(parser=$t.Current,n=parser.Parse(input,inputStart+length|0,output,output.Count),n<0)return Kusto.Language.Utils.ListExtensions.SetCount(System.Object,output,originalOutputCount),n-length|0;length=length+n|0}}finally{Bridge.is($t,System.IDisposable)&&$t.System$IDisposable$Dispose()}return value=this.ListProducer(output,outputStart),Kusto.Language.Utils.ListExtensions.SetCount(System.Object,output,outputStart),output.add(value),length}}}});Bridge.define("Kusto.Language.Syntax.AliasStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.AliasStatement}},AliasKeyword:null,DatabaseKeyword:null,Name:null,Equal:null,Expression:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(aliasKeyword,databaseKeyword,name,equal,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.AliasKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,aliasKeyword);this.DatabaseKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,databaseKeyword);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.Equal=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equal);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.AliasKeyword;case 1:return this.DatabaseKeyword;case 2:return this.Name;case 3:return this.Equal;case 4:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"AliasKeyword";case 1:return"DatabaseKeyword";case 2:return"Name";case 3:return"Equal";case 4:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Declaration;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;case 4:return Kusto.Language.Editor.CompletionHint.Database;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitAliasStatement(this)},Visit:function(TResult,visitor){return visitor.VisitAliasStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitAliasStatement(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.AliasStatement(($t=this.AliasKeyword)!=null?$t.Clone$1():null,($t1=this.DatabaseKeyword)!=null?$t1.Clone$1():null,($t2=this.Name)!=null?$t2.Clone$1():null,($t3=this.Equal)!=null?$t3.Clone$1():null,($t4=this.Expression)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.QueryOperator",{inherits:[Kusto.Language.Syntax.Expression],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.AtExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.AtExpression}},AtToken:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(atToken,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.AtToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,atToken);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.AtToken;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"AtToken";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitAtExpression(this)},Visit:function(TResult,visitor){return visitor.VisitAtExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitAtExpression(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.AtExpression(($t=this.AtToken)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.Command",{inherits:[Kusto.Language.Syntax.Expression],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.BetweenExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{kind:0},props:{Kind:{get:function(){return this.kind}},Left:null,Operator:null,Right:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(kind,left,operator,right,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.kind=kind;this.Left=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,left);this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,operator);this.Right=this.Attach(Bridge.global.Kusto.Language.Syntax.ExpressionCouple,right);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Left;case 1:return this.Operator;case 2:return this.Right;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Left";case 1:return"Operator";case 2:return"Right";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitBetweenExpression(this)},Visit:function(TResult,visitor){return visitor.VisitBetweenExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBetweenExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.BetweenExpression(this.Kind,($t=this.Left)!=null?$t.Clone$1():null,($t1=this.Operator)!=null?$t1.Clone$1():null,($t2=this.Right)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.BinaryExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{kind:0},props:{Kind:{get:function(){return this.kind}},Left:null,Operator:null,Right:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(kind,left,operator,right,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.kind=kind;this.Left=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,left);this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,operator);this.Right=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,right);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Left;case 1:return this.Operator;case 2:return this.Right;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Left";case 1:return"Operator";case 2:return"Right";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitBinaryExpression(this)},Visit:function(TResult,visitor){return visitor.VisitBinaryExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBinaryExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.BinaryExpression(this.Kind,($t=this.Left)!=null?$t.Clone$1():null,($t1=this.Operator)!=null?$t1.Clone$1():null,($t2=this.Right)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.BracedName",{inherits:[Kusto.Language.Syntax.Name],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.BracedName}},OpenBrace:null,Name:null,CloseBrace:null,ChildCount:{get:function(){return 3}},SimpleName:{get:function(){return this.Name.ValueText}}},ctors:{ctor:function(openBrace,name,closeBrace,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Name.ctor.call(this,diagnostics);this.OpenBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBrace);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,name);this.CloseBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBrace);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBrace;case 1:return this.Name;case 2:return this.CloseBrace;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBrace";case 1:return"Name";case 2:return"CloseBrace";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitBracedName(this)},Visit:function(TResult,visitor){return visitor.VisitBracedName(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBracedName(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.BracedName(($t=this.OpenBrace)!=null?$t.Clone$1():null,($t1=this.Name)!=null?$t1.Clone$1():null,($t2=this.CloseBrace)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.BrackettedExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.BrackettedExpression}},OpenBracket:null,Expression:null,CloseBracket:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openBracket,expression,closeBracket,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBracket;case 1:return this.Expression;case 2:return this.CloseBracket;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBracket";case 1:return"Expression";case 2:return"CloseBracket";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Literal;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitBrackettedExpression(this)},Visit:function(TResult,visitor){return visitor.VisitBrackettedExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBrackettedExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.BrackettedExpression(($t=this.OpenBracket)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,($t2=this.CloseBracket)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.BrackettedName",{inherits:[Kusto.Language.Syntax.Name],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.BrackettedName}},OpenBracket:null,Name:null,CloseBracket:null,ChildCount:{get:function(){return 3}},SimpleName:{get:function(){var $t;return $t=Bridge.as(this.Name.LiteralValue,System.String),$t!=null?$t:""}}},ctors:{ctor:function(openBracket,name,closeBracket,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Name.ctor.call(this,diagnostics);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,name);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBracket;case 1:return this.Name;case 2:return this.CloseBracket;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBracket";case 1:return"Name";case 2:return"CloseBracket";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Literal;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitBrackettedName(this)},Visit:function(TResult,visitor){return visitor.VisitBrackettedName(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBrackettedName(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.BrackettedName(($t=this.OpenBracket)!=null?$t.Clone$1():null,($t1=this.Name)!=null?$t1.Clone$1():null,($t2=this.CloseBracket)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CommandInputExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CommandInputExpression}},Command:null,LessThanBar:null,Query:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(command,lessThanBar,query,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Command=this.Attach(Bridge.global.Kusto.Language.Syntax.Command,command);this.LessThanBar=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,lessThanBar);this.Query=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxNode,query);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Command;case 1:return this.LessThanBar;case 2:return this.Query;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Command";case 1:return"LessThanBar";case 2:return"Query";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Tabular;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCommandInputExpression(this)},Visit:function(TResult,visitor){return visitor.VisitCommandInputExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCommandInputExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.CommandInputExpression(($t=this.Command)!=null?$t.Clone$1():null,($t1=this.LessThanBar)!=null?$t1.Clone$1():null,($t2=this.Query)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CommandWithClause",{inherits:[Kusto.Language.Syntax.Clause],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.NamedExpression",{inherits:[Kusto.Language.Syntax.Expression],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.CompoundStringLiteralExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{literalValue:null},props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CompoundStringLiteralExpression}},Tokens:null,ChildCount:{get:function(){return 1}},IsLiteral:{get:function(){return!0}},LiteralValue:{get:function(){return this.literalValue==null&&(this.literalValue=System.String.concat(Bridge.toArray(System.Linq.Enumerable.from(this.Tokens).select(function(t){return t.Value})))),this.literalValue}}},ctors:{ctor:function(tokens,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Tokens=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken),tokens);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Tokens;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Tokens";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitCompoundStringLiteralExpression(this)},Visit:function(TResult,visitor){return visitor.VisitCompoundStringLiteralExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCompoundStringLiteralExpression(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.CompoundStringLiteralExpression(($t=this.Tokens)!=null?$t.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ConditionedExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ConditionedExpression}},QuestionMark:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(questionMark,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.QuestionMark=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,questionMark);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.QuestionMark;case 1:return this.OpenParen;case 2:return this.Expression;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"QuestionMark";case 1:return"OpenParen";case 2:return"Expression";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitConditionedExpression(this)},Visit:function(TResult,visitor){return visitor.VisitConditionedExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitConditionedExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.ConditionedExpression(($t=this.QuestionMark)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CountAsIdentifierClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CountAsIdentifierClause}},AsKeyword:null,Identifier:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(asKeyword,identifier,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.AsKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,asKeyword);this.Identifier=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,identifier);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.AsKeyword;case 1:return this.Identifier;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"AsKeyword";case 1:return"Identifier";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Declaration;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCountAsIdentifierClause(this)},Visit:function(TResult,visitor){return visitor.VisitCountAsIdentifierClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCountAsIdentifierClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.CountAsIdentifierClause(($t=this.AsKeyword)!=null?$t.Clone$1():null,($t1=this.Identifier)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DataScopeClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DataScopeClause}},DataScopeKeyword:null,EqualToken:null,Value:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(dataScopeKeyword,equalToken,value,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.DataScopeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dataScopeKeyword);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Value=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,value);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DataScopeKeyword;case 1:return this.EqualToken;case 2:return this.Value;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DataScopeKeyword";case 1:return"EqualToken";case 2:return"Value";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDataScopeClause(this)},Visit:function(TResult,visitor){return visitor.VisitDataScopeClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDataScopeClause(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.DataScopeClause(($t=this.DataScopeKeyword)!=null?$t.Clone$1():null,($t1=this.EqualToken)!=null?$t1.Clone$1():null,($t2=this.Value)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DataScopeExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DataScopeExpression}},Expression:null,DataScopeClause:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(expression,dataScopeClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.DataScopeClause=this.Attach(Bridge.global.Kusto.Language.Syntax.DataScopeClause,dataScopeClause);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.DataScopeClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"DataScopeClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDataScopeExpression(this)},Visit:function(TResult,visitor){return visitor.VisitDataScopeExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDataScopeExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.DataScopeExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.DataScopeClause)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DataTableExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DataTableExpression}},DataTableKeyword:null,Schema:null,OpenBracket:null,Values:null,CloseBracket:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(dataTableKeyword,schema,openBracket,values,closeBracket,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.DataTableKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dataTableKeyword);this.Schema=this.Attach(Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,schema);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.Values=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),values);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DataTableKeyword;case 1:return this.Schema;case 2:return this.OpenBracket;case 3:return this.Values;case 4:return this.CloseBracket;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DataTableKeyword";case 1:return"Schema";case 2:return"OpenBracket";case 3:return"Values";case 4:return"CloseBracket";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Literal;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDataTableExpression(this)},Visit:function(TResult,visitor){return visitor.VisitDataTableExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDataTableExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.DataTableExpression(($t=this.DataTableKeyword)!=null?$t.Clone$1():null,($t1=this.Schema)!=null?$t1.Clone$1():null,($t2=this.OpenBracket)!=null?$t2.Clone$1():null,($t3=this.Values)!=null?$t3.Clone$2():null,($t4=this.CloseBracket)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DefaultExpressionClause",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DefaultExpressionClause}},DefaultKeyword:null,EqualToken:null,Expression:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(defaultKeyword,equalToken,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.DefaultKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,defaultKeyword);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DefaultKeyword;case 1:return this.EqualToken;case 2:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DefaultKeyword";case 1:return"EqualToken";case 2:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Literal;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDefaultExpressionClause(this)},Visit:function(TResult,visitor){return visitor.VisitDefaultExpressionClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDefaultExpressionClause(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.DefaultExpressionClause(($t=this.DefaultKeyword)!=null?$t.Clone$1():null,($t1=this.EqualToken)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DynamicExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DynamicExpression}},Dynamic:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 4}},IsLiteral:{get:function(){return!0}},LiteralValue:{get:function(){return this.Kind===Kusto.Language.Syntax.SyntaxKind.NullLiteralExpression?null:this.Expression.ToString(Kusto.Language.Syntax.IncludeTrivia.Minimal)}}},ctors:{ctor:function(dynamic,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Dynamic=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dynamic);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Dynamic;case 1:return this.OpenParen;case 2:return this.Expression;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Dynamic";case 1:return"OpenParen";case 2:return"Expression";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDynamicExpression(this)},Visit:function(TResult,visitor){return visitor.VisitDynamicExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDynamicExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.DynamicExpression(($t=this.Dynamic)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ElementExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ElementExpression}},Expression:null,Selector:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(expression,selector,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Selector=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,selector);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.Selector;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"Selector";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitElementExpression(this)},Visit:function(TResult,visitor){return visitor.VisitElementExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitElementExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ElementExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.Selector)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExpressionStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExpressionStatement}},Expression:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Inherit;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitExpressionStatement(this)},Visit:function(TResult,visitor){return visitor.VisitExpressionStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExpressionStatement(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.ExpressionStatement(($t=this.Expression)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExternalDataExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExternalDataExpression}},ExternalDataKeyword:null,Parameters:null,Schema:null,OpenBracket:null,URIs:null,CloseBracket:null,WithClause:null,ChildCount:{get:function(){return 7}}},ctors:{ctor:function(externalDataKeyword,parameters,schema,openBracket,uRIs,closeBracket,withClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.ExternalDataKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,externalDataKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Schema=this.Attach(Bridge.global.Kusto.Language.Syntax.SchemaTypeExpression,schema);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.URIs=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),uRIs);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.WithClause=this.Attach(Bridge.global.Kusto.Language.Syntax.ExternalDataWithClause,withClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ExternalDataKeyword;case 1:return this.Parameters;case 2:return this.Schema;case 3:return this.OpenBracket;case 4:return this.URIs;case 5:return this.CloseBracket;case 6:return this.WithClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ExternalDataKeyword";case 1:return"Parameters";case 2:return"Schema";case 3:return"OpenBracket";case 4:return"URIs";case 5:return"CloseBracket";case 6:return"WithClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 6:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;case 4:return Kusto.Language.Editor.CompletionHint.None;case 5:return Kusto.Language.Editor.CompletionHint.Syntax;case 6:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitExternalDataExpression(this)},Visit:function(TResult,visitor){return visitor.VisitExternalDataExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExternalDataExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6;return new Kusto.Language.Syntax.ExternalDataExpression(($t=this.ExternalDataKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Schema)!=null?$t2.Clone$1():null,($t3=this.OpenBracket)!=null?$t3.Clone$1():null,($t4=this.URIs)!=null?$t4.Clone$2():null,($t5=this.CloseBracket)!=null?$t5.Clone$1():null,($t6=this.WithClause)!=null?$t6.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExternalDataWithClause",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExternalDataWithClause}},WithKeyword:null,OpenParen:null,Properties:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(withKeyword,openParen,properties,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Properties=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),properties);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.OpenParen;case 2:return this.Properties;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"OpenParen";case 2:return"Properties";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitExternalDataWithClause(this)},Visit:function(TResult,visitor){return visitor.VisitExternalDataWithClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExternalDataWithClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.ExternalDataWithClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Properties)!=null?$t2.Clone$2():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FacetWithClause",{inherits:[Kusto.Language.Syntax.Clause],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.FindInClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FindInClause}},InKeyword:null,OpenParen:null,Expressions:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(inKeyword,openParen,expressions,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.InKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,inKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.InKeyword;case 1:return this.OpenParen;case 2:return this.Expressions;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"InKeyword";case 1:return"OpenParen";case 2:return"Expressions";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFindInClause(this)},Visit:function(TResult,visitor){return visitor.VisitFindInClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFindInClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.FindInClause(($t=this.InKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FindProjectClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FindProjectClause}},ProjectKeyword:null,Columns:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(projectKeyword,columns,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.ProjectKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,projectKeyword);this.Columns=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),columns);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ProjectKeyword;case 1:return this.Columns;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ProjectKeyword";case 1:return"Columns";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFindProjectClause(this)},Visit:function(TResult,visitor){return visitor.VisitFindProjectClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFindProjectClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.FindProjectClause(($t=this.ProjectKeyword)!=null?$t.Clone$1():null,($t1=this.Columns)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ForkExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ForkExpression}},NameEquals:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(nameEquals,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.NameEquals=this.Attach(Bridge.global.Kusto.Language.Syntax.NameEqualsClause,nameEquals,!0);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.NameEquals;case 1:return this.OpenParen;case 2:return this.Expression;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"NameEquals";case 1:return"OpenParen";case 2:return"Expression";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 0:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Clause;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Clause;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitForkExpression(this)},Visit:function(TResult,visitor){return visitor.VisitForkExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitForkExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.ForkExpression(($t=this.NameEquals)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FunctionCallExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FunctionCallExpression}},Name:null,ArgumentList:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(name,argumentList,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameReference,name);this.ArgumentList=this.Attach(Bridge.global.Kusto.Language.Syntax.ExpressionList,argumentList);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;case 1:return this.ArgumentList;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";case 1:return"ArgumentList";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Declaration;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFunctionCallExpression(this)},Visit:function(TResult,visitor){return visitor.VisitFunctionCallExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFunctionCallExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.FunctionCallExpression(($t=this.Name)!=null?$t.Clone$1():null,($t1=this.ArgumentList)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FunctionDeclaration",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FunctionDeclaration}},ViewKeyword:null,Parameters:null,Body:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(viewKeyword,parameters,body,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.ViewKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,viewKeyword,!0);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.FunctionParameters,parameters);this.Body=this.Attach(Bridge.global.Kusto.Language.Syntax.FunctionBody,body);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ViewKeyword;case 1:return this.Parameters;case 2:return this.Body;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ViewKeyword";case 1:return"Parameters";case 2:return"Body";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 0:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFunctionDeclaration(this)},Visit:function(TResult,visitor){return visitor.VisitFunctionDeclaration(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFunctionDeclaration(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.FunctionDeclaration(($t=this.ViewKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$1():null,($t2=this.Body)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.HasAnyExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{kind:0},props:{Kind:{get:function(){return this.kind}},Left:null,Operator:null,Right:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(kind,left,operator,right,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.kind=kind;this.Left=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,left);this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,operator);this.Right=this.Attach(Bridge.global.Kusto.Language.Syntax.ExpressionList,right);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Left;case 1:return this.Operator;case 2:return this.Right;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Left";case 1:return"Operator";case 2:return"Right";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitHasAnyExpression(this)},Visit:function(TResult,visitor){return visitor.VisitHasAnyExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitHasAnyExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.HasAnyExpression(this.Kind,($t=this.Left)!=null?$t.Clone$1():null,($t1=this.Operator)!=null?$t1.Clone$1():null,($t2=this.Right)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.InExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{kind:0},props:{Kind:{get:function(){return this.kind}},Left:null,Operator:null,Right:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(kind,left,operator,right,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.kind=kind;this.Left=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,left);this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,operator);this.Right=this.Attach(Bridge.global.Kusto.Language.Syntax.ExpressionList,right);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Left;case 1:return this.Operator;case 2:return this.Right;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Left";case 1:return"Operator";case 2:return"Right";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitInExpression(this)},Visit:function(TResult,visitor){return visitor.VisitInExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitInExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.InExpression(this.Kind,($t=this.Left)!=null?$t.Clone$1():null,($t1=this.Operator)!=null?$t1.Clone$1():null,($t2=this.Right)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JoinConditionClause",{inherits:[Kusto.Language.Syntax.Clause],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.JsonExpression",{inherits:[Kusto.Language.Syntax.Expression],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.LetStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.LetStatement}},LetKeyword:null,Name:null,Equal:null,Expression:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(letKeyword,name,equal,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.LetKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,letKeyword);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.Equal=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equal);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.LetKeyword;case 1:return this.Name;case 2:return this.Equal;case 3:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"LetKeyword";case 1:return"Name";case 2:return"Equal";case 3:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Declaration;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Expression;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitLetStatement(this)},Visit:function(TResult,visitor){return visitor.VisitLetStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitLetStatement(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.LetStatement(($t=this.LetKeyword)!=null?$t.Clone$1():null,($t1=this.Name)!=null?$t1.Clone$1():null,($t2=this.Equal)!=null?$t2.Clone$1():null,($t3=this.Expression)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.LiteralExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{kind:0},props:{Kind:{get:function(){return this.kind}},Token:null,ChildCount:{get:function(){return 1}},IsLiteral:{get:function(){return!0}},LiteralValue:{get:function(){return this.Token.Value}}},ctors:{ctor:function(kind,token,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.kind=kind;this.Token=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,token);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Token;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Token";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Literal;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitLiteralExpression(this)},Visit:function(TResult,visitor){return visitor.VisitLiteralExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitLiteralExpression(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.LiteralExpression(this.Kind,($t=this.Token)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesByClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MakeSeriesByClause}},ByKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(byKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ByKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ByKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMakeSeriesByClause(this)},Visit:function(TResult,visitor){return visitor.VisitMakeSeriesByClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMakeSeriesByClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MakeSeriesByClause(($t=this.ByKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MakeSeriesExpression}},Expression:null,DefaultExpression:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(expression,defaultExpression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.DefaultExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.DefaultExpressionClause,defaultExpression,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.DefaultExpression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"DefaultExpression";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Scalar;case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMakeSeriesExpression(this)},Visit:function(TResult,visitor){return visitor.VisitMakeSeriesExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMakeSeriesExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MakeSeriesExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.DefaultExpression)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesRangeClause",{inherits:[Kusto.Language.Syntax.Clause],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesOnClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MakeSeriesOnClause}},OnKeyword:null,Expression:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(onKeyword,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.OnKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,onKeyword);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OnKeyword;case 1:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OnKeyword";case 1:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMakeSeriesOnClause(this)},Visit:function(TResult,visitor){return visitor.VisitMakeSeriesOnClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMakeSeriesOnClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MakeSeriesOnClause(($t=this.OnKeyword)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MaterializeExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MaterializeExpression}},MaterializeKeyword:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(materializeKeyword,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.MaterializeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,materializeKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.MaterializeKeyword;case 1:return this.OpenParen;case 2:return this.Expression;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"MaterializeKeyword";case 1:return"OpenParen";case 2:return"Expression";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMaterializeExpression(this)},Visit:function(TResult,visitor){return visitor.VisitMaterializeExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMaterializeExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.MaterializeExpression(($t=this.MaterializeKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvApplyContextIdClause",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvApplyContextIdClause}},IdKeyword:null,Id:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(idKeyword,id,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.IdKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,idKeyword);this.Id=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,id);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.IdKeyword;case 1:return this.Id;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"IdKeyword";case 1:return"Id";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvApplyContextIdClause(this)},Visit:function(TResult,visitor){return visitor.VisitMvApplyContextIdClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvApplyContextIdClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MvApplyContextIdClause(($t=this.IdKeyword)!=null?$t.Clone$1():null,($t1=this.Id)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvApplyExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvApplyExpression}},Expression:null,ToTypeOf:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(expression,toTypeOf,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression,!0);this.ToTypeOf=this.Attach(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,toTypeOf,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.ToTypeOf;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"ToTypeOf";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 0:case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Scalar;case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvApplyExpression(this)},Visit:function(TResult,visitor){return visitor.VisitMvApplyExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvApplyExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MvApplyExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.ToTypeOf)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvApplyRowLimitClause",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvApplyRowLimitClause}},LimitKeyword:null,RowLimit:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(limitKeyword,rowLimit,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.LimitKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,limitKeyword);this.RowLimit=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,rowLimit);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.LimitKeyword;case 1:return this.RowLimit;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"LimitKeyword";case 1:return"RowLimit";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvApplyRowLimitClause(this)},Visit:function(TResult,visitor){return visitor.VisitMvApplyRowLimitClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvApplyRowLimitClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MvApplyRowLimitClause(($t=this.LimitKeyword)!=null?$t.Clone$1():null,($t1=this.RowLimit)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvApplySubqueryExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvApplySubqueryExpression}},OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Expression;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Expression";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Clause;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvApplySubqueryExpression(this)},Visit:function(TResult,visitor){return visitor.VisitMvApplySubqueryExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvApplySubqueryExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.MvApplySubqueryExpression(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvExpandExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvExpandExpression}},Expression:null,ToTypeOf:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(expression,toTypeOf,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression,!0);this.ToTypeOf=this.Attach(Bridge.global.Kusto.Language.Syntax.ToTypeOfClause,toTypeOf,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.ToTypeOf;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"ToTypeOf";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 0:case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Scalar;case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvExpandExpression(this)},Visit:function(TResult,visitor){return visitor.VisitMvExpandExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvExpandExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MvExpandExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.ToTypeOf)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvExpandRowLimitClause",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvExpandRowLimitClause}},LimitKeyword:null,RowLimit:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(limitKeyword,rowLimit,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.LimitKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,limitKeyword);this.RowLimit=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,rowLimit);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.LimitKeyword;case 1:return this.RowLimit;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"LimitKeyword";case 1:return"RowLimit";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvExpandRowLimitClause(this)},Visit:function(TResult,visitor){return visitor.VisitMvExpandRowLimitClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvExpandRowLimitClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.MvExpandRowLimitClause(($t=this.LimitKeyword)!=null?$t.Clone$1():null,($t1=this.RowLimit)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.NameAndTypeDeclaration",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.NameAndTypeDeclaration}},Name:null,Colon:null,Type:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(name,colon,type,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.Colon=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,colon);this.Type=this.Attach(Bridge.global.Kusto.Language.Syntax.TypeExpression,type);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;case 1:return this.Colon;case 2:return this.Type;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";case 1:return"Colon";case 2:return"Type";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Declaration;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitNameAndTypeDeclaration(this)},Visit:function(TResult,visitor){return visitor.VisitNameAndTypeDeclaration(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitNameAndTypeDeclaration(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.NameAndTypeDeclaration(($t=this.Name)!=null?$t.Clone$1():null,($t1=this.Colon)!=null?$t1.Clone$1():null,($t2=this.Type)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.NameDeclaration",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.NameDeclaration}},Name:null,ChildCount:{get:function(){return 1}},SimpleName:{get:function(){return this.Name.SimpleName}}},ctors:{ctor:function(name,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.Name,name);this.Init()},$ctor1:function(nameToken,diagnostics){diagnostics===void 0&&(diagnostics=null);Kusto.Language.Syntax.NameDeclaration.ctor.call(this,new Kusto.Language.Syntax.TokenName(nameToken),diagnostics)}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitNameDeclaration(this)},Visit:function(TResult,visitor){return visitor.VisitNameDeclaration(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitNameDeclaration(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.NameDeclaration.ctor(($t=this.Name)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.NameEqualsClause",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.NameEqualsClause}},Name:null,EqualToken:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(name,equalToken,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;case 1:return this.EqualToken;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";case 1:return"EqualToken";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Declaration;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitNameEqualsClause(this)},Visit:function(TResult,visitor){return visitor.VisitNameEqualsClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitNameEqualsClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.NameEqualsClause(($t=this.Name)!=null?$t.Clone$1():null,($t1=this.EqualToken)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.NameReference",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.NameReference}},Name:null,Match:0,ChildCount:{get:function(){return 1}},SimpleName:{get:function(){return this.Name.SimpleName}}},ctors:{ctor:function(name,match,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.Name,name);this.Match=match;this.Init()},$ctor1:function(name,diagnostics){diagnostics===void 0&&(diagnostics=null);Kusto.Language.Syntax.NameReference.ctor.call(this,name,Kusto.Language.Symbols.SymbolMatch.Default,diagnostics)},$ctor2:function(nameToken,diagnostics){diagnostics===void 0&&(diagnostics=null);Kusto.Language.Syntax.NameReference.$ctor1.call(this,new Kusto.Language.Syntax.TokenName(nameToken),diagnostics)}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitNameReference(this)},Visit:function(TResult,visitor){return visitor.VisitNameReference(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitNameReference(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.NameReference.ctor(($t=this.Name)!=null?$t.Clone$1():null,this.Match,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.OptionValueClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.OptionValueClause}},Equal:null,Expression:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(equal,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.Equal=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equal);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Equal;case 1:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Equal";case 1:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitOptionValueClause(this)},Visit:function(TResult,visitor){return visitor.VisitOptionValueClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitOptionValueClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.OptionValueClause(($t=this.Equal)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.OrderedExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.OrderedExpression}},Expression:null,Ordering:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(expression,ordering,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Ordering=this.Attach(Bridge.global.Kusto.Language.Syntax.OrderingClause,ordering);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.Ordering;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"Ordering";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Scalar;case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitOrderedExpression(this)},Visit:function(TResult,visitor){return visitor.VisitOrderedExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitOrderedExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.OrderedExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.Ordering)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PackExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PackExpression}},PackKeyword:null,OpenParen:null,AsteriskToken:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(packKeyword,openParen,asteriskToken,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.PackKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,packKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.AsteriskToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,asteriskToken);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.PackKeyword;case 1:return this.OpenParen;case 2:return this.AsteriskToken;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"PackKeyword";case 1:return"OpenParen";case 2:return"AsteriskToken";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPackExpression(this)},Visit:function(TResult,visitor){return visitor.VisitPackExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPackExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.PackExpression(($t=this.PackKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.AsteriskToken)!=null?$t2.Clone$1():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ParenthesizedExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ParenthesizedExpression}},OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Expression;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Expression";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitParenthesizedExpression(this)},Visit:function(TResult,visitor){return visitor.VisitParenthesizedExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitParenthesizedExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.ParenthesizedExpression(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PartitionExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PartitionExpression}},OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 3}},IsSubquery:{get:function(){return this.OpenParen.Kind===Kusto.Language.Syntax.SyntaxKind.OpenParenToken}}},ctors:{ctor:function(openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Expression;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Expression";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Clause;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPartitionExpression(this)},Visit:function(TResult,visitor){return visitor.VisitPartitionExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPartitionExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.PartitionExpression(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PathExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PathExpression}},Expression:null,Dot:null,Selector:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(expression,dot,selector,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Dot=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dot,!0);this.Selector=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,selector);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.Dot;case 2:return this.Selector;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"Dot";case 2:return"Selector";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Expression;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPathExpression(this)},Visit:function(TResult,visitor){return visitor.VisitPathExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPathExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.PathExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.Dot)!=null?$t1.Clone$1():null,($t2=this.Selector)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PatternDeclaration",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PatternDeclaration}},EqualToken:null,OpenParen:null,Parameters:null,CloseParen:null,PathParameter:null,OpenBrace:null,Patterns:null,CloseBrace:null,ChildCount:{get:function(){return 8}}},ctors:{ctor:function(equalToken,openParen,parameters,closeParen,pathParameter,openBrace,patterns,closeBrace,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameAndTypeDeclaration)),parameters);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.PathParameter=this.Attach(Bridge.global.Kusto.Language.Syntax.PatternPathParameter,pathParameter,!0);this.OpenBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBrace);this.Patterns=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.PatternMatch),patterns);this.CloseBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBrace);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.EqualToken;case 1:return this.OpenParen;case 2:return this.Parameters;case 3:return this.CloseParen;case 4:return this.PathParameter;case 5:return this.OpenBrace;case 6:return this.Patterns;case 7:return this.CloseBrace;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"EqualToken";case 1:return"OpenParen";case 2:return"Parameters";case 3:return"CloseParen";case 4:return"PathParameter";case 5:return"OpenBrace";case 6:return"Patterns";case 7:return"CloseBrace";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 4:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;case 4:return Kusto.Language.Editor.CompletionHint.Clause;case 5:return Kusto.Language.Editor.CompletionHint.Syntax;case 6:return Kusto.Language.Editor.CompletionHint.Clause;case 7:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPatternDeclaration(this)},Visit:function(TResult,visitor){return visitor.VisitPatternDeclaration(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPatternDeclaration(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6,$t7;return new Kusto.Language.Syntax.PatternDeclaration(($t=this.EqualToken)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Parameters)!=null?$t2.Clone$2():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,($t4=this.PathParameter)!=null?$t4.Clone$1():null,($t5=this.OpenBrace)!=null?$t5.Clone$1():null,($t6=this.Patterns)!=null?$t6.Clone$2():null,($t7=this.CloseBrace)!=null?$t7.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PatternStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PatternStatement}},DeclareKeyword:null,PatternKeyword:null,Name:null,Pattern:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(declareKeyword,patternKeyword,name,pattern,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.DeclareKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,declareKeyword);this.PatternKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,patternKeyword);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.Pattern=this.Attach(Bridge.global.Kusto.Language.Syntax.PatternDeclaration,pattern,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DeclareKeyword;case 1:return this.PatternKeyword;case 2:return this.Name;case 3:return this.Pattern;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DeclareKeyword";case 1:return"PatternKeyword";case 2:return"Name";case 3:return"Pattern";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Declaration;case 3:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPatternStatement(this)},Visit:function(TResult,visitor){return visitor.VisitPatternStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPatternStatement(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.PatternStatement(($t=this.DeclareKeyword)!=null?$t.Clone$1():null,($t1=this.PatternKeyword)!=null?$t1.Clone$1():null,($t2=this.Name)!=null?$t2.Clone$1():null,($t3=this.Pattern)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PipeExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PipeExpression}},Expression:null,Bar:null,Operator:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(expression,bar,operator,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Bar=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,bar);this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.QueryOperator,operator);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Expression;case 1:return this.Bar;case 2:return this.Operator;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Expression";case 1:return"Bar";case 2:return"Operator";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Tabular;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Query;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPipeExpression(this)},Visit:function(TResult,visitor){return visitor.VisitPipeExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPipeExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.PipeExpression(($t=this.Expression)!=null?$t.Clone$1():null,($t1=this.Bar)!=null?$t1.Clone$1():null,($t2=this.Operator)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PrefixUnaryExpression",{inherits:[Kusto.Language.Syntax.Expression],fields:{kind:0},props:{Kind:{get:function(){return this.kind}},Operator:null,Expression:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(kind,operator,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.kind=kind;this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,operator);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Operator;case 1:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Operator";case 1:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPrefixUnaryExpression(this)},Visit:function(TResult,visitor){return visitor.VisitPrefixUnaryExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPrefixUnaryExpression(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.PrefixUnaryExpression(this.Kind,($t=this.Operator)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TypeExpression",{inherits:[Kusto.Language.Syntax.Expression],ctors:{ctor:function(diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics)}}});Bridge.define("Kusto.Language.Syntax.QueryParametersStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.QueryParametersStatement}},DeclareKeyword:null,QueryParametersKeyword:null,OpenParen:null,Parameters:null,CloseParen:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(declareKeyword,queryParametersKeyword,openParen,parameters,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.DeclareKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,declareKeyword);this.QueryParametersKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,queryParametersKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.FunctionParameter)),parameters);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DeclareKeyword;case 1:return this.QueryParametersKeyword;case 2:return this.OpenParen;case 3:return this.Parameters;case 4:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DeclareKeyword";case 1:return"QueryParametersKeyword";case 2:return"OpenParen";case 3:return"Parameters";case 4:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitQueryParametersStatement(this)},Visit:function(TResult,visitor){return visitor.VisitQueryParametersStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitQueryParametersStatement(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.QueryParametersStatement(($t=this.DeclareKeyword)!=null?$t.Clone$1():null,($t1=this.QueryParametersKeyword)!=null?$t1.Clone$1():null,($t2=this.OpenParen)!=null?$t2.Clone$1():null,($t3=this.Parameters)!=null?$t3.Clone$2():null,($t4=this.CloseParen)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ReduceByWithClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ReduceByWithClause}},WithKeyword:null,Parameters:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(withKeyword,parameters,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),parameters);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.Parameters;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"Parameters";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitReduceByWithClause(this)},Visit:function(TResult,visitor){return visitor.VisitReduceByWithClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitReduceByWithClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ReduceByWithClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.RenderNameList",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.RenderNameList}},Names:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(names,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Names=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NameDeclaration)),names);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Names;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Names";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitRenderNameList(this)},Visit:function(TResult,visitor){return visitor.VisitRenderNameList(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitRenderNameList(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.RenderNameList(($t=this.Names)!=null?$t.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.RenderWithClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.RenderWithClause}},WithKeyword:null,OpenParen:null,Properties:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(withKeyword,openParen,properties,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Properties=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),properties);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.OpenParen;case 2:return this.Properties;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"OpenParen";case 2:return"Properties";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.None;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitRenderWithClause(this)},Visit:function(TResult,visitor){return visitor.VisitRenderWithClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitRenderWithClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.RenderWithClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Properties)!=null?$t2.Clone$2():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.RestrictStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.RestrictStatement}},RestrictKeyword:null,AccessKeyword:null,ToKeyword:null,OpenParen:null,Expressions:null,CloseParen:null,ChildCount:{get:function(){return 6}}},ctors:{ctor:function(restrictKeyword,accessKeyword,toKeyword,openParen,expressions,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.RestrictKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,restrictKeyword);this.AccessKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,accessKeyword);this.ToKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,toKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.RestrictKeyword;case 1:return this.AccessKeyword;case 2:return this.ToKeyword;case 3:return this.OpenParen;case 4:return this.Expressions;case 5:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"RestrictKeyword";case 1:return"AccessKeyword";case 2:return"ToKeyword";case 3:return"OpenParen";case 4:return"Expressions";case 5:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;case 4:return Kusto.Language.Editor.CompletionHint.Scalar;case 5:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitRestrictStatement(this)},Visit:function(TResult,visitor){return visitor.VisitRestrictStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitRestrictStatement(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5;return new Kusto.Language.Syntax.RestrictStatement(($t=this.RestrictKeyword)!=null?$t.Clone$1():null,($t1=this.AccessKeyword)!=null?$t1.Clone$1():null,($t2=this.ToKeyword)!=null?$t2.Clone$1():null,($t3=this.OpenParen)!=null?$t3.Clone$1():null,($t4=this.Expressions)!=null?$t4.Clone$2():null,($t5=this.CloseParen)!=null?$t5.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SeparatedElement$1",function(TElement){return{inherits:[Kusto.Language.Syntax.SeparatedElement],statics:{methods:{Empty:function(){return new(Kusto.Language.Syntax.SeparatedElement$1(TElement))(null,null)}}},props:{Element$1:{get:function(){return Bridge.cast(this.Element,TElement)}}},ctors:{ctor:function(element,separator){separator===void 0&&(separator=null);this.$initialize();Kusto.Language.Syntax.SeparatedElement.ctor.call(this,element,separator)}},methods:{CloneCore:function(){return new(Kusto.Language.Syntax.SeparatedElement$1(TElement))(Bridge.cast(this.Element$1.Clone(),TElement),this.Separator.Clone$1())}}}});Bridge.define("Kusto.Language.Syntax.SetOptionStatement",{inherits:[Kusto.Language.Syntax.Statement],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SetOptionStatement}},SetKeyword:null,Name:null,ValueClause:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(setKeyword,name,valueClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Statement.ctor.call(this,diagnostics);this.SetKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,setKeyword);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.ValueClause=this.Attach(Bridge.global.Kusto.Language.Syntax.OptionValueClause,valueClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.SetKeyword;case 1:return this.Name;case 2:return this.ValueClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"SetKeyword";case 1:return"Name";case 2:return"ValueClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 2:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Declaration;case 2:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSetOptionStatement(this)},Visit:function(TResult,visitor){return visitor.VisitSetOptionStatement(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSetOptionStatement(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.SetOptionStatement(($t=this.SetKeyword)!=null?$t.Clone$1():null,($t1=this.Name)!=null?$t1.Clone$1():null,($t2=this.ValueClause)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.StarExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.StarExpression}},AsteriskToken:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(asteriskToken,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.AsteriskToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,asteriskToken);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.AsteriskToken;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"AsteriskToken";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitStarExpression(this)},Visit:function(TResult,visitor){return visitor.VisitStarExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitStarExpression(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.StarExpression(($t=this.AsteriskToken)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SummarizeByClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SummarizeByClause}},ByKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(byKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ByKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ByKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSummarizeByClause(this)},Visit:function(TResult,visitor){return visitor.VisitSummarizeByClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSummarizeByClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.SummarizeByClause(($t=this.ByKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SyntaxList$1",function(TElement){return{inherits:[Kusto.Language.Syntax.SyntaxList,System.Collections.Generic.IReadOnlyList$1(TElement)],statics:{methods:{Copy:function(list){for(var newArray=System.Array.init(System.Array.getCount(list,TElement),function(){return Bridge.getDefaultValue(TElement)},TElement),i=0;i0)return i;if(System.Char.isLetter(ch))i=i+1|0;else return 0}return 0},GetValueSpan:function(text,start,length){start.v=0;var end=text.length,prefixLen=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetPrefixLength(text);prefixLen>0&&(start.v=prefixLen+1|0,System.String.endsWith(text,")")&&(end=text.length-1|0));length.v=end-start.v|0},GetValueText:function(text){var start={},length={};return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueSpan(text,start,length),start.v===0&&length.v===text.length?text:text.substr(start.v,length.v)},IsNull:function(text){var start={},length={};return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueSpan(text,start,length),System.String.compare(text.substr(start.v,length.v),"null".substr(0,length.v))===0},GetBooleanValue:function(text){var start={},length={};return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueSpan(text,start,length),System.String.compare(text.substr(start.v,length.v),"true".substr(0,length.v),!0)===0?Bridge.box(!0,System.Boolean,System.Boolean.toString):System.String.compare(text.substr(start.v,length.v),"false".substr(0,length.v),!0)===0?Bridge.box(!1,System.Boolean,System.Boolean.toString):null},GetIntValue:function(text){var valueText=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueText(text),result={};return System.Int32.tryParse(valueText,result),result.v},GetLongValue:function(text){var valueText=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueText(text),result={};return System.Int64.tryParse(valueText,result),result.v},GetRealValue:function(text){var valueText=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueText(text),result={};return System.Double.tryParse(valueText,null,result),result.v},GetDecimalValue:function(text){var valueText=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueText(text),result={};return System.Decimal.tryParse(valueText,null,result),result.v},GetTimeSpanValue:function(text){for(var valueText=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueText(text),split=0,ch;split0?Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetValueText(this.Text):this.Kind===Kusto.Language.Syntax.SyntaxKind.StringLiteralToken?Bridge.cast(this.Value,System.String):this.Text),this.valueText}},Prefix:{get:function(){var prefixLen=Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetPrefixLength(this.Text);return prefixLen>0?this.Text.substr(0,prefixLen):""}}},ctors:{ctor:function(trivia,text,kind,diagnostics){this.$initialize();Kusto.Language.Syntax.SyntaxToken.TextAndKindToken.ctor.call(this,trivia,text,kind,diagnostics)}},methods:{GetValue:function(){if(this.Kind!==Kusto.Language.Syntax.SyntaxKind.StringLiteralToken&&Kusto.Language.Syntax.SyntaxToken.LiteralToken.IsNull(this.Text))return null;switch(this.Kind){case Kusto.Language.Syntax.SyntaxKind.BooleanLiteralToken:return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetBooleanValue(this.Text);case Kusto.Language.Syntax.SyntaxKind.IntLiteralToken:return Bridge.box(Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetIntValue(this.Text),System.Int32);case Kusto.Language.Syntax.SyntaxKind.LongLiteralToken:return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetLongValue(this.Text);case Kusto.Language.Syntax.SyntaxKind.RealLiteralToken:return Bridge.box(Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetRealValue(this.Text),System.Double,System.Double.format,System.Double.getHashCode);case Kusto.Language.Syntax.SyntaxKind.DecimalLiteralToken:return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetDecimalValue(this.Text);case Kusto.Language.Syntax.SyntaxKind.TimespanLiteralToken:return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetTimeSpanValue(this.Text);case Kusto.Language.Syntax.SyntaxKind.DateTimeLiteralToken:return Bridge.box(Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetDateTimeValue(this.Text),System.DateTime,System.DateTime.format);case Kusto.Language.Syntax.SyntaxKind.GuidLiteralToken:return Kusto.Language.Syntax.SyntaxToken.LiteralToken.GetGuidValue(this.Text);case Kusto.Language.Syntax.SyntaxKind.StringLiteralToken:return Kusto.Language.KustoFacts.GetStringLiteralValue(this.Text);default:throw new System.InvalidOperationException.$ctor1(System.String.format("Unhandled literal syntax kind: {0}",[Bridge.box(this.Kind,Kusto.Language.Syntax.SyntaxKind,System.Enum.toStringFn(Kusto.Language.Syntax.SyntaxKind))]));}}}});Bridge.define("Kusto.Language.Syntax.TokenName",{inherits:[Kusto.Language.Syntax.Name],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TokenName}},Name:null,ChildCount:{get:function(){return 1}},SimpleName:{get:function(){return this.Name.ValueText}}},ctors:{ctor:function(name,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Name.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,name);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitTokenName(this)},Visit:function(TResult,visitor){return visitor.VisitTokenName(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTokenName(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.TokenName(($t=this.Name)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TopHittersByClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TopHittersByClause}},ByKeyword:null,Expression:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(byKeyword,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ByKeyword;case 1:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ByKeyword";case 1:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTopHittersByClause(this)},Visit:function(TResult,visitor){return visitor.VisitTopHittersByClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTopHittersByClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.TopHittersByClause(($t=this.ByKeyword)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TopNestedClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TopNestedClause}},TopNestedKeyword:null,Expression:null,OfKeyword:null,OfExpression:null,WithOthersClause:null,ByKeyword:null,ByExpression:null,ChildCount:{get:function(){return 7}}},ctors:{ctor:function(topNestedKeyword,expression,ofKeyword,ofExpression,withOthersClause,byKeyword,byExpression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.TopNestedKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,topNestedKeyword);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression,!0);this.OfKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,ofKeyword);this.OfExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,ofExpression);this.WithOthersClause=this.Attach(Bridge.global.Kusto.Language.Syntax.TopNestedWithOthersClause,withOthersClause,!0);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.ByExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,byExpression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.TopNestedKeyword;case 1:return this.Expression;case 2:return this.OfKeyword;case 3:return this.OfExpression;case 4:return this.WithOthersClause;case 5:return this.ByKeyword;case 6:return this.ByExpression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"TopNestedKeyword";case 1:return"Expression";case 2:return"OfKeyword";case 3:return"OfExpression";case 4:return"WithOthersClause";case 5:return"ByKeyword";case 6:return"ByExpression";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:case 4:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Number;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Clause;case 5:return Kusto.Language.Editor.CompletionHint.Keyword;case 6:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTopNestedClause(this)},Visit:function(TResult,visitor){return visitor.VisitTopNestedClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTopNestedClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6;return new Kusto.Language.Syntax.TopNestedClause(($t=this.TopNestedKeyword)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,($t2=this.OfKeyword)!=null?$t2.Clone$1():null,($t3=this.OfExpression)!=null?$t3.Clone$1():null,($t4=this.WithOthersClause)!=null?$t4.Clone$1():null,($t5=this.ByKeyword)!=null?$t5.Clone$1():null,($t6=this.ByExpression)!=null?$t6.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TopNestedWithOthersClause",{inherits:[Kusto.Language.Syntax.Clause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TopNestedWithOthersClause}},WithKeyword:null,OthersKeyword:null,Equal:null,Expression:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(withKeyword,othersKeyword,equal,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Clause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.OthersKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,othersKeyword);this.Equal=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equal);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.OthersKeyword;case 2:return this.Equal;case 3:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"OthersKeyword";case 2:return"Equal";case 3:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTopNestedWithOthersClause(this)},Visit:function(TResult,visitor){return visitor.VisitTopNestedWithOthersClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTopNestedWithOthersClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.TopNestedWithOthersClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.OthersKeyword)!=null?$t1.Clone$1():null,($t2=this.Equal)!=null?$t2.Clone$1():null,($t3=this.Expression)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ToScalarExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ToScalarExpression}},ToScalar:null,KindParameter:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(toScalar,kindParameter,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.ToScalar=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,toScalar);this.KindParameter=this.Attach(Bridge.global.Kusto.Language.Syntax.NamedParameter,kindParameter,!0);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ToScalar;case 1:return this.KindParameter;case 2:return this.OpenParen;case 3:return this.Expression;case 4:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ToScalar";case 1:return"KindParameter";case 2:return"OpenParen";case 3:return"Expression";case 4:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Clause;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Tabular;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitToScalarExpression(this)},Visit:function(TResult,visitor){return visitor.VisitToScalarExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitToScalarExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.ToScalarExpression(($t=this.ToScalar)!=null?$t.Clone$1():null,($t1=this.KindParameter)!=null?$t1.Clone$1():null,($t2=this.OpenParen)!=null?$t2.Clone$1():null,($t3=this.Expression)!=null?$t3.Clone$1():null,($t4=this.CloseParen)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ToTableExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ToTableExpression}},ToTable:null,KindParameter:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(toTable,kindParameter,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.ToTable=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,toTable);this.KindParameter=this.Attach(Bridge.global.Kusto.Language.Syntax.NamedParameter,kindParameter,!0);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ToTable;case 1:return this.KindParameter;case 2:return this.OpenParen;case 3:return this.Expression;case 4:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ToTable";case 1:return"KindParameter";case 2:return"OpenParen";case 3:return"Expression";case 4:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 1:return Kusto.Language.Editor.CompletionHint.Clause;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;case 3:return Kusto.Language.Editor.CompletionHint.Tabular;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitToTableExpression(this)},Visit:function(TResult,visitor){return visitor.VisitToTableExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitToTableExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.ToTableExpression(($t=this.ToTable)!=null?$t.Clone$1():null,($t1=this.KindParameter)!=null?$t1.Clone$1():null,($t2=this.OpenParen)!=null?$t2.Clone$1():null,($t3=this.Expression)!=null?$t3.Clone$1():null,($t4=this.CloseParen)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TypedColumnReference",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TypedColumnReference}},Column:null,ColonToken:null,Type:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(column,colonToken,type,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.Column=this.Attach(Bridge.global.Kusto.Language.Syntax.NameReference,column);this.ColonToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,colonToken);this.Type=this.Attach(Bridge.global.Kusto.Language.Syntax.TypeExpression,type);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Column;case 1:return this.ColonToken;case 2:return this.Type;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Column";case 1:return"ColonToken";case 2:return"Type";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Column;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTypedColumnReference(this)},Visit:function(TResult,visitor){return visitor.VisitTypedColumnReference(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTypedColumnReference(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.TypedColumnReference(($t=this.Column)!=null?$t.Clone$1():null,($t1=this.ColonToken)!=null?$t1.Clone$1():null,($t2=this.Type)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TypeOfLiteralExpression",{inherits:[Kusto.Language.Syntax.Expression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TypeOfLiteralExpression}},TypeOfKeyword:null,OpenParen:null,Types:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(typeOfKeyword,openParen,types,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Expression.ctor.call(this,diagnostics);this.TypeOfKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,typeOfKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Types=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),types);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.TypeOfKeyword;case 1:return this.OpenParen;case 2:return this.Types;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"TypeOfKeyword";case 1:return"OpenParen";case 2:return"Types";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.None;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Declaration;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTypeOfLiteralExpression(this)},Visit:function(TResult,visitor){return visitor.VisitTypeOfLiteralExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTypeOfLiteralExpression(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.TypeOfLiteralExpression(($t=this.TypeOfKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Types)!=null?$t2.Clone$2():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.WildcardedName",{inherits:[Kusto.Language.Syntax.Name],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.WildcardedName}},Pattern:null,ChildCount:{get:function(){return 1}},SimpleName:{get:function(){return this.Pattern.ValueText}}},ctors:{ctor:function(pattern,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Name.ctor.call(this,diagnostics);this.Pattern=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,pattern);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Pattern;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Pattern";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitWildcardedName(this)},Visit:function(TResult,visitor){return visitor.VisitWildcardedName(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitWildcardedName(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.WildcardedName(($t=this.Pattern)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.AsOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.AsOperator}},AsKeyword:null,Parameters:null,Name:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(asKeyword,parameters,name,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.AsKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,asKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.AsKeyword;case 1:return this.Parameters;case 2:return this.Name;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"AsKeyword";case 1:return"Parameters";case 2:return"Name";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Declaration;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitAsOperator(this)},Visit:function(TResult,visitor){return visitor.VisitAsOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitAsOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.AsOperator(($t=this.AsKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Name)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.BadCommand",{inherits:[Kusto.Language.Syntax.Command],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.BadCommand}},DotToken:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(dotToken,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Command.ctor.call(this,diagnostics);this.DotToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dotToken);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DotToken;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DotToken";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitBadCommand(this)},Visit:function(TResult,visitor){return visitor.VisitBadCommand(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBadCommand(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.BadCommand(($t=this.DotToken)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.BadQueryOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.BadQueryOperator}},Keyword:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(keyword,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.Keyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,keyword);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Keyword;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Keyword";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitBadQueryOperator(this)},Visit:function(TResult,visitor){return visitor.VisitBadQueryOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitBadQueryOperator(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.BadQueryOperator(($t=this.Keyword)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CommandWithPropertyListClause",{inherits:[Kusto.Language.Syntax.CommandWithClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CommandWithPropertyListClause}},WithKeyword:null,OpenParen:null,Properties:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(withKeyword,openParen,properties,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.CommandWithClause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Properties=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.NamedParameter)),properties);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.OpenParen;case 2:return this.Properties;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"OpenParen";case 2:return"Properties";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Keyword;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCommandWithPropertyListClause(this)},Visit:function(TResult,visitor){return visitor.VisitCommandWithPropertyListClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCommandWithPropertyListClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.CommandWithPropertyListClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Properties)!=null?$t2.Clone$2():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CommandWithValueClause",{inherits:[Kusto.Language.Syntax.CommandWithClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CommandWithValueClause}},WithKeyword:null,Value:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(withKeyword,value,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.CommandWithClause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.Value=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,value,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.Value;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"Value";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Literal;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCommandWithValueClause(this)},Visit:function(TResult,visitor){return visitor.VisitCommandWithValueClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCommandWithValueClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.CommandWithValueClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.Value)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CompoundNamedExpression",{inherits:[Kusto.Language.Syntax.NamedExpression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CompoundNamedExpression}},Names:null,EqualToken:null,Expression:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(names,equalToken,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.NamedExpression.ctor.call(this,diagnostics);this.Names=this.Attach(Bridge.global.Kusto.Language.Syntax.RenameList,names);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Names;case 1:return this.EqualToken;case 2:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Names";case 1:return"EqualToken";case 2:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCompoundNamedExpression(this)},Visit:function(TResult,visitor){return visitor.VisitCompoundNamedExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCompoundNamedExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.CompoundNamedExpression(($t=this.Names)!=null?$t.Clone$1():null,($t1=this.EqualToken)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ConsumeOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ConsumeOperator}},ConsumeKeyword:null,Parameters:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(consumeKeyword,parameters,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ConsumeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,consumeKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ConsumeKeyword;case 1:return this.Parameters;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ConsumeKeyword";case 1:return"Parameters";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitConsumeOperator(this)},Visit:function(TResult,visitor){return visitor.VisitConsumeOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitConsumeOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ConsumeOperator(($t=this.ConsumeKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CountOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CountOperator}},CountKeyword:null,AsIdentifier:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(countKeyword,asIdentifier,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.CountKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,countKeyword);this.AsIdentifier=this.Attach(Bridge.global.Kusto.Language.Syntax.CountAsIdentifierClause,asIdentifier,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.CountKeyword;case 1:return this.AsIdentifier;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"CountKeyword";case 1:return"AsIdentifier";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCountOperator(this)},Visit:function(TResult,visitor){return visitor.VisitCountOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCountOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.CountOperator(($t=this.CountKeyword)!=null?$t.Clone$1():null,($t1=this.AsIdentifier)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.CustomCommand",{inherits:[Kusto.Language.Syntax.Command],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.CustomCommand}},CommandKind:null,DotToken:null,Custom:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(commandKind,dotToken,custom,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Command.ctor.call(this,diagnostics);this.CommandKind=commandKind;this.DotToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dotToken);this.Custom=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxElement,custom);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DotToken;case 1:return this.Custom;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DotToken";case 1:return"Custom";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitCustomCommand(this)},Visit:function(TResult,visitor){return visitor.VisitCustomCommand(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitCustomCommand(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.CustomCommand(this.CommandKind,($t=this.DotToken)!=null?$t.Clone$1():null,($t1=this.Custom)!=null?$t1.Clone():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.DistinctOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.DistinctOperator}},DistinctKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(distinctKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.DistinctKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,distinctKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DistinctKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DistinctKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitDistinctOperator(this)},Visit:function(TResult,visitor){return visitor.VisitDistinctOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitDistinctOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.DistinctOperator(($t=this.DistinctKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.EvaluateOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.EvaluateOperator}},EvaluateKeyword:null,Parameters:null,FunctionCall:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(evaluateKeyword,parameters,functionCall,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.EvaluateKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,evaluateKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.FunctionCall=this.Attach(Bridge.global.Kusto.Language.Syntax.FunctionCallExpression,functionCall);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.EvaluateKeyword;case 1:return this.Parameters;case 2:return this.FunctionCall;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"EvaluateKeyword";case 1:return"Parameters";case 2:return"FunctionCall";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitEvaluateOperator(this)},Visit:function(TResult,visitor){return visitor.VisitEvaluateOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitEvaluateOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.EvaluateOperator(($t=this.EvaluateKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.FunctionCall)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExecuteAndCacheOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExecuteAndCacheOperator}},ExecuteAndCacheKeyword:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(executeAndCacheKeyword,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ExecuteAndCacheKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,executeAndCacheKeyword);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ExecuteAndCacheKeyword;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ExecuteAndCacheKeyword";default:throw new System.ArgumentOutOfRangeException.ctor;}},Visit$2:function(visitor){visitor.VisitExecuteAndCacheOperator(this)},Visit:function(TResult,visitor){return visitor.VisitExecuteAndCacheOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExecuteAndCacheOperator(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.ExecuteAndCacheOperator(($t=this.ExecuteAndCacheKeyword)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ExtendOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ExtendOperator}},ExtendKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(extendKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ExtendKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,extendKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ExtendKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ExtendKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitExtendOperator(this)},Visit:function(TResult,visitor){return visitor.VisitExtendOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitExtendOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ExtendOperator(($t=this.ExtendKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FacetOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FacetOperator}},FacetKeyword:null,ByKeyword:null,Expressions:null,WithClause:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(facetKeyword,byKeyword,expressions,withClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.FacetKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,facetKeyword);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.WithClause=this.Attach(Bridge.global.Kusto.Language.Syntax.FacetWithClause,withClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.FacetKeyword;case 1:return this.ByKeyword;case 2:return this.Expressions;case 3:return this.WithClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"FacetKeyword";case 1:return"ByKeyword";case 2:return"Expressions";case 3:return"WithClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFacetOperator(this)},Visit:function(TResult,visitor){return visitor.VisitFacetOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFacetOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.FacetOperator(($t=this.FacetKeyword)!=null?$t.Clone$1():null,($t1=this.ByKeyword)!=null?$t1.Clone$1():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,($t3=this.WithClause)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FacetWithExpressionClause",{inherits:[Kusto.Language.Syntax.FacetWithClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FacetWithExpressionClause}},WithKeyword:null,OpenParen:null,Expression:null,CloseParen:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(withKeyword,openParen,expression,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.FacetWithClause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.OpenParen;case 2:return this.Expression;case 3:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"OpenParen";case 2:return"Expression";case 3:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Query;case 3:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFacetWithExpressionClause(this)},Visit:function(TResult,visitor){return visitor.VisitFacetWithExpressionClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFacetWithExpressionClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.FacetWithExpressionClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.OpenParen)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.CloseParen)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FacetWithOperatorClause",{inherits:[Kusto.Language.Syntax.FacetWithClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FacetWithOperatorClause}},WithKeyword:null,Operator:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(withKeyword,operator,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.FacetWithClause.ctor.call(this,diagnostics);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.Operator=this.Attach(Bridge.global.Kusto.Language.Syntax.QueryOperator,operator);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WithKeyword;case 1:return this.Operator;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WithKeyword";case 1:return"Operator";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Query;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFacetWithOperatorClause(this)},Visit:function(TResult,visitor){return visitor.VisitFacetWithOperatorClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFacetWithOperatorClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.FacetWithOperatorClause(($t=this.WithKeyword)!=null?$t.Clone$1():null,($t1=this.Operator)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FilterOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FilterOperator}},Keyword:null,Parameters:null,Condition:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(keyword,parameters,condition,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.Keyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,keyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Condition=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,condition);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Keyword;case 1:return this.Parameters;case 2:return this.Condition;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Keyword";case 1:return"Parameters";case 2:return"Condition";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Boolean;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFilterOperator(this)},Visit:function(TResult,visitor){return visitor.VisitFilterOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFilterOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.FilterOperator(($t=this.Keyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Condition)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.FindOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.FindOperator}},FindKeyword:null,DataScope:null,Parameters:null,InClause:null,WhereKeyword:null,Condition:null,Project:null,ProjectAway:null,ChildCount:{get:function(){return 8}}},ctors:{ctor:function(findKeyword,dataScope,parameters,inClause,whereKeyword,condition,project,projectAway,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.FindKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,findKeyword);this.DataScope=this.Attach(Bridge.global.Kusto.Language.Syntax.DataScopeClause,dataScope,!0);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.InClause=this.Attach(Bridge.global.Kusto.Language.Syntax.FindInClause,inClause,!0);this.WhereKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,whereKeyword,!0);this.Condition=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,condition);this.Project=this.Attach(Bridge.global.Kusto.Language.Syntax.FindProjectClause,project,!0);this.ProjectAway=this.Attach(Bridge.global.Kusto.Language.Syntax.FindProjectClause,projectAway,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.FindKeyword;case 1:return this.DataScope;case 2:return this.Parameters;case 3:return this.InClause;case 4:return this.WhereKeyword;case 5:return this.Condition;case 6:return this.Project;case 7:return this.ProjectAway;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"FindKeyword";case 1:return"DataScope";case 2:return"Parameters";case 3:return"InClause";case 4:return"WhereKeyword";case 5:return"Condition";case 6:return"Project";case 7:return"ProjectAway";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:case 3:case 4:case 6:case 7:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Clause;case 2:return Kusto.Language.Editor.CompletionHint.None;case 3:return Kusto.Language.Editor.CompletionHint.Clause;case 4:return Kusto.Language.Editor.CompletionHint.Keyword;case 5:return Kusto.Language.Editor.CompletionHint.Boolean;case 6:return Kusto.Language.Editor.CompletionHint.Clause;case 7:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitFindOperator(this)},Visit:function(TResult,visitor){return visitor.VisitFindOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitFindOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6,$t7;return new Kusto.Language.Syntax.FindOperator(($t=this.FindKeyword)!=null?$t.Clone$1():null,($t1=this.DataScope)!=null?$t1.Clone$1():null,($t2=this.Parameters)!=null?$t2.Clone$2():null,($t3=this.InClause)!=null?$t3.Clone$1():null,($t4=this.WhereKeyword)!=null?$t4.Clone$1():null,($t5=this.Condition)!=null?$t5.Clone$1():null,($t6=this.Project)!=null?$t6.Clone$1():null,($t7=this.ProjectAway)!=null?$t7.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ForkOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ForkOperator}},ForkKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(forkKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ForkKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,forkKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.ForkExpression),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ForkKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ForkKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Tabular;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitForkOperator(this)},Visit:function(TResult,visitor){return visitor.VisitForkOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitForkOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ForkOperator(($t=this.ForkKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.GetSchemaOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.GetSchemaOperator}},GetSchemaKeyword:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(getSchemaKeyword,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.GetSchemaKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,getSchemaKeyword);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.GetSchemaKeyword;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"GetSchemaKeyword";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitGetSchemaOperator(this)},Visit:function(TResult,visitor){return visitor.VisitGetSchemaOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitGetSchemaOperator(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.GetSchemaOperator(($t=this.GetSchemaKeyword)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.InvokeOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.InvokeOperator}},InvokeKeyword:null,Function:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(invokeKeyword,$function,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.InvokeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,invokeKeyword);this.Function=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,$function);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.InvokeKeyword;case 1:return this.Function;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"InvokeKeyword";case 1:return"Function";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.TabularFunction;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitInvokeOperator(this)},Visit:function(TResult,visitor){return visitor.VisitInvokeOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitInvokeOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.InvokeOperator(($t=this.InvokeKeyword)!=null?$t.Clone$1():null,($t1=this.Function)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JoinOnClause",{inherits:[Kusto.Language.Syntax.JoinConditionClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.JoinOnClause}},OnKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(onKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.JoinConditionClause.ctor.call(this,diagnostics);this.OnKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,onKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OnKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OnKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitJoinOnClause(this)},Visit:function(TResult,visitor){return visitor.VisitJoinOnClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitJoinOnClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.JoinOnClause(($t=this.OnKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JoinOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.JoinOperator}},JoinKeyword:null,Parameters:null,Expression:null,ConditionClause:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(joinKeyword,parameters,expression,conditionClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.JoinKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,joinKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.ConditionClause=this.Attach(Bridge.global.Kusto.Language.Syntax.JoinConditionClause,conditionClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.JoinKeyword;case 1:return this.Parameters;case 2:return this.Expression;case 3:return this.ConditionClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"JoinKeyword";case 1:return"Parameters";case 2:return"Expression";case 3:return"ConditionClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;case 3:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitJoinOperator(this)},Visit:function(TResult,visitor){return visitor.VisitJoinOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitJoinOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.JoinOperator(($t=this.JoinKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.ConditionClause)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JoinWhereClause",{inherits:[Kusto.Language.Syntax.JoinConditionClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.JoinWhereClause}},WhereKeyword:null,Expression:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(whereKeyword,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.JoinConditionClause.ctor.call(this,diagnostics);this.WhereKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,whereKeyword);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.WhereKeyword;case 1:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"WhereKeyword";case 1:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Boolean;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitJoinWhereClause(this)},Visit:function(TResult,visitor){return visitor.VisitJoinWhereClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitJoinWhereClause(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.JoinWhereClause(($t=this.WhereKeyword)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JsonArrayExpression",{inherits:[Kusto.Language.Syntax.JsonExpression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.JsonArrayExpression}},OpenBracket:null,Values:null,CloseBracket:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openBracket,values,closeBracket,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.JsonExpression.ctor.call(this,diagnostics);this.OpenBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBracket);this.Values=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),values);this.CloseBracket=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBracket);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBracket;case 1:return this.Values;case 2:return this.CloseBracket;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBracket";case 1:return"Values";case 2:return"CloseBracket";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Literal;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitJsonArrayExpression(this)},Visit:function(TResult,visitor){return visitor.VisitJsonArrayExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitJsonArrayExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.JsonArrayExpression(($t=this.OpenBracket)!=null?$t.Clone$1():null,($t1=this.Values)!=null?$t1.Clone$2():null,($t2=this.CloseBracket)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.JsonObjectExpression",{inherits:[Kusto.Language.Syntax.JsonExpression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.JsonObjectExpression}},OpenBrace:null,Pairs:null,CloseBrace:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openBrace,pairs,closeBrace,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.JsonExpression.ctor.call(this,diagnostics);this.OpenBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openBrace);this.Pairs=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.JsonPair)),pairs);this.CloseBrace=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeBrace);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenBrace;case 1:return this.Pairs;case 2:return this.CloseBrace;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenBrace";case 1:return"Pairs";case 2:return"CloseBrace";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitJsonObjectExpression(this)},Visit:function(TResult,visitor){return visitor.VisitJsonObjectExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitJsonObjectExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.JsonObjectExpression(($t=this.OpenBrace)!=null?$t.Clone$1():null,($t1=this.Pairs)!=null?$t1.Clone$2():null,($t2=this.CloseBrace)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.LookupOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.LookupOperator}},LookupKeyword:null,Parameters:null,Expression:null,LookupClause:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(lookupKeyword,parameters,expression,lookupClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.LookupKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,lookupKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.LookupClause=this.Attach(Bridge.global.Kusto.Language.Syntax.JoinConditionClause,lookupClause);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.LookupKeyword;case 1:return this.Parameters;case 2:return this.Expression;case 3:return this.LookupClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"LookupKeyword";case 1:return"Parameters";case 2:return"Expression";case 3:return"LookupClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;case 3:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitLookupOperator(this)},Visit:function(TResult,visitor){return visitor.VisitLookupOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitLookupOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.LookupOperator(($t=this.LookupKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.LookupClause)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesFromToStepClause",{inherits:[Kusto.Language.Syntax.MakeSeriesRangeClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MakeSeriesFromToStepClause}},FromToken:null,From:null,ToToken:null,To:null,StepToken:null,Step:null,ChildCount:{get:function(){return 6}}},ctors:{ctor:function(fromToken,from,toToken,to,stepToken,step,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.MakeSeriesRangeClause.ctor.call(this,diagnostics);this.FromToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,fromToken);this.From=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,from);this.ToToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,toToken);this.To=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,to);this.StepToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,stepToken);this.Step=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,step);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.FromToken;case 1:return this.From;case 2:return this.ToToken;case 3:return this.To;case 4:return this.StepToken;case 5:return this.Step;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"FromToken";case 1:return"From";case 2:return"ToToken";case 3:return"To";case 4:return"StepToken";case 5:return"Step";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Keyword;case 5:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMakeSeriesFromToStepClause(this)},Visit:function(TResult,visitor){return visitor.VisitMakeSeriesFromToStepClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMakeSeriesFromToStepClause(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5;return new Kusto.Language.Syntax.MakeSeriesFromToStepClause(($t=this.FromToken)!=null?$t.Clone$1():null,($t1=this.From)!=null?$t1.Clone$1():null,($t2=this.ToToken)!=null?$t2.Clone$1():null,($t3=this.To)!=null?$t3.Clone$1():null,($t4=this.StepToken)!=null?$t4.Clone$1():null,($t5=this.Step)!=null?$t5.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesInRangeClause",{inherits:[Kusto.Language.Syntax.MakeSeriesRangeClause],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MakeSeriesInRangeClause}},InKeyword:null,RangeKeyword:null,Arguments:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(inKeyword,rangeKeyword,$arguments,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.MakeSeriesRangeClause.ctor.call(this,diagnostics);this.InKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,inKeyword);this.RangeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,rangeKeyword);this.Arguments=this.Attach(Bridge.global.Kusto.Language.Syntax.ExpressionList,$arguments);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.InKeyword;case 1:return this.RangeKeyword;case 2:return this.Arguments;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"InKeyword";case 1:return"RangeKeyword";case 2:return"Arguments";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMakeSeriesInRangeClause(this)},Visit:function(TResult,visitor){return visitor.VisitMakeSeriesInRangeClause(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMakeSeriesInRangeClause(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.MakeSeriesInRangeClause(($t=this.InKeyword)!=null?$t.Clone$1():null,($t1=this.RangeKeyword)!=null?$t1.Clone$1():null,($t2=this.Arguments)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MakeSeriesOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MakeSeriesOperator}},MakeSeriesKeyword:null,Parameters:null,Aggregates:null,OnClause:null,RangeClause:null,ByClause:null,ChildCount:{get:function(){return 6}}},ctors:{ctor:function(makeSeriesKeyword,parameters,aggregates,onClause,rangeClause,byClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.MakeSeriesKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,makeSeriesKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Aggregates=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MakeSeriesExpression)),aggregates);this.OnClause=this.Attach(Bridge.global.Kusto.Language.Syntax.MakeSeriesOnClause,onClause);this.RangeClause=this.Attach(Bridge.global.Kusto.Language.Syntax.MakeSeriesRangeClause,rangeClause);this.ByClause=this.Attach(Bridge.global.Kusto.Language.Syntax.MakeSeriesByClause,byClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.MakeSeriesKeyword;case 1:return this.Parameters;case 2:return this.Aggregates;case 3:return this.OnClause;case 4:return this.RangeClause;case 5:return this.ByClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"MakeSeriesKeyword";case 1:return"Parameters";case 2:return"Aggregates";case 3:return"OnClause";case 4:return"RangeClause";case 5:return"ByClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 5:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Aggregate;case 3:return Kusto.Language.Editor.CompletionHint.Clause;case 4:return Kusto.Language.Editor.CompletionHint.Clause;case 5:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMakeSeriesOperator(this)},Visit:function(TResult,visitor){return visitor.VisitMakeSeriesOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMakeSeriesOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5;return new Kusto.Language.Syntax.MakeSeriesOperator(($t=this.MakeSeriesKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Aggregates)!=null?$t2.Clone$2():null,($t3=this.OnClause)!=null?$t3.Clone$1():null,($t4=this.RangeClause)!=null?$t4.Clone$1():null,($t5=this.ByClause)!=null?$t5.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvApplyOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvApplyOperator}},MvApplyKeyword:null,Parameters:null,Expressions:null,RowLimitClause:null,ContextIdClause:null,OnKeyword:null,Subquery:null,ChildCount:{get:function(){return 7}}},ctors:{ctor:function(mvApplyKeyword,parameters,expressions,rowLimitClause,contextIdClause,onKeyword,subquery,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.MvApplyKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,mvApplyKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvApplyExpression)),expressions);this.RowLimitClause=this.Attach(Bridge.global.Kusto.Language.Syntax.MvApplyRowLimitClause,rowLimitClause,!0);this.ContextIdClause=this.Attach(Bridge.global.Kusto.Language.Syntax.MvApplyContextIdClause,contextIdClause,!0);this.OnKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,onKeyword);this.Subquery=this.Attach(Bridge.global.Kusto.Language.Syntax.MvApplySubqueryExpression,subquery);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.MvApplyKeyword;case 1:return this.Parameters;case 2:return this.Expressions;case 3:return this.RowLimitClause;case 4:return this.ContextIdClause;case 5:return this.OnKeyword;case 6:return this.Subquery;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"MvApplyKeyword";case 1:return"Parameters";case 2:return"Expressions";case 3:return"RowLimitClause";case 4:return"ContextIdClause";case 5:return"OnKeyword";case 6:return"Subquery";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 3:case 4:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Clause;case 4:return Kusto.Language.Editor.CompletionHint.Clause;case 5:return Kusto.Language.Editor.CompletionHint.Keyword;case 6:return Kusto.Language.Editor.CompletionHint.Tabular;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvApplyOperator(this)},Visit:function(TResult,visitor){return visitor.VisitMvApplyOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvApplyOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6;return new Kusto.Language.Syntax.MvApplyOperator(($t=this.MvApplyKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,($t3=this.RowLimitClause)!=null?$t3.Clone$1():null,($t4=this.ContextIdClause)!=null?$t4.Clone$1():null,($t5=this.OnKeyword)!=null?$t5.Clone$1():null,($t6=this.Subquery)!=null?$t6.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.MvExpandOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.MvExpandOperator}},MvExpandKeyword:null,Parameters:null,Expressions:null,RowLimitClause:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(mvExpandKeyword,parameters,expressions,rowLimitClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.MvExpandKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,mvExpandKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.MvExpandExpression)),expressions);this.RowLimitClause=this.Attach(Bridge.global.Kusto.Language.Syntax.MvExpandRowLimitClause,rowLimitClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.MvExpandKeyword;case 1:return this.Parameters;case 2:return this.Expressions;case 3:return this.RowLimitClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"MvExpandKeyword";case 1:return"Parameters";case 2:return"Expressions";case 3:return"RowLimitClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitMvExpandOperator(this)},Visit:function(TResult,visitor){return visitor.VisitMvExpandOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitMvExpandOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.MvExpandOperator(($t=this.MvExpandKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,($t3=this.RowLimitClause)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ParseOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ParseOperator}},ParseKeyword:null,Parameters:null,Expression:null,WithKeyword:null,Patterns:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(parseKeyword,parameters,expression,withKeyword,patterns,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ParseKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,parseKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.WithKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,withKeyword);this.Patterns=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxNode),patterns);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ParseKeyword;case 1:return this.Parameters;case 2:return this.Expression;case 3:return this.WithKeyword;case 4:return this.Patterns;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ParseKeyword";case 1:return"Parameters";case 2:return"Expression";case 3:return"WithKeyword";case 4:return"Patterns";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;case 3:return Kusto.Language.Editor.CompletionHint.Keyword;case 4:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitParseOperator(this)},Visit:function(TResult,visitor){return visitor.VisitParseOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitParseOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.ParseOperator(($t=this.ParseKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.WithKeyword)!=null?$t3.Clone$1():null,($t4=this.Patterns)!=null?$t4.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PartitionOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PartitionOperator}},PartitionKeyword:null,Parameters:null,ByKeyword:null,ByExpression:null,Operand:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(partitionKeyword,parameters,byKeyword,byExpression,operand,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.PartitionKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,partitionKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.ByExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,byExpression);this.Operand=this.Attach(Bridge.global.Kusto.Language.Syntax.PartitionExpression,operand);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.PartitionKeyword;case 1:return this.Parameters;case 2:return this.ByKeyword;case 3:return this.ByExpression;case 4:return this.Operand;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"PartitionKeyword";case 1:return"Parameters";case 2:return"ByKeyword";case 3:return"ByExpression";case 4:return"Operand";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Tabular;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPartitionOperator(this)},Visit:function(TResult,visitor){return visitor.VisitPartitionOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPartitionOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.PartitionOperator(($t=this.PartitionKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.ByKeyword)!=null?$t2.Clone$1():null,($t3=this.ByExpression)!=null?$t3.Clone$1():null,($t4=this.Operand)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PrimitiveTypeExpression",{inherits:[Kusto.Language.Syntax.TypeExpression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PrimitiveTypeExpression}},Type:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(type,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.TypeExpression.ctor.call(this,diagnostics);this.Type=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,type);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Type;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Type";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPrimitiveTypeExpression(this)},Visit:function(TResult,visitor){return visitor.VisitPrimitiveTypeExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPrimitiveTypeExpression(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.PrimitiveTypeExpression(($t=this.Type)!=null?$t.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.PrintOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.PrintOperator}},PrintKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(printKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.PrintKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,printKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.PrintKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"PrintKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitPrintOperator(this)},Visit:function(TResult,visitor){return visitor.VisitPrintOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitPrintOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.PrintOperator(($t=this.PrintKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ProjectAwayOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ProjectAwayOperator}},ProjectAwayKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(projectAwayKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ProjectAwayKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,projectAwayKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ProjectAwayKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ProjectAwayKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitProjectAwayOperator(this)},Visit:function(TResult,visitor){return visitor.VisitProjectAwayOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitProjectAwayOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ProjectAwayOperator(($t=this.ProjectAwayKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ProjectOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ProjectOperator}},ProjectKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(projectKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ProjectKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,projectKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ProjectKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ProjectKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitProjectOperator(this)},Visit:function(TResult,visitor){return visitor.VisitProjectOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitProjectOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ProjectOperator(($t=this.ProjectKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ProjectRenameOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ProjectRenameOperator}},ProjectRenameKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(projectRenameKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ProjectRenameKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,projectRenameKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ProjectRenameKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ProjectRenameKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitProjectRenameOperator(this)},Visit:function(TResult,visitor){return visitor.VisitProjectRenameOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitProjectRenameOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ProjectRenameOperator(($t=this.ProjectRenameKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ProjectReorderOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ProjectReorderOperator}},ProjectReorderKeyword:null,Expressions:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(projectReorderKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ProjectReorderKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,projectReorderKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ProjectReorderKeyword;case 1:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ProjectReorderKeyword";case 1:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitProjectReorderOperator(this)},Visit:function(TResult,visitor){return visitor.VisitProjectReorderOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitProjectReorderOperator(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.ProjectReorderOperator(($t=this.ProjectReorderKeyword)!=null?$t.Clone$1():null,($t1=this.Expressions)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.RangeOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.RangeOperator}},RangeToken:null,Name:null,FromToken:null,From:null,ToToken:null,To:null,StepToken:null,Step:null,ChildCount:{get:function(){return 8}}},ctors:{ctor:function(rangeToken,name,fromToken,from,toToken,to,stepToken,step,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.RangeToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,rangeToken);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.FromToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,fromToken);this.From=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,from);this.ToToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,toToken);this.To=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,to);this.StepToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,stepToken);this.Step=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,step);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.RangeToken;case 1:return this.Name;case 2:return this.FromToken;case 3:return this.From;case 4:return this.ToToken;case 5:return this.To;case 6:return this.StepToken;case 7:return this.Step;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"RangeToken";case 1:return"Name";case 2:return"FromToken";case 3:return"From";case 4:return"ToToken";case 5:return"To";case 6:return"StepToken";case 7:return"Step";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Declaration;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Keyword;case 5:return Kusto.Language.Editor.CompletionHint.Scalar;case 6:return Kusto.Language.Editor.CompletionHint.Keyword;case 7:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitRangeOperator(this)},Visit:function(TResult,visitor){return visitor.VisitRangeOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitRangeOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4,$t5,$t6,$t7;return new Kusto.Language.Syntax.RangeOperator(($t=this.RangeToken)!=null?$t.Clone$1():null,($t1=this.Name)!=null?$t1.Clone$1():null,($t2=this.FromToken)!=null?$t2.Clone$1():null,($t3=this.From)!=null?$t3.Clone$1():null,($t4=this.ToToken)!=null?$t4.Clone$1():null,($t5=this.To)!=null?$t5.Clone$1():null,($t6=this.StepToken)!=null?$t6.Clone$1():null,($t7=this.Step)!=null?$t7.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.ReduceByOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.ReduceByOperator}},ReduceKeyword:null,Parameters:null,ByKeyword:null,Expression:null,With:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(reduceKeyword,parameters,byKeyword,expression,$with,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.ReduceKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,reduceKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.With=this.Attach(Bridge.global.Kusto.Language.Syntax.ReduceByWithClause,$with,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.ReduceKeyword;case 1:return this.Parameters;case 2:return this.ByKeyword;case 3:return this.Expression;case 4:return this.With;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"ReduceKeyword";case 1:return"Parameters";case 2:return"ByKeyword";case 3:return"Expression";case 4:return"With";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 4:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitReduceByOperator(this)},Visit:function(TResult,visitor){return visitor.VisitReduceByOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitReduceByOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.ReduceByOperator(($t=this.ReduceKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.ByKeyword)!=null?$t2.Clone$1():null,($t3=this.Expression)!=null?$t3.Clone$1():null,($t4=this.With)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.RenderOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.RenderOperator}},RenderKeyword:null,ChartType:null,WithClause:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(renderKeyword,chartType,withClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.RenderKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,renderKeyword);this.ChartType=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,chartType,!0);this.WithClause=this.Attach(Bridge.global.Kusto.Language.Syntax.RenderWithClause,withClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.RenderKeyword;case 1:return this.ChartType;case 2:return this.WithClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"RenderKeyword";case 1:return"ChartType";case 2:return"WithClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 1:case 2:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitRenderOperator(this)},Visit:function(TResult,visitor){return visitor.VisitRenderOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitRenderOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.RenderOperator(($t=this.RenderKeyword)!=null?$t.Clone$1():null,($t1=this.ChartType)!=null?$t1.Clone$1():null,($t2=this.WithClause)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SampleDistinctOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SampleDistinctOperator}},SampleDistinctKeyword:null,Parameters:null,Expression:null,OfKeyword:null,OfExpression:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(sampleDistinctKeyword,parameters,expression,ofKeyword,ofExpression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.SampleDistinctKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,sampleDistinctKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.OfKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,ofKeyword);this.OfExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,ofExpression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.SampleDistinctKeyword;case 1:return this.Parameters;case 2:return this.Expression;case 3:return this.OfKeyword;case 4:return this.OfExpression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"SampleDistinctKeyword";case 1:return"Parameters";case 2:return"Expression";case 3:return"OfKeyword";case 4:return"OfExpression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Number;case 3:return Kusto.Language.Editor.CompletionHint.Keyword;case 4:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSampleDistinctOperator(this)},Visit:function(TResult,visitor){return visitor.VisitSampleDistinctOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSampleDistinctOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.SampleDistinctOperator(($t=this.SampleDistinctKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.OfKeyword)!=null?$t3.Clone$1():null,($t4=this.OfExpression)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SampleOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SampleOperator}},SampleKeyword:null,Parameters:null,Expression:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(sampleKeyword,parameters,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.SampleKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,sampleKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.SampleKeyword;case 1:return this.Parameters;case 2:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"SampleKeyword";case 1:return"Parameters";case 2:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Number;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSampleOperator(this)},Visit:function(TResult,visitor){return visitor.VisitSampleOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSampleOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.SampleOperator(($t=this.SampleKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SchemaTypeExpression",{inherits:[Kusto.Language.Syntax.TypeExpression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SchemaTypeExpression}},OpenParen:null,Columns:null,CloseParen:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(openParen,columns,closeParen,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.TypeExpression.ctor.call(this,diagnostics);this.OpenParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,openParen);this.Columns=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),columns);this.CloseParen=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,closeParen);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.OpenParen;case 1:return this.Columns;case 2:return this.CloseParen;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"OpenParen";case 1:return"Columns";case 2:return"CloseParen";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Declaration;case 2:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSchemaTypeExpression(this)},Visit:function(TResult,visitor){return visitor.VisitSchemaTypeExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSchemaTypeExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.SchemaTypeExpression(($t=this.OpenParen)!=null?$t.Clone$1():null,($t1=this.Columns)!=null?$t1.Clone$2():null,($t2=this.CloseParen)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SearchOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SearchOperator}},SearchKeyword:null,Parameters:null,DataScope:null,InClause:null,Condition:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(searchKeyword,parameters,dataScope,inClause,condition,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.SearchKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,searchKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.DataScope=this.Attach(Bridge.global.Kusto.Language.Syntax.DataScopeClause,dataScope,!0);this.InClause=this.Attach(Bridge.global.Kusto.Language.Syntax.FindInClause,inClause,!0);this.Condition=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,condition);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.SearchKeyword;case 1:return this.Parameters;case 2:return this.DataScope;case 3:return this.InClause;case 4:return this.Condition;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"SearchKeyword";case 1:return"Parameters";case 2:return"DataScope";case 3:return"InClause";case 4:return"Condition";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 2:case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Clause;case 3:return Kusto.Language.Editor.CompletionHint.Clause;case 4:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSearchOperator(this)},Visit:function(TResult,visitor){return visitor.VisitSearchOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSearchOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.SearchOperator(($t=this.SearchKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.DataScope)!=null?$t2.Clone$1():null,($t3=this.InClause)!=null?$t3.Clone$1():null,($t4=this.Condition)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SerializeOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SerializeOperator}},SerializeKeyword:null,Parameters:null,Expressions:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(serializeKeyword,parameters,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.SerializeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,serializeKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.SerializeKeyword;case 1:return this.Parameters;case 2:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"SerializeKeyword";case 1:return"Parameters";case 2:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSerializeOperator(this)},Visit:function(TResult,visitor){return visitor.VisitSerializeOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSerializeOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.SerializeOperator(($t=this.SerializeKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SimpleNamedExpression",{inherits:[Kusto.Language.Syntax.NamedExpression],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SimpleNamedExpression}},Name:null,EqualToken:null,Expression:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(name,equalToken,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.NamedExpression.ctor.call(this,diagnostics);this.Name=this.Attach(Bridge.global.Kusto.Language.Syntax.NameDeclaration,name);this.EqualToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,equalToken);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Name;case 1:return this.EqualToken;case 2:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Name";case 1:return"EqualToken";case 2:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Declaration;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSimpleNamedExpression(this)},Visit:function(TResult,visitor){return visitor.VisitSimpleNamedExpression(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSimpleNamedExpression(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.SimpleNamedExpression(($t=this.Name)!=null?$t.Clone$1():null,($t1=this.EqualToken)!=null?$t1.Clone$1():null,($t2=this.Expression)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SortOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SortOperator}},Keyword:null,ByKeyword:null,Expressions:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(keyword,byKeyword,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.Keyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,keyword);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Keyword;case 1:return this.ByKeyword;case 2:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Keyword";case 1:return"ByKeyword";case 2:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Keyword;case 2:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSortOperator(this)},Visit:function(TResult,visitor){return visitor.VisitSortOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSortOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.SortOperator(($t=this.Keyword)!=null?$t.Clone$1():null,($t1=this.ByKeyword)!=null?$t1.Clone$1():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.SummarizeOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.SummarizeOperator}},SummarizeKeyword:null,Parameters:null,Aggregates:null,ByClause:null,ChildCount:{get:function(){return 4}}},ctors:{ctor:function(summarizeKeyword,parameters,aggregates,byClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.SummarizeKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,summarizeKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Aggregates=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),aggregates);this.ByClause=this.Attach(Bridge.global.Kusto.Language.Syntax.SummarizeByClause,byClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.SummarizeKeyword;case 1:return this.Parameters;case 2:return this.Aggregates;case 3:return this.ByClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"SummarizeKeyword";case 1:return"Parameters";case 2:return"Aggregates";case 3:return"ByClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 3:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Aggregate;case 3:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitSummarizeOperator(this)},Visit:function(TResult,visitor){return visitor.VisitSummarizeOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitSummarizeOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3;return new Kusto.Language.Syntax.SummarizeOperator(($t=this.SummarizeKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Aggregates)!=null?$t2.Clone$2():null,($t3=this.ByClause)!=null?$t3.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TakeOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TakeOperator}},Keyword:null,Parameters:null,Expression:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(keyword,parameters,expression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.Keyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,keyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Keyword;case 1:return this.Parameters;case 2:return this.Expression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Keyword";case 1:return"Parameters";case 2:return"Expression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Number;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTakeOperator(this)},Visit:function(TResult,visitor){return visitor.VisitTakeOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTakeOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.TakeOperator(($t=this.Keyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TopHittersOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TopHittersOperator}},TopHittersKeyword:null,Expression:null,OfKeyword:null,OfExpression:null,ByClause:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(topHittersKeyword,expression,ofKeyword,ofExpression,byClause,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.TopHittersKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,topHittersKeyword);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.OfKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,ofKeyword);this.OfExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,ofExpression);this.ByClause=this.Attach(Bridge.global.Kusto.Language.Syntax.TopHittersByClause,byClause,!0);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.TopHittersKeyword;case 1:return this.Expression;case 2:return this.OfKeyword;case 3:return this.OfExpression;case 4:return this.ByClause;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"TopHittersKeyword";case 1:return"Expression";case 2:return"OfKeyword";case 3:return"OfExpression";case 4:return"ByClause";default:throw new System.ArgumentOutOfRangeException.ctor;}},IsOptional:function(index){switch(index){case 4:return!0;default:return!1}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.Number;case 2:return Kusto.Language.Editor.CompletionHint.Keyword;case 3:return Kusto.Language.Editor.CompletionHint.Scalar;case 4:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTopHittersOperator(this)},Visit:function(TResult,visitor){return visitor.VisitTopHittersOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTopHittersOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.TopHittersOperator(($t=this.TopHittersKeyword)!=null?$t.Clone$1():null,($t1=this.Expression)!=null?$t1.Clone$1():null,($t2=this.OfKeyword)!=null?$t2.Clone$1():null,($t3=this.OfExpression)!=null?$t3.Clone$1():null,($t4=this.ByClause)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TopNestedOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TopNestedOperator}},Clauses:null,ChildCount:{get:function(){return 1}}},ctors:{ctor:function(clauses,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.Clauses=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.TopNestedClause)),clauses);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.Clauses;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"Clauses";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Clause;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTopNestedOperator(this)},Visit:function(TResult,visitor){return visitor.VisitTopNestedOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTopNestedOperator(context,this)},CloneCore:function(){var $t;return new Kusto.Language.Syntax.TopNestedOperator(($t=this.Clauses)!=null?$t.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.TopOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.TopOperator}},TopKeyword:null,Parameters:null,Expression:null,ByKeyword:null,ByExpression:null,ChildCount:{get:function(){return 5}}},ctors:{ctor:function(topKeyword,parameters,expression,byKeyword,byExpression,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.TopKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,topKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,expression);this.ByKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,byKeyword);this.ByExpression=this.Attach(Bridge.global.Kusto.Language.Syntax.Expression,byExpression);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.TopKeyword;case 1:return this.Parameters;case 2:return this.Expression;case 3:return this.ByKeyword;case 4:return this.ByExpression;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"TopKeyword";case 1:return"Parameters";case 2:return"Expression";case 3:return"ByKeyword";case 4:return"ByExpression";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Number;case 3:return Kusto.Language.Editor.CompletionHint.Keyword;case 4:return Kusto.Language.Editor.CompletionHint.Scalar;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitTopOperator(this)},Visit:function(TResult,visitor){return visitor.VisitTopOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitTopOperator(context,this)},CloneCore:function(){var $t,$t1,$t2,$t3,$t4;return new Kusto.Language.Syntax.TopOperator(($t=this.TopKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expression)!=null?$t2.Clone$1():null,($t3=this.ByKeyword)!=null?$t3.Clone$1():null,($t4=this.ByExpression)!=null?$t4.Clone$1():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.UnionOperator",{inherits:[Kusto.Language.Syntax.QueryOperator],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.UnionOperator}},UnionKeyword:null,Parameters:null,Expressions:null,ChildCount:{get:function(){return 3}}},ctors:{ctor:function(unionKeyword,parameters,expressions,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.QueryOperator.ctor.call(this,diagnostics);this.UnionKeyword=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,unionKeyword);this.Parameters=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.NamedParameter),parameters);this.Expressions=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SeparatedElement$1(Kusto.Language.Syntax.Expression)),expressions);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.UnionKeyword;case 1:return this.Parameters;case 2:return this.Expressions;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"UnionKeyword";case 1:return"Parameters";case 2:return"Expressions";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Keyword;case 1:return Kusto.Language.Editor.CompletionHint.None;case 2:return Kusto.Language.Editor.CompletionHint.Tabular;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitUnionOperator(this)},Visit:function(TResult,visitor){return visitor.VisitUnionOperator(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitUnionOperator(context,this)},CloneCore:function(){var $t,$t1,$t2;return new Kusto.Language.Syntax.UnionOperator(($t=this.UnionKeyword)!=null?$t.Clone$1():null,($t1=this.Parameters)!=null?$t1.Clone$2():null,($t2=this.Expressions)!=null?$t2.Clone$2():null,this.SyntaxDiagnostics)}}});Bridge.define("Kusto.Language.Syntax.UnknownCommand",{inherits:[Kusto.Language.Syntax.Command],props:{Kind:{get:function(){return Kusto.Language.Syntax.SyntaxKind.UnknownCommand}},DotToken:null,Parts:null,ChildCount:{get:function(){return 2}}},ctors:{ctor:function(dotToken,parts,diagnostics){diagnostics===void 0&&(diagnostics=null);this.$initialize();Kusto.Language.Syntax.Command.ctor.call(this,diagnostics);this.DotToken=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxToken,dotToken);this.Parts=this.Attach(Bridge.global.Kusto.Language.Syntax.SyntaxList$1(Kusto.Language.Syntax.SyntaxToken),parts);this.Init()}},methods:{GetChild:function(index){switch(index){case 0:return this.DotToken;case 1:return this.Parts;default:throw new System.ArgumentOutOfRangeException.ctor;}},GetName:function(index){switch(index){case 0:return"DotToken";case 1:return"Parts";default:throw new System.ArgumentOutOfRangeException.ctor;}},GetCompletionHintCore:function(index){switch(index){case 0:return Kusto.Language.Editor.CompletionHint.Syntax;case 1:return Kusto.Language.Editor.CompletionHint.Syntax;default:return Kusto.Language.Editor.CompletionHint.Inherit}},Visit$2:function(visitor){visitor.VisitUnknownCommand(this)},Visit:function(TResult,visitor){return visitor.VisitUnknownCommand(this)},Visit$1:function(TContext,TResult,visitor,context){return visitor.VisitUnknownCommand(context,this)},CloneCore:function(){var $t,$t1;return new Kusto.Language.Syntax.UnknownCommand(($t=this.DotToken)!=null?$t.Clone$1():null,($t1=this.Parts)!=null?$t1.Clone$2():null,this.SyntaxDiagnostics)}}})}); -//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAiZmlsZSI6ICJLdXN0by5MYW5ndWFnZS5CcmlkZ2UubWluLmpzIiwKICAic291cmNlUm9vdCI6ICIiLAogICJzb3VyY2VzIjogW10sCiAgIm5hbWVzIjogW10sCiAgIm1hcHBpbmdzIjogIiIsCiAgInNvdXJjZXNDb250ZW50IjogW10KfQo= diff --git a/kusto-language-server/server/out/bridge.min.js b/kusto-language-server/server/out/bridge.min.js deleted file mode 100644 index cb47d26..0000000 --- a/kusto-language-server/server/out/bridge.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @version : 17.1.1 - Bridge.NET - * @author : Object.NET, Inc. http://bridge.net/ - * @copyright : Copyright 2008-2018 Object.NET, Inc. http://object.net/ - * @license : See license.txt and https://github.com/bridgedotnet/Bridge/blob/master/LICENSE.md - */ -(function(n){"use strict";var d,at,e,h,vt,k,yt,t;typeof module!="undefined"&&module.exports&&(n=global);d={global:n,isNode:Object.prototype.toString.call(typeof process!="undefined"?process:0)==="[object process]",emptyFn:function(){},identity:function(n){return n},Deconstruct:function(n){for(var i=Array.prototype.slice.call(arguments,1),t=0;t0&&t.length-u-1>0&&!isNaN(parseInt(t.substr(u+1)));h&&(u=t.substring(0,u-1).lastIndexOf("$"));u>0&&u!==t.length-1&&(e=t.substring(0,u)+"add"+t.substr(u+1),o=t.substring(0,u)+"remove"+t.substr(u+1));n[e]=function(n,t,i){return i?function(i){t[n]=Bridge.fn.combine(t[n],i)}:function(t){this[n]=Bridge.fn.combine(this[n],t)}}(t,n,r);n[o]=function(n,t,i){return i?function(i){t[n]=Bridge.fn.remove(t[n],i)}:function(t){this[n]=Bridge.fn.remove(this[n],t)}}(t,n,r)},createInstance:function(n,t){return n===System.Decimal?System.Decimal.Zero:n===System.Int64?System.Int64.Zero:n===System.UInt64?System.UInt64.Zero:n===System.Double||n===System.Single||n===System.Byte||n===System.SByte||n===System.Int16||n===System.UInt16||n===System.Int32||n===System.UInt32||n===Bridge.Int?0:typeof n.createInstance=="function"?n.createInstance():typeof n.getDefaultValue=="function"?n.getDefaultValue():n===Boolean||n===System.Boolean?!1:n===System.DateTime?System.DateTime.getDefaultValue():n===Date?new Date:n===Number?0:n===String||n===System.String?"":n&&n.$literal?n.ctor():t&&t.length>0?Bridge.Reflection.applyConstructor(n,t):new n},clone:function(n){if(n==null)return n;if(Bridge.isArray(n))return System.Array.clone(n);if(Bridge.isString(n))return n;var t;return Bridge.isFunction(Bridge.getProperty(n,t="System$ICloneable$clone"))?n[t]():Bridge.is(n,System.ICloneable)?n.clone():Bridge.isFunction(n.$clone)?n.$clone():null},copy:function(n,t,i,r){typeof i=="string"&&(i=i.split(/[,;\s]+/));for(var u,f=0,e=i?i.length:0;f1?"$"+t.$rank:""),t.$$name?t.$$alias=i:Bridge.$$aliasCache[t]=i,i):(u=n.$$name||Bridge.getTypeName(n),i=u.replace(/[\.\(\)\,\+]/g,"$"),t.$$name?t.$$alias=i:Bridge.$$aliasCache[t]=i,i)},getTypeName:function(n){return Bridge.Reflection.getTypeFullName(n)},hasValue:function(n){return Bridge.unbox(n,!0)!=null},hasValue$1:function(){if(arguments.length===0)return!1;var n=0;for(n;n=0;if(Bridge.isArray(n,u))return System.Array.is(n,t)}return i!==!0&&t.$is?t.$is(n):t.$literal&&Bridge.isPlainObject(n)?n.$getType?Bridge.Reflection.isAssignableFrom(t,n.$getType()):!0:!1}if(f==="string"&&(t=Bridge.unroll(t)),f==="function"&&Bridge.getType(n).prototype instanceof t)return!0;if(i!==!0){if(typeof t.$is=="function")return t.$is(n);if(typeof t.isAssignableFrom=="function")return t.isAssignableFrom(Bridge.getType(n))}return Bridge.isArray(n)?System.Array.is(n,t):f==="object"&&(u===t||n instanceof t)},as:function(n,t,i){return Bridge.is(n,t,!1,i)?n!=null&&n.$boxed&&t!==Object&&t!==System.Object?n.v:n:null},cast:function(n,t,i){if(n==null)return n;var r=Bridge.is(n,t,!1,i)?n:null;if(r===null)throw new System.InvalidCastException.$ctor1("Unable to cast type "+(n?Bridge.getTypeName(n):"'null'")+" to type "+Bridge.getTypeName(t));return n.$boxed&&t!==Object&&t!==System.Object?n.v:r},apply:function(n,t,i){for(var f=Bridge.getPropertyNames(t,!0),r,u=0;u=0;e--)if(h[e].name===u){a=h[e];break}if(a!=null)a.set?n[u]=Bridge.merge(n[u],f):Bridge.merge(n[u],f);else if(typeof n[u]=="function")u.match(/^\s*get[A-Z]/)?Bridge.merge(n[u](),f):n[u](f);else if(c="set"+u.charAt(0).toUpperCase()+u.slice(1),l="set"+u,typeof n[c]=="function"&&typeof f!="function")s="g"+c.slice(1),typeof n[s]=="function"?n[c](Bridge.merge(n[s](),f)):n[c](f);else if(typeof n[l]=="function"&&typeof f!="function")s="g"+l.slice(1),typeof n[s]=="function"?n[l](Bridge.merge(n[s](),f)):n[l](f);else if(f&&f.constructor===Object&&n[u])p=n[u],Bridge.merge(p,f);else{if(v=Bridge.isNumber(t),n[u]instanceof System.Decimal&&v)return new System.Decimal(t);if(n[u]instanceof System.Int64&&v)return new System.Int64(t);if(n[u]instanceof System.UInt64&&v)return new System.UInt64(t);n[u]=f}}else return i&&i.call(n,n),t;return i&&i.call(n,n),n},getEnumerator:function(n,t,i){if(typeof n=="string"&&(n=System.String.toCharArray(n)),arguments.length===2&&Bridge.isFunction(t)&&(i=t,t=null),t&&n&&n[t])return n[t].call(n);if(!i&&n&&n.GetEnumerator)return n.GetEnumerator();var r;if(i&&Bridge.isFunction(Bridge.getProperty(n,r="System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(i)+"$GetEnumerator"))||i&&Bridge.isFunction(Bridge.getProperty(n,r="System$Collections$Generic$IEnumerable$1$GetEnumerator"))||Bridge.isFunction(Bridge.getProperty(n,r="System$Collections$IEnumerable$GetEnumerator")))return n[r]();if(i&&n&&n.GetEnumerator)return n.GetEnumerator();if(Object.prototype.toString.call(n)==="[object Array]"||n&&Bridge.isDefined(n.length))return new Bridge.ArrayEnumerator(n,i);throw new System.InvalidOperationException.$ctor1("Cannot create Enumerator.");},getPropertyNames:function(n,t){var i=[];for(var r in n)(t||typeof n[r]!="function")&&i.push(r);return i},getProperty:function(n,t){return Bridge.isHtmlAttributeCollection(n)&&!this.isValidHtmlAttributeName(t)?undefined:n[t]},isValidHtmlAttributeName:function(n){if(!n||!n.length)return!1;return/^[a-zA-Z_][\w\-]*$/.test(n)},isHtmlAttributeCollection:function(n){return typeof n!="undefined"&&Object.prototype.toString.call(n)==="[object NamedNodeMap]"},isDefined:function(n,t){return typeof n!="undefined"&&(t?n!==null:!0)},isEmpty:function(n,t){return typeof n=="undefined"||n===null||(t?!1:n==="")||(!t&&Bridge.isArray(n)?n.length===0:!1)},toArray:function(n){var t,r,u,i=[];if(Bridge.isArray(n))for(t=0,u=n.length;t=0||i.$isArray||Array.isArray(n):!1},isFunction:function(n){return typeof n=="function"},isDate:function(n){return n instanceof Date},isNull:function(n){return n===null||n===undefined},isBoolean:function(n){return typeof n=="boolean"},isNumber:function(n){return typeof n=="number"&&isFinite(n)},isString:function(n){return typeof n=="string"},unroll:function(n,t){var u=n.split("."),i=(t||Bridge.global)[u[0]],r=1;for(r;r-1||Bridge.$$rightChain.indexOf(t)>-1)return!1;for(var i in t)if(t.hasOwnProperty(i)!==n.hasOwnProperty(i)||typeof t[i]!=typeof n[i])return!1;for(i in n){if(t.hasOwnProperty(i)!==n.hasOwnProperty(i)||typeof n[i]!=typeof t[i])return!1;if(n[i]===t[i])continue;else if(typeof n[i]=="object"){if(Bridge.$$leftChain.push(n),Bridge.$$rightChain.push(t),!Bridge.deepEquals(n[i],t[i]))return!1;Bridge.$$leftChain.pop();Bridge.$$rightChain.pop()}else if(!Bridge.equals(n[i],t[i]))return!1}return!0}return Bridge.equals(n,t)},numberCompare:function(n,t){return nt?1:n==t?0:isNaN(n)?isNaN(t)?0:-1:1},compare:function(n,t,i,r){if(n&&n.$boxed&&(n=Bridge.unbox(n,!0)),t&&t.$boxed&&(t=Bridge.unbox(t,!0)),typeof n=="number"&&typeof t=="number")return Bridge.numberCompare(n,t);if(Bridge.isDefined(n,!0)){if(Bridge.isNumber(n)||Bridge.isString(n)||Bridge.isBoolean(n))return Bridge.isString(n)&&!Bridge.hasValue(t)?1:nt?1:0;if(Bridge.isDate(n))return n.kind!==undefined&&n.ticks!==undefined?Bridge.compare(n.ticks,t.ticks):Bridge.compare(n.valueOf(),t.valueOf())}else{if(i)return 0;throw new System.NullReferenceException;}var u;if(r&&Bridge.isFunction(Bridge.getProperty(n,u="System$IComparable$1$"+Bridge.getTypeAlias(r)+"$compareTo"))||r&&Bridge.isFunction(Bridge.getProperty(n,u="System$IComparable$1$compareTo"))||Bridge.isFunction(Bridge.getProperty(n,u="System$IComparable$compareTo")))return n[u](t);if(Bridge.isFunction(n.compareTo))return n.compareTo(t);if(r&&Bridge.isFunction(Bridge.getProperty(t,u="System$IComparable$1$"+Bridge.getTypeAlias(r)+"$compareTo"))||r&&Bridge.isFunction(Bridge.getProperty(t,u="System$IComparable$1$compareTo"))||Bridge.isFunction(Bridge.getProperty(t,u="System$IComparable$compareTo")))return-t[u](n);if(Bridge.isFunction(t.compareTo))return-t.compareTo(n);if(i)return 0;throw new System.Exception("Cannot compare items");},equalsT:function(n,t,i){if(n&&n.$boxed&&n.type.equalsT&&n.type.equalsT.length===2)return n.type.equalsT(n,t);if(t&&t.$boxed&&t.type.equalsT&&t.type.equalsT.length===2)return t.type.equalsT(t,n);if(Bridge.isDefined(n,!0)){if(Bridge.isNumber(n)||Bridge.isString(n)||Bridge.isBoolean(n))return n===t;if(Bridge.isDate(n))return n.kind!==undefined&&n.ticks!==undefined?n.ticks.equals(t.ticks):n.valueOf()===t.valueOf()}else throw new System.NullReferenceException;var r;return i&&n!=null&&Bridge.isFunction(Bridge.getProperty(n,r="System$IEquatable$1$"+Bridge.getTypeAlias(i)+"$equalsT"))?n[r](t):i&&t!=null&&Bridge.isFunction(Bridge.getProperty(t,r="System$IEquatable$1$"+Bridge.getTypeAlias(i)+"$equalsT"))?t[r](n):Bridge.isFunction(n)&&Bridge.isFunction(t)?Bridge.fn.equals.call(n,t):n.equalsT?n.equalsT(t):t.equalsT(n)},format:function(n,t,i){if(n&&n.$boxed){if(n.type.$kind==="enum")return System.Enum.format(n.type,n.v,t);if(n.type===System.Char)return System.Char.format(Bridge.unbox(n,!0),t,i);if(n.type.format)return n.type.format(Bridge.unbox(n,!0),t,i)}if(Bridge.isNumber(n))return Bridge.Int.format(n,t,i);if(Bridge.isDate(n))return System.DateTime.format(n,t,i);var r;return Bridge.isFunction(Bridge.getProperty(n,r="System$IFormattable$format"))?n[r](t,i):n.format(t,i)},getType:function(n,t){var r,i;if(n&&n.$boxed)return n.type;if(n==null)throw new System.NullReferenceException.$ctor1("instance is null");if(t)return r=Bridge.getType(n),Bridge.Reflection.isAssignableFrom(t,r)?r:t;if(typeof n=="number")return!isNaN(n)&&isFinite(n)&&Math.floor(n,0)===n?System.Int32:System.Double;if(n.$type)return n.$type;if(n.$getType)return n.$getType();i=null;try{i=n.constructor}catch(o){i=Object}if(i===Object){var f=n.toString(),u=/\[object (.{1,})\]/.exec(f),e=u&&u.length>1?u[1]:"Object";e!="Object"&&(i=n)}return Bridge.Reflection.convertType(i)},isLower:function(n){var t=String.fromCharCode(n);return t===t.toLowerCase()&&t!==t.toUpperCase()},isUpper:function(n){var t=String.fromCharCode(n);return t!==t.toLowerCase()&&t===t.toUpperCase()},coalesce:function(n,t){return Bridge.hasValue(n)?n:t},fn:{equals:function(n){return this===n?!0:n==null||this.constructor!==n.constructor?!1:this.equals&&this.equals===n.equals&&this.$method&&this.$method===n.$method&&this.$scope&&this.$scope===n.$scope},call:function(n,t){var i=Array.prototype.slice.call(arguments,2);return n=n||Bridge.global,n[t].apply(n,i)},makeFn:function(n,t){switch(t){case 0:return function(){return n.apply(this,arguments)};case 1:return function(){return n.apply(this,arguments)};case 2:return function(){return n.apply(this,arguments)};case 3:return function(){return n.apply(this,arguments)};case 4:return function(){return n.apply(this,arguments)};case 5:return function(){return n.apply(this,arguments)};case 6:return function(){return n.apply(this,arguments)};case 7:return function(){return n.apply(this,arguments)};case 8:return function(){return n.apply(this,arguments)};case 9:return function(){return n.apply(this,arguments)};case 10:return function(){return n.apply(this,arguments)};case 11:return function(){return n.apply(this,arguments)};case 12:return function(){return n.apply(this,arguments)};case 13:return function(){return n.apply(this,arguments)};case 14:return function(){return n.apply(this,arguments)};case 15:return function(){return n.apply(this,arguments)};case 16:return function(){return n.apply(this,arguments)};case 17:return function(){return n.apply(this,arguments)};case 18:return function(){return n.apply(this,arguments)};case 19:return function(){return n.apply(this,arguments)};default:return function(){return n.apply(this,arguments)}}},cacheBind:function(n,t,i,r){return Bridge.fn.bind(n,t,i,r,!0)},bind:function(n,t,i,r,u){var e,f;if(t&&t.$method===t&&t.$scope===n)return t;if(n&&u&&n.$$bind)for(e=0;e=0;i--)if(r[i]===f[u]||r[i].$method&&r[i].$method===f[u].$method&&r[i].$scope&&r[i].$scope===f[u].$scope){e=i;break}e>-1&&r.splice(e,1)}return Bridge.fn.$build(r)}},sleep:function(n,t){if(Bridge.hasValue(t)&&(n=t.getTotalMilliseconds()),isNaN(n)||n<-1||n>2147483647)throw new System.ArgumentOutOfRangeException.$ctor4("timeout","Number must be either non-negative and less than or equal to Int32.MaxValue or -1");n==-1&&(n=2147483647);for(var i=(new Date).getTime();(new Date).getTime()-i2147483647)break},getMetadata:function(n){return n.$getMetadata?n.$getMetadata():n.$metadata},loadModule:function(n,t){var f=n.amd,i=n.cjs,h=n.fn,s=new System.Threading.Tasks.TaskCompletionSource,e=Bridge.global[h||"require"],o,u,r;if(f&&f.length>0)e(f,function(){var r=Array.prototype.slice.call(arguments,0),n;if(i&&i.length>0)for(n=0;n0){for(r=new System.Threading.Tasks.Task,r.status=System.Threading.Tasks.TaskStatus.ranToCompletion,o=[],u=0;u=0;o--)if(s[o].name===t){r=s[o];break}for(c=Array.isArray(i)?i:[i],h=0;h0&&n.alias.length%2==0)return!0;for(var t=0;t0&&u.$$inherits[0].$staticInit&&u.$$inherits[0].$staticInit(),u.$base.ctor?u.$base.ctor.call(this):Bridge.isFunction(u.$base.constructor)&&u.$base.constructor.call(this))},i.ctor=u),i.$literal&&(s&&s.createInstance||(u.createInstance=function(){var n={};return n.$getType=function(){return u},n}),u.$literal=!0,delete i.$literal),!v&&ft&&(lt=Bridge.Class.set(lt,n,u)),r&&r.fn.$cache.push({type:u,args:r.args}),u.$$name=n,rt&&(et=u.$$name.lastIndexOf("."),u.$$name=u.$$name.substr(0,et)+"+"+u.$$name.substr(et+1)),u.$kind=i.$kind,i.$metadata&&(u.$metadata=i.$metadata),r&&v){for(u.$genericTypeDefinition=r.fn,u.$typeArguments=r.args,u.$assembly=r.fn.$assembly||Bridge.$currentAssembly,g=Bridge.Reflection.getTypeFullName(r.fn),h=0;h0)for(i=0;i0)for(i=0;i0)for(u=0;u=0;t--)if(i[t].name===n){u=i[t];break}f=n.split("$").length;(r||u!=null)&&(f===1||f===2&&n.match("$d+$"))&&(e[n]=this[n])}return e},setInheritors:function(n,t){var i,r;for(n.$$inherits=t,i=0;i0)for(u=0;u0))for(Bridge.Reflection.deferredMeta=[],t=0;t1?f[1]:"Object",i=="Object"?"System.Object":i):(t=n.constructor===Function?n.toString():n.constructor.toString(),e=/function (.{1,})\(/.exec(t),e&&e.length>1?e[1]:"System.Object")},_makeQName:function(n,t){return n+(t?", "+t.name:"")},getTypeQName:function(n){return Bridge.Reflection._makeQName(Bridge.Reflection.getTypeFullName(n),n.$assembly)},getTypeName:function(n){var t=Bridge.Reflection.getTypeFullName(n),i=t.indexOf("["),u=t.lastIndexOf("+",i>=0?i:t.length),r=u>-1?u:t.lastIndexOf(".",i>=0?i:t.length),f=r>0?i>=0?t.substring(r+1,i):t.substr(r+1):t;return n.$isArray?f+"[]":f},getTypeNamespace:function(n,t){var i=t||Bridge.Reflection.getTypeFullName(n),f=i.indexOf("["),e=i.lastIndexOf(".",f>=0?f:i.length),r=e>0?i.substr(0,e):"",u;return n.$assembly&&(u=Bridge.Reflection._getAssemblyType(n.$assembly,r),u&&(r=Bridge.Reflection.getTypeNamespace(u))),r},getTypeAssembly:function(n){return System.Array.contains([Date,Number,Boolean,String,Function,Array],n)||n.$isArray?Bridge.SystemAssembly:n.$assembly||Bridge.SystemAssembly},_extractArrayRank:function(n){var i=-1,t=/<(\d+)>$/g.exec(n);return t&&(n=n.substring(0,t.index),i=parseInt(t[1])),t=/\[(,*)\]$/g.exec(n),t&&(n=n.substring(0,t.index),i=t[1].length+1),{rank:i,name:n}},_getAssemblyType:function(n,t){var s=!1,r=-1,e,u,o,i,f;if(new RegExp(/[\+\`]/).test(t)&&(t=t.replace(/\+|\`/g,function(n){return n==="+"?".":"$"})),n||(n=Bridge.SystemAssembly,s=!0),e=Bridge.Reflection._extractArrayRank(t),r=e.rank,t=e.name,n.$types){if(u=n.$types[t]||null,u)return r>-1?System.Array.type(u,r):u;if(n.name==="mscorlib")n=Bridge.global;else return null}for(o=t.split("."),i=n,f=0;f-1?System.Array.type(i,r):i},getAssemblyTypes:function(n){var t=[],i,r;if(n.$types)for(i in n.$types)n.$types.hasOwnProperty(i)&&t.push(n.$types[i]);else r=function(n,i){for(var u in n)n.hasOwnProperty(u)&&r(n[u],u);typeof n=="function"&&Bridge.isUpper(i.charCodeAt(0))&&t.push(n)},r(n,"");return t},createAssemblyInstance:function(n,t){var i=Bridge.Reflection.getType(t,n);return i?Bridge.createInstance(i):null},getInterfaces:function(n){var t;return n.$allInterfaces?n.$allInterfaces:n===Date?[System.IComparable$1(Date),System.IEquatable$1(Date),System.IComparable,System.IFormattable]:n===Number?[System.IComparable$1(Bridge.Int),System.IEquatable$1(Bridge.Int),System.IComparable,System.IFormattable]:n===Boolean?[System.IComparable$1(Boolean),System.IEquatable$1(Boolean),System.IComparable]:n===String?[System.IComparable$1(String),System.IEquatable$1(String),System.IComparable,System.ICloneable,System.Collections.IEnumerable,System.Collections.Generic.IEnumerable$1(System.Char)]:n===Array||n.$isArray||(t=System.Array._typedArrays[Bridge.getTypeName(n)])?(t=t||n.$elementType||System.Object,[System.Collections.IEnumerable,System.Collections.ICollection,System.ICloneable,System.Collections.IList,System.Collections.Generic.IEnumerable$1(t),System.Collections.Generic.ICollection$1(t),System.Collections.Generic.IList$1(t)]):[]},isInstanceOfType:function(n,t){return Bridge.is(n,t)},isAssignableFrom:function(n,t){if(n==null)throw new System.NullReferenceException;if(t==null)return!1;if(n===t||Bridge.isObject(n))return!0;if(Bridge.isFunction(n.isAssignableFrom))return n.isAssignableFrom(t);if(t===Array)return System.Array.is([],n);if(Bridge.Reflection.isInterface(n)&&System.Array.contains(Bridge.Reflection.getInterfaces(t),n))return!0;var r=t.$$inherits,i,u;if(r)for(i=0;i"}));o=function(){for(;;){var t=i.exec(n);if((!t||t[0]!="["||n[t.index+1]!=="]"&&n[t.index+1]!==",")&&(!t||t[0]!="]"||n[t.index-1]!=="["&&n[t.index-1]!==",")&&(!t||t[0]!=","||n[t.index+1]!=="]"&&n[t.index+1]!==","))return t}};i=i||/[[,\]]/g;var y=i.lastIndex,f=o(),e,h=[],u,p=!t;if(f){e=n.substring(y,f.index);switch(f[0]){case"[":if(n[f.index+1]!=="[")return null;for(;;){if(o(),u=Bridge.Reflection._getType(n,null,i),!u)return null;if(h.push(u),f=o(),f[0]==="]")break;else if(f[0]!==",")return null}if(c=/^\s*<(\d+)>/g.exec(n.substring(f.index+1)),c&&(e=e+"<"+parseInt(c[1])+">"),f=o(),f&&f[0]===","&&(o(),!(t=System.Reflection.Assembly.assemblies[(i.lastIndex>0?n.substring(f.index+1,i.lastIndex-1):n.substring(f.index+1)).trim()])))return null;break;case",":if(o(),!(t=System.Reflection.Assembly.assemblies[(i.lastIndex>0?n.substring(f.index+1,i.lastIndex-1):n.substring(f.index+1)).trim()]))return null}}else e=n.substring(y);if(v&&i.lastIndex)return null;if(e=e.trim(),l=Bridge.Reflection._extractArrayRank(e),a=l.rank,e=l.name,u=Bridge.Reflection._getAssemblyType(t,e),r)return u;if(!u&&p)for(s in System.Reflection.Assembly.assemblies)if(System.Reflection.Assembly.assemblies.hasOwnProperty(s)&&System.Reflection.Assembly.assemblies[s]!==t&&(u=Bridge.Reflection._getType(n,System.Reflection.Assembly.assemblies[s],null,!0),u))break;return u=h.length?u.apply(null,h):u,u&&u.$staticInit&&u.$staticInit(),a>-1&&(u=System.Array.type(u,a)),u},getType:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("typeName");return n?Bridge.Reflection._getType(n,t):null},canAcceptNull:function(n){return n.$kind==="struct"||n.$kind==="enum"||n===System.Decimal||n===System.Int64||n===System.UInt64||n===System.Double||n===System.Single||n===System.Byte||n===System.SByte||n===System.Int16||n===System.UInt16||n===System.Int32||n===System.UInt32||n===Bridge.Int||n===System.Boolean||n===System.DateTime||n===Boolean||n===Date||n===Number?!1:!0},applyConstructor:function(n,t){var a,f,s,h,e,i,r,c,o,u,l;if(!t||t.length===0)return new n;if(n.$$initCtor&&n.$kind!=="anonymous"){if(a=Bridge.getMetadata(n),f=0,a){for(s=Bridge.Reflection.getMembers(n,1,28),e=0;e1)throw new System.Exception("The ambiguous constructor call");}return l=function(){n.apply(this,t)},l.prototype=n.prototype,new l},getAttributes:function(n,t,i){var f=[],r,o,u,e,s,c,h;if(i&&(c=Bridge.Reflection.getBaseType(n),c))for(u=Bridge.Reflection.getAttributes(c,t,!0),r=0;r=0;h--)Bridge.Reflection.isInstanceOfType(f[h],o)&&f.splice(h,1);f.push(u)}return f},getMembers:function(n,t,i,r,u){var e=[],l,a,o,y,h,c,v,s,f;if(((i&72)==72||(i&6)==4)&&(l=Bridge.Reflection.getBaseType(n),l&&(e=Bridge.Reflection.getMembers(l,t&-2,i&(i&64?255:247)&(i&2?251:255),r,u))),a=function(n){if(t&n.t&&(i&4&&!n.is||i&8&&n.is)&&(!r||((i&1)==1?n.n.toUpperCase()===r.toUpperCase():n.n===r))&&((i&16)==16&&n.a===2||(i&32)==32&&n.a!==2)){if(u){if((n.p||[]).length!==u.length)return;for(var f=0;f1)throw new System.Reflection.AmbiguousMatchException.$ctor1("Ambiguous match");else if(s.length===1)return s[0];n=Bridge.Reflection.getBaseType(n)}return null}return e},createDelegate:function(n,t){var r=n.is||n.sm,u=t!=null&&!r,i=Bridge.Reflection.midel(n,t,null,u);return u?i:r?function(){var r=t!=null?[t]:[];return i.apply(n.td,r.concat(Array.prototype.slice.call(arguments,0)))}:function(n){return i.apply(n,Array.prototype.slice.call(arguments,1))}},midel:function(n,t,i,r){var u,f,e,o,s;if(r!==!1)if(n.is&&!!t)throw new System.ArgumentException.$ctor1("Cannot specify target for static method");else if(!n.is&&!t)throw new System.ArgumentException.$ctor1("Must specify target for instance method");if(n.fg)u=function(){return(n.is?n.td:this)[n.fg]};else if(n.fs)u=function(t){(n.is?n.td:this)[n.fs]=t};else{if(u=n.def||(n.is||n.sm?n.td[n.sn]:t?t[n.sn]:n.td.prototype[n.sn]),n.tpc){if(!i||i.length!==n.tpc)throw new System.ArgumentException.$ctor1("Wrong number of type arguments");f=u;u=function(){return f.apply(this,i.concat(Array.prototype.slice.call(arguments)))}}else if(i&&i.length)throw new System.ArgumentException.$ctor1("Cannot specify type arguments for non-generic method");n.exp&&(e=u,u=function(){return e.apply(this,Array.prototype.slice.call(arguments,0,arguments.length-1).concat(arguments[arguments.length-1]))});n.sm&&(o=u,u=function(){return o.apply(null,[this].concat(Array.prototype.slice.call(arguments)))})}return s=u,u=function(){for(var i,f=[],r=n.pi||[],u,t=0;t=0},hasGenericParameters:function(n){if(n.$typeArguments)for(var t=0;t=0}}}});Bridge.define("System.IEquatable$1",function(n){return{$kind:"interface",statics:{$is:function(t){return Bridge.isNumber(t)&&n.$number&&n.$is(t)||Bridge.isDate(t)&&(n===Date||n===System.DateTime)||Bridge.isBoolean(t)&&(n===Boolean||n===System.Boolean)||Bridge.isString(t)&&(n===String||n===System.String)?!0:Bridge.is(t,System.IEquatable$1(n),!0)},isAssignableFrom:function(t){return t===System.DateTime&&n===Date?!0:Bridge.Reflection.getInterfaces(t).indexOf(System.IEquatable$1(n))>=0}}}});Bridge.define("Bridge.IPromise",{$kind:"interface"});Bridge.define("System.IDisposable",{$kind:"interface"});Bridge.define("System.IAsyncResult",{$kind:"interface"});h={nameEquals:function(n,t,i){return i?n.toLowerCase()===t.toLowerCase():n.charAt(0).toLowerCase()+n.slice(1)===t.charAt(0).toLowerCase()+t.slice(1)},checkEnumType:function(n){if(!n)throw new System.ArgumentNullException.$ctor1("enumType");if(n.prototype&&n.$kind!=="enum")throw new System.ArgumentException.$ctor1("","enumType");},getUnderlyingType:function(n){return System.Enum.checkEnumType(n),n.prototype.$utype||System.Int32},toName:function(n){return n},parse:function(n,t,i,r){var s,e,c,u,p,l,o,f;if(System.Enum.checkEnumType(n),t!=null){if(n===Number||n===System.String||n.$number)return t;if(s={},System.Int32.tryParse(t,s))return Bridge.box(s.v,n,function(t){return System.Enum.toString(n,t)});if(e=System.Enum.getNames(n),c=n,n.prototype&&n.prototype.$flags){var a=t.split(","),v=0,y=!0;for(u=a.length-1;u>=0;u--){for(p=a[u].trim(),l=!1,o=0;o=0;){if(r=l[o],s=f&&System.Int64.is64Bit(r.value),o==0&&(s?r.value.isZero():r.value==0))break;(s?t.and(r.value).eq(r.value):(t&r.value)==r.value)&&(s?t=t.sub(r.value):t-=r.value,y.unshift(r.name));o--}return(f?!t.isZero():t!==0)?a.toString():(f?a.isZero():a===0)?(r=l[0],r&&(System.Int64.is64Bit(r.value)?r.value.isZero():r.value==0))?r.name:"0":y.join(", ")}for(e=0;et},gte:function(n,t){return Bridge.hasValue$1(n,t)&&n>=t},neq:function(n,t){return Bridge.hasValue(n)?n!==t:Bridge.hasValue(t)},lt:function(n,t){return Bridge.hasValue$1(n,t)&&n>t:null},srr:function(n,t){return Bridge.hasValue$1(n,t)?n>>>t:null},sub:function(n,t){return Bridge.hasValue$1(n,t)?n-t:null},bnot:function(n){return Bridge.hasValue(n)?~n:null},neg:function(n){return Bridge.hasValue(n)?-n:null},not:function(n){return Bridge.hasValue(n)?!n:null},pos:function(n){return Bridge.hasValue(n)?+n:null},lift:function(){for(var n=1;n=System.Char.min&&n<=System.Char.max},getDefaultValue:function(){return 0},parse:function(n){if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("s");if(n.length!==1)throw new System.FormatException;return n.charCodeAt(0)},tryParse:function(n,t){var i=n&&n.length===1;return t.v=i?n.charCodeAt(0):0,i},format:function(n,t,i){return Bridge.Int.format(n,t,i)},charCodeAt:function(n,t){if(n==null)throw new System.ArgumentNullException;if(n.length!=1)throw new System.FormatException.$ctor1("String must be exactly one character long");return n.charCodeAt(t)},isWhiteSpace:function(n){return!/[^\s\x09-\x0D\x85\xA0]/.test(n)},isDigit:function(n){return n<256?n>=48&&n<=57:new RegExp(/[0-9\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]/).test(String.fromCharCode(n))},isLetter:function(n){return n<256?n>=65&&n<=90||n>=97&&n<=122:new RegExp(/[A-Za-z\u0061-\u007A\u00B5\u00DF-\u00F6\u00F8-\u00FF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0561-\u0587\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7FA\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A\u0041-\u005A\u00C0-\u00D6\u00D8-\u00DE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA\uFF21-\uFF3A\u01C5\u01C8\u01CB\u01F2\u1F88-\u1F8F\u1F98-\u1F9F\u1FA8-\u1FAF\u1FBC\u1FCC\u1FFC\u02B0-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0374\u037A\u0559\u0640\u06E5\u06E6\u07F4\u07F5\u07FA\u081A\u0824\u0828\u0971\u0E46\u0EC6\u10FC\u17D7\u1843\u1AA7\u1C78-\u1C7D\u1D2C-\u1D6A\u1D78\u1D9B-\u1DBF\u2071\u207F\u2090-\u209C\u2C7C\u2C7D\u2D6F\u2E2F\u3005\u3031-\u3035\u303B\u309D\u309E\u30FC-\u30FE\uA015\uA4F8-\uA4FD\uA60C\uA67F\uA717-\uA71F\uA770\uA788\uA7F8\uA7F9\uA9CF\uAA70\uAADD\uAAF3\uAAF4\uFF70\uFF9E\uFF9F\u00AA\u00BA\u01BB\u01C0-\u01C3\u0294\u05D0-\u05EA\u05F0-\u05F2\u0620-\u063F\u0641-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u0800-\u0815\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0972-\u0977\u0979-\u097F\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\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-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\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\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E45\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10D0-\u10FA\u10FD-\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-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17DC\u1820-\u1842\u1844-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C77\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u2135-\u2138\u2D30-\u2D67\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3006\u303C\u3041-\u3096\u309F\u30A1-\u30FA\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA014\uA016-\uA48C\uA4D0-\uA4F7\uA500-\uA60B\uA610-\uA61F\uA62A\uA62B\uA66E\uA6A0-\uA6E5\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA6F\uAA71-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB\uAADC\uAAE0-\uAAEA\uAAF2\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\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\uFF66-\uFF6F\uFF71-\uFF9D\uFFA0-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/).test(String.fromCharCode(n))},isHighSurrogate:function(n){return new RegExp(/[\uD800-\uDBFF]/).test(String.fromCharCode(n))},isLowSurrogate:function(n){return new RegExp(/[\uDC00-\uDFFF]/).test(String.fromCharCode(n))},isSurrogate:function(n){return new RegExp(/[\uD800-\uDFFF]/).test(String.fromCharCode(n))},isNull:function(n){return new RegExp("\x00").test(String.fromCharCode(n))},isSymbol:function(n){return n<256?[36,43,60,61,62,94,96,124,126,162,163,164,165,166,167,168,169,172,174,175,176,177,180,182,184,215,247].indexOf(n)!=-1:new RegExp(/[\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\u27C0-\u27EF\u27F0-\u27FF\u2800-\u28FF\u2900-\u297F\u2980-\u29FF\u2A00-\u2AFF\u2B00-\u2BFF]/).test(String.fromCharCode(n))},isSeparator:function(n){return n<256?n==32||n==160:new RegExp(/[\u2028\u2029\u0020\u00A0\u1680\u180E\u2000-\u200A\u202F\u205F\u3000]/).test(String.fromCharCode(n))},isPunctuation:function(n){return n<256?[33,34,35,37,38,39,40,41,42,44,45,46,47,58,59,63,64,91,92,93,95,123,125,161,171,173,183,187,191].indexOf(n)!=-1:new RegExp(/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65\u002D\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u0028\u005B\u007B\u0F3A\u0F3C\u169B\u201A\u201E\u2045\u207D\u208D\u2329\u2768\u276A\u276C\u276E\u2770\u2772\u2774\u27C5\u27E6\u27E8\u27EA\u27EC\u27EE\u2983\u2985\u2987\u2989\u298B\u298D\u298F\u2991\u2993\u2995\u2997\u29D8\u29DA\u29FC\u2E22\u2E24\u2E26\u2E28\u3008\u300A\u300C\u300E\u3010\u3014\u3016\u3018\u301A\u301D\uFD3E\uFE17\uFE35\uFE37\uFE39\uFE3B\uFE3D\uFE3F\uFE41\uFE43\uFE47\uFE59\uFE5B\uFE5D\uFF08\uFF3B\uFF5B\uFF5F\uFF62\u0029\u005D\u007D\u0F3B\u0F3D\u169C\u2046\u207E\u208E\u232A\u2769\u276B\u276D\u276F\u2771\u2773\u2775\u27C6\u27E7\u27E9\u27EB\u27ED\u27EF\u2984\u2986\u2988\u298A\u298C\u298E\u2990\u2992\u2994\u2996\u2998\u29D9\u29DB\u29FD\u2E23\u2E25\u2E27\u2E29\u3009\u300B\u300D\u300F\u3011\u3015\u3017\u3019\u301B\u301E\u301F\uFD3F\uFE18\uFE36\uFE38\uFE3A\uFE3C\uFE3E\uFE40\uFE42\uFE44\uFE48\uFE5A\uFE5C\uFE5E\uFF09\uFF3D\uFF5D\uFF60\uFF63\u00AB\u2018\u201B\u201C\u201F\u2039\u2E02\u2E04\u2E09\u2E0C\u2E1C\u2E20\u00BB\u2019\u201D\u203A\u2E03\u2E05\u2E0A\u2E0D\u2E1D\u2E21\u005F\u203F\u2040\u2054\uFE33\uFE34\uFE4D-\uFE4F\uFF3F\u0021-\u0023\u0025-\u0027\u002A\u002C\u002E\u002F\u003A\u003B\u003F\u0040\u005C\u00A1\u00A7\u00B6\u00B7\u00BF\u037E\u0387\u055A-\u055F\u0589\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u166D\u166E\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u1805\u1807-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203B-\u203E\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205E\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00\u2E01\u2E06-\u2E08\u2E0B\u2E0E-\u2E16\u2E18\u2E19\u2E1B\u2E1E\u2E1F\u2E2A-\u2E2E\u2E30-\u2E39\u3001-\u3003\u303D\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFE10-\uFE16\uFE19\uFE30\uFE45\uFE46\uFE49-\uFE4C\uFE50-\uFE52\uFE54-\uFE57\uFE5F-\uFE61\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF07\uFF0A\uFF0C\uFF0E\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3C\uFF61\uFF64\uFF65]/).test(String.fromCharCode(n))},isNumber:function(n){return n<256?[48,49,50,51,52,53,54,55,56,57,178,179,185,188,189,190].indexOf(n)!=-1:new RegExp(/[\u0030-\u0039\u00B2\u00B3\u00B9\u00BC-\u00BE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19\u0030-\u0039\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19\u16EE-\u16F0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303A\uA6E6-\uA6EF\u00B2\u00B3\u00B9\u00BC-\u00BE\u09F4-\u09F9\u0B72-\u0B77\u0BF0-\u0BF2\u0C78-\u0C7E\u0D70-\u0D75\u0F2A-\u0F33\u1369-\u137C\u17F0-\u17F9\u19DA\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215F\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA830-\uA835]/).test(String.fromCharCode(n))},isControl:function(n){return n<256?n>=0&&n<=31||n>=127&&n<=159:new RegExp(/[\u0000-\u001F\u007F\u0080-\u009F]/).test(String.fromCharCode(n))},isLatin1:function(n){return n<=255},isAscii:function(n){return n<=127},isUpper:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("s");if(t>>>0>=n.length>>>0)throw new System.ArgumentOutOfRangeException.$ctor1("index");var i=n.charCodeAt(t);return System.Char.isLatin1(i)&&System.Char.isAscii(i)?i>=65&&i<=90:Bridge.isUpper(i)},equals:function(n,t){return Bridge.is(n,System.Char)&&Bridge.is(t,System.Char)?Bridge.unbox(n,!0)===Bridge.unbox(t,!0):!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)},getHashCode:function(n){return n|n<<16}}});Bridge.Class.addExtend(System.Char,[System.IComparable$1(System.Char),System.IEquatable$1(System.Char)]);Bridge.define("Bridge.Ref$1",function(){return{statics:{methods:{op_Implicit:function(n){return n.Value}}},fields:{getter:null,setter:null},props:{Value:{get:function(){return this.getter()},set:function(n){this.setter(n)}},v:{get:function(){return this.Value},set:function(n){this.Value=n}}},ctors:{ctor:function(n,t){this.$initialize();this.getter=n;this.setter=t}},methods:{toString:function(){return Bridge.toString(this.Value)},valueOf:function(){return this.Value}}}});Bridge.define("System.IConvertible",{$kind:"interface"});Bridge.define("System.HResults");Bridge.define("System.Exception",{config:{properties:{Message:{get:function(){return this.message}},InnerException:{get:function(){return this.innerException}},StackTrace:{get:function(){return this.errorStack.stack}},Data:{get:function(){return this.data}},HResult:{get:function(){return this._HResult},set:function(n){this._HResult=n}}}},ctor:function(n,t){this.$initialize();this.message=n?n:"Exception of type '"+Bridge.getTypeName(this)+"' was thrown.";this.innerException=t?t:null;this.errorStack=new Error(this.message);this.data=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))},getBaseException:function(){for(var n=this.innerException,t=this;n!=null;)t=n,n=n.innerException;return t},toString:function(){var n=Bridge.getTypeName(this);return n+=this.Message!=null?": "+this.Message+"\n":"\n",this.StackTrace!=null&&(n+=this.StackTrace+"\n"),n},statics:{create:function(n){if(Bridge.is(n,System.Exception))return n;var t;if(n instanceof TypeError)t=new System.NullReferenceException.$ctor1(n.message);else if(n instanceof RangeError)t=new System.ArgumentOutOfRangeException.$ctor1(n.message);else{if(n instanceof Error)return new System.SystemException.$ctor1(n);t=n&&n.error&&n.error.stack?new System.Exception(n.error.stack):new System.Exception(n?n.message?n.message:n.toString():null)}return t.errorStack=n,t}}});Bridge.define("System.SystemException",{inherits:[System.Exception],ctors:{ctor:function(){this.$initialize();System.Exception.ctor.call(this,"System error.");this.HResult=-2146233087},$ctor1:function(n){this.$initialize();System.Exception.ctor.call(this,n);this.HResult=-2146233087},$ctor2:function(n,t){this.$initialize();System.Exception.ctor.call(this,n,t);this.HResult=-2146233087}}});Bridge.define("System.OutOfMemoryException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Insufficient memory to continue the execution of the program.");this.HResult=-2147024362},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2147024362},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2147024362}}});Bridge.define("System.ArrayTypeMismatchException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Attempted to access an element as a type incompatible with the array.");this.HResult=-2146233085},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233085},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233085}}});Bridge.define("System.Resources.MissingManifestResourceException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Unable to find manifest resource.");this.HResult=-2146233038},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233038},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233038}}});Bridge.define("System.Globalization.TextInfo",{inherits:[System.ICloneable],fields:{listSeparator:null},props:{ANSICodePage:0,CultureName:null,EBCDICCodePage:0,IsReadOnly:!1,IsRightToLeft:!1,LCID:0,ListSeparator:{get:function(){return this.listSeparator},set:function(n){this.VerifyWritable();this.listSeparator=n}},MacCodePage:0,OEMCodePage:0},alias:["clone","System$ICloneable$clone"],methods:{clone:function(){return Bridge.copy(new System.Globalization.TextInfo,this,System.Array.init(["ANSICodePage","CultureName","EBCDICCodePage","IsRightToLeft","LCID","listSeparator","MacCodePage","OEMCodePage","IsReadOnly"],System.String))},VerifyWritable:function(){if(this.IsReadOnly)throw new System.InvalidOperationException.$ctor1("Instance is read-only.");}}});Bridge.define("System.Globalization.BidiCategory",{$kind:"enum",statics:{fields:{LeftToRight:0,LeftToRightEmbedding:1,LeftToRightOverride:2,RightToLeft:3,RightToLeftArabic:4,RightToLeftEmbedding:5,RightToLeftOverride:6,PopDirectionalFormat:7,EuropeanNumber:8,EuropeanNumberSeparator:9,EuropeanNumberTerminator:10,ArabicNumber:11,CommonNumberSeparator:12,NonSpacingMark:13,BoundaryNeutral:14,ParagraphSeparator:15,SegmentSeparator:16,Whitespace:17,OtherNeutrals:18,LeftToRightIsolate:19,RightToLeftIsolate:20,FirstStrongIsolate:21,PopDirectionIsolate:22}}});Bridge.define("System.Globalization.SortVersion",{inherits:function(){return[System.IEquatable$1(System.Globalization.SortVersion)]},statics:{methods:{op_Equality:function(n,t){return n!=null?n.equalsT(t):t!=null?t.equalsT(n):!0},op_Inequality:function(n,t){return!System.Globalization.SortVersion.op_Equality(n,t)}}},fields:{m_NlsVersion:0,m_SortId:null},props:{FullVersion:{get:function(){return this.m_NlsVersion}},SortId:{get:function(){return this.m_SortId}}},alias:["equalsT","System$IEquatable$1$System$Globalization$SortVersion$equalsT"],ctors:{init:function(){this.m_SortId=new System.Guid},ctor:function(n,t){this.$initialize();this.m_SortId=t;this.m_NlsVersion=n},$ctor1:function(n,t,i){if(this.$initialize(),this.m_NlsVersion=n,System.Guid.op_Equality(i,System.Guid.Empty)){var r=t>>24&255,u=(t&16711680)>>16&255,f=(t&65280)>>8&255,e=t&255;i=new System.Guid.$ctor2(0,0,0,0,0,0,0,r,u,f,e)}this.m_SortId=i}},methods:{equals:function(n){var t=Bridge.as(n,System.Globalization.SortVersion);return System.Globalization.SortVersion.op_Inequality(t,null)?this.equalsT(t):!1},equalsT:function(n){return System.Globalization.SortVersion.op_Equality(n,null)?!1:this.m_NlsVersion===n.m_NlsVersion&&System.Guid.op_Equality(this.m_SortId,n.m_SortId)},getHashCode:function(){return Bridge.Int.mul(this.m_NlsVersion,7)|this.m_SortId.getHashCode()}}});Bridge.define("System.Globalization.UnicodeCategory",{$kind:"enum",statics:{fields:{UppercaseLetter:0,LowercaseLetter:1,TitlecaseLetter:2,ModifierLetter:3,OtherLetter:4,NonSpacingMark:5,SpacingCombiningMark:6,EnclosingMark:7,DecimalDigitNumber:8,LetterNumber:9,OtherNumber:10,SpaceSeparator:11,LineSeparator:12,ParagraphSeparator:13,Control:14,Format:15,Surrogate:16,PrivateUse:17,ConnectorPunctuation:18,DashPunctuation:19,OpenPunctuation:20,ClosePunctuation:21,InitialQuotePunctuation:22,FinalQuotePunctuation:23,OtherPunctuation:24,MathSymbol:25,CurrencySymbol:26,ModifierSymbol:27,OtherSymbol:28,OtherNotAssigned:29}}});Bridge.define("System.Globalization.DaylightTimeStruct",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new System.Globalization.DaylightTimeStruct}}},fields:{Start:null,End:null,Delta:null},ctors:{init:function(){this.Start=System.DateTime.getDefaultValue();this.End=System.DateTime.getDefaultValue();this.Delta=new System.TimeSpan},$ctor1:function(n,t,i){this.$initialize();this.Start=n;this.End=t;this.Delta=i},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([7445027511,this.Start,this.End,this.Delta])},equals:function(n){return Bridge.is(n,System.Globalization.DaylightTimeStruct)?Bridge.equals(this.Start,n.Start)&&Bridge.equals(this.End,n.End)&&Bridge.equals(this.Delta,n.Delta):!1},$clone:function(n){var t=n||new System.Globalization.DaylightTimeStruct;return t.Start=this.Start,t.End=this.End,t.Delta=this.Delta,t}}});Bridge.define("System.Globalization.DaylightTime",{fields:{_start:null,_end:null,_delta:null},props:{Start:{get:function(){return this._start}},End:{get:function(){return this._end}},Delta:{get:function(){return this._delta}}},ctors:{init:function(){this._start=System.DateTime.getDefaultValue();this._end=System.DateTime.getDefaultValue();this._delta=new System.TimeSpan},ctor:function(){this.$initialize()},$ctor1:function(n,t,i){this.$initialize();this._start=n;this._end=t;this._delta=i}}});Bridge.define("System.Globalization.DateTimeFormatInfo",{inherits:[System.IFormatProvider,System.ICloneable],config:{alias:["getFormat","System$IFormatProvider$getFormat"]},statics:{$allStandardFormats:{d:"shortDatePattern",D:"longDatePattern",f:"longDatePattern shortTimePattern",F:"longDatePattern longTimePattern",g:"shortDatePattern shortTimePattern",G:"shortDatePattern longTimePattern",m:"monthDayPattern",M:"monthDayPattern",o:"roundtripFormat",O:"roundtripFormat",r:"rfc1123",R:"rfc1123",s:"sortableDateTimePattern",S:"sortableDateTimePattern1",t:"shortTimePattern",T:"longTimePattern",u:"universalSortableDateTimePattern",U:"longDatePattern longTimePattern",y:"yearMonthPattern",Y:"yearMonthPattern"},ctor:function(){this.invariantInfo=Bridge.merge(new System.Globalization.DateTimeFormatInfo,{abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],abbreviatedMonthGenitiveNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""],amDesignator:"AM",dateSeparator:"/",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],firstDayOfWeek:0,fullDateTimePattern:"dddd, dd MMMM yyyy HH:mm:ss",longDatePattern:"dddd, dd MMMM yyyy",longTimePattern:"HH:mm:ss",monthDayPattern:"MMMM dd",monthGenitiveNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December",""],pmDesignator:"PM",rfc1123:"ddd, dd MMM yyyy HH':'mm':'ss 'GMT'",shortDatePattern:"MM/dd/yyyy",shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],shortTimePattern:"HH:mm",sortableDateTimePattern:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",sortableDateTimePattern1:"yyyy'-'MM'-'dd",timeSeparator:":",universalSortableDateTimePattern:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",yearMonthPattern:"yyyy MMMM",roundtripFormat:"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffzzz"})}},getFormat:function(n){switch(n){case System.Globalization.DateTimeFormatInfo:return this;default:return null}},getAbbreviatedDayName:function(n){if(n<0||n>6)throw new System.ArgumentOutOfRangeException$ctor1("dayofweek");return this.abbreviatedDayNames[n]},getAbbreviatedMonthName:function(n){if(n<1||n>13)throw new System.ArgumentOutOfRangeException.$ctor1("month");return this.abbreviatedMonthNames[n-1]},getAllDateTimePatterns:function(n,t){var i=System.Globalization.DateTimeFormatInfo.$allStandardFormats,r,e,f,u,o=[];if(n){if(!i[n]){if(t)return null;throw new System.ArgumentException.$ctor3("","format");}r={};r[n]=i[n]}else r=i;for(i in r){for(e=r[i].split(" "),f="",u=0;u6)throw new System.ArgumentOutOfRangeException.$ctor1("dayofweek");return this.dayNames[n]},getMonthName:function(n){if(n<1||n>13)throw new System.ArgumentOutOfRangeException.$ctor1("month");return this.monthNames[n-1]},getShortestDayName:function(n){if(n<0||n>6)throw new System.ArgumentOutOfRangeException.$ctor1("dayOfWeek");return this.shortestDayNames[n]},clone:function(){return Bridge.copy(new System.Globalization.DateTimeFormatInfo,this,["abbreviatedDayNames","abbreviatedMonthGenitiveNames","abbreviatedMonthNames","amDesignator","dateSeparator","dayNames","firstDayOfWeek","fullDateTimePattern","longDatePattern","longTimePattern","monthDayPattern","monthGenitiveNames","monthNames","pmDesignator","rfc1123","shortDatePattern","shortestDayNames","shortTimePattern","sortableDateTimePattern","timeSeparator","universalSortableDateTimePattern","yearMonthPattern","roundtripFormat"])}});Bridge.define("System.Globalization.NumberFormatInfo",{inherits:[System.IFormatProvider,System.ICloneable],config:{alias:["getFormat","System$IFormatProvider$getFormat"]},statics:{ctor:function(){this.numberNegativePatterns=["(n)","-n","- n","n-","n -"];this.currencyNegativePatterns=["($n)","-$n","$-n","$n-","(n$)","-n$","n-$","n$-","-n $","-$ n","n $-","$ n-","$ -n","n- $","($ n)","(n $)"];this.currencyPositivePatterns=["$n","n$","$ n","n $"];this.percentNegativePatterns=["-n %","-n%","-%n","%-n","%n-","n-%","n%-","-% n","n %-","% n-","% -n","n- %"];this.percentPositivePatterns=["n %","n%","%n","% n"];this.invariantInfo=Bridge.merge(new System.Globalization.NumberFormatInfo,{nanSymbol:"NaN",negativeSign:"-",positiveSign:"+",negativeInfinitySymbol:"-Infinity",positiveInfinitySymbol:"Infinity",percentSymbol:"%",percentGroupSizes:[3],percentDecimalDigits:2,percentDecimalSeparator:".",percentGroupSeparator:",",percentPositivePattern:0,percentNegativePattern:0,currencySymbol:"¤",currencyGroupSizes:[3],currencyDecimalDigits:2,currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyNegativePattern:0,currencyPositivePattern:0,numberGroupSizes:[3],numberDecimalDigits:2,numberDecimalSeparator:".",numberGroupSeparator:",",numberNegativePattern:1})}},getFormat:function(n){switch(n){case System.Globalization.NumberFormatInfo:return this;default:return null}},clone:function(){return Bridge.copy(new System.Globalization.NumberFormatInfo,this,["nanSymbol","negativeSign","positiveSign","negativeInfinitySymbol","positiveInfinitySymbol","percentSymbol","percentGroupSizes","percentDecimalDigits","percentDecimalSeparator","percentGroupSeparator","percentPositivePattern","percentNegativePattern","currencySymbol","currencyGroupSizes","currencyDecimalDigits","currencyDecimalSeparator","currencyGroupSeparator","currencyNegativePattern","currencyPositivePattern","numberGroupSizes","numberDecimalDigits","numberDecimalSeparator","numberGroupSeparator","numberNegativePattern"])}});Bridge.define("System.Globalization.CultureInfo",{inherits:[System.IFormatProvider,System.ICloneable],config:{alias:["getFormat","System$IFormatProvider$getFormat"]},$entryPoint:!0,statics:{ctor:function(){this.cultures=this.cultures||{};this.invariantCulture=Bridge.merge(new System.Globalization.CultureInfo("iv",!0),{englishName:"Invariant Language (Invariant Country)",nativeName:"Invariant Language (Invariant Country)",numberFormat:System.Globalization.NumberFormatInfo.invariantInfo,dateTimeFormat:System.Globalization.DateTimeFormatInfo.invariantInfo,TextInfo:Bridge.merge(new System.Globalization.TextInfo,{ANSICodePage:1252,CultureName:"",EBCDICCodePage:37,listSeparator:",",IsRightToLeft:!1,LCID:127,MacCodePage:1e4,OEMCodePage:437,IsReadOnly:!0})});this.setCurrentCulture(System.Globalization.CultureInfo.invariantCulture)},getCurrentCulture:function(){return this.currentCulture},setCurrentCulture:function(n){this.currentCulture=n;System.Globalization.DateTimeFormatInfo.currentInfo=n.dateTimeFormat;System.Globalization.NumberFormatInfo.currentInfo=n.numberFormat},getCultureInfo:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("name");else if(n==="")return System.Globalization.CultureInfo.invariantCulture;var t=this.cultures[n];if(t==null)throw new System.Globalization.CultureNotFoundException.$ctor5("name",n);return t},getCultures:function(){for(var t=Bridge.getPropertyNames(this.cultures),i=[],n=0;n=0?n.substr(System.String.indexOf(n,"at")):""}},Version:{get:function(){var t=Bridge.SystemAssembly.compiler,n={};return System.Version.tryParse(t,n)?n.v:new System.Version.ctor}}},ctors:{init:function(){this.ExitCode=0},ctor:function(){System.Environment.Variables=new(System.Collections.Generic.Dictionary$2(System.String,System.String));System.Environment.PatchDictionary(System.Environment.Variables)}},methods:{GetResourceString:function(n){return n},GetResourceString$1:function(n,t){t===void 0&&(t=[]);var i=System.Environment.GetResourceString(n);return System.String.formatProvider.apply(System.String,[System.Globalization.CultureInfo.getCurrentCulture(),i].concat(t))},PatchDictionary:function(n){return n.noKeyCheck=!0,n},Exit:function(n){System.Environment.ExitCode=n},ExpandEnvironmentVariables:function(n){var t,i;if(n==null)throw new System.ArgumentNullException.$ctor1(n);t=Bridge.getEnumerator(System.Environment.Variables);try{while(t.moveNext())i=t.Current,n=System.String.replaceAll(n,"%"+(i.key||"")+"%",i.value)}finally{Bridge.is(t,System.IDisposable)&&t.System$IDisposable$Dispose()}return n},FailFast:function(n){throw new System.Exception(n);},FailFast$1:function(n,t){throw new System.Exception(n,t);},GetCommandLineArgs:function(){var e=System.Environment.Location,i,o,r,u,n,f,t;if(e){if(i=new(System.Collections.Generic.List$1(System.String).ctor),o=e.pathname,System.String.isNullOrEmpty(o)||i.add(o),r=e.search,!System.String.isNullOrEmpty(r)&&r.length>1)for(u=System.String.split(r.substr(1),[38].map(function(n){return String.fromCharCode(n)})),n=0;n0|-(n<0),n%1==.5*r)?(f=Math.floor(n),(f+(i===4?r>0:f%2*r))/u):Math.round(n)/u},log10:Math.log10||function(n){return Math.log(n)/Math.LN10},logWithBase:function(n,t){return isNaN(n)?n:isNaN(t)?t:t===1?NaN:n!==1&&(t===0||t===Number.POSITIVE_INFINITY)?NaN:Bridge.Math.log10(n)/Bridge.Math.log10(t)},log:function(n){return n===0?Number.NEGATIVE_INFINITY:n<0||isNaN(n)?NaN:n===Number.POSITIVE_INFINITY?Number.POSITIVE_INFINITY:n===Number.NEGATIVE_INFINITY?NaN:Math.log(n)},sinh:Math.sinh||function(n){return(Math.exp(n)-Math.exp(-n))/2},cosh:Math.cosh||function(n){return(Math.exp(n)+Math.exp(-n))/2},tanh:Math.tanh||function(n){if(n===Infinity)return 1;if(n===-Infinity)return-1;var t=Math.exp(2*n);return(t-1)/(t+1)}};Bridge.define("System.Boolean",{inherits:[System.IComparable],statics:{trueString:"True",falseString:"False",$is:function(n){return typeof n=="boolean"},getDefaultValue:function(){return!1},createInstance:function(){return!1},toString:function(n){return n?System.Boolean.trueString:System.Boolean.falseString},parse:function(n){if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("value");var t={v:!1};if(!System.Boolean.tryParse(n,t))throw new System.FormatException.$ctor1("Bad format for Boolean value");return t.v},tryParse:function(n,t){if(t.v=!1,!Bridge.hasValue(n))return!1;if(System.String.equals(System.Boolean.trueString,n,5))return t.v=!0,!0;if(System.String.equals(System.Boolean.falseString,n,5))return t.v=!1,!0;for(var i=0,r=n.length-1;i=i){if(!System.Char.isWhiteSpace(n[r])&&!System.Char.isNull(n.charCodeAt(r)))break;r--}return(n=n.substr(i,r-i+1),System.String.equals(System.Boolean.trueString,n,5))?(t.v=!0,!0):System.String.equals(System.Boolean.falseString,n,5)?(t.v=!1,!0):!1}}});System.Boolean.$kind="";Bridge.Class.addExtend(System.Boolean,[System.IComparable$1(System.Boolean),System.IEquatable$1(System.Boolean)]),function(){var n=function(n,t,i,r){var u=Bridge.define(n,{inherits:[System.IComparable,System.IFormattable],statics:{$number:!0,min:t,max:i,precision:r,$is:function(n){return typeof n=="number"&&Math.floor(n,0)===n&&n>=t&&n<=i},getDefaultValue:function(){return 0},parse:function(n,r){return Bridge.Int.parseInt(n,t,i,r)},tryParse:function(n,r,u){return Bridge.Int.tryParseInt(n,r,t,i,u)},format:function(n,t,i){return Bridge.Int.format(n,t,i,u)},equals:function(n,t){return Bridge.is(n,u)&&Bridge.is(t,u)?Bridge.unbox(n,!0)===Bridge.unbox(t,!0):!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)}}});u.$kind="";Bridge.Class.addExtend(u,[System.IComparable$1(u),System.IEquatable$1(u)])};n("System.Byte",0,255,3);n("System.SByte",-128,127,3);n("System.Int16",-32768,32767,5);n("System.UInt16",0,65535,5);n("System.Int32",-2147483648,2147483647,10);n("System.UInt32",0,4294967295,10)}();Bridge.define("Bridge.Int",{inherits:[System.IComparable,System.IFormattable],statics:{$number:!0,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,MIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER||-(Math.pow(2,53)-1),$is:function(n){return typeof n=="number"&&isFinite(n)&&Math.floor(n,0)===n},getDefaultValue:function(){return 0},format:function(n,t,i,r){var e=(i||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.NumberFormatInfo),nt=e.numberDecimalSeparator,rt=e.numberGroupSeparator,f=n instanceof System.Decimal,o=n instanceof System.Int64||n instanceof System.UInt64,tt=f||o?n.isZero()?!1:n.isNegative():n<0,l,u,v,b,g,c,k,d,a;if(!o&&(f?!n.isFinite():!isFinite(n)))return Number.NEGATIVE_INFINITY===n||f&&tt?e.negativeInfinitySymbol:isNaN(n)?e.nanSymbol:e.positiveInfinitySymbol;if(t||(t="G"),l=t.match(/^([a-zA-Z])(\d*)$/),l){b=l[1].toUpperCase();u=parseInt(l[2],10);switch(b){case"D":return this.defaultFormat(n,isNaN(u)?1:u,0,0,e,!0);case"F":case"N":return isNaN(u)&&(u=e.numberDecimalDigits),this.defaultFormat(n,1,u,u,e,b==="F");case"G":case"E":for(var h=0,s=f||o?o&&n.eq(System.Int64.MinValue)?System.Int64(n.value.toUnsigned()):n.abs():Math.abs(n),y=l[1],it=3,p,w;f||o?s.gte(10):s>=10;)f||o?s=s.div(10):s/=10,h++;while(f||o?s.ne(0)&&s.lt(1):s!==0&&s<1)f||o?s=s.mul(10):s*=10,h--;if(b==="G"){if(g=isNaN(u),g&&(u=f?29:o?n instanceof System.Int64?19:20:r&&r.precision?r.precision:15),h>-5&&h0?h+1:1),this.defaultFormat(n,1,p,w,e,!0);y=y==="G"?"E":"e";it=2;p=0;w=(u||15)-1}else p=w=isNaN(u)?6:u;return h>=0?y+=e.positiveSign:(y+=e.negativeSign,h=-h),tt&&(f||o?s=s.mul(-1):s*=-1),this.defaultFormat(s,1,p,w,e)+y+this.defaultFormat(h,it,0,0,e,!0);case"P":return isNaN(u)&&(u=e.percentDecimalDigits),this.defaultFormat(n*100,1,u,u,e,!1,"percent");case"X":for(c=f?n.round().value.toHex().substr(2):o?n.toString(16):Math.round(n).toString(16),l[1]==="X"&&(c=c.toUpperCase()),u-=c.length;u-->0;)c="0"+c;return c;case"C":return isNaN(u)&&(u=e.currencyDecimalDigits),this.defaultFormat(n,1,u,u,e,!1,"currency");case"R":return k=f||o?n.toString():""+n,nt!=="."&&(k=k.replace(".",nt)),k.replace("e","E")}}if(t.indexOf(",.")!==-1||System.String.endsWith(t,",")){for(d=0,a=t.indexOf(",."),a===-1&&(a=t.length-1);a>-1&&t.charAt(a)===",";)d++,a--;f||o?n=n.div(Math.pow(1e3,d)):n/=Math.pow(1e3,d)}return t.indexOf("%")!==-1&&(f||o?n=n.mul(100):n*=100),t.indexOf("‰")!==-1&&(f||o?n=n.mul(1e3):n*=1e3),v=t.split(";"),(f||o?n.lt(0):n<0)&&v.length>1?(f||o?n=n.mul(-1):n*=-1,t=v[1]):t=v[(f||o?n.ne(0):!n)&&v.length>2?2:0],this.customFormat(n,t,e,!t.match(/^[^\.]*[0#],[0#]/))},defaultFormat:function(n,t,i,r,u,f,e){e=e||"number";var h=(u||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.NumberFormatInfo),o,p,w,ut,v,y,b=h[e+"GroupSizes"],s,k,d,l,a,g,nt,c="",tt=n instanceof System.Decimal,it=n instanceof System.Int64||n instanceof System.UInt64,ft=tt||it?n.isZero()?!1:n.isNegative():n<0,rt=!1;if(ut=Math.pow(10,r),o=tt?n.abs().toDecimalPlaces(r).toFixed():it?n.eq(System.Int64.MinValue)?n.value.toUnsigned().toString():n.abs().toString():""+ +Math.abs(n).toFixed(r),rt=o.split("").every(function(n){return n==="0"||n==="."}),p=o.indexOf("."),p>0&&(s=h[e+"DecimalSeparator"]+o.substr(p+1),o=o.substr(0,p)),o.lengthr&&(s=s.substr(0,r+1))):i>0&&(s=h[e+"DecimalSeparator"]+Array(i+1).join("0")),v=0,y=b[v],o.length=0?(nt&&this.addGroup(n.substr(0,f),l),this.addGroup(n.charAt(f),l)):f>=h-s&&this.addGroup("0",l),nt=0):(b-->0||f=n.length?"0":n.charAt(f),l),e=l.buffer,f++)):u==="."?(g||d||(e+=n.substr(0,h),g=!0),(n.length>++f||b>0)&&(rt=!0,e+=i[y+"DecimalSeparator"])):u!==","&&(e+=u);return tt&&!it&&(e="-"+e),e},addGroup:function(n,t){for(var i=t.buffer,f=t.sep,r=t.groupIndex,u=0,e=n.length;u1&&r--%3==1&&(i+=f);t.buffer=i;t.groupIndex=r},parseFloat:function(n,t){var i={};return Bridge.Int.tryParseFloat(n,t,i,!1),i.v},tryParseFloat:function(n,t,i,r){var l,a,u,v;if(i.v=0,r==null&&(r=!0),n==null){if(r)return!1;throw new System.ArgumentNullException.$ctor1("s");}n=n.trim();var f=(t||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.NumberFormatInfo),o=f.numberDecimalSeparator,e=f.numberGroupSeparator,s="Input string was not in a correct format.",h=n.indexOf(o),c=e?n.indexOf(e):-1;if(h>-1&&(h-1&&h-1)){if(r)return!1;throw new System.FormatException.$ctor1(s);}if(o!=="."&&e!=="."&&n.indexOf(".")>-1){if(r)return!1;throw new System.FormatException.$ctor1(s);}if(c>-1){for(l="",u=0;u1){if(r)return!1;throw new System.FormatException.$ctor1(s);}}else{if(r)return!1;throw new System.FormatException.$ctor1(s);}if(v=parseFloat(n.replace(o,".")),isNaN(v)){if(r)return!1;throw new System.FormatException.$ctor1(s);}return i.v=v,!0},parseInt:function(n,t,i,r){if(r=r||10,n==null)throw new System.ArgumentNullException.$ctor1("str");if(r<=10&&!/^[+-]?[0-9]+$/.test(n)||r==16&&!/^[+-]?[0-9A-F]+$/gi.test(n))throw new System.FormatException.$ctor1("Input string was not in a correct format.");var u=parseInt(n,r);if(isNaN(u))throw new System.FormatException.$ctor1("Input string was not in a correct format.");if(ui)throw new System.OverflowException;return u},tryParseInt:function(n,t,i,r,u){return(t.v=0,u=u||10,u<=10&&!/^[+-]?[0-9]+$/.test(n)||u==16&&!/^[+-]?[0-9A-F]+$/gi.test(n))?!1:(t.v=parseInt(n,u),t.vr)?(t.v=0,!1):!0},isInfinite:function(n){return n===Number.POSITIVE_INFINITY||n===Number.NEGATIVE_INFINITY},trunc:function(n){return Bridge.isNumber(n)?n>0?Math.floor(n):Math.ceil(n):Bridge.Int.isInfinite(n)?n:null},div:function(n,t){if(n==null||t==null)return null;if(t===0)throw new System.DivideByZeroException;return this.trunc(n/t)},mod:function(n,t){if(n==null||t==null)return null;if(t===0)throw new System.DivideByZeroException;return n%t},check:function(n,t){if(System.Int64.is64Bit(n))return System.Int64.check(n,t);if(n instanceof System.Decimal)return System.Decimal.toInt(n,t);if(Bridge.isNumber(n)){if(System.Int64.is64BitType(t)){if(t===System.UInt64&&n<0)throw new System.OverflowException;return t===System.Int64?System.Int64(n):System.UInt64(n)}if(!t.$is(n))throw new System.OverflowException;}return Bridge.Int.isInfinite(n)?System.Int64.is64BitType(t)?t.MinValue:t.min:n},sxb:function(n){return Bridge.isNumber(n)?n|(n&128?4294967040:0):Bridge.Int.isInfinite(n)?System.SByte.min:null},sxs:function(n){return Bridge.isNumber(n)?n|(n&32768?4294901760:0):Bridge.Int.isInfinite(n)?System.Int16.min:null},clip8:function(n){return Bridge.isNumber(n)?Bridge.Int.sxb(n&255):Bridge.Int.isInfinite(n)?System.SByte.min:null},clipu8:function(n){return Bridge.isNumber(n)?n&255:Bridge.Int.isInfinite(n)?System.Byte.min:null},clip16:function(n){return Bridge.isNumber(n)?Bridge.Int.sxs(n&65535):Bridge.Int.isInfinite(n)?System.Int16.min:null},clipu16:function(n){return Bridge.isNumber(n)?n&65535:Bridge.Int.isInfinite(n)?System.UInt16.min:null},clip32:function(n){return Bridge.isNumber(n)?n|0:Bridge.Int.isInfinite(n)?System.Int32.min:null},clipu32:function(n){return Bridge.isNumber(n)?n>>>0:Bridge.Int.isInfinite(n)?System.UInt32.min:null},clip64:function(n){return Bridge.isNumber(n)?System.Int64(Bridge.Int.trunc(n)):Bridge.Int.isInfinite(n)?System.Int64.MinValue:null},clipu64:function(n){return Bridge.isNumber(n)?System.UInt64(Bridge.Int.trunc(n)):Bridge.Int.isInfinite(n)?System.UInt64.MinValue:null},sign:function(n){return Bridge.isNumber(n)?n===0?0:n<0?-1:1:null},$mul:Math.imul||function(n,t){var u=n>>>16&65535,i=n&65535,f=t>>>16&65535,r=t&65535;return i*r+(u*r+i*f<<16>>>0)|0},mul:function(n,t,i){return n==null||t==null?null:(i&&Bridge.Int.check(n*t,System.Int32),Bridge.Int.$mul(n,t))},umul:function(n,t,i){return n==null||t==null?null:(i&&Bridge.Int.check(n*t,System.UInt32),Bridge.Int.$mul(n,t)>>>0)}}});Bridge.Int.$kind="";Bridge.Class.addExtend(Bridge.Int,[System.IComparable$1(Bridge.Int),System.IEquatable$1(Bridge.Int)]);Bridge.define("System.Double",{inherits:[System.IComparable,System.IFormattable],statics:{min:-Number.MAX_VALUE,max:Number.MAX_VALUE,precision:15,$number:!0,$is:function(n){return typeof n=="number"},getDefaultValue:function(){return 0},parse:function(n,t){return Bridge.Int.parseFloat(n,t)},tryParse:function(n,t,i){return Bridge.Int.tryParseFloat(n,t,i)},format:function(n,t,i){return Bridge.Int.format(n,t||"G",i,System.Double)},equals:function(n,t){return Bridge.is(n,System.Double)&&Bridge.is(t,System.Double)?(n=Bridge.unbox(n,!0),t=Bridge.unbox(t,!0),isNaN(n)&&isNaN(t))?!0:n===t:!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)},getHashCode:function(n){var t=Bridge.unbox(n,!0);return t===0?0:t===Number.POSITIVE_INFINITY?2146435072:t===Number.NEGATIVE_INFINITY?4293918720:Bridge.getHashCode(t.toExponential())}}});System.Double.$kind="";Bridge.Class.addExtend(System.Double,[System.IComparable$1(System.Double),System.IEquatable$1(System.Double)]);Bridge.define("System.Single",{inherits:[System.IComparable,System.IFormattable],statics:{min:-34028234663852886e22,max:34028234663852886e22,precision:7,$number:!0,$is:System.Double.$is,getDefaultValue:System.Double.getDefaultValue,parse:System.Double.parse,tryParse:System.Double.tryParse,format:function(n,t,i){return Bridge.Int.format(n,t||"G",i,System.Single)},equals:function(n,t){return Bridge.is(n,System.Single)&&Bridge.is(t,System.Single)?(n=Bridge.unbox(n,!0),t=Bridge.unbox(t,!0),isNaN(n)&&isNaN(t))?!0:n===t:!1},equalsT:function(n,t){return Bridge.unbox(n,!0)===Bridge.unbox(t,!0)},getHashCode:System.Double.getHashCode}});System.Single.$kind="";Bridge.Class.addExtend(System.Single,[System.IComparable$1(System.Single),System.IEquatable$1(System.Single)]),function(n){function i(n,t,i){this.low=n|0;this.high=t|0;this.unsigned=!!i}function u(n){return!0===(n&&n.__isLong__)}function h(n,i){var r,u;if(i){if(n>>>=0,(u=0<=n&&256>n)&&(r=p[n]))return r;r=t(n,0>(n|0)?-1:0,!0);u&&(p[n]=r)}else{if(n|=0,(u=-128<=n&&128>n)&&(r=y[n]))return r;r=t(n,0>n?-1:0,!1);u&&(y[n]=r)}return r}function f(n,i){if(isNaN(n)||!isFinite(n))return i?s:e;if(i){if(0>n)return s;if(n>=d)return k}else{if(n<=-g)return r;if(n+1>=g)return b}return 0>n?f(-n,i).neg():t(n%4294967296|0,n/4294967296|0,i)}function t(n,t,r){return new i(n,t,r)}function v(n,t,i){var s,r,u,o,h;if(0===n.length)throw Error("empty string");if("NaN"===n||"Infinity"===n||"+Infinity"===n||"-Infinity"===n)return e;if("number"==typeof t?(i=t,t=!1):t=!!t,i=i||10,2>i||36o?(o=f(l(i,o)),r=r.mul(o).add(f(h))):(r=r.mul(s),r=r.add(f(h)));return r.unsigned=t,r}function o(n){return n instanceof i?n:"number"==typeof n?f(n):"string"==typeof n?v(n):t(n.low,n.high,n.unsigned)}var y,p,l,s,c,w,a,b,k,r;n.Bridge.$Long=i;i.__isLong__;Object.defineProperty(i.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1});i.isLong=u;y={};p={};i.fromInt=h;i.fromNumber=f;i.fromBits=t;l=Math.pow;i.fromString=v;i.fromValue=o;var d=4294967296*4294967296,g=d/2,nt=h(16777216),e=h(0);i.ZERO=e;s=h(0,!0);i.UZERO=s;c=h(1);i.ONE=c;w=h(1,!0);i.UONE=w;a=h(-1);i.NEG_ONE=a;b=t(-1,2147483647,!1);i.MAX_VALUE=b;k=t(-1,-1,!0);i.MAX_UNSIGNED_VALUE=k;r=t(0,-2147483648,!1);i.MIN_VALUE=r;n=i.prototype;n.toInt=function(){return this.unsigned?this.low>>>0:this.low};n.toNumber=function(){return this.unsigned?4294967296*(this.high>>>0)+(this.low>>>0):4294967296*this.high+(this.low>>>0)};n.toString=function(n){if(n=n||10,2>n||36>>0).toString(n),t=o;if(t.isZero())return i+e;for(;6>i.length;)i="0"+i;e=""+i+e}};n.getHighBits=function(){return this.high};n.getHighBitsUnsigned=function(){return this.high>>>0};n.getLowBits=function(){return this.low};n.getLowBitsUnsigned=function(){return this.low>>>0};n.getNumBitsAbs=function(){if(this.isNegative())return this.eq(r)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,n=31;0this.high};n.isPositive=function(){return this.unsigned||0<=this.high};n.isOdd=function(){return 1==(this.low&1)};n.isEven=function(){return 0==(this.low&1)};n.equals=function(n){return u(n)||(n=o(n)),this.unsigned!==n.unsigned&&1==this.high>>>31&&1==n.high>>>31?!1:this.high===n.high&&this.low===n.low};n.eq=n.equals;n.notEquals=function(n){return!this.eq(n)};n.neq=n.notEquals;n.lessThan=function(n){return 0>this.comp(n)};n.lt=n.lessThan;n.lessThanOrEqual=function(n){return 0>=this.comp(n)};n.lte=n.lessThanOrEqual;n.greaterThan=function(n){return 0>>0>this.high>>>0||n.high===this.high&&n.low>>>0>this.low>>>0?-1:1:this.sub(n).isNegative()?-1:1};n.comp=n.compare;n.negate=function(){return!this.unsigned&&this.eq(r)?r:this.not().add(c)};n.neg=n.negate;n.add=function(n){u(n)||(n=o(n));var e=this.high>>>16,i=this.high&65535,r=this.low>>>16,s=n.high>>>16,h=n.high&65535,c=n.low>>>16,f;return f=0+((this.low&65535)+(n.low&65535)),n=0+(f>>>16),n+=r+c,r=0+(n>>>16),r+=i+h,i=0+(r>>>16),i=i+(e+s)&65535,t((n&65535)<<16|f&65535,i<<16|r&65535,this.unsigned)};n.subtract=function(n){return u(n)||(n=o(n)),this.add(n.neg())};n.sub=n.subtract;n.multiply=function(n){var h,i,s,v;if(this.isZero()||(u(n)||(n=o(n)),n.isZero()))return e;if(this.eq(r))return n.isOdd()?r:e;if(n.eq(r))return this.isOdd()?r:e;if(this.isNegative())return n.isNegative()?this.neg().mul(n.neg()):this.neg().mul(n).neg();if(n.isNegative())return this.mul(n.neg()).neg();if(this.lt(nt)&&n.lt(nt))return f(this.toNumber()*n.toNumber(),this.unsigned);var w=this.high>>>16,y=this.high&65535,l=this.low>>>16,c=this.low&65535,b=n.high>>>16,p=n.high&65535,a=n.low>>>16;return n=n.low&65535,v=0+c*n,s=0+(v>>>16),s+=l*n,i=0+(s>>>16),s=(s&65535)+c*a,i+=s>>>16,s&=65535,i+=y*n,h=0+(i>>>16),i=(i&65535)+l*a,h+=i>>>16,i&=65535,i+=c*p,h+=i>>>16,i&=65535,h=h+(w*n+y*a+l*p+c*b)&65535,t(s<<16|v&65535,h<<16|i,this.unsigned)};n.mul=n.multiply;n.divide=function(n){var t,i,v;if(u(n)||(n=o(n)),n.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?s:e;if(this.unsigned)n.unsigned||(n=n.toUnsigned());else{if(this.eq(r))return n.eq(c)||n.eq(a)?r:n.eq(r)?c:(t=this.shr(1).div(n).shl(1),t.eq(e))?n.isNegative()?c:a:(i=this.sub(n.mul(t)),t.add(i.div(n)));if(n.eq(r))return this.unsigned?s:e;if(this.isNegative())return n.isNegative()?this.neg().div(n.neg()):this.neg().div(n).neg();if(n.isNegative())return this.div(n.neg()).neg()}if(this.unsigned){if(n.gt(this))return s;if(n.gt(this.shru(1)))return w;v=s}else v=e;for(i=this;i.gte(n);){t=Math.max(1,Math.floor(i.toNumber()/n.toNumber()));for(var p=Math.ceil(Math.log(t)/Math.LN2),p=48>=p?1:l(2,p-48),h=f(t),y=h.mul(n);y.isNegative()||y.gt(i);)t-=p,h=f(t,this.unsigned),y=h.mul(n);h.isZero()&&(h=c);v=v.add(h);i=i.sub(y)}return v};n.div=n.divide;n.modulo=function(n){return u(n)||(n=o(n)),this.sub(this.div(n).mul(n))};n.mod=n.modulo;n.not=function(){return t(~this.low,~this.high,this.unsigned)};n.and=function(n){return u(n)||(n=o(n)),t(this.low&n.low,this.high&n.high,this.unsigned)};n.or=function(n){return u(n)||(n=o(n)),t(this.low|n.low,this.high|n.high,this.unsigned)};n.xor=function(n){return u(n)||(n=o(n)),t(this.low^n.low,this.high^n.high,this.unsigned)};n.shiftLeft=function(n){return u(n)&&(n=n.toInt()),0==(n&=63)?this:32>n?t(this.low<>>32-n,this.unsigned):t(0,this.low<n?t(this.low>>>n|this.high<<32-n,this.high>>n,this.unsigned):t(this.high>>n-32,0<=this.high?0:-1,this.unsigned)};n.shr=n.shiftRight;n.shiftRightUnsigned=function(n){if(u(n)&&(n=n.toInt()),n&=63,0===n)return this;var i=this.high;return 32>n?t(this.low>>>n|i<<32-n,i>>>n,this.unsigned):32===n?t(i,0,this.unsigned):t(i>>>n-32,0,this.unsigned)};n.shru=n.shiftRightUnsigned;n.toSigned=function(){return this.unsigned?t(this.low,this.high,!1):this};n.toUnsigned=function(){return this.unsigned?this:t(this.low,this.high,!0)}}(Bridge.global);System.Int64=function(n){if(this.constructor!==System.Int64)return new System.Int64(n);Bridge.hasValue(n)||(n=0);this.T=System.Int64;this.unsigned=!1;this.value=System.Int64.getValue(n)};System.Int64.$number=!0;System.Int64.TWO_PWR_16_DBL=65536;System.Int64.TWO_PWR_32_DBL=System.Int64.TWO_PWR_16_DBL*System.Int64.TWO_PWR_16_DBL;System.Int64.TWO_PWR_64_DBL=System.Int64.TWO_PWR_32_DBL*System.Int64.TWO_PWR_32_DBL;System.Int64.TWO_PWR_63_DBL=System.Int64.TWO_PWR_64_DBL/2;System.Int64.$$name="System.Int64";System.Int64.prototype.$$name="System.Int64";System.Int64.$kind="struct";System.Int64.prototype.$kind="struct";System.Int64.$$inherits=[];Bridge.Class.addExtend(System.Int64,[System.IComparable,System.IFormattable,System.IComparable$1(System.Int64),System.IEquatable$1(System.Int64)]);System.Int64.$is=function(n){return n instanceof System.Int64};System.Int64.is64Bit=function(n){return n instanceof System.Int64||n instanceof System.UInt64};System.Int64.is64BitType=function(n){return n===System.Int64||n===System.UInt64};System.Int64.getDefaultValue=function(){return System.Int64.Zero};System.Int64.getValue=function(n){return Bridge.hasValue(n)?n instanceof Bridge.$Long?n:n instanceof System.Int64?n.value:n instanceof System.UInt64?n.value.toSigned():Bridge.isArray(n)?new Bridge.$Long(n[0],n[1]):Bridge.isString(n)?Bridge.$Long.fromString(n):Bridge.isNumber(n)?n+1>=System.Int64.TWO_PWR_63_DBL?new System.UInt64(n).value.toSigned():Bridge.$Long.fromNumber(n):n instanceof System.Decimal?Bridge.$Long.fromString(n.toString()):Bridge.$Long.fromValue(n):null};System.Int64.create=function(n){return Bridge.hasValue(n)?n instanceof System.Int64?n:new System.Int64(n):null};System.Int64.lift=function(n){return Bridge.hasValue(n)?System.Int64.create(n):null};System.Int64.toNumber=function(n){return n?n.toNumber():null};System.Int64.prototype.toNumberDivided=function(n){var t=this.div(n),i=this.mod(n),r=i.toNumber()/n;return t.toNumber()+r};System.Int64.prototype.toJSON=function(){return this.gt(Bridge.Int.MAX_SAFE_INTEGER)||this.lt(Bridge.Int.MIN_SAFE_INTEGER)?this.toString():this.toNumber()};System.Int64.prototype.toString=function(n,t){return!n&&!t?this.value.toString():Bridge.isNumber(n)&&!t?this.value.toString(n):Bridge.Int.format(this,n,t)};System.Int64.prototype.format=function(n,t){return Bridge.Int.format(this,n,t)};System.Int64.prototype.isNegative=function(){return this.value.isNegative()};System.Int64.prototype.abs=function(){if(this.T===System.Int64&&this.eq(System.Int64.MinValue))throw new System.OverflowException;return new this.T(this.value.isNegative()?this.value.neg():this.value)};System.Int64.prototype.compareTo=function(n){return this.value.compare(this.T.getValue(n))};System.Int64.prototype.add=function(n,t){var i=this.T.getValue(n),r=new this.T(this.value.add(i));if(t){var u=this.value.isNegative(),f=i.isNegative(),e=r.value.isNegative();if(u&&f&&!e||!u&&!f&&e||this.T===System.UInt64&&r.lt(System.UInt64.max(this,i)))throw new System.OverflowException;}return r};System.Int64.prototype.sub=function(n,t){var i=this.T.getValue(n),r=new this.T(this.value.sub(i));if(t){var u=this.value.isNegative(),f=i.isNegative(),e=r.value.isNegative();if(u&&!f&&!e||!u&&f&&e||this.T===System.UInt64&&this.value.lt(i))throw new System.OverflowException;}return r};System.Int64.prototype.isZero=function(){return this.value.isZero()};System.Int64.prototype.mul=function(n,t){var i=this.T.getValue(n),r=new this.T(this.value.mul(i)),u;if(t){var f=this.sign(),e=i.isZero()?0:i.isNegative()?-1:1,o=r.sign();if(this.T===System.Int64){if(this.eq(System.Int64.MinValue)||this.eq(System.Int64.MaxValue)){if(i.neq(1)&&i.neq(0))throw new System.OverflowException;return r}if(i.eq(Bridge.$Long.MIN_VALUE)||i.eq(Bridge.$Long.MAX_VALUE)){if(this.neq(1)&&this.neq(0))throw new System.OverflowException;return r}if(f===-1&&e===-1&&o!==1||f===1&&e===1&&o!==1||f===-1&&e===1&&o!==-1||f===1&&e===-1&&o!==-1)throw new System.OverflowException;if(u=r.abs(),u.lt(this.abs())||u.lt(System.Int64(i).abs()))throw new System.OverflowException;}else{if(this.eq(System.UInt64.MaxValue)){if(i.neq(1)&&i.neq(0))throw new System.OverflowException;return r}if(i.eq(Bridge.$Long.MAX_UNSIGNED_VALUE)){if(this.neq(1)&&this.neq(0))throw new System.OverflowException;return r}if(u=r.abs(),u.lt(this.abs())||u.lt(System.Int64(i).abs()))throw new System.OverflowException;}}return r};System.Int64.prototype.div=function(n){return new this.T(this.value.div(this.T.getValue(n)))};System.Int64.prototype.mod=function(n){return new this.T(this.value.mod(this.T.getValue(n)))};System.Int64.prototype.neg=function(n){if(n&&this.T===System.Int64&&this.eq(System.Int64.MinValue))throw new System.OverflowException;return new this.T(this.value.neg())};System.Int64.prototype.inc=function(n){return this.add(1,n)};System.Int64.prototype.dec=function(n){return this.sub(1,n)};System.Int64.prototype.sign=function(){return this.value.isZero()?0:this.value.isNegative()?-1:1};System.Int64.prototype.clone=function(){return new this.T(this)};System.Int64.prototype.ne=function(n){return this.value.neq(this.T.getValue(n))};System.Int64.prototype.neq=function(n){return this.value.neq(this.T.getValue(n))};System.Int64.prototype.eq=function(n){return this.value.eq(this.T.getValue(n))};System.Int64.prototype.lt=function(n){return this.value.lt(this.T.getValue(n))};System.Int64.prototype.lte=function(n){return this.value.lte(this.T.getValue(n))};System.Int64.prototype.gt=function(n){return this.value.gt(this.T.getValue(n))};System.Int64.prototype.gte=function(n){return this.value.gte(this.T.getValue(n))};System.Int64.prototype.equals=function(n){return this.value.eq(this.T.getValue(n))};System.Int64.prototype.equalsT=function(n){return this.equals(n)};System.Int64.prototype.getHashCode=function(){var n=this.sign()*397+this.value.high|0;return n*397+this.value.low|0};System.Int64.prototype.toNumber=function(){return this.value.toNumber()};System.Int64.parse=function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("str");if(!/^[+-]?[0-9]+$/.test(n))throw new System.FormatException.$ctor1("Input string was not in a correct format.");var t=new System.Int64(n);if(System.String.trimStartZeros(n)!==t.toString())throw new System.OverflowException;return t};System.Int64.tryParse=function(n,t){try{return n==null||!/^[+-]?[0-9]+$/.test(n)?(t.v=System.Int64(Bridge.$Long.ZERO),!1):(t.v=new System.Int64(n),System.String.trimStartZeros(n)!==t.v.toString())?(t.v=System.Int64(Bridge.$Long.ZERO),!1):!0}catch(i){return t.v=System.Int64(Bridge.$Long.ZERO),!1}};System.Int64.divRem=function(n,t,i){n=System.Int64(n);t=System.Int64(t);var r=n.mod(t);return i.v=r,n.sub(r).div(t)};System.Int64.min=function(){for(var t=[],i,n=0,r=arguments.length;n>>0:Bridge.Int.isInfinite(n)?System.UInt32.min:null};System.Int64.clip64=function(n){return n?new System.Int64(n.value.toSigned()):Bridge.Int.isInfinite(n)?System.Int64.MinValue:null};System.Int64.clipu64=function(n){return n?new System.UInt64(n.value.toUnsigned()):Bridge.Int.isInfinite(n)?System.UInt64.MinValue:null};System.Int64.Zero=System.Int64(Bridge.$Long.ZERO);System.Int64.MinValue=System.Int64(Bridge.$Long.MIN_VALUE);System.Int64.MaxValue=System.Int64(Bridge.$Long.MAX_VALUE);System.Int64.precision=19;System.UInt64=function(n){if(this.constructor!==System.UInt64)return new System.UInt64(n);Bridge.hasValue(n)||(n=0);this.T=System.UInt64;this.unsigned=!0;this.value=System.UInt64.getValue(n,!0)};System.UInt64.$number=!0;System.UInt64.$$name="System.UInt64";System.UInt64.prototype.$$name="System.UInt64";System.UInt64.$kind="struct";System.UInt64.prototype.$kind="struct";System.UInt64.$$inherits=[];Bridge.Class.addExtend(System.UInt64,[System.IComparable,System.IFormattable,System.IComparable$1(System.UInt64),System.IEquatable$1(System.UInt64)]);System.UInt64.$is=function(n){return n instanceof System.UInt64};System.UInt64.getDefaultValue=function(){return System.UInt64.Zero};System.UInt64.getValue=function(n){return Bridge.hasValue(n)?n instanceof Bridge.$Long?n:n instanceof System.UInt64?n.value:n instanceof System.Int64?n.value.toUnsigned():Bridge.isArray(n)?new Bridge.$Long(n[0],n[1],!0):Bridge.isString(n)?Bridge.$Long.fromString(n,!0):Bridge.isNumber(n)?n<0?new System.Int64(n).value.toUnsigned():Bridge.$Long.fromNumber(n,!0):n instanceof System.Decimal?Bridge.$Long.fromString(n.toString(),!0):Bridge.$Long.fromValue(n):null};System.UInt64.create=function(n){return Bridge.hasValue(n)?n instanceof System.UInt64?n:new System.UInt64(n):null};System.UInt64.lift=function(n){return Bridge.hasValue(n)?System.UInt64.create(n):null};System.UInt64.prototype.toString=System.Int64.prototype.toString;System.UInt64.prototype.format=System.Int64.prototype.format;System.UInt64.prototype.isNegative=System.Int64.prototype.isNegative;System.UInt64.prototype.abs=System.Int64.prototype.abs;System.UInt64.prototype.compareTo=System.Int64.prototype.compareTo;System.UInt64.prototype.add=System.Int64.prototype.add;System.UInt64.prototype.sub=System.Int64.prototype.sub;System.UInt64.prototype.isZero=System.Int64.prototype.isZero;System.UInt64.prototype.mul=System.Int64.prototype.mul;System.UInt64.prototype.div=System.Int64.prototype.div;System.UInt64.prototype.toNumberDivided=System.Int64.prototype.toNumberDivided;System.UInt64.prototype.mod=System.Int64.prototype.mod;System.UInt64.prototype.neg=System.Int64.prototype.neg;System.UInt64.prototype.inc=System.Int64.prototype.inc;System.UInt64.prototype.dec=System.Int64.prototype.dec;System.UInt64.prototype.sign=System.Int64.prototype.sign;System.UInt64.prototype.clone=System.Int64.prototype.clone;System.UInt64.prototype.ne=System.Int64.prototype.ne;System.UInt64.prototype.neq=System.Int64.prototype.neq;System.UInt64.prototype.eq=System.Int64.prototype.eq;System.UInt64.prototype.lt=System.Int64.prototype.lt;System.UInt64.prototype.lte=System.Int64.prototype.lte;System.UInt64.prototype.gt=System.Int64.prototype.gt;System.UInt64.prototype.gte=System.Int64.prototype.gte;System.UInt64.prototype.equals=System.Int64.prototype.equals;System.UInt64.prototype.equalsT=System.Int64.prototype.equalsT;System.UInt64.prototype.getHashCode=System.Int64.prototype.getHashCode;System.UInt64.prototype.toNumber=System.Int64.prototype.toNumber;System.UInt64.parse=function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("str");if(!/^[+-]?[0-9]+$/.test(n))throw new System.FormatException.$ctor1("Input string was not in a correct format.");var t=new System.UInt64(n);if(t.value.isNegative())throw new System.OverflowException;if(System.String.trimStartZeros(n)!==t.toString())throw new System.OverflowException;return t};System.UInt64.tryParse=function(n,t){try{return n==null||!/^[+-]?[0-9]+$/.test(n)?(t.v=System.UInt64(Bridge.$Long.UZERO),!1):(t.v=new System.UInt64(n),t.v.isNegative())?(t.v=System.UInt64(Bridge.$Long.UZERO),!1):System.String.trimStartZeros(n)!==t.v.toString()?(t.v=System.UInt64(Bridge.$Long.UZERO),!1):!0}catch(i){return t.v=System.UInt64(Bridge.$Long.UZERO),!1}};System.UInt64.min=function(){for(var t=[],i,n=0,r=arguments.length;n0){for(e+=t,u=1;o>u;u++)f=n[u]+"",i=r-f.length,i&&(e+=p(i)),e+=f;t=n[u];f=t+"";i=r-f.length;i&&(e+=p(i))}else if(0===t)return"0";for(;t%10==0;)t/=10;return e+t}function h(n,t,i){if(n!==~~n||t>n||n>i)throw Error(k+n);}function nt(n,t,i,u){for(var o,h,f,e=n[0];e>=10;e/=10)--t;return--t<0?(t+=r,o=0):(o=Math.ceil((t+1)/r),t%=r),e=s(10,r-t),f=n[o]%e|0,null==u?3>t?(0==t?f=f/100|0:1==t&&(f=f/10|0),h=4>i&&99999==f||i>3&&49999==f||5e4==f||0==f):h=(4>i&&f+1==e||i>3&&f+1==e/2)&&(n[o+1]/e/100|0)==s(10,t-2)-1||(f==e/2||0==f)&&0==(n[o+1]/e/100|0):4>t?(0==t?f=f/1e3|0:1==t?f=f/100|0:2==t&&(f=f/10|0),h=(u||4>i)&&9999==f||!u&&i>3&&4999==f):h=((u||4>i)&&f+1==e||!u&&i>3&&f+1==e/2)&&(n[o+1]/e/1e3|0)==s(10,t-3)-1,h}function tt(n,t,i){for(var u,f,r=[0],e=0,o=n.length;o>e;){for(f=r.length;f--;)r[f]*=t;for(r[0]+=ht.indexOf(n.charAt(e++)),u=0;ui-1&&(void 0===r[u+1]&&(r[u+1]=0),r[u+1]+=r[u]/i|0,r[u]%=i)}return r.reverse()}function ri(n,t){var i,u,f=t.d.length,e,r;for(32>f?(i=Math.ceil(f/3),u=Math.pow(4,-i).toString()):(i=16,u="2.3283064365386962890625e-10"),n.precision+=i,t=d(n,1,t.times(u),new n(1)),e=i;e--;)r=t.times(t),t=r.times(r).minus(r).times(8).plus(1);return n.precision-=i,t}function i(n,t,i,f){var v,c,o,h,p,w,y,e,l,b=n.constructor;n:if(null!=t){if(e=n.d,!e)return n;for(v=1,h=e[0];h>=10;h/=10)v++;if(c=t-v,0>c)c+=r,o=t,y=e[l=0],p=y/s(10,v-o-1)%10|0;else if(l=Math.ceil((c+1)/r),h=e.length,l>=h){if(!f)break n;for(;h++<=l;)e.push(0);y=p=0;v=1;c%=r;o=c-r+1}else{for(y=h=e[l],v=1;h>=10;h/=10)v++;c%=r;o=c-r+v;p=0>o?0:y/s(10,v-o-1)%10|0}if(f=f||0>t||void 0!==e[l+1]||(0>o?y:y%s(10,v-o-1)),w=4>i?(p||f)&&(0==i||i==(n.s<0?3:2)):p>5||5==p&&(4==i||f||6==i&&(c>0?o>0?y/s(10,v-o):0:e[l-1])%10&1||i==(n.s<0?8:7)),1>t||!e[0])return e.length=0,w?(t-=n.e+1,e[0]=s(10,(r-t%r)%r),n.e=-t||0):e[0]=n.e=0,n;if(0==c?(e.length=l,h=1,l--):(e.length=l+1,h=s(10,r-c),e[l]=o>0?(y/s(10,v-o)%s(10,o)|0)*h:0),w)for(;;){if(0==l){for(c=1,o=e[0];o>=10;o/=10)c++;for(o=e[0]+=h,h=1;o>=10;o/=10)h++;c!=h&&(n.e++,e[0]==a&&(e[0]=1));break}if(e[l]+=h,e[l]!=a)break;e[l--]=0;h=1}for(c=e.length;0===e[--c];)e.pop()}return u&&(n.e>b.maxE?(n.d=null,n.e=NaN):n.e0?r=r.charAt(0)+"."+r.slice(1)+p(u):f>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(n.e<0?"e":"e+")+n.e):0>o?(r="0."+p(-o-1)+r,i&&(u=i-f)>0&&(r+=p(u))):o>=f?(r+=p(o+1-f),i&&(u=i-o-1)>0&&(r=r+"."+p(u))):((u=o+1)0&&(o+1===f&&(r+="."),r+=p(u))),r}function it(n,t){for(var i=1,u=n[0];u>=10;u/=10)i++;return i+t*r-1}function rt(n,t,r){if(t>eu)throw u=!0,r&&(n.precision=r),Error(ti);return i(new n(ut),t,1,!0)}function l(n,t,r){if(t>ct)throw Error(ti);return i(new n(ft),t,r,!0)}function lt(n){var t=n.length-1,i=t*r+1;if(t=n[t]){for(;t%10==0;t/=10)i--;for(t=n[0];t>=10;t/=10)i++}return i}function p(n){for(var t="";n--;)t+="0";return t}function at(n,t,i,f){var s,e=new n(1),h=Math.ceil(f/r+4);for(u=!1;;){if(i%2&&(e=e.times(t),kt(e.d,h)&&(s=!0)),i=o(i/2),0===i){i=e.d.length-1;s&&0===e.d[i]&&++e.d[i];break}t=t.times(t);kt(t.d,h)}return u=!0,e}function vt(n){return 1&n.d[n.d.length-1]}function yt(n,t,i){for(var r,u=new n(t[0]),f=0;++f17)return new h(n.d?n.d[0]?n.s<0?0:1/0:1:n.s?n.s<0?0:n:NaN);for(null==t?(u=!1,r=w):r=t,c=new h(.03125);n.e>-2;)n=n.times(c),p+=5;for(v=Math.log(s(2,p))/Math.LN10*2+5|0,r+=v,l=a=o=new h(1),h.precision=r;;){if(a=i(a.times(n),r,1),l=l.times(++k),c=o.plus(f(a,l,r,1)),e(c.d).slice(0,r)===e(o.d).slice(0,r)){for(b=p;b--;)o=i(o.times(o),r,1);if(null!=t)return h.precision=w,o;if(!(3>y&&nt(o.d,r-v,d,y)))return i(o,h.precision=w,d,u=!0);h.precision=r+=10;l=a=c=new h(1);k=0;y++}o=c}}function w(n,t){var c,l,k,y,b,ut,h,p,o,g,tt,ft=1,d=10,r=n,a=r.d,s=r.constructor,it=s.rounding,v=s.precision;if(r.s<0||!a||!a[0]||!r.e&&1==a[0]&&1==a.length)return new s(a&&!a[0]?-1/0:1!=r.s?NaN:a?0:r);if(null==t?(u=!1,o=v):o=t,s.precision=o+=d,c=e(a),l=c.charAt(0),!(Math.abs(y=r.e)<15e14))return p=rt(s,o+2,v).times(y+""),r=w(new s(l+"."+c.slice(1)),o-d).plus(p),s.precision=v,null==t?i(r,v,it,u=!0):r;for(;7>l&&1!=l||1==l&&c.charAt(1)>3;)r=r.times(n),c=e(r.d),l=c.charAt(0),ft++;for(y=r.e,l>1?(r=new s("0."+c),y++):r=new s(l+"."+c.slice(1)),g=r,h=b=r=f(r.minus(1),r.plus(1),o,1),tt=i(r.times(r),o,1),k=3;;){if(b=i(b.times(tt),o,1),p=h.plus(f(b,new s(k),o,1)),e(p.d).slice(0,o)===e(h.d).slice(0,o)){if(h=h.times(2),0!==y&&(h=h.plus(rt(s,o+2,v).times(y+""))),h=f(h,new s(ft),o,1),null!=t)return s.precision=v,h;if(!nt(h.d,o-d,it,ut))return i(h,s.precision=v,it,u=!0);s.precision=o+=d;p=b=r=f(g.minus(1),g.plus(1),o,1);tt=i(r.times(r),o,1);k=ut=1}h=p;k+=2}}function pt(n){return String(n.s*n.s/0)}function wt(n,t){var f,i,e;for((f=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(0>f&&(f=i),f+=+t.slice(i+1),t=t.substring(0,i)):0>f&&(f=t.length),i=0;48===t.charCodeAt(i);i++);for(e=t.length;48===t.charCodeAt(e-1);--e);if(t=t.slice(i,e)){if(e-=i,n.e=f=f-i-1,n.d=[],i=(f+1)%r,0>f&&(i+=r),e>i){for(i&&n.d.push(+t.slice(0,i)),e-=r;e>i;)n.d.push(+t.slice(i,i+=r));t=t.slice(i);i=r-t.length}else i-=e;for(;i--;)t+="0";n.d.push(+t);u&&(n.e>n.constructor.maxE?(n.d=null,n.e=NaN):n.e0?(o=+t.slice(i+1),t=t.substring(2,i)):t=t.slice(2),i=t.indexOf("."),h=i>=0,s=n.constructor,h&&(t=t.replace(".",""),l=t.length,i=l-i,y=at(s,new s(e),i,2*i)),r=tt(t,e,a),v=r.length-1,i=v;0===r[i];--i)r.pop();return 0>i?new s(0*n.s):(n.e=it(r,v),n.d=r,u=!1,h&&(n=f(n,y,4*l)),o&&(n=n.times(Math.abs(o)<54?Math.pow(2,o):c.pow(2,o))),u=!0,n)}function fi(n,t){var i,u=t.d.length;if(3>u)return d(n,2,t,t);i=1.4*Math.sqrt(u);i=i>16?16:0|i;t=t.times(Math.pow(5,-i));t=d(n,2,t,t);for(var r,f=new n(5),e=new n(16),o=new n(20);i--;)r=t.times(t),t=t.times(f.plus(r.times(e.times(r).minus(o))));return t}function d(n,t,i,e,o){var h,s,c,l,y=1,a=n.precision,v=Math.ceil(a/r);for(u=!1,l=i.times(i),c=new n(e);;){if(s=f(c.times(l),new n(t++*t++),a,1),c=o?e.plus(s):e.minus(s),e=f(s.times(l),new n(t++*t++),a,1),s=c.plus(e),void 0!==s.d[v]){for(h=v;s.d[h]===c.d[h]&&h--;);if(-1==h)break}h=c;c=e;e=s;s=h;y++}return u=!0,s.d.length=v+1,s}function bt(n,t){var r,i=t.s<0,u=l(n,n.precision,1),f=u.times(.5);if(t=t.abs(),t.lte(f))return y=i?4:1,t;if(r=t.divToInt(u),r.isZero())y=i?3:2;else{if(t=t.minus(r.times(u)),t.lte(f))return y=vt(r)?i?2:3:i?4:1,t;y=vt(r)?i?1:4:i?3:2}return t.minus(u).abs()}function st(n,t,i,r){var l,c,o,k,s,a,u,e,y,p=n.constructor,w=void 0!==i;if(w?(h(i,1,b),void 0===r?r=p.rounding:h(r,0,8)):(i=p.precision,r=p.rounding),n.isFinite()){for(u=v(n),o=u.indexOf("."),w?(l=2,16==t?i=4*i-3:8==t&&(i=3*i-2)):l=t,o>=0&&(u=u.replace(".",""),y=new p(1),y.e=u.length-o,y.d=tt(v(y),10,l),y.e=y.d.length),e=tt(u,10,l),c=s=e.length;0==e[--s];)e.pop();if(e[0]){if(0>o?c--:(n=new p(n),n.d=e,n.e=c,n=f(n,y,i,r,0,l),e=n.d,c=n.e,a=gt),o=e[i],k=l/2,a=a||void 0!==e[i+1],a=4>r?(void 0!==o||a)&&(0===r||r===(n.s<0?3:2)):o>k||o===k&&(4===r||a||6===r&&1&e[i-1]||r===(n.s<0?8:7)),e.length=i,a)for(;++e[--i]>l-1;)e[i]=0,i||(++c,e.unshift(1));for(s=e.length;!e[s-1];--s);for(o=0,u="";s>o;o++)u+=ht.charAt(e[o]);if(w){if(s>1)if(16==t||8==t){for(o=16==t?4:3,--s;s%o;s++)u+="0";for(e=tt(u,l,t),s=e.length;!e[s-1];--s);for(o=1,u="1.";s>o;o++)u+=ht.charAt(e[o])}else u=u.charAt(0)+"."+u.slice(1);u=u+(0>c?"p":"p+")+c}else if(0>c){for(;++c;)u="0"+u;u="0."+u}else if(++c>s)for(c-=s;c--;)u+="0";else s>c&&(u=u.slice(0,c)+"."+u.slice(c))}else u=w?"0p+0":"0";u=(16==t?"0x":2==t?"0b":8==t?"0o":"")+u}else u=pt(n);return n.s<0?"-"+u:u}function kt(n,t){if(n.length>t)return(n.length=t,!0)}function ei(n){return new this(n).abs()}function oi(n){return new this(n).acos()}function si(n){return new this(n).acosh()}function hi(n,t){return new this(n).plus(t)}function ci(n){return new this(n).asin()}function li(n){return new this(n).asinh()}function ai(n){return new this(n).atan()}function vi(n){return new this(n).atanh()}function yi(n,t){n=new this(n);t=new this(t);var i,u=this.precision,e=this.rounding,r=u+4;return n.s&&t.s?n.d||t.d?!t.d||n.isZero()?(i=t.s<0?l(this,u,e):new this(0),i.s=n.s):!n.d||t.isZero()?(i=l(this,r,1).times(.5),i.s=n.s):t.s<0?(this.precision=r,this.rounding=1,i=this.atan(f(n,t,r,1)),t=l(this,r,1),this.precision=u,this.rounding=e,i=n.s<0?i.minus(t):i.plus(t)):i=this.atan(f(n,t,r,1)):(i=l(this,r,1).times(t.s>0?.25:.75),i.s=n.s):i=new this(NaN),i}function pi(n){return new this(n).cbrt()}function wi(n){return i(n=new this(n),n.e+1,2)}function bi(n){if(!n||"object"!=typeof n)throw Error(et+"Object expected");for(var i,t,u=["precision",1,b,"rounding",0,8,"toExpNeg",-g,0,"toExpPos",0,g,"maxE",0,g,"minE",-g,0,"modulo",0,9],r=0;r=u[r+1]&&t<=u[r+2]))throw Error(k+i+": "+t);this[i]=t}if(void 0!==(t=n[i="crypto"])){if(t!==!0&&t!==!1&&0!==t&&1!==t)throw Error(k+i+": "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(ii);this[i]=!0}else this[i]=!1}return this}function ki(n){return new this(n).cos()}function di(n){return new this(n).cosh()}function dt(n){function i(n){var r,u,f,t=this;if(!(t instanceof i))return new i(n);if(t.constructor=i,n instanceof i)return t.s=n.s,t.e=n.e,void(t.d=(n=n.d)?n.slice():n);if(f=typeof n,"number"===f){if(0===n)return t.s=0>1/n?-1:1,t.e=0,void(t.d=[0]);if(0>n?(n=-n,t.s=-1):t.s=1,n===~~n&&1e7>n){for(r=0,u=n;u>=10;u/=10)r++;return t.e=r,void(t.d=[n])}return 0*n!=0?(n||(t.s=NaN),t.e=NaN,void(t.d=null)):wt(t,n.toString())}if("string"!==f)throw Error(k+n);return 45===n.charCodeAt(0)?(n=n.slice(1),t.s=-1):t.s=1,uu.test(n)?wt(t,n):ui(t,n)}var r,u,f;if(i.prototype=t,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=bi,i.clone=dt,i.abs=ei,i.acos=oi,i.acosh=si,i.add=hi,i.asin=ci,i.asinh=li,i.atan=ai,i.atanh=vi,i.atan2=yi,i.cbrt=pi,i.ceil=wi,i.cos=ki,i.cosh=di,i.div=gi,i.exp=nr,i.floor=tr,i.hypot=ir,i.ln=rr,i.log=ur,i.log10=er,i.log2=fr,i.max=or,i.min=sr,i.mod=hr,i.mul=cr,i.pow=lr,i.random=ar,i.round=vr,i.sign=yr,i.sin=pr,i.sinh=wr,i.sqrt=br,i.sub=kr,i.tan=dr,i.tanh=gr,i.trunc=nu,void 0===n&&(n={}),n)for(f=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],r=0;rt;)u=e[t],u>=429e7?e[t]=crypto.getRandomValues(new Uint32Array(1))[0]:f[t++]=u%1e7;else{if(!crypto.randomBytes)throw Error(ii);for(e=crypto.randomBytes(i*=4);i>t;)u=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+((127&e[t+3])<<24),u>=214e7?crypto.randomBytes(4).copy(e,t):(f.push(u%1e7),t+=4);t=i/4}else for(;i>t;)f[t++]=1e7*Math.random()|0;for(i=f[--t],n%=r,i&&n&&(u=s(10,r-n),f[t]=(i/u|0)*u);0===f[t];t--)f.pop();if(0>t)o=0,f=[0];else{for(o=-1;0===f[0];o-=r)f.shift();for(i=1,u=f[0];u>=10;u/=10)i++;r>i&&(o-=r-i)}return c.e=o,c.d=f,c}function vr(n){return i(n=new this(n),n.e+1,this.rounding)}function yr(n){return n=new this(n),n.d?n.d[0]?n.s:0*n.s:n.s||NaN}function pr(n){return new this(n).sin()}function wr(n){return new this(n).sinh()}function br(n){return new this(n).sqrt()}function kr(n,t){return new this(n).sub(t)}function dr(n){return new this(n).tan()}function gr(n){return new this(n).tanh()}function nu(n){return i(n=new this(n),n.e+1,1)}var gt,ni,y,g=9e15,b=1e9,ht="0123456789abcdef",ut="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",ft="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",c={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-g,maxE:g,crypto:!1},u=!0,et="[DecimalError] ",k=et+"Invalid argument: ",ti=et+"Precision limit exceeded",ii=et+"crypto unavailable",o=Math.floor,s=Math.pow,tu=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,iu=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,ru=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,uu=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,a=1e7,r=7,fu=9007199254740991,eu=ut.length-1,ct=ft.length-1,t={},f;t.absoluteValue=t.abs=function(){var n=new this.constructor(this);return n.s<0&&(n.s=1),i(n)};t.ceil=function(){return i(new this.constructor(this),this.e+1,2)};t.comparedTo=t.cmp=function(n){var r,h,f,e,o=this,i=o.d,u=(n=new o.constructor(n)).d,t=o.s,s=n.s;if(!i||!u)return t&&s?t!==s?t:i===u?0:!i^0>t?1:-1:NaN;if(!i[0]||!u[0])return i[0]?t:u[0]?-s:0;if(t!==s)return t;if(o.e!==n.e)return o.e>n.e^0>t?1:-1;for(f=i.length,e=u.length,r=0,h=e>f?f:e;h>r;++r)if(i[r]!==u[r])return i[r]>u[r]^0>t?1:-1;return f===e?0:f>e^0>t?1:-1};t.cosine=t.cos=function(){var u,f,t=this,n=t.constructor;return t.d?t.d[0]?(u=n.precision,f=n.rounding,n.precision=u+Math.max(t.e,t.sd())+r,n.rounding=1,t=ri(n,bt(n,t)),n.precision=u,n.rounding=f,i(2==y||3==y?t.neg():t,u,f,!0)):new n(1):new n(NaN)};t.cubeRoot=t.cbrt=function(){var r,w,n,s,v,c,l,h,y,p,t=this,a=t.constructor;if(!t.isFinite()||t.isZero())return new a(t);for(u=!1,c=t.s*Math.pow(t.s*t,1/3),c&&Math.abs(c)!=1/0?s=new a(c.toString()):(n=e(t.d),r=t.e,(c=(r-n.length+1)%3)&&(n+=1==c||-2==c?"0":"00"),c=Math.pow(n,1/3),r=o((r+1)/3)-(r%3==(0>r?-1:2)),c==1/0?n="5e"+r:(n=c.toExponential(),n=n.slice(0,n.indexOf("e")+1)+r),s=new a(n),s.s=t.s),l=(r=a.precision)+3;;)if(h=s,y=h.times(h).times(h),p=y.plus(t),s=f(p.plus(t).times(h),p.plus(y),l+2,1),e(h.d).slice(0,l)===(n=e(s.d)).slice(0,l)){if(n=n.slice(l-3,l+1),"9999"!=n&&(v||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(i(s,r+1,1),w=!s.times(s).times(s).eq(t));break}if(!v&&(i(h,r+1,0),h.times(h).times(h).eq(t))){s=h;break}l+=4;v=1}return u=!0,i(s,r,a.rounding,w)};t.decimalPlaces=t.dp=function(){var n,i=this.d,t=NaN;if(i){if(n=i.length-1,t=(n-o(this.e/r))*r,n=i[n])for(;n%10==0;n/=10)t--;0>t&&(t=0)}return t};t.dividedBy=t.div=function(n){return f(this,new this.constructor(n))};t.dividedToIntegerBy=t.divToInt=function(n){var r=this,t=r.constructor;return i(f(r,new t(n),0,1,1),t.precision,t.rounding)};t.equals=t.eq=function(n){return 0===this.cmp(n)};t.floor=function(){return i(new this.constructor(this),this.e+1,3)};t.greaterThan=t.gt=function(n){return this.cmp(n)>0};t.greaterThanOrEqualTo=t.gte=function(n){var t=this.cmp(n);return 1==t||0===t};t.hyperbolicCosine=t.cosh=function(){var r,u,f,h,e,n=this,t=n.constructor,c=new t(1),o,l,s;if(!n.isFinite())return new t(n.s?1/0:NaN);if(n.isZero())return c;for(f=t.precision,h=t.rounding,t.precision=f+Math.max(n.e,n.sd())+4,t.rounding=1,e=n.d.length,32>e?(r=Math.ceil(e/3),u=Math.pow(4,-r).toString()):(r=16,u="2.3283064365386962890625e-10"),n=d(t,1,n.times(u),new t(1),!0),l=r,s=new t(8);l--;)o=n.times(n),n=c.minus(o.times(s.minus(o.times(s))));return i(n,t.precision=f,t.rounding=h,!0)};t.hyperbolicSine=t.sinh=function(){var r,u,f,e,n=this,t=n.constructor;if(!n.isFinite()||n.isZero())return new t(n);if(u=t.precision,f=t.rounding,t.precision=u+Math.max(n.e,n.sd())+4,t.rounding=1,e=n.d.length,3>e)n=d(t,2,n,n,!0);else{r=1.4*Math.sqrt(e);r=r>16?16:0|r;n=n.times(Math.pow(5,-r));n=d(t,2,n,n,!0);for(var o,s=new t(5),h=new t(16),c=new t(20);r--;)o=n.times(n),n=n.times(s.plus(o.times(h.times(o).plus(c))))}return t.precision=u,t.rounding=f,i(n,u,f,!0)};t.hyperbolicTangent=t.tanh=function(){var i,r,t=this,n=t.constructor;return t.isFinite()?t.isZero()?new n(t):(i=n.precision,r=n.rounding,n.precision=i+7,n.rounding=1,f(t.sinh(),t.cosh(),n.precision=i,n.rounding=r)):new n(t.s)};t.inverseCosine=t.acos=function(){var u,t=this,n=t.constructor,f=t.abs().cmp(1),i=n.precision,r=n.rounding;return-1!==f?0===f?t.isNeg()?l(n,i,r):new n(0):new n(NaN):t.isZero()?l(n,i+4,r).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),u=l(n,i+4,r).times(.5),n.precision=i,n.rounding=r,u.minus(t))};t.inverseHyperbolicCosine=t.acosh=function(){var i,r,n=this,t=n.constructor;return n.lte(1)?new t(n.eq(1)?0:NaN):n.isFinite()?(i=t.precision,r=t.rounding,t.precision=i+Math.max(Math.abs(n.e),n.sd())+4,t.rounding=1,u=!1,n=n.times(n).minus(1).sqrt().plus(n),u=!0,t.precision=i,t.rounding=r,n.ln()):new t(n)};t.inverseHyperbolicSine=t.asinh=function(){var i,r,n=this,t=n.constructor;return!n.isFinite()||n.isZero()?new t(n):(i=t.precision,r=t.rounding,t.precision=i+2*Math.max(Math.abs(n.e),n.sd())+6,t.rounding=1,u=!1,n=n.times(n).plus(1).sqrt().plus(n),u=!0,t.precision=i,t.rounding=r,n.ln())};t.inverseHyperbolicTangent=t.atanh=function(){var r,u,o,e,n=this,t=n.constructor;return n.isFinite()?n.e>=0?new t(n.abs().eq(1)?n.s/0:n.isZero()?n:NaN):(r=t.precision,u=t.rounding,e=n.sd(),Math.max(e,r)<2*-n.e-1?i(new t(n),r,u,!0):(t.precision=o=e-n.e,n=f(n.plus(1),new t(1).minus(n),o+r,1),t.precision=r+4,t.rounding=1,n=n.ln(),t.precision=r,t.rounding=u,n.times(.5))):new t(NaN)};t.inverseSine=t.asin=function(){var r,u,i,f,n=this,t=n.constructor;return n.isZero()?new t(n):(u=n.abs().cmp(1),i=t.precision,f=t.rounding,-1!==u?0===u?(r=l(t,i+4,f).times(.5),r.s=n.s,r):new t(NaN):(t.precision=i+6,t.rounding=1,n=n.div(new t(1).minus(n.times(n)).sqrt().plus(1)).atan(),t.precision=i,t.rounding=f,n.times(2)))};t.inverseTangent=t.atan=function(){var e,c,h,a,o,v,t,y,p,n=this,f=n.constructor,s=f.precision,w=f.rounding;if(n.isFinite()){if(n.isZero())return new f(n);if(n.abs().eq(1)&&ct>=s+4)return t=l(f,s+4,w).times(.25),t.s=n.s,t}else{if(!n.s)return new f(NaN);if(ct>=s+4)return t=l(f,s+4,w).times(.5),t.s=n.s,t}for(f.precision=y=s+10,f.rounding=1,h=Math.min(28,y/r+2|0),e=h;e;--e)n=n.div(n.times(n).plus(1).sqrt().plus(1));for(u=!1,c=Math.ceil(y/r),a=1,p=n.times(n),t=new f(n),o=n;-1!==e;)if(o=o.times(p),v=t.minus(o.div(a+=2)),o=o.times(p),t=v.plus(o.div(a+=2)),void 0!==t.d[c])for(e=c;t.d[e]===v.d[e]&&e--;);return h&&(t=t.times(2<this.d.length-2};t.isNaN=function(){return!this.s};t.isNegative=t.isNeg=function(){return this.s<0};t.isPositive=t.isPos=function(){return this.s>0};t.isZero=function(){return!!this.d&&0===this.d[0]};t.lessThan=t.lt=function(n){return this.cmp(n)<0};t.lessThanOrEqualTo=t.lte=function(n){return this.cmp(n)<1};t.logarithm=t.log=function(n){var l,t,a,o,p,v,r,s,c=this,h=c.constructor,y=h.precision,b=h.rounding;if(null==n)n=new h(10),l=!0;else{if(n=new h(n),t=n.d,n.s<0||!t||!t[0]||n.eq(1))return new h(NaN);l=n.eq(10)}if(t=c.d,c.s<0||!t||!t[0]||c.eq(1))return new h(t&&!t[0]?-1/0:1!=c.s?NaN:t?0:1/0);if(l)if(t.length>1)p=!0;else{for(o=t[0];o%10==0;)o/=10;p=1!==o}if(u=!1,r=y+5,v=w(c,r),a=l?rt(h,r+10):w(n,r),s=f(v,a,r,1),nt(s.d,o=y,b))do if(r+=10,v=w(c,r),a=l?rt(h,r+10):w(n,r),s=f(v,a,r,1),!p){+e(s.d).slice(o+1,o+15)+1==1e14&&(s=i(s,y+1,0));break}while(nt(s.d,o+=10,b));return u=!0,i(s,y,b)};t.minus=t.sub=function(n){var l,p,f,w,c,s,k,b,t,d,y,e,h=this,v=h.constructor;if(n=new v(n),!h.d||!n.d)return h.s&&n.s?h.d?n.s=-n.s:n=new v(n.d||h.s!==n.s?h:NaN):n=new v(NaN),n;if(h.s!=n.s)return n.s=-n.s,h.plus(n);if(t=h.d,e=n.d,k=v.precision,b=v.rounding,!t[0]||!e[0]){if(e[0])n.s=-n.s;else{if(!t[0])return new v(3===b?-0:0);n=new v(h)}return u?i(n,k,b):n}if(p=o(n.e/r),d=o(h.e/r),t=t.slice(),c=d-p){for(y=0>c,y?(l=t,c=-c,s=e.length):(l=e,p=d,s=t.length),f=Math.max(Math.ceil(k/r),s)+2,c>f&&(c=f,l.length=1),l.reverse(),f=c;f--;)l.push(0);l.reverse()}else{for(f=t.length,s=e.length,y=s>f,y&&(s=f),f=0;s>f;f++)if(t[f]!=e[f]){y=t[f]0;--f)t[s++]=0;for(f=e.length;f>c;){if(t[--f]f?(c=t,f=-f,e=h.length):(c=h,p=l,e=t.length),l=Math.ceil(w/r),e=l>e?l+1:e+1,f>e&&(f=e,c.length=1),c.reverse();f--;)c.push(0);c.reverse()}for(e=t.length,f=h.length,0>e-f&&(f=e,c=h,h=t,t=c),y=0;f;)y=(t[--f]=t[f]+h[f]+y)/a|0,t[f]%=a;for(y&&(t.unshift(y),++p),e=t.length;0==t[--e];)t.pop();return n.d=t,n.e=it(t,p),u?i(n,w,b):n};t.precision=t.sd=function(n){var t,i=this;if(void 0!==n&&n!==!!n&&1!==n&&0!==n)throw Error(k+n);return i.d?(t=lt(i.d),n&&i.e+1>t&&(t=i.e+1)):t=NaN,t};t.round=function(){var n=this,t=n.constructor;return i(new t(n),n.e+1,t.rounding)};t.sine=t.sin=function(){var u,f,n=this,t=n.constructor;return n.isFinite()?n.isZero()?new t(n):(u=t.precision,f=t.rounding,t.precision=u+Math.max(n.e,n.sd())+r,t.rounding=1,n=fi(t,bt(t,n)),t.precision=u,t.rounding=f,i(y>2?n.neg():n,u,f,!0)):new t(NaN)};t.squareRoot=t.sqrt=function(){var p,n,l,r,y,c,h=this,a=h.d,t=h.e,s=h.s,v=h.constructor;if(1!==s||!a||!a[0])return new v(!s||0>s&&(!a||a[0])?NaN:a?h:1/0);for(u=!1,s=Math.sqrt(+h),0==s||s==1/0?(n=e(a),(n.length+t)%2==0&&(n+="0"),s=Math.sqrt(n),t=o((t+1)/2)-(0>t||t%2),s==1/0?n="1e"+t:(n=s.toExponential(),n=n.slice(0,n.indexOf("e")+1)+t),r=new v(n)):r=new v(s.toString()),l=(t=v.precision)+3;;)if(c=r,r=c.plus(f(h,c,l+2,1)).times(.5),e(c.d).slice(0,l)===(n=e(r.d)).slice(0,l)){if(n=n.slice(l-3,l+1),"9999"!=n&&(y||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(i(r,t+1,1),p=!r.times(r).eq(h));break}if(!y&&(i(c,t+1,0),c.times(c).eq(h))){r=c;break}l+=4;y=1}return u=!0,i(r,t,v.rounding,p)};t.tangent=t.tan=function(){var r,u,n=this,t=n.constructor;return n.isFinite()?n.isZero()?new t(n):(r=t.precision,u=t.rounding,t.precision=r+10,t.rounding=1,n=n.sin(),n.s=1,n=f(n,new t(1).minus(n.times(n)).sqrt(),r+10,0),t.precision=r,t.rounding=u,i(2==y||4==y?n.neg():n,r,u,!0)):new t(NaN)};t.times=t.mul=function(n){var v,b,f,h,t,y,k,c,l,p=this,w=p.constructor,e=p.d,s=(n=new w(n)).d;if(n.s*=p.s,!(e&&e[0]&&s&&s[0]))return new w(!n.s||e&&!e[0]&&!s||s&&!s[0]&&!e?NaN:e&&s?0*n.s:n.s/0);for(b=o(p.e/r)+o(n.e/r),c=e.length,l=s.length,l>c&&(t=e,e=s,s=t,y=c,c=l,l=y),t=[],y=c+l,f=y;f--;)t.push(0);for(f=l;--f>=0;){for(v=0,h=c+f;h>f;)k=t[h]+s[f]*e[h-f-1]+v,t[h--]=k%a|0,v=k/a|0;t[h]=(t[h]+v)%a|0}for(;!t[--y];)t.pop();for(v?++b:t.shift(),f=t.length;!t[--f];)t.pop();return n.d=t,n.e=it(t,b),u?i(n,w.precision,w.rounding):n};t.toBinary=function(n,t){return st(this,2,n,t)};t.toDecimalPlaces=t.toDP=function(n,t){var r=this,u=r.constructor;return r=new u(r),void 0===n?r:(h(n,0,b),void 0===t?t=u.rounding:h(t,0,8),i(r,n+r.e+1,t))};t.toExponential=function(n,t){var u,r=this,f=r.constructor;return void 0===n?u=v(r,!0):(h(n,0,b),void 0===t?t=f.rounding:h(t,0,8),r=i(new f(r),n+1,t),u=v(r,!0,n+1)),r.isNeg()&&!r.isZero()?"-"+u:u};t.toFixed=function(n,t){var u,f,r=this,e=r.constructor;return void 0===n?u=v(r):(h(n,0,b),void 0===t?t=e.rounding:h(t,0,8),f=i(new e(r),n+r.e+1,t),u=v(f,!1,n+f.e+1)),r.isNeg()&&!r.isZero()?"-"+u:u};t.toFraction=function(n){var h,a,c,t,y,w,i,v,o,g,b,nt,p=this,d=p.d,l=p.constructor;if(!d)return new l(p);if(o=a=new l(1),c=v=new l(0),h=new l(c),y=h.e=lt(d)-p.e-1,w=y%r,h.d[0]=s(10,0>w?r+w:w),null==n)n=y>0?h:o;else{if(i=new l(n),!i.isInt()||i.lt(o))throw Error(k+i);n=i.gt(h)?y>0?h:o:i}for(u=!1,i=new l(e(d)),g=l.precision,l.precision=y=d.length*r*2;b=f(i,h,0,1,1),t=a.plus(b.times(c)),1!=t.cmp(n);)a=c,c=t,t=o,o=v.plus(b.times(t)),v=t,t=h,h=i.minus(b.times(t)),i=t;return t=f(n.minus(a),c,0,1,1),v=v.plus(t.times(o)),a=a.plus(t.times(c)),v.s=o.s=p.s,nt=f(o,c,y,1).minus(p).abs().cmp(f(v,a,y,1).minus(p).abs())<1?[o,c]:[v,a],l.precision=g,u=!0,nt};t.toHexadecimal=t.toHex=function(n,t){return st(this,16,n,t)};t.toNearest=function(n,t){var r=this,e=r.constructor;if(r=new e(r),null==n){if(!r.d)return r;n=new e(1);t=e.rounding}else{if(n=new e(n),void 0!==t&&h(t,0,8),!r.d)return n.s?r:n;if(!n.d)return n.s&&(n.s=r.s),n}return n.d[0]?(u=!1,4>t&&(t=[4,5,7,8][t]),r=f(r,n,0,t,1).times(n),u=!0,i(r)):(n.s=r.s,r=n),r};t.toNumber=function(){return+this};t.toOctal=function(n,t){return st(this,8,n,t)};t.toPower=t.pow=function(n){var l,a,h,c,v,y,b,t=this,f=t.constructor,p=+(n=new f(n));if(!(t.d&&n.d&&t.d[0]&&n.d[0]))return new f(s(+t,p));if(t=new f(t),t.eq(1))return t;if(h=f.precision,v=f.rounding,n.eq(1))return i(t,h,v);if(l=o(n.e/r),a=n.d.length-1,b=l>=a,y=t.s,b){if((a=0>p?-p:p)<=fu)return c=at(f,t,a,h),n.s<0?new f(1).div(c):i(c,h,v)}else if(0>y)return new f(NaN);return y=0>y&&1&n.d[Math.max(l,a)]?-1:1,a=s(+t,p),l=0!=a&&isFinite(a)?new f(a+"").e:o(p*(Math.log("0."+e(t.d))/Math.LN10+t.e+1)),l>f.maxE+1||l0?y/0:0):(u=!1,f.rounding=t.s=1,a=Math.min(12,(l+"").length),c=ot(n.times(w(t,h+a)),h),c=i(c,h+5,1),nt(c.d,h,v)&&(l=h+10,c=i(ot(n.times(w(t,l+a)),l),l+5,1),+e(c.d).slice(h+1,h+15)+1==1e14&&(c=i(c,h+1,0))),c.s=y,u=!0,f.rounding=v,i(c,h,v))};t.toPrecision=function(n,t){var f,r=this,u=r.constructor;return void 0===n?f=v(r,r.e<=u.toExpNeg||r.e>=u.toExpPos):(h(n,1,b),void 0===t?t=u.rounding:h(t,0,8),r=i(new u(r),n,t),f=v(r,n<=r.e||r.e<=u.toExpNeg,n)),r.isNeg()&&!r.isZero()?"-"+f:f};t.toSignificantDigits=t.toSD=function(n,t){var u=this,r=u.constructor;return void 0===n?(n=r.precision,t=r.rounding):(h(n,1,b),void 0===t?t=r.rounding:h(t,0,8)),i(new r(u),n,t)};t.toString=function(){var n=this,t=n.constructor,i=v(n,n.e<=t.toExpNeg||n.e>=t.toExpPos);return n.isNeg()&&!n.isZero()?"-"+i:i};t.truncated=t.trunc=function(){return i(new this.constructor(this),this.e+1,1)};t.valueOf=t.toJSON=function(){var n=this,t=n.constructor,i=v(n,n.e<=t.toExpNeg||n.e>=t.toExpPos);return n.isNeg()?"-"+i:i};f=function(){function n(n,t,i){var u,r=0,f=n.length;for(n=n.slice();f--;)u=n[f]*t+r,n[f]=u%i|0,r=u/i|0;return r&&n.unshift(r),n}function t(n,t,i,r){var u,f;if(i!=r)f=i>r?1:-1;else for(u=f=0;i>u;u++)if(n[u]!=t[u]){f=n[u]>t[u]?1:-1;break}return f}function u(n,t,i,r){for(var u=0;i--;)n[i]-=u,u=n[i]1;)n.shift()}return function(f,e,s,h,c,l){var g,et,w,y,it,ot,nt,ft,rt,ut,p,b,ht,tt,vt,ct,st,yt,d,lt,at=f.constructor,pt=f.s==e.s?1:-1,k=f.d,v=e.d;if(!(k&&k[0]&&v&&v[0]))return new at(f.s&&e.s&&(k?!v||k[0]!=v[0]:v)?k&&0==k[0]||!v?0*pt:pt/0:NaN);for(l?(it=1,et=f.e-e.e):(l=a,it=r,et=o(f.e/it)-o(e.e/it)),d=v.length,st=k.length,rt=new at(pt),ut=rt.d=[],w=0;v[w]==(k[w]||0);w++);if(v[w]>(k[w]||0)&&et--,null==s?(tt=s=at.precision,h=at.rounding):tt=c?s+(f.e-e.e)+1:s,0>tt)ut.push(1),ot=!0;else{if(tt=tt/it+2|0,w=0,1==d){for(y=0,v=v[0],tt++;(st>w||y)&&tt--;w++)vt=y*l+(k[w]||0),ut[w]=vt/v|0,y=vt%v|0;ot=y||st>w}else{for(y=l/(v[0]+1)|0,y>1&&(v=n(v,y,l),k=n(k,y,l),d=v.length,st=k.length),ct=d,p=k.slice(0,d),b=p.length;d>b;)p[b++]=0;lt=v.slice();lt.unshift(0);yt=v[0];v[1]>=l/2&&++yt;do y=0,g=t(v,p,d,b),0>g?(ht=p[0],d!=b&&(ht=ht*l+(p[1]||0)),y=ht/yt|0,y>1?(y>=l&&(y=l-1),nt=n(v,y,l),ft=nt.length,b=p.length,g=t(nt,p,ft,b),1==g&&(y--,u(nt,ft>d?lt:v,ft,l))):(0==y&&(g=y=1),nt=v.slice()),ft=nt.length,b>ft&&nt.unshift(0),u(p,nt,b,l),-1==g&&(b=p.length,g=t(v,p,d,b),1>g&&(y++,u(p,b>d?lt:v,b,l))),b=p.length):0===g&&(y++,p=[0]),ut[w++]=y,g&&p[0]?p[b++]=k[ct]||0:(p=[k[ct]],b=1);while((ct++=10;y/=10)w++;rt.e=w+et*it-1;i(rt,c?s+rt.e+1:s,h,ot)}return rt}}();c=dt(c);ut=new c(ut);ft=new c(ft);Bridge.$Decimal=c;"function"==typeof define&&define.amd?define("decimal.js",function(){return c}):"undefined"!=typeof module&&module.exports?module.exports=c["default"]=c.Decimal=c:(n||(n="undefined"!=typeof self&&self&&self.self==self?self:Function("return this")()),ni=n.Decimal,c.noConflict=function(){return n.Decimal=ni,c})}(Bridge.global);System.Decimal=function(n,t,i){var r;if(this.constructor!==System.Decimal)return new System.Decimal(n,t,i);if(n==null&&(n=0),typeof n=="string"){if(t=t||System.Globalization.CultureInfo.getCurrentCulture(),r=t&&t.getFormat(System.Globalization.NumberFormatInfo),r&&r.numberDecimalSeparator!=="."&&(n=n.replace(r.numberDecimalSeparator,".")),!/^\s*[+-]?(\d+|\d+.|\d*\.\d+)((e|E)[+-]?\d+)?\s*$/.test(n))throw new System.FormatException;n=n.replace(/\s/g,"")}if(i&&i.precision&&typeof n=="number"){var f=Bridge.Int.trunc(n),e=(f+"").length,u=i.precision-e;u<0&&(u=0);n=n.toFixed(u)}this.value=System.Decimal.getValue(n)};System.Decimal.$number=!0;System.Decimal.$$name="System.Decimal";System.Decimal.prototype.$$name="System.Decimal";System.Decimal.$kind="struct";System.Decimal.prototype.$kind="struct";System.Decimal.$$inherits=[];Bridge.Class.addExtend(System.Decimal,[System.IComparable,System.IFormattable,System.IComparable$1(System.Decimal),System.IEquatable$1(System.Decimal)]);System.Decimal.$is=function(n){return n instanceof System.Decimal};System.Decimal.getDefaultValue=function(){return new System.Decimal(0)};System.Decimal.getValue=function(n){return Bridge.hasValue(n)?n instanceof System.Decimal?n.value:n instanceof System.Int64||n instanceof System.UInt64?new Bridge.$Decimal(n.toString()):new Bridge.$Decimal(n):this.getDefaultValue()};System.Decimal.create=function(n){return Bridge.hasValue(n)?n instanceof System.Decimal?n:new System.Decimal(n):null};System.Decimal.lift=function(n){return n==null?null:System.Decimal.create(n)};System.Decimal.prototype.toString=function(n,t){return Bridge.Int.format(this,n||"G",t)};System.Decimal.prototype.toFloat=function(){return this.value.toNumber()};System.Decimal.prototype.toJSON=function(){return this.value.toNumber()};System.Decimal.prototype.format=function(n,t){return Bridge.Int.format(this,n,t)};System.Decimal.prototype.decimalPlaces=function(){return this.value.decimalPlaces()};System.Decimal.prototype.dividedToIntegerBy=function(n){return new System.Decimal(this.value.dividedToIntegerBy(System.Decimal.getValue(n)))};System.Decimal.prototype.exponential=function(){return new System.Decimal(this.value.exponential())};System.Decimal.prototype.abs=function(){return new System.Decimal(this.value.abs())};System.Decimal.prototype.floor=function(){return new System.Decimal(this.value.floor())};System.Decimal.prototype.ceil=function(){return new System.Decimal(this.value.ceil())};System.Decimal.prototype.trunc=function(){return new System.Decimal(this.value.trunc())};System.Decimal.round=function(n,t){var i,r;return n=System.Decimal.create(n),i=Bridge.$Decimal.rounding,Bridge.$Decimal.rounding=t,r=new System.Decimal(n.value.round()),Bridge.$Decimal.rounding=i,r};System.Decimal.toDecimalPlaces=function(n,t,i){n=System.Decimal.create(n);return new System.Decimal(n.value.toDecimalPlaces(t,i))};System.Decimal.prototype.compareTo=function(n){return this.value.comparedTo(System.Decimal.getValue(n))};System.Decimal.prototype.add=function(n){return new System.Decimal(this.value.plus(System.Decimal.getValue(n)))};System.Decimal.prototype.sub=function(n){return new System.Decimal(this.value.minus(System.Decimal.getValue(n)))};System.Decimal.prototype.isZero=function(){return this.value.isZero};System.Decimal.prototype.mul=function(n){return new System.Decimal(this.value.times(System.Decimal.getValue(n)))};System.Decimal.prototype.div=function(n){return new System.Decimal(this.value.dividedBy(System.Decimal.getValue(n)))};System.Decimal.prototype.mod=function(n){return new System.Decimal(this.value.modulo(System.Decimal.getValue(n)))};System.Decimal.prototype.neg=function(){return new System.Decimal(this.value.negated())};System.Decimal.prototype.inc=function(){return new System.Decimal(this.value.plus(System.Decimal.getValue(1)))};System.Decimal.prototype.dec=function(){return new System.Decimal(this.value.minus(System.Decimal.getValue(1)))};System.Decimal.prototype.sign=function(){return this.value.isZero()?0:this.value.isNegative()?-1:1};System.Decimal.prototype.clone=function(){return new System.Decimal(this)};System.Decimal.prototype.ne=function(n){return!!this.compareTo(n)};System.Decimal.prototype.lt=function(n){return this.compareTo(n)<0};System.Decimal.prototype.lte=function(n){return this.compareTo(n)<=0};System.Decimal.prototype.gt=function(n){return this.compareTo(n)>0};System.Decimal.prototype.gte=function(n){return this.compareTo(n)>=0};System.Decimal.prototype.equals=function(n){return n instanceof System.Decimal||typeof n=="number"?!this.compareTo(n):!1};System.Decimal.prototype.equalsT=function(n){return!this.compareTo(n)};System.Decimal.prototype.getHashCode=function(){for(var n=this.sign()*397+this.value.e|0,t=0;t0&&h>0){for(u=h%f||f,r=s.substr(0,u);u0&&(r+=a+s.slice(u));l&&(r="-"+r)}return c?r+i.decimalSeparator+((e=+i.fractionGroupSize)?c.replace(new RegExp("\\d{"+e+"}\\B","g"),"$&"+i.fractionGroupSeparator):c):r};System.Decimal.prototype.toFormat=function(n,t,i){var r={decimalSeparator:".",groupSeparator:",",groupSize:3,secondaryGroupSize:0,fractionGroupSeparator:" ",fractionGroupSize:0},f,u;return i&&!i.getFormat?(r=Bridge.merge(r,i),f=this._toFormat(n,t,r)):(i=i||System.Globalization.CultureInfo.getCurrentCulture(),u=i&&i.getFormat(System.Globalization.NumberFormatInfo),u&&(r.decimalSeparator=u.numberDecimalSeparator,r.groupSeparator=u.numberGroupSeparator,r.groupSize=u.numberGroupSizes[0]),f=this._toFormat(n,t,r)),f};System.Decimal.prototype.getBytes=function(){var r=this.value.s,u=this.value.e,i=this.value.d,t=System.Array.init(23,0,System.Byte),n;if(t[0]=r&255,t[1]=u,i&&i.length>0)for(t[2]=i.length*4,n=0;n>8&255,t[n*4+5]=i[n]>>16&255,t[n*4+6]=i[n]>>24&255;else t[2]=0;return t};System.Decimal.fromBytes=function(n){var i=new System.Decimal(0),f=Bridge.Int.sxb(n[0]&255),e=n[1],r=n[2],u=[],t;if(i.value.s=f,i.value.e=e,r>0)for(t=3;t=0&&n[u]!==r;u--);if(u>=0){while(--u>=0&&n[u]===r)f++;if(f<=1)return!0}for(u=t+i;u=0&&l.charAt(k)===g;k--);l=l.substring(0,k+1);a=l.length==0;break;case"f":case"ff":case"fff":case"ffff":case"fffff":case"ffffff":case"fffffff":l=b.toString();l.length<3&&(l=Array(4-l.length).join("0")+l);d=n==="u"?7:n.length;l.length=0?"-":"+")+Math.floor(Math.abs(l));break;case"K":case"zz":case"zzz":e===0?l="":e===1?l="Z":(l=c/60,l=(l>0?"-":"+")+System.String.alignString(Math.floor(Math.abs(l)).toString(),2,"0",2),(n==="zzz"||n==="K")&&(l+=r.timeSeparator+System.String.alignString(Math.floor(Math.abs(c%60)).toString(),2,"0",2)));break;case":":l=r.timeSeparator;break;case"/":l=r.dateSeparator;break;default:l=n.substr(1,n.length-1-(n.charAt(0)!=="\\"))}return l}),a&&(System.String.endsWith(t,".")?t=t.substring(0,t.length-1):System.String.endsWith(t,".Z")?t=t.substring(0,t.length-2)+"Z":e===2&&t.match(/\.([+-])/g)!==null&&(t=t.replace(/\.([+-])/g,"$1"))),t},parse:function(n,t,i,r){var u=this.parseExact(n,null,t,i,!0);if(u!==null)return u;if(u=Date.parse(n),isNaN(u)){if(!r)throw new System.FormatException.$ctor1("String does not contain a valid string representation of a date and time.");}else return new Date(u)},parseExact:function(n,t,i,r,u){var ht,at,bt,l;if(t||(t=["G","g","F","f","D","d","R","r","s","S","U","u","O","o","Y","y","M","m","T","t"]),Bridge.isArray(t)){for(ht=0,ht;ht30?1900:2e3)+a)}else if(f==="MMM"||f==="MMMM"){for(v=0,st=f==="MMM"?this.isUseGenitiveForm(t,b,3,"d")?y.abbreviatedMonthGenitiveNames:y.abbreviatedMonthNames:this.isUseGenitiveForm(t,b,4,"d")?y.monthGenitiveNames:y.monthNames,k=0;k12){o=!0;break}}else if(f==="MM"||f==="M"){if(v=this.subparseInt(n,e,f.length,2),v==null||v<1||v>12){o=!0;break}e+=v.length}else if(f==="dddd"||f==="ddd"){for(st=f==="ddd"?y.abbreviatedDayNames:y.dayNames,k=0;k31){o=!0;break}e+=d.length}else if(f==="hh"||f==="h"){if(c=this.subparseInt(n,e,f.length,2),c==null||c<1||c>12){o=!0;break}e+=c.length}else if(f==="HH"||f==="H"){if(c=this.subparseInt(n,e,f.length,2),c==null||c<0||c>23){o=!0;break}e+=c.length}else if(f==="mm"||f==="m"){if(rt=this.subparseInt(n,e,f.length,2),rt==null||rt<0||rt>59)return null;e+=rt.length}else if(f==="ss"||f==="s"){if(ut=this.subparseInt(n,e,f.length,2),ut==null||ut<0||ut>59){o=!0;break}e+=ut.length}else if(f==="u"){if(h=this.subparseInt(n,e,1,7),h==null){o=!0;break}e+=h.length;h.length>3&&(h=h.substring(0,3))}else if(f.match(/f{1,7}/)!==null){if(h=this.subparseInt(n,e,f.length,7),h==null){o=!0;break}e+=h.length;h.length>3&&(h=h.substring(0,3))}else if(f.match(/F{1,7}/)!==null)h=this.subparseInt(n,e,0,7),h!==null&&(e+=h.length,h.length>3&&(h=h.substring(0,3)));else if(f==="t"){if(n.substring(e,e+1).toLowerCase()===ct.charAt(0).toLowerCase())it=ct;else if(n.substring(e,e+1).toLowerCase()===lt.charAt(0).toLowerCase())it=lt;else{o=!0;break}e+=1}else if(f==="tt"){if(n.substring(e,e+2).toLowerCase()===ct.toLowerCase())it=ct;else if(n.substring(e,e+2).toLowerCase()===lt.toLowerCase())it=lt;else{o=!0;break}e+=2}else if(f==="z"||f==="zz"){if(et=n.charAt(e),et==="-")ot=!0;else if(et==="+")ot=!1;else{o=!0;break}if(e++,w=this.subparseInt(n,e,1,2),w==null||w>14){o=!0;break}e+=w.length;nt=w*36e5;ot&&(nt=-nt)}else if(f==="Z"){bt=n.substring(e,e+1);bt==="Z"||bt==="z"?(g=1,e+=1):o=!0;break}else if(f==="zzz"||f==="K"){if(n.substring(e,e+1)==="Z"){g=2;kt=!0;e+=1;break}if(s=n.substring(e,e+6),s===""){g=0;break}if(e+=s.length,s.length!==6&&s.length!==5){o=!0;break}if(et=s.charAt(0),et==="-")ot=!0;else if(et==="+")ot=!1;else{o=!0;break}if(ft=1,w=this.subparseInt(s,ft,1,s.length===6?2:1),w==null||w>14){o=!0;break}if(ft+=w.length,s.charAt(ft)!==y.timeSeparator){o=!0;break}if(ft++,yt=this.subparseInt(s,ft,1,2),yt==null||w>59){o=!0;break}nt=w*36e5+yt*6e4;ot&&(nt=-nt);g=2}else pt=!1;if(p||!pt){if(s=n.substring(e,e+f.length),(p||s!==":"||f!==y.timeSeparator&&f!==":")&&(!p&&(f===":"&&s!==y.timeSeparator||f==="/"&&s!==y.dateSeparator)||s!==f&&f!=="'"&&f!=='"'&&f!=="\\")){o=!0;break}if(p==="\\"&&(p=!1),f!=="'"&&f!=='"'&&f!=="\\")e+=f.length;else if(p===!1)p=f;else{if(p!==f){o=!0;break}p=!1}}}if(p&&(o=!0),o||(e!==n.length?o=!0:v===2?a%4==0&&a%100!=0||a%400==0?d>29&&(o=!0):d>28&&(o=!0):(v===4||v===6||v===9||v===11)&&d>30&&(o=!0)),o){if(u)return null;throw new System.FormatException.$ctor1("String does not contain a valid string representation of a date and time.");}return it&&(c<12&&it===lt?c=+c+12:c>11&&it===ct&&(c-=12)),l=this.create(a,v,d,c,rt,ut,h,g),g===2&&(kt===!0?(l=new Date(l.getTime()-this.$getTzOffset(l)),l.kind=g):nt!==0&&(l=new Date(l.getTime()-this.$getTzOffset(l)),l=this.addMilliseconds(l,-nt),l.kind=g)),l},subparseInt:function(n,t,i,r){for(var f,u=r;u>=i;u--){if(f=n.substring(t,t+u),f.length1&&this.getIsLeapYear(t.getFullYear())&&r++,r},getDate:function(n){n.kind=n.kind!==undefined?n.kind:0;var t=this.$clearTime(n,n.kind===1);return t.kind=n.kind,t},getDayOfWeek:function(n){return this.getKind(n)===1?n.getUTCDay():n.getDay()},getYear:function(n){return this.getKind(n)===1?n.getUTCFullYear():n.getFullYear()},getMonth:function(n){return(this.getKind(n)===1?n.getUTCMonth():n.getMonth())+1},getDay:function(n){return this.getKind(n)===1?n.getUTCDate():n.getDate()},getHour:function(n){return this.getKind(n)===1?n.getUTCHours():n.getHours()},getMinute:function(n){return this.getKind(n)===1?n.getUTCMinutes():n.getMinutes()},getSecond:function(n){return this.getKind(n)===1?n.getUTCSeconds():n.getSeconds()},getMillisecond:function(n){return this.getKind(n)===1?n.getUTCMilliseconds():n.getMilliseconds()},gt:function(n,t){return n!=null&&t!=null?this.getTicks(n).gt(this.getTicks(t)):!1},gte:function(n,t){return n!=null&&t!=null?this.getTicks(n).gte(this.getTicks(t)):!1},lt:function(n,t){return n!=null&&t!=null?this.getTicks(n).lt(this.getTicks(t)):!1},lte:function(n,t){return n!=null&&t!=null?this.getTicks(n).lte(this.getTicks(t)):!1}}});Bridge.define("System.TimeSpan",{inherits:[System.IComparable],config:{alias:["compareTo",["System$IComparable$compareTo","System$IComparable$1$compareTo","System$IComparable$1System$TimeSpan$compareTo"]]},$kind:"struct",statics:{fromDays:function(n){return new System.TimeSpan(n*864e9)},fromHours:function(n){return new System.TimeSpan(n*36e9)},fromMilliseconds:function(n){return new System.TimeSpan(n*1e4)},fromMinutes:function(n){return new System.TimeSpan(n*6e8)},fromSeconds:function(n){return new System.TimeSpan(n*1e7)},fromTicks:function(n){return new System.TimeSpan(n)},ctor:function(){this.zero=new System.TimeSpan(System.Int64.Zero);this.maxValue=new System.TimeSpan(System.Int64.MaxValue);this.minValue=new System.TimeSpan(System.Int64.MinValue)},getDefaultValue:function(){return new System.TimeSpan(System.Int64.Zero)},neg:function(n){return Bridge.hasValue(n)?new System.TimeSpan(n.ticks.neg()):null},sub:function(n,t){return Bridge.hasValue$1(n,t)?new System.TimeSpan(n.ticks.sub(t.ticks)):null},eq:function(n,t){return n===null&&t===null?!0:Bridge.hasValue$1(n,t)?n.ticks.eq(t.ticks):!1},neq:function(n,t){return n===null&&t===null?!1:Bridge.hasValue$1(n,t)?n.ticks.ne(t.ticks):!0},plus:function(n){return Bridge.hasValue(n)?new System.TimeSpan(n.ticks):null},add:function(n,t){return Bridge.hasValue$1(n,t)?new System.TimeSpan(n.ticks.add(t.ticks)):null},gt:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.gt(t.ticks):!1},gte:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.gte(t.ticks):!1},lt:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.lt(t.ticks):!1},lte:function(n,t){return Bridge.hasValue$1(n,t)?n.ticks.lte(t.ticks):!1},timeSpanWithDays:/^(\-)?(\d+)[\.|:](\d+):(\d+):(\d+)(\.\d+)?/,timeSpanNoDays:/^(\-)?(\d+):(\d+):(\d+)(\.\d+)?/,parse:function(n){function r(n){return n?parseFloat("0"+n)*1e3:0}var t,i;return(t=n.match(System.TimeSpan.timeSpanWithDays))?(i=new System.TimeSpan(t[2],t[3],t[4],t[5],r(t[6])),t[1]?new System.TimeSpan(i.ticks.neg()):i):(t=n.match(System.TimeSpan.timeSpanNoDays))?(i=new System.TimeSpan(0,t[2],t[3],t[4],r(t[5])),t[1]?new System.TimeSpan(i.ticks.neg()):i):null},tryParse:function(n,t,i){return(i.v=this.parse(n),i.v==null)?(i.v=this.minValue,!1):!0}},ctor:function(){this.$initialize();this.ticks=System.Int64.Zero;arguments.length===1?this.ticks=arguments[0]instanceof System.Int64?arguments[0]:new System.Int64(arguments[0]):arguments.length===3?this.ticks=new System.Int64(arguments[0]).mul(60).add(arguments[1]).mul(60).add(arguments[2]).mul(1e7):arguments.length===4?this.ticks=new System.Int64(arguments[0]).mul(24).add(arguments[1]).mul(60).add(arguments[2]).mul(60).add(arguments[3]).mul(1e7):arguments.length===5&&(this.ticks=new System.Int64(arguments[0]).mul(24).add(arguments[1]).mul(60).add(arguments[2]).mul(60).add(arguments[3]).mul(1e3).add(arguments[4]).mul(1e4))},TimeToTicks:function(n,t,i){var r=System.Int64(n).mul("3600").add(System.Int64(t).mul("60")).add(System.Int64(i));return r.mul("10000000")},getTicks:function(){return this.ticks},getDays:function(){return this.ticks.div(864e9).toNumber()},getHours:function(){return this.ticks.div(36e9).mod(24).toNumber()},getMilliseconds:function(){return this.ticks.div(1e4).mod(1e3).toNumber()},getMinutes:function(){return this.ticks.div(6e8).mod(60).toNumber()},getSeconds:function(){return this.ticks.div(1e7).mod(60).toNumber()},getTotalDays:function(){return this.ticks.toNumberDivided(864e9)},getTotalHours:function(){return this.ticks.toNumberDivided(36e9)},getTotalMilliseconds:function(){return this.ticks.toNumberDivided(1e4)},getTotalMinutes:function(){return this.ticks.toNumberDivided(6e8)},getTotalSeconds:function(){return this.ticks.toNumberDivided(1e7)},get12HourHour:function(){return this.getHours()>12?this.getHours()-12:this.getHours()===0?12:this.getHours()},add:function(n){return new System.TimeSpan(this.ticks.add(n.ticks))},subtract:function(n){return new System.TimeSpan(this.ticks.sub(n.ticks))},duration:function(){return new System.TimeSpan(this.ticks.abs())},negate:function(){return new System.TimeSpan(this.ticks.neg())},compareTo:function(n){return this.ticks.compareTo(n.ticks)},equals:function(n){return Bridge.is(n,System.TimeSpan)?n.ticks.eq(this.ticks):!1},equalsT:function(n){return n.ticks.eq(this.ticks)},format:function(n,t){return this.toString(n,t)},getHashCode:function(){return this.ticks.getHashCode()},toString:function(n,t){var i=this.ticks,f="",r=this,e=(t||System.Globalization.CultureInfo.getCurrentCulture()).getFormat(System.Globalization.DateTimeFormatInfo),u=function(n,t,i,r){return System.String.alignString(Math.abs(n|0).toString(),t||2,"0",i||2,r||!1)},o=i<0;return n?n.replace(/(\\.|'[^']*'|"[^"]*"|dd?|HH?|hh?|mm?|ss?|tt?|f{1,7}|\:|\/)/g,function(n){var t=n;switch(n){case"d":return r.getDays();case"dd":return u(r.getDays());case"H":return r.getHours();case"HH":return u(r.getHours());case"h":return r.get12HourHour();case"hh":return u(r.get12HourHour());case"m":return r.getMinutes();case"mm":return u(r.getMinutes());case"s":return r.getSeconds();case"ss":return u(r.getSeconds());case"t":return(r.getHours()<12?e.amDesignator:e.pmDesignator).substring(0,1);case"tt":return r.getHours()<12?e.amDesignator:e.pmDesignator;case"f":case"ff":case"fff":case"ffff":case"fffff":case"ffffff":case"fffffff":return u(r.getMilliseconds(),n.length,1,!0);default:return n.substr(1,n.length-1-(n.charAt(0)!=="\\"))}}):(i.abs().gte(864e9)&&(f+=u(i.toNumberDivided(864e9),1)+".",i=i.mod(864e9)),f+=u(i.toNumberDivided(36e9))+":",i=i.mod(36e9),f+=u(i.toNumberDivided(6e8)|0)+":",i=i.mod(6e8),f+=u(i.toNumberDivided(1e7)),i=i.mod(1e7),i.gt(0)&&(f+="."+u(i.toNumber(),7)),(o?"-":"")+f)}});Bridge.Class.addExtend(System.TimeSpan,[System.IComparable$1(System.TimeSpan),System.IEquatable$1(System.TimeSpan)]);Bridge.define("System.Text.StringBuilder",{ctor:function(){this.$initialize();this.buffer=[];this.capacity=16;arguments.length===1?this.append(arguments[0]):arguments.length===2?(this.append(arguments[0]),this.setCapacity(arguments[1])):arguments.length>=3&&(this.append(arguments[0],arguments[1],arguments[2]),arguments.length===4&&this.setCapacity(arguments[3]))},getLength:function(){if(this.buffer.length<2)return this.buffer[0]?this.buffer[0].length:0;var n=this.getString();return n.length},setLength:function(n){var i,t;if(n===0)this.clear();else if(n<0)throw new System.ArgumentOutOfRangeException.$ctor4("value","Length cannot be less than zero");else{if(i=this.getLength(),n===i)return;t=n-i;t>0?this.append("\0",t):this.remove(i+t,-t)}},getCapacity:function(){var n=this.getLength();return this.capacity>n?this.capacity:n},setCapacity:function(n){var t=this.getLength();n>t&&(this.capacity=n)},toString:function(){var n=this.getString(),t,i;return arguments.length===2?(t=arguments[0],i=arguments[1],this.checkLimits(n,t,i),n.substr(t,i)):n},append:function(n){var i,t;if(n==null)return this;if(arguments.length===2){if(t=arguments[1],t===0)return this;if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","cannot be less than zero");n=Array(t+1).join(n).toString()}else if(arguments.length===3){if(i=arguments[1],t=arguments[2],t===0)return this;this.checkLimits(n,i,t);n=n.substr(i,t)}return this.buffer[this.buffer.length]=n,this.clearString(),this},appendFormat:function(){return this.append(System.String.format.apply(System.String,arguments))},clear:function(){return this.buffer=[],this.clearString(),this},appendLine:function(){return arguments.length===1&&this.append(arguments[0]),this.append("\r\n")},equals:function(n){return n==null?!1:n===this?!0:this.toString()===n.toString()},remove:function(n,t){var i=this.getString();return(this.checkLimits(i,n,t),i.length===t&&n===0)?this.clear():(t>0&&(this.buffer=[],this.buffer[0]=i.substring(0,n),this.buffer[1]=i.substring(n+t,i.length),this.clearString()),this)},insert:function(n,t){var r,i;if(t==null)return this;if(arguments.length===3){if(r=arguments[2],r===0)return this;if(r<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","cannot be less than zero");t=Array(r+1).join(t).toString()}return i=this.getString(),this.buffer=[],n<1?(this.buffer[0]=t,this.buffer[1]=i):n>=i.length?(this.buffer[0]=i,this.buffer[1]=t):(this.buffer[0]=i.substring(0,n),this.buffer[1]=t,this.buffer[2]=i.substring(n,i.length)),this.clearString(),this},replace:function(n,t){var f=new RegExp(n,"g"),i=this.buffer.join("");if(this.buffer=[],arguments.length===4){var r=arguments[2],u=arguments[3],e=i.substr(r,u);this.checkLimits(i,r,u);this.buffer[0]=i.substring(0,r);this.buffer[1]=e.replace(f,t);this.buffer[2]=i.substring(r+u,i.length)}else this.buffer[0]=i.replace(f,t);return this.clearString(),this},checkLimits:function(n,t,i){if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","must be non-negative");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","startIndex cannot be less than zero");if(i>n.length-t)throw new System.ArgumentOutOfRangeException.$ctor4("Index and length must refer to a location within the string");},clearString:function(){this.$str=null},getString:function(){return this.$str||(this.$str=this.buffer.join(""),this.buffer=[],this.buffer[0]=this.$str),this.$str},getChar:function(n){var t=this.getString();if(n<0||n>=t.length)throw new System.IndexOutOfRangeException;return t.charCodeAt(n)},setChar:function(n,t){var i=this.getString();if(n<0||n>=i.length)throw new System.ArgumentOutOfRangeException;t=String.fromCharCode(t);this.buffer=[];this.buffer[0]=i.substring(0,n);this.buffer[1]=t;this.buffer[2]=i.substring(n+1,i.length);this.clearString()}}),function(){var n=RegExp("[-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g"),t=function(t){return t.replace(n,"\\$&")};Bridge.regexpEscape=t}();Bridge.define("System.Diagnostics.Debug.DebugAssertException",{inherits:[System.Exception],$kind:"nested class",ctors:{ctor:function(n,t,i){this.$initialize();System.Exception.ctor.call(this,(n||"")+"\n"+(t||"")+"\n"+(i||""))}}});Bridge.define("System.Diagnostics.Debug",{statics:{fields:{s_lock:null,s_indentLevel:0,s_indentSize:0,s_needIndent:!1,s_indentString:null,s_ShowAssertDialog:null,s_WriteCore:null,s_shouldWriteToStdErr:!1},props:{AutoFlush:{get:function(){return!0},set:function(){}},IndentLevel:{get:function(){return System.Diagnostics.Debug.s_indentLevel},set:function(n){System.Diagnostics.Debug.s_indentLevel=n<0?0:n}},IndentSize:{get:function(){return System.Diagnostics.Debug.s_indentSize},set:function(n){System.Diagnostics.Debug.s_indentSize=n<0?0:n}}},ctors:{init:function(){this.s_lock={};this.s_indentSize=4;this.s_ShowAssertDialog=System.Diagnostics.Debug.ShowAssertDialog;this.s_WriteCore=System.Diagnostics.Debug.WriteCore;this.s_shouldWriteToStdErr=Bridge.referenceEquals(System.Environment.GetEnvironmentVariable("COMPlus_DebugWriteToStdErr"),"1")}},methods:{Close:function(){},Flush:function(){},Indent:function(){System.Diagnostics.Debug.IndentLevel=System.Diagnostics.Debug.IndentLevel+1|0},Unindent:function(){System.Diagnostics.Debug.IndentLevel=System.Diagnostics.Debug.IndentLevel-1|0},Print:function(n){System.Diagnostics.Debug.Write$2(n)},Print$1:function(n,t){t===void 0&&(t=[]);System.Diagnostics.Debug.Write$2(System.String.formatProvider.apply(System.String,[null,n].concat(t)))},Assert:function(n){System.Diagnostics.Debug.Assert$2(n,"","")},Assert$1:function(n,t){System.Diagnostics.Debug.Assert$2(n,t,"")},Assert$2:function(n,t,i){if(!n){var r;try{throw System.NotImplemented.ByDesign;}catch(u){u=System.Exception.create(u);r=""}System.Diagnostics.Debug.WriteLine$2(System.Diagnostics.Debug.FormatAssert(r,t,i));System.Diagnostics.Debug.s_ShowAssertDialog(r,t,i)}},Assert$3:function(n,t,i,r){r===void 0&&(r=[]);System.Diagnostics.Debug.Assert$2(n,t,System.String.format.apply(System.String,[i].concat(r)))},Fail:function(n){System.Diagnostics.Debug.Assert$2(!1,n,"")},Fail$1:function(n,t){System.Diagnostics.Debug.Assert$2(!1,n,t)},FormatAssert:function(n,t,i){var r=(System.Diagnostics.Debug.GetIndentString()||"")+"\n";return"---- DEBUG ASSERTION FAILED ----"+(r||"")+"---- Assert Short Message ----"+(r||"")+(t||"")+(r||"")+"---- Assert Long Message ----"+(r||"")+(i||"")+(r||"")+(n||"")},WriteLine$2:function(n){System.Diagnostics.Debug.Write$2((n||"")+"\n")},WriteLine:function(n){System.Diagnostics.Debug.WriteLine$2(n!=null?Bridge.toString(n):null)},WriteLine$1:function(n,t){System.Diagnostics.Debug.WriteLine$4(n!=null?Bridge.toString(n):null,t)},WriteLine$3:function(n,t){t===void 0&&(t=[]);System.Diagnostics.Debug.WriteLine$2(System.String.formatProvider.apply(System.String,[null,n].concat(t)))},WriteLine$4:function(n,t){t==null?System.Diagnostics.Debug.WriteLine$2(n):System.Diagnostics.Debug.WriteLine$2((t||"")+":"+(n||""))},Write$2:function(n){if(System.Diagnostics.Debug.s_lock,n==null){System.Diagnostics.Debug.s_WriteCore("");return}System.Diagnostics.Debug.s_needIndent&&(n=(System.Diagnostics.Debug.GetIndentString()||"")+(n||""),System.Diagnostics.Debug.s_needIndent=!1);System.Diagnostics.Debug.s_WriteCore(n);System.String.endsWith(n,"\n")&&(System.Diagnostics.Debug.s_needIndent=!0)},Write:function(n){System.Diagnostics.Debug.Write$2(n!=null?Bridge.toString(n):null)},Write$3:function(n,t){t==null?System.Diagnostics.Debug.Write$2(n):System.Diagnostics.Debug.Write$2((t||"")+":"+(n||""))},Write$1:function(n,t){System.Diagnostics.Debug.Write$3(n!=null?Bridge.toString(n):null,t)},WriteIf$2:function(n,t){n&&System.Diagnostics.Debug.Write$2(t)},WriteIf:function(n,t){n&&System.Diagnostics.Debug.Write(t)},WriteIf$3:function(n,t,i){n&&System.Diagnostics.Debug.Write$3(t,i)},WriteIf$1:function(n,t,i){n&&System.Diagnostics.Debug.Write$1(t,i)},WriteLineIf:function(n,t){n&&System.Diagnostics.Debug.WriteLine(t)},WriteLineIf$1:function(n,t,i){n&&System.Diagnostics.Debug.WriteLine$1(t,i)},WriteLineIf$2:function(n,t){n&&System.Diagnostics.Debug.WriteLine$2(t)},WriteLineIf$3:function(n,t,i){n&&System.Diagnostics.Debug.WriteLine$4(t,i)},GetIndentString:function(){var n,t=Bridge.Int.mul(System.Diagnostics.Debug.IndentSize,System.Diagnostics.Debug.IndentLevel);return System.Nullable.eq(System.Diagnostics.Debug.s_indentString!=null?System.Diagnostics.Debug.s_indentString.length:null,t)?System.Diagnostics.Debug.s_indentString:(n=System.String.fromCharCount(32,t),System.Diagnostics.Debug.s_indentString=n,n)},ShowAssertDialog:function(n,t,i){if(!System.Diagnostics.Debugger.IsAttached){var r=new System.Diagnostics.Debug.DebugAssertException(t,i,n);System.Environment.FailFast$1(r.Message,r)}},WriteCore:function(n){System.Diagnostics.Debug.WriteToDebugger(n);System.Diagnostics.Debug.s_shouldWriteToStdErr&&System.Diagnostics.Debug.WriteToStderr(n)},WriteToDebugger:function(n){System.Diagnostics.Debugger.IsLogging()?System.Diagnostics.Debugger.Log(0,null,n):System.Console.WriteLine(n)},WriteToStderr:function(n){System.Console.WriteLine(n)}}}});Bridge.define("System.Diagnostics.Debugger",{statics:{fields:{DefaultCategory:null},props:{IsAttached:{get:function(){return!0}}},methods:{IsLogging:function(){return!0},Launch:function(){return!0},Log:function(){},NotifyOfCrossThreadDependency:function(){}}}});Bridge.define("System.Diagnostics.Stopwatch",{ctor:function(){this.$initialize();this.reset()},start:function(){this.isRunning||(this._startTime=System.Diagnostics.Stopwatch.getTimestamp(),this.isRunning=!0)},stop:function(){if(this.isRunning){var n=System.Diagnostics.Stopwatch.getTimestamp(),t=n.sub(this._startTime);this._elapsed=this._elapsed.add(t);this.isRunning=!1}},reset:function(){this._startTime=System.Int64.Zero;this._elapsed=System.Int64.Zero;this.isRunning=!1},restart:function(){this.isRunning=!1;this._elapsed=System.Int64.Zero;this._startTime=System.Diagnostics.Stopwatch.getTimestamp();this.start()},ticks:function(){var n=this._elapsed,t,i;return this.isRunning&&(t=System.Diagnostics.Stopwatch.getTimestamp(),i=t.sub(this._startTime),n=n.add(i)),n},milliseconds:function(){return this.ticks().mul(1e3).div(System.Diagnostics.Stopwatch.frequency)},timeSpan:function(){return new System.TimeSpan(this.milliseconds().mul(1e4))},statics:{startNew:function(){var n=new System.Diagnostics.Stopwatch;return n.start(),n}}});typeof window!="undefined"&&window.performance&&window.performance.now?(System.Diagnostics.Stopwatch.frequency=new System.Int64(1e6),System.Diagnostics.Stopwatch.isHighResolution=!0,System.Diagnostics.Stopwatch.getTimestamp=function(){return new System.Int64(Math.round(window.performance.now()*1e3))}):typeof process!="undefined"&&process.hrtime?(System.Diagnostics.Stopwatch.frequency=new System.Int64(1e9),System.Diagnostics.Stopwatch.isHighResolution=!0,System.Diagnostics.Stopwatch.getTimestamp=function(){var n=process.hrtime();return new System.Int64(n[0]).mul(1e9).add(n[1])}):(System.Diagnostics.Stopwatch.frequency=new System.Int64(1e3),System.Diagnostics.Stopwatch.isHighResolution=!1,System.Diagnostics.Stopwatch.getTimestamp=function(){return new System.Int64((new Date).valueOf())});System.Diagnostics.Contracts.Contract={reportFailure:function(n,t,i,r,u){var f=i.toString(),e,o;if(f=f.substring(f.indexOf("return")+7),f=f.substr(0,f.lastIndexOf(";")),e=f?"Contract '"+f+"' failed":"Contract failed",o=t?e+": "+t:e,u)throw new u(f,t);else throw new System.Diagnostics.Contracts.ContractException(n,o,t,f,r);},assert:function(n,t,i,r){i.call(t)||System.Diagnostics.Contracts.Contract.reportFailure(n,r,i,null)},requires:function(n,t,i,r){i.call(t)||System.Diagnostics.Contracts.Contract.reportFailure(0,r,i,null,n)},forAll:function(n,t,i){if(!i)throw new System.ArgumentNullException.$ctor1("predicate");for(;n=(n.$s?n.$s[0]:n.length))throw new System.IndexOutOfRangeException.$ctor1("Index 0 out of range");var r=t[0],i;if(n.$s)for(i=1;i=n.$s[i])throw new System.IndexOutOfRangeException.$ctor1("Index "+i+" out of range");r=r*n.$s[i]+t[i]}return r},index:function(n,t){if(n<0||n>=t.length)throw new System.IndexOutOfRangeException;return n},$get:function(n){var t=this[System.Array.toIndex(this,n)];return typeof t!="undefined"?t:this.$v},get:function(n){var t,i,r;if(arguments.length<2)throw new System.ArgumentNullException.$ctor1("indices");for(t=Array.prototype.slice.call(arguments,1),i=0;i=(n.$s?n.$s.length:1))throw new System.IndexOutOfRangeException;return n.$s?n.$s[t]:n.length},getRank:function(n){return n.$type?n.$type.$rank:n.$s?n.$s.length:1},getLower:function(n,t){return System.Array.getLength(n,t),0},create:function(n,t,i,r){var u,s,f,h,c,e,o,l,a,y,v;if(r===null)throw new System.ArgumentNullException.$ctor1("length");if(u=[],s=arguments.length>3?1:0,u.$v=n,u.$s=[],u.get=System.Array.$get,u.set=System.Array.$set,r&&Bridge.isArray(r))for(f=0;f=0;h--)o=a%u.$s[h],l.unshift(o),a=Bridge.Int.div(a-o,u.$s[h]);for(c=t,o=0;on.length)throw new System.IndexOutOfRangeException;for(var u=Bridge.isFunction(t);--r>=0;)n[i+r]=u?t():t},copy:function(n,t,i,r,u){if(!i)throw new System.ArgumentNullException.$ctor3("dest","Value cannot be null");if(!n)throw new System.ArgumentNullException.$ctor3("src","Value cannot be null");if(t<0||r<0||u<0)throw new System.ArgumentOutOfRangeException.$ctor1("bound","Number was less than the array's lower bound in the first dimension");if(u>n.length-t||u>i.length-r)throw new System.ArgumentException.$ctor1("Destination array was not long enough. Check destIndex and length, and the array's lower bounds");if(t=0)i[r+u]=n[t+u];else for(var f=0;f-1:i&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(i)+"$contains"])||Bridge.isFunction(n[r="System$Collections$IList$contains"])?n[r](t):Bridge.isFunction(n.contains)?n.contains(t):!1},remove:function(n,t,i){var r,u;if(System.Array.checkReadOnly(n,i),Bridge.isArray(n)){if(u=System.Array.indexOf(n,t),u>-1)return n.splice(u,1),!0}else{if(i&&Bridge.isFunction(n[r="System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(i)+"$remove"])||Bridge.isFunction(n[r="System$Collections$IList$remove"]))return n[r](t);if(Bridge.isFunction(n.remove))return n.remove(t)}return!1},insert:function(n,t,i,r){var u;System.Array.checkReadOnly(n,r);r&&(i=System.Array.checkNewElementType(i,r));r&&Bridge.isFunction(n[u="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(r)+"$insert"])?n[u](t,i):Bridge.isFunction(n[u="System$Collections$IList$insert"])?n[u](t,i):Bridge.isFunction(n.insert)&&n.insert(t,i)},removeAt:function(n,t,i){var r;System.Array.checkReadOnly(n,i);Bridge.isArray(n)?n.splice(t,1):i&&Bridge.isFunction(n[r="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(i)+"$removeAt"])?n[r](t):Bridge.isFunction(n[r="System$Collections$IList$removeAt"])?n[r](t):Bridge.isFunction(n.removeAt)&&n.removeAt(t)},getItem:function(n,t,i){var u,r;return Bridge.isArray(n)?n.$type&&Bridge.getDefaultValue(n.$type.$elementType)!=null?Bridge.box(n[t],n.$type.$elementType):n[t]:i&&Bridge.isFunction(n[u="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(i)+"$getItem"])?n[u](t):(Bridge.isFunction(n.get)?r=n.get(t):Bridge.isFunction(n.getItem)?r=n.getItem(t):Bridge.isFunction(n[u="System$Collections$IList$$getItem"])?r=n[u](t):Bridge.isFunction(n.get_Item)&&(r=n.get_Item(t)),i&&Bridge.getDefaultValue(i)!=null?Bridge.box(r,i):r)},setItem:function(n,t,i,r){var u;if(Bridge.isArray(n))n.$type&&(i=System.Array.checkElementType(i,n.$type.$elementType)),n[t]=i;else if(r&&(i=System.Array.checkElementType(i,r)),Bridge.isFunction(n.set))n.set(t,i);else if(Bridge.isFunction(n.setItem))n.setItem(t,i);else{if(r&&Bridge.isFunction(n[u="System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(r)+"$setItem"])||r&&Bridge.isFunction(n[u="System$Collections$IList$setItem"]))return n[u](t,i);Bridge.isFunction(n.set_Item)&&n.set_Item(t,i)}},checkElementType:function(n,t){var i=Bridge.unbox(n,!0),r;if(Bridge.isNumber(i)){if(t===System.Decimal)return new System.Decimal(i);if(t===System.Int64)return new System.Int64(i);if(t===System.UInt64)return new System.UInt64(i)}if(r=Bridge.is(n,t),!r){if(n==null)return Bridge.getDefaultValue(t);throw new System.ArgumentException.$ctor1("Cannot widen from source type to target type either because the source type is a not a primitive type or the conversion cannot be accomplished.");}return i},resize:function(n,t,i){var u;if(t<0)throw new System.ArgumentOutOfRangeException.$ctor3("newSize",t,"newSize cannot be less than 0.");var f=0,e=Bridge.isFunction(i),r=n.v;for(r?(f=r.length,r.length=t):r=new Array(t),u=f;u>1);try{h=System.Collections.Generic.Comparer$1.get(u)(n[e],r)}catch(c){throw new System.InvalidOperationException.$ctor2("Failed to compare two elements in the array.",c);}if(h===0)return e;h<0?f=e+1:s=e-1}return~f},sort:function(n,t,i,r){var f,u;if(!n)throw new System.ArgumentNullException.$ctor1("array");if(arguments.length===2&&typeof t=="function"){n.sort(t);return}if(arguments.length===2&&typeof t=="object"&&(r=t,t=null),Bridge.isNumber(t)||(t=0),Bridge.isNumber(i)||(i=n.length),r||(r=System.Collections.Generic.Comparer$1.$default),t===0&&i===n.length)n.sort(Bridge.fn.bind(r,System.Collections.Generic.Comparer$1.get(r)));else for(f=n.slice(t,t+i),f.sort(Bridge.fn.bind(r,System.Collections.Generic.Comparer$1.get(r))),u=t;ur||r>t)||n[i]>t||(r=n[i]);return r},addRange:function(n,t){if(Bridge.isArray(t))n.push.apply(n,t);else{var i=Bridge.getEnumerator(t);try{while(i.moveNext())n.push(i.Current)}finally{Bridge.is(i,System.IDisposable)&&i.Dispose()}}},convertAll:function(n,t){if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException.$ctor1("converter");return n.map(t)},find:function(n,t,i){if(!Bridge.hasValue(t))throw new System.ArgumentNullException.$ctor1("array");if(!Bridge.hasValue(i))throw new System.ArgumentNullException.$ctor1("match");for(var r=0;rn.length)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(i<0||t>n.length-i)throw new System.ArgumentOutOfRangeException.$ctor1("count");if(!Bridge.hasValue(r))throw new System.ArgumentNullException.$ctor1("match");for(f=t+i,u=t;u=0;r--)if(i(t[r]))return t[r];return Bridge.getDefaultValue(n)},findLastIndex:function(n,t,i,r){var f,u;if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("array");if(arguments.length===2?(r=t,t=n.length-1,i=n.length):arguments.length===3&&(r=i,i=t+1),!Bridge.hasValue(r))throw new System.ArgumentNullException.$ctor1("match");if(n.length===0){if(t!==-1)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");}else if(t<0||t>=n.length)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(i<0||t-i+1<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");for(f=t-i,u=t;u>f;u--)if(r(n[u]))return u;return-1},forEach:function(n,t){if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException.$ctor1("action");for(var i=0;i=n.length&&n.length>0)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","out of range");if(r<0||r>n.length-i)throw new System.ArgumentOutOfRangeException.$ctor4("count","out of range");return System.Array.indexOf(n,t,i,r)},isFixedSize:function(){return!0},isSynchronized:function(){return!1},lastIndexOfT:function(n,t,i,r){var e,u,f;if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("array");if(arguments.length===2?(i=n.length-1,r=n.length):arguments.length===3&&(r=n.length===0?0:i+1),i<0||i>=n.length&&n.length>0)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","out of range");if(r<0||i-r+1<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","out of range");for(e=i-r+1,u=i;u>=e;u--)if(f=n[u],f===t||System.Collections.Generic.EqualityComparer$1.$default.equals2(f,t))return u;return-1},syncRoot:function(n){return n},trueForAll:function(n,t){if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("array");if(!Bridge.hasValue(t))throw new System.ArgumentNullException.$ctor1("match");for(var i=0;i=this.entries[u[r]].length-1)&&(f=-1,r++),r>=u.length)?!1:(f++,!0)},function(){return r<0||r>=u.length?new(System.Collections.Generic.KeyValuePair$2(n,t)):i(this.isSimpleKey?this.entries[u[r]]:this.entries[u[r]][f])},function(){r=-1},null,this,System.Collections.Generic.KeyValuePair$2(n,t))},GetEnumerator:function(){return this.getCustomEnumerator(function(n){return n})}}});System.Collections.Generic.Dictionary$2.getTypeParameters=function(n){var i,r,t;if(System.String.startsWith(n.$$name,"System.Collections.Generic.IDictionary"))i=n;else for(r=Bridge.Reflection.getInterfaces(n),t=0;t0){var i=System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n);this._size>0&&System.Array.copy(this._items,0,i,0,this._size);this._items=i}else this._items=System.Collections.Generic.List$1(n)._emptyArray}},Count:{get:function(){return this._size}},System$Collections$IList$IsFixedSize:{get:function(){return!1}},System$Collections$Generic$ICollection$1$IsReadOnly:{get:function(){return!1}},System$Collections$IList$IsReadOnly:{get:function(){return!1}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$ICollection$1$IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly","getItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IReadOnlyList$1$getItem"],"setItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$setItem","System$Collections$Generic$IReadOnlyList$1$setItem"],"getItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$getItem","setItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$setItem","add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","clear","System$Collections$IList$clear","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","System$Collections$Generic$IEnumerable$1$GetEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator","indexOf","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$indexOf","insert","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$insert","remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","removeAt","System$Collections$IList$removeAt","removeAt","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$removeAt"],ctors:{ctor:function(){this.$initialize();this._items=System.Collections.Generic.List$1(n)._emptyArray},$ctor2:function(t){if(this.$initialize(),t<0)throw new System.ArgumentOutOfRangeException.$ctor1("capacity");this._items=t===0?System.Collections.Generic.List$1(n)._emptyArray:System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n)},$ctor1:function(t){var r,u,i;if(this.$initialize(),t==null)throw new System.ArgumentNullException.$ctor1("collection");if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null)u=System.Array.getCount(r,n),u===0?this._items=System.Collections.Generic.List$1(n)._emptyArray:(this._items=System.Array.init(u,function(){return Bridge.getDefaultValue(n)},n),System.Array.copyTo(r,this._items,0,n),this._size=u);else{this._size=0;this._items=System.Collections.Generic.List$1(n)._emptyArray;i=Bridge.getEnumerator(t,n);try{while(i.System$Collections$IEnumerator$moveNext())this.add(i[Bridge.geti(i,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")])}finally{Bridge.hasValue(i)&&i.System$IDisposable$Dispose()}}}},methods:{getItem:function(n){if(n>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException.ctor;return this._items[System.Array.index(n,this._items)]},setItem:function(n,t){if(n>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException.ctor;this._items[System.Array.index(n,this._items)]=t;this._version=this._version+1|0},System$Collections$IList$getItem:function(n){return this.getItem(n)},System$Collections$IList$setItem:function(t,i){if(i==null&&!(Bridge.getDefaultValue(n)==null))throw new System.ArgumentNullException.$ctor1("value");try{this.setItem(t,Bridge.cast(Bridge.unbox(i),n))}catch(r){if(r=System.Exception.create(r),Bridge.is(r,System.InvalidCastException))throw new System.ArgumentException.$ctor1("value");else throw r;}},add:function(n){this._size===this._items.length&&this.EnsureCapacity(this._size+1|0);this._items[System.Array.index(Bridge.identity(this._size,this._size=this._size+1|0),this._items)]=n;this._version=this._version+1|0},System$Collections$IList$add:function(t){if(t==null&&!(Bridge.getDefaultValue(n)==null))throw new System.ArgumentNullException.$ctor1("item");try{this.add(Bridge.cast(Bridge.unbox(t),n))}catch(i){if(i=System.Exception.create(i),Bridge.is(i,System.InvalidCastException))throw new System.ArgumentException.$ctor1("item");else throw i;}return this.Count-1|0},AddRange:function(n){this.InsertRange(this._size,n)},AsReadOnly:function(){return new(System.Collections.ObjectModel.ReadOnlyCollection$1(n))(this)},BinarySearch$2:function(n,t,i,r){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((this._size-n|0)0&&(System.Array.fill(this._items,Bridge.getDefaultValue(n),0,this._size),this._size=0);this._version=this._version+1|0},contains:function(t){var i,u,r;if(t==null){for(i=0;i>>0>2146435071&&(i=2146435071);i>>0>this._size>>>0)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(t<0||n>(this._size-t|0))throw new System.ArgumentOutOfRangeException.$ctor1("count");if(Bridge.staticEquals(i,null))throw new System.ArgumentNullException.$ctor1("match");for(u=n+t|0,r=n;r=0;i=i-1|0)if(t(this._items[System.Array.index(i,this._items)]))return this._items[System.Array.index(i,this._items)];return Bridge.getDefaultValue(n)},FindLastIndex$2:function(n){return this.FindLastIndex(this._size-1|0,this._size,n)},FindLastIndex$1:function(n,t){return this.FindLastIndex(n,n+1|0,t)},FindLastIndex:function(n,t,i){var u,r;if(Bridge.staticEquals(i,null))throw new System.ArgumentNullException.$ctor1("match");if(this._size===0){if(n!==-1)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");}else if(n>>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(t<0||((n-t|0)+1|0)<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");for(u=n-t|0,r=n;r>u;r=r-1|0)if(i(this._items[System.Array.index(r,this._items)]))return r;return-1},ForEach:function(n){var i,t;if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException.$ctor1("match");for(i=this._version,t=0;tthis._size)throw new System.ArgumentOutOfRangeException.$ctor1("index");return System.Array.indexOfT(this._items,n,t,this._size-t|0)},IndexOf$1:function(n,t,i){if(t>this._size)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(i<0||t>(this._size-i|0))throw new System.ArgumentOutOfRangeException.$ctor1("count");return System.Array.indexOfT(this._items,n,t,i)},insert:function(n,t){if(n>>>0>this._size>>>0)throw new System.ArgumentOutOfRangeException.$ctor1("index");this._size===this._items.length&&this.EnsureCapacity(this._size+1|0);n>>0>this._size>>>0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(f=Bridge.as(i,System.Collections.Generic.ICollection$1(n)),f!=null)r=System.Array.getCount(f,n),r>0&&(this.EnsureCapacity(this._size+r|0),t=this._size)throw new System.ArgumentOutOfRangeException.$ctor1("index");return this.LastIndexOf$2(n,t,t+1|0)},LastIndexOf$2:function(n,t,i){if(this.Count!==0&&t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(this.Count!==0&&i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if(this._size===0)return-1;if(t>=this._size)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(i>(t+1|0))throw new System.ArgumentOutOfRangeException.$ctor1("count");return System.Array.lastIndexOfT(this._items,n,t,i)},remove:function(n){var t=this.indexOf(n);return t>=0?(this.removeAt(t),!0):!1},System$Collections$IList$remove:function(t){System.Collections.Generic.List$1(n).IsCompatibleObject(t)&&this.remove(Bridge.cast(Bridge.unbox(t),n))},RemoveAll:function(t){var i,r,u;if(Bridge.staticEquals(t,null))throw new System.ArgumentNullException.$ctor1("match");for(i=0;i=this._size)return 0;for(r=i+1|0;r>>0>=this._size>>>0)throw new System.ArgumentOutOfRangeException.ctor;this._size=this._size-1|0;t0){var r=this._size;this._size=this._size-i|0;t0)if(this._items.length===this._size)System.Array.sort(this._items,t);else{var i=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);System.Array.copy(this._items,0,i,0,this._size);System.Array.sort(i,t);System.Array.copy(i,0,this._items,0,this._size)}},ToArray:function(){var t=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);return System.Array.copy(this._items,0,t,0,this._size),t},TrimExcess:function(){var n=Bridge.Int.clip32(this._items.length*.9);this._size0&&System.Array.copy(this._items,0,t,0,this._size),t}}}});Bridge.define("System.Collections.Generic.KeyNotFoundException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"The given key was not present in the dictionary.");this.HResult=-2146232969},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146232969},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146232969}}});System.Collections.Generic.List$1.getElementType=function(n){var i,r,t;if(System.String.startsWith(n.$$name,"System.Collections.Generic.IList"))i=n;else for(r=Bridge.Reflection.getInterfaces(n),t=0;t=this._str.length)throw new System.InvalidOperationException.$ctor1("Enumeration already finished.");return this._currentElement}}},alias:["clone","System$ICloneable$clone","moveNext","System$Collections$IEnumerator$moveNext","Dispose","System$IDisposable$Dispose","Current",["System$Collections$Generic$IEnumerator$1$System$Char$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"],"reset","System$Collections$IEnumerator$reset"],ctors:{ctor:function(n){this.$initialize();this._str=n;this._index=-1}},methods:{clone:function(){return Bridge.clone(this)},moveNext:function(){return this._index<(this._str.length-1|0)?(this._index=this._index+1|0,this._currentElement=this._str.charCodeAt(this._index),!0):(this._index=this._str.length,!1)},Dispose:function(){this._str!=null&&(this._index=this._str.length);this._str=null},reset:function(){this._currentElement=0;this._index=-1}}});Bridge.define("System.String",{inherits:[System.IComparable,System.ICloneable,System.Collections.IEnumerable,System.Collections.Generic.IEnumerable$1(System.Char)],statics:{$is:function(n){return typeof n=="string"},charCodeAt:function(n,t){t=t||0;var i=n.charCodeAt(t),u,r;if(55296<=i&&i<=56319){if(u=i,r=n.charCodeAt(t+1),isNaN(r))throw new System.Exception("High surrogate not followed by low surrogate");return(u-55296)*1024+(r-56320)+65536}return 56320<=i&&i<=57343?!1:i},fromCharCode:function(n){return n>65535?(n-=65536,String.fromCharCode(55296+(n>>10),56320+(n&1023))):String.fromCharCode(n)},fromCharArray:function(n,t,i){var u,r,f;if(n==null)throw new System.ArgumentNullException.$ctor1("chars");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("length");if(n.length-tn.length&&(i=n.length-t),r=0;r=f;u--)if(t.indexOf(n.charAt(u))>=0)return u;return-1},isNullOrWhiteSpace:function(n){return n?System.Char.isWhiteSpace(n):!0},isNullOrEmpty:function(n){return!n},fromCharCount:function(n,t){if(t>=0)return String(Array(t+1).join(String.fromCharCode(n)));throw new System.ArgumentOutOfRangeException.$ctor4("count","cannot be less than zero");},format:function(n,t){return System.String._format(System.Globalization.CultureInfo.getCurrentCulture(),n,Array.isArray(t)&&arguments.length==2?t:Array.prototype.slice.call(arguments,1))},formatProvider:function(n,t,i){return System.String._format(n,t,Array.isArray(i)&&arguments.length==3?i:Array.prototype.slice.call(arguments,2))},_format:function(n,t,i){if(t==null)throw new System.ArgumentNullException.$ctor1("format");var u=this,r=this.decodeBraceSequence;return t.replace(/(\{+)((\d+|[a-zA-Z_$]\w+(?:\.[a-zA-Z_$]\w+|\[\d+\])*)(?:\,(-?\d*))?(?:\:([^\}]*))?)(\}+)|(\{+)|(\}+)/g,function(t,f,e,o,s,h,c,l,a){return l?r(l):a?r(a):f.length%2==0||c.length%2==0?r(f)+e+r(c):r(f,!0)+u.handleElement(n,o,s,h,i)+r(c,!0)})},handleElement:function(n,t,i,r,u){var f;if(t=parseInt(t,10),t>u.length-1)throw new System.FormatException.$ctor1("Input string was not in a correct format.");return f=u[t],f==null&&(f=""),r&&f.$boxed&&f.type.$kind==="enum"?f=System.Enum.format(f.type,f.v,r):r&&f.$boxed&&f.type.format?f=f.type.format(Bridge.unbox(f,!0),r,n):r&&Bridge.is(f,System.IFormattable)&&(f=Bridge.format(Bridge.unbox(f,!0),r,n)),f=Bridge.isNumber(f)?Bridge.Int.format(f,r,n):Bridge.isDate(f)?System.DateTime.format(f,r,n):""+Bridge.toString(f),i&&(i=parseInt(i,10),Bridge.isNumber(i)||(i=null)),System.String.alignString(Bridge.toString(f),i)},decodeBraceSequence:function(n,t){return n.substr(0,(n.length+(t?0:1))/2)},alignString:function(n,t,i,r,u){if(n==null||!t)return n;if(i||(i=" "),Bridge.isNumber(i)&&(i=String.fromCharCode(i)),r||(r=t<0?1:2),t=Math.abs(t),u&&n.length>t&&(n=n.substring(0,t)),t+1>=n.length)switch(r){case 2:n=Array(t+1-n.length).join(i)+n;break;case 3:var f=t-n.length,e=Math.ceil(f/2),o=f-e;n=Array(o+1).join(i)+n+Array(e+1).join(i);break;case 1:default:n=n+Array(t+1-n.length).join(i)}return n},startsWith:function(n,t){return t.length?t.length>n.length?!1:System.String.equals(n.slice(0,t.length),t,arguments[2]):!0},endsWith:function(n,t){return t.length?t.length>n.length?!1:System.String.equals(n.slice(n.length-t.length,n.length),t,arguments[2]):!0},contains:function(n,t){if(t==null)throw new System.ArgumentNullException;return n==null?!1:n.indexOf(t)>-1},indexOfAny:function(n,t){var i,r,e,u,o,f;if(t==null)throw new System.ArgumentNullException;if(n==null||n==="")return-1;if(i=arguments.length>2?arguments[2]:0,i<0)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","startIndex cannot be less than zero");if(r=arguments.length>3?arguments[3]:n.length-i,r<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","must be non-negative");if(r>n.length-i)throw new System.ArgumentOutOfRangeException.$ctor4("length","Index and length must refer to a location within the string");for(e=n.substr(i,r),u=0;u-1)return f+i;return-1},indexOf:function(n,t){var i,u,f,r;if(t==null)throw new System.ArgumentNullException;if(n==null||n==="")return-1;if(i=arguments.length>2?arguments[2]:0,i<0||i>n.length)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","startIndex cannot be less than zero and must refer to a location within the string");if(t==="")return arguments.length>2?i:0;if(u=arguments.length>3?arguments[3]:n.length-i,u<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","must be non-negative");if(u>n.length-i)throw new System.ArgumentOutOfRangeException.$ctor4("length","Index and length must refer to a location within the string");return(f=n.substr(i,u),r=arguments.length===5&&arguments[4]%2!=0?f.toLocaleUpperCase().indexOf(t.toLocaleUpperCase()):f.indexOf(t),r>-1)?arguments.length===5?System.String.compare(t,f.substr(r,t.length),arguments[4])===0?r+i:-1:r+i:-1},equals:function(){return System.String.compare.apply(this,arguments)===0},compare:function(n,t){if(n==null)return t==null?0:-1;if(t==null)return 1;if(arguments.length>=3)if(Bridge.isBoolean(arguments[2])){if(arguments[2]&&(n=n.toLocaleUpperCase(),t=t.toLocaleUpperCase()),arguments.length===4)return n.localeCompare(t,arguments[3].name)}else switch(arguments[2]){case 1:return n.localeCompare(t,System.Globalization.CultureInfo.getCurrentCulture().name,{sensitivity:"accent"});case 2:return n.localeCompare(t,System.Globalization.CultureInfo.invariantCulture.name);case 3:return n.localeCompare(t,System.Globalization.CultureInfo.invariantCulture.name,{sensitivity:"accent"});case 4:return n===t?0:n>t?1:-1;case 5:return n.toUpperCase()===t.toUpperCase()?0:n.toUpperCase()>t.toUpperCase()?1:-1}return n.localeCompare(t)},toCharArray:function(n,t,i){var u,r;if(t<0||t>n.length||t>n.length-i)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","startIndex cannot be less than zero and must refer to a location within the string");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","must be non-negative");for(Bridge.hasValue(t)||(t=0),Bridge.hasValue(i)||(i=n.length),u=[],r=t;r0?t.substring(0,n)+i+t.substring(n,t.length):i+t},remove:function(n,t,i){if(n==null)throw new System.NullReferenceException;if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","StartIndex cannot be less than zero");if(i!=null){if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","Count cannot be less than zero");if(i>n.length-t)throw new System.ArgumentOutOfRangeException.$ctor4("count","Index and count must refer to a location within the string");}else if(t>=n.length)throw new System.ArgumentOutOfRangeException.$ctor4("startIndex","startIndex must be less than length of string");return i==null||t+i>n.length?n.substr(0,t):n.substr(0,t)+n.substr(t+i)},split:function(n,t,i,r){for(var o=!Bridge.hasValue(t)||t.length===0?new RegExp("\\s","g"):new RegExp(t.map(System.String.escape).join("|"),"g"),f=[],e,u=0;;u=o.lastIndex)if(e=o.exec(n)){if(r!==1||e.index>u){if(f.length===i-1)return f.push(n.substr(u)),f;f.push(n.substring(u,e.index))}}else return(r!==1||u!==n.length)&&f.push(n.substr(u)),f},trimEnd:function(n,t){return n.replace(t?new RegExp("["+System.String.escape(String.fromCharCode.apply(null,t))+"]+$"):/\s*$/,"")},trimStart:function(n,t){return n.replace(t?new RegExp("^["+System.String.escape(String.fromCharCode.apply(null,t))+"]+"):/^\s*/,"")},trim:function(n,t){return System.String.trimStart(System.String.trimEnd(n,t),t)},trimStartZeros:function(n){return n.replace(new RegExp("^[ 0+]+(?=.)"),"")},concat:function(n){for(var i=arguments.length==1&&Array.isArray(n)?n:[].slice.call(arguments),r="",t=0;tn.length-t)throw new System.ArgumentOutOfRangeException.$ctor1("sourceIndex");if(r>i.length-u||r<0)throw new System.ArgumentOutOfRangeException.$ctor1("destinationIndex");if(u>0)for(var f=0;f0?t.setException(u):e?t.setCanceled():t.setResult(r))})})(i);return t.task},whenAny:function(n){if(Bridge.is(n,System.Collections.IEnumerable)?n=Bridge.toArray(n):Bridge.isArray(n)||(n=Array.prototype.slice.call(arguments,0)),!n.length)throw new System.ArgumentException.$ctor1("At least one task is required");for(var t=new System.Threading.Tasks.TaskCompletionSource,i=0;i=0?n:arguments.length+n]}}(t):typeof t!="function"&&(t=function(){return Array.prototype.slice.call(arguments,0)}),n.then(function(){u.setResult(t?t.apply(null,arguments):Array.prototype.slice.call(arguments,0))},function(){u.setException(i?i.apply(null,arguments):new Bridge.PromiseException(Array.prototype.slice.call(arguments,0)))},r),u.task}},continueWith:function(n,t){var i=new System.Threading.Tasks.TaskCompletionSource,r=this,u=t?function(){i.setResult(n(r))}:function(){try{i.setResult(n(r))}catch(t){i.setException(System.Exception.create(t))}};return this.isCompleted()?(System.Threading.Tasks.Task.queue.push(u),System.Threading.Tasks.Task.runQueue()):this.callbacks.push(u),i.task},start:function(){if(this.status!==System.Threading.Tasks.TaskStatus.created)throw new System.InvalidOperationException.$ctor1("Task was already started.");var n=this;this.status=System.Threading.Tasks.TaskStatus.running;System.Threading.Tasks.Task.schedule(function(){try{var t=n.action(n.state);delete n.action;delete n.state;n.complete(t)}catch(i){n.fail(new System.AggregateException(null,[System.Exception.create(i)]))}})},runCallbacks:function(){for(var n=this,t=0;t0?this.exception.innerExceptions.getItem(0):null:this.exception;default:throw new System.InvalidOperationException.$ctor1("Task is not yet completed.");}},getResult:function(){return this._getResult(!1)},dispose:function(){},getAwaiter:function(){return this},getAwaitedResult:function(){return this._getResult(!0)}});Bridge.define("System.Threading.Tasks.Task$1",function(){return{inherits:[System.Threading.Tasks.Task],ctor:function(n,t){this.$initialize();System.Threading.Tasks.Task.ctor.call(this,n,t)}}});Bridge.define("System.Threading.Tasks.TaskStatus",{$kind:"enum",$statics:{created:0,waitingForActivation:1,waitingToRun:2,running:3,waitingForChildrenToComplete:4,ranToCompletion:5,canceled:6,faulted:7}});Bridge.define("System.Threading.Tasks.TaskCompletionSource",{ctor:function(){this.$initialize();this.task=new System.Threading.Tasks.Task;this.task.status=System.Threading.Tasks.TaskStatus.running},setCanceled:function(){if(!this.task.cancel())throw new System.InvalidOperationException.$ctor1("Task was already completed.");},setResult:function(n){if(!this.task.complete(n))throw new System.InvalidOperationException.$ctor1("Task was already completed.");},setException:function(n){if(!this.trySetException(n))throw new System.InvalidOperationException.$ctor1("Task was already completed.");},trySetCanceled:function(){return this.task.cancel()},trySetResult:function(n){return this.task.complete(n)},trySetException:function(n){return Bridge.is(n,System.Exception)&&(n=[n]),this.task.fail(new System.AggregateException(null,n))}});Bridge.define("System.Threading.CancellationTokenSource",{inherits:[System.IDisposable],config:{alias:["dispose","System$IDisposable$Dispose"]},ctor:function(n){this.$initialize();this.timeout=typeof n=="number"&&n>=0?setTimeout(Bridge.fn.bind(this,this.cancel),n,-1):null;this.isCancellationRequested=!1;this.token=new System.Threading.CancellationToken(this);this.handlers=[]},cancel:function(n){var i,r,t;if(!this.isCancellationRequested){for(this.isCancellationRequested=!0,i=[],r=this.handlers,this.clean(),t=0;t0&&n!==-1)throw new System.AggregateException(null,i);}},cancelAfter:function(n){this.isCancellationRequested||(this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(Bridge.fn.bind(this,this.cancel),n,-1))},register:function(n,t){if(this.isCancellationRequested)return n(t),new System.Threading.CancellationTokenRegistration;var i={f:n,s:t};return this.handlers.push(i),new System.Threading.CancellationTokenRegistration(this,i)},deregister:function(n){var t=this.handlers.indexOf(n);t>=0&&this.handlers.splice(t,1)},dispose:function(){this.clean()},clean:function(){if(this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.handlers=[],this.links){for(var n=0;n19)return!1;r=/[^0-9 \-]+/;e=!0}if(!r.test(n))return!1;for(n=n.split(e?"-":/[- ]/).join(""),u=0,i=2-n.length%2;i<=n.length;i+=2)u+=parseInt(n.charAt(i-1));for(i=n.length%2+1;i0}}});Bridge.define("System.SerializableAttribute",{inherits:[System.Attribute],ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)}}});Bridge.define("System.ComponentModel.INotifyPropertyChanged",{$kind:"interface"});Bridge.define("System.ComponentModel.PropertyChangedEventArgs",{ctor:function(n,t,i){this.$initialize();this.propertyName=n;this.newValue=t;this.oldValue=i}});t={};t.convert={typeCodes:{Empty:0,Object:1,DBNull:2,Boolean:3,Char:4,SByte:5,Byte:6,Int16:7,UInt16:8,Int32:9,UInt32:10,Int64:11,UInt64:12,Single:13,Double:14,Decimal:15,DateTime:16,String:18},toBoolean:function(n,i){var r,u;n=Bridge.unbox(n,!0);switch(typeof n){case"boolean":return n;case"number":return n!==0;case"string":if(r=n.toLowerCase().trim(),r==="true")return!0;if(r==="false")return!1;throw new System.FormatException.$ctor1("String was not recognized as a valid Boolean.");case"object":if(n==null)return!1;if(n instanceof System.Decimal)return!n.isZero();if(System.Int64.is64Bit(n))return n.ne(0)}return u=t.internal.suggestTypeCode(n),t.internal.throwInvalidCastEx(u,t.convert.typeCodes.Boolean),t.convert.convertToType(t.convert.typeCodes.Boolean,n,i||null)},toChar:function(n,i,r){var u=t.convert.typeCodes,o=Bridge.is(n,System.Char),f,e;if(n=Bridge.unbox(n,!0),n instanceof System.Decimal&&(n=n.toFloat()),(n instanceof System.Int64||n instanceof System.UInt64)&&(n=n.toNumber()),f=typeof n,r=r||t.internal.suggestTypeCode(n),r===u.String&&n==null&&(f="string"),r!==u.Object||o)switch(f){case"boolean":t.internal.throwInvalidCastEx(u.Boolean,u.Char);case"number":return e=t.internal.isFloatingType(r),(e||n%1!=0)&&t.internal.throwInvalidCastEx(r,u.Char),t.internal.validateNumberRange(n,u.Char,!0),n;case"string":if(n==null)throw new System.ArgumentNullException.$ctor1("value");if(n.length!==1)throw new System.FormatException.$ctor1("String must be exactly one character long.");return n.charCodeAt(0)}if(r===u.Object||f==="object"){if(n==null)return 0;Bridge.isDate(n)&&t.internal.throwInvalidCastEx(u.DateTime,u.Char)}return t.internal.throwInvalidCastEx(r,t.convert.typeCodes.Char),t.convert.convertToType(u.Char,n,i||null)},toSByte:function(n,i,r){return t.internal.toNumber(n,i||null,t.convert.typeCodes.SByte,r||null)},toByte:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Byte)},toInt16:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Int16)},toUInt16:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.UInt16)},toInt32:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Int32)},toUInt32:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.UInt32)},toInt64:function(n,i){var r=t.internal.toNumber(n,i||null,t.convert.typeCodes.Int64);return new System.Int64(r)},toUInt64:function(n,i){var r=t.internal.toNumber(n,i||null,t.convert.typeCodes.UInt64);return new System.UInt64(r)},toSingle:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Single)},toDouble:function(n,i){return t.internal.toNumber(n,i||null,t.convert.typeCodes.Double)},toDecimal:function(n,i){return n instanceof System.Decimal?n:new System.Decimal(t.internal.toNumber(n,i||null,t.convert.typeCodes.Decimal))},toDateTime:function(n,i){var r=t.convert.typeCodes,u,f;n=Bridge.unbox(n,!0);switch(typeof n){case"boolean":t.internal.throwInvalidCastEx(r.Boolean,r.DateTime);case"number":u=t.internal.suggestTypeCode(n);t.internal.throwInvalidCastEx(u,r.DateTime);case"string":return System.DateTime.parse(n,i||null);case"object":if(n==null)return t.internal.getMinValue(r.DateTime);if(Bridge.isDate(n))return n;n instanceof System.Decimal&&t.internal.throwInvalidCastEx(r.Decimal,r.DateTime);n instanceof System.Int64&&t.internal.throwInvalidCastEx(r.Int64,r.DateTime);n instanceof System.UInt64&&t.internal.throwInvalidCastEx(r.UInt64,r.DateTime)}return f=t.internal.suggestTypeCode(n),t.internal.throwInvalidCastEx(f,t.convert.typeCodes.DateTime),t.convert.convertToType(r.DateTime,n,i||null)},toString:function(n,i,r){var u,f;if(n&&n.$boxed)return n.toString();u=t.convert.typeCodes;f=typeof n;switch(f){case"boolean":return n?"True":"False";case"number":return(r||null)===u.Char?String.fromCharCode(n):isNaN(n)?"NaN":(n%1!=0&&(n=parseFloat(n.toPrecision(15))),n.toString());case"string":return n;case"object":return n==null?"":n.toString!==Object.prototype.toString?n.toString():Bridge.isDate(n)?System.DateTime.format(n,null,i||null):n instanceof System.Decimal?n.isInteger()?n.toFixed(0,4):n.toPrecision(n.precision()):System.Int64.is64Bit(n)?n.toString():n.format?n.format(null,i||null):Bridge.getTypeName(n)}return t.convert.convertToType(t.convert.typeCodes.String,n,i||null)},toNumberInBase:function(n,i,r){var h,o,v,c,b,y,p,u,k,s,e,d;if(i!==2&&i!==8&&i!==10&&i!==16)throw new System.ArgumentException.$ctor1("Invalid Base.");if(h=t.convert.typeCodes,n==null)return r===h.Int64?System.Int64.Zero:r===h.UInt64?System.UInt64.Zero:0;if(n.length===0)throw new System.ArgumentOutOfRangeException.$ctor4("length","Index was out of range. Must be non-negative and less than the size of the collection.");n=n.toLowerCase();var l=t.internal.getMinValue(r),a=t.internal.getMaxValue(r),w=!1,f=0;if(n[f]==="-"){if(i!==10)throw new System.ArgumentException.$ctor1("String cannot contain a minus sign if the base is not 10.");if(l>=0)throw new System.OverflowException.$ctor1("The string was being parsed as an unsigned number and could not have a negative sign.");w=!0;++f}else n[f]==="+"&&++f;if(i===16&&n.length>=2&&n[f]==="0"&&n[f+1]==="x"&&(f+=2),i===2)o=t.internal.charsToCodes("01");else if(i===8)o=t.internal.charsToCodes("01234567");else if(i===10)o=t.internal.charsToCodes("0123456789");else if(i===16)o=t.internal.charsToCodes("0123456789abcdef");else throw new System.ArgumentException.$ctor1("Invalid Base.");for(v={},c=0;c=y&&s<=p))if(e===f)throw new System.FormatException.$ctor1("Could not find any recognizable digits.");else throw new System.FormatException.$ctor1("Additional non-parsable characters are at the end of the string.");if(d=r===h.Int64,u=d?new System.Int64(Bridge.$Long.fromString(n,!1,i)):new System.UInt64(Bridge.$Long.fromString(n,!0,i)),u.toString(i)!==System.String.trimStartZeros(n))throw new System.OverflowException.$ctor1("Value was either too large or too small.");return u}for(u=0,k=a-l+1,e=f;e=y&&s<=p){if(u*=i,u+=v[s],u>t.internal.typeRanges.Int64_MaxValue)throw new System.OverflowException.$ctor1("Value was either too large or too small.");}else if(e===f)throw new System.FormatException.$ctor1("Could not find any recognizable digits.");else throw new System.FormatException.$ctor1("Additional non-parsable characters are at the end of the string.");if(w&&(u*=-1),u>a&&i!==10&&l<0&&(u=u-k),ua)throw new System.OverflowException.$ctor1("Value was either too large or too small.");return u},toStringInBase:function(n,i,r){var w=t.convert.typeCodes,v,e,h,y,p,o,u,f,c;if(n=Bridge.unbox(n,!0),i!==2&&i!==8&&i!==10&&i!==16)throw new System.ArgumentException.$ctor1("Invalid Base.");var l=t.internal.getMinValue(r),a=t.internal.getMaxValue(r),s=System.Int64.is64Bit(n);if(s){if(n.lt(l)||n.gt(a))throw new System.OverflowException.$ctor1("Value was either too large or too small for an unsigned byte.");}else if(na)throw new System.OverflowException.$ctor1("Value was either too large or too small for an unsigned byte.");if(v=!1,s)return i===10?n.toString():n.value.toUnsigned().toString(i);if(n<0&&(i===10?(v=!0,n*=-1):n=a+1-l+n),i===2)e="01";else if(i===8)e="01234567";else if(i===10)e="0123456789";else if(i===16)e="0123456789abcdef";else throw new System.ArgumentException.$ctor1("Invalid Base.");for(h={},y=e.split(""),o=0;o0)f=n%i,n=(n-f)/i,c=h[f],u+=c;return v&&(u+="-"),u.split("").reverse().join("")},toBase64String:function(n,i,r,u){var f;if(n==null)throw new System.ArgumentNullException.$ctor1("inArray");if(i=i||0,r=r!=null?r:n.length,u=u||0,r<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("offset","Value must be positive.");if(u<0||u>1)throw new System.ArgumentException.$ctor1("Illegal enum value.");if(f=n.length,i>f-r)throw new System.ArgumentOutOfRangeException.$ctor4("offset","Offset and length must refer to a position in the string.");if(f===0)return"";var o=u===1,s=t.internal.toBase64_CalculateAndValidateOutputLength(r,o),e=[];return e.length=s,t.internal.convertToBase64Array(e,n,i,r,o),e.join("")},toBase64CharArray:function(n,i,r,u,f,e){var o,s,c;if(n==null)throw new System.ArgumentNullException.$ctor1("inArray");if(u==null)throw new System.ArgumentNullException.$ctor1("outArray");if(r<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("offsetIn","Value must be positive.");if(f<0)throw new System.ArgumentOutOfRangeException.$ctor4("offsetOut","Value must be positive.");if(e=e||0,e<0||e>1)throw new System.ArgumentException.$ctor1("Illegal enum value.");if(o=n.length,i>o-r)throw new System.ArgumentOutOfRangeException.$ctor4("offsetIn","Offset and length must refer to a position in the string.");if(o===0)return 0;var h=e===1,l=u.length,a=t.internal.toBase64_CalculateAndValidateOutputLength(r,h);if(f>l-a)throw new System.ArgumentOutOfRangeException.$ctor4("offsetOut","Either offset did not refer to a position in the string, or there is an insufficient length of destination character array.");return s=[],c=t.internal.convertToBase64Array(s,n,i,r,h),t.internal.charsToCodes(s,u,f),c},fromBase64String:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("s");var i=n.split("");return t.internal.fromBase64CharPtr(i,0,i.length)},fromBase64CharArray:function(n,i,r){if(n==null)throw new System.ArgumentNullException.$ctor1("inArray");if(r<0)throw new System.ArgumentOutOfRangeException.$ctor4("length","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("offset","Value must be positive.");if(i>n.length-r)throw new System.ArgumentOutOfRangeException.$ctor4("offset","Offset and length must refer to a position in the string.");var u=t.internal.codesToChars(n);return t.internal.fromBase64CharPtr(u,i,r)},convertToType:function(){throw new System.NotSupportedException.$ctor1("IConvertible interface is not supported.");}};t.internal={base64Table:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","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","+","/","="],typeRanges:{Char_MinValue:0,Char_MaxValue:65535,Byte_MinValue:0,Byte_MaxValue:255,SByte_MinValue:-128,SByte_MaxValue:127,Int16_MinValue:-32768,Int16_MaxValue:32767,UInt16_MinValue:0,UInt16_MaxValue:65535,Int32_MinValue:-2147483648,Int32_MaxValue:2147483647,UInt32_MinValue:0,UInt32_MaxValue:4294967295,Int64_MinValue:System.Int64.MinValue,Int64_MaxValue:System.Int64.MaxValue,UInt64_MinValue:System.UInt64.MinValue,UInt64_MaxValue:System.UInt64.MaxValue,Single_MinValue:-340282347e30,Single_MaxValue:340282347e30,Double_MinValue:-17976931348623157e292,Double_MaxValue:17976931348623157e292,Decimal_MinValue:System.Decimal.MinValue,Decimal_MaxValue:System.Decimal.MaxValue},base64LineBreakPosition:76,getTypeCodeName:function(n){var r=t.convert.typeCodes,u,i,e,f;if(t.internal.typeCodeNames==null){u={};for(i in r)r.hasOwnProperty(i)&&(e=r[i],u[e]=i);t.internal.typeCodeNames=u}if(f=t.internal.typeCodeNames[n],f==null)throw System.ArgumentOutOfRangeException("typeCode","The specified typeCode is undefined.");return f},suggestTypeCode:function(n){var i=t.convert.typeCodes,r=typeof n;switch(r){case"boolean":return i.Boolean;case"number":return n%1!=0?i.Double:i.Int32;case"string":return i.String;case"object":if(Bridge.isDate(n))return i.DateTime;if(n!=null)return i.Object}return null},getMinValue:function(n){var i=t.convert.typeCodes;switch(n){case i.Char:return t.internal.typeRanges.Char_MinValue;case i.SByte:return t.internal.typeRanges.SByte_MinValue;case i.Byte:return t.internal.typeRanges.Byte_MinValue;case i.Int16:return t.internal.typeRanges.Int16_MinValue;case i.UInt16:return t.internal.typeRanges.UInt16_MinValue;case i.Int32:return t.internal.typeRanges.Int32_MinValue;case i.UInt32:return t.internal.typeRanges.UInt32_MinValue;case i.Int64:return t.internal.typeRanges.Int64_MinValue;case i.UInt64:return t.internal.typeRanges.UInt64_MinValue;case i.Single:return t.internal.typeRanges.Single_MinValue;case i.Double:return t.internal.typeRanges.Double_MinValue;case i.Decimal:return t.internal.typeRanges.Decimal_MinValue;case i.DateTime:return System.DateTime.getMinValue();default:return null}},getMaxValue:function(n){var i=t.convert.typeCodes;switch(n){case i.Char:return t.internal.typeRanges.Char_MaxValue;case i.SByte:return t.internal.typeRanges.SByte_MaxValue;case i.Byte:return t.internal.typeRanges.Byte_MaxValue;case i.Int16:return t.internal.typeRanges.Int16_MaxValue;case i.UInt16:return t.internal.typeRanges.UInt16_MaxValue;case i.Int32:return t.internal.typeRanges.Int32_MaxValue;case i.UInt32:return t.internal.typeRanges.UInt32_MaxValue;case i.Int64:return t.internal.typeRanges.Int64_MaxValue;case i.UInt64:return t.internal.typeRanges.UInt64_MaxValue;case i.Single:return t.internal.typeRanges.Single_MaxValue;case i.Double:return t.internal.typeRanges.Double_MaxValue;case i.Decimal:return t.internal.typeRanges.Decimal_MaxValue;case i.DateTime:return System.DateTime.getMaxValue();default:throw new System.ArgumentOutOfRangeException.$ctor4("typeCode","The specified typeCode is undefined.");}},isFloatingType:function(n){var i=t.convert.typeCodes;return n===i.Single||n===i.Double||n===i.Decimal},toNumber:function(n,i,r,u){var h,c,s;n=Bridge.unbox(n,!0);var f=t.convert.typeCodes,e=typeof n,o=t.internal.isFloatingType(r);u===f.String&&(e="string");(System.Int64.is64Bit(n)||n instanceof System.Decimal)&&(e="number");switch(e){case"boolean":return n?1:0;case"number":return r===f.Decimal?(t.internal.validateNumberRange(n,r,!0),new System.Decimal(n,i)):r===f.Int64?(t.internal.validateNumberRange(n,r,!0),new System.Int64(n)):r===f.UInt64?(t.internal.validateNumberRange(n,r,!0),new System.UInt64(n)):(System.Int64.is64Bit(n)?n=n.toNumber():n instanceof System.Decimal&&(n=n.toFloat()),o||n%1==0||(n=t.internal.roundToInt(n,r)),o&&(h=t.internal.getMinValue(r),c=t.internal.getMaxValue(r),n>c?n=Infinity:nn||o.toNumber()n||o.toNumber()o)&&this.throwOverflow(f))},throwOverflow:function(n){throw new System.OverflowException.$ctor1("Value was either too large or too small for '"+n+"'.");},roundToInt:function(n,i){var r,f;if(n%1==0)return n;r=n>=0?Math.floor(n):-1*Math.floor(-n);var u=n-r,e=t.internal.getMinValue(i),o=t.internal.getMaxValue(i);if(n>=0){if(n.5||u===.5&&(r&1)!=0)&&++r,r}else if(n>=e-.5)return(u<-.5||u===-.5&&(r&1)!=0)&&--r,r;f=t.internal.getTypeCodeName(i);throw new System.OverflowException.$ctor1("Value was either too large or too small for an '"+f+"'.");},toBase64_CalculateAndValidateOutputLength:function(n,i){var f=t.internal.base64LineBreakPosition,r=~~(n/3)*4,u;if(r+=n%3!=0?4:0,r===0)return 0;if(i&&(u=~~(r/f),r%f==0&&--u,r+=u*2),r>2147483647)throw new System.OutOfMemoryException;return r},convertToBase64Array:function(n,i,r,u,f){for(var s=t.internal.base64Table,a=t.internal.base64LineBreakPosition,c=u%3,l=r+(u-c),h=0,e=0,o=r;o>2],n[e+1]=s[(i[o]&3)<<4|(i[o+1]&240)>>4],n[e+2]=s[(i[o+1]&15)<<2|(i[o+2]&192)>>6],n[e+3]=s[i[o+2]&63],e+=4;o=l;f&&c!==0&&h===t.internal.base64LineBreakPosition&&(n[e++]="\r",n[e++]="\n");switch(c){case 2:n[e]=s[(i[o]&252)>>2];n[e+1]=s[(i[o]&3)<<4|(i[o+1]&240)>>4];n[e+2]=s[(i[o+1]&15)<<2];n[e+3]=s[64];e+=4;break;case 1:n[e]=s[(i[o]&252)>>2];n[e+1]=s[(i[o]&3)<<4];n[e+2]=s[64];n[e+3]=s[64];e+=4}return e},fromBase64CharPtr:function(n,i,r){var u,f,e;if(r<0)throw new System.ArgumentOutOfRangeException.$ctor4("inputLength","Index was out of range. Must be non-negative and less than the size of the collection.");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("offset","Value must be positive.");while(r>0){if(u=n[i+r-1],u!==" "&&u!=="\n"&&u!=="\r"&&u!=="\t")break;r--}if(f=t.internal.fromBase64_ComputeResultLength(n,i,r),0>f)throw new System.InvalidOperationException.$ctor1("Contract voilation: 0 <= resultLength.");return e=[],e.length=f,t.internal.fromBase64_Decode(n,i,r,e,0,f),e},fromBase64_Decode:function(n,t,i,r,u,f){for(var k=u,a="A".charCodeAt(0),v="a".charCodeAt(0),y="0".charCodeAt(0),p="=".charCodeAt(0),d="+".charCodeAt(0),g="/".charCodeAt(0),nt=" ".charCodeAt(0),tt="\t".charCodeAt(0),it="\n".charCodeAt(0),rt="\r".charCodeAt(0),w="Z".charCodeAt(0)-"A".charCodeAt(0),ut="9".charCodeAt(0)-"0".charCodeAt(0),h=t+i,l=u+f,o,e=255,b=!1,c=!1,s;;){if(t>=h){b=!0;break}if(o=n[t].charCodeAt(0),t++,o-a>>>0<=w)o-=a;else if(o-v>>>0<=w)o-=v-26;else if(o-y>>>0<=ut)o-=y-52;else switch(o){case d:o=62;break;case g:o=63;break;case rt:case it:case nt:case tt:continue;case p:c=!0;break;default:throw new System.FormatException.$ctor1("The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.");}if(c)break;if(e=e<<6|o,(e&2147483648)!=0){if(l-u<3)return-1;r[u]=255&e>>16;r[u+1]=255&e>>8;r[u+2]=255&e;u+=3;e=255}}if(!b&&!c)throw new System.InvalidOperationException.$ctor1("Contract violation: should never get here.");if(c){if(o!==p)throw new System.InvalidOperationException.$ctor1("Contract violation: currCode == intEq.");if(t===h){if(e<<=6,(e&2147483648)==0)throw new System.FormatException.$ctor1("Invalid length for a Base-64 char array or string.");if(l-u<2)return-1;r[u]=255&e>>16;r[u+1]=255&e>>8;u+=2;e=255}else{while(t>16;u++;e=255}else throw new System.FormatException.$ctor1("The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.");}}if(e!==255)throw new System.FormatException.$ctor1("Invalid length for a Base-64 char array or string.");return u-k},fromBase64_ComputeResultLength:function(n,t,i){var f;if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("inputLength","Index was out of range. Must be non-negative and less than the size of the collection.");for(var e=t+i,u=i,r=0;tu)throw new System.InvalidOperationException.$ctor1("Contract violation: 0 <= usefulInputLength.");if(0>r)throw new System.InvalidOperationException.$ctor1("Contract violation: 0 <= padding.");if(r!==0)if(r===1)r=2;else if(r===2)r=1;else throw new System.FormatException.$ctor1("The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.");return~~(u/4)*3+r},charsToCodes:function(n,t,i){if(n==null)return null;i=i||0;t==null&&(t=[],t.length=n.length);for(var r=0;r-1)throw new System.ArgumentException.$ctor1("Socket cannot have duplicate sub-protocols.","subProtocol");this.requestedSubProtocols.push(n)}});Bridge.define("System.Net.WebSockets.WebSocketReceiveResult",{ctor:function(n,t,i,r,u){this.$initialize();this.count=n;this.messageType=t;this.endOfMessage=i;this.closeStatus=r;this.closeStatusDescription=u},getCount:function(){return this.count},getMessageType:function(){return this.messageType},getEndOfMessage:function(){return this.endOfMessage},getCloseStatus:function(){return this.closeStatus},getCloseStatusDescription:function(){return this.closeStatusDescription}});Bridge.assembly("System",{},function(){Bridge.define("System.Uri",{statics:{methods:{equals:function(n,t){return n==t?!0:n==null||t==null?!1:t.equals(n)},notEquals:function(n,t){return!System.Uri.equals(n,t)}}},ctor:function(n){this.$initialize();this.absoluteUri=n},getAbsoluteUri:function(){return this.absoluteUri},toJSON:function(){return this.absoluteUri},toString:function(){return this.absoluteUri},equals:function(n){return n==null||!Bridge.is(n,System.Uri)?!1:this.absoluteUri===n.absoluteUri}})},!0);Bridge.define("Bridge.GeneratorEnumerable",{inherits:[System.Collections.IEnumerable],config:{alias:["GetEnumerator","System$Collections$IEnumerable$GetEnumerator"]},ctor:function(n){this.$initialize();this.GetEnumerator=n;this.System$Collections$IEnumerable$GetEnumerator=n}});Bridge.define("Bridge.GeneratorEnumerable$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n)],config:{alias:["GetEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator","System$Collections$Generic$IEnumerable$1$GetEnumerator"]]},ctor:function(t){this.$initialize();this.GetEnumerator=t;this["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator"]=t;this.System$Collections$Generic$IEnumerable$1$GetEnumerator=t}}});Bridge.define("Bridge.GeneratorEnumerator",{inherits:[System.Collections.IEnumerator],current:null,config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},ctor:function(n){this.$initialize();this.moveNext=n;this.System$Collections$IEnumerator$moveNext=n},getCurrent:function(){return this.current},getCurrent$1:function(){return this.current},reset:function(){throw new System.NotSupportedException;}});Bridge.define("Bridge.GeneratorEnumerator$1",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n),System.IDisposable],current:null,config:{properties:{Current:{get:function(){return this.getCurrent()}},Current$1:{get:function(){return this.getCurrent()}}},alias:["getCurrent",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$getCurrent$1","System$Collections$Generic$IEnumerator$1$getCurrent$1"],"Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"],"Current","System$Collections$IEnumerator$Current","Dispose","System$IDisposable$Dispose","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset"]},ctor:function(n,t){this.$initialize();this.moveNext=n;this.System$Collections$IEnumerator$moveNext=n;this.final=t},getCurrent:function(){return this.current},getCurrent$1:function(){return this.current},System$Collections$IEnumerator$getCurrent:function(){return this.current},Dispose:function(){this.final&&this.final()},reset:function(){throw new System.NotSupportedException;}}}),function(n,t){var f={Identity:function(n){return n},True:function(){return!0},Blank:function(){}},o={Boolean:"boolean",Number:"number",String:"string",Object:"object",Undefined:typeof t,Function:typeof function(){}},w={"":f.Identity},r={createLambda:function(n){var t,l,i,a,u,e,r,s,h,v,c;if(n==null)return f.Identity;if(typeof n===o.String){if(t=w[n],t!=null)return t;if(n.indexOf("=>")===-1){for(l=new RegExp("[$]+","g"),i=0;(a=l.exec(n))!=null;)u=a[0].length,u>i&&(i=u);for(e=[],r=1;r<=i;r++){for(s="",h=0;h(.*)/),t=new Function(c[1],"return "+c[2]),w[n]=t,t}return n},isIEnumerable:function(n){if(typeof Enumerator!==o.Undefined)try{return new Enumerator(n),!0}catch(t){}return!1},defineProperty:Object.defineProperties!=null?function(n,t,i){Object.defineProperty(n,t,{enumerable:!1,configurable:!0,writable:!0,value:i})}:function(n,t,i){n[t]=i},compare:function(n,t){return n===t?0:n>t?1:-1},Dispose:function(n){n!=null&&n.Dispose()}},a={Before:0,Running:1,After:2},u=function(n,t,i){var u=new b,r=a.Before;this.getCurrent=u.getCurrent;this.reset=function(){throw new Error("Reset is not supported");};this.moveNext=function(){try{switch(r){case a.Before:r=a.Running;n();case a.Running:return t.apply(u)?!0:(this.Dispose(),!1);case a.After:return!1}}catch(i){this.Dispose();throw i;}};this.Dispose=function(){if(r==a.Running)try{i()}finally{r=a.After}};this.System$IDisposable$Dispose=this.Dispose;this.getCurrent$1=this.getCurrent;this.System$Collections$IEnumerator$getCurrent=this.getCurrent;this.System$Collections$IEnumerator$moveNext=this.moveNext;this.System$Collections$IEnumerator$reset=this.reset;Object.defineProperties(this,{Current$1:{get:this.getCurrent,enumerable:!0},Current:{get:this.getCurrent,enumerable:!0},System$Collections$IEnumerator$Current:{get:this.getCurrent,enumerable:!0}})},b,i,k,s,v,p,e,c,l,y,h;u.$$inherits=[];Bridge.Class.addExtend(u,[System.IDisposable,System.Collections.IEnumerator]);b=function(){var n=null;this.getCurrent=function(){return n};this.yieldReturn=function(t){return n=t,!0};this.yieldBreak=function(){return!1}};i=function(n){this.GetEnumerator=n};i.$$inherits=[];Bridge.Class.addExtend(i,[System.Collections.IEnumerable]);i.Utils={};i.Utils.createLambda=function(n){return r.createLambda(n)};i.Utils.createEnumerable=function(n){return new i(n)};i.Utils.createEnumerator=function(n,t,i){return new u(n,t,i)};i.Utils.extendTo=function(n){var u=n.prototype,o,t,f;n===Array?(o=e.prototype,r.defineProperty(u,"getSource",function(){return this})):(o=i.prototype,r.defineProperty(u,"GetEnumerator",function(){return i.from(this).GetEnumerator()}));for(t in o)(f=o[t],u[t]!=f)&&(u[t]==null||(t=t+"ByLinq",u[t]!=f))&&f instanceof Function&&r.defineProperty(u,t,f)};i.choice=function(){var n=arguments;return new i(function(){return new u(function(){n=n[0]instanceof Array?n[0]:n[0].GetEnumerator!=null?n[0].ToArray():n},function(){return this.yieldReturn(n[Math.floor(Math.random()*n.length)])},f.Blank)})};i.cycle=function(){var n=arguments;return new i(function(){var t=0;return new u(function(){n=n[0]instanceof Array?n[0]:n[0].GetEnumerator!=null?n[0].ToArray():n},function(){return t>=n.length&&(t=0),this.yieldReturn(n[t++])},f.Blank)})};k=new i(function(){return new u(f.Blank,function(){return!1},f.Blank)});i.empty=function(){return k};i.from=function(n){if(n==null)return i.empty();if(n instanceof i)return n;if(typeof n==o.Number||typeof n==o.Boolean)return i.repeat(n,1);if(typeof n==o.String)return new i(function(){var t=0;return new u(f.Blank,function(){return t=t?this.yieldReturn(n):this.yieldBreak()},f.Blank)})};i.repeat=function(n,t){return t!=null?i.repeat(n).take(t):new i(function(){return new u(f.Blank,function(){return this.yieldReturn(n)},f.Blank)})};i.repeatWithFinalize=function(n,t){return n=r.createLambda(n),t=r.createLambda(t),new i(function(){var i;return new u(function(){i=n()},function(){return this.yieldReturn(i)},function(){i!=null&&(t(i),i=null)})})};i.generate=function(n,t){return t!=null?i.generate(n).take(t):(n=r.createLambda(n),new i(function(){return new u(f.Blank,function(){return this.yieldReturn(n())},f.Blank)}))};i.toInfinity=function(n,t){return n==null&&(n=0),t==null&&(t=1),new i(function(){var i;return new u(function(){i=n-t},function(){return this.yieldReturn(i+=t)},f.Blank)})};i.toNegativeInfinity=function(n,t){return n==null&&(n=0),t==null&&(t=1),new i(function(){var i;return new u(function(){i=n+t},function(){return this.yieldReturn(i-=t)},f.Blank)})};i.unfold=function(n,t){return t=r.createLambda(t),new i(function(){var r=!0,i;return new u(f.Blank,function(){return r?(r=!1,i=n,this.yieldReturn(i)):(i=t(i),this.yieldReturn(i))},f.Blank)})};i.defer=function(n){return new i(function(){var t;return new u(function(){t=i.from(n()).GetEnumerator()},function(){return t.moveNext()?this.yieldReturn(t.Current):this.yieldBreak()},function(){r.Dispose(t)})})};i.prototype.traverseBreadthFirst=function(n,t){var f=this;return n=r.createLambda(n),t=r.createLambda(t),new i(function(){var e,s=0,o=[];return new u(function(){e=f.GetEnumerator()},function(){for(;;){if(e.moveNext())return o.push(e.Current),this.yieldReturn(t(e.Current,s));var u=i.from(o).selectMany(function(t){return n(t)});if(u.any())s++,o=[],r.Dispose(e),e=u.GetEnumerator();else return!1}},function(){r.Dispose(e)})})};i.prototype.traverseDepthFirst=function(n,t){var f=this;return n=r.createLambda(n),t=r.createLambda(t),new i(function(){var o=[],e;return new u(function(){e=f.GetEnumerator()},function(){for(;;){if(e.moveNext()){var u=t(e.Current,o.length);return o.push(e),e=i.from(n(e.Current)).GetEnumerator(),this.yieldReturn(u)}if(o.length<=0)return!1;r.Dispose(e);e=o.pop()}},function(){try{r.Dispose(e)}finally{i.from(o).forEach(function(n){n.Dispose()})}})})};i.prototype.flatten=function(){var n=this;return new i(function(){var e,t=null;return new u(function(){e=n.GetEnumerator()},function(){for(;;){if(t!=null){if(t.moveNext())return this.yieldReturn(t.Current);t=null}if(e.moveNext())if(e.Current instanceof Array){r.Dispose(t);t=i.from(e.Current).selectMany(f.Identity).flatten().GetEnumerator();continue}else return this.yieldReturn(e.Current);return!1}},function(){try{r.Dispose(e)}finally{r.Dispose(t)}})})};i.prototype.pairwise=function(n){var t=this;return n=r.createLambda(n),new i(function(){var i;return new u(function(){i=t.GetEnumerator();i.moveNext()},function(){var t=i.Current;return i.moveNext()?this.yieldReturn(n(t,i.Current)):!1},function(){r.Dispose(i)})})};i.prototype.scan=function(n,t){var f,e;return t==null?(t=r.createLambda(n),f=!1):(t=r.createLambda(t),f=!0),e=this,new i(function(){var i,o,s=!0;return new u(function(){i=e.GetEnumerator()},function(){if(s){if(s=!1,f)return this.yieldReturn(o=n);if(i.moveNext())return this.yieldReturn(o=i.Current)}return i.moveNext()?this.yieldReturn(o=t(o,i.Current)):!1},function(){r.Dispose(i)})})};i.prototype.select=function(n){if(n=r.createLambda(n),n.length<=1)return new l(this,null,n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.GetEnumerator()},function(){return i.moveNext()?this.yieldReturn(n(i.Current,f++)):!1},function(){r.Dispose(i)})})};i.prototype.selectMany=function(n,f){var e=this;return n=r.createLambda(n),f==null&&(f=function(n,t){return t}),f=r.createLambda(f),new i(function(){var s,o=t,h=0;return new u(function(){s=e.GetEnumerator()},function(){if(o===t&&!s.moveNext())return!1;do{if(o==null){var u=n(s.Current,h++);o=i.from(u).GetEnumerator()}if(o.moveNext())return this.yieldReturn(f(s.Current,o.Current));r.Dispose(o);o=null}while(s.moveNext());return!1},function(){try{r.Dispose(s)}finally{r.Dispose(o)}})})};i.prototype.where=function(n){if(n=r.createLambda(n),n.length<=1)return new c(this,n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.GetEnumerator()},function(){while(i.moveNext())if(n(i.Current,f++))return this.yieldReturn(i.Current);return!1},function(){r.Dispose(i)})})};i.prototype.choose=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,f=0;return new u(function(){i=t.GetEnumerator()},function(){while(i.moveNext()){var t=n(i.Current,f++);if(t!=null)return this.yieldReturn(t)}return this.yieldBreak()},function(){r.Dispose(i)})})};i.prototype.ofType=function(n){var t=this;return new i(function(){var i;return new u(function(){i=Bridge.getEnumerator(t)},function(){while(i.moveNext()){var t=Bridge.as(i.Current,n);if(Bridge.hasValue(t))return this.yieldReturn(t)}return!1},function(){r.Dispose(i)})})};i.prototype.zip=function(){var e=arguments,n=r.createLambda(arguments[arguments.length-1]),t=this,f;return arguments.length==2?(f=arguments[0],new i(function(){var e,o,s=0;return new u(function(){e=t.GetEnumerator();o=i.from(f).GetEnumerator()},function(){return e.moveNext()&&o.moveNext()?this.yieldReturn(n(e.Current,o.Current,s++)):!1},function(){try{r.Dispose(e)}finally{r.Dispose(o)}})})):new i(function(){var f,o=0;return new u(function(){var n=i.make(t).concat(i.from(e).takeExceptLast().select(i.from)).select(function(n){return n.GetEnumerator()}).ToArray();f=i.from(n)},function(){if(f.all(function(n){return n.moveNext()})){var t=f.select(function(n){return n.Current}).ToArray();return t.push(o++),this.yieldReturn(n.apply(null,t))}return this.yieldBreak()},function(){i.from(f).forEach(r.Dispose)})})};i.prototype.merge=function(){var n=arguments,t=this;return new i(function(){var f,e=-1;return new u(function(){f=i.make(t).concat(i.from(n).select(i.from)).select(function(n){return n.GetEnumerator()}).ToArray()},function(){while(f.length>0){e=e>=f.length-1?0:e+1;var n=f[e];if(n.moveNext())return this.yieldReturn(n.Current);n.Dispose();f.splice(e--,1)}return this.yieldBreak()},function(){i.from(f).forEach(r.Dispose)})})};i.prototype.join=function(n,e,o,s,h){e=r.createLambda(e);o=r.createLambda(o);s=r.createLambda(s);var c=this;return new i(function(){var l,v,a=null,y=0;return new u(function(){l=c.GetEnumerator();v=i.from(n).toLookup(o,f.Identity,h)},function(){for(var n,i;;){if(a!=null){if(n=a[y++],n!==t)return this.yieldReturn(s(l.Current,n));n=null;y=0}if(l.moveNext())i=e(l.Current),a=v.get(i).ToArray();else return!1}},function(){r.Dispose(l)})})};i.prototype.groupJoin=function(n,t,e,o,s){t=r.createLambda(t);e=r.createLambda(e);o=r.createLambda(o);var h=this;return new i(function(){var c=h.GetEnumerator(),l=null;return new u(function(){c=h.GetEnumerator();l=i.from(n).toLookup(e,f.Identity,s)},function(){if(c.moveNext()){var n=l.get(t(c.Current));return this.yieldReturn(o(c.Current,n))}return!1},function(){r.Dispose(c)})})};i.prototype.all=function(n){n=r.createLambda(n);var t=!0;return this.forEach(function(i){if(!n(i))return t=!1,!1}),t};i.prototype.any=function(n){n=r.createLambda(n);var t=this.GetEnumerator();try{if(arguments.length==0)return t.moveNext();while(t.moveNext())if(n(t.Current))return!0;return!1}finally{r.Dispose(t)}};i.prototype.isEmpty=function(){return!this.any()};i.prototype.concat=function(){var n=this,t,f;return arguments.length==1?(t=arguments[0],new i(function(){var e,f;return new u(function(){e=n.GetEnumerator()},function(){if(f==null){if(e.moveNext())return this.yieldReturn(e.Current);f=i.from(t).GetEnumerator()}return f.moveNext()?this.yieldReturn(f.Current):!1},function(){try{r.Dispose(e)}finally{r.Dispose(f)}})})):(f=arguments,new i(function(){var t;return new u(function(){t=i.make(n).concat(i.from(f).select(i.from)).select(function(n){return n.GetEnumerator()}).ToArray()},function(){while(t.length>0){var n=t[0];if(n.moveNext())return this.yieldReturn(n.Current);n.Dispose();t.splice(0,1)}return this.yieldBreak()},function(){i.from(t).forEach(r.Dispose)})}))};i.prototype.insert=function(n,t){var f=this;return new i(function(){var o,e,s=0,h=!1;return new u(function(){o=f.GetEnumerator();e=i.from(t).GetEnumerator()},function(){return s==n&&e.moveNext()?(h=!0,this.yieldReturn(e.Current)):o.moveNext()?(s++,this.yieldReturn(o.Current)):!h&&e.moveNext()?this.yieldReturn(e.Current):!1},function(){try{r.Dispose(o)}finally{r.Dispose(e)}})})};i.prototype.alternate=function(n){var t=this;return new i(function(){var f,e,s,o;return new u(function(){s=n instanceof Array||n.GetEnumerator!=null?i.from(i.from(n).ToArray()):i.make(n);e=t.GetEnumerator();e.moveNext()&&(f=e.Current)},function(){for(;;){if(o!=null){if(o.moveNext())return this.yieldReturn(o.Current);o=null}if(f==null&&e.moveNext()){f=e.Current;o=s.GetEnumerator();continue}else if(f!=null){var n=f;return f=null,this.yieldReturn(n)}return this.yieldBreak()}},function(){try{r.Dispose(e)}finally{r.Dispose(o)}})})};i.prototype.contains=function(n,t){t=t||System.Collections.Generic.EqualityComparer$1.$default;var i=this.GetEnumerator();try{while(i.moveNext())if(t.equals2(i.Current,n))return!0;return!1}finally{r.Dispose(i)}};i.prototype.defaultIfEmpty=function(n){var f=this;return n===t&&(n=null),new i(function(){var t,i=!0;return new u(function(){t=f.GetEnumerator()},function(){return t.moveNext()?(i=!1,this.yieldReturn(t.Current)):i?(i=!1,this.yieldReturn(n)):!1},function(){r.Dispose(t)})})};i.prototype.distinct=function(n){return this.except(i.empty(),n)};i.prototype.distinctUntilChanged=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,f,e;return new u(function(){i=t.GetEnumerator()},function(){while(i.moveNext()){var t=n(i.Current);if(e)return e=!1,f=t,this.yieldReturn(i.Current);if(f!==t)return f=t,this.yieldReturn(i.Current)}return this.yieldBreak()},function(){r.Dispose(i)})})};i.prototype.except=function(n,t){var f=this;return new i(function(){var o,e;return new u(function(){o=f.GetEnumerator();e=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,t);i.from(n).forEach(function(n){e.containsKey(n)||e.add(n)})},function(){while(o.moveNext()){var n=o.Current;if(!e.containsKey(n))return e.add(n),this.yieldReturn(n)}return!1},function(){r.Dispose(o)})})};i.prototype.intersect=function(n,t){var f=this;return new i(function(){var e,o,s;return new u(function(){e=f.GetEnumerator();o=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,t);i.from(n).forEach(function(n){o.containsKey(n)||o.add(n)});s=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,t)},function(){while(e.moveNext()){var n=e.Current;if(!s.containsKey(n)&&o.containsKey(n))return s.add(n),this.yieldReturn(n)}return!1},function(){r.Dispose(e)})})};i.prototype.sequenceEqual=function(n,t){var f,u;t=t||System.Collections.Generic.EqualityComparer$1.$default;f=this.GetEnumerator();try{u=i.from(n).GetEnumerator();try{while(f.moveNext())if(!u.moveNext()||!t.equals2(f.Current,u.Current))return!1;return u.moveNext()?!1:!0}finally{r.Dispose(u)}}finally{r.Dispose(f)}};i.prototype.union=function(n,f){var e=this;return new i(function(){var h,o,s;return new u(function(){h=e.GetEnumerator();s=new(System.Collections.Generic.Dictionary$2(System.Object,System.Object))(null,f)},function(){var r;if(o===t){while(h.moveNext())if(r=h.Current,!s.containsKey(r))return s.add(r),this.yieldReturn(r);o=i.from(n).GetEnumerator()}while(o.moveNext())if(r=o.Current,!s.containsKey(r))return s.add(r),this.yieldReturn(r);return!1},function(){try{r.Dispose(h)}finally{r.Dispose(o)}})})};i.prototype.orderBy=function(n,t){return new s(this,n,t,!1)};i.prototype.orderByDescending=function(n,t){return new s(this,n,t,!0)};i.prototype.reverse=function(){var n=this;return new i(function(){var t,i;return new u(function(){t=n.ToArray();i=t.length},function(){return i>0?this.yieldReturn(t[--i]):!1},f.Blank)})};i.prototype.shuffle=function(){var n=this;return new i(function(){var t;return new u(function(){t=n.ToArray()},function(){if(t.length>0){var n=Math.floor(Math.random()*t.length);return this.yieldReturn(t.splice(n,1)[0])}return!1},f.Blank)})};i.prototype.weightedSample=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i,r=0;return new u(function(){i=t.choose(function(t){var i=n(t);return i<=0?null:(r+=i,{value:t,bound:r})}).ToArray()},function(){var t;if(i.length>0){for(var f=Math.floor(Math.random()*r)+1,u=-1,n=i.length;n-u>1;)t=Math.floor((u+n)/2),i[t].bound>=f?n=t:u=t;return this.yieldReturn(i[n].value)}return this.yieldBreak()},f.Blank)})};i.prototype.groupBy=function(n,t,f,e){var o=this;return n=r.createLambda(n),t=r.createLambda(t),f!=null&&(f=r.createLambda(f)),new i(function(){var i;return new u(function(){i=o.toLookup(n,t,e).toEnumerable().GetEnumerator()},function(){while(i.moveNext())return f==null?this.yieldReturn(i.Current):this.yieldReturn(f(i.Current.key(),i.Current));return!1},function(){r.Dispose(i)})})};i.prototype.partitionBy=function(n,t,f,e){var s=this,o;return n=r.createLambda(n),t=r.createLambda(t),e=e||System.Collections.Generic.EqualityComparer$1.$default,f==null?(o=!1,f=function(n,t){return new h(n,t)}):(o=!0,f=r.createLambda(f)),new i(function(){var h,l,c=[];return new u(function(){h=s.GetEnumerator();h.moveNext()&&(l=n(h.Current),c.push(t(h.Current)))},function(){for(var r,u;(r=h.moveNext())==!0;)if(e.equals2(l,n(h.Current)))c.push(t(h.Current));else break;return c.length>0?(u=o?f(l,i.from(c)):f(l,c),r?(l=n(h.Current),c=[t(h.Current)]):c=[],this.yieldReturn(u)):!1},function(){r.Dispose(h)})})};i.prototype.buffer=function(n){var t=this;return new i(function(){var i;return new u(function(){i=t.GetEnumerator()},function(){for(var t=[],r=0;i.moveNext();)if(t.push(i.Current),++r>=n)return this.yieldReturn(t);return t.length>0?this.yieldReturn(t):!1},function(){r.Dispose(i)})})};i.prototype.aggregate=function(n,t,i){return i=r.createLambda(i),i(this.scan(n,t,i).last())};i.prototype.average=function(n,t){!n||t||Bridge.isFunction(n)||(t=n,n=null);n=r.createLambda(n);var i=t||0,u=0;if(this.forEach(function(t){t=n(t);t instanceof System.Decimal||System.Int64.is64Bit(t)?i=t.add(i):i instanceof System.Decimal||System.Int64.is64Bit(i)?i=i.add(t):i+=t;++u}),u===0)throw new System.InvalidOperationException.$ctor1("Sequence contains no elements");return i instanceof System.Decimal||System.Int64.is64Bit(i)?i.div(u):i/u};i.prototype.nullableAverage=function(n,t){return this.any(Bridge.isNull)?null:this.average(n,t)};i.prototype.count=function(n){n=n==null?f.True:r.createLambda(n);var t=0;return this.forEach(function(i,r){n(i,r)&&++t}),t};i.prototype.max=function(n){return n==null&&(n=f.Identity),this.select(n).aggregate(function(n,t){return Bridge.compare(n,t,!0)===1?n:t})};i.prototype.nullableMax=function(n){return this.any(Bridge.isNull)?null:this.max(n)};i.prototype.min=function(n){return n==null&&(n=f.Identity),this.select(n).aggregate(function(n,t){return Bridge.compare(n,t,!0)===-1?n:t})};i.prototype.nullableMin=function(n){return this.any(Bridge.isNull)?null:this.min(n)};i.prototype.maxBy=function(n){return n=r.createLambda(n),this.aggregate(function(t,i){return Bridge.compare(n(t),n(i),!0)===1?t:i})};i.prototype.minBy=function(n){return n=r.createLambda(n),this.aggregate(function(t,i){return Bridge.compare(n(t),n(i),!0)===-1?t:i})};i.prototype.sum=function(n,t){!n||t||Bridge.isFunction(n)||(t=n,n=null);n==null&&(n=f.Identity);var i=this.select(n).aggregate(0,function(n,t){return n instanceof System.Decimal||System.Int64.is64Bit(n)?n.add(t):t instanceof System.Decimal||System.Int64.is64Bit(t)?t.add(n):n+t});return i===0&&t?t:i};i.prototype.nullableSum=function(n,t){return this.any(Bridge.isNull)?null:this.sum(n,t)};i.prototype.elementAt=function(n){var t,i=!1;if(this.forEach(function(r,u){if(u==n)return t=r,i=!0,!1}),!i)throw new Error("index is less than 0 or greater than or equal to the number of elements in source.");return t};i.prototype.elementAtOrDefault=function(n,i){i===t&&(i=null);var r,u=!1;return this.forEach(function(t,i){if(i==n)return r=t,u=!0,!1}),u?r:i};i.prototype.first=function(n){if(n!=null)return this.where(n).first();var t,i=!1;if(this.forEach(function(n){return t=n,i=!0,!1}),!i)throw new Error("first:No element satisfies the condition.");return t};i.prototype.firstOrDefault=function(n,i){if(i===t&&(i=null),n!=null)return this.where(n).firstOrDefault(null,i);var r,u=!1;return this.forEach(function(n){return r=n,u=!0,!1}),u?r:i};i.prototype.last=function(n){if(n!=null)return this.where(n).last();var t,i=!1;if(this.forEach(function(n){i=!0;t=n}),!i)throw new Error("last:No element satisfies the condition.");return t};i.prototype.lastOrDefault=function(n,i){if(i===t&&(i=null),n!=null)return this.where(n).lastOrDefault(null,i);var r,u=!1;return this.forEach(function(n){u=!0;r=n}),u?r:i};i.prototype.single=function(n){if(n!=null)return this.where(n).single();var i,t=!1;if(this.forEach(function(n){if(t)throw new Error("single:sequence contains more than one element.");else t=!0,i=n}),!t)throw new Error("single:No element satisfies the condition.");return i};i.prototype.singleOrDefault=function(n,i){if(i===t&&(i=null),n!=null)return this.where(n).singleOrDefault(null,i);var u,r=!1;return this.forEach(function(n){if(r)throw new Error("single:sequence contains more than one element.");else r=!0,u=n}),r?u:i};i.prototype.skip=function(n){var t=this;return new i(function(){var i,f=0;return new u(function(){for(i=t.GetEnumerator();f++")})};i.prototype.force=function(){var n=this.GetEnumerator();try{while(n.moveNext());}finally{r.Dispose(n)}};i.prototype.letBind=function(n){n=r.createLambda(n);var t=this;return new i(function(){var f;return new u(function(){f=i.from(n(t)).GetEnumerator()},function(){return f.moveNext()?this.yieldReturn(f.Current):!1},function(){r.Dispose(f)})})};i.prototype.share=function(){var i=this,n,t=!1;return new p(function(){return new u(function(){n==null&&(n=i.GetEnumerator())},function(){if(t)throw new Error("enumerator is disposed");return n.moveNext()?this.yieldReturn(n.Current):!1},f.Blank)},function(){t=!0;r.Dispose(n)})};i.prototype.memoize=function(){var e=this,n,t,i=!1;return new p(function(){var r=-1;return new u(function(){t==null&&(t=e.GetEnumerator(),n=[])},function(){if(i)throw new Error("enumerator is disposed");return(r++,n.length<=r)?t.moveNext()?this.yieldReturn(n[r]=t.Current):!1:this.yieldReturn(n[r])},f.Blank)},function(){i=!0;r.Dispose(t);n=null})};i.prototype.catchError=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i;return new u(function(){i=t.GetEnumerator()},function(){try{return i.moveNext()?this.yieldReturn(i.Current):!1}catch(t){return n(t),!1}},function(){r.Dispose(i)})})};i.prototype.finallyAction=function(n){n=r.createLambda(n);var t=this;return new i(function(){var i;return new u(function(){i=t.GetEnumerator()},function(){return i.moveNext()?this.yieldReturn(i.Current):!1},function(){try{r.Dispose(i)}finally{n()}})})};i.prototype.log=function(n){return n=r.createLambda(n),this.doAction(function(t){typeof console!==o.Undefined&&console.log(n(t))})};i.prototype.trace=function(n,t){return n==null&&(n="Trace"),t=r.createLambda(t),this.doAction(function(i){typeof console!==o.Undefined&&console.log(n,t(i))})};s=function(n,t,i,u,f){this.source=n;this.keySelector=r.createLambda(t);this.comparer=i||System.Collections.Generic.Comparer$1.$default;this.descending=u;this.parent=f};s.prototype=new i;s.prototype.constructor=s;Bridge.definei("System.Linq.IOrderedEnumerable$1");s.$$inherits=[];Bridge.Class.addExtend(s,[System.Collections.IEnumerable,System.Linq.IOrderedEnumerable$1]);s.prototype.createOrderedEnumerable=function(n,t,i){return new s(this.source,n,t,i,this)};s.prototype.thenBy=function(n,t){return this.createOrderedEnumerable(n,t,!1)};s.prototype.thenByDescending=function(n,t){return this.createOrderedEnumerable(n,t,!0)};s.prototype.GetEnumerator=function(){var i=this,t,n,r=0;return new u(function(){t=[];n=[];i.source.forEach(function(i,r){t.push(i);n.push(r)});var r=v.create(i,null);r.GenerateKeys(t);n.sort(function(n,t){return r.compare(n,t)})},function(){return r0:i.prototype.any.apply(this,arguments)};e.prototype.count=function(n){return n==null?this.getSource().length:i.prototype.count.apply(this,arguments)};e.prototype.elementAt=function(n){var t=this.getSource();return 0<=n&&n0?t[0]:i.prototype.first.apply(this,arguments)};e.prototype.firstOrDefault=function(n,r){if(r===t&&(r=null),n!=null)return i.prototype.firstOrDefault.apply(this,arguments);var u=this.getSource();return u.length>0?u[0]:r};e.prototype.last=function(n){var t=this.getSource();return n==null&&t.length>0?t[t.length-1]:i.prototype.last.apply(this,arguments)};e.prototype.lastOrDefault=function(n,r){if(r===t&&(r=null),n!=null)return i.prototype.lastOrDefault.apply(this,arguments);var u=this.getSource();return u.length>0?u[u.length-1]:r};e.prototype.skip=function(n){var t=this.getSource();return new i(function(){var i;return new u(function(){i=n<0?0:n},function(){return i0?this.yieldReturn(n[--t]):!1},f.Blank)})};e.prototype.sequenceEqual=function(n,t){return(n instanceof e||n instanceof Array)&&t==null&&i.from(n).count()!=this.count()?!1:i.prototype.sequenceEqual.apply(this,arguments)};e.prototype.toJoinedString=function(n,t){var r=this.getSource();return t!=null||!(r instanceof Array)?i.prototype.toJoinedString.apply(this,arguments):(n==null&&(n=""),r.join(n))};e.prototype.GetEnumerator=function(){return new Bridge.ArrayEnumerator(this.getSource())};c=function(n,t){this.prevSource=n;this.prevPredicate=t};c.prototype=new i;c.prototype.where=function(n){if(n=r.createLambda(n),n.length<=1){var t=this.prevPredicate,u=function(i){return t(i)&&n(i)};return new c(this.prevSource,u)}return i.prototype.where.call(this,n)};c.prototype.select=function(n){return n=r.createLambda(n),n.length<=1?new l(this.prevSource,this.prevPredicate,n):i.prototype.select.call(this,n)};c.prototype.GetEnumerator=function(){var t=this.prevPredicate,i=this.prevSource,n;return new u(function(){n=i.GetEnumerator()},function(){while(n.moveNext())if(t(n.Current))return this.yieldReturn(n.Current);return!1},function(){r.Dispose(n)})};l=function(n,t,i){this.prevSource=n;this.prevPredicate=t;this.prevSelector=i};l.prototype=new i;l.prototype.where=function(n){return n=r.createLambda(n),n.length<=1?new c(this,n):i.prototype.where.call(this,n)};l.prototype.select=function(n){if(n=r.createLambda(n),n.length<=1){var t=this.prevSelector,u=function(i){return n(t(i))};return new l(this.prevSource,this.prevPredicate,u)}return i.prototype.select.call(this,n)};l.prototype.GetEnumerator=function(){var t=this.prevPredicate,i=this.prevSelector,f=this.prevSource,n;return new u(function(){n=f.GetEnumerator()},function(){while(n.moveNext())if(t==null||t(n.Current))return this.yieldReturn(i(n.Current));return!1},function(){r.Dispose(n)})};y=function(n,t){this.count=function(){return n.getCount()};this.get=function(t){var r={v:null},u=n.tryGetValue(t,r);return i.from(u?r.v:[])};this.contains=function(t){return n.containsKey(t)};this.toEnumerable=function(){return i.from(t).select(function(t){return new h(t,n.get(t))})};this.GetEnumerator=function(){return this.toEnumerable().GetEnumerator()}};Bridge.definei("System.Linq.ILookup$2");y.$$inherits=[];Bridge.Class.addExtend(y,[System.Collections.IEnumerable,System.Linq.ILookup$2]);h=function(n,t){this.key=function(){return n};e.call(this,t)};h.prototype=new e;Bridge.definei("System.Linq.IGrouping$2");h.prototype.constructor=h;h.$$inherits=[];Bridge.Class.addExtend(h,[System.Collections.IEnumerable,System.Linq.IGrouping$2]);Bridge.Linq={};Bridge.Linq.Enumerable=i;System.Linq=System.Linq||{};System.Linq.Enumerable=i;System.Linq.Grouping$2=h;System.Linq.Lookup$2=y;System.Linq.OrderedEnumerable$1=s}(Bridge.global);Bridge.define("System.Runtime.Serialization.CollectionDataContractAttribute",{inherits:[System.Attribute],fields:{_name:null,_ns:null,_itemName:null,_keyName:null,_valueName:null,_isReference:!1,_isNameSetExplicitly:!1,_isNamespaceSetExplicitly:!1,_isReferenceSetExplicitly:!1,_isItemNameSetExplicitly:!1,_isKeyNameSetExplicitly:!1,_isValueNameSetExplicitly:!1},props:{Namespace:{get:function(){return this._ns},set:function(n){this._ns=n;this._isNamespaceSetExplicitly=!0}},IsNamespaceSetExplicitly:{get:function(){return this._isNamespaceSetExplicitly}},Name:{get:function(){return this._name},set:function(n){this._name=n;this._isNameSetExplicitly=!0}},IsNameSetExplicitly:{get:function(){return this._isNameSetExplicitly}},ItemName:{get:function(){return this._itemName},set:function(n){this._itemName=n;this._isItemNameSetExplicitly=!0}},IsItemNameSetExplicitly:{get:function(){return this._isItemNameSetExplicitly}},KeyName:{get:function(){return this._keyName},set:function(n){this._keyName=n;this._isKeyNameSetExplicitly=!0}},IsReference:{get:function(){return this._isReference},set:function(n){this._isReference=n;this._isReferenceSetExplicitly=!0}},IsReferenceSetExplicitly:{get:function(){return this._isReferenceSetExplicitly}},IsKeyNameSetExplicitly:{get:function(){return this._isKeyNameSetExplicitly}},ValueName:{get:function(){return this._valueName},set:function(n){this._valueName=n;this._isValueNameSetExplicitly=!0}},IsValueNameSetExplicitly:{get:function(){return this._isValueNameSetExplicitly}}},ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)}}});Bridge.define("System.Runtime.Serialization.ContractNamespaceAttribute",{inherits:[System.Attribute],fields:{_clrNamespace:null,_contractNamespace:null},props:{ClrNamespace:{get:function(){return this._clrNamespace},set:function(n){this._clrNamespace=n}},ContractNamespace:{get:function(){return this._contractNamespace}}},ctors:{ctor:function(n){this.$initialize();System.Attribute.ctor.call(this);this._contractNamespace=n}}});Bridge.define("System.Runtime.Serialization.DataContractAttribute",{inherits:[System.Attribute],fields:{_name:null,_ns:null,_isNameSetExplicitly:!1,_isNamespaceSetExplicitly:!1,_isReference:!1,_isReferenceSetExplicitly:!1},props:{IsReference:{get:function(){return this._isReference},set:function(n){this._isReference=n;this._isReferenceSetExplicitly=!0}},IsReferenceSetExplicitly:{get:function(){return this._isReferenceSetExplicitly}},Namespace:{get:function(){return this._ns},set:function(n){this._ns=n;this._isNamespaceSetExplicitly=!0}},IsNamespaceSetExplicitly:{get:function(){return this._isNamespaceSetExplicitly}},Name:{get:function(){return this._name},set:function(n){this._name=n;this._isNameSetExplicitly=!0}},IsNameSetExplicitly:{get:function(){return this._isNameSetExplicitly}}},ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)}}});Bridge.define("System.Runtime.Serialization.DataMemberAttribute",{inherits:[System.Attribute],fields:{_name:null,_isNameSetExplicitly:!1,_order:0,_isRequired:!1,_emitDefaultValue:!1},props:{Name:{get:function(){return this._name},set:function(n){this._name=n;this._isNameSetExplicitly=!0}},IsNameSetExplicitly:{get:function(){return this._isNameSetExplicitly}},Order:{get:function(){return this._order},set:function(n){if(n<0)throw new System.Runtime.Serialization.InvalidDataContractException.$ctor1("Property 'Order' in DataMemberAttribute attribute cannot be a negative number.");this._order=n}},IsRequired:{get:function(){return this._isRequired},set:function(n){this._isRequired=n}},EmitDefaultValue:{get:function(){return this._emitDefaultValue},set:function(n){this._emitDefaultValue=n}}},ctors:{init:function(){this._order=-1;this._emitDefaultValue=!0},ctor:function(){this.$initialize();System.Attribute.ctor.call(this)}}});Bridge.define("System.Runtime.Serialization.EnumMemberAttribute",{inherits:[System.Attribute],fields:{_value:null,_isValueSetExplicitly:!1},props:{Value:{get:function(){return this._value},set:function(n){this._value=n;this._isValueSetExplicitly=!0}},IsValueSetExplicitly:{get:function(){return this._isValueSetExplicitly}}},ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)}}});Bridge.define("System.Runtime.Serialization.IDeserializationCallback",{$kind:"interface"});Bridge.define("System.Runtime.Serialization.IFormatterConverter",{$kind:"interface"});Bridge.define("System.Runtime.Serialization.IgnoreDataMemberAttribute",{inherits:[System.Attribute],ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)}}});Bridge.define("System.Runtime.Serialization.InvalidDataContractException",{inherits:[System.Exception],ctors:{ctor:function(){this.$initialize();System.Exception.ctor.call(this)},$ctor1:function(n){this.$initialize();System.Exception.ctor.call(this,n)},$ctor2:function(n,t){this.$initialize();System.Exception.ctor.call(this,n,t)}}});Bridge.define("System.Runtime.Serialization.IObjectReference",{$kind:"interface"});Bridge.define("System.Runtime.Serialization.ISafeSerializationData",{$kind:"interface"});Bridge.define("System.Runtime.Serialization.ISerializable",{$kind:"interface"});Bridge.define("System.Runtime.Serialization.ISerializationSurrogateProvider",{$kind:"interface"});Bridge.define("System.Runtime.Serialization.KnownTypeAttribute",{inherits:[System.Attribute],fields:{_methodName:null,_type:null},props:{MethodName:{get:function(){return this._methodName}},Type:{get:function(){return this._type}}},ctors:{ctor:function(){this.$initialize();System.Attribute.ctor.call(this)},$ctor2:function(n){this.$initialize();System.Attribute.ctor.call(this);this._type=n},$ctor1:function(n){this.$initialize();System.Attribute.ctor.call(this);this._methodName=n}}});Bridge.define("System.Runtime.Serialization.SerializationEntry",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new System.Runtime.Serialization.SerializationEntry}}},fields:{_name:null,_value:null,_type:null},props:{Value:{get:function(){return this._value}},Name:{get:function(){return this._name}},ObjectType:{get:function(){return this._type}}},ctors:{$ctor1:function(n,t,i){this.$initialize();this._name=n;this._value=t;this._type=i},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([7645431029,this._name,this._value,this._type])},equals:function(n){return Bridge.is(n,System.Runtime.Serialization.SerializationEntry)?Bridge.equals(this._name,n._name)&&Bridge.equals(this._value,n._value)&&Bridge.equals(this._type,n._type):!1},$clone:function(n){var t=n||new System.Runtime.Serialization.SerializationEntry;return t._name=this._name,t._value=this._value,t._type=this._type,t}}});Bridge.define("System.Runtime.Serialization.SerializationException",{inherits:[System.SystemException],statics:{fields:{s_nullMessage:null},ctors:{init:function(){this.s_nullMessage="Serialization error."}}},ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,System.Runtime.Serialization.SerializationException.s_nullMessage);this.HResult=-2146233076},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233076},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233076}}});Bridge.define("System.Runtime.Serialization.SerializationInfoEnumerator",{inherits:[System.Collections.IEnumerator],fields:{_members:null,_data:null,_types:null,_numItems:0,_currItem:0,_current:!1},props:{System$Collections$IEnumerator$Current:{get:function(){return this.Current.$clone()}},Current:{get:function(){if(this._current===!1)throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return new System.Runtime.Serialization.SerializationEntry.$ctor1(this._members[System.Array.index(this._currItem,this._members)],this._data[System.Array.index(this._currItem,this._data)],this._types[System.Array.index(this._currItem,this._types)])}},Name:{get:function(){if(this._current===!1)throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this._members[System.Array.index(this._currItem,this._members)]}},Value:{get:function(){if(this._current===!1)throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this._data[System.Array.index(this._currItem,this._data)]}},ObjectType:{get:function(){if(this._current===!1)throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this._types[System.Array.index(this._currItem,this._types)]}}},alias:["moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset"],ctors:{ctor:function(n,t,i,r){this.$initialize();this._members=n;this._data=t;this._types=i;this._numItems=r-1|0;this._currItem=-1;this._current=!1}},methods:{moveNext:function(){return this._currItem>10!=0)throw new System.ArgumentOutOfRangeException.$ctor1("options");if((t&u.RegexOptions.ECMAScript)!=0&&(t&~(u.RegexOptions.ECMAScript|u.RegexOptions.IgnoreCase|u.RegexOptions.Multiline|u.RegexOptions.CultureInvariant))!=0)throw new System.ArgumentOutOfRangeException.$ctor1("options");if(f=System.Text.RegularExpressions.RegexOptions.IgnoreCase|System.Text.RegularExpressions.RegexOptions.Multiline|System.Text.RegularExpressions.RegexOptions.Singleline|System.Text.RegularExpressions.RegexOptions.IgnorePatternWhitespace|System.Text.RegularExpressions.RegexOptions.ExplicitCapture,(t|f)!==f)throw new System.NotSupportedException.$ctor1("Specified Regex options are not supported.");this._validateMatchTimeout(i);this._pattern=n;this._options=t;this._matchTimeout=i;this._runner=new u.RegexRunner(this);e=this._runner.parsePattern();this._capnames=e.sparseSettings.sparseSlotNameMap;this._capslist=e.sparseSettings.sparseSlotNameMap.keys;this._capsize=this._capslist.length},getMatchTimeout:function(){return this._matchTimeout},getOptions:function(){return this._options},getRightToLeft:function(){return(this._options&System.Text.RegularExpressions.RegexOptions.RightToLeft)!=0},isMatch:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("input");Bridge.isDefined(t)||(t=this.getRightToLeft()?n.length:0);var i=this._runner.run(!0,-1,n,0,n.length,t);return i==null},match:function(n,t,i){if(n==null)throw new System.ArgumentNullException.$ctor1("input");var r=n.length,u=0;return arguments.length===3?(u=t,r=i,t=this.getRightToLeft()?u+r:u):Bridge.isDefined(t)||(t=this.getRightToLeft()?r:0),this._runner.run(!1,-1,n,u,r,t)},matches:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("input");return Bridge.isDefined(t)||(t=this.getRightToLeft()?n.length:0),new System.Text.RegularExpressions.MatchCollection(this,n,0,n.length,t)},getGroupNames:function(){if(this._capslist==null){for(var i=System.Globalization.CultureInfo.invariantCulture,t=[],r=this._capsize,n=0;n=0&&n=0&&n"9"||i<"0")return-1;t*=10;t+=i-"0"}return t>=0&&t0)||!(t<=2147483646)))throw new System.ArgumentOutOfRangeException.$ctor1("matchTimeout");}});Bridge.define("System.Text.RegularExpressions.Capture",{_text:"",_index:0,_length:0,ctor:function(n,t,i){this.$initialize();this._text=n;this._index=t;this._length=i},getIndex:function(){return this._index},getLength:function(){return this._length},getValue:function(){return this._text.substr(this._index,this._length)},toString:function(){return this.getValue()},_getOriginalString:function(){return this._text},_getLeftSubstring:function(){return this._text.slice(0,_index)},_getRightSubstring:function(){return this._text.slice(this._index+this._length,this._text.length)}});Bridge.define("System.Text.RegularExpressions.CaptureCollection",{inherits:function(){return[System.Collections.ICollection]},config:{properties:{Count:{get:function(){return this._capcount}}},alias:["GetEnumerator","System$Collections$IEnumerable$GetEnumerator","getCount","System$Collections$ICollection$getCount","Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo"]},_group:null,_capcount:0,_captures:null,ctor:function(n){this.$initialize();this._group=n;this._capcount=n._capcount},getSyncRoot:function(){return this._group},getIsSynchronized:function(){return!1},getIsReadOnly:function(){return!0},getCount:function(){return this._capcount},get:function(n){if(n===this._capcount-1&&n>=0)return this._group;if(n>=this._capcount||n<0)throw new System.ArgumentOutOfRangeException.$ctor1("i");return this._ensureCapturesInited(),this._captures[n]},copyTo:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(n.length0&&(t[this._capcount-1]=this._group);this._captures=t}}});Bridge.define("System.Text.RegularExpressions.CaptureEnumerator",{inherits:function(){return[System.Collections.IEnumerator]},config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},_captureColl:null,_curindex:0,ctor:function(n){this.$initialize();this._curindex=-1;this._captureColl=n},moveNext:function(){var n=this._captureColl.getCount();return this._curindex>=n?!1:(this._curindex++,this._curindex=this._captureColl.getCount())throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this._captureColl.get(this._curindex)},reset:function(){this._curindex=-1}});Bridge.define("System.Text.RegularExpressions.Group",{inherits:function(){return[System.Text.RegularExpressions.Capture]},statics:{config:{init:function(){var n=new System.Text.RegularExpressions.Group("",[],0);this.getEmpty=function(){return n}}},synchronized:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("group");var t=n.getCaptures();return t.getCount()>0&&t.get(0),n}},_caps:null,_capcount:0,_capColl:null,ctor:function(n,t,i){this.$initialize();var r=System.Text.RegularExpressions,u=i===0?0:t[(i-1)*2],f=i===0?0:t[i*2-1];r.Capture.ctor.call(this,n,u,f);this._caps=t;this._capcount=i},getSuccess:function(){return this._capcount!==0},getCaptures:function(){return this._capColl==null&&(this._capColl=new System.Text.RegularExpressions.CaptureCollection(this)),this._capColl}});Bridge.define("System.Text.RegularExpressions.GroupCollection",{inherits:function(){return[System.Collections.ICollection]},config:{properties:{Count:{get:function(){return this._match._matchcount.length}}},alias:["GetEnumerator","System$Collections$IEnumerable$GetEnumerator","getCount","System$Collections$ICollection$getCount","Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo"]},_match:null,_captureMap:null,_groups:null,ctor:function(n,t){this.$initialize();this._match=n;this._captureMap=t},getSyncRoot:function(){return this._match},getIsSynchronized:function(){return!1},getIsReadOnly:function(){return!0},getCount:function(){return this._match._matchcount.length},get:function(n){return this._getGroup(n)},getByName:function(n){if(this._match._regex==null)return System.Text.RegularExpressions.Group.getEmpty();var t=this._match._regex.groupNumberFromName(n);return this._getGroup(t)},copyTo:function(n,t){var r,f,u,i;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(r=this.getCount(),n.length=this._match._matchcount.length||n<0?System.Text.RegularExpressions.Group.getEmpty():this._getGroupImpl(n),t},_getGroupImpl:function(n){return n===0?this._match:(this._ensureGroupsInited(),this._groups[n])},_ensureGroupsInited:function(){var n,i,r,u,t;if(this._groups==null){for(n=[],n.length=this._match._matchcount.length,n.length>0&&(n[0]=this._match),t=0;t=n?!1:(this._curindex++,this._curindex=this._groupColl.getCount())throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this._groupColl.get(this._curindex)},reset:function(){this._curindex=-1}});Bridge.define("System.Text.RegularExpressions.Match",{inherits:function(){return[System.Text.RegularExpressions.Group]},statics:{config:{init:function(){var n=new System.Text.RegularExpressions.Match(null,1,"",0,0,0);this.getEmpty=function(){return n}}},synchronized:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("match");for(var i=n.getGroups(),u=i.getCount(),r,t=0;t0&&this._matches[n][this._matchcount[n]*2-1]!==-2},_addMatch:function(n,t,i){var r,e,f,u;if(this._matches[n]==null&&(this._matches[n]=new Array(2)),r=this._matchcount[n],r*2+2>this._matches[n].length){for(e=this._matches[n],f=new Array(r*8),u=0;ut.Length)throw new System.ArgumentOutOfRangeException.$ctor1("startat");this._regex=n;this._input=t;this._beginning=i;this._length=r;this._startat=u;this._prevlen=-1;this._matches=[]},getCount:function(){return this._done||this._getMatch(2147483647),this._matches.length},getSyncRoot:function(){return this},getIsSynchronized:function(){return!1},getIsReadOnly:function(){return!0},get:function(n){var t=this._getMatch(n);if(t==null)throw new System.ArgumentOutOfRangeException.$ctor1("i");return t},copyTo:function(n,t){var r,f,u,i;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(r=this.getCount(),n.lengthn)return this._matches[n];if(this._done)return null;var t;do{if(t=this._regex._runner.run(!1,this._prevLen,this._input,this._beginning,this._length,this._startat),!t.getSuccess())return this._done=!0,null;this._matches.push(t);this._prevLen=t._length;this._startat=t._textpos}while(this._matches.length<=n);return t}});Bridge.define("System.Text.RegularExpressions.MatchEnumerator",{inherits:function(){return[System.Collections.IEnumerator]},config:{properties:{Current:{get:function(){return this.getCurrent()}}},alias:["getCurrent","System$Collections$IEnumerator$getCurrent","moveNext","System$Collections$IEnumerator$moveNext","reset","System$Collections$IEnumerator$reset","Current","System$Collections$IEnumerator$Current"]},_matchcoll:null,_match:null,_curindex:0,_done:!1,ctor:function(n){this.$initialize();this._matchcoll=n},moveNext:function(){return this._done?!1:(this._match=this._matchcoll._getMatch(this._curindex),this._curindex++,this._match==null)?(this._done=!0,!1):!0},getCurrent:function(){if(this._match==null)throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this._match},reset:function(){this._curindex=0;this._done=!1;this._match=null}});Bridge.define("System.Text.RegularExpressions.RegexOptions",{statics:{None:0,IgnoreCase:1,Multiline:2,ExplicitCapture:4,Compiled:8,Singleline:16,IgnorePatternWhitespace:32,RightToLeft:64,ECMAScript:256,CultureInvariant:512},$kind:"enum",$flags:!0});Bridge.define("System.Text.RegularExpressions.RegexRunner",{statics:{},_runregex:null,_netEngine:null,_runtext:"",_runtextpos:0,_runtextbeg:0,_runtextend:0,_runtextstart:0,_quick:!1,_prevlen:0,ctor:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException.$ctor1("regex");this._runregex=n;var i=n.getOptions(),t=System.Text.RegularExpressions.RegexOptions,r=(i&t.IgnoreCase)===t.IgnoreCase,u=(i&t.Multiline)===t.Multiline,f=(i&t.Singleline)===t.Singleline,e=(i&t.IgnorePatternWhitespace)===t.IgnorePatternWhitespace,o=(i&t.ExplicitCapture)===t.ExplicitCapture,s=n._matchTimeout.getTotalMilliseconds();this._netEngine=new System.Text.RegularExpressions.RegexEngine(n._pattern,r,u,f,e,o,s)},run:function(n,t,i,r,u,f){var e,o,s,h;if(f<0||f>i.Length)throw new System.ArgumentOutOfRangeException.$ctor4("start","Start index cannot be less than 0 or greater than input length.");if(u<0||u>i.Length)throw new ArgumentOutOfRangeException("length","Length cannot be less than 0 or exceed input length.");if(this._runtext=i,this._runtextbeg=r,this._runtextend=r+u,this._runtextstart=f,this._quick=n,this._prevlen=t,this._runregex.getRightToLeft()?(e=this._runtextbeg,o=-1):(e=this._runtextend,o=1),this._prevlen===0){if(this._runtextstart===e)return System.Text.RegularExpressions.Match.getEmpty();this._runtextstart+=o}return s=this._netEngine.match(this._runtext,this._runtextstart),h=this._convertNetEngineResults(s),h},parsePattern:function(){return this._netEngine.parsePattern()},_convertNetEngineResults:function(n){var f,i,t,e,o,r,u,s;if(n.success&&this._quick)return null;if(!n.success)return System.Text.RegularExpressions.Match.getEmpty();for(f=this.parsePattern(),i=f.sparseSettings.isSparse?new System.Text.RegularExpressions.MatchSparse(this._runregex,f.sparseSettings.sparseSlotMap,n.groups.length,this._runtext,0,this._runtext.length,this._runtextstart):new System.Text.RegularExpressions.Match(this._runregex,n.groups.length,this._runtext,0,this._runtext.length,this._runtextstart),r=0;r=System.Text.RegularExpressions.RegexParser._E}},_caps:null,_capsize:0,_capnames:null,_pattern:"",_currentPos:0,_concatenation:null,_culture:null,config:{init:function(){this._options=System.Text.RegularExpressions.RegexOptions.None}},ctor:function(n){this.$initialize();this._culture=n;this._caps={}},_noteCaptures:function(n,t,i){this._caps=n;this._capsize=t;this._capnames=i},_setPattern:function(n){n==null&&(n="");this._pattern=n||"";this._currentPos=0},_scanReplacement:function(){this._concatenation=new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Concatenate,this._options);for(var n,t,i;;){if(n=this._charsRight(),n===0)break;for(t=this._textpos();n>0&&this._rightChar()!=="$";)this._moveRight(),n--;this._addConcatenate(t,this._textpos()-t);n>0&&this._moveRightGetChar()==="$"&&(i=this._scanDollar(),this._concatenation.addChild(i))}return this._concatenation},_addConcatenate:function(n,t){var i,r,u;t!==0&&(t>1?(r=this._pattern.slice(n,n+t),i=new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Multi,this._options,r)):(u=this._pattern[n],i=new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,u)),this._concatenation.addChild(i))},_useOptionE:function(){return(this._options&System.Text.RegularExpressions.RegexOptions.ECMAScript)!=0},_makeException:function(n){return new System.ArgumentException("Incorrect pattern. "+n)},_scanDollar:function(){var o=214748364,n,f,i,e,h;if(this._charsRight()===0)return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,"$");var t=this._rightChar(),r,s=this._textpos(),u=s;if(t==="{"&&this._charsRight()>1?(r=!0,this._moveRight(),t=this._rightChar()):r=!1,t>="0"&&t<="9"){if(!r&&this._useOptionE()){for(n=-1,i=t-"0",this._moveRight(),this._isCaptureSlot(i)&&(n=i,u=this._textpos());this._charsRight()>0&&(t=this._rightChar())>="0"&&t<="9";){if(f=t-"0",i>o||i===o&&f>7)throw this._makeException("Capture group is out of range.");i=i*10+f;this._moveRight();this._isCaptureSlot(i)&&(n=i,u=this._textpos())}if(this._textto(u),n>=0)return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,n)}else if(n=this._scanDecimal(),(!r||this._charsRight()>0&&this._moveRightGetChar()==="}")&&this._isCaptureSlot(n))return new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,n)}else if(r&&this._isWordChar(t)){if(e=this._scanCapname(),this._charsRight()>0&&this._moveRightGetChar()==="}"&&this._isCaptureName(e))return h=this._captureSlotFromName(e),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,h)}else if(!r){n=1;switch(t){case"$":return this._moveRight(),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,"$");case"&":n=0;break;case"`":n=System.Text.RegularExpressions.RegexReplacement.LeftPortion;break;case"'":n=System.Text.RegularExpressions.RegexReplacement.RightPortion;break;case"+":n=System.Text.RegularExpressions.RegexReplacement.LastGroup;break;case"_":n=System.Text.RegularExpressions.RegexReplacement.WholeString}if(n!==1)return this._moveRight(),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.Ref,this._options,n)}return this._textto(s),new System.Text.RegularExpressions.RegexNode(System.Text.RegularExpressions.RegexNode.One,this._options,"$")},_scanDecimal:function(){for(var r=214748364,n=0,t,i;this._charsRight()>0;){if(t=this._rightChar(),t<"0"||t>"9")break;if(i=t-"0",this._moveRight(),n>r||n===r&&i>7)throw this._makeException("Capture group is out of range.");n*=10;n+=i}return n},_scanOctal:function(){var i,n,t;for(t=3,t>this._charsRight()&&(t=this._charsRight()),n=0;t>0&&(i=this._rightChar()-"0")<=7;t-=1)if(this._moveRight(),n*=8,n+=i,this._useOptionE()&&n>=32)break;return n&=255,String.fromCharCode(n)},_scanHex:function(n){var t,i;if(t=0,this._charsRight()>=n)for(;n>0&&(i=this._hexDigit(this._moveRightGetChar()))>=0;n-=1)t*=16,t+=i;if(n>0)throw this._makeException("Insufficient hexadecimal digits.");return t},_hexDigit:function(n){var t,i=n.charCodeAt(0);return(t=i-"0".charCodeAt(0))<=9?t:(t=i-"a".charCodeAt(0))<=5?t+10:(t=i-"A".charCodeAt(0))<=5?t+10:-1},_scanControl:function(){if(this._charsRight()<=0)throw this._makeException("Missing control character.");var t=this._moveRightGetChar(),n=t.charCodeAt(0);if(n>="a".charCodeAt(0)&&n<="z".charCodeAt(0)&&(n=n-("a".charCodeAt(0)-"A".charCodeAt(0))),(n=n-"@".charCodeAt(0))<" ".charCodeAt(0))return String.fromCharCode(n);throw this._makeException("Unrecognized control character.");},_scanCapname:function(){for(var n=this._textpos();this._charsRight()>0;)if(!this._isWordChar(this._moveRightGetChar())){this._moveLeft();break}return _pattern.slice(n,this._textpos())},_scanCharEscape:function(){var n=this._moveRightGetChar(),t;if(n>="0"&&n<="7")return this._moveLeft(),this._scanOctal();switch(n){case"x":return this._scanHex(2);case"u":return this._scanHex(4);case"a":return"\x07";case"b":return"\b";case"e":return"\x1b";case"f":return"\f";case"n":return"\n";case"r":return"\r";case"t":return"\t";case"v":return"\x0b";case"c":return this._scanControl();default:if(t=n==="8"||n==="9"||n==="_",t||!this._useOptionE()&&this._isWordChar(n))throw this._makeException("Unrecognized escape sequence \\"+n+".");return n}},_captureSlotFromName:function(n){return this._capnames[n]},_isCaptureSlot:function(n){return this._caps!=null?this._caps[n]!=null:n>=0&&n0?!0:!1}});Bridge.define("System.Text.RegularExpressions.RegexReplacement",{statics:{replace:function(n,t,i,r,u){var f,o,e,s,h,c,l;if(n==null)throw new System.ArgumentNullException.$ctor1("evaluator");if(r<-1)throw new System.ArgumentOutOfRangeException.$ctor4("count","Count cannot be less than -1.");if(u<0||u>i.length)throw new System.ArgumentOutOfRangeException.$ctor4("startat","Start index cannot be less than 0 or greater than input length.");if(r===0)return i;if(f=t.match(i,u),f.getSuccess()){if(o="",t.getRightToLeft()){c=[];e=i.length;do{if(s=f.getIndex(),h=f.getLength(),s+h!==e&&c.push(i.slice(s+h,e)),e=s,c.push(n(f)),--r==0)break;f=f.nextMatch()}while(f.getSuccess());for(o=new StringBuilder,e>0&&(o+=o.slice(0,e)),l=c.length-1;l>=0;l--)o+=c[l]}else{e=0;do{if(s=f.getIndex(),h=f.getLength(),s!==e&&(o+=i.slice(e,s)),e=s+h,o+=n(f),--r==0)break;f=f.nextMatch()}while(f.getSuccess());et.length)throw new System.ArgumentOutOfRangeException.$ctor4("startat","Start index cannot be less than 0 or greater than input length.");if(f=[],i===1)return f.push(t),f;if(--i,u=n.match(t,r),u.getSuccess())if(n.getRightToLeft()){for(o=t.length;;){for(s=u.getIndex(),c=u.getLength(),h=u.getGroups(),l=h.getCount(),f.push(t.slice(s+c,o)),o=s,e=1;e0&&(e.push(u.length),u.push(r),r="");f=o._m;i!=null&&f>=0&&(f=i[f]);e.push(-System.Text.RegularExpressions.RegexReplacement.Specials-1-f);break;default:throw new System.ArgumentException.$ctor1("Replacement error.");}}r.length>0&&(e.push(u.length),u.push(r));this._strings=u;this._rules=e},getPattern:function(){return _rep},replacement:function(n){return this._replacementImpl("",n)},replace:function(n,t,i,r){var u,e,f,o,s,h,c;if(i<-1)throw new System.ArgumentOutOfRangeException.$ctor4("count","Count cannot be less than -1.");if(r<0||r>t.length)throw new System.ArgumentOutOfRangeException.$ctor4("startat","Start index cannot be less than 0 or greater than input length.");if(i===0)return t;if(u=n.match(t,r),u.getSuccess()){if(e="",n.getRightToLeft()){h=[];f=t.length;do{if(o=u.getIndex(),s=u.getLength(),o+s!==f&&h.push(t.slice(o+s,f)),f=o,this._replacementImplRTL(h,u),--i==0)break;u=u.nextMatch()}while(u.getSuccess());for(f>0&&(e+=e.slice(0,f)),c=h.length-1;c>=0;c--)e+=h[c]}else{f=0;do{if(o=u.getIndex(),s=u.getLength(),o!==f&&(e+=t.slice(f,o)),f=o+s,e=this._replacementImpl(e,u),--i==0)break;u=u.nextMatch()}while(u.getSuccess());f=0)n+=this._strings[i];else if(i<-u)n+=t._groupToStringImpl(-u-1-i);else switch(-u-1-i){case System.Text.RegularExpressions.RegexReplacement.LeftPortion:n+=t._getLeftSubstring();break;case System.Text.RegularExpressions.RegexReplacement.RightPortion:n+=t._getRightSubstring();break;case System.Text.RegularExpressions.RegexReplacement.LastGroup:n+=t._lastGroupToStringImpl();break;case System.Text.RegularExpressions.RegexReplacement.WholeString:n+=t._getOriginalString()}return n},_replacementImplRTL:function(n,t){for(var u=System.Text.RegularExpressions.RegexReplacement.Specials,i,r=_rules.length-1;r>=0;r--)if(i=this._rules[r],i>=0)n.push(this._strings[i]);else if(i<-u)n.push(t._groupToStringImpl(-u-1-i));else switch(-u-1-i){case System.Text.RegularExpressions.RegexReplacement.LeftPortion:n.push(t._getLeftSubstring());break;case System.Text.RegularExpressions.RegexReplacement.RightPortion:n.push(t._getRightSubstring());break;case System.Text.RegularExpressions.RegexReplacement.LastGroup:n.push(t._lastGroupToStringImpl());break;case System.Text.RegularExpressions.RegexReplacement.WholeString:n.push(t._getOriginalString())}}});Bridge.define("System.Text.RegularExpressions.RegexEngine",{_pattern:"",_patternInfo:null,_text:"",_textStart:0,_timeoutMs:-1,_timeoutTime:-1,_settings:null,_branchType:{base:0,offset:1,lazy:2,greedy:3,or:4},_branchResultKind:{ok:1,endPass:2,nextPass:3,nextBranch:4},ctor:function(n,t,i,r,u,f,e){if(this.$initialize(),n==null)throw new System.ArgumentNullException.$ctor1("pattern");this._pattern=n;this._timeoutMs=e;this._settings={ignoreCase:t,multiline:i,singleline:r,ignoreWhitespace:u,explicitCapture:f}},match:function(n,t){var i;if(n==null)throw new System.ArgumentNullException.$ctor1("text");if(t!=null&&(t<0||t>n.length))throw new System.ArgumentOutOfRangeException.$ctor4("textStart","Start index cannot be less than 0 or greater than input length.");return(this._text=n,this._textStart=t,this._timeoutTime=this._timeoutMs>0?(new Date).getTime()+System.Convert.toInt32(this._timeoutMs+.5):-1,i=this.parsePattern(),i.shouldFail)?this._getEmptyMatch():(this._checkTimeout(),this._scanAndTransformResult(t,i.tokens,!1,null))},parsePattern:function(){if(this._patternInfo==null){var n=System.Text.RegularExpressions.RegexEngineParser,t=n.parsePattern(this._pattern,this._cloneSettings(this._settings));this._patternInfo=t}return this._patternInfo},_scanAndTransformResult:function(n,t,i,r){var u=this._scan(n,this._text.length,t,i,r);return this._collectScanResults(u,n)},_scan:function(n,t,i,r,u){var c=this._branchResultKind,f=[],e,h,o;if(f.grCaptureCache={},e=null,h=null,i.length===0)return o=new System.Text.RegularExpressions.RegexEngineState,o.capIndex=n,o.txtIndex=n,o.capLength=0,o;var l=r?this._branchType.base:this._branchType.offset,a=this._patternInfo.isContiguous?n:t,s=new System.Text.RegularExpressions.RegexEngineBranch(l,n,n,a);for(s.pushPass(0,i,this._cloneSettings(this._settings)),s.started=!0,s.state.txtIndex=n,f.push(s);f.length;){if(e=f[f.length-1],h=this._scanBranch(t,f,e),h===c.ok&&(u==null||e.state.capLength===u))return e.state;this._advanceToNextBranch(f,e);this._checkTimeout()}return null},_scanBranch:function(n,t,i){var r=this._branchResultKind,u,f;if(i.mustFail)return i.mustFail=!1,r.nextBranch;while(i.hasPass()){if(u=i.peekPass(),u.tokens==null||u.tokens.length===0)f=r.endPass;else{if(this._addAlternationBranches(t,i,u)===r.nextBranch)return r.nextBranch;f=this._scanPass(n,t,i,u)}switch(f){case r.nextBranch:return f;case r.nextPass:continue;case r.endPass:case r.ok:i.popPass();break;default:throw new System.InvalidOperationException.$ctor1("Unexpected branch result.");}}return r.ok},_scanPass:function(n,t,i,r){for(var f=this._branchResultKind,s=r.tokens.length,o,u,e;r.index1){for(r=0;rt.max&&n.pop();else if(n.pop(),!t.isNotFailing){i=n[n.length-1];this._advanceToNextBranch(n,i);return}}},_collectScanResults:function(n,t){var o=this._patternInfo.groups,a=this._text,l={},s,f,h={},r,e,i,u,c=this._getEmptyMatch();if(n!=null){for(s=n.groups,this._fillMatch(c,n.capIndex,n.capLength,t),u=0;u0&&(e=i.captures[i.captures.length-1],i.capIndex=e.capIndex,i.capLength=e.capLength,i.value=e.value,i.success=!0),l[r.name]=!0,i.descriptor=r,c.groups.push(i))}return c},_scanToken:function(n,t,i,r,u){var f=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,e=this._branchResultKind;switch(u.type){case f.group:case f.groupImnsx:case f.alternationGroup:return this._scanGroupToken(n,t,i,r,u);case f.groupImnsxMisc:return this._scanGroupImnsxToken(u.group.constructs,r.settings);case f.charGroup:return this._scanCharGroupToken(t,i,r,u,!1);case f.charNegativeGroup:return this._scanCharNegativeGroupToken(t,i,r,u,!1);case f.escChar:case f.escCharOctal:case f.escCharHex:case f.escCharUnicode:case f.escCharCtrl:return this._scanLiteral(n,t,i,r,u.data.ch);case f.escCharOther:case f.escCharClass:return this._scanEscapeToken(t,i,r,u);case f.escCharClassCategory:throw new System.NotSupportedException.$ctor1("Unicode Category constructions are not supported.");case f.escCharClassBlock:throw new System.NotSupportedException.$ctor1("Unicode Named block constructions are not supported.");case f.escCharClassDot:return this._scanDotToken(n,t,i,r);case f.escBackrefNumber:return this._scanBackrefNumberToken(n,t,i,r,u);case f.escBackrefName:return this._scanBackrefNameToken(n,t,i,r,u);case f.anchor:case f.escAnchor:return this._scanAnchorToken(n,t,i,r,u);case f.groupConstruct:case f.groupConstructName:case f.groupConstructImnsx:case f.groupConstructImnsxMisc:return e.ok;case f.alternationGroupCondition:case f.alternationGroupRefNameCondition:case f.alternationGroupRefNumberCondition:return this._scanAlternationConditionToken(n,t,i,r,u);case f.alternation:return e.endPass;case f.commentInline:case f.commentXMode:return e.ok;default:return this._scanLiteral(n,t,i,r,u.value)}},_scanGroupToken:function(n,t,i,r,u){var h=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,c=this._branchResultKind,o=i.state.txtIndex,l,f;if(r.onHold){if(u.type===h.group){var a=u.group.rawIndex,s=r.onHoldTextIndex,v=o-s,e=t.grCaptureCache[a];if(e==null&&(e={},t.grCaptureCache[a]=e),l=s.toString()+"_"+v.toString(),e[l]==null)e[l]=!0;else return c.nextBranch;u.group.constructs.emptyCapture||(u.group.isBalancing?i.state.logCaptureGroupBalancing(u.group,s):i.state.logCaptureGroup(u.group,s,v))}return r.onHold=!1,r.onHoldTextIndex=-1,c.ok}if(u.type===h.group||u.type===h.groupImnsx){if(f=u.group.constructs,this._scanGroupImnsxToken(f,r.settings),f.isPositiveLookahead||f.isNegativeLookahead||f.isPositiveLookbehind||f.isNegativeLookbehind)return this._scanLook(i,o,n,u);if(f.isNonbacktracking)return this._scanNonBacktracking(i,o,n,u)}return r.onHoldTextIndex=o,r.onHold=!0,i.pushPass(0,u.children,this._cloneSettings(r.settings)),c.nextPass},_scanGroupImnsxToken:function(n,t){var i=this._branchResultKind;return n.isIgnoreCase!=null&&(t.ignoreCase=n.isIgnoreCase),n.isMultiline!=null&&(t.multiline=n.isMultiline),n.isSingleLine!=null&&(t.singleline=n.isSingleLine),n.isIgnoreWhitespace!=null&&(t.ignoreWhitespace=n.isIgnoreWhitespace),n.isExplicitCapture!=null&&(t.explicitCapture=n.isExplicitCapture),i.ok},_scanAlternationConditionToken:function(n,t,i,r,u){var o=System.Text.RegularExpressions.RegexEngineParser.tokenTypes,f=this._branchResultKind,c=u.children,l=i.state.txtIndex,e=f.nextBranch,s,h;return u.type===o.alternationGroupRefNameCondition||u.type===o.alternationGroupRefNumberCondition?(s=i.state.resolveBackref(u.data.packedSlotId),e=s!=null?f.ok:f.nextBranch):(h=this._scan(l,n,c,!0,null),this._combineScanResults(i,h)&&(e=f.ok)),e===f.nextBranch&&r.tokens.noAlternation&&(e=f.endPass),e},_scanLook:function(n,t,i,r){var u=r.group.constructs,e=this._branchResultKind,f=r.children,o,s,h=u.isPositiveLookahead||u.isNegativeLookahead,c=u.isPositiveLookbehind||u.isNegativeLookbehind;return h||c?(f=f.slice(1,f.length),o=u.isPositiveLookahead||u.isPositiveLookbehind,s=h?this._scanLookAhead(n,t,i,f):this._scanLookBehind(n,t,i,f),o===s?e.ok:e.nextBranch):null},_scanLookAhead:function(n,t,i,r){var u=this._scan(t,i,r,!0,null);return this._combineScanResults(n,u)},_scanLookBehind:function(n,t,i,r){for(var u=t,f,e;u>=0;){if(f=t-u,e=this._scan(u,i,r,!0,f),this._combineScanResults(n,e))return!0;--u}return!1},_scanNonBacktracking:function(n,t,i,r){var e=this._branchResultKind,u=r.children,f;return(u=u.slice(1,u.length),f=this._scan(t,i,u,!0,null),!f)?e.nextBranch:(n.state.logCapture(f.capLength),e.ok)},_scanLiteral:function(n,t,i,r,u){var e=this._branchResultKind,o=i.state.txtIndex,f;if(o+u.length>n)return e.nextBranch;if(r.settings.ignoreCase){for(f=0;fh)break;if(h<=v.m)return u||t.state.logCapture(1),f.ok}c==null&&i.settings.ignoreCase&&(c=e.toUpperCase(),e=e===c?e.toLowerCase():c,h=e.charCodeAt(0))}return f.nextBranch},_scanCharNegativeGroupToken:function(n,t,i,r,u){var f=this._branchResultKind,o=t.state.txtIndex,s=this._text[o],e;return s==null?f.nextBranch:(e=this._scanCharGroupToken(n,t,i,r,!0),e===f.ok)?f.nextBranch:(u||t.state.logCapture(1),f.ok)},_scanEscapeToken:function(n,t,i,r){return this._scanWithJsRegex(n,t,i,r)},_scanDotToken:function(n,t,i,r){var u=this._branchResultKind,f=i.state.txtIndex;if(r.settings.singleline){if(f0&&this._scanWithJsRegex2(f-1,"\\w")===e.ok,s=this._scanWithJsRegex2(f,"\\w")===e.ok,o===s==(u.value==="\\B"))return e.ok}else if(u.value==="^"){if(f===0||r.settings.multiline&&this._text[f-1]==="\n")return e.ok}else if(u.value==="$"){if(f===n||r.settings.multiline&&this._text[f]==="\n")return e.ok}else if(u.value==="\\A"){if(f===0)return e.ok}else if(u.value==="\\z"){if(f===n)return e.ok}else if(u.value==="\\Z"){if(f===n||f===n-1&&this._text[f]==="\n")return e.ok}else if(u.value==="\\G")return e.ok;return e.nextBranch},_cloneSettings:function(n){return{ignoreCase:n.ignoreCase,multiline:n.multiline,singleline:n.singleline,ignoreWhitespace:n.ignoreWhitespace,explicitCapture:n.explicitCapture}},_combineScanResults:function(n,t){if(t!=null){for(var u=n.state.groups,r=t.groups,f=r.length,i=0;i=this._timeoutTime)throw new System.RegexMatchTimeoutException(this._text,this._pattern,System.TimeSpan.fromMilliseconds(this._timeoutMs));}}});Bridge.define("System.Text.RegularExpressions.RegexEngineBranch",{type:0,value:0,min:0,max:0,isStarted:!1,isNotFailing:!1,state:null,ctor:function(n,t,i,r,u){this.$initialize();this.type=n;this.value=t;this.min=i;this.max=r;this.state=u!=null?u.clone():new System.Text.RegularExpressions.RegexEngineState},pushPass:function(n,t,i){var r=new System.Text.RegularExpressions.RegexEnginePass(n,t,i);this.state.passes.push(r)},peekPass:function(){return this.state.passes[this.state.passes.length-1]},popPass:function(){return this.state.passes.pop()},hasPass:function(){return this.state.passes.length>0},clone:function(){var n=new System.Text.RegularExpressions.RegexEngineBranch(this.type,this.value,this.min,this.max,this.state);return n.isNotFailing=this.isNotFailing,n}});Bridge.define("System.Text.RegularExpressions.RegexEngineState",{txtIndex:0,capIndex:null,capLength:0,passes:null,groups:null,ctor:function(){this.$initialize();this.passes=[];this.groups=[]},logCapture:function(n){this.capIndex==null&&(this.capIndex=this.txtIndex);this.txtIndex+=n;this.capLength+=n},logCaptureGroup:function(n,t,i){this.groups.push({rawIndex:n.rawIndex,slotId:n.packedSlotId,capIndex:t,capLength:i})},logCaptureGroupBalancing:function(n,t){for(var s=n.balancingSlotId,r=this.groups,i=r.length-1,u,f,e,o;i>=0;){if(r[i].slotId===s){u=r[i];f=i;break}--i}return u!=null&&f!=null?(r.splice(f,1),n.constructs.name1!=null&&(e=u.capIndex+u.capLength,o=t-e,this.logCaptureGroup(n,e,o)),!0):!1},resolveBackref:function(n){for(var i=this.groups,t=i.length-1;t>=0;){if(i[t].slotId===n)return i[t];--t}return null},clone:function(){var t=new System.Text.RegularExpressions.RegexEngineState,e,u;t.txtIndex=this.txtIndex;t.capIndex=this.capIndex;t.capLength=this.capLength;for(var o=t.passes,f=this.passes,r=f.length,i,n=0;n0&&!e.qtoken&&(a=t[o-1],a.type===s.literal&&!a.qtoken)){a.value+=e.value;a.length+=e.length;t.splice(o,1);--o;continue}}else if(e.type===s.alternationGroupCondition&&e.data!=null)if(e.data.number!=null){if(h=i.getPackedSlotIdBySlotNumber(e.data.number),h==null)throw new System.ArgumentException.$ctor1("Reference to undefined group number "+c+".");e.data.packedSlotId=h;l._updatePatternToken(e,s.alternationGroupRefNumberCondition,e.index,e.length,e.value)}else h=i.getPackedSlotIdBySlotName(e.data.name),h!=null?(e.data.packedSlotId=h,l._updatePatternToken(e,s.alternationGroupRefNameCondition,e.index,e.length,e.value)):delete e.data;e.children&&e.children.length&&(v=e.type===s.group?[e.group.rawIndex]:[],v=v.concat(u),y=e.localSettings||n,l._transformRawTokens(y,e.children,i,r,v,f+1),n.shouldFail=n.shouldFail||y.shouldFail,n.isContiguous=n.isContiguous||y.isContiguous);e.type===s.group&&r.push(e.group.packedSlotId)}},_fillGroupDescriptors:function(n,t){var f=System.Text.RegularExpressions.RegexEngineParser,i,r,u;for(f._fillGroupStructure(t,n,null),u=1,r=0;r1&&(i.isSparse=!0);i.lastSlot=t},_addSparseSlotForSameNamedGroups:function(n,t,i,r){var o=System.Text.RegularExpressions.RegexEngineParser,u,f,e;if(o._addSparseSlot(n[0],t,i,r),f=n[0].sparseSlotId,e=n[0].packedSlotId,n.length>1)for(u=1;u":t.isNonbacktracking=!0;break;case"?<=":t.isPositiveLookbehind=!0;break;case"?2)throw new System.ArgumentException.$ctor1("Invalid group name.");i[0].length&&(t.name1=i[0],h=o._validateGroupName(i[0]),t.isNumberName1=h.isNumberName);i.length===2&&(t.name2=i[1],c=o._validateGroupName(i[1]),t.isNumberName2=c.isNumberName)}else if(n.type===f.groupConstructImnsx||n.type===f.groupConstructImnsxMisc)for(var l=n.type===f.groupConstructImnsx?1:0,a=n.length-1-l,u=!0,r,e=1;e<=a;e++)r=n.value[e],r==="-"?u=!1:r==="i"?t.isIgnoreCase=u:r==="m"?t.isMultiline=u:r==="n"?t.isExplicitCapture=u:r==="s"?t.isSingleLine=u:r==="x"&&(t.isIgnoreWhitespace=u);return t},_validateGroupName:function(n){var t,i,r;if(!n||!n.length)throw new System.ArgumentException.$ctor1("Invalid group name: Group names must begin with a word character.");if(t=n[0]>="0"&&n[0]<="9",t&&(i=System.Text.RegularExpressions.RegexEngineParser,r=i._matchChars(n,0,n.length,i._decSymbols),r.matchLength!==n.length))throw new System.ArgumentException.$ctor1("Invalid group name: Group names must begin with a word character.");return{isNumberName:t}},_fillBalancingGroupInfo:function(n,t){for(var i,r=0;r=1&&i.getPackedSlotIdBySlotNumber(f)!=null)continue;if(f<=9)throw new System.ArgumentException.$ctor1("Reference to undefined group number "+f.toString()+".");if(e=u._parseOctalCharToken(r.value,0,r.length),e==null)throw new System.ArgumentException.$ctor1("Unrecognized escape sequence "+r.value.slice(0,2)+".");h=r.length-e.length;u._modifyPatternToken(r,n,s.escCharOctal,null,e.length);r.data=e.data;h>0&&(c=u._createPatternToken(n,s.literal,r.index+r.length,h),t.splice(o+1,0,c))}r.children&&r.children.length&&u._preTransformBackrefTokens(n,r.children,i)}},_updateGroupDescriptors:function(n,t){for(var o=System.Text.RegularExpressions.RegexEngineParser,e=o.tokenTypes,r,i,f,h,c,s=t||0,u=0;un.length)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(rn.length)throw new System.ArgumentOutOfRangeException.$ctor1("endIndex");for(var f=System.Text.RegularExpressions.RegexEngineParser,h=f.tokenTypes,s=[],o,e,u=i;u=0){++u;continue}o=e==="."?f._parseDotToken(n,u,r):e==="\\"?f._parseEscapeToken(n,u,r):e==="["?f._parseCharRangeToken(n,u,r):e==="^"||e==="$"?f._parseAnchorToken(n,u):e==="("?f._parseGroupToken(n,t,u,r):e==="|"?f._parseAlternationToken(n,u):e==="#"&&t.ignoreWhitespace?f._parseXModeCommentToken(n,u,r):f._parseQuantifierToken(n,u,r);o==null&&(o=f._createPatternToken(n,h.literal,u,1));o!=null&&(s.push(o),u+=o.length)}return s},_parseEscapeToken:function(n,t,i){var u=System.Text.RegularExpressions.RegexEngineParser,o=u.tokenTypes,f=n[t],h,c,l,s,y,e,a,r,v;if(f!=="\\")return null;if(t+1>=i)throw new System.ArgumentException.$ctor1("Illegal \\ at end of pattern.");if(f=n[t+1],f>="1"&&f<="9")return h=u._matchChars(n,t+1,i,u._decSymbols,3),c=u._createPatternToken(n,o.escBackrefNumber,t,1+h.matchLength),c.data={number:parseInt(h.match,10)},c;if(u._escapedAnchors.indexOf(f)>=0)return u._createPatternToken(n,o.escAnchor,t,2);if(l=u._parseEscapedChar(n,t,i),l!=null)return l;if(f==="k"){if(t+2":"'",e=u._matchUntil(n,t+3,i,y),e.unmatchLength===1&&e.matchLength>0)))return a=u._createPatternToken(n,o.escBackrefName,t,3+e.matchLength+1),a.data={name:e.match},a;throw new System.ArgumentException.$ctor1("Malformed \\k<...> named back reference.");}if(r=f.charCodeAt(0),r>=0&&r<48||r>57&&r<65||r>90&&r<95||r===96||r>122&&r<128)return v=u._createPatternToken(n,o.escChar,t,2),v.data={n:r,ch:f},v;throw new System.ArgumentException.$ctor1("Unrecognized escape sequence \\"+f+".");},_parseOctalCharToken:function(n,t,i){var r=System.Text.RegularExpressions.RegexEngineParser,s=r.tokenTypes,u=n[t];if(u==="\\"&&t+1="0"&&u<="7")){var f=r._matchChars(n,t+1,i,r._octSymbols,3),e=parseInt(f.match,8),o=r._createPatternToken(n,s.escCharOctal,t,1+f.matchLength);return o.data={n:e,ch:String.fromCharCode(e)},o}return null},_parseEscapedChar:function(n,t,i){var r=System.Text.RegularExpressions.RegexEngineParser,o=r.tokenTypes,f,u=n[t],a,v,h,c,y,p,e,s,l;if(u!=="\\"||t+1>=i)return null;if(u=n[t+1],r._escapedChars.indexOf(u)>=0){if(u==="x"){if(a=r._matchChars(n,t+2,i,r._hexSymbols,2),a.matchLength!==2)throw new System.ArgumentException.$ctor1("Insufficient hexadecimal digits.");return v=parseInt(a.match,16),f=r._createPatternToken(n,o.escCharHex,t,4),f.data={n:v,ch:String.fromCharCode(v)},f}if(u==="c"){if(t+2>=i)throw new System.ArgumentException.$ctor1("Missing control character.");if(h=n[t+2],h=h.toUpperCase(),c=this._controlChars.indexOf(h),c>=0)return f=r._createPatternToken(n,o.escCharCtrl,t,3),f.data={n:c,ch:String.fromCharCode(c)},f;throw new System.ArgumentException.$ctor1("Unrecognized control character.");}else if(u==="u"){if(y=r._matchChars(n,t+2,i,r._hexSymbols,4),y.matchLength!==4)throw new System.ArgumentException.$ctor1("Insufficient hexadecimal digits.");return p=parseInt(y.match,16),f=r._createPatternToken(n,o.escCharUnicode,t,6),f.data={n:p,ch:String.fromCharCode(p)},f}f=r._createPatternToken(n,o.escChar,t,2);switch(u){case"a":e=7;break;case"b":e=8;break;case"t":e=9;break;case"r":e=13;break;case"v":e=11;break;case"f":e=12;break;case"n":e=10;break;case"e":e=27;break;default:throw new System.ArgumentException.$ctor1("Unexpected escaped char: '"+u+"'.");}return f.data={n:e,ch:String.fromCharCode(e)},f}if(u>="0"&&u<="7")return r._parseOctalCharToken(n,t,i);if(r._escapedCharClasses.indexOf(u)>=0){if(u==="p"||u==="P"){if(s=r._matchUntil(n,t+2,i,"}"),s.matchLength<2||s.match[0]!=="{"||s.unmatchLength!==1)throw new System.ArgumentException.$ctor1("Incomplete p{X} character escape.");if(l=s.match.slice(1),r._unicodeCategories.indexOf(l)>=0)return r._createPatternToken(n,o.escCharClassCategory,t,2+s.matchLength+1);if(r._namedCharBlocks.indexOf(l)>=0)return r._createPatternToken(n,o.escCharClassBlock,t,2+s.matchLength+1);throw new System.ArgumentException.$ctor1("Unknown property '"+l+"'.");}return r._createPatternToken(n,o.escCharClass,t,2)}return r._escapedSpecialSymbols.indexOf(u)>=0?(f=r._createPatternToken(n,o.escCharOther,t,2),f.data={n:u.charCodeAt(0),ch:u},f):null},_parseCharRangeToken:function(n,t,i){var e=System.Text.RegularExpressions.RegexEngineParser,a=e.tokenTypes,u=[],v,o,f,y=!1,p=!1,w=!1,s=n[t],r,h,c,b,l,k;if(s!=="[")return null;for(r=t+1,h=-1,rb){h=r;break}else f=e._createPatternToken(n,a.literal,r,1),c=1;if(p)throw new System.ArgumentException.$ctor1("A subtraction must be the last element in a character class.");u.length>1&&(v=e._parseCharIntervalToken(n,u[u.length-2],u[u.length-1],f),v!=null&&(u.pop(),u.pop(),f=v));f!=null&&(u.push(f),r+=c)}if(h<0||u.length<1)throw new System.ArgumentException.$ctor1("Unterminated [] set.");return l=y?e._createPatternToken(n,a.charNegativeGroup,t,1+h-t,u,"[^","]"):e._createPatternToken(n,a.charGroup,t,1+h-t,u,"[","]"),k=e._tidyCharRange(u),l.data={ranges:k},o!=null&&(l.data.substractToken=o),l},_parseCharIntervalToken:function(n,t,i,r){var h=System.Text.RegularExpressions.RegexEngineParser,u=h.tokenTypes,f,o,e,s;if(i.type!==u.literal||i.value!=="-"||t.type!==u.literal&&t.type!==u.escChar&&t.type!==u.escCharOctal&&t.type!==u.escCharHex&&t.type!==u.escCharCtrl&&t.type!==u.escCharUnicode&&t.type!==u.escCharOther||r.type!==u.literal&&r.type!==u.escChar&&r.type!==u.escCharOctal&&r.type!==u.escCharHex&&r.type!==u.escCharCtrl&&r.type!==u.escCharUnicode&&r.type!==u.escCharOther)return null;if(t.type===u.literal?(f=t.value.charCodeAt(0),o=t.value):(f=t.data.n,o=t.data.ch),r.type===u.literal?(e=r.value.charCodeAt(0),s=r.value):(e=r.data.n,s=r.data.ch),f>e)throw new System.NotSupportedException.$ctor1("[x-y] range in reverse order.");var l=t.index,a=t.length+i.length+r.length,c=h._createPatternToken(n,u.charInterval,l,a,[t,i,r],"","");return c.data={startN:f,startCh:o,endN:e,endCh:s},c},_tidyCharRange:function(n){for(var l=System.Text.RegularExpressions.RegexEngineParser,i=l.tokenTypes,f,e,o,t,r=[],a=[],s,h,c,v,u=0;ue)break;r.splice(f,0,{n:e,m:o})}for(u=0;u1+s.m)break;c++;h.m>s.m&&(s.m=h.m)}c>0&&r.splice(u+1,c)}return a.length>0&&(v="["+l._constructPattern(a)+"]",r.charClassToken=l._createPatternToken(v,i.charGroup,0,v.length,n,"[","]")),r},_parseDotToken:function(n,t){var i=System.Text.RegularExpressions.RegexEngineParser,r=i.tokenTypes,u=n[t];return u!=="."?null:i._createPatternToken(n,r.escCharClassDot,t,1)},_parseAnchorToken:function(n,t){var i=System.Text.RegularExpressions.RegexEngineParser,u=i.tokenTypes,r=n[t];return r!=="^"&&r!=="$"?null:i._createPatternToken(n,u.anchor,t,1)},_updateSettingsFromConstructs:function(n,t){t.isIgnoreWhitespace!=null&&(n.ignoreWhitespace=t.isIgnoreWhitespace);t.isExplicitCapture!=null&&(n.explicitCapture=t.isExplicitCapture)},_parseGroupToken:function(n,t,i,r){var s=System.Text.RegularExpressions.RegexEngineParser,u=s.tokenTypes,a={ignoreWhitespace:t.ignoreWhitespace,explicitCapture:t.explicitCapture},e=n[i],h,c,l,ft,et,p,w,ot,b,nt;if(e!=="(")return null;var k=1,y=!1,d=i+1,o=-1,g=!1,tt=!1,it=!1,rt=!1,ut=!1,v=null,f=s._parseGroupConstructToken(n,a,i+1,r);for(f!=null&&(v=this._fillGroupConstructs(f),d+=f.length,f.type===u.commentInline?g=!0:f.type===u.alternationGroupCondition?tt=!0:f.type===u.groupConstructImnsx?(this._updateSettingsFromConstructs(a,v),rt=!0):f.type===u.groupConstructImnsxMisc&&(this._updateSettingsFromConstructs(t,v),it=!0)),a.explicitCapture&&(v==null||v.name1==null)&&(ut=!0),h=d;h1))throw new System.ArgumentException.$ctor1("Too many | in (?()|).");if(w===0)throw new System.NotSupportedException.$ctor1("Alternation group without | is not supported.");ot=s._createPatternToken(n,u.alternationGroup,i,1+o-i,l,"(",")");c=ot}else b=u.group,it?b=u.groupImnsxMisc:rt&&(b=u.groupImnsx),nt=s._createPatternToken(n,b,i,1+o-i,l,"(",")"),nt.localSettings=a,c=nt}return ut&&(c.isNonCapturingExplicit=!0),c},_parseGroupConstructToken:function(n,t,i,r){var f=System.Text.RegularExpressions.RegexEngineParser,o=f.tokenTypes,u=n[i],h,c,s,l,e,a,v;if(u!=="?"||i+1>=r)return null;if(u=n[i+1],u===":"||u==="="||u==="!"||u===">")return f._createPatternToken(n,o.groupConstruct,i,2);if(u==="#")return f._createPatternToken(n,o.commentInline,i,2);if(u==="(")return f._parseAlternationGroupConditionToken(n,t,i,r);if(u==="<"&&i+2":u,s=f._matchUntil(n,i+2,r,c),s.unmatchLength!==1||s.matchLength===0)throw new System.ArgumentException.$ctor1("Unrecognized grouping construct.");if(l=s.match.slice(0,1),"`~@#$%^&*()+{}[]|\\/|'\";:,.?".indexOf(l)>=0)throw new System.ArgumentException.$ctor1("Invalid group name: Group names must begin with a word character.");return f._createPatternToken(n,o.groupConstructName,i,2+s.matchLength+1)}if(e=f._matchChars(n,i+1,r,"imnsx-"),e.matchLength>0&&(e.unmatchCh===":"||e.unmatchCh===")"))return a=e.unmatchCh===":"?o.groupConstructImnsx:o.groupConstructImnsxMisc,v=e.unmatchCh===":"?1:0,f._createPatternToken(n,a,i,1+e.matchLength+v);throw new System.ArgumentException.$ctor1("Unrecognized grouping construct.");},_parseQuantifierToken:function(n,t,i){var f=System.Text.RegularExpressions.RegexEngineParser,s=f.tokenTypes,r=null,e=n[t],u,o,h,c;if(e==="*"||e==="+"||e==="?")r=f._createPatternToken(n,s.quantifier,t,1),r.data={val:e};else if(e==="{"&&(u=f._matchChars(n,t+1,i,f._decSymbols),u.matchLength!==0))if(u.unmatchCh==="}")r=f._createPatternToken(n,s.quantifierN,t,1+u.matchLength+1),r.data={n:parseInt(u.match,10)};else if(u.unmatchCh===","&&(o=f._matchChars(n,u.unmatchIndex+1,i,f._decSymbols),o.unmatchCh==="}"&&(r=f._createPatternToken(n,s.quantifierNM,t,1+u.matchLength+1+o.matchLength+1),r.data={n:parseInt(u.match,10),m:null},o.matchLength!==0&&(r.data.m=parseInt(o.match,10),r.data.n>r.data.m))))throw new System.ArgumentException.$ctor1("Illegal {x,y} with x > y.");return r!=null&&(h=t+r.length,h=r||n[i+1]!=="("||(f=s._parseGroupToken(n,t,i+1,r),f==null))return null;if(f.type===u.commentInline)throw new System.ArgumentException.$ctor1("Alternation conditions cannot be comments.");if(e=f.children,e&&e.length){if(h=e[0],h.type===u.groupConstructName)throw new System.ArgumentException.$ctor1("Alternation conditions do not capture and cannot be named.");if((h.type===u.groupConstruct||h.type===u.groupConstructImnsx)&&(l=s._findFirstGroupWithoutConstructs(e),l!=null&&(l.isEmptyCapturing=!0)),h.type===u.literal)if(o=f.value.slice(1,f.value.length-1),v=o[0]>="0"&&o[0]<="9",v){if(y=s._matchChars(o,0,o.length,s._decSymbols),y.matchLength!==o.length)throw new System.ArgumentException.$ctor1("Malformed Alternation group number: "+o+".");p=parseInt(o,10);c={number:p}}else c={name:o}}return e.length&&(e[0].type===u.groupConstruct||e[0].type===u.groupConstructImnsx)||(h=s._createPatternToken("?:",u.groupConstruct,0,2),e.splice(0,0,h)),a=s._createPatternToken(n,u.alternationGroupCondition,f.index-1,1+f.length,[f],"?",""),c!=null&&(a.data=c),a},_findFirstGroupWithoutConstructs:function(n){for(var f=System.Text.RegularExpressions.RegexEngineParser,u=f.tokenTypes,i=null,t,r=0;r0&&(o.children=u,o.childrenPrefix=f,o.childrenPostfix=e),o},_modifyPatternToken:function(n,t,i,r,u){i!=null&&(n.type=i);(r!=null||u!=null)&&(r!=null&&(n.index=r),u!=null&&(n.length=u),n.value=t.slice(n.index,n.index+n.length))},_updatePatternToken:function(n,t,i,r,u){n.type=t;n.index=i;n.length=r;n.value=u},_matchChars:function(n,t,i,r,u){var f={match:"",matchIndex:-1,matchLength:0,unmatchCh:"",unmatchIndex:-1,unmatchLength:0},e=t,o;for(u!=null&&u>=0&&(i=t+u);et&&(f.match=n.slice(t,e),f.matchIndex=t,f.matchLength=e-t),f},_matchUntil:function(n,t,i,r,u){var f={match:"",matchIndex:-1,matchLength:0,unmatchCh:"",unmatchIndex:-1,unmatchLength:0},e=t,o;for(u!=null&&u>=0&&(i=t+u);e=0){f.unmatchCh=o;f.unmatchIndex=e;f.unmatchLength=1;break}e++}return e>t&&(f.match=n.slice(t,e),f.matchIndex=t,f.matchLength=e-t),f}}});Bridge.define("System.BitConverter",{statics:{fields:{isLittleEndian:!1,arg_ArrayPlusOffTooSmall:null},ctors:{init:function(){this.isLittleEndian=System.BitConverter.getIsLittleEndian();this.arg_ArrayPlusOffTooSmall="Destination array is not long enough to copy all the items in the collection. Check array index and length."}},methods:{getBytes:function(n){return n?System.Array.init([1],System.Byte):System.Array.init([0],System.Byte)},getBytes$1:function(n){return System.BitConverter.getBytes$3(Bridge.Int.sxs(n&65535))},getBytes$3:function(n){var t=System.BitConverter.view(2);return t.setInt16(0,n),System.BitConverter.getViewBytes(t)},getBytes$4:function(n){var t=System.BitConverter.view(4);return t.setInt32(0,n),System.BitConverter.getViewBytes(t)},getBytes$5:function(n){var t=System.BitConverter.getView(n);return System.BitConverter.getViewBytes(t)},getBytes$7:function(n){var t=System.BitConverter.view(2);return t.setUint16(0,n),System.BitConverter.getViewBytes(t)},getBytes$8:function(n){var t=System.BitConverter.view(4);return t.setUint32(0,n),System.BitConverter.getViewBytes(t)},getBytes$9:function(n){var t=System.BitConverter.getView(System.Int64.clip64(n));return System.BitConverter.getViewBytes(t)},getBytes$6:function(n){var t=System.BitConverter.view(4);return t.setFloat32(0,n),System.BitConverter.getViewBytes(t)},getBytes$2:function(n){if(isNaN(n))return System.BitConverter.isLittleEndian?System.Array.init([0,0,0,0,0,0,248,255],System.Byte):System.Array.init([255,248,0,0,0,0,0,0],System.Byte);var t=System.BitConverter.view(8);return t.setFloat64(0,n),System.BitConverter.getViewBytes(t)},toChar:function(n,t){return System.BitConverter.toInt16(n,t)&65535},toInt16:function(n,t){System.BitConverter.checkArguments(n,t,2);var i=System.BitConverter.view(2);return System.BitConverter.setViewBytes(i,n,-1,t),i.getInt16(0)},toInt32:function(n,t){System.BitConverter.checkArguments(n,t,4);var i=System.BitConverter.view(4);return System.BitConverter.setViewBytes(i,n,-1,t),i.getInt32(0)},toInt64:function(n,t){System.BitConverter.checkArguments(n,t,8);var i=System.BitConverter.toInt32(n,t),r=System.BitConverter.toInt32(n,t+4|0);return System.BitConverter.isLittleEndian?System.Int64([i,r]):System.Int64([r,i])},toUInt16:function(n,t){return System.BitConverter.toInt16(n,t)&65535},toUInt32:function(n,t){return System.BitConverter.toInt32(n,t)>>>0},toUInt64:function(n,t){var i=System.BitConverter.toInt64(n,t);return System.UInt64([i.value.low,i.value.high])},toSingle:function(n,t){System.BitConverter.checkArguments(n,t,4);var i=System.BitConverter.view(4);return System.BitConverter.setViewBytes(i,n,-1,t),i.getFloat32(0)},toDouble:function(n,t){System.BitConverter.checkArguments(n,t,8);var i=System.BitConverter.view(8);return System.BitConverter.setViewBytes(i,n,-1,t),i.getFloat64(0)},toString$2:function(n,t,i){var e;if(n==null)throw new System.ArgumentNullException.$ctor1("value");if(t<0||t>=n.length&&t>0)throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("length");if(t>(n.length-i|0))throw new System.ArgumentException.$ctor1(System.BitConverter.arg_ArrayPlusOffTooSmall);if(i===0)return"";if(i>715827882)throw new System.ArgumentOutOfRangeException.$ctor4("length",Bridge.toString(715827882));for(var o=Bridge.Int.mul(i,3),r=System.Array.init(o,0,System.Char),u=0,f=t,u=0;u=0;u=u-1|0)r[System.Array.index(u,r)]=n.getUint8(Bridge.identity(i,i=i+1|0));else for(f=0;f=0;u=u-1|0)n.setUint8(u,t[System.Array.index(Bridge.identity(r,r=r+1|0),t)]);else for(f=0;f>>0).gte(System.Int64(n.length)))throw new System.ArgumentOutOfRangeException.$ctor1("startIndex");if(t>(n.length-i|0))throw new System.ArgumentException.$ctor1(System.BitConverter.arg_ArrayPlusOffTooSmall);}}}});Bridge.define("System.Collections.BitArray",{inherits:[System.Collections.ICollection,System.ICloneable],statics:{fields:{BitsPerInt32:0,BytesPerInt32:0,BitsPerByte:0,_ShrinkThreshold:0},ctors:{init:function(){this.BitsPerInt32=32;this.BytesPerInt32=4;this.BitsPerByte=8;this._ShrinkThreshold=256}},methods:{GetArrayLength:function(n,t){return n>0?(Bridge.Int.div(n-1|0,t)|0)+1|0:0}}},fields:{m_array:null,m_length:0,_version:0},props:{Length:{get:function(){return this.m_length},set:function(n){var t,r,i,u;if(n<0)throw new System.ArgumentOutOfRangeException.$ctor4("value","Non-negative number required.");t=System.Collections.BitArray.GetArrayLength(n,System.Collections.BitArray.BitsPerInt32);(t>this.m_array.length||(t+System.Collections.BitArray._ShrinkThreshold|0)this.m_array.length?this.m_array.length:t),this.m_array=r);n>this.m_length&&(i=System.Collections.BitArray.GetArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32)-1|0,u=this.m_length%32,u>0&&(this.m_array[System.Array.index(i,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]&((1<268435455)throw new System.ArgumentException.$ctor3(System.String.format("The input array length must not exceed Int32.MaxValue / {0}. Otherwise BitArray.Length would exceed Int32.MaxValue.",[Bridge.box(System.Collections.BitArray.BitsPerByte,System.Int32)]),"bytes");for(this.m_array=System.Array.init(System.Collections.BitArray.GetArrayLength(n.length,System.Collections.BitArray.BytesPerInt32),0,System.Int32),this.m_length=Bridge.Int.mul(n.length,System.Collections.BitArray.BitsPerByte),i=0,t=0;(n.length-t|0)>=4;)this.m_array[System.Array.index(Bridge.identity(i,i=i+1|0),this.m_array)]=n[System.Array.index(t,n)]&255|(n[System.Array.index(t+1|0,n)]&255)<<8|(n[System.Array.index(t+2|0,n)]&255)<<16|(n[System.Array.index(t+3|0,n)]&255)<<24,t=t+4|0;r=n.length-t|0;r===3&&(this.m_array[System.Array.index(i,this.m_array)]=(n[System.Array.index(t+2|0,n)]&255)<<16,r=2);r===2&&(this.m_array[System.Array.index(i,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|(n[System.Array.index(t+1|0,n)]&255)<<8,r=1);r===1&&(this.m_array[System.Array.index(i,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|n[System.Array.index(t,n)]&255);this._version=0},ctor:function(n){var i,t;if(this.$initialize(),n==null)throw new System.ArgumentNullException.$ctor1("values");for(this.m_array=System.Array.init(System.Collections.BitArray.GetArrayLength(n.length,System.Collections.BitArray.BitsPerInt32),0,System.Int32),this.m_length=n.length,t=0;t67108863)throw new System.ArgumentException.$ctor3(System.String.format("The input array length must not exceed Int32.MaxValue / {0}. Otherwise BitArray.Length would exceed Int32.MaxValue.",[Bridge.box(System.Collections.BitArray.BitsPerInt32,System.Int32)]),"values");this.m_array=System.Array.init(n.length,0,System.Int32);this.m_length=Bridge.Int.mul(n.length,System.Collections.BitArray.BitsPerInt32);System.Array.copy(n,0,this.m_array,0,n.length);this._version=0},$ctor2:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException.$ctor1("bits");var t=System.Collections.BitArray.GetArrayLength(n.m_length,System.Collections.BitArray.BitsPerInt32);this.m_array=System.Array.init(t,0,System.Int32);this.m_length=n.m_length;System.Array.copy(n.m_array,0,this.m_array,0,t);this._version=n._version}},methods:{getItem:function(n){return this.Get(n)},setItem:function(n,t){this.Set(n,t)},copyTo:function(n,t){var u,f,i,e,r;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(System.Array.getRank(n)!==1)throw new System.ArgumentException.$ctor1("Only single dimensional arrays are supported for the requested action.");if(Bridge.is(n,System.Array.type(System.Int32)))System.Array.copy(this.m_array,0,n,t,System.Collections.BitArray.GetArrayLength(this.m_length,System.Collections.BitArray.BitsPerInt32));else if(Bridge.is(n,System.Array.type(System.Byte))){if(u=System.Collections.BitArray.GetArrayLength(this.m_length,System.Collections.BitArray.BitsPerByte),(n.length-t|0)>Bridge.Int.mul(i%4,8)&255}else if(Bridge.is(n,System.Array.type(System.Boolean))){if((n.length-t|0)>r%32&1)!=0}else throw new System.ArgumentException.$ctor1("Only supported array types for CopyTo on BitArrays are Boolean[], Int32[] and Byte[].");},Get:function(n){if(n<0||n>=this.Length)throw new System.ArgumentOutOfRangeException.$ctor4("index","Index was out of range. Must be non-negative and less than the size of the collection.");return(this.m_array[System.Array.index(Bridge.Int.div(n,32)|0,this.m_array)]&1<=this.Length)throw new System.ArgumentOutOfRangeException.$ctor4("index","Index was out of range. Must be non-negative and less than the size of the collection.");t?this.m_array[System.Array.index(i=Bridge.Int.div(n,32)|0,this.m_array)]=this.m_array[System.Array.index(i,this.m_array)]|1<=this.bitarray.Count)throw new System.InvalidOperationException.$ctor1("Enumeration already finished.");return Bridge.box(this.currentElement,System.Boolean,System.Boolean.toString)}}},alias:["moveNext","System$Collections$IEnumerator$moveNext","Current","System$Collections$IEnumerator$Current","reset","System$Collections$IEnumerator$reset"],ctors:{ctor:function(n){this.$initialize();this.bitarray=n;this.index=-1;this.version=n._version}},methods:{moveNext:function(){if(this.version!==this.bitarray._version)throw new System.InvalidOperationException.$ctor1("Collection was modified; enumeration operation may not execute.");return this.index<(this.bitarray.Count-1|0)?(this.index=this.index+1|0,this.currentElement=this.bitarray.Get(this.index),!0):(this.index=this.bitarray.Count,!1)},reset:function(){if(this.version!==this.bitarray._version)throw new System.InvalidOperationException.$ctor1("Collection was modified; enumeration operation may not execute.");this.index=-1}}});Bridge.define("System.Collections.Generic.BitHelper",{statics:{fields:{MarkedBitFlag:0,IntSize:0},ctors:{init:function(){this.MarkedBitFlag=1;this.IntSize=32}},methods:{ToIntArrayLength:function(n){return n>0?(Bridge.Int.div(n-1|0,System.Collections.Generic.BitHelper.IntSize)|0)+1|0:0}}},fields:{_length:0,_array:null},ctors:{ctor:function(n,t){this.$initialize();this._array=n;this._length=t}},methods:{MarkBit:function(n){var t=Bridge.Int.div(n,System.Collections.Generic.BitHelper.IntSize)|0,i;t=0&&(i=System.Collections.Generic.BitHelper.MarkedBitFlag<=0?(i=System.Collections.Generic.BitHelper.MarkedBitFlag<>>0>e&&(o=e<=r?r+1|0:e),System.Array.resize(f,o,Bridge.getDefaultValue(n))),f.v[System.Array.index(Bridge.identity(r,r=r+1|0),f.v)]=u[Bridge.geti(u,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")];return i.v=r,f.v}}finally{Bridge.hasValue(u)&&u.System$IDisposable$Dispose()}return i.v=0,System.Array.init(0,function(){return Bridge.getDefaultValue(n)},n)}}}});Bridge.define("System.Collections.Generic.HashSet$1",function(n){return{inherits:[System.Collections.Generic.ICollection$1(n),System.Collections.Generic.ISet$1(n),System.Collections.Generic.IReadOnlyCollection$1(n)],statics:{fields:{Lower31BitMask:0,ShrinkThreshold:0},ctors:{init:function(){this.Lower31BitMask=2147483647;this.ShrinkThreshold=3}},methods:{HashSetEquals:function(t,i,r){var u,f,e,s,h,o,c;if(t==null)return i==null;if(i==null)return!1;if(System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(t,i)){if(t.Count!==i.Count)return!1;u=Bridge.getEnumerator(i);try{while(u.moveNext())if(s=u.Current,!t.contains(s))return!1}finally{Bridge.is(u,System.IDisposable)&&u.System$IDisposable$Dispose()}return!0}f=Bridge.getEnumerator(i);try{while(f.moveNext()){h=f.Current;o=!1;e=Bridge.getEnumerator(t);try{while(e.moveNext())if(c=e.Current,r[Bridge.geti(r,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](h,c)){o=!0;break}}finally{Bridge.is(e,System.IDisposable)&&e.System$IDisposable$Dispose()}if(!o)return!1}}finally{Bridge.is(f,System.IDisposable)&&f.System$IDisposable$Dispose()}return!0},AreEqualityComparersEqual:function(n,t){return Bridge.equals(n.Comparer,t.Comparer)}}},fields:{_buckets:null,_slots:null,_count:0,_lastIndex:0,_freeList:0,_comparer:null,_version:0},props:{Count:{get:function(){return this._count}},IsReadOnly:{get:function(){return!1}},Comparer:{get:function(){return this._comparer}}},alias:["System$Collections$Generic$ICollection$1$add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly","System$Collections$Generic$IEnumerable$1$GetEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator","add","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$add","unionWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$unionWith","intersectWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$intersectWith","exceptWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$exceptWith","symmetricExceptWith","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$symmetricExceptWith","isSubsetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isSubsetOf","isProperSubsetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isProperSubsetOf","isSupersetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isSupersetOf","isProperSupersetOf","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$isProperSupersetOf","overlaps","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$overlaps","setEquals","System$Collections$Generic$ISet$1$"+Bridge.getTypeAlias(n)+"$setEquals"],ctors:{ctor:function(){System.Collections.Generic.HashSet$1(n).$ctor3.call(this,System.Collections.Generic.EqualityComparer$1(n).def)},$ctor3:function(t){this.$initialize();t==null&&(t=System.Collections.Generic.EqualityComparer$1(n).def);this._comparer=t;this._lastIndex=0;this._count=0;this._freeList=-1;this._version=0},$ctor1:function(t){System.Collections.Generic.HashSet$1(n).$ctor2.call(this,t,System.Collections.Generic.EqualityComparer$1(n).def)},$ctor2:function(t,i){if(System.Collections.Generic.HashSet$1(n).$ctor3.call(this,i),t==null)throw new System.ArgumentNullException.$ctor1("collection");var r=0,u=Bridge.as(t,System.Collections.Generic.ICollection$1(n));u!=null&&(r=System.Array.getCount(u,n));this.Initialize(r);this.unionWith(t);(this._count===0&&this._slots.length>System.Collections.HashHelpers.GetMinPrime()||this._count>0&&(Bridge.Int.div(this._slots.length,this._count)|0)>System.Collections.Generic.HashSet$1(n).ShrinkThreshold)&&this.TrimExcess()}},methods:{System$Collections$Generic$ICollection$1$add:function(n){this.AddIfNotPresent(n)},add:function(n){return this.AddIfNotPresent(n)},clear:function(){var t,i;if(this._lastIndex>0){for(t=0;t=0;i=this._slots[System.Array.index(i,this._slots)].next)if(this._slots[System.Array.index(i,this._slots)].hashCode===r&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(i,this._slots)].value,t))return!0;return!1},copyTo:function(n,t){this.CopyTo$1(n,t,this._count)},CopyTo:function(n){this.CopyTo$1(n,0,this._count)},CopyTo$1:function(n,t,i){var u,r;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("arrayIndex");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if(t>n.length||i>(n.length-t|0))throw new System.ArgumentException.$ctor1("Destination array is not long enough to copy all the items in the collection. Check array index and length.");for(u=0,r=0;r=0&&(n[System.Array.index(t+u|0,n)]=this._slots[System.Array.index(r,this._slots)].value,u=u+1|0)},remove:function(t){var i;if(this._buckets!=null){var u=this.InternalGetHashCode(t),f=u%this._buckets.length,r=-1;for(i=this._buckets[System.Array.index(f,this._buckets)]-1|0;i>=0;r=i,i=this._slots[System.Array.index(i,this._slots)].next)if(this._slots[System.Array.index(i,this._slots)].hashCode===u&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(i,this._slots)].value,t))return r<0?this._buckets[System.Array.index(f,this._buckets)]=this._slots[System.Array.index(i,this._slots)].next+1|0:this._slots[System.Array.index(r,this._slots)].next=this._slots[System.Array.index(i,this._slots)].next,this._slots[System.Array.index(i,this._slots)].hashCode=-1,this._slots[System.Array.index(i,this._slots)].value=Bridge.getDefaultValue(n),this._slots[System.Array.index(i,this._slots)].next=this._freeList,this._count=this._count-1|0,this._version=this._version+1|0,this._count===0?(this._lastIndex=0,this._freeList=-1):this._freeList=i,!0}return!1},GetEnumerator:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n).$ctor1)(this)},System$Collections$Generic$IEnumerable$1$GetEnumerator:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n).$ctor1)(this).$clone()},System$Collections$IEnumerable$GetEnumerator:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n).$ctor1)(this).$clone()},unionWith:function(t){var i,r;if(t==null)throw new System.ArgumentNullException.$ctor1("other");i=Bridge.getEnumerator(t,n);try{while(i.moveNext())r=i.Current,this.AddIfNotPresent(r)}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$Dispose()}},intersectWith:function(t){var r,i;if(t==null)throw new System.ArgumentNullException.$ctor1("other");if(this._count!==0){if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(System.Array.getCount(r,n)===0){this.clear();return}if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(this,i)){this.IntersectWithHashSetWithSameEC(i);return}}this.IntersectWithEnumerable(t)}},exceptWith:function(t){var i,r;if(t==null)throw new System.ArgumentNullException.$ctor1("other");if(this._count!==0){if(Bridge.referenceEquals(t,this)){this.clear();return}i=Bridge.getEnumerator(t,n);try{while(i.moveNext())r=i.Current,this.remove(r)}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$Dispose()}}},symmetricExceptWith:function(t){if(t==null)throw new System.ArgumentNullException.$ctor1("other");if(this._count===0){this.unionWith(t);return}if(Bridge.referenceEquals(t,this)){this.clear();return}var i=Bridge.as(t,System.Collections.Generic.HashSet$1(n));i!=null&&System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(this,i)?this.SymmetricExceptWithUniqueHashSet(i):this.SymmetricExceptWithEnumerable(t)},isSubsetOf:function(t){var i,r;if(t==null)throw new System.ArgumentNullException.$ctor1("other");return this._count===0?!0:(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(this,i)?this._count>i.Count?!1:this.IsSubsetOfHashSetWithSameEC(i):(r=this.CheckUniqueAndUnfoundElements(t,!1),r.uniqueCount===this._count&&r.unfoundCount>=0))},isProperSubsetOf:function(t){var r,i,u;if(t==null)throw new System.ArgumentNullException.$ctor1("other");if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(this._count===0)return System.Array.getCount(r,n)>0;if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(this,i))return this._count>=i.Count?!1:this.IsSubsetOfHashSetWithSameEC(i)}return u=this.CheckUniqueAndUnfoundElements(t,!1),u.uniqueCount===this._count&&u.unfoundCount>0},isSupersetOf:function(t){var r,i;if(t==null)throw new System.ArgumentNullException.$ctor1("other");if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(System.Array.getCount(r,n)===0)return!0;if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(this,i)&&i.Count>this._count)return!1}return this.ContainsAllElements(t)},isProperSupersetOf:function(t){var r,i,u;if(t==null)throw new System.ArgumentNullException.$ctor1("other");if(this._count===0)return!1;if(r=Bridge.as(t,System.Collections.Generic.ICollection$1(n)),r!=null){if(System.Array.getCount(r,n)===0)return!0;if(i=Bridge.as(t,System.Collections.Generic.HashSet$1(n)),i!=null&&System.Collections.Generic.HashSet$1(n).AreEqualityComparersEqual(this,i))return i.Count>=this._count?!1:this.ContainsAllElements(i)}return u=this.CheckUniqueAndUnfoundElements(t,!0),u.uniqueCount0)?!1:(u=this.CheckUniqueAndUnfoundElements(t,!0),u.uniqueCount===this._count&&u.unfoundCount===0)},RemoveWhere:function(n){var i,t,r;if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException.$ctor1("match");for(i=0,t=0;t=0&&(r=this._slots[System.Array.index(t,this._slots)].value,n(r)&&this.remove(r)&&(i=i+1|0));return i},TrimExcess:function(){var r,e;if(this._count===0)this._buckets=null,this._slots=null,this._version=this._version+1|0;else{var f=System.Collections.HashHelpers.GetPrime(this._count),t=System.Array.init(f,function(){return new(System.Collections.Generic.HashSet$1.Slot(n))},System.Collections.Generic.HashSet$1.Slot(n)),u=System.Array.init(f,0,System.Int32),i=0;for(r=0;r=0&&(t[System.Array.index(i,t)]=this._slots[System.Array.index(r,this._slots)].$clone(),e=t[System.Array.index(i,t)].hashCode%f,t[System.Array.index(i,t)].next=u[System.Array.index(e,u)]-1|0,u[System.Array.index(e,u)]=i+1|0,i=i+1|0);this._lastIndex=i;this._slots=t;this._buckets=u;this._freeList=-1}},Initialize:function(t){var i=System.Collections.HashHelpers.GetPrime(t);this._buckets=System.Array.init(i,0,System.Int32);this._slots=System.Array.init(i,function(){return new(System.Collections.Generic.HashSet$1.Slot(n))},System.Collections.Generic.HashSet$1.Slot(n))},IncreaseCapacity:function(){var n=System.Collections.HashHelpers.ExpandPrime(this._count);if(n<=this._count)throw new System.ArgumentException.$ctor1("HashSet capacity is too big.");this.SetCapacity(n,!1)},SetCapacity:function(t,i){var r=System.Array.init(t,function(){return new(System.Collections.Generic.HashSet$1.Slot(n))},System.Collections.Generic.HashSet$1.Slot(n)),e,u,o,f,s;if(this._slots!=null)for(e=0;e=0;r=this._slots[System.Array.index(r,this._slots)].next)if(this._slots[System.Array.index(r,this._slots)].hashCode===u&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(r,this._slots)].value,t))return!1;return this._freeList>=0?(i=this._freeList,this._freeList=this._slots[System.Array.index(i,this._slots)].next):(this._lastIndex===this._slots.length&&(this.IncreaseCapacity(),f=u%this._buckets.length),i=this._lastIndex,this._lastIndex=this._lastIndex+1|0),this._slots[System.Array.index(i,this._slots)].hashCode=u,this._slots[System.Array.index(i,this._slots)].value=t,this._slots[System.Array.index(i,this._slots)].next=this._buckets[System.Array.index(f,this._buckets)]-1|0,this._buckets[System.Array.index(f,this._buckets)]=i+1|0,this._count=this._count+1|0,this._version=this._version+1|0,!0},ContainsAllElements:function(t){var i,r;i=Bridge.getEnumerator(t,n);try{while(i.moveNext())if(r=i.Current,!this.contains(r))return!1}finally{Bridge.is(i,System.IDisposable)&&i.System$IDisposable$Dispose()}return!0},IsSubsetOfHashSetWithSameEC:function(n){var t,i;t=Bridge.getEnumerator(this);try{while(t.moveNext())if(i=t.Current,!n.contains(i))return!1}finally{Bridge.is(t,System.IDisposable)&&t.System$IDisposable$Dispose()}return!0},IntersectWithHashSetWithSameEC:function(n){for(var i,t=0;t=0&&(i=this._slots[System.Array.index(t,this._slots)].value,n.contains(i)||this.remove(i))},IntersectWithEnumerable:function(t){var r,e=this._lastIndex,o=System.Collections.Generic.BitHelper.ToIntArrayLength(e),u,h=System.Array.init(o,0,System.Int32),s,f,i;u=new System.Collections.Generic.BitHelper(h,o);r=Bridge.getEnumerator(t,n);try{while(r.moveNext())s=r.Current,f=this.InternalIndexOf(s),f>=0&&u.MarkBit(f)}finally{Bridge.is(r,System.IDisposable)&&r.System$IDisposable$Dispose()}for(i=0;i=0&&!u.IsMarked(i)&&this.remove(this._slots[System.Array.index(i,this._slots)].value)},InternalIndexOf:function(t){for(var r=this.InternalGetHashCode(t),i=this._buckets[System.Array.index(r%this._buckets.length,this._buckets)]-1|0;i>=0;i=this._slots[System.Array.index(i,this._slots)].next)if(this._slots[System.Array.index(i,this._slots)].hashCode===r&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(i,this._slots)].value,t))return i;return-1},SymmetricExceptWithUniqueHashSet:function(n){var t,i;t=Bridge.getEnumerator(n);try{while(t.moveNext())i=t.Current,this.remove(i)||this.AddIfNotPresent(i)}finally{Bridge.is(t,System.IDisposable)&&t.System$IDisposable$Dispose()}},SymmetricExceptWithEnumerable:function(t){var r,e=this._lastIndex,f=System.Collections.Generic.BitHelper.ToIntArrayLength(e),o,s,c=System.Array.init(f,0,System.Int32),h,i;o=new System.Collections.Generic.BitHelper(c,f);h=System.Array.init(f,0,System.Int32);s=new System.Collections.Generic.BitHelper(h,f);r=Bridge.getEnumerator(t,n);try{while(r.moveNext()){var l=r.Current,u={v:0},a=this.AddOrGetLocation(l,u);a?s.MarkBit(u.v):u.v=0;u=this._slots[System.Array.index(u,this._slots)].next)if(this._slots[System.Array.index(u,this._slots)].hashCode===f&&this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$equals2","System$Collections$Generic$IEqualityComparer$1$equals2")](this._slots[System.Array.index(u,this._slots)].value,t))return i.v=u,!1;return this._freeList>=0?(r=this._freeList,this._freeList=this._slots[System.Array.index(r,this._slots)].next):(this._lastIndex===this._slots.length&&(this.IncreaseCapacity(),e=f%this._buckets.length),r=this._lastIndex,this._lastIndex=this._lastIndex+1|0),this._slots[System.Array.index(r,this._slots)].hashCode=f,this._slots[System.Array.index(r,this._slots)].value=t,this._slots[System.Array.index(r,this._slots)].next=this._buckets[System.Array.index(e,this._buckets)]-1|0,this._buckets[System.Array.index(e,this._buckets)]=r+1|0,this._count=this._count+1|0,this._version=this._version+1|0,i.v=r,!0},CheckUniqueAndUnfoundElements:function(t,i){var u,f,r=new(System.Collections.Generic.HashSet$1.ElementCount(n)),e,v,o,s,a,h;if(this._count===0){e=0;u=Bridge.getEnumerator(t,n);try{while(u.moveNext()){v=u.Current;e=e+1|0;break}}finally{Bridge.is(u,System.IDisposable)&&u.System$IDisposable$Dispose()}return r.uniqueCount=0,r.unfoundCount=e,r.$clone()}var y=this._lastIndex,l=System.Collections.Generic.BitHelper.ToIntArrayLength(y),c,p=System.Array.init(l,0,System.Int32);c=new System.Collections.Generic.BitHelper(p,l);o=0;s=0;f=Bridge.getEnumerator(t,n);try{while(f.moveNext())if(a=f.Current,h=this.InternalIndexOf(a),h>=0)c.IsMarked(h)||(c.MarkBit(h),s=s+1|0);else if(o=o+1|0,i)break}finally{Bridge.is(f,System.IDisposable)&&f.System$IDisposable$Dispose()}return r.uniqueCount=s,r.unfoundCount=o,r.$clone()},ToArray:function(){var t=System.Array.init(this.Count,function(){return Bridge.getDefaultValue(n)},n);return this.CopyTo(t),t},InternalGetHashCode:function(t){return t==null?0:this._comparer[Bridge.geti(this._comparer,"System$Collections$Generic$IEqualityComparer$1$"+Bridge.getTypeAlias(n)+"$getHashCode2","System$Collections$Generic$IEqualityComparer$1$getHashCode2")](t)&System.Collections.Generic.HashSet$1(n).Lower31BitMask}}}});Bridge.define("System.Collections.Generic.HashSet$1.ElementCount",function(n){return{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.HashSet$1.ElementCount(n))}}},fields:{uniqueCount:0,unfoundCount:0},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([4920463385,this.uniqueCount,this.unfoundCount])},equals:function(t){return Bridge.is(t,System.Collections.Generic.HashSet$1.ElementCount(n))?Bridge.equals(this.uniqueCount,t.uniqueCount)&&Bridge.equals(this.unfoundCount,t.unfoundCount):!1},$clone:function(t){var i=t||new(System.Collections.Generic.HashSet$1.ElementCount(n));return i.uniqueCount=this.uniqueCount,i.unfoundCount=this.unfoundCount,i}}}});Bridge.define("System.Collections.Generic.HashSet$1.Enumerator",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n)],$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.HashSet$1.Enumerator(n))}}},fields:{_set:null,_index:0,_version:0,_current:Bridge.getDefaultValue(n)},props:{Current:{get:function(){return this._current}},System$Collections$IEnumerator$Current:{get:function(){if(this._index===0||this._index===(this._set._lastIndex+1|0))throw new System.InvalidOperationException.$ctor1("Enumeration has either not started or has already finished.");return this.Current}}},alias:["Dispose","System$IDisposable$Dispose","moveNext","System$Collections$IEnumerator$moveNext","Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"]],ctors:{$ctor1:function(t){this.$initialize();this._set=t;this._index=0;this._version=t._version;this._current=Bridge.getDefaultValue(n)},ctor:function(){this.$initialize()}},methods:{Dispose:function(){},moveNext:function(){var t,i;if(this._version!==this._set._version)throw new System.InvalidOperationException.$ctor1("Collection was modified; enumeration operation may not execute.");while(this._index=0)return this._current=(i=this._set._slots)[System.Array.index(this._index,i)].value,this._index=this._index+1|0,!0;this._index=this._index+1|0}return this._index=this._set._lastIndex+1|0,this._current=Bridge.getDefaultValue(n),!1},System$Collections$IEnumerator$reset:function(){if(this._version!==this._set._version)throw new System.InvalidOperationException.$ctor1("Collection was modified; enumeration operation may not execute.");this._index=0;this._current=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this._set,this._index,this._version,this._current])},equals:function(t){return Bridge.is(t,System.Collections.Generic.HashSet$1.Enumerator(n))?Bridge.equals(this._set,t._set)&&Bridge.equals(this._index,t._index)&&Bridge.equals(this._version,t._version)&&Bridge.equals(this._current,t._current):!1},$clone:function(t){var i=t||new(System.Collections.Generic.HashSet$1.Enumerator(n));return i._set=this._set,i._index=this._index,i._version=this._version,i._current=this._current,i}}}});Bridge.define("System.Collections.Generic.HashSet$1.Slot",function(n){return{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.HashSet$1.Slot(n))}}},fields:{hashCode:0,value:Bridge.getDefaultValue(n),next:0},ctors:{ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return Bridge.addHash([1953459283,this.hashCode,this.value,this.next])},equals:function(t){return Bridge.is(t,System.Collections.Generic.HashSet$1.Slot(n))?Bridge.equals(this.hashCode,t.hashCode)&&Bridge.equals(this.value,t.value)&&Bridge.equals(this.next,t.next):!1},$clone:function(t){var i=t||new(System.Collections.Generic.HashSet$1.Slot(n));return i.hashCode=this.hashCode,i.value=this.value,i.next=this.next,i}}}});Bridge.define("System.Collections.Generic.List$1.Enumerator",function(n){return{inherits:[System.Collections.Generic.IEnumerator$1(n),System.Collections.IEnumerator],$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new(System.Collections.Generic.List$1.Enumerator(n))}}},fields:{list:null,index:0,version:0,current:Bridge.getDefaultValue(n)},props:{Current:{get:function(){return this.current}},System$Collections$IEnumerator$Current:{get:function(){if(this.index===0||this.index===(this.list._size+1|0))throw new System.InvalidOperationException.ctor;return this.Current}}},alias:["Dispose","System$IDisposable$Dispose","moveNext","System$Collections$IEnumerator$moveNext","Current",["System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1"]],ctors:{$ctor1:function(t){this.$initialize();this.list=t;this.index=0;this.version=t._version;this.current=Bridge.getDefaultValue(n)},ctor:function(){this.$initialize()}},methods:{Dispose:function(){},moveNext:function(){var n=this.list;return this.version===n._version&&this.index>>>0>>0?(this.current=n._items[System.Array.index(this.index,n._items)],this.index=this.index+1|0,!0):this.MoveNextRare()},MoveNextRare:function(){if(this.version!==this.list._version)throw new System.InvalidOperationException.ctor;return this.index=this.list._size+1|0,this.current=Bridge.getDefaultValue(n),!1},System$Collections$IEnumerator$reset:function(){if(this.version!==this.list._version)throw new System.InvalidOperationException.ctor;this.index=0;this.current=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this.list,this.index,this.version,this.current])},equals:function(t){return Bridge.is(t,System.Collections.Generic.List$1.Enumerator(n))?Bridge.equals(this.list,t.list)&&Bridge.equals(this.index,t.index)&&Bridge.equals(this.version,t.version)&&Bridge.equals(this.current,t.current):!1},$clone:function(t){var i=t||new(System.Collections.Generic.List$1.Enumerator(n));return i.list=this.list,i.index=this.index,i.version=this.version,i.current=this.current,i}}}});Bridge.define("System.Collections.Generic.Queue$1",function(n){return{inherits:[System.Collections.Generic.IEnumerable$1(n),System.Collections.ICollection,System.Collections.Generic.IReadOnlyCollection$1(n)],statics:{fields:{MinimumGrow:0,GrowFactor:0,DefaultCapacity:0},ctors:{init:function(){this.MinimumGrow=4;this.GrowFactor=200;this.DefaultCapacity=4}}},fields:{_array:null,_head:0,_tail:0,_size:0,_version:0},props:{Count:{get:function(){return this._size}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}},IsReadOnly:{get:function(){return!1}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","copyTo","System$Collections$ICollection$copyTo","System$Collections$Generic$IEnumerable$1$GetEnumerator","System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator"],ctors:{ctor:function(){this.$initialize();this._array=System.Array.init(0,function(){return Bridge.getDefaultValue(n)},n)},$ctor2:function(t){if(this.$initialize(),t<0)throw new System.ArgumentOutOfRangeException.$ctor4("capacity","Non-negative number required.");this._array=System.Array.init(t,function(){return Bridge.getDefaultValue(n)},n)},$ctor1:function(t){if(this.$initialize(),t==null)throw new System.ArgumentNullException.$ctor1("collection");this._array=System.Array.init(System.Collections.Generic.Queue$1(n).DefaultCapacity,function(){return Bridge.getDefaultValue(n)},n);var i=Bridge.getEnumerator(t,n);try{while(i.System$Collections$IEnumerator$moveNext())this.Enqueue(i[Bridge.geti(i,"System$Collections$Generic$IEnumerator$1$"+Bridge.getTypeAlias(n)+"$Current$1","System$Collections$Generic$IEnumerator$1$Current$1")])}finally{Bridge.hasValue(i)&&i.System$IDisposable$Dispose()}}},methods:{copyTo:function(n,t){var u,i,r;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(System.Array.getRank(n)!==1)throw new System.ArgumentException.$ctor1("Only single dimensional arrays are supported for the requested action.");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(u=n.length,(u-t|0)0&&System.Array.copy(this._array,0,n,(t+this._array.length|0)-this._head|0,i))},CopyTo:function(n,t){var r,i,u;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(t<0||t>n.length)throw new System.ArgumentOutOfRangeException.$ctor4("arrayIndex","Index was out of range. Must be non-negative and less than the size of the collection.");if(r=n.length,(r-t|0)0&&System.Array.copy(this._array,0,n,(t+this._array.length|0)-this._head|0,i))},Clear:function(){this._head0;){if(t==null){if(this._array[System.Array.index(i,this._array)]==null)return!0}else if(this._array[System.Array.index(i,this._array)]!=null&&u.equals2(this._array[System.Array.index(i,this._array)],t))return!0;i=this.MoveNext(i)}return!1},GetElement:function(n){return this._array[System.Array.index((this._head+n|0)%this._array.length,this._array)]},ToArray:function(){var t=System.Array.init(this._size,function(){return Bridge.getDefaultValue(n)},n);return this._size===0?t:(this._head0&&(this._head0;)if(t==null){if(this._array[System.Array.index(i,this._array)]==null)return!0}else if(this._array[System.Array.index(i,this._array)]!=null&&r.equals2(this._array[System.Array.index(i,this._array)],t))return!0;return!1},CopyTo:function(n,t){var i,u,r;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(t<0||t>n.length)throw new System.ArgumentOutOfRangeException.$ctor4("arrayIndex","Non-negative number required.");if((n.length-t|0)n.length)throw new System.ArgumentOutOfRangeException.$ctor4("arrayIndex","Non-negative number required.");if((n.length-t|0)=0,t&&(this._currentElement=(i=this._stack._array)[System.Array.index(this._index,i)]),t):this._index===-1?!1:(t=(this._index=this._index-1|0)>=0,this._currentElement=t?(r=this._stack._array)[System.Array.index(this._index,r)]:Bridge.getDefaultValue(n),t)},System$Collections$IEnumerator$reset:function(){if(this._version!==this._stack._version)throw new System.InvalidOperationException.$ctor1("Collection was modified; enumeration operation may not execute.");this._index=-2;this._currentElement=Bridge.getDefaultValue(n)},getHashCode:function(){return Bridge.addHash([3788985113,this._stack,this._index,this._version,this._currentElement])},equals:function(t){return Bridge.is(t,System.Collections.Generic.Stack$1.Enumerator(n))?Bridge.equals(this._stack,t._stack)&&Bridge.equals(this._index,t._index)&&Bridge.equals(this._version,t._version)&&Bridge.equals(this._currentElement,t._currentElement):!1},$clone:function(t){var i=t||new(System.Collections.Generic.Stack$1.Enumerator(n));return i._stack=this._stack,i._index=this._index,i._version=this._version,i._currentElement=this._currentElement,i}}}});Bridge.define("System.Collections.HashHelpers",{statics:{fields:{HashPrime:0,primes:null,MaxPrimeArrayLength:0},ctors:{init:function(){this.HashPrime=101;this.primes=System.Array.init([3,7,11,17,23,29,37,47,59,71,89,107,131,163,197,239,293,353,431,521,631,761,919,1103,1327,1597,1931,2333,2801,3371,4049,4861,5839,7013,8419,10103,12143,14591,17519,21023,25229,30293,36353,43627,52361,62851,75431,90523,108631,130363,156437,187751,225307,270371,324449,389357,467237,560689,672827,807403,968897,1162687,1395263,1674319,2009191,2411033,2893249,3471899,4166287,4999559,5999471,7199369],System.Int32);this.MaxPrimeArrayLength=2146435069}},methods:{IsPrime:function(n){var i,t;if((n&1)!=0){for(i=Bridge.Int.clip32(Math.sqrt(n)),t=3;t<=i;t=t+2|0)if(n%t==0)return!1;return!0}return n===2},GetPrime:function(n){var i,r,t;if(n<0)throw new System.ArgumentException.$ctor1("Hashtable's capacity overflowed and went negative. Check load factor, capacity and the current size of the table.");for(i=0;i=n)return r;for(t=n|1;t<2147483647;t=t+2|0)if(System.Collections.HashHelpers.IsPrime(t)&&(t-1|0)%System.Collections.HashHelpers.HashPrime!=0)return t;return n},GetMinPrime:function(){return System.Collections.HashHelpers.primes[System.Array.index(0,System.Collections.HashHelpers.primes)]},ExpandPrime:function(n){var t=Bridge.Int.mul(2,n);return t>>>0>System.Collections.HashHelpers.MaxPrimeArrayLength&&System.Collections.HashHelpers.MaxPrimeArrayLength>n?System.Collections.HashHelpers.MaxPrimeArrayLength:System.Collections.HashHelpers.GetPrime(t)}}}});Bridge.define("System.Collections.ObjectModel.Collection$1",function(n){return{inherits:[System.Collections.Generic.IList$1(n),System.Collections.IList,System.Collections.Generic.IReadOnlyList$1(n)],statics:{methods:{IsCompatibleObject:function(t){return Bridge.is(t,n)||t==null&&Bridge.getDefaultValue(n)==null}}},fields:{items:null,_syncRoot:null},props:{Count:{get:function(){return System.Array.getCount(this.items,n)}},Items:{get:function(){return this.items}},System$Collections$Generic$ICollection$1$IsReadOnly:{get:function(){return System.Array.getIsReadOnly(this.items,n)}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){if(this._syncRoot==null){var n=Bridge.as(this.items,System.Collections.ICollection);if(n!=null)this._syncRoot=n.System$Collections$ICollection$SyncRoot;else throw System.NotImplemented.ByDesign;}return this._syncRoot}},System$Collections$IList$IsReadOnly:{get:function(){return System.Array.getIsReadOnly(this.items,n)}},System$Collections$IList$IsFixedSize:{get:function(){var t=Bridge.as(this.items,System.Collections.IList);return t!=null?System.Array.isFixedSize(t):System.Array.getIsReadOnly(this.items,n)}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","getItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IReadOnlyList$1$getItem"],"setItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$setItem","System$Collections$Generic$IReadOnlyList$1$setItem"],"getItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$getItem","setItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$setItem","add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","clear","System$Collections$IList$clear","clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","GetEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator","System$Collections$Generic$IEnumerable$1$GetEnumerator"],"indexOf","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$indexOf","insert","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$insert","remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","removeAt","System$Collections$IList$removeAt","removeAt","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$removeAt","System$Collections$Generic$ICollection$1$IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly"],ctors:{ctor:function(){this.$initialize();this.items=new(System.Collections.Generic.List$1(n).ctor)},$ctor1:function(n){this.$initialize();n==null&&System.ThrowHelper.ThrowArgumentNullException(System.ExceptionArgument.list);this.items=n}},methods:{getItem:function(t){return System.Array.getItem(this.items,t,n)},setItem:function(t,i){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);(t<0||t>=System.Array.getCount(this.items,n))&&System.ThrowHelper.ThrowArgumentOutOfRange_IndexException();this.SetItem(t,i)},System$Collections$IList$getItem:function(t){return System.Array.getItem(this.items,t,n)},System$Collections$IList$setItem:function(t,i){System.ThrowHelper.IfNullAndNullsAreIllegalThenThrow(n,i,System.ExceptionArgument.value);try{this.setItem(t,Bridge.cast(Bridge.unbox(i),n))}catch(r){if(r=System.Exception.create(r),Bridge.is(r,System.InvalidCastException))System.ThrowHelper.ThrowWrongValueTypeArgumentException(System.Object,i,n);else throw r;}},add:function(t){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);var i=System.Array.getCount(this.items,n);this.InsertItem(i,t)},System$Collections$IList$add:function(t){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);System.ThrowHelper.IfNullAndNullsAreIllegalThenThrow(n,t,System.ExceptionArgument.value);try{this.add(Bridge.cast(Bridge.unbox(t),n))}catch(i){if(i=System.Exception.create(i),Bridge.is(i,System.InvalidCastException))System.ThrowHelper.ThrowWrongValueTypeArgumentException(System.Object,t,n);else throw i;}return this.Count-1|0},clear:function(){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);this.ClearItems()},copyTo:function(t,i){System.Array.copyTo(this.items,t,i,n)},System$Collections$ICollection$copyTo:function(t,i){var e,o,s,u,h,r;if(t==null&&System.ThrowHelper.ThrowArgumentNullException(System.ExceptionArgument.array),System.Array.getRank(t)!==1&&System.ThrowHelper.ThrowArgumentException(System.ExceptionResource.Arg_RankMultiDimNotSupported),System.Array.getLower(t,0)!==0&&System.ThrowHelper.ThrowArgumentException(System.ExceptionResource.Arg_NonZeroLowerBound),i<0&&System.ThrowHelper.ThrowIndexArgumentOutOfRange_NeedNonNegNumException(),(t.length-i|0)System.Array.getCount(this.items,n))&&System.ThrowHelper.ThrowArgumentOutOfRangeException$2(System.ExceptionArgument.index,System.ExceptionResource.ArgumentOutOfRange_ListInsert);this.InsertItem(t,i)},System$Collections$IList$insert:function(t,i){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);System.ThrowHelper.IfNullAndNullsAreIllegalThenThrow(n,i,System.ExceptionArgument.value);try{this.insert(t,Bridge.cast(Bridge.unbox(i),n))}catch(r){if(r=System.Exception.create(r),Bridge.is(r,System.InvalidCastException))System.ThrowHelper.ThrowWrongValueTypeArgumentException(System.Object,i,n);else throw r;}},remove:function(t){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);var i=System.Array.indexOf(this.items,t,0,null,n);return i<0?!1:(this.RemoveItem(i),!0)},System$Collections$IList$remove:function(t){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);System.Collections.ObjectModel.Collection$1(n).IsCompatibleObject(t)&&this.remove(Bridge.cast(Bridge.unbox(t),n))},removeAt:function(t){System.Array.getIsReadOnly(this.items,n)&&System.ThrowHelper.ThrowNotSupportedException$1(System.ExceptionResource.NotSupported_ReadOnlyCollection);(t<0||t>=System.Array.getCount(this.items,n))&&System.ThrowHelper.ThrowArgumentOutOfRange_IndexException();this.RemoveItem(t)},ClearItems:function(){System.Array.clear(this.items,n)},InsertItem:function(t,i){System.Array.insert(this.items,t,i,n)},RemoveItem:function(t){System.Array.removeAt(this.items,t,n)},SetItem:function(t,i){System.Array.setItem(this.items,t,i,n)}}}});Bridge.define("System.Collections.ObjectModel.ReadOnlyCollection$1",function(n){return{inherits:[System.Collections.Generic.IList$1(n),System.Collections.IList,System.Collections.Generic.IReadOnlyList$1(n)],statics:{methods:{IsCompatibleObject:function(t){return Bridge.is(t,n)||t==null&&Bridge.getDefaultValue(n)==null}}},fields:{list:null},props:{Count:{get:function(){return System.Array.getCount(this.list,n)}},System$Collections$ICollection$IsSynchronized:{get:function(){return!1}},System$Collections$ICollection$SyncRoot:{get:function(){return this}},Items:{get:function(){return this.list}},System$Collections$IList$IsFixedSize:{get:function(){return!0}},System$Collections$Generic$ICollection$1$IsReadOnly:{get:function(){return!0}},System$Collections$IList$IsReadOnly:{get:function(){return!0}}},alias:["Count",["System$Collections$Generic$IReadOnlyCollection$1$"+Bridge.getTypeAlias(n)+"$Count","System$Collections$Generic$IReadOnlyCollection$1$Count"],"Count","System$Collections$ICollection$Count","Count","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$Count","getItem",["System$Collections$Generic$IReadOnlyList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IReadOnlyList$1$getItem"],"contains","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$contains","copyTo","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$copyTo","GetEnumerator",["System$Collections$Generic$IEnumerable$1$"+Bridge.getTypeAlias(n)+"$GetEnumerator","System$Collections$Generic$IEnumerable$1$GetEnumerator"],"indexOf","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$indexOf","System$Collections$Generic$ICollection$1$IsReadOnly","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$IsReadOnly","System$Collections$Generic$IList$1$getItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$getItem","System$Collections$Generic$IList$1$setItem","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$setItem","System$Collections$Generic$ICollection$1$add","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$add","System$Collections$Generic$ICollection$1$clear","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$clear","System$Collections$Generic$IList$1$insert","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$insert","System$Collections$Generic$ICollection$1$remove","System$Collections$Generic$ICollection$1$"+Bridge.getTypeAlias(n)+"$remove","System$Collections$Generic$IList$1$removeAt","System$Collections$Generic$IList$1$"+Bridge.getTypeAlias(n)+"$removeAt"],ctors:{ctor:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException.$ctor1("list");this.list=n}},methods:{getItem:function(t){return System.Array.getItem(this.list,t,n)},System$Collections$Generic$IList$1$getItem:function(t){return System.Array.getItem(this.list,t,n)},System$Collections$Generic$IList$1$setItem:function(){throw new System.NotSupportedException.ctor;},System$Collections$IList$getItem:function(t){return System.Array.getItem(this.list,t,n)},System$Collections$IList$setItem:function(){throw new System.NotSupportedException.ctor;},contains:function(t){return System.Array.contains(this.list,t,n)},System$Collections$IList$contains:function(t){return System.Collections.ObjectModel.ReadOnlyCollection$1(n).IsCompatibleObject(t)?this.contains(Bridge.cast(Bridge.unbox(t),n)):!1},copyTo:function(t,i){System.Array.copyTo(this.list,t,i,n)},System$Collections$ICollection$copyTo:function(t,i){var f,e,o,u,s,r;if(t==null)throw new System.ArgumentNullException.$ctor1("array");if(System.Array.getRank(t)!==1)throw new System.ArgumentException.$ctor1("array");if(System.Array.getLower(t,0)!==0)throw new System.ArgumentException.$ctor1("array");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if((t.length-i|0)n.length)throw new System.ArgumentException.$ctor1("index plus count specify a position that is not within buffer.");}if(f="",n!=null)for(t===1&&(i=0,r=n.length),u=i;u<(i+r|0);u=u+1|0)f=(f||"")+String.fromCharCode(n[System.Array.index(u,n)]);return f},Clear:function(){var n=Bridge.global.console;n&&n.clear&&n.clear()}}}});Bridge.define("System.TokenType",{$kind:"enum",statics:{fields:{NumberToken:1,YearNumberToken:2,Am:3,Pm:4,MonthToken:5,EndOfString:6,DayOfWeekToken:7,TimeZoneToken:8,EraToken:9,DateWordToken:10,UnknownToken:11,HebrewNumber:12,JapaneseEraToken:13,TEraToken:14,IgnorableSymbol:15,SEP_Unk:256,SEP_End:512,SEP_Space:768,SEP_Am:1024,SEP_Pm:1280,SEP_Date:1536,SEP_Time:1792,SEP_YearSuff:2048,SEP_MonthSuff:2304,SEP_DaySuff:2560,SEP_HourSuff:2816,SEP_MinuteSuff:3072,SEP_SecondSuff:3328,SEP_LocalTimeMark:3584,SEP_DateOrOffset:3840,RegularTokenMask:255,SeparatorTokenMask:65280}}});Bridge.define("System.UnitySerializationHolder",{inherits:[System.Runtime.Serialization.ISerializable,System.Runtime.Serialization.IObjectReference],statics:{fields:{NullUnity:0},ctors:{init:function(){this.NullUnity=2}}},alias:["GetRealObject","System$Runtime$Serialization$IObjectReference$GetRealObject"],methods:{GetRealObject:function(){throw System.NotImplemented.ByDesign;}}});Bridge.define("System.DateTimeKind",{$kind:"enum",statics:{fields:{Unspecified:0,Utc:1,Local:2}}});Bridge.define("System.DateTimeOffset",{inherits:function(){return[System.IComparable,System.IFormattable,System.Runtime.Serialization.ISerializable,System.Runtime.Serialization.IDeserializationCallback,System.IComparable$1(System.DateTimeOffset),System.IEquatable$1(System.DateTimeOffset)]},$kind:"struct",statics:{fields:{MaxOffset:System.Int64(0),MinOffset:System.Int64(0),UnixEpochTicks:System.Int64(0),UnixEpochSeconds:System.Int64(0),UnixEpochMilliseconds:System.Int64(0),MinValue:null,MaxValue:null},props:{Now:{get:function(){return new System.DateTimeOffset.$ctor1(System.DateTime.getNow())}},UtcNow:{get:function(){return new System.DateTimeOffset.$ctor1(System.DateTime.getUtcNow())}}},ctors:{init:function(){this.MinValue=new System.DateTimeOffset;this.MaxValue=new System.DateTimeOffset;this.MaxOffset=System.Int64([1488826368,117]);this.MinOffset=System.Int64([-1488826368,-118]);this.UnixEpochTicks=System.Int64([-139100160,144670709]);this.UnixEpochSeconds=System.Int64([2006054656,14]);this.UnixEpochMilliseconds=System.Int64([304928768,14467]);this.MinValue=new System.DateTimeOffset.$ctor5(System.DateTime.MinTicks,System.TimeSpan.zero);this.MaxValue=new System.DateTimeOffset.$ctor5(System.DateTime.MaxTicks,System.TimeSpan.zero)}},methods:{Compare:function(n,t){return Bridge.compare(n.UtcDateTime,t.UtcDateTime)},Equals:function(n,t){return Bridge.equalsT(n.UtcDateTime,t.UtcDateTime)},FromFileTime:function(n){return new System.DateTimeOffset.$ctor1(System.DateTime.FromFileTime(n))},FromUnixTimeSeconds:function(n){var t=System.Int64([-2006054656,-15]),i=System.Int64([-769665,58]),r;if(n.lt(t)||n.gt(i))throw new System.ArgumentOutOfRangeException.$ctor4("seconds",System.String.format(System.Environment.GetResourceString("ArgumentOutOfRange_Range"),t,i));return r=n.mul(System.Int64(1e7)).add(System.DateTimeOffset.UnixEpochTicks),new System.DateTimeOffset.$ctor5(r,System.TimeSpan.zero)},FromUnixTimeMilliseconds:function(n){var t=System.Int64([-304928768,-14468]),i=System.Int64([-769664001,58999]),r;if(n.lt(t)||n.gt(i))throw new System.ArgumentOutOfRangeException.$ctor4("milliseconds",System.String.format(System.Environment.GetResourceString("ArgumentOutOfRange_Range"),t,i));return r=n.mul(System.Int64(1e4)).add(System.DateTimeOffset.UnixEpochTicks),new System.DateTimeOffset.$ctor5(r,System.TimeSpan.zero)},Parse:function(n){var t={},i=System.DateTimeParse.Parse$1(n,System.Globalization.DateTimeFormatInfo.currentInfo,0,t);return new System.DateTimeOffset.$ctor5(System.DateTime.getTicks(i),t.v)},Parse$1:function(n,t){return System.DateTimeOffset.Parse$2(n,t,0)},Parse$2:function(){throw System.NotImplemented.ByDesign;},ParseExact:function(n,t,i){return System.DateTimeOffset.ParseExact$1(n,t,i,0)},ParseExact$1:function(){throw System.NotImplemented.ByDesign;},TryParse:function(n,t){var i={},r={},u=System.DateTimeParse.TryParse$1(n,System.Globalization.DateTimeFormatInfo.currentInfo,0,r,i);return t.v=new System.DateTimeOffset.$ctor5(System.DateTime.getTicks(r.v),i.v),u},ValidateOffset:function(n){var t=n.getTicks();if(t.mod(System.Int64(6e8)).ne(System.Int64(0)))throw new System.ArgumentException.$ctor3(System.Environment.GetResourceString("Argument_OffsetPrecision"),"offset");if(t.lt(System.DateTimeOffset.MinOffset)||t.gt(System.DateTimeOffset.MaxOffset))throw new System.ArgumentOutOfRangeException.$ctor4("offset",System.Environment.GetResourceString("Argument_OffsetOutOfRange"));return System.Int64.clip16(n.getTicks().div(System.Int64(6e8)))},ValidateDate:function(n,t){var i=System.DateTime.getTicks(n).sub(t.getTicks());if(i.lt(System.DateTime.MinTicks)||i.gt(System.DateTime.MaxTicks))throw new System.ArgumentOutOfRangeException.$ctor4("offset",System.Environment.GetResourceString("Argument_UTCOutOfRange"));return System.DateTime.create$2(i,0)},op_Implicit:function(n){return new System.DateTimeOffset.$ctor1(n)},op_Addition:function(n,t){return new System.DateTimeOffset.$ctor2(System.DateTime.adddt(n.ClockDateTime,t),n.Offset)},op_Subtraction:function(n,t){return new System.DateTimeOffset.$ctor2(System.DateTime.subdt(n.ClockDateTime,t),n.Offset)},op_Subtraction$1:function(n,t){return System.DateTime.subdd(n.UtcDateTime,t.UtcDateTime)},op_Equality:function(n,t){return Bridge.equals(n.UtcDateTime,t.UtcDateTime)},op_Inequality:function(n,t){return!Bridge.equals(n.UtcDateTime,t.UtcDateTime)},op_LessThan:function(n,t){return System.DateTime.lt(n.UtcDateTime,t.UtcDateTime)},op_LessThanOrEqual:function(n,t){return System.DateTime.lte(n.UtcDateTime,t.UtcDateTime)},op_GreaterThan:function(n,t){return System.DateTime.gt(n.UtcDateTime,t.UtcDateTime)},op_GreaterThanOrEqual:function(n,t){return System.DateTime.gte(n.UtcDateTime,t.UtcDateTime)},getDefaultValue:function(){return new System.DateTimeOffset}}},fields:{m_dateTime:null,m_offsetMinutes:0},props:{DateTime:{get:function(){return this.ClockDateTime}},UtcDateTime:{get:function(){return System.DateTime.specifyKind(this.m_dateTime,1)}},LocalDateTime:{get:function(){return System.DateTime.toLocalTime(this.UtcDateTime)}},ClockDateTime:{get:function(){return System.DateTime.create$2(System.DateTime.getTicks(System.DateTime.adddt(this.m_dateTime,this.Offset)),0)}},Date:{get:function(){return System.DateTime.getDate(this.ClockDateTime)}},Day:{get:function(){return System.DateTime.getDay(this.ClockDateTime)}},DayOfWeek:{get:function(){return System.DateTime.getDayOfWeek(this.ClockDateTime)}},DayOfYear:{get:function(){return System.DateTime.getDayOfYear(this.ClockDateTime)}},Hour:{get:function(){return System.DateTime.getHour(this.ClockDateTime)}},Millisecond:{get:function(){return System.DateTime.getMillisecond(this.ClockDateTime)}},Minute:{get:function(){return System.DateTime.getMinute(this.ClockDateTime)}},Month:{get:function(){return System.DateTime.getMonth(this.ClockDateTime)}},Offset:{get:function(){return new System.TimeSpan(0,this.m_offsetMinutes,0)}},Second:{get:function(){return System.DateTime.getSecond(this.ClockDateTime)}},Ticks:{get:function(){return System.DateTime.getTicks(this.ClockDateTime)}},UtcTicks:{get:function(){return System.DateTime.getTicks(this.UtcDateTime)}},TimeOfDay:{get:function(){return System.DateTime.getTimeOfDay(this.ClockDateTime)}},Year:{get:function(){return System.DateTime.getYear(this.ClockDateTime)}}},alias:["compareTo",["System$IComparable$1$System$DateTimeOffset$compareTo","System$IComparable$1$compareTo"],"equalsT","System$IEquatable$1$System$DateTimeOffset$equalsT","format","System$IFormattable$format"],ctors:{init:function(){this.m_dateTime=System.DateTime.getDefaultValue()},$ctor5:function(n,t){this.$initialize();this.m_offsetMinutes=System.DateTimeOffset.ValidateOffset(t);var i=System.DateTime.create$2(n);this.m_dateTime=System.DateTimeOffset.ValidateDate(i,t)},$ctor1:function(n){this.$initialize();var t;t=new System.TimeSpan(System.Int64(0));this.m_offsetMinutes=System.DateTimeOffset.ValidateOffset(t);this.m_dateTime=System.DateTimeOffset.ValidateDate(n,t)},$ctor2:function(n,t){this.$initialize();this.m_offsetMinutes=System.DateTimeOffset.ValidateOffset(t);this.m_dateTime=System.DateTimeOffset.ValidateDate(n,t)},$ctor4:function(n,t,i,r,u,f,e){this.$initialize();this.m_offsetMinutes=System.DateTimeOffset.ValidateOffset(e);this.m_dateTime=System.DateTimeOffset.ValidateDate(System.DateTime.create(n,t,i,r,u,f),e)},$ctor3:function(n,t,i,r,u,f,e,o){this.$initialize();this.m_offsetMinutes=System.DateTimeOffset.ValidateOffset(o);this.m_dateTime=System.DateTimeOffset.ValidateDate(System.DateTime.create(n,t,i,r,u,f,e),o)},ctor:function(){this.$initialize()}},methods:{ToOffset:function(n){return new System.DateTimeOffset.$ctor5(System.DateTime.getTicks(System.DateTime.adddt(this.m_dateTime,n)),n)},Add:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.add(this.ClockDateTime,n),this.Offset)},AddDays:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addDays(this.ClockDateTime,n),this.Offset)},AddHours:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addHours(this.ClockDateTime,n),this.Offset)},AddMilliseconds:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addMilliseconds(this.ClockDateTime,n),this.Offset)},AddMinutes:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addMinutes(this.ClockDateTime,n),this.Offset)},AddMonths:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addMonths(this.ClockDateTime,n),this.Offset)},AddSeconds:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addSeconds(this.ClockDateTime,n),this.Offset)},AddTicks:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addTicks(this.ClockDateTime,n),this.Offset)},AddYears:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.addYears(this.ClockDateTime,n),this.Offset)},System$IComparable$compareTo:function(n){if(n==null)return 1;if(!Bridge.is(n,System.DateTimeOffset))throw new System.ArgumentException.$ctor1(System.Environment.GetResourceString("Arg_MustBeDateTimeOffset"));var t=System.Nullable.getValue(Bridge.cast(Bridge.unbox(n),System.DateTimeOffset)).UtcDateTime,i=this.UtcDateTime;return System.DateTime.gt(i,t)?1:System.DateTime.lt(i,t)?-1:0},compareTo:function(n){var t=n.UtcDateTime,i=this.UtcDateTime;return System.DateTime.gt(i,t)?1:System.DateTime.lt(i,t)?-1:0},equals:function(n){return Bridge.is(n,System.DateTimeOffset)?Bridge.equalsT(this.UtcDateTime,System.Nullable.getValue(Bridge.cast(Bridge.unbox(n),System.DateTimeOffset)).UtcDateTime):!1},equalsT:function(n){return Bridge.equalsT(this.UtcDateTime,n.UtcDateTime)},EqualsExact:function(n){return Bridge.equals(this.ClockDateTime,n.ClockDateTime)&&System.TimeSpan.eq(this.Offset,n.Offset)&&System.DateTime.getKind(this.ClockDateTime)===System.DateTime.getKind(n.ClockDateTime)},System$Runtime$Serialization$IDeserializationCallback$OnDeserialization:function(){try{this.m_offsetMinutes=System.DateTimeOffset.ValidateOffset(this.Offset);this.m_dateTime=System.DateTimeOffset.ValidateDate(this.ClockDateTime,this.Offset)}catch(n){n=System.Exception.create(n);var t;if(Bridge.is(n,System.ArgumentException)){t=n;throw new System.Runtime.Serialization.SerializationException.$ctor2(System.Environment.GetResourceString("Serialization_InvalidData"),t);}else throw n;}},getHashCode:function(){return Bridge.getHashCode(this.UtcDateTime)},Subtract$1:function(n){return System.DateTime.subdd(this.UtcDateTime,n.UtcDateTime)},Subtract:function(n){return new System.DateTimeOffset.$ctor2(System.DateTime.subtract(this.ClockDateTime,n),this.Offset)},ToFileTime:function(){return System.DateTime.ToFileTime(this.UtcDateTime)},ToUnixTimeSeconds:function(){var n=System.DateTime.getTicks(this.UtcDateTime).div(System.Int64(1e7));return n.sub(System.DateTimeOffset.UnixEpochSeconds)},ToUnixTimeMilliseconds:function(){var n=System.DateTime.getTicks(this.UtcDateTime).div(System.Int64(1e4));return n.sub(System.DateTimeOffset.UnixEpochMilliseconds)},ToLocalTime:function(){return this.ToLocalTime$1(!1)},ToLocalTime$1:function(n){return new System.DateTimeOffset.$ctor1(System.DateTime.toLocalTime(this.UtcDateTime,n))},toString:function(){return System.DateTime.format(System.DateTime.specifyKind(this.ClockDateTime,2))},ToString$1:function(n){return System.DateTime.format(System.DateTime.specifyKind(this.ClockDateTime,2),n)},ToString:function(n){return System.DateTime.format(System.DateTime.specifyKind(this.ClockDateTime,2),null,n)},format:function(n,t){return System.DateTime.format(System.DateTime.specifyKind(this.ClockDateTime,2),n,t)},ToUniversalTime:function(){return new System.DateTimeOffset.$ctor1(this.UtcDateTime)},$clone:function(n){var t=n||new System.DateTimeOffset;return t.m_dateTime=this.m_dateTime,t.m_offsetMinutes=this.m_offsetMinutes,t}}});Bridge.define("System.DateTimeParse",{statics:{methods:{TryParseExact:function(n,t,i,r,u){return System.DateTime.tryParseExact(n,t,null,u)},Parse:function(n,t){return System.DateTime.parse(n,t)},Parse$1:function(){throw System.NotImplemented.ByDesign;},TryParse:function(n,t,i,r){return System.DateTime.tryParse(n,null,r)},TryParse$1:function(){throw System.NotImplemented.ByDesign;}}}});Bridge.define("System.DateTimeResult",{$kind:"struct",statics:{methods:{getDefaultValue:function(){return new System.DateTimeResult}}},fields:{Year:0,Month:0,Day:0,Hour:0,Minute:0,Second:0,fraction:0,era:0,flags:0,timeZoneOffset:null,calendar:null,parsedDate:null,failure:0,failureMessageID:null,failureMessageFormatArgument:null,failureArgumentName:null},ctors:{init:function(){this.timeZoneOffset=new System.TimeSpan;this.parsedDate=System.DateTime.getDefaultValue()},ctor:function(){this.$initialize()}},methods:{Init:function(){this.Year=-1;this.Month=-1;this.Day=-1;this.fraction=-1;this.era=-1},SetDate:function(n,t,i){this.Year=n;this.Month=t;this.Day=i},SetFailure:function(n,t,i){this.failure=n;this.failureMessageID=t;this.failureMessageFormatArgument=i},SetFailure$1:function(n,t,i,r){this.failure=n;this.failureMessageID=t;this.failureMessageFormatArgument=i;this.failureArgumentName=r},getHashCode:function(){return Bridge.addHash([5374321750,this.Year,this.Month,this.Day,this.Hour,this.Minute,this.Second,this.fraction,this.era,this.flags,this.timeZoneOffset,this.calendar,this.parsedDate,this.failure,this.failureMessageID,this.failureMessageFormatArgument,this.failureArgumentName])},equals:function(n){return Bridge.is(n,System.DateTimeResult)?Bridge.equals(this.Year,n.Year)&&Bridge.equals(this.Month,n.Month)&&Bridge.equals(this.Day,n.Day)&&Bridge.equals(this.Hour,n.Hour)&&Bridge.equals(this.Minute,n.Minute)&&Bridge.equals(this.Second,n.Second)&&Bridge.equals(this.fraction,n.fraction)&&Bridge.equals(this.era,n.era)&&Bridge.equals(this.flags,n.flags)&&Bridge.equals(this.timeZoneOffset,n.timeZoneOffset)&&Bridge.equals(this.calendar,n.calendar)&&Bridge.equals(this.parsedDate,n.parsedDate)&&Bridge.equals(this.failure,n.failure)&&Bridge.equals(this.failureMessageID,n.failureMessageID)&&Bridge.equals(this.failureMessageFormatArgument,n.failureMessageFormatArgument)&&Bridge.equals(this.failureArgumentName,n.failureArgumentName):!1},$clone:function(n){var t=n||new System.DateTimeResult;return t.Year=this.Year,t.Month=this.Month,t.Day=this.Day,t.Hour=this.Hour,t.Minute=this.Minute,t.Second=this.Second,t.fraction=this.fraction,t.era=this.era,t.flags=this.flags,t.timeZoneOffset=this.timeZoneOffset,t.calendar=this.calendar,t.parsedDate=this.parsedDate,t.failure=this.failure,t.failureMessageID=this.failureMessageID,t.failureMessageFormatArgument=this.failureMessageFormatArgument,t.failureArgumentName=this.failureArgumentName,t}}});Bridge.define("System.DayOfWeek",{$kind:"enum",statics:{fields:{Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6}}});Bridge.define("System.DBNull",{inherits:[System.Runtime.Serialization.ISerializable,System.IConvertible],statics:{fields:{Value:null},ctors:{init:function(){this.Value=new System.DBNull}}},alias:["ToString","System$IConvertible$ToString","GetTypeCode","System$IConvertible$GetTypeCode"],ctors:{ctor:function(){this.$initialize()}},methods:{toString:function(){return""},ToString:function(){return""},GetTypeCode:function(){return System.TypeCode.DBNull},System$IConvertible$ToBoolean:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToChar:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToSByte:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToByte:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToInt16:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToUInt16:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToInt32:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToUInt32:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToInt64:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToUInt64:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToSingle:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToDouble:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToDecimal:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToDateTime:function(){throw new System.InvalidCastException.$ctor1("Object cannot be cast from DBNull to other types.");},System$IConvertible$ToType:function(n,t){return System.Convert.defaultToType(Bridge.cast(this,System.IConvertible),n,t)}}});Bridge.define("System.Empty",{statics:{fields:{Value:null},ctors:{init:function(){this.Value=new System.Empty}}},ctors:{ctor:function(){this.$initialize()}},methods:{toString:function(){return""}}});Bridge.define("System.ApplicationException",{inherits:[System.Exception],ctors:{ctor:function(){this.$initialize();System.Exception.ctor.call(this,"Error in the application.");this.HResult=-2146232832},$ctor1:function(n){this.$initialize();System.Exception.ctor.call(this,n);this.HResult=-2146232832},$ctor2:function(n,t){this.$initialize();System.Exception.ctor.call(this,n,t);this.HResult=-2146232832}}});Bridge.define("System.ArgumentException",{inherits:[System.SystemException],fields:{_paramName:null},props:{Message:{get:function(){var n=Bridge.ensureBaseProperty(this,"Message").$System$Exception$Message,t;return System.String.isNullOrEmpty(this._paramName)?n:(t=System.SR.Format("Parameter name: {0}",this._paramName),(n||"")+"\n"+(t||""))}},ParamName:{get:function(){return this._paramName}}},ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Value does not fall within the expected range.");this.HResult=-2147024809},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2147024809},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2147024809},$ctor4:function(n,t,i){this.$initialize();System.SystemException.$ctor2.call(this,n,i);this._paramName=t;this.HResult=-2147024809},$ctor3:function(n,t){this.$initialize();System.SystemException.$ctor1.call(this,n);this._paramName=t;this.HResult=-2147024809}}});Bridge.define("System.ArgumentNullException",{inherits:[System.ArgumentException],ctors:{ctor:function(){this.$initialize();System.ArgumentException.$ctor1.call(this,"Value cannot be null.");this.HResult=-2147467261},$ctor1:function(n){this.$initialize();System.ArgumentException.$ctor3.call(this,"Value cannot be null.",n);this.HResult=-2147467261},$ctor2:function(n,t){this.$initialize();System.ArgumentException.$ctor2.call(this,n,t);this.HResult=-2147467261},$ctor3:function(n,t){this.$initialize();System.ArgumentException.$ctor3.call(this,t,n);this.HResult=-2147467261}}});Bridge.define("System.ArgumentOutOfRangeException",{inherits:[System.ArgumentException],fields:{_actualValue:null},props:{Message:{get:function(){var n=Bridge.ensureBaseProperty(this,"Message").$System$ArgumentException$Message,t;return this._actualValue!=null?(t=System.SR.Format("Actual value was {0}.",Bridge.toString(this._actualValue)),n==null)?t:(n||"")+"\n"+(t||""):n}},ActualValue:{get:function(){return this._actualValue}}},ctors:{ctor:function(){this.$initialize();System.ArgumentException.$ctor1.call(this,"Specified argument was out of the range of valid values.");this.HResult=-2146233086},$ctor1:function(n){this.$initialize();System.ArgumentException.$ctor3.call(this,"Specified argument was out of the range of valid values.",n);this.HResult=-2146233086},$ctor4:function(n,t){this.$initialize();System.ArgumentException.$ctor3.call(this,t,n);this.HResult=-2146233086},$ctor2:function(n,t){this.$initialize();System.ArgumentException.$ctor2.call(this,n,t);this.HResult=-2146233086},$ctor3:function(n,t,i){this.$initialize();System.ArgumentException.$ctor3.call(this,i,n);this._actualValue=t;this.HResult=-2146233086}}});Bridge.define("System.ArithmeticException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Overflow or underflow in the arithmetic operation.");this.HResult=-2147024362},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2147024362},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2147024362}}});Bridge.define("System.Base64FormattingOptions",{$kind:"enum",statics:{fields:{None:0,InsertLineBreaks:1}},$flags:!0});Bridge.define("System.DivideByZeroException",{inherits:[System.ArithmeticException],ctors:{ctor:function(){this.$initialize();System.ArithmeticException.$ctor1.call(this,"Attempted to divide by zero.");this.HResult=-2147352558},$ctor1:function(n){this.$initialize();System.ArithmeticException.$ctor1.call(this,n);this.HResult=-2147352558},$ctor2:function(n,t){this.$initialize();System.ArithmeticException.$ctor2.call(this,n,t);this.HResult=-2147352558}}});Bridge.define("System.ExceptionArgument",{$kind:"enum",statics:{fields:{obj:0,dictionary:1,array:2,info:3,key:4,collection:5,list:6,match:7,converter:8,capacity:9,index:10,startIndex:11,value:12,count:13,arrayIndex:14,$name:15,item:16,options:17,view:18,sourceBytesToCopy:19,action:20,comparison:21,offset:22,newSize:23,elementType:24,$length:25,length1:26,length2:27,length3:28,lengths:29,len:30,lowerBounds:31,sourceArray:32,destinationArray:33,sourceIndex:34,destinationIndex:35,indices:36,index1:37,index2:38,index3:39,other:40,comparer:41,endIndex:42,keys:43,creationOptions:44,timeout:45,tasks:46,scheduler:47,continuationFunction:48,millisecondsTimeout:49,millisecondsDelay:50,"function":51,exceptions:52,exception:53,cancellationToken:54,delay:55,asyncResult:56,endMethod:57,endFunction:58,beginMethod:59,continuationOptions:60,continuationAction:61,concurrencyLevel:62,text:63,callBack:64,type:65,stateMachine:66,pHandle:67,values:68,task:69,s:70,keyValuePair:71,input:72,ownedMemory:73,pointer:74,start:75,format:76,culture:77,comparable:78,source:79,state:80}}});Bridge.define("System.ExceptionResource",{$kind:"enum",statics:{fields:{Argument_ImplementIComparable:0,Argument_InvalidType:1,Argument_InvalidArgumentForComparison:2,Argument_InvalidRegistryKeyPermissionCheck:3,ArgumentOutOfRange_NeedNonNegNum:4,Arg_ArrayPlusOffTooSmall:5,Arg_NonZeroLowerBound:6,Arg_RankMultiDimNotSupported:7,Arg_RegKeyDelHive:8,Arg_RegKeyStrLenBug:9,Arg_RegSetStrArrNull:10,Arg_RegSetMismatchedKind:11,Arg_RegSubKeyAbsent:12,Arg_RegSubKeyValueAbsent:13,Argument_AddingDuplicate:14,Serialization_InvalidOnDeser:15,Serialization_MissingKeys:16,Serialization_NullKey:17,Argument_InvalidArrayType:18,NotSupported_KeyCollectionSet:19,NotSupported_ValueCollectionSet:20,ArgumentOutOfRange_SmallCapacity:21,ArgumentOutOfRange_Index:22,Argument_InvalidOffLen:23,Argument_ItemNotExist:24,ArgumentOutOfRange_Count:25,ArgumentOutOfRange_InvalidThreshold:26,ArgumentOutOfRange_ListInsert:27,NotSupported_ReadOnlyCollection:28,InvalidOperation_CannotRemoveFromStackOrQueue:29,InvalidOperation_EmptyQueue:30,InvalidOperation_EnumOpCantHappen:31,InvalidOperation_EnumFailedVersion:32,InvalidOperation_EmptyStack:33,ArgumentOutOfRange_BiggerThanCollection:34,InvalidOperation_EnumNotStarted:35,InvalidOperation_EnumEnded:36,NotSupported_SortedListNestedWrite:37,InvalidOperation_NoValue:38,InvalidOperation_RegRemoveSubKey:39,Security_RegistryPermission:40,UnauthorizedAccess_RegistryNoWrite:41,ObjectDisposed_RegKeyClosed:42,NotSupported_InComparableType:43,Argument_InvalidRegistryOptionsCheck:44,Argument_InvalidRegistryViewCheck:45,InvalidOperation_NullArray:46,Arg_MustBeType:47,Arg_NeedAtLeast1Rank:48,ArgumentOutOfRange_HugeArrayNotSupported:49,Arg_RanksAndBounds:50,Arg_RankIndices:51,Arg_Need1DArray:52,Arg_Need2DArray:53,Arg_Need3DArray:54,NotSupported_FixedSizeCollection:55,ArgumentException_OtherNotArrayOfCorrectLength:56,Rank_MultiDimNotSupported:57,InvalidOperation_IComparerFailed:58,ArgumentOutOfRange_EndIndexStartIndex:59,Arg_LowerBoundsMustMatch:60,Arg_BogusIComparer:61,Task_WaitMulti_NullTask:62,Task_ThrowIfDisposed:63,Task_Start_TaskCompleted:64,Task_Start_Promise:65,Task_Start_ContinuationTask:66,Task_Start_AlreadyStarted:67,Task_RunSynchronously_TaskCompleted:68,Task_RunSynchronously_Continuation:69,Task_RunSynchronously_Promise:70,Task_RunSynchronously_AlreadyStarted:71,Task_MultiTaskContinuation_NullTask:72,Task_MultiTaskContinuation_EmptyTaskList:73,Task_Dispose_NotCompleted:74,Task_Delay_InvalidMillisecondsDelay:75,Task_Delay_InvalidDelay:76,Task_ctor_LRandSR:77,Task_ContinueWith_NotOnAnything:78,Task_ContinueWith_ESandLR:79,TaskT_TransitionToFinal_AlreadyCompleted:80,TaskCompletionSourceT_TrySetException_NullException:81,TaskCompletionSourceT_TrySetException_NoExceptions:82,MemoryDisposed:83,Memory_OutstandingReferences:84,InvalidOperation_WrongAsyncResultOrEndCalledMultiple:85,ConcurrentDictionary_ConcurrencyLevelMustBePositive:86,ConcurrentDictionary_CapacityMustNotBeNegative:87,ConcurrentDictionary_TypeOfValueIncorrect:88,ConcurrentDictionary_TypeOfKeyIncorrect:89,ConcurrentDictionary_KeyAlreadyExisted:90,ConcurrentDictionary_ItemKeyIsNull:91,ConcurrentDictionary_IndexIsNegative:92,ConcurrentDictionary_ArrayNotLargeEnough:93,ConcurrentDictionary_ArrayIncorrectType:94,ConcurrentCollection_SyncRoot_NotSupported:95,ArgumentOutOfRange_Enum:96,InvalidOperation_HandleIsNotInitialized:97,AsyncMethodBuilder_InstanceNotInitialized:98,ArgumentNull_SafeHandle:99}}});Bridge.define("System.FormatException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"One of the identified items was in an invalid format.");this.HResult=-2146233033},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233033},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233033}}});Bridge.define("System.FormattableString",{inherits:[System.IFormattable],statics:{methods:{Invariant:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("formattable");return n.ToString(System.Globalization.CultureInfo.invariantCulture)}}},methods:{System$IFormattable$format:function(n,t){return this.ToString(t)},toString:function(){return this.ToString(System.Globalization.CultureInfo.getCurrentCulture())}}});Bridge.define("System.Runtime.CompilerServices.FormattableStringFactory.ConcreteFormattableString",{inherits:[System.FormattableString],$kind:"nested class",fields:{_format:null,_arguments:null},props:{Format:{get:function(){return this._format}},ArgumentCount:{get:function(){return this._arguments.length}}},ctors:{ctor:function(n,t){this.$initialize();System.FormattableString.ctor.call(this);this._format=n;this._arguments=t}},methods:{GetArguments:function(){return this._arguments},GetArgument:function(n){return this._arguments[System.Array.index(n,this._arguments)]},ToString:function(n){return System.String.formatProvider.apply(System.String,[n,this._format].concat(this._arguments))}}});Bridge.define("System.Runtime.CompilerServices.FormattableStringFactory",{statics:{methods:{Create:function(n,t){if(t===void 0&&(t=[]),n==null)throw new System.ArgumentNullException.$ctor1("format");if(t==null)throw new System.ArgumentNullException.$ctor1("arguments");return new System.Runtime.CompilerServices.FormattableStringFactory.ConcreteFormattableString(n,t)}}}});Bridge.define("System.Guid",{inherits:function(){return[System.IEquatable$1(System.Guid),System.IComparable$1(System.Guid),System.IFormattable]},$kind:"struct",statics:{fields:{error1:null,Valid:null,Split:null,NonFormat:null,Replace:null,Rnd:null,Empty:null},ctors:{init:function(){this.Empty=new System.Guid;this.error1="Byte array for GUID must be exactly {0} bytes long";this.Valid=new System.Text.RegularExpressions.Regex.ctor("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",1);this.Split=new System.Text.RegularExpressions.Regex.ctor("^(.{8})(.{4})(.{4})(.{4})(.{12})$");this.NonFormat=new System.Text.RegularExpressions.Regex.ctor("^[{(]?([0-9a-f]{8})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{4})-?([0-9a-f]{12})[)}]?$",1);this.Replace=new System.Text.RegularExpressions.Regex.ctor("-");this.Rnd=new System.Random.ctor}},methods:{Parse:function(n){return System.Guid.ParseExact(n,null)},ParseExact:function(n,t){var i=new System.Guid.ctor;return i.ParseInternal(n,t,!0),i},TryParse:function(n,t){return System.Guid.TryParseExact(n,null,t)},TryParseExact:function(n,t,i){return i.v=new System.Guid.ctor,i.v.ParseInternal(n,t,!1)},NewGuid:function(){var n=System.Array.init(16,0,System.Byte);return System.Guid.Rnd.NextBytes(n),n[System.Array.index(7,n)]=(n[System.Array.index(7,n)]&15|64)&255,n[System.Array.index(8,n)]=(n[System.Array.index(8,n)]&191|128)&255,new System.Guid.$ctor1(n)},MakeBinary:function(n){return System.Int32.format(n&255,"x2")},op_Equality:function(n,t){return Bridge.referenceEquals(n,null)?Bridge.referenceEquals(t,null):n.equalsT(t)},op_Inequality:function(n,t){return!System.Guid.op_Equality(n,t)},getDefaultValue:function(){return new System.Guid}}},fields:{_a:0,_b:0,_c:0,_d:0,_e:0,_f:0,_g:0,_h:0,_i:0,_j:0,_k:0},alias:["equalsT","System$IEquatable$1$System$Guid$equalsT","compareTo",["System$IComparable$1$System$Guid$compareTo","System$IComparable$1$compareTo"],"format","System$IFormattable$format"],ctors:{$ctor4:function(n){this.$initialize();(new System.Guid.ctor).$clone(this);this.ParseInternal(n,null,!0)},$ctor1:function(n){if(this.$initialize(),n==null)throw new System.ArgumentNullException.$ctor1("b");if(n.length!==16)throw new System.ArgumentException.$ctor1(System.String.format(System.Guid.error1,[Bridge.box(16,System.Int32)]));this._a=n[System.Array.index(3,n)]<<24|n[System.Array.index(2,n)]<<16|n[System.Array.index(1,n)]<<8|n[System.Array.index(0,n)];this._b=Bridge.Int.sxs((n[System.Array.index(5,n)]<<8|n[System.Array.index(4,n)])&65535);this._c=Bridge.Int.sxs((n[System.Array.index(7,n)]<<8|n[System.Array.index(6,n)])&65535);this._d=n[System.Array.index(8,n)];this._e=n[System.Array.index(9,n)];this._f=n[System.Array.index(10,n)];this._g=n[System.Array.index(11,n)];this._h=n[System.Array.index(12,n)];this._i=n[System.Array.index(13,n)];this._j=n[System.Array.index(14,n)];this._k=n[System.Array.index(15,n)]},$ctor5:function(n,t,i,r,u,f,e,o,s,h,c){this.$initialize();this._a=n|0;this._b=Bridge.Int.sxs(t&65535);this._c=Bridge.Int.sxs(i&65535);this._d=r;this._e=u;this._f=f;this._g=e;this._h=o;this._i=s;this._j=h;this._k=c},$ctor3:function(n,t,i,r){if(this.$initialize(),r==null)throw new System.ArgumentNullException.$ctor1("d");if(r.length!==8)throw new System.ArgumentException.$ctor1(System.String.format(System.Guid.error1,[Bridge.box(8,System.Int32)]));this._a=n;this._b=t;this._c=i;this._d=r[System.Array.index(0,r)];this._e=r[System.Array.index(1,r)];this._f=r[System.Array.index(2,r)];this._g=r[System.Array.index(3,r)];this._h=r[System.Array.index(4,r)];this._i=r[System.Array.index(5,r)];this._j=r[System.Array.index(6,r)];this._k=r[System.Array.index(7,r)]},$ctor2:function(n,t,i,r,u,f,e,o,s,h,c){this.$initialize();this._a=n;this._b=t;this._c=i;this._d=r;this._e=u;this._f=f;this._g=e;this._h=o;this._i=s;this._j=h;this._k=c},ctor:function(){this.$initialize()}},methods:{getHashCode:function(){return this._a^(this._b<<16|this._c&65535)^(this._f<<24|this._k)},equals:function(n){return Bridge.is(n,System.Guid)?this.equalsT(System.Nullable.getValue(Bridge.cast(Bridge.unbox(n),System.Guid))):!1},equalsT:function(n){return this._a!==n._a||this._b!==n._b||this._c!==n._c||this._d!==n._d||this._e!==n._e||this._f!==n._f||this._g!==n._g||this._h!==n._h||this._i!==n._i||this._j!==n._j||this._k!==n._k?!1:!0},compareTo:function(n){return System.String.compare(this.toString(),n.toString())},toString:function(){return this.Format(null)},ToString:function(n){return this.Format(n)},format:function(n){return this.Format(n)},ToByteArray:function(){var n=System.Array.init(16,0,System.Byte);return n[System.Array.index(0,n)]=this._a&255,n[System.Array.index(1,n)]=this._a>>8&255,n[System.Array.index(2,n)]=this._a>>16&255,n[System.Array.index(3,n)]=this._a>>24&255,n[System.Array.index(4,n)]=this._b&255,n[System.Array.index(5,n)]=this._b>>8&255,n[System.Array.index(6,n)]=this._c&255,n[System.Array.index(7,n)]=this._c>>8&255,n[System.Array.index(8,n)]=this._d,n[System.Array.index(9,n)]=this._e,n[System.Array.index(10,n)]=this._f,n[System.Array.index(11,n)]=this._g,n[System.Array.index(12,n)]=this._h,n[System.Array.index(13,n)]=this._i,n[System.Array.index(14,n)]=this._j,n[System.Array.index(15,n)]=this._k,n},ParseInternal:function(n,t,i){var h=null,f,c,r,e,o,l,u,s;if(System.String.isNullOrEmpty(n)){if(i)throw new System.ArgumentNullException.$ctor1("input");return!1}if(System.String.isNullOrEmpty(t)){if(f=System.Guid.NonFormat.match(n),f.getSuccess()){for(c=new(System.Collections.Generic.List$1(System.String).ctor),r=1;r<=f.getGroups().getCount();r=r+1|0)f.getGroups().get(r).getSuccess()&&c.add(f.getGroups().get(r).getValue());h=c.ToArray().join("-").toLowerCase()}}else{if(t=t.toUpperCase(),e=!1,Bridge.referenceEquals(t,"N")){if(o=System.Guid.Split.match(n),o.getSuccess()){for(l=new(System.Collections.Generic.List$1(System.String).ctor),u=1;u<=o.getGroups().getCount();u=u+1|0)o.getGroups().get(u).getSuccess()&&l.add(o.getGroups().get(u).getValue());e=!0;n=l.ToArray().join("-")}}else Bridge.referenceEquals(t,"B")||Bridge.referenceEquals(t,"P")?(s=Bridge.referenceEquals(t,"B")?System.Array.init([123,125],System.Char):System.Array.init([40,41],System.Char),n.charCodeAt(0)===s[System.Array.index(0,s)]&&n.charCodeAt(n.length-1|0)===s[System.Array.index(1,s)]&&(e=!0,n=n.substr(1,n.length-2|0))):e=!0;e&&System.Guid.Valid.isMatch(n)&&(h=n.toLowerCase())}if(h!=null)return this.FromString(h),!0;if(i)throw new System.FormatException.$ctor1("input is not in a recognized format");return!1},Format:function(n){var t=(System.UInt32.format(this._a>>>0,"x8")||"")+(System.UInt16.format(this._b&65535,"x4")||"")+(System.UInt16.format(this._c&65535,"x4")||""),r,u,i;for(t=(t||"")+(System.Array.init([this._d,this._e,this._f,this._g,this._h,this._i,this._j,this._k],System.Byte).map(System.Guid.MakeBinary).join("")||""),r=System.Guid.Split.match(t),u=new(System.Collections.Generic.List$1(System.String).ctor),i=1;i<=r.getGroups().getCount();i=i+1|0)r.getGroups().get(i).getSuccess()&&u.add(r.getGroups().get(i).getValue());t=u.ToArray().join("-");switch(n){case"n":case"N":return System.Guid.Replace.replace(t,"");case"b":case"B":return String.fromCharCode(123)+(t||"")+String.fromCharCode(125);case"p":case"P":return String.fromCharCode(40)+(t||"")+String.fromCharCode(41);default:return t}},FromString:function(n){var t,i;if(!System.String.isNullOrEmpty(n)){for(n=System.Guid.Replace.replace(n,""),t=System.Array.init(8,0,System.Byte),this._a=System.UInt32.parse(n.substr(0,8),16)|0,this._b=Bridge.Int.sxs(System.UInt16.parse(n.substr(8,4),16)&65535),this._c=Bridge.Int.sxs(System.UInt16.parse(n.substr(12,4),16)&65535),i=8;i<16;i=i+1|0)t[System.Array.index(i-8|0,t)]=System.Byte.parse(n.substr(Bridge.Int.mul(i,2),2),16);this._d=t[System.Array.index(0,t)];this._e=t[System.Array.index(1,t)];this._f=t[System.Array.index(2,t)];this._g=t[System.Array.index(3,t)];this._h=t[System.Array.index(4,t)];this._i=t[System.Array.index(5,t)];this._j=t[System.Array.index(6,t)];this._k=t[System.Array.index(7,t)]}},toJSON:function(){return this.toString()},$clone:function(){return this}}});Bridge.define("System.IndexOutOfRangeException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Index was outside the bounds of the array.");this.HResult=-2146233080},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233080},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233080}}});Bridge.define("System.InvalidCastException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Specified cast is not valid.");this.HResult=-2147467262},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2147467262},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2147467262},$ctor3:function(n,t){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=t}}});Bridge.define("System.InvalidOperationException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Operation is not valid due to the current state of the object.");this.HResult=-2146233079},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233079},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233079}}});Bridge.define("System.ObjectDisposedException",{inherits:[System.InvalidOperationException],fields:{_objectName:null},props:{Message:{get:function(){var n=this.ObjectName,t;return n==null||n.length===0?Bridge.ensureBaseProperty(this,"Message").$System$Exception$Message:(t=System.SR.Format("Object name: '{0}'.",n),(Bridge.ensureBaseProperty(this,"Message").$System$Exception$Message||"")+"\n"+(t||""))}},ObjectName:{get:function(){return this._objectName==null?"":this._objectName}}},ctors:{ctor:function(){System.ObjectDisposedException.$ctor3.call(this,null,"Cannot access a disposed object.")},$ctor1:function(n){System.ObjectDisposedException.$ctor3.call(this,n,"Cannot access a disposed object.")},$ctor3:function(n,t){this.$initialize();System.InvalidOperationException.$ctor1.call(this,t);this.HResult=-2146232798;this._objectName=n},$ctor2:function(n,t){this.$initialize();System.InvalidOperationException.$ctor2.call(this,n,t);this.HResult=-2146232798}}});Bridge.define("System.InvalidProgramException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"Common Language Runtime detected an invalid program.");this.HResult=-2146233030},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233030},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233030}}});Bridge.define("System.Globalization.Calendar",{inherits:[System.ICloneable],statics:{fields:{TicksPerMillisecond:System.Int64(0),TicksPerSecond:System.Int64(0),TicksPerMinute:System.Int64(0),TicksPerHour:System.Int64(0),TicksPerDay:System.Int64(0),MillisPerSecond:0,MillisPerMinute:0,MillisPerHour:0,MillisPerDay:0,DaysPerYear:0,DaysPer4Years:0,DaysPer100Years:0,DaysPer400Years:0,DaysTo10000:0,MaxMillis:System.Int64(0),CurrentEra:0},ctors:{init:function(){this.TicksPerMillisecond=System.Int64(1e4);this.TicksPerSecond=System.Int64(1e7);this.TicksPerMinute=System.Int64(6e8);this.TicksPerHour=System.Int64([1640261632,8]);this.TicksPerDay=System.Int64([711573504,201]);this.MillisPerSecond=1e3;this.MillisPerMinute=6e4;this.MillisPerHour=36e5;this.MillisPerDay=864e5;this.DaysPerYear=365;this.DaysPer4Years=1461;this.DaysPer100Years=36524;this.DaysPer400Years=146097;this.DaysTo10000=3652059;this.MaxMillis=System.Int64([-464735232,73466]);this.CurrentEra=0}},methods:{ReadOnly:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("calendar");if(n.IsReadOnly)return n;var t=Bridge.cast(Bridge.clone(n),System.Globalization.Calendar);return t.SetReadOnlyState(!0),t},CheckAddResult:function(n,t,i){if(n.lt(System.DateTime.getTicks(t))||n.gt(System.DateTime.getTicks(i)))throw new System.ArgumentException.$ctor1(System.String.formatProvider(System.Globalization.CultureInfo.invariantCulture,System.SR.Format$1("The result is out of the supported range for this calendar. The result should be between {0} (Gregorian date) and {1} (Gregorian date), inclusive.",Bridge.box(t,System.DateTime,System.DateTime.format),Bridge.box(i,System.DateTime,System.DateTime.format)),null));},GetSystemTwoDigitYearSetting:function(n,t){var i=2029;return i<0&&(i=t),i}}},fields:{_isReadOnly:!1,twoDigitYearMax:0},props:{MinSupportedDateTime:{get:function(){return System.DateTime.getMinValue()}},MaxSupportedDateTime:{get:function(){return System.DateTime.getMaxValue()}},AlgorithmType:{get:function(){return 0}},ID:{get:function(){return 0}},BaseCalendarID:{get:function(){return this.ID}},IsReadOnly:{get:function(){return this._isReadOnly}},CurrentEraValue:{get:function(){throw System.NotImplemented.ByDesign;}},DaysInYearBeforeMinSupportedYear:{get:function(){return 365}},TwoDigitYearMax:{get:function(){return this.twoDigitYearMax},set:function(n){this.VerifyWritable();this.twoDigitYearMax=n}}},alias:["clone","System$ICloneable$clone"],ctors:{init:function(){this._isReadOnly=!1;this.twoDigitYearMax=-1},ctor:function(){this.$initialize()}},methods:{clone:function(){var n=Bridge.clone(this);return Bridge.cast(n,System.Globalization.Calendar).SetReadOnlyState(!1),n},VerifyWritable:function(){if(this._isReadOnly)throw new System.InvalidOperationException.$ctor1("Instance is read-only.");},SetReadOnlyState:function(n){this._isReadOnly=n},Add:function(n,t,i){var r=t*i+(t>=0?.5:-.5),f,u;if(!(r>-3155378976e5&&r<3155378976e5))throw new System.ArgumentOutOfRangeException.$ctor4("value","Value to add was out of range.");return f=Bridge.Int.clip64(r),u=System.DateTime.getTicks(n).add(f.mul(System.Globalization.Calendar.TicksPerMillisecond)),System.Globalization.Calendar.CheckAddResult(u,this.MinSupportedDateTime,this.MaxSupportedDateTime),System.DateTime.create$2(u)},AddMilliseconds:function(n,t){return this.Add(n,t,1)},AddDays:function(n,t){return this.Add(n,t,System.Globalization.Calendar.MillisPerDay)},AddHours:function(n,t){return this.Add(n,t,System.Globalization.Calendar.MillisPerHour)},AddMinutes:function(n,t){return this.Add(n,t,System.Globalization.Calendar.MillisPerMinute)},AddSeconds:function(n,t){return this.Add(n,t,System.Globalization.Calendar.MillisPerSecond)},AddWeeks:function(n,t){return this.AddDays(n,Bridge.Int.mul(t,7))},GetDaysInMonth:function(n,t){return this.GetDaysInMonth$1(n,t,System.Globalization.Calendar.CurrentEra)},GetDaysInYear:function(n){return this.GetDaysInYear$1(n,System.Globalization.Calendar.CurrentEra)},GetHour:function(n){return System.Int64.clip32(System.DateTime.getTicks(n).div(System.Globalization.Calendar.TicksPerHour).mod(System.Int64(24)))},GetMilliseconds:function(n){return System.Int64.toNumber(System.DateTime.getTicks(n).div(System.Globalization.Calendar.TicksPerMillisecond).mod(System.Int64(1e3)))},GetMinute:function(n){return System.Int64.clip32(System.DateTime.getTicks(n).div(System.Globalization.Calendar.TicksPerMinute).mod(System.Int64(60)))},GetMonthsInYear:function(n){return this.GetMonthsInYear$1(n,System.Globalization.Calendar.CurrentEra)},GetSecond:function(n){return System.Int64.clip32(System.DateTime.getTicks(n).div(System.Globalization.Calendar.TicksPerSecond).mod(System.Int64(60)))},GetFirstDayWeekOfYear:function(n,t){var i=this.GetDayOfYear(n)-1|0,r=this.GetDayOfWeek(n)-i%7|0,u=((r-t|0)+14|0)%7;return(Bridge.Int.div(i+u|0,7)|0)+1|0},GetWeekOfYearFullDays:function(n,t,i){var e,r,f,u=this.GetDayOfYear(n)-1|0;return(e=this.GetDayOfWeek(n)-u%7|0,r=((t-e|0)+14|0)%7,r!==0&&r>=i&&(r=r-7|0),f=u-r|0,f>=0)?(Bridge.Int.div(f,7)|0)+1|0:System.DateTime.lte(n,System.DateTime.addDays(this.MinSupportedDateTime,u))?this.GetWeekOfYearOfMinSupportedDateTime(t,i):this.GetWeekOfYearFullDays(System.DateTime.addDays(n,-(u+1|0)|0),t,i)},GetWeekOfYearOfMinSupportedDateTime:function(n,t){var o=this.GetDayOfYear(this.MinSupportedDateTime)-1|0,r=this.GetDayOfWeek(this.MinSupportedDateTime)-o%7|0,u=((n+7|0)-r|0)%7;if(u===0||u>=t)return 1;var f=this.DaysInYearBeforeMinSupportedYear-1|0,s=(r-1|0)-f%7|0,e=((n-s|0)+14|0)%7,i=f-e|0;return e>=t&&(i=i+7|0),(Bridge.Int.div(i,7)|0)+1|0},GetWeekOfYear:function(n,t,i){if(i<0||i>6)throw new System.ArgumentOutOfRangeException.$ctor4("firstDayOfWeek",System.SR.Format$1("Valid values are between {0} and {1}, inclusive.",Bridge.box(System.DayOfWeek.Sunday,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek)),Bridge.box(System.DayOfWeek.Saturday,System.DayOfWeek,System.Enum.toStringFn(System.DayOfWeek))));switch(t){case 0:return this.GetFirstDayWeekOfYear(n,i);case 1:return this.GetWeekOfYearFullDays(n,i,7);case 2:return this.GetWeekOfYearFullDays(n,i,4)}throw new System.ArgumentOutOfRangeException.$ctor4("rule",System.SR.Format$1("Valid values are between {0} and {1}, inclusive.",Bridge.box(0,System.Globalization.CalendarWeekRule,System.Enum.toStringFn(System.Globalization.CalendarWeekRule)),Bridge.box(2,System.Globalization.CalendarWeekRule,System.Enum.toStringFn(System.Globalization.CalendarWeekRule))));},IsLeapDay:function(n,t,i){return this.IsLeapDay$1(n,t,i,System.Globalization.Calendar.CurrentEra)},IsLeapMonth:function(n,t){return this.IsLeapMonth$1(n,t,System.Globalization.Calendar.CurrentEra)},GetLeapMonth:function(n){return this.GetLeapMonth$1(n,System.Globalization.Calendar.CurrentEra)},GetLeapMonth$1:function(n,t){var r,i;if(!this.IsLeapYear$1(n,t))return 0;for(r=this.GetMonthsInYear$1(n,t),i=1;i<=r;i=i+1|0)if(this.IsLeapMonth$1(n,i,t))return i;return 0},IsLeapYear:function(n){return this.IsLeapYear$1(n,System.Globalization.Calendar.CurrentEra)},ToDateTime:function(n,t,i,r,u,f,e){return this.ToDateTime$1(n,t,i,r,u,f,e,System.Globalization.Calendar.CurrentEra)},TryToDateTime:function(n,t,i,r,u,f,e,o,s){s.v=System.DateTime.getMinValue();try{return s.v=this.ToDateTime$1(n,t,i,r,u,f,e,o),!0}catch(h){if(h=System.Exception.create(h),Bridge.is(h,System.ArgumentException))return!1;throw h;}},IsValidYear:function(n){return n>=this.GetYear(this.MinSupportedDateTime)&&n<=this.GetYear(this.MaxSupportedDateTime)},IsValidMonth:function(n,t,i){return this.IsValidYear(n,i)&&t>=1&&t<=this.GetMonthsInYear$1(n,i)},IsValidDay:function(n,t,i,r){return this.IsValidMonth(n,t,r)&&i>=1&&i<=this.GetDaysInMonth$1(n,t,r)},ToFourDigitYear:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor4("year","Non-negative number required.");return n<100?Bridge.Int.mul((Bridge.Int.div(this.TwoDigitYearMax,100)|0)-(n>this.TwoDigitYearMax%100?1:0)|0,100)+n|0:n}}});Bridge.define("System.Globalization.CalendarAlgorithmType",{$kind:"enum",statics:{fields:{Unknown:0,SolarCalendar:1,LunarCalendar:2,LunisolarCalendar:3}}});Bridge.define("System.Globalization.CalendarId",{$kind:"enum",statics:{fields:{UNINITIALIZED_VALUE:0,GREGORIAN:1,GREGORIAN_US:2,JAPAN:3,TAIWAN:4,KOREA:5,HIJRI:6,THAI:7,HEBREW:8,GREGORIAN_ME_FRENCH:9,GREGORIAN_ARABIC:10,GREGORIAN_XLIT_ENGLISH:11,GREGORIAN_XLIT_FRENCH:12,JULIAN:13,JAPANESELUNISOLAR:14,CHINESELUNISOLAR:15,SAKA:16,LUNAR_ETO_CHN:17,LUNAR_ETO_KOR:18,LUNAR_ETO_ROKUYOU:19,KOREANLUNISOLAR:20,TAIWANLUNISOLAR:21,PERSIAN:22,UMALQURA:23,LAST_CALENDAR:23}},$utype:System.UInt16});Bridge.define("System.Globalization.CalendarWeekRule",{$kind:"enum",statics:{fields:{FirstDay:0,FirstFullWeek:1,FirstFourDayWeek:2}}});Bridge.define("System.Globalization.CultureNotFoundException",{inherits:[System.ArgumentException],statics:{props:{DefaultMessage:{get:function(){return"Culture is not supported."}}}},fields:{_invalidCultureName:null,_invalidCultureId:null},props:{InvalidCultureId:{get:function(){return this._invalidCultureId}},InvalidCultureName:{get:function(){return this._invalidCultureName}},FormatedInvalidCultureId:{get:function(){return this.InvalidCultureId!=null?System.String.formatProvider(System.Globalization.CultureInfo.invariantCulture,"{0} (0x{0:x4})",[Bridge.box(System.Nullable.getValue(this.InvalidCultureId),System.Int32)]):this.InvalidCultureName}},Message:{get:function(){var n=Bridge.ensureBaseProperty(this,"Message").$System$ArgumentException$Message,t;return this._invalidCultureId!=null||this._invalidCultureName!=null?(t=System.SR.Format("{0} is an invalid culture identifier.",this.FormatedInvalidCultureId),n==null)?t:(n||"")+"\n"+(t||""):n}}},ctors:{ctor:function(){this.$initialize();System.ArgumentException.$ctor1.call(this,System.Globalization.CultureNotFoundException.DefaultMessage)},$ctor1:function(n){this.$initialize();System.ArgumentException.$ctor1.call(this,n)},$ctor5:function(n,t){this.$initialize();System.ArgumentException.$ctor3.call(this,t,n)},$ctor2:function(n,t){this.$initialize();System.ArgumentException.$ctor2.call(this,n,t)},$ctor7:function(n,t,i){this.$initialize();System.ArgumentException.$ctor3.call(this,i,n);this._invalidCultureName=t},$ctor6:function(n,t,i){this.$initialize();System.ArgumentException.$ctor2.call(this,n,i);this._invalidCultureName=t},$ctor3:function(n,t,i){this.$initialize();System.ArgumentException.$ctor2.call(this,n,i);this._invalidCultureId=t},$ctor4:function(n,t,i){this.$initialize();System.ArgumentException.$ctor3.call(this,i,n);this._invalidCultureId=t}}});Bridge.define("System.Globalization.DateTimeFormatInfoScanner",{statics:{fields:{MonthPostfixChar:0,IgnorableSymbolChar:0,CJKYearSuff:null,CJKMonthSuff:null,CJKDaySuff:null,KoreanYearSuff:null,KoreanMonthSuff:null,KoreanDaySuff:null,KoreanHourSuff:null,KoreanMinuteSuff:null,KoreanSecondSuff:null,CJKHourSuff:null,ChineseHourSuff:null,CJKMinuteSuff:null,CJKSecondSuff:null,s_knownWords:null},props:{KnownWords:{get:function(){if(System.Globalization.DateTimeFormatInfoScanner.s_knownWords==null){var n=new(System.Collections.Generic.Dictionary$2(System.String,System.String));n.add("/","");n.add("-","");n.add(".","");n.add(System.Globalization.DateTimeFormatInfoScanner.CJKYearSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.CJKMonthSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.CJKDaySuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.KoreanYearSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.KoreanMonthSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.KoreanDaySuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.KoreanHourSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.KoreanMinuteSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.KoreanSecondSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.CJKHourSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.ChineseHourSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.CJKMinuteSuff,"");n.add(System.Globalization.DateTimeFormatInfoScanner.CJKSecondSuff,"");System.Globalization.DateTimeFormatInfoScanner.s_knownWords=n}return System.Globalization.DateTimeFormatInfoScanner.s_knownWords}}},ctors:{init:function(){this.MonthPostfixChar=57344;this.IgnorableSymbolChar=57345;this.CJKYearSuff="年";this.CJKMonthSuff="月";this.CJKDaySuff="日";this.KoreanYearSuff="년";this.KoreanMonthSuff="월";this.KoreanDaySuff="일";this.KoreanHourSuff="시";this.KoreanMinuteSuff="분";this.KoreanSecondSuff="초";this.CJKHourSuff="時";this.ChineseHourSuff="时";this.CJKMinuteSuff="分";this.CJKSecondSuff="秒"}},methods:{SkipWhiteSpacesAndNonLetter:function(n,t){while(t0&&n[System.Array.index(t,n)].charCodeAt(0)>=48&&n[System.Array.index(t,n)].charCodeAt(0)<=57){for(i=1;i=48&&n[System.Array.index(t,n)].charCodeAt(i)<=57;)i=i+1|0;if(i===n[System.Array.index(t,n)].length)return!1;if(i===(n[System.Array.index(t,n)].length-1|0))switch(n[System.Array.index(t,n)].charCodeAt(i)){case 26376:case 50900:return!1}return i===(n[System.Array.index(t,n)].length-4|0)&&n[System.Array.index(t,n)].charCodeAt(i)===39&&n[System.Array.index(t,n)].charCodeAt(i+1|0)===32&&n[System.Array.index(t,n)].charCodeAt(i+2|0)===26376&&n[System.Array.index(t,n)].charCodeAt(i+3|0)===39?!1:!0}return!1}}},fields:{m_dateWords:null,_ymdFlags:0},ctors:{init:function(){this.m_dateWords=new(System.Collections.Generic.List$1(System.String).ctor);this._ymdFlags=System.Globalization.DateTimeFormatInfoScanner.FoundDatePattern.None}},methods:{AddDateWordOrPostfix:function(n,t){var u,i,r;if(t.length>0){if(System.String.equals(t,".")){this.AddIgnorableSymbols(".");return}u={};System.Globalization.DateTimeFormatInfoScanner.KnownWords.tryGetValue(t,u)===!1&&(this.m_dateWords==null&&(this.m_dateWords=new(System.Collections.Generic.List$1(System.String).ctor)),Bridge.referenceEquals(n,"MMMM")?(i=String.fromCharCode(System.Globalization.DateTimeFormatInfoScanner.MonthPostfixChar)+(t||""),this.m_dateWords.contains(i)||this.m_dateWords.add(i)):(this.m_dateWords.contains(t)||this.m_dateWords.add(t),t.charCodeAt(t.length-1|0)===46&&(r=t.substr(0,t.length-1|0),this.m_dateWords.contains(r)||this.m_dateWords.add(r))))}},AddDateWords:function(n,t,i){var f=System.Globalization.DateTimeFormatInfoScanner.SkipWhiteSpacesAndNonLetter(n,t),r,u;for(f!==t&&i!=null&&(i=null),t=f,r=new System.Text.StringBuilder;t=4&&t0)for(r=System.Array.init(this.m_dateWords.Count,null,System.String),t=0;t>>0},ReadInt64:function(){this.FillBuffer(8);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0,t=(this.m_buffer[System.Array.index(4,this.m_buffer)]|this.m_buffer[System.Array.index(5,this.m_buffer)]<<8|this.m_buffer[System.Array.index(6,this.m_buffer)]<<16|this.m_buffer[System.Array.index(7,this.m_buffer)]<<24)>>>0;return System.Int64.clip64(System.UInt64(t)).shl(32).or(System.Int64(n))},ReadUInt64:function(){this.FillBuffer(8);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0,t=(this.m_buffer[System.Array.index(4,this.m_buffer)]|this.m_buffer[System.Array.index(5,this.m_buffer)]<<8|this.m_buffer[System.Array.index(6,this.m_buffer)]<<16|this.m_buffer[System.Array.index(7,this.m_buffer)]<<24)>>>0;return System.UInt64(t).shl(32).or(System.UInt64(n))},ReadSingle:function(){this.FillBuffer(4);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0;return System.BitConverter.toSingle(System.BitConverter.getBytes$8(n),0)},ReadDouble:function(){this.FillBuffer(8);var n=(this.m_buffer[System.Array.index(0,this.m_buffer)]|this.m_buffer[System.Array.index(1,this.m_buffer)]<<8|this.m_buffer[System.Array.index(2,this.m_buffer)]<<16|this.m_buffer[System.Array.index(3,this.m_buffer)]<<24)>>>0,t=(this.m_buffer[System.Array.index(4,this.m_buffer)]|this.m_buffer[System.Array.index(5,this.m_buffer)]<<8|this.m_buffer[System.Array.index(6,this.m_buffer)]<<16|this.m_buffer[System.Array.index(7,this.m_buffer)]<<24)>>>0,i=System.UInt64(t).shl(32).or(System.UInt64(n));return System.BitConverter.toDouble(System.BitConverter.getBytes$9(i),0)},ReadDecimal:function(){this.FillBuffer(23);try{return System.Decimal.fromBytes(this.m_buffer)}catch(n){n=System.Exception.create(n);var t;if(Bridge.is(n,System.ArgumentException)){t=n;throw new System.IO.IOException.$ctor2("Arg_DecBitCtor",t);}else throw n;}},ReadString:function(){var t,i,n,e,f,r,u;if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),t=0,n=this.Read7BitEncodedInt(),n<0)throw new System.IO.IOException.$ctor1("IO.IO_InvalidStringLen_Len");if(n===0)return"";this.m_charBytes==null&&(this.m_charBytes=System.Array.init(System.IO.BinaryReader.MaxCharBytesSize,0,System.Byte));this.m_charBuffer==null&&(this.m_charBuffer=System.Array.init(this.m_maxCharsSize,0,System.Char));r=null;do{if(e=(n-t|0)>System.IO.BinaryReader.MaxCharBytesSize?System.IO.BinaryReader.MaxCharBytesSize:n-t|0,i=this.m_stream.Read(this.m_charBytes,0,e),i===0&&System.IO.__Error.EndOfFile(),f=this.m_encoding.GetChars$2(this.m_charBytes,0,i,this.m_charBuffer,0),t===0&&i===n)return System.String.fromCharArray(this.m_charBuffer,0,f);for(r==null&&(r=new System.Text.StringBuilder("",n)),u=0;un.length)throw new System.ArgumentOutOfRangeException.$ctor1("charsRemaining");while(r>0){if(u=this.InternalReadOneChar(!0),u===-1)break;n[System.Array.index(t,n)]=u&65535;this.lastCharsRead===2&&(n[System.Array.index(t=t+1|0,n)]=this.m_singleChar[System.Array.index(1,this.m_singleChar)],r=r-1|0);r=r-1|0;t=t+1|0}return i-r|0},InternalReadOneChar:function(n){var e,r,f,t;n===void 0&&(n=!1);var u=0,i=0,s=System.Int64(0);for(this.m_stream.CanSeek&&(s=this.m_stream.Position),this.m_charBytes==null&&(this.m_charBytes=System.Array.init(System.IO.BinaryReader.MaxCharBytesSize,0,System.Byte)),this.m_singleChar==null&&(this.m_singleChar=System.Array.init(2,0,System.Char)),e=!1,r=0;u===0;){if(i=this.m_2BytesPerChar?2:1,Bridge.is(this.m_encoding,System.Text.UTF32Encoding)&&(i=4),e)f=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(r=r+1|0,this.m_charBytes)]=f&255,f===-1&&(i=0),i===2&&(f=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(r=r+1|0,this.m_charBytes)]=f&255,f===-1&&(i=1));else if(t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(0,this.m_charBytes)]=t&255,r=0,t===-1&&(i=0),i===2)t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(1,this.m_charBytes)]=t&255,t===-1&&(i=1),r=1;else if(i===4){if((t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(1,this.m_charBytes)]=t&255,t===-1)||(t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(2,this.m_charBytes)]=t&255,t===-1)||(t=this.m_stream.ReadByte(),this.m_charBytes[System.Array.index(3,this.m_charBytes)]=t&255,t===-1))return-1;r=3}if(i===0)return-1;e=!1;try{if(u=this.m_encoding.GetChars$2(this.m_charBytes,0,r+1|0,this.m_singleChar,0),!n&&u===2)throw new System.ArgumentException.ctor;}catch(o){o=System.Exception.create(o);this.m_stream.CanSeek&&this.m_stream.Seek(s.sub(this.m_stream.Position),1);throw o;}this.m_encoding._hasError&&(u=0,e=!0);!n}return(this.lastCharsRead=u,u===0)?-1:this.m_singleChar[System.Array.index(0,this.m_singleChar)]},ReadChars:function(n){var t,i,r;if(n<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","ArgumentOutOfRange_NeedNonNegNum");return(this.m_stream==null&&System.IO.__Error.FileNotOpen(),n===0)?System.Array.init(0,0,System.Char):(t=System.Array.init(n,0,System.Char),i=this.InternalReadChars(t,0,n),i!==n&&(r=System.Array.init(i,0,System.Char),System.Array.copy(t,0,r,0,Bridge.Int.mul(2,i)),t=r),t)},ReadBytes:function(n){var i,t,r,u;if(n<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","ArgumentOutOfRange_NeedNonNegNum");if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),n===0)return System.Array.init(0,0,System.Byte);i=System.Array.init(n,0,System.Byte);t=0;do{if(r=this.m_stream.Read(i,t,n),r===0)break;t=t+r|0;n=n-r|0}while(n>0);return t!==i.length&&(u=System.Array.init(t,0,System.Byte),System.Array.copy(i,0,u,0,t),i=u),i},FillBuffer:function(n){if(this.m_buffer!=null&&(n<0||n>this.m_buffer.length))throw new System.ArgumentOutOfRangeException.$ctor4("numBytes","ArgumentOutOfRange_BinaryReaderFillBuffer");var i=0,t=0;if(this.m_stream==null&&System.IO.__Error.FileNotOpen(),n===1){t=this.m_stream.ReadByte();t===-1&&System.IO.__Error.EndOfFile();this.m_buffer[System.Array.index(0,this.m_buffer)]=t&255;return}do t=this.m_stream.Read(this.m_buffer,i,n-i|0),t===0&&System.IO.__Error.EndOfFile(),i=i+t|0;while(i>8&255;this.OutStream.Write(this._buffer,0,2)},Write$15:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>8&255;this.OutStream.Write(this._buffer,0,2)},Write$10:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>8&255;this._buffer[System.Array.index(2,this._buffer)]=n>>16&255;this._buffer[System.Array.index(3,this._buffer)]=n>>24&255;this.OutStream.Write(this._buffer,0,4)},Write$16:function(n){this._buffer[System.Array.index(0,this._buffer)]=n&255;this._buffer[System.Array.index(1,this._buffer)]=n>>>8&255;this._buffer[System.Array.index(2,this._buffer)]=n>>>16&255;this._buffer[System.Array.index(3,this._buffer)]=n>>>24&255;this.OutStream.Write(this._buffer,0,4)},Write$11:function(n){this._buffer[System.Array.index(0,this._buffer)]=System.Int64.clipu8(n);this._buffer[System.Array.index(1,this._buffer)]=System.Int64.clipu8(n.shr(8));this._buffer[System.Array.index(2,this._buffer)]=System.Int64.clipu8(n.shr(16));this._buffer[System.Array.index(3,this._buffer)]=System.Int64.clipu8(n.shr(24));this._buffer[System.Array.index(4,this._buffer)]=System.Int64.clipu8(n.shr(32));this._buffer[System.Array.index(5,this._buffer)]=System.Int64.clipu8(n.shr(40));this._buffer[System.Array.index(6,this._buffer)]=System.Int64.clipu8(n.shr(48));this._buffer[System.Array.index(7,this._buffer)]=System.Int64.clipu8(n.shr(56));this.OutStream.Write(this._buffer,0,8)},Write$17:function(n){this._buffer[System.Array.index(0,this._buffer)]=System.Int64.clipu8(n);this._buffer[System.Array.index(1,this._buffer)]=System.Int64.clipu8(n.shru(8));this._buffer[System.Array.index(2,this._buffer)]=System.Int64.clipu8(n.shru(16));this._buffer[System.Array.index(3,this._buffer)]=System.Int64.clipu8(n.shru(24));this._buffer[System.Array.index(4,this._buffer)]=System.Int64.clipu8(n.shru(32));this._buffer[System.Array.index(5,this._buffer)]=System.Int64.clipu8(n.shru(40));this._buffer[System.Array.index(6,this._buffer)]=System.Int64.clipu8(n.shru(48));this._buffer[System.Array.index(7,this._buffer)]=System.Int64.clipu8(n.shru(56));this.OutStream.Write(this._buffer,0,8)},Write$13:function(n){var t=System.BitConverter.toUInt32(System.BitConverter.getBytes$6(n),0);this._buffer[System.Array.index(0,this._buffer)]=t&255;this._buffer[System.Array.index(1,this._buffer)]=t>>>8&255;this._buffer[System.Array.index(2,this._buffer)]=t>>>16&255;this._buffer[System.Array.index(3,this._buffer)]=t>>>24&255;this.OutStream.Write(this._buffer,0,4)},Write$14:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("value");var t=this._encoding.GetBytes$2(n),i=t.length;this.Write7BitEncodedInt(i);this.OutStream.Write(t,0,i)},Write7BitEncodedInt:function(n){for(var t=n>>>0;t>=128;)this.Write$1((t|128)>>>0&255),t=t>>>7;this.Write$1(t&255)}}});Bridge.define("System.IO.Stream",{inherits:[System.IDisposable],statics:{fields:{Null:null,_DefaultCopyBufferSize:0},ctors:{init:function(){this.Null=new System.IO.Stream.NullStream;this._DefaultCopyBufferSize=81920}},methods:{Synchronized:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("stream");return n},BlockingEndRead:function(n){return System.IO.Stream.SynchronousAsyncResult.EndRead(n)},BlockingEndWrite:function(n){System.IO.Stream.SynchronousAsyncResult.EndWrite(n)}}},props:{CanTimeout:{get:function(){return!1}},ReadTimeout:{get:function(){throw new System.InvalidOperationException.ctor;},set:function(){throw new System.InvalidOperationException.ctor;}},WriteTimeout:{get:function(){throw new System.InvalidOperationException.ctor;},set:function(){throw new System.InvalidOperationException.ctor;}}},alias:["Dispose","System$IDisposable$Dispose"],methods:{CopyTo:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("destination");if(!this.CanRead&&!this.CanWrite)throw new System.Exception;if(!n.CanRead&&!n.CanWrite)throw new System.Exception("destination");if(!this.CanRead)throw new System.NotSupportedException.ctor;if(!n.CanWrite)throw new System.NotSupportedException.ctor;this.InternalCopyTo(n,System.IO.Stream._DefaultCopyBufferSize)},CopyTo$1:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("destination");if(t<=0)throw new System.ArgumentOutOfRangeException.$ctor1("bufferSize");if(!this.CanRead&&!this.CanWrite)throw new System.Exception;if(!n.CanRead&&!n.CanWrite)throw new System.Exception("destination");if(!this.CanRead)throw new System.NotSupportedException.ctor;if(!n.CanWrite)throw new System.NotSupportedException.ctor;this.InternalCopyTo(n,t)},InternalCopyTo:function(n,t){for(var i=System.Array.init(t,0,System.Byte),r;(r=this.Read(i,0,i.length))!==0;)n.Write(i,0,r)},Close:function(){this.Dispose$1(!0)},Dispose:function(){this.Close()},Dispose$1:function(){},BeginRead:function(n,t,i,r,u){return this.BeginReadInternal(n,t,i,r,u,!1)},BeginReadInternal:function(n,t,i,r,u){return this.CanRead||System.IO.__Error.ReadNotSupported(),this.BlockingBeginRead(n,t,i,r,u)},EndRead:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("asyncResult");return System.IO.Stream.BlockingEndRead(n)},BeginWrite:function(n,t,i,r,u){return this.BeginWriteInternal(n,t,i,r,u,!1)},BeginWriteInternal:function(n,t,i,r,u){return this.CanWrite||System.IO.__Error.WriteNotSupported(),this.BlockingBeginWrite(n,t,i,r,u)},EndWrite:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("asyncResult");System.IO.Stream.BlockingEndWrite(n)},ReadByte:function(){var n=System.Array.init(1,0,System.Byte),t=this.Read(n,0,1);return t===0?-1:n[System.Array.index(0,n)]},WriteByte:function(n){var t=System.Array.init(1,0,System.Byte);t[System.Array.index(0,t)]=n;this.Write(t,0,1)},BlockingBeginRead:function(n,t,i,r,u){var e,o,s;try{o=this.Read(n,t,i);e=new System.IO.Stream.SynchronousAsyncResult.$ctor1(o,u)}catch(f){if(f=System.Exception.create(f),Bridge.is(f,System.IO.IOException))s=f,e=new System.IO.Stream.SynchronousAsyncResult.ctor(s,u,!1);else throw f;}return Bridge.staticEquals(r,null)||r(e),e},BlockingBeginWrite:function(n,t,i,r,u){var e,o;try{this.Write(n,t,i);e=new System.IO.Stream.SynchronousAsyncResult.$ctor2(u)}catch(f){if(f=System.Exception.create(f),Bridge.is(f,System.IO.IOException))o=f,e=new System.IO.Stream.SynchronousAsyncResult.ctor(o,u,!0);else throw f;}return Bridge.staticEquals(r,null)||r(e),e}}});Bridge.define("System.IO.BufferedStream",{inherits:[System.IO.Stream],statics:{fields:{_DefaultBufferSize:0,MaxShadowBufferSize:0},ctors:{init:function(){this._DefaultBufferSize=4096;this.MaxShadowBufferSize=81920}}},fields:{_stream:null,_buffer:null,_bufferSize:0,_readPos:0,_readLen:0,_writePos:0},props:{UnderlyingStream:{get:function(){return this._stream}},BufferSize:{get:function(){return this._bufferSize}},CanRead:{get:function(){return this._stream!=null&&this._stream.CanRead}},CanWrite:{get:function(){return this._stream!=null&&this._stream.CanWrite}},CanSeek:{get:function(){return this._stream!=null&&this._stream.CanSeek}},Length:{get:function(){return this.EnsureNotClosed(),this._writePos>0&&this.FlushWrite(),this._stream.Length}},Position:{get:function(){return this.EnsureNotClosed(),this.EnsureCanSeek(),this._stream.Position.add(System.Int64((this._readPos-this._readLen|0)+this._writePos|0))},set:function(n){if(n.lt(System.Int64(0)))throw new System.ArgumentOutOfRangeException.$ctor1("value");this.EnsureNotClosed();this.EnsureCanSeek();this._writePos>0&&this.FlushWrite();this._readPos=0;this._readLen=0;this._stream.Seek(n,0)}}},ctors:{ctor:function(){this.$initialize();System.IO.Stream.ctor.call(this)},$ctor1:function(n){System.IO.BufferedStream.$ctor2.call(this,n,System.IO.BufferedStream._DefaultBufferSize)},$ctor2:function(n,t){if(this.$initialize(),System.IO.Stream.ctor.call(this),n==null)throw new System.ArgumentNullException.$ctor1("stream");if(t<=0)throw new System.ArgumentOutOfRangeException.$ctor1("bufferSize");this._stream=n;this._bufferSize=t;this._stream.CanRead||this._stream.CanWrite||System.IO.__Error.StreamIsClosed()}},methods:{EnsureNotClosed:function(){this._stream==null&&System.IO.__Error.StreamIsClosed()},EnsureCanSeek:function(){this._stream.CanSeek||System.IO.__Error.SeekNotSupported()},EnsureCanRead:function(){this._stream.CanRead||System.IO.__Error.ReadNotSupported()},EnsureCanWrite:function(){this._stream.CanWrite||System.IO.__Error.WriteNotSupported()},EnsureShadowBufferAllocated:function(){if(this._buffer.length===this._bufferSize&&!(this._bufferSize>=System.IO.BufferedStream.MaxShadowBufferSize)){var n=System.Array.init(Math.min(this._bufferSize+this._bufferSize|0,System.IO.BufferedStream.MaxShadowBufferSize),0,System.Byte);System.Array.copy(this._buffer,0,n,0,this._writePos);this._buffer=n}},EnsureBufferAllocated:function(){this._buffer==null&&(this._buffer=System.Array.init(this._bufferSize,0,System.Byte))},Dispose$1:function(n){try{if(n&&this._stream!=null)try{this.Flush()}finally{this._stream.Close()}}finally{this._stream=null;this._buffer=null;System.IO.Stream.prototype.Dispose$1.call(this,n)}},Flush:function(){if(this.EnsureNotClosed(),this._writePos>0){this.FlushWrite();return}if(this._readPosi&&(r=i),System.Array.copy(this._buffer,this._readPos,n,t,r),this._readPos=this._readPos+r|0,r)},ReadFromBuffer$1:function(n,t,i,r){try{return r.v=null,this.ReadFromBuffer(n,t,i)}catch(u){return u=System.Exception.create(u),r.v=u,0}},Read:function(n,t,i){var r,u;if(n==null)throw new System.ArgumentNullException.$ctor1("array");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("offset");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t|0)0&&(i=i-r|0,t=t+r|0),this._readPos=this._readLen=0,this._writePos>0&&this.FlushWrite(),i>=this._bufferSize)?this._stream.Read(n,t,i)+u|0:(this.EnsureBufferAllocated(),this._readLen=this._stream.Read(this._buffer,0,this._bufferSize),r=this.ReadFromBuffer(n,t,i),r+u|0)},ReadByte:function(){if(this.EnsureNotClosed(),this.EnsureCanRead(),this._readPos===this._readLen&&(this._writePos>0&&this.FlushWrite(),this.EnsureBufferAllocated(),this._readLen=this._stream.Read(this._buffer,0,this._bufferSize),this._readPos=0),this._readPos===this._readLen)return-1;return this._buffer[System.Array.index(Bridge.identity(this._readPos,this._readPos=this._readPos+1|0),this._buffer)]},WriteToBuffer:function(n,t,i){var r=Math.min(this._bufferSize-this._writePos|0,i.v);r<=0||(this.EnsureBufferAllocated(),System.Array.copy(n,t.v,this._buffer,this._writePos,r),this._writePos=this._writePos+r|0,i.v=i.v-r|0,t.v=t.v+r|0)},WriteToBuffer$1:function(n,t,i,r){try{r.v=null;this.WriteToBuffer(n,t,i)}catch(u){u=System.Exception.create(u);r.v=u}},Write:function(n,t,i){if(t={v:t},i={v:i},n==null)throw new System.ArgumentNullException.$ctor1("array");if(t.v<0)throw new System.ArgumentOutOfRangeException.$ctor1("offset");if(i.v<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t.v|0)0){if(r<=(this._bufferSize+this._bufferSize|0)&&r<=System.IO.BufferedStream.MaxShadowBufferSize){this.EnsureShadowBufferAllocated();System.Array.copy(n,t.v,this._buffer,this._writePos,i.v);this._stream.Write(this._buffer,0,r);this._writePos=0;return}this._stream.Write(this._buffer,0,this._writePos);this._writePos=0}this._stream.Write(n,t.v,i.v)}},WriteByte:function(n){this.EnsureNotClosed();this._writePos===0&&(this.EnsureCanWrite(),this.ClearReadBufferBeforeWrite(),this.EnsureBufferAllocated());this._writePos>=(this._bufferSize-1|0)&&this.FlushWrite();this._buffer[System.Array.index(Bridge.identity(this._writePos,this._writePos=this._writePos+1|0),this._buffer)]=n},Seek:function(n,t){if(this.EnsureNotClosed(),this.EnsureCanSeek(),this._writePos>0)return this.FlushWrite(),this._stream.Seek(n,t);(this._readLen-this._readPos|0)>0&&t===1&&(n=n.sub(System.Int64(this._readLen-this._readPos|0)));var r=this.Position,i=this._stream.Seek(n,t);return this._readPos=System.Int64.clip32(i.sub(r.sub(System.Int64(this._readPos)))),0<=this._readPos&&this._readPos0;)u=i.Read(f,r,t),u===0&&System.IO.__Error.EndOfFile(),r=r+u|0,t=t-u|0}finally{Bridge.hasValue(i)&&i.System$IDisposable$Dispose()}return f},ReadAllLines:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("path");if(n.length===0)throw new System.ArgumentException.$ctor1("Argument_EmptyPath");return System.IO.File.InternalReadAllLines(n,System.Text.Encoding.UTF8)},ReadAllLines$1:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("path");if(t==null)throw new System.ArgumentNullException.$ctor1("encoding");if(n.length===0)throw new System.ArgumentException.$ctor1("Argument_EmptyPath");return System.IO.File.InternalReadAllLines(n,t)},InternalReadAllLines:function(n,t){var r,u=new(System.Collections.Generic.List$1(System.String).ctor),i=new System.IO.StreamReader.$ctor9(n,t);try{while((r=i.ReadLine())!=null)u.add(r)}finally{Bridge.hasValue(i)&&i.System$IDisposable$Dispose()}return u.ToArray()},ReadLines:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("path");if(n.length===0)throw new System.ArgumentException.$ctor3("Argument_EmptyPath","path");return System.IO.ReadLinesIterator.CreateIterator(n,System.Text.Encoding.UTF8)},ReadLines$1:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("path");if(t==null)throw new System.ArgumentNullException.$ctor1("encoding");if(n.length===0)throw new System.ArgumentException.$ctor3("Argument_EmptyPath","path");return System.IO.ReadLinesIterator.CreateIterator(n,t)}}}});Bridge.define("System.IO.FileMode",{$kind:"enum",statics:{fields:{CreateNew:1,Create:2,Open:3,OpenOrCreate:4,Truncate:5,Append:6}}});Bridge.define("System.IO.FileOptions",{$kind:"enum",statics:{fields:{None:0,WriteThrough:-2147483648,Asynchronous:1073741824,RandomAccess:268435456,DeleteOnClose:67108864,SequentialScan:134217728,Encrypted:16384}},$flags:!0});Bridge.define("System.IO.FileShare",{$kind:"enum",statics:{fields:{None:0,Read:1,Write:2,ReadWrite:3,Delete:4,Inheritable:16}},$flags:!0});Bridge.define("System.IO.FileStream",{inherits:[System.IO.Stream],statics:{methods:{FromFile:function(n){var i=new System.Threading.Tasks.TaskCompletionSource,t=new FileReader;return t.onload=function(){i.setResult(new System.IO.FileStream.ctor(t.result,n.name))},t.onerror=function(n){i.setException(new System.SystemException.$ctor1(Bridge.unbox(n).target.error.As()))},t.readAsArrayBuffer(n),i.task},ReadBytes:function(n){var u,t,i,r;if(Bridge.isNode)return u=require("fs"),Bridge.cast(u.readFileSync(n),ArrayBuffer);if(t=new XMLHttpRequest,t.open("GET",n,!1),t.overrideMimeType("text/plain; charset=x-user-defined"),t.send(null),t.status!==200)throw new System.IO.IOException.$ctor1(System.String.concat("Status of request to "+(n||"")+" returned status: ",t.status));return i=t.responseText,r=new Uint8Array(i.length),System.String.toCharArray(i,0,i.length).forEach(function(n,t){var i;return i=n&255,r[t]=i,i}),r.buffer},ReadBytesAsync:function(n){var i=new System.Threading.Tasks.TaskCompletionSource,r,t;return Bridge.isNode?(r=require("fs"),r.readFile(n,function(n,t){if(n!=null)throw new System.IO.IOException.ctor;i.setResult(t)})):(t=new XMLHttpRequest,t.open("GET",n,!0),t.overrideMimeType("text/plain; charset=binary-data"),t.send(null),t.onreadystatechange=function(){if(t.readyState===4){if(t.status!==200)throw new System.IO.IOException.$ctor1(System.String.concat("Status of request to "+(n||"")+" returned status: ",t.status));var r=t.responseText,u=new Uint8Array(r.length);System.String.toCharArray(r,0,r.length).forEach(function(n,t){var i;return i=n&255,u[t]=i,i});i.setResult(u.buffer)}}),i.task}}},fields:{name:null,_buffer:null},props:{CanRead:{get:function(){return!0}},CanWrite:{get:function(){return!1}},CanSeek:{get:function(){return!1}},IsAsync:{get:function(){return!1}},Name:{get:function(){return this.name}},Length:{get:function(){return System.Int64(this.GetInternalBuffer().byteLength)}},Position:System.Int64(0)},ctors:{$ctor1:function(n){this.$initialize();System.IO.Stream.ctor.call(this);this.name=n},ctor:function(n,t){this.$initialize();System.IO.Stream.ctor.call(this);this._buffer=n;this.name=t}},methods:{Flush:function(){},Seek:function(){throw new System.NotImplementedException.ctor;},SetLength:function(){throw new System.NotImplementedException.ctor;},Write:function(){throw new System.NotImplementedException.ctor;},GetInternalBuffer:function(){return this._buffer==null&&(this._buffer=System.IO.FileStream.ReadBytes(this.name)),this._buffer},EnsureBufferAsync:function(){var n=0,i,r,t=new System.Threading.Tasks.TaskCompletionSource,u,f=Bridge.fn.bind(this,function(){try{for(;;){n=System.Array.min([0,1,2,3],n);switch(n){case 0:if(this._buffer==null){n=1;continue}n=3;continue;case 1:i=System.IO.FileStream.ReadBytesAsync(this.name);n=2;i.continueWith(f);return;case 2:r=i.getAwaitedResult();this._buffer=r;n=3;continue;case 3:t.setResult(null);return;default:t.setResult(null);return}}}catch(e){u=System.Exception.create(e);t.setException(u)}},arguments);return f(),t.task},Read:function(n,t,i){var r,e,u,f,o;if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("offset");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t|0)0){var t=System.Array.init(n,0,System.Byte);this._length>0&&System.Array.copy(this._buffer,0,t,0,this._length);this._buffer=t}else this._buffer=null;this._capacity=n}}},Length:{get:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),System.Int64(this._length-this._origin)}},Position:{get:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),System.Int64(this._position-this._origin)},set:function(n){if(n.lt(System.Int64(0)))throw new System.ArgumentOutOfRangeException.$ctor4("value","ArgumentOutOfRange_NeedNonNegNum");if(this._isOpen||System.IO.__Error.StreamIsClosed(),n.gt(System.Int64(System.IO.MemoryStream.MemStreamMaxLength)))throw new System.ArgumentOutOfRangeException.$ctor4("value","ArgumentOutOfRange_StreamLength");this._position=this._origin+System.Int64.clip32(n)|0}}},ctors:{ctor:function(){System.IO.MemoryStream.$ctor6.call(this,0)},$ctor6:function(n){if(this.$initialize(),System.IO.Stream.ctor.call(this),n<0)throw new System.ArgumentOutOfRangeException.$ctor4("capacity","ArgumentOutOfRange_NegativeCapacity");this._buffer=System.Array.init(n,0,System.Byte);this._capacity=n;this._expandable=!0;this._writable=!0;this._exposable=!0;this._origin=0;this._isOpen=!0},$ctor1:function(n){System.IO.MemoryStream.$ctor2.call(this,n,!0)},$ctor2:function(n,t){if(this.$initialize(),System.IO.Stream.ctor.call(this),n==null)throw new System.ArgumentNullException.$ctor3("buffer","ArgumentNull_Buffer");this._buffer=n;this._length=this._capacity=n.length;this._writable=t;this._exposable=!1;this._origin=0;this._isOpen=!0},$ctor3:function(n,t,i){System.IO.MemoryStream.$ctor5.call(this,n,t,i,!0,!1)},$ctor4:function(n,t,i,r){System.IO.MemoryStream.$ctor5.call(this,n,t,i,r,!1)},$ctor5:function(n,t,i,r,u){if(this.$initialize(),System.IO.Stream.ctor.call(this),n==null)throw new System.ArgumentNullException.$ctor3("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("index","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)this._capacity){var t=n;return t<256&&(t=256),t>>0>2147483591&&(t=n>2147483591?n:2147483591),this.Capacity=t,!0}return!1},Flush:function(){},GetBuffer:function(){if(!this._exposable)throw new System.Exception("UnauthorizedAccess_MemStreamBuffer");return this._buffer},TryGetBuffer:function(n){return this._exposable?(n.v=new System.ArraySegment(this._buffer,this._origin,this._length-this._origin|0),!0):(n.v=Bridge.getDefaultValue(System.ArraySegment),!1)},InternalGetBuffer:function(){return this._buffer},InternalGetPosition:function(){return this._isOpen||System.IO.__Error.StreamIsClosed(),this._position},InternalReadInt32:function(){this._isOpen||System.IO.__Error.StreamIsClosed();var n=this._position=this._position+4|0;return n>this._length&&(this._position=this._length,System.IO.__Error.EndOfFile()),this._buffer[System.Array.index(n-4|0,this._buffer)]|this._buffer[System.Array.index(n-3|0,this._buffer)]<<8|this._buffer[System.Array.index(n-2|0,this._buffer)]<<16|this._buffer[System.Array.index(n-1|0,this._buffer)]<<24},InternalEmulateRead:function(n){this._isOpen||System.IO.__Error.StreamIsClosed();var t=this._length-this._position|0;return t>n&&(t=n),t<0&&(t=0),this._position=this._position+t|0,t},Read:function(n,t,i){var r,u;if(n==null)throw new System.ArgumentNullException.$ctor3("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("offset","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)i&&(r=i),r<=0)return 0;if(r<=8)for(u=r;(u=u-1|0)>=0;)n[System.Array.index(t+u|0,n)]=this._buffer[System.Array.index(this._position+u|0,this._buffer)];else System.Array.copy(this._buffer,this._position,n,t,r);return this._position=this._position+r|0,r},ReadByte:function(){return(this._isOpen||System.IO.__Error.StreamIsClosed(),this._position>=this._length)?-1:this._buffer[System.Array.index(Bridge.identity(this._position,this._position=this._position+1|0),this._buffer)]},Seek:function(n,t){var i,r,u;if(this._isOpen||System.IO.__Error.StreamIsClosed(),n.gt(System.Int64(System.IO.MemoryStream.MemStreamMaxLength)))throw new System.ArgumentOutOfRangeException.$ctor4("offset","ArgumentOutOfRange_StreamLength");switch(t){case 0:if(i=this._origin+System.Int64.clip32(n)|0,n.lt(System.Int64(0))||ithis._length&&System.Array.fill(this._buffer,0,this._length,t-this._length|0);this._length=t;this._position>t&&(this._position=t)},ToArray:function(){var n=System.Array.init(this._length-this._origin|0,0,System.Byte);return System.Array.copy(this._buffer,this._origin,n,0,this._length-this._origin|0),n},Write:function(n,t,i){var r,f,e,u;if(n==null)throw new System.ArgumentNullException.$ctor3("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("offset","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)this._length&&(f=this._position>this._length,r>this._capacity&&(e=this.EnsureCapacity(r),e&&(f=!1)),f&&System.Array.fill(this._buffer,0,this._length,r-this._length|0),this._length=r),i<=8&&!Bridge.referenceEquals(n,this._buffer))for(u=i;(u=u-1|0)>=0;)this._buffer[System.Array.index(this._position+u|0,this._buffer)]=n[System.Array.index(t+u|0,n)];else System.Array.copy(n,t,this._buffer,this._position,i);this._position=r},WriteByte:function(n){var t,i,r;this._isOpen||System.IO.__Error.StreamIsClosed();this.EnsureWriteable();this._position>=this._length&&(t=this._position+1|0,i=this._position>this._length,t>=this._capacity&&(r=this.EnsureCapacity(t),r&&(i=!1)),i&&System.Array.fill(this._buffer,0,this._length,this._position-this._length|0),this._length=t);this._buffer[System.Array.index(Bridge.identity(this._position,this._position=this._position+1|0),this._buffer)]=n},WriteTo:function(n){if(n==null)throw new System.ArgumentNullException.$ctor3("stream","ArgumentNull_Stream");this._isOpen||System.IO.__Error.StreamIsClosed();n.Write(this._buffer,this._origin,this._length-this._origin|0)}}});Bridge.define("System.IO.ReadLinesIterator",{inherits:[System.IO.Iterator$1(System.String)],statics:{methods:{CreateIterator:function(n,t){return System.IO.ReadLinesIterator.CreateIterator$1(n,t,null)},CreateIterator$1:function(n,t,i){return new System.IO.ReadLinesIterator(n,t,i||new System.IO.StreamReader.$ctor9(n,t))}}},fields:{_path:null,_encoding:null,_reader:null},alias:["moveNext","System$Collections$IEnumerator$moveNext"],ctors:{ctor:function(n,t,i){this.$initialize();System.IO.Iterator$1(System.String).ctor.call(this);this._path=n;this._encoding=t;this._reader=i}},methods:{moveNext:function(){if(this._reader!=null){if(this.current=this._reader.ReadLine(),this.current!=null)return!0;this.Dispose()}return!1},Clone:function(){return System.IO.ReadLinesIterator.CreateIterator$1(this._path,this._encoding,this._reader)},Dispose$1:function(n){try{n&&this._reader!=null&&this._reader.Dispose()}finally{this._reader=null;System.IO.Iterator$1(System.String).prototype.Dispose$1.call(this,n)}}}});Bridge.define("System.IO.SeekOrigin",{$kind:"enum",statics:{fields:{Begin:0,Current:1,End:2}}});Bridge.define("System.IO.Stream.NullStream",{inherits:[System.IO.Stream],$kind:"nested class",props:{CanRead:{get:function(){return!0}},CanWrite:{get:function(){return!0}},CanSeek:{get:function(){return!0}},Length:{get:function(){return System.Int64(0)}},Position:{get:function(){return System.Int64(0)},set:function(){}}},ctors:{ctor:function(){this.$initialize();System.IO.Stream.ctor.call(this)}},methods:{Dispose$1:function(){},Flush:function(){},BeginRead:function(n,t,i,r,u){return this.CanRead||System.IO.__Error.ReadNotSupported(),this.BlockingBeginRead(n,t,i,r,u)},EndRead:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("asyncResult");return System.IO.Stream.BlockingEndRead(n)},BeginWrite:function(n,t,i,r,u){return this.CanWrite||System.IO.__Error.WriteNotSupported(),this.BlockingBeginWrite(n,t,i,r,u)},EndWrite:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("asyncResult");System.IO.Stream.BlockingEndWrite(n)},Read:function(){return 0},ReadByte:function(){return-1},Write:function(){},WriteByte:function(){},Seek:function(){return System.Int64(0)},SetLength:function(){}}});Bridge.define("System.IO.Stream.SynchronousAsyncResult",{inherits:[System.IAsyncResult],$kind:"nested class",statics:{methods:{EndRead:function(n){var t=Bridge.as(n,System.IO.Stream.SynchronousAsyncResult);return(t==null||t._isWrite)&&System.IO.__Error.WrongAsyncResult(),t._endXxxCalled&&System.IO.__Error.EndReadCalledTwice(),t._endXxxCalled=!0,t.ThrowIfError(),t._bytesRead},EndWrite:function(n){var t=Bridge.as(n,System.IO.Stream.SynchronousAsyncResult);t!=null&&t._isWrite||System.IO.__Error.WrongAsyncResult();t._endXxxCalled&&System.IO.__Error.EndWriteCalledTwice();t._endXxxCalled=!0;t.ThrowIfError()}}},fields:{_stateObject:null,_isWrite:!1,_exceptionInfo:null,_endXxxCalled:!1,_bytesRead:0},props:{IsCompleted:{get:function(){return!0}},AsyncState:{get:function(){return this._stateObject}},CompletedSynchronously:{get:function(){return!0}}},alias:["IsCompleted","System$IAsyncResult$IsCompleted","AsyncState","System$IAsyncResult$AsyncState","CompletedSynchronously","System$IAsyncResult$CompletedSynchronously"],ctors:{$ctor1:function(n,t){this.$initialize();this._bytesRead=n;this._stateObject=t},$ctor2:function(n){this.$initialize();this._stateObject=n;this._isWrite=!0},ctor:function(n,t,i){this.$initialize();this._exceptionInfo=n;this._stateObject=t;this._isWrite=i}},methods:{ThrowIfError:function(){if(this._exceptionInfo!=null)throw this._exceptionInfo;}}});Bridge.define("System.IO.TextReader",{inherits:[System.IDisposable],statics:{fields:{Null:null},ctors:{init:function(){this.Null=new System.IO.TextReader.NullTextReader}},methods:{Synchronized:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("reader");return n}}},alias:["Dispose","System$IDisposable$Dispose"],ctors:{ctor:function(){this.$initialize()}},methods:{Close:function(){this.Dispose$1(!0)},Dispose:function(){this.Dispose$1(!0)},Dispose$1:function(){},Peek:function(){return-1},Read:function(){return-1},Read$1:function(n,t,i){var r,u;if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t|0)0&&r0?t.toString():null}}});Bridge.define("System.IO.StreamReader",{inherits:[System.IO.TextReader],statics:{fields:{Null:null,DefaultFileStreamBufferSize:0,MinBufferSize:0},props:{DefaultBufferSize:{get:function(){return 1024}}},ctors:{init:function(){this.Null=new System.IO.StreamReader.NullStreamReader;this.DefaultFileStreamBufferSize=4096;this.MinBufferSize=128}}},fields:{stream:null,encoding:null,byteBuffer:null,charBuffer:null,charPos:0,charLen:0,byteLen:0,bytePos:0,_maxCharsPerBuffer:0,_detectEncoding:!1,_isBlocked:!1,_closable:!1},props:{CurrentEncoding:{get:function(){return this.encoding}},BaseStream:{get:function(){return this.stream}},LeaveOpen:{get:function(){return!this._closable}},EndOfStream:{get:function(){if(this.stream==null&&System.IO.__Error.ReaderClosed(),this.charPos0;){if(r=this.charLen-this.charPos|0,r===0&&(r=this.ReadBuffer$1(n,t+u|0,i,f)),r===0)break;if(r>i&&(r=i),f.v||(System.Array.copy(this.charBuffer,this.charPos,n,t+u|0,r),this.charPos=this.charPos+r|0),u=u+r|0,i=i-r|0,this._isBlocked)break}return u},ReadToEndAsync:function(){var n=0,i,r,f,t=new System.Threading.Tasks.TaskCompletionSource,e,u=Bridge.fn.bind(this,function(){try{for(;;){n=System.Array.min([0,1,2,3,4],n);switch(n){case 0:if(Bridge.is(this.stream,System.IO.FileStream)){n=1;continue}n=3;continue;case 1:i=this.stream.EnsureBufferAsync();n=2;i.continueWith(u);return;case 2:i.getAwaitedResult();n=3;continue;case 3:r=System.IO.TextReader.prototype.ReadToEndAsync.call(this);n=4;r.continueWith(u);return;case 4:f=r.getAwaitedResult();t.setResult(f);return;default:t.setResult(null);return}}}catch(o){e=System.Exception.create(o);t.setException(e)}},arguments);return u(),t.task},ReadToEnd:function(){this.stream==null&&System.IO.__Error.ReaderClosed();var n=new System.Text.StringBuilder("",this.charLen-this.charPos|0);do n.append(System.String.fromCharArray(this.charBuffer,this.charPos,this.charLen-this.charPos|0)),this.charPos=this.charLen,this.ReadBuffer();while(this.charLen>0);return n.toString()},ReadBlock:function(n,t,i){if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");if(t<0||i<0)throw new System.ArgumentOutOfRangeException.$ctor1(t<0?"index":"count");if((n.length-t|0)=3&&this.byteBuffer[System.Array.index(0,this.byteBuffer)]===239&&this.byteBuffer[System.Array.index(1,this.byteBuffer)]===187&&this.byteBuffer[System.Array.index(2,this.byteBuffer)]===191?(this.encoding=System.Text.Encoding.UTF8,this.CompressBuffer(3),n=!0):this.byteLen>=4&&this.byteBuffer[System.Array.index(0,this.byteBuffer)]===0&&this.byteBuffer[System.Array.index(1,this.byteBuffer)]===0&&this.byteBuffer[System.Array.index(2,this.byteBuffer)]===254&&this.byteBuffer[System.Array.index(3,this.byteBuffer)]===255?(this.encoding=new System.Text.UTF32Encoding.$ctor1(!0,!0),this.CompressBuffer(4),n=!0):this.byteLen===2&&(this._detectEncoding=!0);n&&(this._maxCharsPerBuffer=this.encoding.GetMaxCharCount(this.byteBuffer.length),this.charBuffer=System.Array.init(this._maxCharsPerBuffer,0,System.Char))}},IsPreamble:function(){return!1},ReadBuffer:function(){this.charLen=0;this.charPos=0;this.byteLen=0;do{if(this.byteLen=this.stream.Read(this.byteBuffer,0,this.byteBuffer.length),this.byteLen===0)return this.charLen;(this._isBlocked=this.byteLen=2&&this.DetectEncoding(),this.charLen=this.charLen+this.encoding.GetChars$2(this.byteBuffer,0,this.byteLen,this.charBuffer,this.charLen)|0)}while(this.charLen===0);return this.charLen},ReadBuffer$1:function(n,t,i,r){this.charLen=0;this.charPos=0;this.byteLen=0;var u=0;r.v=i>=this._maxCharsPerBuffer;do{if(this.byteLen=this.stream.Read(this.byteBuffer,0,this.byteBuffer.length),this.byteLen===0)break;(this._isBlocked=this.byteLen=2&&(this.DetectEncoding(),r.v=i>=this._maxCharsPerBuffer),this.charPos=0,r.v?(u=u+this.encoding.GetChars$2(this.byteBuffer,0,this.byteLen,n,t+u|0)|0,this.charLen=0):(u=this.encoding.GetChars$2(this.byteBuffer,0,this.byteLen,this.charBuffer,u),this.charLen=this.charLen+u|0))}while(u===0);return this._isBlocked=!!(this._isBlocked&u0)&&this.charBuffer[System.Array.index(this.charPos,this.charBuffer)]===10&&(this.charPos=this.charPos+1|0),r;n=n+1|0}while(n0);return t.toString()}}});Bridge.define("System.IO.StreamReader.NullStreamReader",{inherits:[System.IO.StreamReader],$kind:"nested class",props:{BaseStream:{get:function(){return System.IO.Stream.Null}},CurrentEncoding:{get:function(){return System.Text.Encoding.Unicode}}},ctors:{ctor:function(){this.$initialize();System.IO.StreamReader.ctor.call(this);this.Init(System.IO.Stream.Null)}},methods:{Dispose$1:function(){},Peek:function(){return-1},Read:function(){return-1},Read$1:function(){return 0},ReadLine:function(){return null},ReadToEnd:function(){return""},ReadBuffer:function(){return 0}}});Bridge.define("System.IO.TextWriter",{inherits:[System.IDisposable],statics:{fields:{Null:null,InitialNewLine:null},ctors:{init:function(){this.Null=new System.IO.TextWriter.NullTextWriter;this.InitialNewLine="\r\n"}},methods:{Synchronized:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("writer");return n}}},fields:{CoreNewLine:null,InternalFormatProvider:null},props:{FormatProvider:{get:function(){return this.InternalFormatProvider==null?System.Globalization.CultureInfo.getCurrentCulture():this.InternalFormatProvider}},NewLine:{get:function(){return System.String.fromCharArray(this.CoreNewLine)},set:function(n){n==null&&(n=System.IO.TextWriter.InitialNewLine);this.CoreNewLine=System.String.toCharArray(n,0,n.length)}}},alias:["Dispose","System$IDisposable$Dispose"],ctors:{init:function(){this.CoreNewLine=System.Array.init([13,10],System.Char)},ctor:function(){this.$initialize();this.InternalFormatProvider=null},$ctor1:function(n){this.$initialize();this.InternalFormatProvider=n}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(){},Dispose:function(){this.Dispose$1(!0)},Flush:function(){},Write$1:function(){},Write$2:function(n){n!=null&&this.Write$3(n,0,n.length)},Write$3:function(n,t,i){if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t|0)0&&this.stream.Write(this.byteBuffer,0,i);n&&this.stream.Flush()}},Write$1:function(n){this.charPos===this.charLen&&this.Flush$1(!1,!1);this.charBuffer[System.Array.index(this.charPos,this.charBuffer)]=n;this.charPos=this.charPos+1|0;this.autoFlush&&this.Flush$1(!0,!1)},Write$2:function(n){var r,i,t;if(n!=null){for(r=0,i=n.length;i>0;)this.charPos===this.charLen&&this.Flush$1(!1,!1),t=this.charLen-this.charPos|0,t>i&&(t=i),System.Array.copy(n,r,this.charBuffer,this.charPos,t),this.charPos=this.charPos+t|0,r=r+t|0,i=i-t|0;this.autoFlush&&this.Flush$1(!0,!1)}},Write$3:function(n,t,i){if(n==null)throw new System.ArgumentNullException.$ctor3("buffer","ArgumentNull_Buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("index","ArgumentOutOfRange_NeedNonNegNum");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("count","ArgumentOutOfRange_NeedNonNegNum");if((n.length-t|0)0){this.charPos===this.charLen&&this.Flush$1(!1,!1);var r=this.charLen-this.charPos|0;r>i&&(r=i);System.Array.copy(n,t,this.charBuffer,this.charPos,r);this.charPos=this.charPos+r|0;t=t+r|0;i=i-r|0}this.autoFlush&&this.Flush$1(!0,!1)},Write$10:function(n){var i,r,t;if(n!=null){for(i=n.length,r=0;i>0;)this.charPos===this.charLen&&this.Flush$1(!1,!1),t=this.charLen-this.charPos|0,t>i&&(t=i),System.String.copyTo(n,r,this.charBuffer,this.charPos,t),this.charPos=this.charPos+t|0,r=r+t|0,i=i-t|0;this.autoFlush&&this.Flush$1(!0,!1)}}}});Bridge.define("System.IO.StringReader",{inherits:[System.IO.TextReader],fields:{_s:null,_pos:0,_length:0},ctors:{ctor:function(n){if(this.$initialize(),System.IO.TextReader.ctor.call(this),n==null)throw new System.ArgumentNullException.$ctor1("s");this._s=n;this._length=n==null?0:n.length}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){this._s=null;this._pos=0;this._length=0;System.IO.TextReader.prototype.Dispose$1.call(this,n)},Peek:function(){return(this._s==null&&System.IO.__Error.ReaderClosed(),this._pos===this._length)?-1:this._s.charCodeAt(this._pos)},Read:function(){return(this._s==null&&System.IO.__Error.ReaderClosed(),this._pos===this._length)?-1:this._s.charCodeAt(Bridge.identity(this._pos,this._pos=this._pos+1|0))},Read$1:function(n,t,i){if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t|0)0&&(r>i&&(r=i),System.String.copyTo(this._s,this._pos,n,t,r),this._pos=this._pos+r|0),r},ReadToEnd:function(){this._s==null&&System.IO.__Error.ReaderClosed();var n;return n=this._pos===0?this._s:this._s.substr(this._pos,this._length-this._pos|0),this._pos=this._length,n},ReadLine:function(){var n,t,i,r;for(this._s==null&&System.IO.__Error.ReaderClosed(),n=this._pos;nthis._pos?(r=this._s.substr(this._pos,n-this._pos|0),this._pos=n,r):null}}});Bridge.define("System.IO.StringWriter",{inherits:[System.IO.TextWriter],statics:{fields:{m_encoding:null}},fields:{_sb:null,_isOpen:!1},props:{Encoding:{get:function(){return System.IO.StringWriter.m_encoding==null&&(System.IO.StringWriter.m_encoding=new System.Text.UnicodeEncoding.$ctor1(!1,!1)),System.IO.StringWriter.m_encoding}}},ctors:{ctor:function(){System.IO.StringWriter.$ctor3.call(this,new System.Text.StringBuilder,System.Globalization.CultureInfo.getCurrentCulture())},$ctor1:function(n){System.IO.StringWriter.$ctor3.call(this,new System.Text.StringBuilder,n)},$ctor2:function(n){System.IO.StringWriter.$ctor3.call(this,n,System.Globalization.CultureInfo.getCurrentCulture())},$ctor3:function(n,t){if(this.$initialize(),System.IO.TextWriter.$ctor1.call(this,t),n==null)throw new System.ArgumentNullException.$ctor1("sb");this._sb=n;this._isOpen=!0}},methods:{Close:function(){this.Dispose$1(!0)},Dispose$1:function(n){this._isOpen=!1;System.IO.TextWriter.prototype.Dispose$1.call(this,n)},GetStringBuilder:function(){return this._sb},Write$1:function(n){this._isOpen||System.IO.__Error.WriterClosed();this._sb.append(String.fromCharCode(n))},Write$3:function(n,t,i){if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor1("index");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor1("count");if((n.length-t|0)0&&i.charCodeAt(i.length-1|0)===42?(i=i.substr(0,i.length-1|0),System.String.startsWith(Bridge.Reflection.getTypeName(n),i,4)):System.String.equals(Bridge.Reflection.getTypeName(n),i)},FilterTypeNameIgnoreCaseImpl:function(n,t){var r,i,u;if(t==null||!Bridge.is(t,System.String))throw new System.Reflection.InvalidFilterCriteriaException.$ctor1("A String must be provided for the filter criteria.");return(i=Bridge.cast(t,System.String),i.length>0&&i.charCodeAt(i.length-1|0)===42)?(i=i.substr(0,i.length-1|0),u=Bridge.Reflection.getTypeName(n),u.length>=i.length?(r=i.length,System.String.compare(u.substr(0,r),i.substr(0,r),5))===0:!1):System.String.compare(i,Bridge.Reflection.getTypeName(n),5)===0},op_Equality:function(n,t){return Bridge.referenceEquals(n,t)?!0:n==null||t==null?!1:n.equals(t)},op_Inequality:function(n,t){return!System.Reflection.Module.op_Equality(n,t)}}},props:{Assembly:{get:function(){throw System.NotImplemented.ByDesign;}},FullyQualifiedName:{get:function(){throw System.NotImplemented.ByDesign;}},Name:{get:function(){throw System.NotImplemented.ByDesign;}},MDStreamVersion:{get:function(){throw System.NotImplemented.ByDesign;}},ModuleVersionId:{get:function(){throw System.NotImplemented.ByDesign;}},ScopeName:{get:function(){throw System.NotImplemented.ByDesign;}},MetadataToken:{get:function(){throw System.NotImplemented.ByDesign;}}},alias:["IsDefined","System$Reflection$ICustomAttributeProvider$IsDefined","GetCustomAttributes","System$Reflection$ICustomAttributeProvider$GetCustomAttributes","GetCustomAttributes$1","System$Reflection$ICustomAttributeProvider$GetCustomAttributes$1"],ctors:{ctor:function(){this.$initialize()}},methods:{IsResource:function(){throw System.NotImplemented.ByDesign;},IsDefined:function(){throw System.NotImplemented.ByDesign;},GetCustomAttributes:function(){throw System.NotImplemented.ByDesign;},GetCustomAttributes$1:function(){throw System.NotImplemented.ByDesign;},GetMethod:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("name");return this.GetMethodImpl(n,System.Reflection.Module.DefaultLookup,null,3,null,null)},GetMethod$2:function(n,t){return this.GetMethod$1(n,System.Reflection.Module.DefaultLookup,null,3,t,null)},GetMethod$1:function(n,t,i,r,u,f){if(n==null)throw new System.ArgumentNullException.$ctor1("name");if(u==null)throw new System.ArgumentNullException.$ctor1("types");for(var e=0;e=56&&(t=1),(i=i+1|0)>=56&&(i=1),n=this.SeedArray[System.Array.index(t,this.SeedArray)]-this.SeedArray[System.Array.index(i,this.SeedArray)]|0,n===System.Random.MBIG&&(n=n-1|0),n<0&&(n=n+System.Random.MBIG|0),this.SeedArray[System.Array.index(t,this.SeedArray)]=n,this.inext=t,this.inextp=i,n},Next:function(){return this.InternalSample()},Next$2:function(n,t){if(n>t)throw new System.ArgumentOutOfRangeException.$ctor4("minValue","'minValue' cannot be greater than maxValue.");var i=System.Int64(t).sub(System.Int64(n));return i.lte(System.Int64(2147483647))?Bridge.Int.clip32(this.Sample()*System.Int64.toNumber(i))+n|0:System.Int64.clip32(Bridge.Int.clip64(this.GetSampleForLargeRange()*System.Int64.toNumber(i)).add(System.Int64(n)))},Next$1:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor4("maxValue","'maxValue' must be greater than zero.");return Bridge.Int.clip32(this.Sample()*n)},GetSampleForLargeRange:function(){var n=this.InternalSample(),i=this.InternalSample()%2==0?!0:!1,t;return i&&(n=-n|0),t=n,t+=2147483646,t/4294967293},NextDouble:function(){return this.Sample()},NextBytes:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("buffer");for(var t=0;t0?this.innerExceptions.getItem(0):null)},handle:function(n){var r,i,t;if(!Bridge.hasValue(n))throw new System.ArgumentNullException.$ctor1("predicate");for(r=this.innerExceptions.Count,i=[],t=0;t0)throw new System.AggregateException(this.Message,i);},getBaseException:function(){for(var n=this,t=this;t!=null&&t.innerExceptions.Count===1;)n=n.InnerException,t=Bridge.as(n,System.AggregateException);return n},flatten:function(){var e=new(System.Collections.Generic.List$1(System.Exception)),n=new(System.Collections.Generic.List$1(System.AggregateException)),r,u,o,t,i,f;for(n.add(this),r=0;n.Count>r;)for(u=n.getItem(r++).innerExceptions,o=u.Count,t=0;t",System.ThrowHelper.GetResourceString(System.ExceptionResource.MemoryDisposed));},ThrowAggregateException:function(n){throw new System.AggregateException(null,n);},ThrowOutOfMemoryException:function(){throw new System.OutOfMemoryException.ctor;},ThrowArgumentException_Argument_InvalidArrayType:function(){throw System.ThrowHelper.GetArgumentException(System.ExceptionResource.Argument_InvalidArrayType);},ThrowInvalidOperationException_InvalidOperation_EnumNotStarted:function(){throw System.ThrowHelper.GetInvalidOperationException(System.ExceptionResource.InvalidOperation_EnumNotStarted);},ThrowInvalidOperationException_InvalidOperation_EnumEnded:function(){throw System.ThrowHelper.GetInvalidOperationException(System.ExceptionResource.InvalidOperation_EnumEnded);},ThrowInvalidOperationException_EnumCurrent:function(n){throw System.ThrowHelper.GetInvalidOperationException_EnumCurrent(n);},ThrowInvalidOperationException_InvalidOperation_EnumFailedVersion:function(){throw System.ThrowHelper.GetInvalidOperationException(System.ExceptionResource.InvalidOperation_EnumFailedVersion);},ThrowInvalidOperationException_InvalidOperation_EnumOpCantHappen:function(){throw System.ThrowHelper.GetInvalidOperationException(System.ExceptionResource.InvalidOperation_EnumOpCantHappen);},ThrowInvalidOperationException_InvalidOperation_NoValue:function(){throw System.ThrowHelper.GetInvalidOperationException(System.ExceptionResource.InvalidOperation_NoValue);},ThrowArraySegmentCtorValidationFailedExceptions:function(n,t,i){throw System.ThrowHelper.GetArraySegmentCtorValidationFailedException(n,t,i);},GetArraySegmentCtorValidationFailedException:function(n,t,i){return n==null?System.ThrowHelper.GetArgumentNullException(System.ExceptionArgument.array):t<0?System.ThrowHelper.GetArgumentOutOfRangeException(System.ExceptionArgument.offset,System.ExceptionResource.ArgumentOutOfRange_NeedNonNegNum):i<0?System.ThrowHelper.GetArgumentOutOfRangeException(System.ExceptionArgument.count,System.ExceptionResource.ArgumentOutOfRange_NeedNonNegNum):System.ThrowHelper.GetArgumentException(System.ExceptionResource.Argument_InvalidOffLen)},GetArgumentException:function(n){return new System.ArgumentException.$ctor1(System.ThrowHelper.GetResourceString(n))},GetArgumentException$1:function(n,t){return new System.ArgumentException.$ctor3(System.ThrowHelper.GetResourceString(n),System.ThrowHelper.GetArgumentName(t))},GetInvalidOperationException:function(n){return new System.InvalidOperationException.$ctor1(System.ThrowHelper.GetResourceString(n))},GetWrongKeyTypeArgumentException:function(n,t){return new System.ArgumentException.$ctor3(System.SR.Format$1('The value "{0}" is not of type "{1}" and cannot be used in this generic collection.',n,t),"key")},GetWrongValueTypeArgumentException:function(n,t){return new System.ArgumentException.$ctor3(System.SR.Format$1('The value "{0}" is not of type "{1}" and cannot be used in this generic collection.',n,t),"value")},GetKeyNotFoundException:function(n){return new System.Collections.Generic.KeyNotFoundException.$ctor1(System.SR.Format("The given key '{0}' was not present in the dictionary.",Bridge.toString(n)))},GetArgumentOutOfRangeException:function(n,t){return new System.ArgumentOutOfRangeException.$ctor4(System.ThrowHelper.GetArgumentName(n),System.ThrowHelper.GetResourceString(t))},GetArgumentOutOfRangeException$1:function(n,t,i){return new System.ArgumentOutOfRangeException.$ctor4((System.ThrowHelper.GetArgumentName(n)||"")+"["+(Bridge.toString(t)||"")+"]",System.ThrowHelper.GetResourceString(i))},GetInvalidOperationException_EnumCurrent:function(n){return System.ThrowHelper.GetInvalidOperationException(n<0?System.ExceptionResource.InvalidOperation_EnumNotStarted:System.ExceptionResource.InvalidOperation_EnumEnded)},IfNullAndNullsAreIllegalThenThrow:function(n,t,i){Bridge.getDefaultValue(n)==null||t!=null||System.ThrowHelper.ThrowArgumentNullException(i)},GetArgumentName:function(n){return System.Enum.toString(System.ExceptionArgument,n)},GetResourceString:function(n){return System.SR.GetResourceString(System.Enum.toString(System.ExceptionResource,n))},ThrowNotSupportedExceptionIfNonNumericType:function(n){if(!Bridge.referenceEquals(n,System.Byte)&&!Bridge.referenceEquals(n,System.SByte)&&!Bridge.referenceEquals(n,System.Int16)&&!Bridge.referenceEquals(n,System.UInt16)&&!Bridge.referenceEquals(n,System.Int32)&&!Bridge.referenceEquals(n,System.UInt32)&&!Bridge.referenceEquals(n,System.Int64)&&!Bridge.referenceEquals(n,System.UInt64)&&!Bridge.referenceEquals(n,System.Single)&&!Bridge.referenceEquals(n,System.Double))throw new System.NotSupportedException.$ctor1("Specified type is not supported");}}}});Bridge.define("System.TimeoutException",{inherits:[System.SystemException],ctors:{ctor:function(){this.$initialize();System.SystemException.$ctor1.call(this,"The operation has timed out.");this.HResult=-2146233083},$ctor1:function(n){this.$initialize();System.SystemException.$ctor1.call(this,n);this.HResult=-2146233083},$ctor2:function(n,t){this.$initialize();System.SystemException.$ctor2.call(this,n,t);this.HResult=-2146233083}}});Bridge.define("System.RegexMatchTimeoutException",{inherits:[System.TimeoutException],_regexInput:"",_regexPattern:"",_matchTimeout:null,config:{init:function(){this._matchTimeout=System.TimeSpan.fromTicks(-1)}},ctor:function(n,t,i){this.$initialize();arguments.length==3&&(this._regexInput=n,this._regexPattern=t,this._matchTimeout=i,n="The RegEx engine has timed out while trying to match a pattern to an input string. This can occur for many reasons, including very large inputs or excessive backtracking caused by nested quantifiers, back-references and other factors.",t=null);System.TimeoutException.ctor.call(this,n,t)},getPattern:function(){return this._regexPattern},getInput:function(){return this._regexInput},getMatchTimeout:function(){return this._matchTimeout}});Bridge.define("System.Text.Encoding",{statics:{fields:{_encodings:null},props:{Default:null,Unicode:null,ASCII:null,BigEndianUnicode:null,UTF7:null,UTF8:null,UTF32:null},ctors:{init:function(){this.Default=new System.Text.UnicodeEncoding.$ctor1(!1,!0);this.Unicode=new System.Text.UnicodeEncoding.$ctor1(!1,!0);this.ASCII=new System.Text.ASCIIEncoding;this.BigEndianUnicode=new System.Text.UnicodeEncoding.$ctor1(!0,!0);this.UTF7=new System.Text.UTF7Encoding.ctor;this.UTF8=new System.Text.UTF8Encoding.ctor;this.UTF32=new System.Text.UTF32Encoding.$ctor1(!1,!0)}},methods:{Convert:function(n,t,i){return System.Text.Encoding.Convert$1(n,t,i,0,i.length)},Convert$1:function(n,t,i,r,u){if(n==null||t==null)throw new System.ArgumentNullException.$ctor1(n==null?"srcEncoding":"dstEncoding");if(i==null)throw new System.ArgumentNullException.$ctor1("bytes");return t.GetBytes(n.GetChars$1(i,r,u))},GetEncoding:function(n){switch(n){case 1200:return System.Text.Encoding.Unicode;case 20127:return System.Text.Encoding.ASCII;case 1201:return System.Text.Encoding.BigEndianUnicode;case 65e3:return System.Text.Encoding.UTF7;case 65001:return System.Text.Encoding.UTF8;case 12e3:return System.Text.Encoding.UTF32}throw new System.NotSupportedException.ctor;},GetEncoding$1:function(n){switch(n){case"utf-16":return System.Text.Encoding.Unicode;case"us-ascii":return System.Text.Encoding.ASCII;case"utf-16BE":return System.Text.Encoding.BigEndianUnicode;case"utf-7":return System.Text.Encoding.UTF7;case"utf-8":return System.Text.Encoding.UTF8;case"utf-32":return System.Text.Encoding.UTF32}throw new System.NotSupportedException.ctor;},GetEncodings:function(){if(System.Text.Encoding._encodings!=null)return System.Text.Encoding._encodings;System.Text.Encoding._encodings=System.Array.init(6,null,System.Text.EncodingInfo);var n=System.Text.Encoding._encodings;return n[System.Array.index(0,n)]=new System.Text.EncodingInfo(20127,"us-ascii","US-ASCII"),n[System.Array.index(1,n)]=new System.Text.EncodingInfo(1200,"utf-16","Unicode"),n[System.Array.index(2,n)]=new System.Text.EncodingInfo(1201,"utf-16BE","Unicode (Big-Endian)"),n[System.Array.index(3,n)]=new System.Text.EncodingInfo(65e3,"utf-7","Unicode (UTF-7)"),n[System.Array.index(4,n)]=new System.Text.EncodingInfo(65001,"utf-8","Unicode (UTF-8)"),n[System.Array.index(5,n)]=new System.Text.EncodingInfo(1200,"utf-32","Unicode (UTF-32)"),n}}},fields:{_hasError:!1,fallbackCharacter:0},props:{CodePage:{get:function(){return 0}},EncodingName:{get:function(){return null}}},ctors:{init:function(){this.fallbackCharacter=63}},methods:{Encode$1:function(n,t,i){return this.Encode$3(System.String.fromCharArray(n,t,i),null,0,{})},Encode$5:function(n,t,i,r,u){var f={};return this.Encode$3(n.substr(t,i),r,u,f),f.v},Encode$4:function(n,t,i,r,u){var f={};return this.Encode$3(System.String.fromCharArray(n,t,i),r,u,f),f.v},Encode:function(n){return this.Encode$3(System.String.fromCharArray(n),null,0,{})},Encode$2:function(n){return this.Encode$3(n,null,0,{})},Decode$1:function(n,t,i){return this.Decode$2(n,t,i,null,0)},Decode:function(n){return this.Decode$2(n,0,n.length,null,0)},GetByteCount:function(n){return this.GetByteCount$1(n,0,n.length)},GetByteCount$2:function(n){return this.Encode$2(n).length},GetByteCount$1:function(n,t,i){return this.Encode$1(n,t,i).length},GetBytes:function(n){return this.GetBytes$1(n,0,n.length)},GetBytes$1:function(n,t,i){return this.Encode$2(System.String.fromCharArray(n,t,i))},GetBytes$3:function(n,t,i,r,u){return this.Encode$4(n,t,i,r,u)},GetBytes$2:function(n){return this.Encode$2(n)},GetBytes$4:function(n,t,i,r,u){return this.Encode$5(n,t,i,r,u)},GetCharCount:function(n){return this.Decode(n).length},GetCharCount$1:function(n,t,i){return this.Decode$1(n,t,i).length},GetChars:function(n){var t;return t=this.Decode(n),System.String.toCharArray(t,0,t.length)},GetChars$1:function(n,t,i){var r;return r=this.Decode$1(n,t,i),System.String.toCharArray(r,0,r.length)},GetChars$2:function(n,t,i,r,u){var o=this.Decode$1(n,t,i),e=System.String.toCharArray(o,0,o.length),f;if(r.length<(e.length+u|0))throw new System.ArgumentException.$ctor3(null,"chars");for(f=0;f=t.length)throw new System.ArgumentException.$ctor1("bytes");t[System.Array.index(u+i|0,t)]=s}else t.push(s);f=f+1|0}return(r.v=f,e)?null:t},Decode$2:function(n,t,i){for(var r=t,u="",e=r+i|0,f;r127?(u||"")+String.fromCharCode(this.fallbackCharacter):(u||"")+(String.fromCharCode(f)||"");return u},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("charCount");var t=System.Int64(n).add(System.Int64(1));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException.$ctor1("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");var t=System.Int64(n);if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");return System.Int64.clip32(t)}}});Bridge.define("System.Text.EncodingInfo",{props:{CodePage:0,Name:null,DisplayName:null},ctors:{ctor:function(n,t,i){var r;this.$initialize();this.CodePage=n;this.Name=t;this.DisplayName=(r=i,r!=null?r:t)}},methods:{GetEncoding:function(){return System.Text.Encoding.GetEncoding(this.CodePage)},getHashCode:function(){return this.CodePage},equals:function(n){var t=Bridge.as(n,System.Text.EncodingInfo);return System.Nullable.eq(this.CodePage,t!=null?t.CodePage:null)}}});Bridge.define("System.Text.UnicodeEncoding",{inherits:[System.Text.Encoding],fields:{bigEndian:!1,byteOrderMark:!1,throwOnInvalid:!1},props:{CodePage:{get:function(){return this.bigEndian?1201:1200}},EncodingName:{get:function(){return this.bigEndian?"Unicode (Big-Endian)":"Unicode"}}},ctors:{ctor:function(){System.Text.UnicodeEncoding.$ctor1.call(this,!1,!0)},$ctor1:function(n,t){System.Text.UnicodeEncoding.$ctor2.call(this,n,t,!1)},$ctor2:function(n,t,i){this.$initialize();System.Text.Encoding.ctor.call(this);this.bigEndian=n;this.byteOrderMark=t;this.throwOnInvalid=i;this.fallbackCharacter=65533}},methods:{Encode$3:function(n,t,i,r){var y=t!=null,p=0,f=0,a=this.fallbackCharacter,w=function(n){if(y){if(i>=t.length)throw new System.ArgumentException.$ctor1("bytes");t[System.Array.index(Bridge.identity(i,i=i+1|0),t)]=n}else t.push(n);p=p+1|0},o=function(n,t){w(n);w(t)},s=e.$.System.Text.UnicodeEncoding.f1,v=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF16 text");o(a&255,a>>8&255)}),h,u,c,l;for(y||(t=System.Array.init(0,0,System.Byte)),this.bigEndian&&(a=s(a)),h=0;h=56320&&u<=57343){this.bigEndian&&(f=s(f),u=s(u));o(f&255,f>>8&255);o(u&255,u>>8&255);f=0;continue}v();f=0}if(55296<=u&&u<=56319){f=u;continue}else if(56320<=u&&u<=57343){v();f=0;continue}u<65536?(this.bigEndian&&(u=s(u)),o(u&255,u>>8&255)):u<=1114111?(u=u-65536,c=(u&1023|56320)&65535,l=(u>>10&1023|55296)&65535,this.bigEndian&&(l=s(l),c=s(c)),o(l&255,l>>8&255),o(c&255,c>>8&255)):v()}return(f!==0&&v(),r.v=p,y)?null:t},Decode$2:function(n,t,i){var r=t,f="",h=r+i|0,u,l,s;this._hasError=!1;for(var o=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF16 text");f=(f||"")+String.fromCharCode(this.fallbackCharacter)}),a=e.$.System.Text.UnicodeEncoding.f2,c=Bridge.fn.bind(this,function(){if((r+2|0)>h)return r=r+2|0,null;var i=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],u=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],t=(i<<8|u)&65535;return this.bigEndian||(t=a(t)),t});r=h,s=c(),l)o(),this._hasError=!0;else if(System.Nullable.hasValue(s))if(System.Nullable.gte(s,56320)&&System.Nullable.lte(s,57343)){var v=System.Nullable.band(u,1023),y=System.Nullable.band(s,1023),p=Bridge.Int.clip32(System.Nullable.add(System.Nullable.bor(System.Nullable.sl(v,10),y),65536));f=(f||"")+(System.String.fromCharCode(System.Nullable.getValue(p))||"")}else o(),r=r-2|0;else o(),o();else o();else o(),this._hasError=!0;return f},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("charCount");var t=System.Int64(n).add(System.Int64(1));if(t=t.shl(1),t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException.$ctor1("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");var t=System.Int64(n>>1).add(System.Int64(n&1)).add(System.Int64(1));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");return System.Int64.clip32(t)}}});Bridge.ns("System.Text.UnicodeEncoding",e.$);Bridge.apply(e.$.System.Text.UnicodeEncoding,{f1:function(n){return((n&255)<<8|n>>8&255)&65535},f2:function(n){return((n&255)<<8|n>>8&255)&65535}});Bridge.define("System.Text.UTF32Encoding",{inherits:[System.Text.Encoding],fields:{bigEndian:!1,byteOrderMark:!1,throwOnInvalid:!1},props:{CodePage:{get:function(){return this.bigEndian?1201:1200}},EncodingName:{get:function(){return this.bigEndian?"Unicode (UTF-32 Big-Endian)":"Unicode (UTF-32)"}}},ctors:{ctor:function(){System.Text.UTF32Encoding.$ctor2.call(this,!1,!0,!1)},$ctor1:function(n,t){System.Text.UTF32Encoding.$ctor2.call(this,n,t,!1)},$ctor2:function(n,t,i){this.$initialize();System.Text.Encoding.ctor.call(this);this.bigEndian=n;this.byteOrderMark=t;this.throwOnInvalid=i;this.fallbackCharacter=65533}},methods:{ToCodePoints:function(n){for(var t,e,o,r=0,u=System.Array.init(0,0,System.Char),f=Bridge.fn.bind(this,function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF32 text");u.push(this.fallbackCharacter)}),i=0;i=56320&&t<=57343?(e=t,o=(Bridge.Int.mul(r-55296|0,1024)+65536|0)+(e-56320|0)|0,u.push(o)):(f(),i=i-1|0),r=0):t>=55296&&t<=56319?r=t:t>=56320&&t<=57343?f():u.push(t);return r!==0&&f(),u},Encode$3:function(n,t,i,r){var o=t!=null,s=0,f=function(n){if(o){if(i>=t.length)throw new System.ArgumentException.$ctor1("bytes");t[System.Array.index(Bridge.identity(i,i=i+1|0),t)]=n}else t.push(n);s=s+1|0},h=Bridge.fn.bind(this,function(n){var t=System.Array.init(4,0,System.Byte);t[System.Array.index(0,t)]=(n&255)>>>0;t[System.Array.index(1,t)]=(n&65280)>>>0>>>8;t[System.Array.index(2,t)]=(n&16711680)>>>0>>>16;t[System.Array.index(3,t)]=(n&4278190080)>>>0>>>24;this.bigEndian&&t.reverse();f(t[System.Array.index(0,t)]);f(t[System.Array.index(1,t)]);f(t[System.Array.index(2,t)]);f(t[System.Array.index(3,t)])}),e,u;for(o||(t=System.Array.init(0,0,System.Byte)),e=this.ToCodePoints(n),u=0;uo)return r=r+4|0,null;var i=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],u=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],f=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)],e=n[System.Array.index(Bridge.identity(r,r=r+1|0),n)];return this.bigEndian&&(t=u,u=f,f=t,t=i,i=e,e=t),e<<24|f<<16|u<<8|i});r2147483647)throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");return t}}});Bridge.define("System.Text.UTF7Encoding",{inherits:[System.Text.Encoding],statics:{methods:{Escape:function(n){return n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}}},fields:{allowOptionals:!1},props:{CodePage:{get:function(){return 65e3}},EncodingName:{get:function(){return"Unicode (UTF-7)"}}},ctors:{ctor:function(){System.Text.UTF7Encoding.$ctor1.call(this,!1)},$ctor1:function(n){this.$initialize();System.Text.Encoding.ctor.call(this);this.allowOptionals=n;this.fallbackCharacter=65533}},methods:{Encode$3:function(n,t,i,r){var s="A-Za-z0-9"+(System.Text.UTF7Encoding.Escape("'(),-./:?")||""),h=e.$.System.Text.UTF7Encoding.f1,c=System.Text.UTF7Encoding.Escape('!"#$%&*;<=>@[]^_`{|}'),l=System.Text.UTF7Encoding.Escape(" \r\n\t"),u,o,f;if(n=n.replace(new RegExp("[^"+l+s+(this.allowOptionals?c:"")+"]+","g"),function(n){return"+"+(n==="+"?"":h(n))+"-"}),u=System.String.toCharArray(n,0,n.length),t!=null){if(o=0,u.length>(t.length-i|0))throw new System.ArgumentException.$ctor1("bytes");for(f=0;f>8,i[System.Array.index(Bridge.identity(t,t=t+1|0),i)]=u&255;return f=System.Convert.toBase64String(i,null,null,null),f.replace(/=+$/,"")},f2:function(n){var t;try{if(typeof window=="undefined")throw new System.Exception;var i=window.atob(n),r=i.length,u=System.Array.init(r,0,System.Char);if(r===1&&i.charCodeAt(0)===0)return System.Array.init(0,0,System.Char);for(t=0;t=t.length)throw new System.ArgumentException.$ctor1("bytes");t[System.Array.index(Bridge.identity(i,i=i+1|0),t)]=u}else t.push(u);c=c+1|0}},a=Bridge.fn.bind(this,e.$.System.Text.UTF8Encoding.f1),f,u,l,o;for(h||(t=System.Array.init(0,0,System.Byte)),f=0;f=55296&&u<=56319?(l=n.charCodeAt(f+1|0),l>=56320&&l<=57343||(u=a())):u>=56320&&u<=57343&&(u=a()),u<128?s(System.Array.init([u],System.Byte)):u<2048?s(System.Array.init([192|u>>6,128|u&63],System.Byte)):u<55296||u>=57344?s(System.Array.init([224|u>>12,128|u>>6&63,128|u&63],System.Byte)):(f=f+1|0,o=65536+((u&1023)<<10|n.charCodeAt(f)&1023)|0,s(System.Array.init([240|o>>18,128|o>>12&63,128|o>>6&63,128|o&63],System.Byte)));return(r.v=c,h)?null:t},Decode$2:function(n,t,i){var l,a;this._hasError=!1;for(var f=t,e="",h=0,c=!1,v=f+i|0;f0;){if(f=f+1|0,f>=v){o=!0;break}if(l=n[System.Array.index(f,n)],s=s-1|0,(l&192)!=128){f=f-1|0;o=!0;break}r=r<<6|l&63}if(a=null,c=!1,o||(h>0&&!(r>=56320&&r<=57343)?(o=!0,h=0):r>=55296&&r<=56319?h=r&65535:r>=56320&&r<=57343?(o=!0,c=!0,h=0):(a=System.String.fromCharCode(r),h=0)),o){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF8 text");e=(e||"")+String.fromCharCode(this.fallbackCharacter);this._hasError=!0}else h===0&&(e=(e||"")+(a||""))}if(h>0||c){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF8 text");e=e.length>0&&e.charCodeAt(e.length-1|0)===this.fallbackCharacter?(e||"")+String.fromCharCode(this.fallbackCharacter):(e||"")+(this.fallbackCharacter+this.fallbackCharacter|0);this._hasError=!0}return e},GetMaxByteCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("charCount");var t=System.Int64(n).add(System.Int64(1));if(t=t.mul(System.Int64(3)),t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException.$ctor1("charCount");return System.Int64.clip32(t)},GetMaxCharCount:function(n){if(n<0)throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");var t=System.Int64(n).add(System.Int64(1));if(t.gt(System.Int64(2147483647)))throw new System.ArgumentOutOfRangeException.$ctor1("byteCount");return System.Int64.clip32(t)}}});Bridge.ns("System.Text.UTF8Encoding",e.$);Bridge.apply(e.$.System.Text.UTF8Encoding,{f1:function(){if(this.throwOnInvalid)throw new System.Exception("Invalid character in UTF8 text");return this.fallbackCharacter}});Bridge.define("System.Threading.Timer",{inherits:[System.IDisposable],statics:{fields:{MAX_SUPPORTED_TIMEOUT:0,EXC_LESS:null,EXC_MORE:null,EXC_DISPOSED:null},ctors:{init:function(){this.MAX_SUPPORTED_TIMEOUT=4294967294;this.EXC_LESS="Number must be either non-negative and less than or equal to Int32.MaxValue or -1.";this.EXC_MORE="Time-out interval must be less than 2^32-2.";this.EXC_DISPOSED="The timer has been already disposed."}}},fields:{dueTime:System.Int64(0),period:System.Int64(0),timerCallback:null,state:null,id:null,disposed:!1},alias:["Dispose","System$IDisposable$Dispose"],ctors:{$ctor1:function(n,t,i,r){this.$initialize();this.TimerSetup(n,t,System.Int64(i),System.Int64(r))},$ctor3:function(n,t,i,r){this.$initialize();var u=Bridge.Int.clip64(i.getTotalMilliseconds()),f=Bridge.Int.clip64(r.getTotalMilliseconds());this.TimerSetup(n,t,u,f)},$ctor4:function(n,t,i,r){this.$initialize();this.TimerSetup(n,t,System.Int64(i),System.Int64(r))},$ctor2:function(n,t,i,r){this.$initialize();this.TimerSetup(n,t,i,r)},ctor:function(n){this.$initialize();this.TimerSetup(n,this,System.Int64(-1),System.Int64(-1))}},methods:{TimerSetup:function(n,t,i,r){if(this.disposed)throw new System.InvalidOperationException.$ctor1(System.Threading.Timer.EXC_DISPOSED);if(Bridge.staticEquals(n,null))throw new System.ArgumentNullException.$ctor1("TimerCallback");if(i.lt(System.Int64(-1)))throw new System.ArgumentOutOfRangeException.$ctor4("dueTime",System.Threading.Timer.EXC_LESS);if(r.lt(System.Int64(-1)))throw new System.ArgumentOutOfRangeException.$ctor4("period",System.Threading.Timer.EXC_LESS);if(i.gt(System.Int64(System.Threading.Timer.MAX_SUPPORTED_TIMEOUT)))throw new System.ArgumentOutOfRangeException.$ctor4("dueTime",System.Threading.Timer.EXC_MORE);if(r.gt(System.Int64(System.Threading.Timer.MAX_SUPPORTED_TIMEOUT)))throw new System.ArgumentOutOfRangeException.$ctor4("period",System.Threading.Timer.EXC_MORE);return this.dueTime=i,this.period=r,this.state=t,this.timerCallback=n,this.RunTimer(this.dueTime)},HandleCallback:function(){if(!this.disposed&&!Bridge.staticEquals(this.timerCallback,null)){var n=this.id;this.timerCallback(this.state);System.Nullable.eq(this.id,n)&&this.RunTimer(this.period,!1)}},RunTimer:function(n,t){if(t===void 0&&(t=!0),t&&this.disposed)throw new System.InvalidOperationException.$ctor1(System.Threading.Timer.EXC_DISPOSED);if(n.ne(System.Int64(-1))&&!this.disposed){var i=n.toNumber();return this.id=Bridge.global.setTimeout(Bridge.fn.cacheBind(this,this.HandleCallback),i),!0}return!1},Change:function(n,t){return this.ChangeTimer(System.Int64(n),System.Int64(t))},Change$2:function(n,t){return this.ChangeTimer(Bridge.Int.clip64(n.getTotalMilliseconds()),Bridge.Int.clip64(t.getTotalMilliseconds()))},Change$3:function(n,t){return this.ChangeTimer(System.Int64(n),System.Int64(t))},Change$1:function(n,t){return this.ChangeTimer(n,t)},ChangeTimer:function(n,t){return this.ClearTimeout(),this.TimerSetup(this.timerCallback,this.state,n,t)},ClearTimeout:function(){System.Nullable.hasValue(this.id)&&(Bridge.global.clearTimeout(System.Nullable.getValue(this.id)),this.id=null)},Dispose:function(){this.ClearTimeout();this.disposed=!0}}});Bridge.define("System.Threading.Tasks.TaskCanceledException",{inherits:[System.OperationCanceledException],fields:{_canceledTask:null},props:{Task:{get:function(){return this._canceledTask}}},ctors:{ctor:function(){this.$initialize();System.OperationCanceledException.$ctor1.call(this,"A task was canceled.")},$ctor1:function(n){this.$initialize();System.OperationCanceledException.$ctor1.call(this,n)},$ctor2:function(n,t){this.$initialize();System.OperationCanceledException.$ctor2.call(this,n,t)},$ctor3:function(n){this.$initialize();System.OperationCanceledException.$ctor4.call(this,"A task was canceled.",n!=null?new System.Threading.CancellationToken:new System.Threading.CancellationToken);this._canceledTask=n}}});Bridge.define("System.Threading.Tasks.TaskSchedulerException",{inherits:[System.Exception],ctors:{ctor:function(){this.$initialize();System.Exception.ctor.call(this,"An exception was thrown by a TaskScheduler.")},$ctor2:function(n){this.$initialize();System.Exception.ctor.call(this,n)},$ctor1:function(n){this.$initialize();System.Exception.ctor.call(this,"An exception was thrown by a TaskScheduler.",n)},$ctor3:function(n,t){this.$initialize();System.Exception.ctor.call(this,n,t)}}});Bridge.define("System.Version",{inherits:function(){return[System.ICloneable,System.IComparable$1(System.Version),System.IEquatable$1(System.Version)]},statics:{fields:{separatorsArray:0,ZERO_CHAR_VALUE:0},ctors:{init:function(){this.separatorsArray=46;this.ZERO_CHAR_VALUE=48}},methods:{appendPositiveNumber:function(n,t){var r=t.getLength(),i;do i=n%10,n=Bridge.Int.div(n,10)|0,t.insert(r,String.fromCharCode((System.Version.ZERO_CHAR_VALUE+i|0)&65535));while(n>0)},parse:function(n){if(n==null)throw new System.ArgumentNullException.$ctor1("input");var t={v:new System.Version.VersionResult};if(t.v.init("input",!0),!System.Version.tryParseVersion(n,t))throw t.v.getVersionParseException();return t.v.m_parsedVersion},tryParse:function(n,t){var i={v:new System.Version.VersionResult},r;return i.v.init("input",!1),r=System.Version.tryParseVersion(n,i),t.v=i.v.m_parsedVersion,r},tryParseVersion:function(n,t){var u={},f={},e={},o={},i,r;if(n==null)return t.v.setFailure(System.Version.ParseFailureKind.ArgumentNullException),!1;if(i=System.String.split(n,[System.Version.separatorsArray].map(function(n){return String.fromCharCode(n)})),r=i.length,r<2||r>4)return t.v.setFailure(System.Version.ParseFailureKind.ArgumentException),!1;if(!System.Version.tryParseComponent(i[System.Array.index(0,i)],"version",t,u)||!System.Version.tryParseComponent(i[System.Array.index(1,i)],"version",t,f))return!1;if(r=r-2|0,r>0){if(!System.Version.tryParseComponent(i[System.Array.index(2,i)],"build",t,e))return!1;if(r=r-1|0,r>0)if(System.Version.tryParseComponent(i[System.Array.index(3,i)],"revision",t,o))t.v.m_parsedVersion=new System.Version.$ctor3(u.v,f.v,e.v,o.v);else return!1;else t.v.m_parsedVersion=new System.Version.$ctor2(u.v,f.v,e.v)}else t.v.m_parsedVersion=new System.Version.$ctor1(u.v,f.v);return!0},tryParseComponent:function(n,t,i,r){return System.Int32.tryParse(n,r)?r.v<0?(i.v.setFailure$1(System.Version.ParseFailureKind.ArgumentOutOfRangeException,t),!1):!0:(i.v.setFailure$1(System.Version.ParseFailureKind.FormatException,n),!1)},op_Equality:function(n,t){return Bridge.referenceEquals(n,null)?Bridge.referenceEquals(t,null):n.equalsT(t)},op_Inequality:function(n,t){return!System.Version.op_Equality(n,t)},op_LessThan:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("v1");return n.compareTo(t)<0},op_LessThanOrEqual:function(n,t){if(n==null)throw new System.ArgumentNullException.$ctor1("v1");return n.compareTo(t)<=0},op_GreaterThan:function(n,t){return System.Version.op_LessThan(t,n)},op_GreaterThanOrEqual:function(n,t){return System.Version.op_LessThanOrEqual(t,n)}}},fields:{_Major:0,_Minor:0,_Build:0,_Revision:0},props:{Major:{get:function(){return this._Major}},Minor:{get:function(){return this._Minor}},Build:{get:function(){return this._Build}},Revision:{get:function(){return this._Revision}},MajorRevision:{get:function(){return Bridge.Int.sxs(this._Revision>>16&65535)}},MinorRevision:{get:function(){return Bridge.Int.sxs(this._Revision&65535)}}},alias:["clone","System$ICloneable$clone","compareTo",["System$IComparable$1$System$Version$compareTo","System$IComparable$1$compareTo"],"equalsT","System$IEquatable$1$System$Version$equalsT"],ctors:{init:function(){this._Build=-1;this._Revision=-1},$ctor3:function(n,t,i,r){if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException.$ctor4("major","Cannot be < 0");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("minor","Cannot be < 0");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("build","Cannot be < 0");if(r<0)throw new System.ArgumentOutOfRangeException.$ctor4("revision","Cannot be < 0");this._Major=n;this._Minor=t;this._Build=i;this._Revision=r},$ctor2:function(n,t,i){if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException.$ctor4("major","Cannot be < 0");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("minor","Cannot be < 0");if(i<0)throw new System.ArgumentOutOfRangeException.$ctor4("build","Cannot be < 0");this._Major=n;this._Minor=t;this._Build=i},$ctor1:function(n,t){if(this.$initialize(),n<0)throw new System.ArgumentOutOfRangeException.$ctor4("major","Cannot be < 0");if(t<0)throw new System.ArgumentOutOfRangeException.$ctor4("minor","Cannot be < 0");this._Major=n;this._Minor=t},$ctor4:function(n){this.$initialize();var t=System.Version.parse(n);this._Major=t.Major;this._Minor=t.Minor;this._Build=t.Build;this._Revision=t.Revision},ctor:function(){this.$initialize();this._Major=0;this._Minor=0}},methods:{clone:function(){var n=new System.Version.ctor;return n._Major=this._Major,n._Minor=this._Minor,n._Build=this._Build,n._Revision=this._Revision,n},compareTo$1:function(n){if(n==null)return 1;var t=Bridge.as(n,System.Version);if(System.Version.op_Equality(t,null))throw new System.ArgumentException.$ctor1("version should be of System.Version type");return this._Major!==t._Major?this._Major>t._Major?1:-1:this._Minor!==t._Minor?this._Minor>t._Minor?1:-1:this._Build!==t._Build?this._Build>t._Build?1:-1:this._Revision!==t._Revision?this._Revision>t._Revision?1:-1:0},compareTo:function(n){return System.Version.op_Equality(n,null)?1:this._Major!==n._Major?this._Major>n._Major?1:-1:this._Minor!==n._Minor?this._Minor>n._Minor?1:-1:this._Build!==n._Build?this._Build>n._Build?1:-1:this._Revision!==n._Revision?this._Revision>n._Revision?1:-1:0},equals:function(n){return this.equalsT(Bridge.as(n,System.Version))},equalsT:function(n){return System.Version.op_Equality(n,null)?!1:this._Major!==n._Major||this._Minor!==n._Minor||this._Build!==n._Build||this._Revision!==n._Revision?!1:!0},getHashCode:function(){var n=0;return n=n|(this._Major&15)<<28,n=n|(this._Minor&255)<<20,n=n|(this._Build&255)<<12,n|this._Revision&4095},toString:function(){return this._Build===-1?this.toString$1(2):this._Revision===-1?this.toString$1(3):this.toString$1(4)},toString$1:function(n){var t;switch(n){case 0:return"";case 1:return Bridge.toString(this._Major);case 2:return t=new System.Text.StringBuilder,System.Version.appendPositiveNumber(this._Major,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Minor,t),t.toString();default:if(this._Build===-1)throw new System.ArgumentException.$ctor3("Build should be > 0 if fieldCount > 2","fieldCount");if(n===3)return t=new System.Text.StringBuilder,System.Version.appendPositiveNumber(this._Major,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Minor,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Build,t),t.toString();if(this._Revision===-1)throw new System.ArgumentException.$ctor3("Revision should be > 0 if fieldCount > 3","fieldCount");if(n===4)return t=new System.Text.StringBuilder,System.Version.appendPositiveNumber(this._Major,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Minor,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Build,t),t.append(String.fromCharCode(46)),System.Version.appendPositiveNumber(this._Revision,t),t.toString();throw new System.ArgumentException.$ctor3("Should be < 5","fieldCount");}}}});Bridge.define("System.Version.ParseFailureKind",{$kind:"nested enum",statics:{fields:{ArgumentNullException:0,ArgumentException:1,ArgumentOutOfRangeException:2,FormatException:3}}});Bridge.define("System.Version.VersionResult",{$kind:"nested struct",statics:{methods:{getDefaultValue:function(){return new System.Version.VersionResult}}},fields:{m_parsedVersion:null,m_failure:0,m_exceptionArgument:null,m_argumentName:null,m_canThrow:!1},ctors:{ctor:function(){this.$initialize()}},methods:{init:function(n,t){this.m_canThrow=t;this.m_argumentName=n},setFailure:function(n){this.setFailure$1(n,"")},setFailure$1:function(n,t){if(this.m_failure=n,this.m_exceptionArgument=t,this.m_canThrow)throw this.getVersionParseException();},getVersionParseException:function(){switch(this.m_failure){case System.Version.ParseFailureKind.ArgumentNullException:return new System.ArgumentNullException.$ctor1(this.m_argumentName);case System.Version.ParseFailureKind.ArgumentException:return new System.ArgumentException.$ctor1("VersionString");case System.Version.ParseFailureKind.ArgumentOutOfRangeException:return new System.ArgumentOutOfRangeException.$ctor4(this.m_exceptionArgument,"Cannot be < 0");case System.Version.ParseFailureKind.FormatException:try{System.Int32.parse(this.m_exceptionArgument)}catch(n){n=System.Exception.create(n);var t;if(Bridge.is(n,System.FormatException)||Bridge.is(n,System.OverflowException))return t=n;throw n;}return new System.FormatException.$ctor1("InvalidString");default:return new System.ArgumentException.$ctor1("VersionString")}},getHashCode:function(){return Bridge.addHash([5139482776,this.m_parsedVersion,this.m_failure,this.m_exceptionArgument,this.m_argumentName,this.m_canThrow])},equals:function(n){return Bridge.is(n,System.Version.VersionResult)?Bridge.equals(this.m_parsedVersion,n.m_parsedVersion)&&Bridge.equals(this.m_failure,n.m_failure)&&Bridge.equals(this.m_exceptionArgument,n.m_exceptionArgument)&&Bridge.equals(this.m_argumentName,n.m_argumentName)&&Bridge.equals(this.m_canThrow,n.m_canThrow):!1},$clone:function(n){var t=n||new System.Version.VersionResult;return t.m_parsedVersion=this.m_parsedVersion,t.m_failure=this.m_failure,t.m_exceptionArgument=this.m_exceptionArgument,t.m_argumentName=this.m_argumentName,t.m_canThrow=this.m_canThrow,t}}});typeof define=="function"&&define.amd?define("bridge",[],function(){return Bridge}):typeof module!="undefined"&&module.exports&&(module.exports=Bridge)})(this); \ No newline at end of file diff --git a/kusto-language-server/server/package-lock.json b/kusto-language-server/server/package-lock.json index e1ff59a..b42f652 100644 --- a/kusto-language-server/server/package-lock.json +++ b/kusto-language-server/server/package-lock.json @@ -1,46 +1,66 @@ { "name": "kuskus-kusto-language-server-server", "version": "1.0.0", - "lockfileVersion": 1, + "lockfileVersion": 3, "requires": true, - "dependencies": { - "@azure/abort-controller": { + "packages": { + "": { + "name": "kuskus-kusto-language-server-server", + "version": "1.0.0", + "license": "Apache-2.0", + "dependencies": { + "@kusto/language-service-next": "^11.5.0", + "azure-kusto-data": "^5.2.3", + "vscode-languageserver": "^4.4.2" + }, + "devDependencies": { + "eslint": "^5.16.0", + "eslint-config-airbnb-base": "^13.2.0", + "eslint-plugin-import": "^2.18.2" + }, + "engines": { + "vscode": "^1.33.0" + } + }, + "node_modules/@azure/abort-controller": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@azure/abort-controller/-/abort-controller-1.1.0.tgz", "integrity": "sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==", - "requires": { + "dependencies": { "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=12.0.0" } }, - "@azure/core-auth": { + "node_modules/@azure/abort-controller/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/core-auth": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.5.0.tgz", "integrity": "sha512-udzoBuYG1VBoHVohDTrvKjyzel34zt77Bhp7dQntVGGD0ehVq48owENbBG8fIgkHRNUBQH5k1r0hpoMu5L8+kw==", - "requires": { + "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-util": "^1.1.0", "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=14.0.0" } }, - "@azure/core-client": { + "node_modules/@azure/core-auth/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/core-client": { "version": "1.7.3", "resolved": "https://registry.npmjs.org/@azure/core-client/-/core-client-1.7.3.tgz", "integrity": "sha512-kleJ1iUTxcO32Y06dH9Pfi9K4U+Tlb111WXEnbt7R/ne+NLRwppZiTGJuTD5VVoxTMK5NTbEtm5t2vcdNCFe2g==", - "requires": { + "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.4.0", "@azure/core-rest-pipeline": "^1.9.1", @@ -49,19 +69,20 @@ "@azure/logger": "^1.0.0", "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=14.0.0" } }, - "@azure/core-rest-pipeline": { + "node_modules/@azure/core-client/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/core-rest-pipeline": { "version": "1.12.2", "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.12.2.tgz", "integrity": "sha512-wLLJQdL4v1yoqYtEtjKNjf8pJ/G/BqVomAWxcKOR1KbZJyCEnCv04yks7Y1NhJ3JzxbDs307W67uX0JzklFdCg==", - "requires": { + "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.4.0", "@azure/core-tracing": "^1.0.1", @@ -72,50 +93,53 @@ "https-proxy-agent": "^5.0.0", "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=16.0.0" } }, - "@azure/core-tracing": { + "node_modules/@azure/core-rest-pipeline/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/core-tracing": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@azure/core-tracing/-/core-tracing-1.0.1.tgz", "integrity": "sha512-I5CGMoLtX+pI17ZdiFJZgxMJApsK6jjfm85hpgp3oazCdq5Wxgh4wMr7ge/TTWW1B5WBuvIOI1fMU/FrOAMKrw==", - "requires": { + "dependencies": { "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=12.0.0" } }, - "@azure/core-util": { + "node_modules/@azure/core-tracing/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/core-util": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.6.1.tgz", "integrity": "sha512-h5taHeySlsV9qxuK64KZxy4iln1BtMYlNt5jbuEFN3UFSAd1EwKg/Gjl5a6tZ/W8t6li3xPnutOx7zbDyXnPmQ==", - "requires": { + "dependencies": { "@azure/abort-controller": "^1.0.0", "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=16.0.0" } }, - "@azure/identity": { + "node_modules/@azure/core-util/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/identity": { "version": "3.4.1", "resolved": "https://registry.npmjs.org/@azure/identity/-/identity-3.4.1.tgz", "integrity": "sha512-oQ/r5MBdfZTMIUcY5Ch8G7Vv9aIXDkEYyU4Dfqjim4MQN+LY2uiQ57P1JDopMLeHCsZxM4yy8lEdne3tM9Xhzg==", - "requires": { + "dependencies": { "@azure/abort-controller": "^1.0.0", "@azure/core-auth": "^1.5.0", "@azure/core-client": "^1.4.0", @@ -131,212 +155,252 @@ "stoppable": "^1.1.0", "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=14.0.0" } }, - "@azure/logger": { + "node_modules/@azure/identity/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/logger": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/@azure/logger/-/logger-1.0.4.tgz", "integrity": "sha512-ustrPY8MryhloQj7OWGe+HrYx+aoiOxzbXTtgblbV3xwCqpzUK36phH3XNHQKj3EPonyFUuDTfR3qFhTEAuZEg==", - "requires": { + "dependencies": { "tslib": "^2.2.0" }, - "dependencies": { - "tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" - } + "engines": { + "node": ">=14.0.0" } }, - "@azure/msal-browser": { + "node_modules/@azure/logger/node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" + }, + "node_modules/@azure/msal-browser": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.5.0.tgz", "integrity": "sha512-2NtMuel4CI3UEelCPKkNRXgKzpWEX48fvxIvPz7s0/sTcCaI08r05IOkH2GkXW+czUOtuY6+oGafJCpumnjRLg==", - "requires": { + "dependencies": { "@azure/msal-common": "14.4.0" }, - "dependencies": { - "@azure/msal-common": { - "version": "14.4.0", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.4.0.tgz", - "integrity": "sha512-ffCymScQuMKVj+YVfwNI52A5Tu+uiZO2eTf+c+3TXxdAssks4nokJhtr+uOOMxH0zDi6d1OjFKFKeXODK0YLSg==" - } + "engines": { + "node": ">=0.8.0" } }, - "@azure/msal-common": { + "node_modules/@azure/msal-browser/node_modules/@azure/msal-common": { + "version": "14.4.0", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.4.0.tgz", + "integrity": "sha512-ffCymScQuMKVj+YVfwNI52A5Tu+uiZO2eTf+c+3TXxdAssks4nokJhtr+uOOMxH0zDi6d1OjFKFKeXODK0YLSg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@azure/msal-common": { "version": "7.6.0", "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-7.6.0.tgz", - "integrity": "sha512-XqfbglUTVLdkHQ8F9UQJtKseRr3sSnr9ysboxtoswvaMVaEfvyLtMoHv9XdKUfOc0qKGzNgRFd9yRjIWVepl6Q==" + "integrity": "sha512-XqfbglUTVLdkHQ8F9UQJtKseRr3sSnr9ysboxtoswvaMVaEfvyLtMoHv9XdKUfOc0qKGzNgRFd9yRjIWVepl6Q==", + "engines": { + "node": ">=0.8.0" + } }, - "@azure/msal-node": { + "node_modules/@azure/msal-node": { "version": "2.5.1", "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-2.5.1.tgz", "integrity": "sha512-PsPRISqCG253HQk1cAS7eJW7NWTbnBGpG+vcGGz5z4JYRdnM2EIXlj1aBpXCdozenEPtXEVvHn2ELleW1w82nQ==", - "requires": { + "dependencies": { "@azure/msal-common": "14.4.0", "jsonwebtoken": "^9.0.0", "uuid": "^8.3.0" }, - "dependencies": { - "@azure/msal-common": { - "version": "14.4.0", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.4.0.tgz", - "integrity": "sha512-ffCymScQuMKVj+YVfwNI52A5Tu+uiZO2eTf+c+3TXxdAssks4nokJhtr+uOOMxH0zDi6d1OjFKFKeXODK0YLSg==" - } + "engines": { + "node": "16|| 18 || 20" + } + }, + "node_modules/@azure/msal-node/node_modules/@azure/msal-common": { + "version": "14.4.0", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.4.0.tgz", + "integrity": "sha512-ffCymScQuMKVj+YVfwNI52A5Tu+uiZO2eTf+c+3TXxdAssks4nokJhtr+uOOMxH0zDi6d1OjFKFKeXODK0YLSg==", + "engines": { + "node": ">=0.8.0" } }, - "@babel/code-frame": { + "node_modules/@babel/code-frame": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", "dev": true, - "requires": { + "dependencies": { "@babel/highlight": "^7.0.0" } }, - "@babel/highlight": { + "node_modules/@babel/highlight": { "version": "7.5.0", "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", "dev": true, - "requires": { + "dependencies": { "chalk": "^2.0.0", "esutils": "^2.0.2", "js-tokens": "^4.0.0" } }, - "@kusto/language-service": { - "version": "0.0.23-alpha", - "resolved": "https://registry.npmjs.org/@kusto/language-service/-/language-service-0.0.23-alpha.tgz", - "integrity": "sha512-z/dk+D2HzhPhafYwPBc7YSluzxYNs/a4F+xywK+G94HW3QQ9cZIEttJJG9yw8KaQ/kbckMYy5zGWx5EtpN/NWQ==" - }, - "@kusto/language-service-next": { - "version": "0.0.28-rc.1", - "resolved": "https://registry.npmjs.org/@kusto/language-service-next/-/language-service-next-0.0.28-rc.1.tgz", - "integrity": "sha512-E7Qvne+XsOVeQoL2afVoA7/DQNagvN6AfRTq+DcSnaky3v1PjGEasXZhaQEuOE8CaQYJ4fyVu+UQrnQQ3Ehp9A==" + "node_modules/@kusto/language-service-next": { + "version": "11.5.0", + "resolved": "https://registry.npmjs.org/@kusto/language-service-next/-/language-service-next-11.5.0.tgz", + "integrity": "sha512-aRd/NakaeQpBftSg+kLVNEoqEcLGdghkILfhKBXwC4MLGmiJoQhJwVM10QiW2lBrnOLh/b9SVqYekivXKS2rGA==" }, - "@tootallnate/once": { + "node_modules/@tootallnate/once": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==" + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "engines": { + "node": ">= 10" + } }, - "@types/uuid": { + "node_modules/@types/uuid": { "version": "8.3.4", "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.4.tgz", "integrity": "sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==" }, - "acorn": { + "node_modules/acorn": { "version": "6.4.2", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "dev": true + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } }, - "acorn-jsx": { + "node_modules/acorn-jsx": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", - "dev": true + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0" + } }, - "agent-base": { + "node_modules/agent-base": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "requires": { + "dependencies": { "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" } }, - "ajv": { + "node_modules/ajv": { "version": "6.12.6", "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", "dev": true, - "requires": { + "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", "json-schema-traverse": "^0.4.1", "uri-js": "^4.2.2" }, - "dependencies": { - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - } + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "ansi-escapes": { + "node_modules/ajv/node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/ansi-escapes": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "ansi-regex": { + "node_modules/ansi-regex": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "ansi-styles": { + "node_modules/ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, - "requires": { + "dependencies": { "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" } }, - "argparse": { + "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, - "requires": { + "dependencies": { "sprintf-js": "~1.0.2" } }, - "array-includes": { + "node_modules/array-includes": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", "dev": true, - "requires": { + "dependencies": { "define-properties": "^1.1.2", "es-abstract": "^1.7.0" + }, + "engines": { + "node": ">= 0.4" } }, - "astral-regex": { + "node_modules/astral-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "asynckit": { + "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, - "axios": { + "node_modules/axios": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.2.tgz", "integrity": "sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A==", - "requires": { + "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } }, - "azure-kusto-data": { + "node_modules/azure-kusto-data": { "version": "5.2.3", "resolved": "https://registry.npmjs.org/azure-kusto-data/-/azure-kusto-data-5.2.3.tgz", "integrity": "sha512-FtTcEMBOutGjmNn7HsN2MadXrsRpzKfQToqB/D5KTo3EJx2/XG0uPXZtqVi+ZbFPQBGp293H9NYe4ZUU7YIi9g==", - "requires": { + "dependencies": { "@azure/identity": "^3.3.2", "@azure/msal-common": "^7.3.0", "@types/uuid": "^8.3.4", @@ -345,228 +409,278 @@ "https-browserify": "^1.0.0", "stream-http": "^3.2.0", "uuid": "^8.3.2" + }, + "engines": { + "node": ">= 16.0.0" } }, - "balanced-match": { + "node_modules/balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, - "brace-expansion": { + "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, - "requires": { + "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" } }, - "buffer-equal-constant-time": { + "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" }, - "builtin-status-codes": { + "node_modules/builtin-status-codes": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", "integrity": "sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==" }, - "callsites": { + "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true + "dev": true, + "engines": { + "node": ">=6" + } }, - "chalk": { + "node_modules/chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, - "requires": { + "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" } }, - "chardet": { + "node_modules/chardet": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "dev": true }, - "cli-cursor": { + "node_modules/cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", "dev": true, - "requires": { + "dependencies": { "restore-cursor": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "cli-width": { + "node_modules/cli-width": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", "dev": true }, - "color-convert": { + "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, - "requires": { + "dependencies": { "color-name": "1.1.3" } }, - "color-name": { + "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, - "combined-stream": { + "node_modules/combined-stream": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { + "dependencies": { "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" } }, - "concat-map": { + "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, - "confusing-browser-globals": { + "node_modules/confusing-browser-globals": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.7.tgz", "integrity": "sha512-cgHI1azax5ATrZ8rJ+ODDML9Fvu67PimB6aNxBrc/QwSaDaM9eTfIEUHx3bBLJJ82ioSb+/5zfsMCCEJax3ByQ==", "dev": true }, - "contains-path": { + "node_modules/contains-path": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "cross-spawn": { + "node_modules/cross-spawn": { "version": "6.0.5", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, - "requires": { + "dependencies": { "nice-try": "^1.0.4", "path-key": "^2.0.1", "semver": "^5.5.0", "shebang-command": "^1.2.0", "which": "^1.2.9" + }, + "engines": { + "node": ">=4.8" } }, - "debug": { + "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "requires": { + "dependencies": { "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } } }, - "deep-is": { + "node_modules/deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, - "define-lazy-prop": { + "node_modules/define-lazy-prop": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==" + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "engines": { + "node": ">=8" + } }, - "define-properties": { + "node_modules/define-properties": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "dev": true, - "requires": { + "dependencies": { "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" } }, - "delayed-stream": { + "node_modules/delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } }, - "doctrine": { + "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", "dev": true, - "requires": { + "dependencies": { "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" } }, - "ecdsa-sig-formatter": { + "node_modules/ecdsa-sig-formatter": { "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "requires": { + "dependencies": { "safe-buffer": "^5.0.1" } }, - "emoji-regex": { + "node_modules/emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "dev": true }, - "error-ex": { + "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, - "requires": { + "dependencies": { "is-arrayish": "^0.2.1" } }, - "es-abstract": { + "node_modules/es-abstract": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.13.0.tgz", "integrity": "sha512-vDZfg/ykNxQVwup/8E1BZhVzFfBxs9NqMzGcvIJrqg5k2/5Za2bWo40dK2J1pgLngZ7c+Shh8lwYtLGyrwPutg==", "dev": true, - "requires": { + "dependencies": { "es-to-primitive": "^1.2.0", "function-bind": "^1.1.1", "has": "^1.0.3", "is-callable": "^1.1.4", "is-regex": "^1.0.4", "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" } }, - "es-to-primitive": { + "node_modules/es-to-primitive": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz", "integrity": "sha512-qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==", "dev": true, - "requires": { + "dependencies": { "is-callable": "^1.1.4", "is-date-object": "^1.0.1", "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" } }, - "escape-string-regexp": { + "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.8.0" + } }, - "eslint": { + "node_modules/eslint": { "version": "5.16.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", "dev": true, - "requires": { + "dependencies": { "@babel/code-frame": "^7.0.0", "ajv": "^6.9.1", "chalk": "^2.1.0", @@ -603,79 +717,91 @@ "strip-json-comments": "^2.0.1", "table": "^5.2.3", "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^6.14.0 || ^8.10.0 || >=9.10.0" } }, - "eslint-config-airbnb-base": { + "node_modules/eslint-config-airbnb-base": { "version": "13.2.0", "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.2.0.tgz", "integrity": "sha512-1mg/7eoB4AUeB0X1c/ho4vb2gYkNH8Trr/EgCT/aGmKhhG+F6vF5s8+iRBlWAzFIAphxIdp3YfEKgEl0f9Xg+w==", "dev": true, - "requires": { + "dependencies": { "confusing-browser-globals": "^1.0.5", "object.assign": "^4.1.0", "object.entries": "^1.1.0" + }, + "engines": { + "node": ">= 4" + }, + "peerDependencies": { + "eslint": "^4.19.1 || ^5.3.0", + "eslint-plugin-import": "^2.17.2" } }, - "eslint-import-resolver-node": { + "node_modules/eslint-import-resolver-node": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", "integrity": "sha512-sfmTqJfPSizWu4aymbPr4Iidp5yKm8yDkHp+Ir3YiTHiiDfxh69mOUsmiqW6RZ9zRXFaF64GtYmN7e+8GHBv6Q==", "dev": true, - "requires": { + "dependencies": { "debug": "^2.6.9", "resolve": "^1.5.0" - }, + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "ms": "2.0.0" } }, - "eslint-module-utils": { + "node_modules/eslint-import-resolver-node/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-module-utils": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz", "integrity": "sha512-H6DOj+ejw7Tesdgbfs4jeS4YMFrT8uI8xwd1gtQqXssaR0EQ26L+2O/w6wkYFy2MymON0fTwHmXBvvfLNZVZEw==", "dev": true, - "requires": { + "dependencies": { "debug": "^2.6.8", "pkg-dir": "^2.0.0" }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "ms": "2.0.0" } }, - "eslint-plugin-import": { + "node_modules/eslint-module-utils/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-plugin-import": { "version": "2.18.2", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz", "integrity": "sha512-5ohpsHAiUBRNaBWAF08izwUGlbrJoJJ+W9/TBwsGoR1MnlgfwMIKrFeSjWbt6moabiXW9xNvtFz+97KHRfI4HQ==", "dev": true, - "requires": { + "dependencies": { "array-includes": "^3.0.3", "contains-path": "^0.1.0", "debug": "^2.6.9", @@ -688,348 +814,455 @@ "read-pkg-up": "^2.0.0", "resolve": "^1.11.0" }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "2.x - 6.x" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } + "ms": "2.0.0" } }, - "eslint-scope": { + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "dependencies": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-scope": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", "dev": true, - "requires": { + "dependencies": { "esrecurse": "^4.1.0", "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=4.0.0" } }, - "eslint-utils": { + "node_modules/eslint-utils": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", "dev": true, - "requires": { + "dependencies": { "eslint-visitor-keys": "^1.1.0" }, - "dependencies": { - "eslint-visitor-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", - "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", - "dev": true - } + "engines": { + "node": ">=6" } }, - "eslint-visitor-keys": { + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", + "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-visitor-keys": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "espree": { + "node_modules/espree": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", "dev": true, - "requires": { + "dependencies": { "acorn": "^6.0.7", "acorn-jsx": "^5.0.0", "eslint-visitor-keys": "^1.0.0" + }, + "engines": { + "node": ">=6.0.0" } }, - "esprima": { + "node_modules/esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } }, - "esquery": { + "node_modules/esquery": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", "dev": true, - "requires": { + "dependencies": { "estraverse": "^4.0.0" + }, + "engines": { + "node": ">=0.6" } }, - "esrecurse": { + "node_modules/esrecurse": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", "dev": true, - "requires": { + "dependencies": { "estraverse": "^4.1.0" + }, + "engines": { + "node": ">=4.0" } }, - "estraverse": { + "node_modules/estraverse": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "esutils": { + "node_modules/esutils": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "events": { + "node_modules/events": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "engines": { + "node": ">=0.8.x" + } }, - "external-editor": { + "node_modules/external-editor": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "dev": true, - "requires": { + "dependencies": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" } }, - "fast-json-stable-stringify": { + "node_modules/fast-json-stable-stringify": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, - "fast-levenshtein": { + "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "figures": { + "node_modules/figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", "dev": true, - "requires": { + "dependencies": { "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" } }, - "file-entry-cache": { + "node_modules/file-entry-cache": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", "dev": true, - "requires": { + "dependencies": { "flat-cache": "^2.0.1" + }, + "engines": { + "node": ">=4" } }, - "find-up": { + "node_modules/find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, - "requires": { + "dependencies": { "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "flat-cache": { + "node_modules/flat-cache": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", "dev": true, - "requires": { + "dependencies": { "flatted": "^2.0.0", "rimraf": "2.6.3", "write": "1.0.3" + }, + "engines": { + "node": ">=4" } }, - "flatted": { + "node_modules/flatted": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==", "dev": true }, - "follow-redirects": { + "node_modules/follow-redirects": { "version": "1.15.6", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } }, - "form-data": { + "node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "requires": { + "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" } }, - "fs.realpath": { + "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "dev": true }, - "function-bind": { + "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, - "functional-red-black-tree": { + "node_modules/functional-red-black-tree": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, - "glob": { + "node_modules/glob": { "version": "7.1.4", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", "dev": true, - "requires": { + "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" } }, - "globals": { + "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "graceful-fs": { + "node_modules/graceful-fs": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz", "integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==", "dev": true }, - "has": { + "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, - "requires": { + "dependencies": { "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" } }, - "has-flag": { + "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "has-symbols": { + "node_modules/has-symbols": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz", "integrity": "sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=", - "dev": true + "dev": true, + "engines": { + "node": ">= 0.4" + } }, - "hosted-git-info": { + "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", "dev": true }, - "http-proxy-agent": { + "node_modules/http-proxy-agent": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "requires": { + "dependencies": { "@tootallnate/once": "2", "agent-base": "6", "debug": "4" + }, + "engines": { + "node": ">= 6" } }, - "https-browserify": { + "node_modules/https-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", "integrity": "sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==" }, - "https-proxy-agent": { + "node_modules/https-proxy-agent": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", - "requires": { + "dependencies": { "agent-base": "6", "debug": "4" + }, + "engines": { + "node": ">= 6" } }, - "iconv-lite": { + "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, - "requires": { + "dependencies": { "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" } }, - "ignore": { + "node_modules/ignore": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true + "dev": true, + "engines": { + "node": ">= 4" + } }, - "import-fresh": { + "node_modules/import-fresh": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.1.0.tgz", "integrity": "sha512-PpuksHKGt8rXfWEr9m9EHIpgyyaltBy8+eF6GJM0QCAxMgxCfucMF3mjecK2QsJr0amJW7gTqh5/wht0z2UhEQ==", "dev": true, - "requires": { + "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" } }, - "imurmurhash": { + "node_modules/imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.8.19" + } }, - "inflight": { + "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "dev": true, - "requires": { + "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, - "inherits": { + "node_modules/inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, - "inquirer": { + "node_modules/inquirer": { "version": "6.5.0", "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.0.tgz", "integrity": "sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA==", "dev": true, - "requires": { + "dependencies": { "ansi-escapes": "^3.2.0", "chalk": "^2.4.2", "cli-cursor": "^2.1.0", @@ -1044,130 +1277,167 @@ "strip-ansi": "^5.1.0", "through": "^2.3.6" }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/inquirer/node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/inquirer/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, "dependencies": { - "ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "dev": true - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" } }, - "is-arrayish": { + "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, - "is-callable": { + "node_modules/is-callable": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz", "integrity": "sha512-r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==", - "dev": true + "dev": true, + "engines": { + "node": ">= 0.4" + } }, - "is-date-object": { + "node_modules/is-date-object": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", - "dev": true + "dev": true, + "engines": { + "node": ">= 0.4" + } }, - "is-docker": { + "node_modules/is-docker": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, - "is-fullwidth-code-point": { + "node_modules/is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "is-promise": { + "node_modules/is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", "dev": true }, - "is-regex": { + "node_modules/is-regex": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", "dev": true, - "requires": { + "dependencies": { "has": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" } }, - "is-symbol": { + "node_modules/is-symbol": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz", "integrity": "sha512-HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==", "dev": true, - "requires": { + "dependencies": { "has-symbols": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" } }, - "is-wsl": { + "node_modules/is-wsl": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "requires": { + "dependencies": { "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" } }, - "isarray": { + "node_modules/isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "dev": true }, - "isexe": { + "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "js-tokens": { + "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, - "js-yaml": { + "node_modules/js-yaml": { "version": "3.13.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", "dev": true, - "requires": { + "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "json-schema-traverse": { + "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, - "json-stable-stringify-without-jsonify": { + "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", "dev": true }, - "jsonwebtoken": { + "node_modules/jsonwebtoken": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", - "requires": { + "dependencies": { "jws": "^3.2.2", "lodash.includes": "^4.3.0", "lodash.isboolean": "^3.0.3", @@ -1179,844 +1449,1047 @@ "ms": "^2.1.1", "semver": "^7.5.4" }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jsonwebtoken/node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", "dependencies": { - "jws": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", - "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", - "requires": { - "jwa": "^1.4.1", - "safe-buffer": "^5.0.1" - } - }, - "semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", - "requires": { - "lru-cache": "^6.0.0" - } - } + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" } }, - "jwa": { + "node_modules/jsonwebtoken/node_modules/semver": { + "version": "7.5.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", + "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jwa": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", - "requires": { + "dependencies": { "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } }, - "jws": { + "node_modules/jws": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "requires": { + "dependencies": { "jwa": "^2.0.0", "safe-buffer": "^5.0.1" - }, + } + }, + "node_modules/jws/node_modules/jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", "dependencies": { - "jwa": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", - "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", - "requires": { - "buffer-equal-constant-time": "1.0.1", - "ecdsa-sig-formatter": "1.0.11", - "safe-buffer": "^5.0.1" - } - } + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" } }, - "levn": { + "node_modules/levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", "dev": true, - "requires": { + "dependencies": { "prelude-ls": "~1.1.2", "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" } }, - "load-json-file": { + "node_modules/load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, - "requires": { + "dependencies": { "graceful-fs": "^4.1.2", "parse-json": "^2.2.0", "pify": "^2.0.0", "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" } }, - "locate-path": { + "node_modules/locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, - "requires": { + "dependencies": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" } }, - "lodash": { + "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "dev": true }, - "lodash.includes": { + "node_modules/lodash.includes": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==" }, - "lodash.isboolean": { + "node_modules/lodash.isboolean": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" }, - "lodash.isinteger": { + "node_modules/lodash.isinteger": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==" }, - "lodash.isnumber": { + "node_modules/lodash.isnumber": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" }, - "lodash.isplainobject": { + "node_modules/lodash.isplainobject": { "version": "4.0.6", "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" }, - "lodash.isstring": { + "node_modules/lodash.isstring": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" }, - "lodash.once": { + "node_modules/lodash.once": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" }, - "lru-cache": { + "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "requires": { + "dependencies": { "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" } }, - "mime-db": { + "node_modules/mime-db": { "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } }, - "mime-types": { + "node_modules/mime-types": { "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "requires": { + "dependencies": { "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" } }, - "mimic-fn": { + "node_modules/mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "minimatch": { + "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, - "requires": { + "dependencies": { "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" } }, - "minimist": { + "node_modules/minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", "dev": true }, - "mkdirp": { + "node_modules/mkdirp": { "version": "0.5.6", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, - "requires": { + "dependencies": { "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" } }, - "monaco-editor-core": { - "version": "0.17.0", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.17.0.tgz", - "integrity": "sha512-8q7b0itiX4UDv6e2F/EJc53G0iLL7P905IZsemu/bXffS7mIcjKKtX+TlzT13YbkuGFC/86Q32ANXERaJTM+mw==" - }, - "ms": { + "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "mute-stream": { + "node_modules/mute-stream": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", "dev": true }, - "natural-compare": { + "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "nice-try": { + "node_modules/nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, - "normalize-package-data": { + "node_modules/normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, - "requires": { + "dependencies": { "hosted-git-info": "^2.1.4", "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" } }, - "object-keys": { + "node_modules/object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true + "dev": true, + "engines": { + "node": ">= 0.4" + } }, - "object.assign": { + "node_modules/object.assign": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "dev": true, - "requires": { + "dependencies": { "define-properties": "^1.1.2", "function-bind": "^1.1.1", "has-symbols": "^1.0.0", "object-keys": "^1.0.11" + }, + "engines": { + "node": ">= 0.4" } }, - "object.entries": { + "node_modules/object.entries": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.0.tgz", "integrity": "sha512-l+H6EQ8qzGRxbkHOd5I/aHRhHDKoQXQ8g0BYt4uSweQU1/J6dZUOyWh9a2Vky35YCKjzmgxOzta2hH6kf9HuXA==", "dev": true, - "requires": { + "dependencies": { "define-properties": "^1.1.3", "es-abstract": "^1.12.0", "function-bind": "^1.1.1", "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" } }, - "object.values": { + "node_modules/object.values": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.0.tgz", "integrity": "sha512-8mf0nKLAoFX6VlNVdhGj31SVYpaNFtUnuoOXWyFEstsWRgU837AK+JYM0iAxwkSzGRbwn8cbFmgbyxj1j4VbXg==", "dev": true, - "requires": { + "dependencies": { "define-properties": "^1.1.3", "es-abstract": "^1.12.0", "function-bind": "^1.1.1", "has": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" } }, - "once": { + "node_modules/once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "dev": true, - "requires": { + "dependencies": { "wrappy": "1" } }, - "onetime": { + "node_modules/onetime": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", "dev": true, - "requires": { + "dependencies": { "mimic-fn": "^1.0.0" + }, + "engines": { + "node": ">=4" } }, - "open": { + "node_modules/open": { "version": "8.4.2", "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", - "requires": { + "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "optionator": { + "node_modules/optionator": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", "dev": true, - "requires": { + "dependencies": { "deep-is": "~0.1.3", "fast-levenshtein": "~2.0.4", "levn": "~0.3.0", "prelude-ls": "~1.1.2", "type-check": "~0.3.2", "wordwrap": "~1.0.0" + }, + "engines": { + "node": ">= 0.8.0" } }, - "os-tmpdir": { + "node_modules/os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "p-limit": { + "node_modules/p-limit": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, - "requires": { + "dependencies": { "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" } }, - "p-locate": { + "node_modules/p-locate": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, - "requires": { + "dependencies": { "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" } }, - "p-try": { + "node_modules/p-try": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "parent-module": { + "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, - "requires": { + "dependencies": { "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "parse-json": { + "node_modules/parse-json": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, - "requires": { + "dependencies": { "error-ex": "^1.2.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "path-exists": { + "node_modules/path-exists": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "path-is-absolute": { + "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "path-is-inside": { + "node_modules/path-is-inside": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", "dev": true }, - "path-key": { + "node_modules/path-key": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "path-parse": { + "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "path-type": { + "node_modules/path-type": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, - "requires": { + "dependencies": { "pify": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "pify": { + "node_modules/pify": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "pkg-dir": { + "node_modules/pkg-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, - "requires": { + "dependencies": { "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" } }, - "prelude-ls": { + "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "dev": true + "dev": true, + "engines": { + "node": ">= 0.8.0" + } }, - "progress": { + "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true + "dev": true, + "engines": { + "node": ">=0.4.0" + } }, - "proxy-from-env": { + "node_modules/proxy-from-env": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, - "punycode": { + "node_modules/punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true + "dev": true, + "engines": { + "node": ">=6" + } }, - "read-pkg": { + "node_modules/read-pkg": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, - "requires": { + "dependencies": { "load-json-file": "^2.0.0", "normalize-package-data": "^2.3.2", "path-type": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "read-pkg-up": { + "node_modules/read-pkg-up": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, - "requires": { + "dependencies": { "find-up": "^2.0.0", "read-pkg": "^2.0.0" + }, + "engines": { + "node": ">=4" } }, - "readable-stream": { + "node_modules/readable-stream": { "version": "3.6.2", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "requires": { + "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" } }, - "regexpp": { + "node_modules/regexpp": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", - "dev": true + "dev": true, + "engines": { + "node": ">=6.5.0" + } }, - "resolve": { + "node_modules/resolve": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", "dev": true, - "requires": { + "dependencies": { "path-parse": "^1.0.6" } }, - "resolve-from": { + "node_modules/resolve-from": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "restore-cursor": { + "node_modules/restore-cursor": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", "dev": true, - "requires": { + "dependencies": { "onetime": "^2.0.0", "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=4" } }, - "rimraf": { + "node_modules/rimraf": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", "dev": true, - "requires": { + "dependencies": { "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" } }, - "run-async": { + "node_modules/run-async": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", "dev": true, - "requires": { + "dependencies": { "is-promise": "^2.1.0" + }, + "engines": { + "node": ">=0.12.0" } }, - "rxjs": { + "node_modules/rxjs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz", "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==", "dev": true, - "requires": { + "dependencies": { "tslib": "^1.9.0" + }, + "engines": { + "npm": ">=2.0.0" } }, - "safe-buffer": { + "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] }, - "safer-buffer": { + "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, - "semver": { + "node_modules/semver": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", "integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==", - "dev": true + "dev": true, + "bin": { + "semver": "bin/semver" + } }, - "shebang-command": { + "node_modules/shebang-command": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, - "requires": { + "dependencies": { "shebang-regex": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" } }, - "shebang-regex": { + "node_modules/shebang-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "signal-exit": { + "node_modules/signal-exit": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, - "slice-ansi": { + "node_modules/slice-ansi": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", "dev": true, - "requires": { + "dependencies": { "ansi-styles": "^3.2.0", "astral-regex": "^1.0.0", "is-fullwidth-code-point": "^2.0.0" + }, + "engines": { + "node": ">=6" } }, - "spdx-correct": { + "node_modules/spdx-correct": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", "dev": true, - "requires": { + "dependencies": { "spdx-expression-parse": "^3.0.0", "spdx-license-ids": "^3.0.0" } }, - "spdx-exceptions": { + "node_modules/spdx-exceptions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", "dev": true }, - "spdx-expression-parse": { + "node_modules/spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "dev": true, - "requires": { + "dependencies": { "spdx-exceptions": "^2.1.0", "spdx-license-ids": "^3.0.0" } }, - "spdx-license-ids": { + "node_modules/spdx-license-ids": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", "dev": true }, - "sprintf-js": { + "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "stoppable": { + "node_modules/stoppable": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz", - "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==" + "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==", + "engines": { + "node": ">=4", + "npm": ">=6" + } }, - "stream-http": { + "node_modules/stream-http": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-3.2.0.tgz", "integrity": "sha512-Oq1bLqisTyK3TSCXpPbT4sdeYNdmyZJv1LxpEm2vu1ZhK89kSE5YXwZc3cWk0MagGaKriBh9mCFbVGtO+vY29A==", - "requires": { + "dependencies": { "builtin-status-codes": "^3.0.0", "inherits": "^2.0.4", "readable-stream": "^3.6.0", "xtend": "^4.0.2" } }, - "string-width": { + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, - "requires": { + "dependencies": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" + }, + "engines": { + "node": ">=4" } }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - } - }, - "strip-ansi": { + "node_modules/strip-ansi": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, - "requires": { + "dependencies": { "ansi-regex": "^3.0.0" + }, + "engines": { + "node": ">=4" } }, - "strip-bom": { + "node_modules/strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "dev": true + "dev": true, + "engines": { + "node": ">=4" + } }, - "strip-json-comments": { + "node_modules/strip-json-comments": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "dev": true + "dev": true, + "engines": { + "node": ">=0.10.0" + } }, - "supports-color": { + "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, - "requires": { + "dependencies": { "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" } }, - "table": { + "node_modules/table": { "version": "5.4.4", "resolved": "https://registry.npmjs.org/table/-/table-5.4.4.tgz", "integrity": "sha512-IIfEAUx5QlODLblLrGTTLJA7Tk0iLSGBvgY8essPRVNGHAzThujww1YqHLs6h3HfTg55h++RzLHH5Xw/rfv+mg==", "dev": true, - "requires": { + "dependencies": { "ajv": "^6.10.2", "lodash": "^4.17.14", "slice-ansi": "^2.1.0", "string-width": "^3.0.0" }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/table/node_modules/ansi-regex": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", + "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/table/node_modules/string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "dependencies": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/table/node_modules/strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, "dependencies": { - "ansi-regex": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", - "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", - "dev": true - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } + "ansi-regex": "^4.1.0" + }, + "engines": { + "node": ">=6" } }, - "text-table": { + "node_modules/text-table": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, - "through": { + "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, - "tmp": { + "node_modules/tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "dev": true, - "requires": { + "dependencies": { "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" } }, - "tslib": { + "node_modules/tslib": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", "dev": true }, - "type-check": { + "node_modules/type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", "dev": true, - "requires": { + "dependencies": { "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" } }, - "uri-js": { + "node_modules/uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, - "requires": { + "dependencies": { "punycode": "^2.1.0" } }, - "util-deprecate": { + "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, - "uuid": { + "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } }, - "validate-npm-package-license": { + "node_modules/validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, - "requires": { + "dependencies": { "spdx-correct": "^3.0.0", "spdx-expression-parse": "^3.0.0" } }, - "vscode-jsonrpc": { + "node_modules/vscode-jsonrpc": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-4.0.0.tgz", - "integrity": "sha512-perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg==" + "integrity": "sha512-perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg==", + "engines": { + "node": ">=8.0.0 || >=10.0.0" + } }, - "vscode-languageserver": { + "node_modules/vscode-languageserver": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-4.4.2.tgz", "integrity": "sha512-61y8Raevi9EigDgg9NelvT9cUAohiEbUl1LOwQQgOCAaNX62yKny/ddi0uC+FUTm4CzsjhBu+06R+vYgfCYReA==", - "requires": { + "dependencies": { "vscode-languageserver-protocol": "^3.10.3", "vscode-uri": "^1.0.5" + }, + "bin": { + "installServerIntoExtension": "bin/installServerIntoExtension" } }, - "vscode-languageserver-protocol": { + "node_modules/vscode-languageserver-protocol": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.14.1.tgz", "integrity": "sha512-IL66BLb2g20uIKog5Y2dQ0IiigW0XKrvmWiOvc0yXw80z3tMEzEnHjaGAb3ENuU7MnQqgnYJ1Cl2l9RvNgDi4g==", - "requires": { + "dependencies": { "vscode-jsonrpc": "^4.0.0", "vscode-languageserver-types": "3.14.0" } }, - "vscode-languageserver-types": { + "node_modules/vscode-languageserver-protocol/node_modules/vscode-languageserver-types": { "version": "3.14.0", "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.14.0.tgz", "integrity": "sha512-lTmS6AlAlMHOvPQemVwo3CezxBp0sNB95KNPkqp3Nxd5VFEnuG1ByM0zlRWos0zjO3ZWtkvhal0COgiV1xIA4A==" }, - "vscode-uri": { + "node_modules/vscode-uri": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.8.tgz", "integrity": "sha512-obtSWTlbJ+a+TFRYGaUumtVwb+InIUVI0Lu0VBUAPmj2cU5JutEXg3xUE0c2J5Tcy7h2DEKVJBFi+Y9ZSFzzPQ==" }, - "which": { + "node_modules/which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, - "requires": { + "dependencies": { "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" } }, - "wordwrap": { + "node_modules/wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "dev": true }, - "wrappy": { + "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "dev": true }, - "write": { + "node_modules/write": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", "dev": true, - "requires": { + "dependencies": { "mkdirp": "^0.5.1" + }, + "engines": { + "node": ">=4" } }, - "xtend": { + "node_modules/xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } }, - "yallist": { + "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" diff --git a/kusto-language-server/server/package.json b/kusto-language-server/server/package.json index e6cbe19..36b55ed 100644 --- a/kusto-language-server/server/package.json +++ b/kusto-language-server/server/package.json @@ -16,9 +16,7 @@ "vscode": "^1.33.0" }, "dependencies": { - "@kusto/language-service": "0.0.23-alpha", - "@kusto/language-service-next": "0.0.28-rc.1", - "monaco-editor-core": "^0.17.0", + "@kusto/language-service-next": "^11.5.0", "vscode-languageserver": "^4.4.2", "azure-kusto-data": "^5.2.3" }, diff --git a/kusto-language-server/server/src/kustoCompletion.ts b/kusto-language-server/server/src/kustoCompletion.ts index aa4ca66..2d2443d 100644 --- a/kusto-language-server/server/src/kustoCompletion.ts +++ b/kusto-language-server/server/src/kustoCompletion.ts @@ -1,31 +1,37 @@ -/// -/// -/// -import './bridge.min'; -import './Kusto.Language.Bridge.min'; - import { CompletionItemKind, CompletionItem } from 'vscode-languageserver'; export function getVSCodeCompletionItemsAtPosition(kustoCodeScript: Kusto.Language.Editor.CodeScript, line: number, character: number): CompletionItem[] { - let completionItems: Kusto.Language.Editor.CompletionItem[] = getCompletionItemsAtPosition(kustoCodeScript, line, character); - let vsCodeCompletionItems: CompletionItem[] = completionItems.map(completionItem => { + let completionItems = getCompletionItemsAtPosition(kustoCodeScript, line, character); + if (!completionItems || !completionItems.Count) { + return []; + } + + let vsCodeCompletionItems: CompletionItem[] = (Bridge as any).toArray(completionItems).map((completionItem: Kusto.Language.Editor.CompletionItem) => { return { - label: completionItem.DisplayText, + label: completionItem.DisplayText || '', kind: _getVSCodeCompletionItemKind(completionItem) } }); return vsCodeCompletionItems; } -function getCompletionItemsAtPosition(kustoCodeScript: Kusto.Language.Editor.CodeScript, line: number, character: number): Kusto.Language.Editor.CompletionItem[] { +function getCompletionItemsAtPosition(kustoCodeScript: Kusto.Language.Editor.CodeScript, line: number, character: number): System.Collections.Generic.IReadOnlyList$1 | null { let position = {v:-1}; let positionValid = kustoCodeScript.TryGetTextPosition(line, character, position); if (!positionValid) { throw new Error(`Position (${line},${character}) not valid, cannot get completion items`); } const kustoCodeBlock = kustoCodeScript.GetBlockAtPosition(position.v); - const completionItems = kustoCodeBlock.Service.GetCompletionItems(position.v).Items; - return completionItems.Items._items; + if (!kustoCodeBlock || !kustoCodeBlock.Service) { + throw new Error(`Code block at position (${line},${character}) not valid, cannot get completion items`); + } + + const completionItems = kustoCodeBlock.Service.GetCompletionItems(position.v); + if (!completionItems) { + throw new Error(`Completion items at position (${line},${character}) not valid, cannot get completion items`); + } + + return completionItems.Items; } function _getVSCodeCompletionItemKind(completionItem: Kusto.Language.Editor.CompletionItem) : CompletionItemKind { @@ -38,14 +44,13 @@ function _getVSCodeCompletionItemKind(completionItem: Kusto.Language.Editor.Comp return CompletionItemKind.Enum; case Kusto.Language.Editor.CompletionKind.Column: return CompletionItemKind.EnumMember; - case Kusto.Language.Editor.CompletionKind.ScalarFunction: - case Kusto.Language.Editor.CompletionKind.TabularFunction: + case Kusto.Language.Editor.CompletionKind.BuiltInFunction: + case Kusto.Language.Editor.CompletionKind.LocalFunction: + case Kusto.Language.Editor.CompletionKind.DatabaseFunction: case Kusto.Language.Editor.CompletionKind.AggregateFunction: return CompletionItemKind.Function; case Kusto.Language.Editor.CompletionKind.Parameter: return CompletionItemKind.TypeParameter; - case Kusto.Language.Editor.CompletionKind.Literal: - return CompletionItemKind.Constant; case Kusto.Language.Editor.CompletionKind.Variable: case Kusto.Language.Editor.CompletionKind.Identifier: return CompletionItemKind.Variable; diff --git a/kusto-language-server/server/src/kustoFormat.ts b/kusto-language-server/server/src/kustoFormat.ts index 4d70f7f..d1af600 100644 --- a/kusto-language-server/server/src/kustoFormat.ts +++ b/kusto-language-server/server/src/kustoFormat.ts @@ -1,19 +1,21 @@ -/// -/// -/// -import './bridge.min'; -import './Kusto.Language.Bridge.min'; - -export function formatCodeScript(kustoCodeScript: Kusto.Language.Editor.CodeScript): string { +export function formatCodeScript(kustoCodeScript: Kusto.Language.Editor.CodeScript): string | null { let formattedBlocks: string[] = []; let formattedText: string = ''; let hasSeenFirstQueryBlock: boolean = false; let indentSize: number = 0; const blocks = kustoCodeScript.Blocks; + if (!blocks) { + return null; + } + for (let i = 0; i < blocks.Count; i++) { - let block = blocks._items[i]; - ({ formattedText, hasSeenFirstQueryBlock, indentSize } = formatBlock(block, hasSeenFirstQueryBlock, indentSize)); + let block = blocks.getItem(i); + let formattedBlock = formatBlock(block, hasSeenFirstQueryBlock, indentSize); + if (!formattedBlock) { + continue; + } + ({ formattedText, hasSeenFirstQueryBlock, indentSize } = formattedBlock); // Remove empty blocks if (/\S/.test(formattedText)) { formattedBlocks.push(formattedText); @@ -27,8 +29,17 @@ export function formatCodeScript(kustoCodeScript: Kusto.Language.Editor.CodeScri const NEWLINE: string = '\r\n'; const NEWLINE_REGEX: RegExp = /\r\n/g; -function formatBlock(block: Kusto.Language.Editor.CodeBlock, hasSeenFirstQueryBlock: boolean, indentSize: number): { formattedText: string, hasSeenFirstQueryBlock: boolean, indentSize: number } { - let formattedText = block.Service.GetFormattedText().Text; +function formatBlock(block: Kusto.Language.Editor.CodeBlock, hasSeenFirstQueryBlock: boolean, indentSize: number): { formattedText: string, hasSeenFirstQueryBlock: boolean, indentSize: number } | null { + if (!block.Service) { + return null; + } + + let formattedTextObject = block.Service.GetFormattedText(); + if (!formattedTextObject || !formattedTextObject.Text) { + return null; + } + + let formattedText = formattedTextObject.Text; if (block.Kind == 'Query') { // Read the indent size from the first query block in the document if (!hasSeenFirstQueryBlock) { diff --git a/kusto-language-server/server/src/kustoSymbols.ts b/kusto-language-server/server/src/kustoSymbols.ts index a99973b..faeb85a 100644 --- a/kusto-language-server/server/src/kustoSymbols.ts +++ b/kusto-language-server/server/src/kustoSymbols.ts @@ -1,16 +1,10 @@ -/// -/// -/// -import './bridge.min'; -import './Kusto.Language.Bridge.min'; - interface DatabaseMetadata { DatabaseName:string, PrettyName:string }; interface TableMetadata { TableName:string, DatabaseName:string, Folder:string, DocString:string }; interface TableSchema { TableName:string, Schema:string, DatabaseName:string, Folder:string, DocString:string }; interface FunctionMetadata { Name:string, Parameters:string, Folder:string, DocString: string }; interface ColumnInfo {Name:string, Type:string, CslType:string}; -export async function getSymbolsOnCluster(kustoClient: any, defaultDatabaseName: string) : Promise { +export async function getSymbolsOnCluster(kustoClient: any, defaultDatabaseName: string) : Promise { // const databasesMetadata = await getDatabasesOnCluster(kustoClient, defaultDatabaseName); // for (let databaseNames of databasesMetadata) { // const functionMetadatas = await getFunctionsOnDatabase(kustoClient, defaultDatabaseName); @@ -21,17 +15,23 @@ export async function getSymbolsOnCluster(kustoClient: any, defaultDatabaseName: const tableMetadata = await getTableMetadata(kustoClient, defaultDatabaseName); const functionMetadata = await getFunctionMetadata(kustoClient, defaultDatabaseName); const globalState = Kusto.Language.GlobalState.Default; + if (!globalState) { + return null; + } let symbols = []; symbols.push(...getTableSymbols(tableMetadata)); symbols.push(...getFunctionSymbols(functionMetadata, globalState)); return globalState.WithDatabase(new Kusto.Language.Symbols.DatabaseSymbol.ctor(defaultDatabaseName, symbols)); } -export async function getSymbolsOnTable(kustoClient: any, defaultDatabaseName: string, tableName: string, globalState: Kusto.Language.GlobalState) : Promise { +export async function getSymbolsOnTable(kustoClient: any, defaultDatabaseName: string, tableName: string, globalState: Kusto.Language.GlobalState) : Promise { const tableSchema = await getTableSchema(kustoClient, defaultDatabaseName, tableName); const columns = getTableColumns(tableSchema); - const newTable = new Kusto.Language.Symbols.TableSymbol.$ctor3(tableName, columns); - return globalState.WithDatabase(globalState.Database.AddSymbols([newTable])); + const newTable = new Kusto.Language.Symbols.TableSymbol.$ctor4(tableName, columns); + if (!globalState.Database) { + return null; + } + return globalState.WithDatabase(globalState.Database.AddMembers([newTable])); } function getTableColumns(tableSchemas: TableSchema): Kusto.Language.Symbols.ColumnSymbol[] { @@ -41,7 +41,7 @@ function getTableColumns(tableSchemas: TableSchema): Kusto.Language.Symbols.Colu let orderedColumns : ColumnInfo[] = schema.OrderedColumns; orderedColumns.forEach(column => { - columns.push(new Kusto.Language.Symbols.ColumnSymbol(column.Name, getTypeSymbol(column.CslType))); + columns.push(new Kusto.Language.Symbols.ColumnSymbol(column.Name, getTypeSymbol(column.CslType), null, null, null, null)); }); return columns; @@ -178,7 +178,7 @@ function getTableSchema(kustoClient: any, databaseName: string, tableName: strin function getTableSymbols(metadata: TableMetadata[]) : Kusto.Language.Symbols.TableSymbol[] { let symbols: Kusto.Language.Symbols.TableSymbol[] = []; for (let m of metadata) { - symbols.push(new Kusto.Language.Symbols.TableSymbol.$ctor3(m.TableName, [])); + symbols.push(new Kusto.Language.Symbols.TableSymbol.$ctor4(m.TableName, [])); } return symbols; } @@ -188,8 +188,8 @@ function getFunctionSymbols(metadata: FunctionMetadata[], globalState: Kusto.Lan for (let m of metadata) { // TODO return type, signature types etc. Will require additional calls to cluster. - let signature = new Kusto.Language.Symbols.Signature.$ctor4(Kusto.Language.Symbols.ReturnTypeKind.Common, getParameters(m.Parameters)); - symbols.push(new Kusto.Language.Symbols.FunctionSymbol.$ctor6(m.Name, [signature])); + let signature = new Kusto.Language.Symbols.Signature.$ctor2(Kusto.Language.Symbols.ReturnTypeKind.Common, getParameters(m.Parameters)); + symbols.push(new Kusto.Language.Symbols.FunctionSymbol.$ctor4(m.Name, [signature])); } return symbols; @@ -212,6 +212,6 @@ function getSingleParameter(parameter: string) : Kusto.Language.Symbols.Paramete return new Kusto.Language.Symbols.Parameter.$ctor2(paramSplit[0], getTypeSymbol(paramSplit[1])); } -function getTypeSymbol(type: string) : Kusto.Language.Symbols.ScalarSymbol { - return new Kusto.Language.Symbols.ScalarSymbol(type, [], 0, []); +function getTypeSymbol(type: string) : Kusto.Language.Symbols.ScalarSymbol | null { + return Kusto.Language.Symbols.ScalarSymbol.From(type); } \ No newline at end of file diff --git a/kusto-language-server/server/src/server.ts b/kusto-language-server/server/src/server.ts index c90e5ad..0125976 100644 --- a/kusto-language-server/server/src/server.ts +++ b/kusto-language-server/server/src/server.ts @@ -1,8 +1,5 @@ -/// -/// -/// -import './bridge.min'; -import './Kusto.Language.Bridge.min'; +import '../node_modules/@kusto/language-service-next/bridge'; +import '../node_modules/@kusto/language-service-next/Kusto.Language.Bridge'; import { createConnection, @@ -17,8 +14,7 @@ import { TextDocumentPositionParams, Hover, TextEdit, - DocumentFormattingParams, - Position + DocumentFormattingParams } from 'vscode-languageserver'; import { getClient as getKustoClient, TokenResponse, getFirstOrDefaultClient } from './kustoConnection'; @@ -36,8 +32,8 @@ let documents: TextDocuments = new TextDocuments(); // Create a collection of Kusto code services, one for each document type documentURI = string; -let kustoGlobalState: Kusto.Language.GlobalState = Kusto.Language.GlobalState.Default; -let kustoCodeScripts: Map = new Map(); +let kustoGlobalState = Kusto.Language.GlobalState.Default; +let kustoCodeScripts: Map = new Map(); let hasConfigurationCapability: boolean = false; let hasWorkspaceFolderCapability: boolean = false; @@ -95,7 +91,9 @@ connection.onRequest('kuskus.loadSymbols', async ({ clusterUri, tenantId, databa connection.sendNotification('kuskus.loadSymbols.auth.complete.success', { clusterUri, tenantId, database }); connection.sendNotification('kuskus.loadSymbols.success', { clusterUri, database }); kustoCodeScripts.forEach((value, key) => { - kustoCodeScripts.set(key, value.WithGlobals(kustoGlobalState)); + if (value) { + kustoCodeScripts.set(key, value.WithGlobals(kustoGlobalState)); + } }); } catch { connection.sendNotification('kuskus.loadSymbols.auth.complete.error', { clusterUri, tenantId, database }); @@ -103,18 +101,30 @@ connection.onRequest('kuskus.loadSymbols', async ({ clusterUri, tenantId, databa }); connection.onRequest('kuskus.loadTable', async ( tableName : string) => { - let clusterUri: string = ""; let kustoClient = null; ( {clusterUri, kustoClient} = getFirstOrDefaultClient()); - let database: string = kustoGlobalState.Database.Name; + + if (!kustoGlobalState || !kustoGlobalState.Database) { + connection.sendNotification('kuskus.loadSymbols.auth.complete.error', { clusterUri, database: '' }); + return; + } + + let database = kustoGlobalState.Database.Name; + if (!database) { + connection.sendNotification('kuskus.loadSymbols.auth.complete.error', { clusterUri, database }); + return; + } + try { kustoGlobalState = await getSymbolsOnTable(kustoClient, database, tableName, kustoGlobalState); connection.sendNotification('kuskus.loadSymbols.auth.complete.success', { clusterUri, database }); connection.sendNotification('kuskus.loadSymbols.success', { clusterUri, database }); kustoCodeScripts.forEach((value, key) => { - kustoCodeScripts.set(key, value.WithGlobals(kustoGlobalState)); + if (value) { + kustoCodeScripts.set(key, value.WithGlobals(kustoGlobalState)); + } }); } catch { connection.sendNotification('kuskus.loadSymbols.auth.complete.error', { clusterUri, database }); @@ -178,12 +188,14 @@ documents.onDidChangeContent(change => { kustoCodeScripts.set(change.document.uri, _getCodeScriptForDocumentOrNewCodeScript(change.document)); } else { const beforeChange = _getCodeScriptForDocumentOrNewCodeScript(change.document); - kustoCodeScripts.set(change.document.uri, beforeChange.WithText(change.document.getText())); + if (beforeChange) { + kustoCodeScripts.set(change.document.uri, beforeChange.WithText(change.document.getText())); + } } validateTextDocument(change.document); }); -function _getCodeScriptForDocumentOrNewCodeScript(document: TextDocument) : Kusto.Language.Editor.CodeScript { +function _getCodeScriptForDocumentOrNewCodeScript(document: TextDocument) : Kusto.Language.Editor.CodeScript | null { return ( kustoCodeScripts.get(document.uri) || Kusto.Language.Editor.CodeScript.From$1(document.getText(), kustoGlobalState) @@ -198,21 +210,34 @@ async function validateTextDocument(textDocument: TextDocument): Promise { } const kustoCodeScript = _getCodeScriptForDocumentOrNewCodeScript(textDocument); + if (!kustoCodeScript) { + return; + } + let documentDiagnostics: Diagnostic[] = []; const blocks = kustoCodeScript.Blocks; + if (!blocks) { + return; + } for (let i=0; i < blocks.Count; i++) { - let block = blocks._items[i]; + let block = blocks.getItem(i); + if (!block.Service) { + continue; + } let diagnostics = block.Service.GetDiagnostics(); + if (!diagnostics) { + continue; + } for (let j=0; j < diagnostics.Count; j++) { - let diagnostic = diagnostics.Items._items[j]; + let diagnostic = diagnostics.getItem(j); documentDiagnostics.push({ severity: DiagnosticSeverity.Error, range: { start: textDocument.positionAt(diagnostic.Start), end: textDocument.positionAt(diagnostic.End) }, - message: diagnostic.Message + message: diagnostic.Message || 'unknown error' }) } } @@ -234,14 +259,18 @@ connection.onCompletion( // info and always provide the same completion items. const kustoCodeScript = kustoCodeScripts.get(_textDocumentPosition.textDocument.uri); - if (kustoCodeScript === undefined) { + if (!kustoCodeScript) { return []; } try { return getVSCodeCompletionItemsAtPosition(kustoCodeScript, _textDocumentPosition.position.line + 1, _textDocumentPosition.position.character + 1) } catch (e) { - connection.console.error(e); + if (e instanceof Error) { + connection.console.error(e.message); + } else if (typeof e === 'string') { + connection.console.error(e); + } return []; } } @@ -258,26 +287,39 @@ connection.onCompletionResolve( connection.onHover( (params: TextDocumentPositionParams): Hover | null => { const kustoCodeScript = kustoCodeScripts.get(params.textDocument.uri); - if (kustoCodeScript !== undefined) { - let position = {v:-1}; - let positionValid = kustoCodeScript.TryGetTextPosition(params.position.line + 1, params.position.character + 1, position); - const kustoCodeBlock = kustoCodeScript.GetBlockAtPosition(position.v); - const quickInfo = kustoCodeBlock.Service.GetQuickInfo(position.v); + if (!kustoCodeScript) { + return null; + } - return {contents: quickInfo.Text}; + let position = {v:-1}; + let positionValid = kustoCodeScript.TryGetTextPosition(params.position.line + 1, params.position.character + 1, position); + const kustoCodeBlock = kustoCodeScript.GetBlockAtPosition(position.v); + if (!kustoCodeBlock || !kustoCodeBlock.Service) { + return null; } - return null; + + const quickInfo = kustoCodeBlock.Service.GetQuickInfo(position.v); + + if (!quickInfo || !quickInfo.Text) { + return null; + } + + return {contents: quickInfo.Text || ''}; } ) connection.onDocumentFormatting( (params: DocumentFormattingParams): TextEdit[] | null => { const kustoCodeScript = kustoCodeScripts.get(params.textDocument.uri); - if (kustoCodeScript === undefined) { + if (!kustoCodeScript) { + return null; + } + + let formatted = formatCodeScript(kustoCodeScript); + if (!formatted) { return null; } - let formatted: string = formatCodeScript(kustoCodeScript); let changes:TextEdit[] = [TextEdit.replace({ start: {line: 0, character: 0}, end: {line: Number.MAX_VALUE, character: Number.MAX_VALUE} diff --git a/kusto-language-server/server/src/typings/MissingFromBridge.d.ts b/kusto-language-server/server/src/typings/MissingFromBridge.d.ts deleted file mode 100644 index 09d8a5b..0000000 --- a/kusto-language-server/server/src/typings/MissingFromBridge.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -declare module System.Collections.Generic { - - export interface IReadOnlyCollection$1 { - Count: number; - } - export function IReadOnlyCollection$1(t: Bridge.TypeRef): { - prototype: IReadOnlyCollection$1; - } - - export interface IReadOnlyList$1 extends IReadOnlyCollection$1 { - get(key: number): T; - // TODO find a better way to access a member, since getItem conflicts - // with SyntaxList and get doesn't work for some reason. - _items: T[]; - Items: IReadOnlyList$1; - } - - export function IReadOnlyList$1(t: Bridge.TypeRef): { - prototype: IReadOnlyList$1; - } - - export interface IReadOnlyDictionary$2 { - get(key: TKey): TValue; - Keys: ICollection$1; - Values: ICollection$1; - Count: number; - containsKey(key: TKey): boolean; - tryGetValue(key: TKey, value: { v: TValue }): boolean; - } - export function IReadOnlyDictionary$2(tKey: Bridge.TypeRef, tValue: Bridge.TypeRef): { - prototype: IReadOnlyDictionary$2; - } -} \ No newline at end of file diff --git a/kusto-language-server/server/src/typings/refs.d.ts b/kusto-language-server/server/src/typings/refs.d.ts deleted file mode 100644 index 440236d..0000000 --- a/kusto-language-server/server/src/typings/refs.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/// - -declare interface String { - endsWith(searchString: string, length?: number ):boolean; -} - -declare module System { - export interface StringComparison {} -} - -/** - * For Some reason Bridge.Net doesn't bother to generate declarations for this one. - */ -declare module System.Text.RegularExpressions { - export interface Regex{ - } - - export interface Match {} - export interface MatchCollection {} -} \ No newline at end of file diff --git a/kusto-language-server/server/tsconfig.json b/kusto-language-server/server/tsconfig.json index 974842f..94d1726 100644 --- a/kusto-language-server/server/tsconfig.json +++ b/kusto-language-server/server/tsconfig.json @@ -3,10 +3,12 @@ "target": "es6", "module": "commonjs", "moduleResolution": "node", + "skipLibCheck": true, "sourceMap": true, "strict": true, "outDir": "out", - "rootDir": "src" + "rootDir": "src", + "types": ["@kusto/language-service-next"] }, "include": ["src"], "exclude": ["node_modules", ".vscode-test"]