@arcgis/api-extractor 5.2.0-next.122 → 5.2.0-next.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { p as ti, r as
|
|
2
|
-
import { buildViewUrl as
|
|
1
|
+
import { p as ti, r as An } from "./config-C9uAPo7G.js";
|
|
2
|
+
import { buildViewUrl as Gn, getDefaultBasePath as Fn, getViewUrl as ze, postProcessDeprecated as ce, postProcessDescription as Q, postProcessDocsTags as oe, resolveJsDocLink as On } from "./extractor/processing/links.js";
|
|
3
3
|
import l from "typescript";
|
|
4
4
|
import { toPosixPathSeparators as _i, path as re } from "@arcgis/node-toolkit/path";
|
|
5
|
-
import { mkdir as
|
|
6
|
-
import { g as fe, a as ii, b as
|
|
7
|
-
import { maybeEscapePropertyName as mi, printTypeAlias as wt, printInterface as
|
|
8
|
-
import { globalPackageIdentifier as ie, mergeApiNodes as ni, isApiMethodAsync as
|
|
5
|
+
import { mkdir as Nt, writeFile as Hi } from "fs/promises";
|
|
6
|
+
import { g as fe, a as ii, b as Pt, c as R, p as J, d as Mt, e as Ki, f as Ae, h as Xe, i as Nn, j as zi, k as wn } from "./privateContext-DR6YTcm2.js";
|
|
7
|
+
import { maybeEscapePropertyName as mi, printTypeAlias as wt, printInterface as $n, printFunction as Un, printVariable as Wn, printClass as Bn, printMethod as Vn, printProperty as Le, printGetterSetter as _n, printSignature as Hn, printTypeParameters as st } from "./utils/partPrinter.js";
|
|
8
|
+
import { globalPackageIdentifier as ie, mergeApiNodes as ni, isApiMethodAsync as Kn, getApiNodeLabel as zn, apiTypeToImportType as $t, getApiMemberName as ji, getMaybeStaticApiMemberName as Ut, naturalSortModules as jn, compareNamedNodes as Jn, compareClassMembers as qn } from "./utils/apiHelpers.js";
|
|
9
9
|
import { styleText as G } from "node:util";
|
|
10
|
-
import { readFile as ui, opendir as fi, rm as
|
|
11
|
-
import { existsAsync as
|
|
12
|
-
import { pathIsComponentEntrypoint as
|
|
13
|
-
import { getBasename as ae, getPackageNameFromExternalSpecifier as
|
|
14
|
-
import { renameComponentFolder as at, addComponentPathMapping as
|
|
15
|
-
import
|
|
16
|
-
import { readFileSync as Ji, existsSync as
|
|
10
|
+
import { readFile as ui, opendir as fi, rm as Xn } from "node:fs/promises";
|
|
11
|
+
import { existsAsync as Qn } from "@arcgis/node-toolkit/file";
|
|
12
|
+
import { pathIsComponentEntrypoint as Yn, findDeclaredComponent as Zn } from "./extractor/webComponent/findComponents.js";
|
|
13
|
+
import { getBasename as ae, getPackageNameFromExternalSpecifier as Wt, extractInitializer as ft, extractBooleanInitializer as pe, findDecorator as je, getMemberName as Fe } from "./utils/astHelpers.js";
|
|
14
|
+
import { renameComponentFolder as at, addComponentPathMapping as eo } from "./extractor/webComponent/pathMapping.js";
|
|
15
|
+
import to from "path";
|
|
16
|
+
import { readFileSync as Ji, existsSync as De, opendirSync as io, watch as no, statSync as oo } from "node:fs";
|
|
17
17
|
import { isBuiltin as qi } from "node:module";
|
|
18
|
-
import { getWidenedLiteralType as
|
|
18
|
+
import { getWidenedLiteralType as ro, unsafeUndocumentedTs as so, unsafeGetUndocumentedPrinter as ao } from "./utils/internalTypeScriptApis.js";
|
|
19
19
|
import { retrievePackageJson as yi } from "@arcgis/node-toolkit/packageJson";
|
|
20
|
-
import { uncapitalize as
|
|
21
|
-
import { styleText as
|
|
22
|
-
import { identity as Qi, debounce as
|
|
23
|
-
import { hasRuntimeDeclaration as
|
|
24
|
-
import { getSystemVersion as
|
|
20
|
+
import { uncapitalize as lo, camelToKebab as co, kebabToPascal as Xi } from "@arcgis/toolkit/string";
|
|
21
|
+
import { styleText as yt } from "util";
|
|
22
|
+
import { identity as Qi, debounce as po } from "@arcgis/toolkit/function";
|
|
23
|
+
import { hasRuntimeDeclaration as mo } from "./utils/inferEntrypoints.js";
|
|
24
|
+
import { getSystemVersion as uo } from "@arcgis/node-toolkit/workspace";
|
|
25
25
|
function Oe(e) {
|
|
26
26
|
const t = [], n = e, i = e;
|
|
27
27
|
if (e.deprecated && t.push({
|
|
@@ -79,7 +79,7 @@ function Rt(e) {
|
|
|
79
79
|
const t = e, n = e.name + (t.default !== void 0 ? `=${t.default}` : ""), i = n.length > 0 ? `[${n}]` : "", o = typeof e.deprecated == "string" ? `DEPRECATED ${e.deprecated}` : e.description ?? "", r = o.length > 0 ? ` - ${o}` : "";
|
|
80
80
|
return `${i}${r}`;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function fo(e) {
|
|
83
83
|
const t = e.description ?? "", n = t.length === 0, i = e.docsTags, o = (
|
|
84
84
|
// Has 2+ tags, or multi-line description, or single tag and single line description
|
|
85
85
|
i.length + (n ? 0 : t.includes(`
|
|
@@ -101,7 +101,7 @@ function uo(e) {
|
|
|
101
101
|
return r += o ? `
|
|
102
102
|
` : " ", r;
|
|
103
103
|
}
|
|
104
|
-
const kt = 10,
|
|
104
|
+
const kt = 10, yo = 32, go = 64;
|
|
105
105
|
function gi(e) {
|
|
106
106
|
let t = "";
|
|
107
107
|
const n = e.length;
|
|
@@ -112,17 +112,17 @@ function gi(e) {
|
|
|
112
112
|
t += e.slice(i, o), e.charCodeAt(o + 1) === kt ? t += `
|
|
113
113
|
*` : t += `
|
|
114
114
|
* `, i = o + 1;
|
|
115
|
-
else if (r ===
|
|
115
|
+
else if (r === go) {
|
|
116
116
|
const a = o === 0 ? 0 : e.charCodeAt(o - 1);
|
|
117
|
-
(o === 0 || a ===
|
|
117
|
+
(o === 0 || a === yo || a === kt) && (t += e.slice(i, o), t += "\\@", i = o + 1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
return i < n && (t += e.slice(i)), t;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function ve(e, t, n) {
|
|
123
123
|
return Yi(e, t, n) ?? void 0;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function gt(e, t, n, i) {
|
|
126
126
|
const o = Yi(e, t, n);
|
|
127
127
|
return o === void 0 ? i : o ?? void 0;
|
|
128
128
|
}
|
|
@@ -146,9 +146,9 @@ If this is meant to be a function overload, read the documentation: https://webg
|
|
|
146
146
|
if (o === void 0)
|
|
147
147
|
return;
|
|
148
148
|
const r = n.config.documentation.omitInternal;
|
|
149
|
-
return
|
|
149
|
+
return vo(o, t, r, n);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function vo(e, t, n, i) {
|
|
152
152
|
if (t && !e.includes("* @public") && (n || !e.includes("* @internal")))
|
|
153
153
|
return null;
|
|
154
154
|
const o = e.length - 2;
|
|
@@ -179,8 +179,8 @@ function go(e, t, n, i) {
|
|
|
179
179
|
return null;
|
|
180
180
|
t = !1;
|
|
181
181
|
} else y === "public" ? (t = !1, d = !0) : d = y === "privateRemarks";
|
|
182
|
-
const
|
|
183
|
-
c = y, p =
|
|
182
|
+
const v = f === -1 ? "" : u.slice(f + 1);
|
|
183
|
+
c = y, p = v;
|
|
184
184
|
} else c !== void 0 ? p = `${p}
|
|
185
185
|
${u}` : a += `${u}
|
|
186
186
|
`;
|
|
@@ -195,7 +195,7 @@ ${u}` : a += `${u}
|
|
|
195
195
|
docsTags: s
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function So(e, t) {
|
|
199
199
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
200
200
|
const i = t.docsTags[n], { name: o, text: r } = i;
|
|
201
201
|
o === "deprecated" ? e.deprecated = r || !0 : (e.docsTags ??= [], e.docsTags.push(i));
|
|
@@ -210,11 +210,11 @@ function Zi(e, t) {
|
|
|
210
210
|
else if (i === H.private)
|
|
211
211
|
e.privacy = "private";
|
|
212
212
|
else if (o === "csspart")
|
|
213
|
-
e.cssParts ??= [], e.cssParts.push(
|
|
213
|
+
e.cssParts ??= [], e.cssParts.push(Lt(r));
|
|
214
214
|
else if (o === "cssstate")
|
|
215
|
-
e.cssStates ??= [], e.cssStates.push(
|
|
215
|
+
e.cssStates ??= [], e.cssStates.push(Lt(r));
|
|
216
216
|
else if (o === "slot")
|
|
217
|
-
e.slots ??= [], e.slots.push(
|
|
217
|
+
e.slots ??= [], e.slots.push(Lt(r));
|
|
218
218
|
else if (o === "esriCompatibilityName") {
|
|
219
219
|
const a = fe(e);
|
|
220
220
|
a.esriCompatibilityNames ??= [], a.esriCompatibilityNames.push(r ?? "");
|
|
@@ -222,7 +222,7 @@ function Zi(e, t) {
|
|
|
222
222
|
}
|
|
223
223
|
e.description = t.description;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
225
|
+
function ho(e, t) {
|
|
226
226
|
const n = e, i = [];
|
|
227
227
|
for (let o = 0; o < t.docsTags.length; ++o) {
|
|
228
228
|
const r = t.docsTags[o], { name: a, text: s } = r;
|
|
@@ -235,21 +235,21 @@ function So(e, t) {
|
|
|
235
235
|
else if (a === "returns")
|
|
236
236
|
n.return.description = r.text;
|
|
237
237
|
else if (a === "esriCompatibilityName") {
|
|
238
|
-
const c =
|
|
238
|
+
const c = Pt(e);
|
|
239
239
|
c.esriCompatibilityNames ??= [], c.esriCompatibilityNames.push(s ?? "");
|
|
240
240
|
} else
|
|
241
241
|
e.docsTags ??= [], e.docsTags.push(r);
|
|
242
242
|
}
|
|
243
243
|
return e.description = t.description, i;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Co(e, t) {
|
|
246
246
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
247
247
|
const i = t.docsTags[n], { name: o, text: r } = i;
|
|
248
248
|
o === "deprecated" ? e.deprecated = r || !0 : o === "default" ? e.default = r : i === H.readonly ? e.readonly = !0 : i === H.private ? e.privacy = "private" : (e.docsTags ??= [], e.docsTags.push(i));
|
|
249
249
|
}
|
|
250
250
|
e.description = t.description;
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function To(e, t) {
|
|
253
253
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
254
254
|
const i = t.docsTags[n], { name: o, text: r } = i;
|
|
255
255
|
if (o === "deprecated")
|
|
@@ -264,14 +264,14 @@ function Co(e, t) {
|
|
|
264
264
|
}
|
|
265
265
|
e.description = t.description;
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Eo(e, t) {
|
|
268
268
|
for (let n = 0; n < t.docsTags.length; ++n) {
|
|
269
269
|
const i = t.docsTags[n], { name: o, text: r } = i;
|
|
270
270
|
o === "deprecated" ? e.deprecated = r || !0 : i === H.private ? e.privacy = "private" : (e.docsTags ??= [], e.docsTags.push(i));
|
|
271
271
|
}
|
|
272
272
|
e.description = t.description;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Lt(e) {
|
|
275
275
|
if (e === void 0)
|
|
276
276
|
return {
|
|
277
277
|
name: "",
|
|
@@ -339,26 +339,26 @@ const H = {
|
|
|
339
339
|
description: void 0,
|
|
340
340
|
docsTags: [H.private]
|
|
341
341
|
};
|
|
342
|
-
function
|
|
342
|
+
function bo(e, t, n) {
|
|
343
343
|
switch (t.path) {
|
|
344
344
|
case "layers/FeatureLayer": {
|
|
345
345
|
const i = "export default class FeatureLayer extends FeatureLayerSuperclass {", o = e.indexOf(i);
|
|
346
346
|
if (o === -1)
|
|
347
347
|
return n.emitError(
|
|
348
348
|
`Hardcoded behavior error: Expected .d.ts for FeatureLayer to include "${i}".`,
|
|
349
|
-
{ file:
|
|
349
|
+
{ file: R(t).file, node: void 0 }
|
|
350
350
|
), e;
|
|
351
351
|
const r = 'get type(): "feature";', a = e.indexOf(r);
|
|
352
352
|
if (a === -1)
|
|
353
353
|
return n.emitError(
|
|
354
354
|
`Hardcoded behavior error: Expected .d.ts for FeatureLayer to include "${r}".`,
|
|
355
|
-
{ file:
|
|
355
|
+
{ file: R(t).file, node: void 0 }
|
|
356
356
|
), e;
|
|
357
357
|
const s = a + r.length, c = e.lastIndexOf("/**", a);
|
|
358
358
|
if (c === -1)
|
|
359
359
|
return n.emitError(
|
|
360
360
|
`Hardcoded behavior error: Expected .d.ts for FeatureLayer to include JSDoc for "${r}".`,
|
|
361
|
-
{ file:
|
|
361
|
+
{ file: R(t).file, node: void 0 }
|
|
362
362
|
), e;
|
|
363
363
|
const p = `export default class FeatureLayer extends __FeatureLayerSansType {
|
|
364
364
|
${e.slice(c, s)}
|
|
@@ -372,7 +372,7 @@ export abstract class __FeatureLayerSansType extends FeatureLayerSuperclass {`;
|
|
|
372
372
|
`, r = e.indexOf(o);
|
|
373
373
|
return r === -1 ? (n.emitError(
|
|
374
374
|
`Hardcoded behavior error: Expected .d.ts for ${t.path} to include "${o}".`,
|
|
375
|
-
{ file:
|
|
375
|
+
{ file: R(t).file, node: void 0 }
|
|
376
376
|
), e) : i + e.slice(0, r) + `extends __FeatureLayerSansType {
|
|
377
377
|
` + e.slice(r + o.length);
|
|
378
378
|
}
|
|
@@ -393,29 +393,29 @@ export namespace tsx {
|
|
|
393
393
|
return e;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function Po(e, t) {
|
|
397
397
|
let n = `/// <reference types="../index.d.ts" />
|
|
398
398
|
`, i = `
|
|
399
399
|
|
|
400
|
-
`, o = "", r = "", a = "", s = "", c = "", p = "", d = "", m = "", u = "", f = "", y = "",
|
|
400
|
+
`, o = "", r = "", a = "", s = "", c = "", p = "", d = "", m = "", u = "", f = "", y = "", v = "";
|
|
401
401
|
for (let x = 0; x < e.length; ++x) {
|
|
402
|
-
const
|
|
403
|
-
for (let O = 0; O <
|
|
404
|
-
const q =
|
|
402
|
+
const k = e[x];
|
|
403
|
+
for (let O = 0; O < k.declarations.length; ++O) {
|
|
404
|
+
const q = k.declarations[O];
|
|
405
405
|
if (q.customElement !== !0)
|
|
406
406
|
continue;
|
|
407
407
|
const W = q;
|
|
408
408
|
if (W.privacy !== void 0 || W.abstract === !0)
|
|
409
409
|
continue;
|
|
410
410
|
const { name: $, tagName: V, pascalCaseName: U, events: z } = W;
|
|
411
|
-
i += `import type { ${$} } from "./${
|
|
412
|
-
`, n += `import type { ${$} } from "../${
|
|
411
|
+
i += `import type { ${$} } from "./${k.path}/customElement.js";
|
|
412
|
+
`, n += `import type { ${$} } from "../${k.path}/customElement.js";
|
|
413
413
|
`;
|
|
414
|
-
const [Ie, it] =
|
|
414
|
+
const [Ie, it] = Mo(W.name, W.members);
|
|
415
415
|
let ye = "", ne = "";
|
|
416
416
|
if (z !== void 0) {
|
|
417
|
-
for (let
|
|
418
|
-
const nt = z[
|
|
417
|
+
for (let Pe = 0; Pe < z.length; ++Pe) {
|
|
418
|
+
const nt = z[Pe], pi = `EventHandler<${$}["${nt.name}"]>`;
|
|
419
419
|
ye += ` ${mi(`on${nt.name}`)}?: ${pi};
|
|
420
420
|
`, ne += ` ${mi(`on${nt.name[0].toUpperCase()}${nt.name.slice(1)}`)}?: ${pi};
|
|
421
421
|
`;
|
|
@@ -447,16 +447,16 @@ ${ye}}
|
|
|
447
447
|
${ne}}
|
|
448
448
|
|
|
449
449
|
`, y += ` "${V}": Stencil${U};
|
|
450
|
-
`, it !== "" && (
|
|
450
|
+
`, it !== "" && (v += it);
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
if (r === "") {
|
|
454
454
|
t.vanillaComponentTypes = "";
|
|
455
455
|
return;
|
|
456
456
|
}
|
|
457
|
-
const
|
|
457
|
+
const S = "@arcgis/lumina";
|
|
458
458
|
t.vanillaComponentTypes = `${i}
|
|
459
|
-
export { ToEvents, TargetedEvent } from "${
|
|
459
|
+
export { ToEvents, TargetedEvent } from "${S}";
|
|
460
460
|
|
|
461
461
|
${o}
|
|
462
462
|
|
|
@@ -468,40 +468,40 @@ ${a}
|
|
|
468
468
|
${r}
|
|
469
469
|
}`;
|
|
470
470
|
const T = `import "./index.js";
|
|
471
|
-
export declare const defineCustomElements: import("${
|
|
471
|
+
export declare const defineCustomElements: import("${S}").DefineCustomElements;`, h = `${t.config.context.dtsEmitPath}loader.d.ts`;
|
|
472
472
|
t.dtsFiles.set(h, T);
|
|
473
|
-
const E = `${n}import type { h, EventHandler } from "${
|
|
473
|
+
const E = `${n}import type { h, EventHandler } from "${S}";
|
|
474
474
|
|
|
475
|
-
${
|
|
475
|
+
${v}${s}declare module "@arcgis/lumina" {
|
|
476
476
|
export namespace h.JSX {
|
|
477
477
|
interface IntrinsicElements {
|
|
478
478
|
${c} }
|
|
479
479
|
}
|
|
480
480
|
}`, M = ` interface IntrinsicElements {
|
|
481
481
|
${d} }`, b = `${n}import { HTMLAttributes } from "preact";
|
|
482
|
-
import type { EventHandler } from "${
|
|
482
|
+
import type { EventHandler } from "${S}";
|
|
483
483
|
|
|
484
|
-
${
|
|
484
|
+
${v}${p}declare module 'preact' {
|
|
485
485
|
namespace createElement.JSX {
|
|
486
486
|
${M}
|
|
487
487
|
}
|
|
488
488
|
namespace h.JSX {
|
|
489
489
|
${M}
|
|
490
490
|
}
|
|
491
|
-
}`,
|
|
491
|
+
}`, g = `
|
|
492
492
|
namespace JSX {
|
|
493
493
|
interface IntrinsicElements {
|
|
494
494
|
${u} }
|
|
495
495
|
}
|
|
496
496
|
`, L = `${n}import type { HTMLProps } from 'react';
|
|
497
|
-
import type { EventHandler } from "${
|
|
497
|
+
import type { EventHandler } from "${S}";
|
|
498
498
|
|
|
499
|
-
${
|
|
500
|
-
declare module "react/jsx-runtime" {${
|
|
501
|
-
declare module "react/jsx-dev-runtime" {${
|
|
502
|
-
import type { EventHandler } from "${
|
|
499
|
+
${v}${m}declare module "react" {${g}}
|
|
500
|
+
declare module "react/jsx-runtime" {${g}}
|
|
501
|
+
declare module "react/jsx-dev-runtime" {${g}}`, D = `${n}import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
502
|
+
import type { EventHandler } from "${S}";
|
|
503
503
|
|
|
504
|
-
${
|
|
504
|
+
${v}${f}interface ExposedElements {
|
|
505
505
|
${y}}
|
|
506
506
|
|
|
507
507
|
export namespace JSX {
|
|
@@ -513,10 +513,10 @@ declare module "@stencil/core" {
|
|
|
513
513
|
interface IntrinsicElements extends ExposedElements {}
|
|
514
514
|
}
|
|
515
515
|
}`, P = `/** @deprecated import from stencil.d.ts instead */
|
|
516
|
-
export * from "./stencil.js";`, C = `${t.config.context.dtsEmitPath}types/`,
|
|
517
|
-
t.dtsFiles.set(
|
|
516
|
+
export * from "./stencil.js";`, C = `${t.config.context.dtsEmitPath}types/`, N = `${C}lumina.d.ts`, F = `${C}preact.d.ts`, w = `${C}react.d.ts`, B = `${C}stencil.d.ts`, I = `${C}components.d.ts`;
|
|
517
|
+
t.dtsFiles.set(N, E), t.dtsFiles.set(F, b), t.dtsFiles.set(w, L), t.dtsFiles.set(B, D), t.dtsFiles.set(I, P);
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Mo(e, t) {
|
|
520
520
|
const n = [], i = [];
|
|
521
521
|
let o = !1;
|
|
522
522
|
if (t !== void 0)
|
|
@@ -536,17 +536,17 @@ function Po(e, t) {
|
|
|
536
536
|
` : "";
|
|
537
537
|
return [r.length === 0 ? "" : `${r}, `, a];
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function xo(e, t) {
|
|
540
540
|
const n = t.moduleMap.get("index");
|
|
541
541
|
if (n === void 0)
|
|
542
|
-
e.unshift(
|
|
542
|
+
e.unshift(Io);
|
|
543
543
|
else {
|
|
544
|
-
const i =
|
|
544
|
+
const i = R(n);
|
|
545
545
|
i.index.named.getAssetPath === void 0 && n.declarations.push(tn), i.index.named.setAssetPath === void 0 && n.declarations.push(nn);
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
548
|
const en = "@setterTypes", tn = {
|
|
549
|
-
[J]:
|
|
549
|
+
[J]: Mt(),
|
|
550
550
|
kind: "function",
|
|
551
551
|
name: "getAssetPath",
|
|
552
552
|
static: void 0,
|
|
@@ -588,7 +588,7 @@ const en = "@setterTypes", tn = {
|
|
|
588
588
|
privacy: void 0,
|
|
589
589
|
source: void 0
|
|
590
590
|
}, nn = {
|
|
591
|
-
[J]:
|
|
591
|
+
[J]: Mt(),
|
|
592
592
|
kind: "function",
|
|
593
593
|
name: "setAssetPath",
|
|
594
594
|
static: void 0,
|
|
@@ -652,7 +652,7 @@ browser will load the assets from.`,
|
|
|
652
652
|
source: void 0
|
|
653
653
|
}, on = Ki(void 0, "index", {}, { class: void 0, default: void 0, named: {} });
|
|
654
654
|
on.importsText = "";
|
|
655
|
-
const
|
|
655
|
+
const Io = {
|
|
656
656
|
[J]: on,
|
|
657
657
|
kind: "javascript-module",
|
|
658
658
|
path: "index",
|
|
@@ -720,8 +720,8 @@ function Vt(e, t) {
|
|
|
720
720
|
}
|
|
721
721
|
return !0;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
const n = Oe(e), i =
|
|
723
|
+
function Do(e, t) {
|
|
724
|
+
const n = Oe(e), i = Ne(n), o = R(e);
|
|
725
725
|
if (o.index.class?.privacy !== void 0)
|
|
726
726
|
return e.declarations.length > 1 && t.emitError(
|
|
727
727
|
`Did not expect to find any public declarations in a module that declares a private web component. Found: ${e.declarations.filter((s) => s !== o.index.class).map((s) => s.name).join(", ")}`,
|
|
@@ -755,28 +755,28 @@ function Io(e, t) {
|
|
|
755
755
|
r += `${o.namespaces[s]}
|
|
756
756
|
|
|
757
757
|
`;
|
|
758
|
-
o.constructorPropertiesInterface !== void 0 ? r += `${
|
|
758
|
+
o.constructorPropertiesInterface !== void 0 ? r += `${At(o.constructorPropertiesInterface)}
|
|
759
759
|
|
|
760
760
|
` : o.componentCssPropertiesInterface !== void 0 && (r += `declare module "@arcgis/lumina" {
|
|
761
|
-
${
|
|
761
|
+
${At(o.componentCssPropertiesInterface)}
|
|
762
762
|
}
|
|
763
763
|
|
|
764
764
|
`);
|
|
765
765
|
const a = e.declarations;
|
|
766
766
|
for (let s = 0; s < a.length; ++s) {
|
|
767
767
|
const c = a[s];
|
|
768
|
-
r +=
|
|
768
|
+
r += At(c), s < a.length - 1 && (r += `
|
|
769
769
|
|
|
770
770
|
`);
|
|
771
771
|
}
|
|
772
|
-
return t.isJsApi ?
|
|
772
|
+
return t.isJsApi ? bo(r, e, t) : (t.isComponentProject && (e.exports?.[0].kind === "custom-element-definition" ? r = `/// <reference path="../../index.d.ts" />
|
|
773
773
|
${r}` : e.path === "index" && (r += t.vanillaComponentTypes)), r);
|
|
774
774
|
}
|
|
775
|
-
function
|
|
776
|
-
return e === void 0 ? "" : `/*${
|
|
775
|
+
function Ne(e) {
|
|
776
|
+
return e === void 0 ? "" : `/*${fo(e)}*/
|
|
777
777
|
`;
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function At(e) {
|
|
780
780
|
let t = Oe(e), n = "";
|
|
781
781
|
if (e.kind === "class" || e.kind === "mixin")
|
|
782
782
|
n = vi(e);
|
|
@@ -800,7 +800,7 @@ function Lt(e) {
|
|
|
800
800
|
s !== "" ? a = a === void 0 ? `{${s}}` : `${a} & {${s}}` : a === void 0 && e.supertypes === void 0 && (a = "{}"), n = wt(e.name, e.typeParameters, e.supertypes, a);
|
|
801
801
|
} else {
|
|
802
802
|
const a = _t(e);
|
|
803
|
-
n =
|
|
803
|
+
n = $n(
|
|
804
804
|
o.isDefaultExported === !0,
|
|
805
805
|
e.name,
|
|
806
806
|
e.typeParameters,
|
|
@@ -809,8 +809,8 @@ function Lt(e) {
|
|
|
809
809
|
);
|
|
810
810
|
}
|
|
811
811
|
} else if (e.kind === "function") {
|
|
812
|
-
const o =
|
|
813
|
-
n =
|
|
812
|
+
const o = Pt(e);
|
|
813
|
+
n = Un(
|
|
814
814
|
o.isDefaultExported === !0,
|
|
815
815
|
e.name,
|
|
816
816
|
e.typeParameters,
|
|
@@ -819,15 +819,15 @@ function Lt(e) {
|
|
|
819
819
|
);
|
|
820
820
|
} else if (e.kind === "variable") {
|
|
821
821
|
const o = ii(e);
|
|
822
|
-
n +=
|
|
822
|
+
n += Wn(o.isDefaultExported === !0, e.name, e.type.text);
|
|
823
823
|
}
|
|
824
|
-
return `${
|
|
824
|
+
return `${Ne(t)}${n}`;
|
|
825
825
|
}
|
|
826
826
|
function vi(e) {
|
|
827
827
|
const t = fe(e), n = t.isDefaultExported === !0, i = _t(e), o = e, r = e;
|
|
828
828
|
let a, s = o.mixins ?? r.supertypes;
|
|
829
829
|
s === void 0 ? o.superclass !== void 0 && (a = Ae(o.superclass)) : o.superclass === void 0 && s.length === 1 ? (a = Ae(s[0]), s = void 0) : a = `${e.name}Superclass`;
|
|
830
|
-
let c =
|
|
830
|
+
let c = Bn(
|
|
831
831
|
t.shouldPrintAbstract === !0,
|
|
832
832
|
n,
|
|
833
833
|
e.name,
|
|
@@ -854,7 +854,7 @@ function _t(e) {
|
|
|
854
854
|
let a = ko;
|
|
855
855
|
if (i.eventTypesProperty.description !== void 0 || i.eventTypesProperty.docsTags !== void 0) {
|
|
856
856
|
const c = Oe(i.eventTypesProperty);
|
|
857
|
-
a =
|
|
857
|
+
a = Ne(c);
|
|
858
858
|
}
|
|
859
859
|
const s = Si(i.eventTypesProperty);
|
|
860
860
|
n += `${a}${s}
|
|
@@ -868,7 +868,7 @@ function _t(e) {
|
|
|
868
868
|
if (c.inheritedFrom !== void 0 || c.privacy === "private")
|
|
869
869
|
continue;
|
|
870
870
|
const d = Oe(c);
|
|
871
|
-
n +=
|
|
871
|
+
n += Ne(d), c.kind === "field" ? (r && c.getterType !== void 0 && (a += ` ${Le(!1, !1, !1, !1, !1, c.docsTags?.includes(H.required) !== !0, c.name, c.type.text)}
|
|
872
872
|
`), n += Si(c)) : n += rn(c, !1), n += `
|
|
873
873
|
`;
|
|
874
874
|
}
|
|
@@ -889,7 +889,7 @@ ${a}}`)}
|
|
|
889
889
|
const p = o.events[c];
|
|
890
890
|
if (p.inheritedFrom === void 0) {
|
|
891
891
|
const d = Oe(p);
|
|
892
|
-
n += `${
|
|
892
|
+
n += `${Ne(d)}${Le(!1, !1, !1, !0, !1, !1, p.name, `import("${Ro}").TargetedEvent<this, ${p.type.text}>`)}
|
|
893
893
|
`;
|
|
894
894
|
}
|
|
895
895
|
s += ` ${Le(!1, !1, !1, !1, !1, !1, p.name, `${a}["${p.name}"]["detail"]`)}
|
|
@@ -909,7 +909,7 @@ function Si(e) {
|
|
|
909
909
|
let t = "";
|
|
910
910
|
const n = Xe(e), i = n.isAccessor === !0, o = e.readonly === !0;
|
|
911
911
|
if (e.getterType !== void 0 || i && o)
|
|
912
|
-
t +=
|
|
912
|
+
t += _n(
|
|
913
913
|
e.privacy !== void 0,
|
|
914
914
|
n.isAbstract === !0,
|
|
915
915
|
e.static === !0,
|
|
@@ -933,8 +933,8 @@ function Si(e) {
|
|
|
933
933
|
return t;
|
|
934
934
|
}
|
|
935
935
|
function rn(e, t) {
|
|
936
|
-
const n =
|
|
937
|
-
return
|
|
936
|
+
const n = Pt(e);
|
|
937
|
+
return Vn(
|
|
938
938
|
e.privacy !== void 0,
|
|
939
939
|
n.isAbstract === !0,
|
|
940
940
|
e.static === !0,
|
|
@@ -945,7 +945,7 @@ function rn(e, t) {
|
|
|
945
945
|
e.return?.type.text
|
|
946
946
|
);
|
|
947
947
|
}
|
|
948
|
-
const ko =
|
|
948
|
+
const ko = Ne({
|
|
949
949
|
description: void 0,
|
|
950
950
|
docsTags: [
|
|
951
951
|
{
|
|
@@ -957,17 +957,17 @@ Use EventNames and EventTypes helpers from @arcgis/core/Evented`
|
|
|
957
957
|
});
|
|
958
958
|
function Je() {
|
|
959
959
|
const e = Date.now();
|
|
960
|
-
return () => (Date.now() - e) /
|
|
960
|
+
return () => (Date.now() - e) / Lo;
|
|
961
961
|
}
|
|
962
|
-
const
|
|
963
|
-
function
|
|
962
|
+
const Lo = 1e3;
|
|
963
|
+
function Ao(e) {
|
|
964
964
|
const t = e.indexOf("/");
|
|
965
965
|
return t === -1 ? e : e.slice(0, t);
|
|
966
966
|
}
|
|
967
967
|
function hi(e, t, n) {
|
|
968
968
|
if (!n.isComponentProject || n.config.context.isLuminaMinimalExtraction || n.config.documentation.publicStoryUrlPrefix === !1)
|
|
969
969
|
return;
|
|
970
|
-
const i = e.match(
|
|
970
|
+
const i = e.match(Go)?.[1];
|
|
971
971
|
if (i === void 0) {
|
|
972
972
|
n.emitError(
|
|
973
973
|
'Failed to find component tag name. Make sure the "component" property is present in the story meta. Documentation: https://webgis.esri.com/references/support-packages/storybook',
|
|
@@ -976,14 +976,14 @@ function hi(e, t, n) {
|
|
|
976
976
|
return;
|
|
977
977
|
}
|
|
978
978
|
const o = [];
|
|
979
|
-
for (const a of e.matchAll(
|
|
980
|
-
const s = a[1], c =
|
|
979
|
+
for (const a of e.matchAll(Fo)) {
|
|
980
|
+
const s = a[1], c = $o(s), p = e.indexOf("{", a.index), d = e.indexOf("}", p), m = e.slice(0, a.index).trimEnd();
|
|
981
981
|
let u = "";
|
|
982
982
|
if (m.endsWith("*/")) {
|
|
983
|
-
const
|
|
984
|
-
u = m.slice(
|
|
983
|
+
const v = m.lastIndexOf("/**");
|
|
984
|
+
u = m.slice(v + 3, -2).trim().replaceAll(No, "");
|
|
985
985
|
}
|
|
986
|
-
const f = e.slice(p, d).match(
|
|
986
|
+
const f = e.slice(p, d).match(Oo)?.[1] || c, y = wo(c);
|
|
987
987
|
o.push({
|
|
988
988
|
description: `${f}${u ? `
|
|
989
989
|
${u}` : ""}`,
|
|
@@ -1001,20 +1001,20 @@ ${u}` : ""}`,
|
|
|
1001
1001
|
const r = n.componentStories[i];
|
|
1002
1002
|
r === void 0 ? n.componentStories[i] = o : r.push(...o);
|
|
1003
1003
|
}
|
|
1004
|
-
const
|
|
1005
|
-
function
|
|
1004
|
+
const Go = /component: ["']([^"']+)["']/u, Fo = /export const (\w+)/gu, Oo = /name: ["']([^"']+)["']/u, No = /^\s*\*\s?/gmu, wo = (e) => e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>{}[\]\\/]/giu, "-").replace(/-+/gu, "-").replace(/^-+/u, "").replace(/-+$/u, ""), $o = (e) => e.replace(/_/gu, " ").replace(/-/gu, " ").replace(/\./gu, " ").replace(/([^\n])([A-Z])([a-z])/gu, (t, n, i, o) => `${n} ${i}${o}`).replace(/([a-z])([A-Z])/gu, (t, n, i) => `${n} ${i}`).replace(/([a-z])([0-9])/giu, (t, n, i) => `${n} ${i}`).replace(/([0-9])([a-z])/giu, (t, n, i) => `${n} ${i}`).replace(/(\s|^)(\w)/gu, (t, n, i) => `${n}${i.toUpperCase()}`).replace(/ +/gu, " ").trim();
|
|
1005
|
+
function Uo(e, t) {
|
|
1006
1006
|
if (t.config.context.isLuminaMinimalExtraction || t.componentTagName === void 0)
|
|
1007
1007
|
return;
|
|
1008
1008
|
const n = e.moduleSpecifier.text, i = /\.(?:css|s[ac]ss|less|styl(?:us)?|postcss|pcss|sss)(\\?|$)/u;
|
|
1009
1009
|
if (!(n.startsWith(".") && i.test(n)))
|
|
1010
1010
|
return;
|
|
1011
|
-
const r = n.split("?", 1)[0], a =
|
|
1011
|
+
const r = n.split("?", 1)[0], a = to.join(t.file.fileName, "..", r), s = Ji(a, "utf-8"), c = Wo(s);
|
|
1012
1012
|
c !== void 0 && (t.componentCssFileDocs = c);
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function Wo(e) {
|
|
1015
1015
|
const t = [];
|
|
1016
|
-
for (const n of e.matchAll(
|
|
1017
|
-
const i = n.groups.name, o = n.groups.description.replaceAll(
|
|
1016
|
+
for (const n of e.matchAll(Bo)) {
|
|
1017
|
+
const i = n.groups.name, o = n.groups.description.replaceAll(Vo, " ").trim();
|
|
1018
1018
|
t.push({
|
|
1019
1019
|
name: i,
|
|
1020
1020
|
deprecated: void 0,
|
|
@@ -1028,7 +1028,7 @@ function Uo(e) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
return t.length === 0 ? void 0 : t;
|
|
1030
1030
|
}
|
|
1031
|
-
const
|
|
1031
|
+
const Bo = /@prop\s+(?<name>--[\w-]+)\s*:(?<description>[^@/]+)/gu, Vo = /\n\s+\*? ?/gu;
|
|
1032
1032
|
function sn(e, t) {
|
|
1033
1033
|
if (e === void 0)
|
|
1034
1034
|
return !1;
|
|
@@ -1037,7 +1037,7 @@ function sn(e, t) {
|
|
|
1037
1037
|
return !0;
|
|
1038
1038
|
return !1;
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function xt(e) {
|
|
1041
1041
|
if (e.modifiers === void 0)
|
|
1042
1042
|
return 0;
|
|
1043
1043
|
for (let t = 0; t < e.modifiers.length; ++t)
|
|
@@ -1048,23 +1048,23 @@ function Mt(e) {
|
|
|
1048
1048
|
function an(e, t) {
|
|
1049
1049
|
return e.endsWith("Properties") && t.apiClassLikeName === e.slice(0, -10);
|
|
1050
1050
|
}
|
|
1051
|
-
const Vo = /* @__PURE__ */ JSON.parse('{"AacBitstreamFormat":[],"AacEncoderConfig":[],"AbortController":["AbortController"],"AbortSignal":["AbortSignal"],"AbortSignalEventMap":[],"AbstractRange":["AbstractRange"],"AbstractWorker":["error_event"],"AbstractWorkerEventMap":[],"ActiveXObject":[],"addEventListener":[],"AddEventListenerOptions":[],"AddressErrors":[],"AesCbcParams":[],"AesCtrParams":[],"AesDerivedKeyParams":[],"AesGcmParams":[],"AesKeyAlgorithm":[],"AesKeyGenParams":[],"AggregateError":[],"AggregateErrorConstructor":[],"alert":["Window/alert"],"Algorithm":[],"AlgorithmIdentifier":[],"AlignSetting":[],"AllAcceptedCredentialsOptions":[],"AllowSharedBufferSource":[],"AlphaOption":[],"AnalyserNode":["AnalyserNode"],"AnalyserOptions":[],"ANGLE_instanced_arrays":["ANGLE_instanced_arrays"],"Animatable":["animate"],"Animation":["Animation"],"AnimationEffect":["AnimationEffect"],"AnimationEvent":["AnimationEvent"],"AnimationEventInit":[],"AnimationEventMap":[],"AnimationFrameProvider":["cancelAnimationFrame"],"AnimationPlaybackEvent":["AnimationPlaybackEvent"],"AnimationPlaybackEventInit":[],"AnimationPlayState":[],"AnimationReplaceState":[],"AnimationTimeline":["AnimationTimeline"],"AppendMode":[],"ARIAMixin":["ariaActiveDescendantElement"],"Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array"],"ArrayBuffer":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"],"ArrayBufferConstructor":[],"ArrayBufferLike":[],"ArrayBufferTypes":[],"ArrayBufferView":[],"ArrayConstructor":[],"ArrayIterator":[],"ArrayLike":[],"AssignedNodesOptions":[],"AsyncDisposable":[],"AsyncDisposableStack":[],"AsyncDisposableStackConstructor":[],"AsyncGenerator":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator"],"AsyncGeneratorFunction":[],"AsyncGeneratorFunctionConstructor":[],"AsyncIterable":[],"AsyncIterableIterator":[],"AsyncIterator":[],"AsyncIteratorObject":[],"atob":["Window/atob"],"Atomics":[],"AttestationConveyancePreference":[],"Attr":["Attr"],"Audio":[],"AudioBuffer":["AudioBuffer"],"AudioBufferOptions":[],"AudioBufferSourceNode":["AudioBufferSourceNode"],"AudioBufferSourceOptions":[],"AudioConfiguration":[],"AudioContext":["AudioContext"],"AudioContextLatencyCategory":[],"AudioContextOptions":[],"AudioContextState":[],"AudioData":["AudioData"],"AudioDataCopyToOptions":[],"AudioDataInit":[],"AudioDataOutputCallback":[],"AudioDecoder":["AudioDecoder"],"AudioDecoderConfig":[],"AudioDecoderEventMap":[],"AudioDecoderInit":[],"AudioDecoderSupport":[],"AudioDestinationNode":["AudioDestinationNode"],"AudioEncoder":["AudioEncoder"],"AudioEncoderConfig":[],"AudioEncoderEventMap":[],"AudioEncoderInit":[],"AudioEncoderSupport":[],"AudioListener":["AudioListener"],"AudioNode":["AudioNode"],"AudioNodeOptions":[],"AudioParam":["AudioParam"],"AudioParamMap":["AudioParamMap"],"AudioProcessingEvent":["AudioProcessingEvent"],"AudioProcessingEventInit":[],"AudioSampleFormat":[],"AudioScheduledSourceNode":["AudioScheduledSourceNode"],"AudioScheduledSourceNodeEventMap":[],"AudioTimestamp":[],"AudioWorklet":["AudioWorklet"],"AudioWorkletNode":["AudioWorkletNode"],"AudioWorkletNodeEventMap":[],"AudioWorkletNodeOptions":[],"AuthenticationExtensionsClientInputs":[],"AuthenticationExtensionsClientInputsJSON":[],"AuthenticationExtensionsClientOutputs":[],"AuthenticationExtensionsClientOutputsJSON":[],"AuthenticationExtensionsLargeBlobInputs":[],"AuthenticationExtensionsLargeBlobInputsJSON":[],"AuthenticationExtensionsLargeBlobOutputs":[],"AuthenticationExtensionsLargeBlobOutputsJSON":[],"AuthenticationExtensionsPRFInputs":[],"AuthenticationExtensionsPRFInputsJSON":[],"AuthenticationExtensionsPRFOutputs":[],"AuthenticationExtensionsPRFOutputsJSON":[],"AuthenticationExtensionsPRFValues":[],"AuthenticationExtensionsPRFValuesJSON":[],"AuthenticationResponseJSON":[],"AuthenticatorAssertionResponse":["AuthenticatorAssertionResponse"],"AuthenticatorAssertionResponseJSON":[],"AuthenticatorAttachment":[],"AuthenticatorAttestationResponse":["AuthenticatorAttestationResponse"],"AuthenticatorAttestationResponseJSON":[],"AuthenticatorResponse":["AuthenticatorResponse"],"AuthenticatorSelectionCriteria":[],"AuthenticatorTransport":[],"AutoFill":[],"AutoFillAddressKind":[],"AutoFillBase":[],"AutoFillContactField":[],"AutoFillContactKind":[],"AutoFillCredentialField":[],"AutoFillField":[],"AutoFillNormalField":[],"AutoFillSection":[],"AutoKeyword":[],"AutomationRate":[],"AvcBitstreamFormat":[],"AvcEncoderConfig":[],"Awaited":["https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype"],"BarProp":["BarProp"],"Base64URLString":[],"BaseAudioContext":["BaseAudioContext"],"BaseAudioContextEventMap":[],"BeforeUnloadEvent":["BeforeUnloadEvent"],"BigInt":[],"BigInt64Array":[],"BigInt64ArrayConstructor":[],"BigIntConstructor":[],"BigInteger":[],"BigIntToLocaleStringOptions":[],"BigUint64Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint64Array"],"BigUint64ArrayConstructor":[],"BinaryType":[],"BiquadFilterNode":["BiquadFilterNode"],"BiquadFilterOptions":[],"BiquadFilterType":[],"BitrateMode":[],"Blob":["Blob"],"BlobCallback":[],"BlobEvent":["BlobEvent"],"BlobEventInit":[],"BlobPart":[],"BlobPropertyBag":[],"blur":["Window/blur"],"Body":["body"],"BodyInit":[],"Boolean":[],"BooleanConstructor":[],"BroadcastChannel":["BroadcastChannel"],"BroadcastChannelEventMap":[],"btoa":["Window/btoa"],"BufferSource":[],"BuiltinIteratorReturn":[],"ByteLengthQueuingStrategy":["ByteLengthQueuingStrategy"],"Cache":["Cache"],"CacheQueryOptions":[],"caches":[],"CacheStorage":["CacheStorage"],"CallableFunction":[],"cancelAnimationFrame":["DedicatedWorkerGlobalScope/cancelAnimationFrame"],"cancelIdleCallback":["Window/cancelIdleCallback"],"CanPlayTypeResult":[],"CanvasCaptureMediaStreamTrack":["CanvasCaptureMediaStreamTrack"],"CanvasCompositing":["globalAlpha"],"CanvasDirection":[],"CanvasDrawImage":["drawImage"],"CanvasDrawPath":["beginPath"],"CanvasFillRule":[],"CanvasFillStrokeStyles":["fillStyle"],"CanvasFilters":["filter"],"CanvasFontKerning":[],"CanvasFontStretch":[],"CanvasFontVariantCaps":[],"CanvasGradient":["CanvasGradient"],"CanvasImageData":["createImageData"],"CanvasImageSmoothing":["imageSmoothingEnabled"],"CanvasImageSource":[],"CanvasLineCap":[],"CanvasLineJoin":[],"CanvasPath":["arc"],"CanvasPathDrawingStyles":["lineCap"],"CanvasPattern":["CanvasPattern"],"CanvasRect":["clearRect"],"CanvasRenderingContext2D":["CanvasRenderingContext2D"],"CanvasRenderingContext2DSettings":[],"CanvasSettings":["getContextAttributes"],"CanvasShadowStyles":["shadowBlur"],"CanvasState":["isContextLost"],"CanvasText":["fillText"],"CanvasTextAlign":[],"CanvasTextBaseline":[],"CanvasTextDrawingStyles":["direction"],"CanvasTextRendering":[],"CanvasTransform":["getTransform"],"CanvasUserInterface":["drawFocusIfNeeded"],"Capitalize":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"captureEvents":["Window/captureEvents"],"CaretPosition":["CaretPosition"],"CaretPositionFromPointOptions":[],"CDATASection":["CDATASection"],"ChannelCountMode":[],"ChannelInterpretation":[],"ChannelMergerNode":["ChannelMergerNode"],"ChannelMergerOptions":[],"ChannelSplitterNode":["ChannelSplitterNode"],"ChannelSplitterOptions":[],"CharacterData":["CharacterData"],"CheckVisibilityOptions":[],"ChildNode":["after"],"ClassAccessorDecoratorContext":[],"ClassAccessorDecoratorResult":[],"ClassAccessorDecoratorTarget":[],"ClassDecorator":[],"ClassDecoratorContext":[],"ClassFieldDecoratorContext":[],"ClassGetterDecoratorContext":[],"ClassMemberDecoratorContext":[],"ClassMethodDecoratorContext":[],"ClassSetterDecoratorContext":[],"clearInterval":["Window/clearInterval"],"clearTimeout":["Window/clearTimeout"],"Client":["Client"],"clientInformation":[],"ClientQueryOptions":[],"ClientRect":[],"Clients":["Clients"],"ClientTypes":[],"Clipboard":["Clipboard"],"ClipboardEvent":["ClipboardEvent"],"ClipboardEventInit":[],"ClipboardItem":["ClipboardItem"],"ClipboardItemData":[],"ClipboardItemOptions":[],"ClipboardItems":[],"close":["DedicatedWorkerGlobalScope/close"],"closed":[],"CloseEvent":["CloseEvent"],"CloseEventInit":[],"CodecState":[],"ColorGamut":[],"ColorSpaceConversion":[],"CommandEvent":["CommandEvent"],"CommandEventInit":[],"Comment":["Comment"],"CompositeOperation":[],"CompositeOperationOrAuto":[],"CompositionEvent":["CompositionEvent"],"CompositionEventInit":[],"CompressionFormat":[],"CompressionStream":["CompressionStream"],"ComputedEffectTiming":[],"ComputedKeyframe":[],"ConcatArray":[],"confirm":["Window/confirm"],"console":[],"Console":["console"],"ConstantSourceNode":["ConstantSourceNode"],"ConstantSourceOptions":[],"ConstrainBoolean":[],"ConstrainBooleanOrDOMString":[],"ConstrainBooleanOrDOMStringParameters":[],"ConstrainBooleanParameters":[],"ConstrainDOMString":[],"ConstrainDOMStringParameters":[],"ConstrainDouble":[],"ConstrainDoubleRange":[],"ConstrainULong":[],"ConstrainULongRange":[],"ConstructorParameters":["https://www.typescriptlang.org/docs/handbook/utility-types.html#constructorparameterstype"],"ContentVisibilityAutoStateChangeEvent":["ContentVisibilityAutoStateChangeEvent"],"ContentVisibilityAutoStateChangeEventInit":[],"ConvolverNode":["ConvolverNode"],"ConvolverOptions":[],"CookieChangeEvent":["CookieChangeEvent"],"CookieChangeEventInit":[],"CookieInit":[],"CookieList":[],"CookieListItem":[],"CookieSameSite":[],"cookieStore":[],"CookieStore":["CookieStore"],"CookieStoreDeleteOptions":[],"CookieStoreEventMap":[],"CookieStoreGetOptions":[],"CookieStoreManager":["CookieStoreManager"],"COSEAlgorithmIdentifier":[],"CountQueuingStrategy":["CountQueuingStrategy"],"createImageBitmap":["Window/createImageBitmap"],"Credential":["Credential"],"CredentialCreationOptions":[],"CredentialMediationRequirement":[],"CredentialPropertiesOutput":[],"CredentialRequestOptions":[],"CredentialsContainer":["CredentialsContainer"],"crossOriginIsolated":[],"crypto":[],"Crypto":["Crypto"],"CryptoKey":["CryptoKey"],"CryptoKeyPair":[],"CSS":[null,{"cap":[],"ch":["CSS/factory_functions_static"],"cm":["CSS/factory_functions_static"],"cqb":["CSS/factory_functions_static"],"cqh":["CSS/factory_functions_static"],"cqi":["CSS/factory_functions_static"],"cqmax":["CSS/factory_functions_static"],"cqmin":["CSS/factory_functions_static"],"cqw":["CSS/factory_functions_static"],"deg":["CSS/factory_functions_static"],"dpcm":["CSS/factory_functions_static"],"dpi":["CSS/factory_functions_static"],"dppx":["CSS/factory_functions_static"],"dvb":["CSS/factory_functions_static"],"dvh":["CSS/factory_functions_static"],"dvi":["CSS/factory_functions_static"],"dvmax":["CSS/factory_functions_static"],"dvmin":["CSS/factory_functions_static"],"dvw":["CSS/factory_functions_static"],"em":["CSS/factory_functions_static"],"escape":["CSS/escape_static"],"ex":["CSS/factory_functions_static"],"fr":["CSS/factory_functions_static"],"grad":["CSS/factory_functions_static"],"highlights":[],"Hz":["CSS/factory_functions_static"],"ic":[],"kHz":["CSS/factory_functions_static"],"lh":[],"lvb":["CSS/factory_functions_static"],"lvh":["CSS/factory_functions_static"],"lvi":["CSS/factory_functions_static"],"lvmax":["CSS/factory_functions_static"],"lvmin":["CSS/factory_functions_static"],"lvw":["CSS/factory_functions_static"],"mm":["CSS/factory_functions_static"],"ms":["CSS/factory_functions_static"],"number":["CSS/factory_functions_static"],"pc":["CSS/factory_functions_static"],"percent":["CSS/factory_functions_static"],"pt":["CSS/factory_functions_static"],"px":["CSS/factory_functions_static"],"Q":["CSS/factory_functions_static"],"rad":["CSS/factory_functions_static"],"rcap":[],"rch":[],"registerProperty":["CSS/registerProperty_static"],"rem":["CSS/factory_functions_static"],"rex":[],"ric":[],"rlh":[],"s":["CSS/factory_functions_static"],"supports":["CSS/supports_static"],"svb":["CSS/factory_functions_static"],"svh":["CSS/factory_functions_static"],"svi":["CSS/factory_functions_static"],"svmax":["CSS/factory_functions_static"],"svmin":["CSS/factory_functions_static"],"svw":["CSS/factory_functions_static"],"turn":["CSS/factory_functions_static"],"vb":["CSS/factory_functions_static"],"vh":["CSS/factory_functions_static"],"vi":["CSS/factory_functions_static"],"vmax":["CSS/factory_functions_static"],"vmin":["CSS/factory_functions_static"],"vw":["CSS/factory_functions_static"]}],"CSSAnimation":["CSSAnimation"],"CSSConditionRule":["CSSConditionRule"],"CSSContainerRule":["CSSContainerRule"],"CSSCounterStyleRule":["CSSCounterStyleRule"],"CSSFontFaceRule":["CSSFontFaceRule"],"CSSFontFeatureValuesRule":["CSSFontFeatureValuesRule"],"CSSFontPaletteValuesRule":["CSSFontPaletteValuesRule"],"CSSGroupingRule":["CSSGroupingRule"],"CSSImageValue":["CSSImageValue"],"CSSImportRule":["CSSImportRule"],"CSSKeyframeRule":["CSSKeyframeRule"],"CSSKeyframesRule":["CSSKeyframesRule"],"CSSKeywordish":[],"CSSKeywordValue":["CSSKeywordValue"],"CSSLayerBlockRule":["CSSLayerBlockRule"],"CSSLayerStatementRule":["CSSLayerStatementRule"],"CSSMathClamp":[],"CSSMathInvert":["CSSMathInvert"],"CSSMathMax":["CSSMathMax"],"CSSMathMin":["CSSMathMin"],"CSSMathNegate":["CSSMathNegate"],"CSSMathOperator":[],"CSSMathProduct":["CSSMathProduct"],"CSSMathSum":["CSSMathSum"],"CSSMathValue":["CSSMathValue"],"CSSMatrixComponent":["CSSMatrixComponent"],"CSSMatrixComponentOptions":[],"CSSMediaRule":["CSSMediaRule"],"CSSNamespaceRule":["CSSNamespaceRule"],"CSSNestedDeclarations":["CSSNestedDeclarations"],"CSSNumberish":[],"CSSNumericArray":["CSSNumericArray"],"CSSNumericBaseType":[],"CSSNumericType":[],"CSSNumericValue":["CSSNumericValue"],"CSSPageDescriptors":["CSSPageDescriptors"],"CSSPageRule":["CSSPageRule"],"CSSPerspective":["CSSPerspective"],"CSSPerspectiveValue":[],"CSSPositionTryDescriptors":["CSSPositionTryDescriptors"],"CSSPositionTryRule":["CSSPositionTryRule"],"CSSPropertyRule":["CSSPropertyRule"],"CSSRotate":["CSSRotate"],"CSSRule":["CSSRule"],"CSSRuleList":["CSSRuleList"],"CSSScale":["CSSScale"],"CSSScopeRule":["CSSScopeRule"],"CSSSkew":["CSSSkew"],"CSSSkewX":["CSSSkewX"],"CSSSkewY":["CSSSkewY"],"CSSStartingStyleRule":["CSSStartingStyleRule"],"CSSStyleDeclaration":[],"CSSStyleDeclarationBase":["CSSStyleDeclaration"],"CSSStyleProperties":["CSSStyleProperties"],"CSSStyleRule":["CSSStyleRule"],"CSSStyleSheet":["CSSStyleSheet"],"CSSStyleSheetInit":[],"CSSStyleValue":["CSSStyleValue"],"CSSSupportsRule":["CSSSupportsRule"],"CSSTransformComponent":["CSSTransformComponent"],"CSSTransformValue":["CSSTransformValue"],"CSSTransition":["CSSTransition"],"CSSTranslate":["CSSTranslate"],"CSSUnitValue":["CSSUnitValue"],"CSSUnparsedSegment":[],"CSSUnparsedValue":["CSSUnparsedValue"],"CSSVariableReferenceValue":["CSSVariableReferenceValue"],"CSSViewTransitionRule":["CSSViewTransitionRule"],"CurrentUserDetailsOptions":[],"CustomElementConstructor":[],"CustomElementRegistry":["CustomElementRegistry"],"customElements":[],"CustomEvent":["CustomEvent"],"CustomEventInit":[],"CustomStateSet":["CustomStateSet"],"DataTransfer":["DataTransfer"],"DataTransferItem":["DataTransferItem"],"DataTransferItemList":["DataTransferItemList"],"DataView":[],"DataViewConstructor":[],"Date":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date"],"DateConstructor":[],"DecodeErrorCallback":[],"DecodeSuccessCallback":[],"decodeURI":[],"decodeURIComponent":[],"DecompressionStream":["DecompressionStream"],"DecoratorContext":[],"DecoratorMetadata":[],"DecoratorMetadataObject":[],"DedicatedWorkerGlobalScope":["DedicatedWorkerGlobalScope"],"DedicatedWorkerGlobalScopeEventMap":[],"DelayNode":["DelayNode"],"DelayOptions":[],"DeviceMotionEvent":["DeviceMotionEvent"],"DeviceMotionEventAcceleration":["DeviceMotionEventAcceleration"],"DeviceMotionEventAccelerationInit":[],"DeviceMotionEventInit":[],"DeviceMotionEventRotationRate":["DeviceMotionEventRotationRate"],"DeviceMotionEventRotationRateInit":[],"DeviceOrientationEvent":["DeviceOrientationEvent"],"DeviceOrientationEventInit":[],"devicePixelRatio":[],"DigitalCredential":[],"DirectionSetting":[],"dispatchEvent":["EventTarget/dispatchEvent"],"DisplayCaptureSurfaceType":[],"DisplayMediaStreamOptions":[],"Disposable":[],"DisposableStack":[],"DisposableStackConstructor":[],"DistanceModelType":[],"document":[],"Document":["Document"],"DocumentEventMap":[],"DocumentFragment":["DocumentFragment"],"DocumentOrShadowRoot":["activeElement"],"DocumentReadyState":[],"DocumentTimeline":["DocumentTimeline"],"DocumentTimelineOptions":[],"DocumentType":["DocumentType"],"DocumentVisibilityState":[],"DOMException":["DOMException"],"DOMHighResTimeStamp":[],"DOMImplementation":["DOMImplementation"],"DOMMatrix":["DOMMatrix"],"DOMMatrix2DInit":[],"DOMMatrixInit":[],"DOMMatrixReadOnly":["DOMMatrixReadOnly"],"DOMParser":["DOMParser"],"DOMParserSupportedType":[],"DOMPoint":["DOMPoint"],"DOMPointInit":[],"DOMPointReadOnly":["DOMPointReadOnly"],"DOMQuad":["DOMQuad"],"DOMQuadInit":[],"DOMRect":["DOMRect"],"DOMRectInit":[],"DOMRectList":["DOMRectList"],"DOMRectReadOnly":["DOMRectReadOnly"],"DOMStringList":["DOMStringList"],"DOMStringMap":["DOMStringMap"],"DOMTokenList":["DOMTokenList"],"DoubleRange":[],"DragEvent":["DragEvent"],"DragEventInit":[],"DynamicsCompressorNode":["DynamicsCompressorNode"],"DynamicsCompressorOptions":[],"EcdhKeyDeriveParams":[],"EcdsaParams":[],"EcKeyAlgorithm":[],"EcKeyGenParams":[],"EcKeyImportParams":[],"EffectTiming":[],"Element":["Element"],"ElementContentEditable":["contentEditable"],"ElementCreationOptions":[],"ElementCSSInlineStyle":["attributeStyleMap"],"ElementDefinitionOptions":[],"ElementEventMap":[],"ElementInternals":["ElementInternals"],"ElementTagNameMap":[],"EncodedAudioChunk":["EncodedAudioChunk"],"EncodedAudioChunkInit":[],"EncodedAudioChunkMetadata":[],"EncodedAudioChunkOutputCallback":[],"EncodedAudioChunkType":[],"EncodedVideoChunk":["EncodedVideoChunk"],"EncodedVideoChunkInit":[],"EncodedVideoChunkMetadata":[],"EncodedVideoChunkOutputCallback":[],"EncodedVideoChunkType":[],"encodeURI":[],"encodeURIComponent":[],"EndingType":[],"EndOfStreamError":[],"Enumerator":[],"EnumeratorConstructor":[],"EpochTimeStamp":[],"Error":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error"],"ErrorCallback":[],"ErrorConstructor":[],"ErrorEvent":["ErrorEvent"],"ErrorEventInit":[],"ErrorOptions":[],"escape":[],"eval":[],"EvalError":[],"EvalErrorConstructor":[],"event":[],"Event":["Event"],"EventCounts":["EventCounts"],"EventInit":[],"EventListener":[],"EventListenerObject":[],"EventListenerOptions":[],"EventListenerOrEventListenerObject":[],"EventModifierInit":[],"EventSource":["EventSource"],"EventSourceEventMap":[],"EventSourceInit":[],"EventTarget":["EventTarget"],"Exclude":["https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers"],"EXT_blend_minmax":["EXT_blend_minmax"],"EXT_color_buffer_float":["EXT_color_buffer_float"],"EXT_color_buffer_half_float":["EXT_color_buffer_half_float"],"EXT_float_blend":["EXT_float_blend"],"EXT_frag_depth":["EXT_frag_depth"],"EXT_shader_texture_lod":["EXT_shader_texture_lod"],"EXT_sRGB":["EXT_sRGB"],"EXT_texture_compression_bptc":["EXT_texture_compression_bptc"],"EXT_texture_compression_rgtc":["EXT_texture_compression_rgtc"],"EXT_texture_filter_anisotropic":["EXT_texture_filter_anisotropic"],"EXT_texture_norm16":["EXT_texture_norm16"],"ExtendableCookieChangeEvent":["ExtendableCookieChangeEvent"],"ExtendableCookieChangeEventInit":[],"ExtendableEvent":["ExtendableEvent"],"ExtendableEventInit":[],"ExtendableMessageEvent":["ExtendableMessageEvent"],"ExtendableMessageEventInit":[],"external":[],"External":[],"Extract":["https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union"],"fetch":["Window/fetch"],"FetchEvent":["FetchEvent"],"FetchEventInit":[],"File":["File"],"FileCallback":[],"FileList":["FileList"],"FilePropertyBag":[],"FileReader":["FileReader"],"FileReaderEventMap":[],"FileReaderSync":["FileReaderSync"],"FileSystem":["FileSystem"],"FileSystemCreateWritableOptions":[],"FileSystemDirectoryEntry":["FileSystemDirectoryEntry"],"FileSystemDirectoryHandle":["FileSystemDirectoryHandle"],"FileSystemDirectoryHandleAsyncIterator":[],"FileSystemDirectoryReader":["FileSystemDirectoryReader"],"FileSystemEntriesCallback":[],"FileSystemEntry":["FileSystemEntry"],"FileSystemEntryCallback":[],"FileSystemFileEntry":["FileSystemFileEntry"],"FileSystemFileHandle":["FileSystemFileHandle"],"FileSystemFlags":[],"FileSystemGetDirectoryOptions":[],"FileSystemGetFileOptions":[],"FileSystemHandle":["FileSystemHandle"],"FileSystemHandleKind":[],"FileSystemReadWriteOptions":[],"FileSystemRemoveOptions":[],"FileSystemSyncAccessHandle":["FileSystemSyncAccessHandle"],"FileSystemWritableFileStream":["FileSystemWritableFileStream"],"FileSystemWriteChunkType":[],"FillLightMode":[],"FillMode":[],"FinalizationRegistry":[],"FinalizationRegistryConstructor":[],"FlatArray":[],"Float16Array":[],"Float16ArrayConstructor":[],"Float32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float32Array"],"Float32ArrayConstructor":[],"Float32List":[],"Float64Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float64Array"],"Float64ArrayConstructor":[],"focus":["Window/focus"],"FocusEvent":["FocusEvent"],"FocusEventInit":[],"FocusOptions":[],"FontDisplay":[],"FontFace":["FontFace"],"FontFaceDescriptors":[],"FontFaceLoadStatus":[],"FontFaceSet":["FontFaceSet"],"FontFaceSetEventMap":[],"FontFaceSetLoadEvent":["FontFaceSetLoadEvent"],"FontFaceSetLoadEventInit":[],"FontFaceSetLoadStatus":[],"FontFaceSource":["fonts"],"fonts":[],"FormData":["FormData"],"FormDataEntryValue":[],"FormDataEvent":["FormDataEvent"],"FormDataEventInit":[],"FormDataIterator":[],"FragmentDirective":["FragmentDirective"],"frameElement":[],"FrameRequestCallback":[],"frames":[],"FrameType":[],"FullscreenNavigationUI":[],"FullscreenOptions":[],"Function":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function"],"FunctionConstructor":[],"FunctionStringCallback":[],"GainNode":["GainNode"],"GainOptions":[],"Gamepad":["Gamepad"],"GamepadButton":["GamepadButton"],"GamepadEffectParameters":[],"GamepadEvent":["GamepadEvent"],"GamepadEventInit":[],"GamepadHapticActuator":["GamepadHapticActuator"],"GamepadHapticEffectType":[],"GamepadHapticsResult":[],"GamepadMappingType":[],"Generator":[],"GeneratorFunction":[],"GeneratorFunctionConstructor":[],"GenericTransformStream":["readable"],"Geolocation":["Geolocation"],"GeolocationCoordinates":["GeolocationCoordinates"],"GeolocationPosition":["GeolocationPosition"],"GeolocationPositionError":["GeolocationPositionError"],"GetAnimationsOptions":[],"GetComposedRangesOptions":[],"getComputedStyle":["Window/getComputedStyle"],"GetHTMLOptions":[],"GetNotificationOptions":[],"GetRootNodeOptions":[],"getSelection":["Window/getSelection"],"GLbitfield":[],"GLboolean":[],"GLclampf":[],"GLenum":[],"GLfloat":[],"GLint":[],"GLint64":[],"GLintptr":[],"global":[],"GlobalCompositeOperation":[],"GlobalEventHandlers":["abort_event"],"GlobalEventHandlersEventMap":[],"globalThis":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/globalThis"],"GLsizei":[],"GLsizeiptr":[],"GLuint":[],"GLuint64":[],"GPU":["GPU"],"GPUAdapter":["GPUAdapter"],"GPUAdapterInfo":["GPUAdapterInfo"],"GPUAddressMode":[],"GPUAutoLayoutMode":[],"GPUBindGroup":["GPUBindGroup"],"GPUBindGroupDescriptor":[],"GPUBindGroupEntry":[],"GPUBindGroupLayout":["GPUBindGroupLayout"],"GPUBindGroupLayoutDescriptor":[],"GPUBindGroupLayoutEntry":[],"GPUBindingCommandsMixin":["setBindGroup"],"GPUBindingResource":[],"GPUBlendComponent":[],"GPUBlendFactor":[],"GPUBlendOperation":[],"GPUBlendState":[],"GPUBuffer":["GPUBuffer"],"GPUBufferBinding":[],"GPUBufferBindingLayout":[],"GPUBufferBindingType":[],"GPUBufferDescriptor":[],"GPUBufferDynamicOffset":[],"GPUBufferMapState":[],"GPUBufferUsageFlags":[],"GPUCanvasAlphaMode":[],"GPUCanvasConfiguration":[],"GPUCanvasContext":["GPUCanvasContext"],"GPUCanvasToneMapping":[],"GPUCanvasToneMappingMode":[],"GPUColor":[],"GPUColorDict":[],"GPUColorTargetState":[],"GPUColorWriteFlags":[],"GPUCommandBuffer":["GPUCommandBuffer"],"GPUCommandBufferDescriptor":[],"GPUCommandEncoder":["GPUCommandEncoder"],"GPUCommandEncoderDescriptor":[],"GPUCompareFunction":[],"GPUCompilationInfo":["GPUCompilationInfo"],"GPUCompilationMessage":["GPUCompilationMessage"],"GPUCompilationMessageType":[],"GPUComputePassDescriptor":[],"GPUComputePassEncoder":["GPUComputePassEncoder"],"GPUComputePassTimestampWrites":[],"GPUComputePipeline":["GPUComputePipeline"],"GPUComputePipelineDescriptor":[],"GPUCopyExternalImageDestInfo":[],"GPUCopyExternalImageSource":[],"GPUCopyExternalImageSourceInfo":[],"GPUCullMode":[],"GPUDebugCommandsMixin":["insertDebugMarker"],"GPUDepthBias":[],"GPUDepthStencilState":[],"GPUDevice":["GPUDevice"],"GPUDeviceDescriptor":[],"GPUDeviceEventMap":[],"GPUDeviceLostInfo":["GPUDeviceLostInfo"],"GPUDeviceLostReason":[],"GPUError":["GPUError"],"GPUErrorFilter":[],"GPUExtent3D":[],"GPUExtent3DDict":[],"GPUExternalTexture":["GPUExternalTexture"],"GPUExternalTextureBindingLayout":[],"GPUExternalTextureDescriptor":[],"GPUFeatureName":[],"GPUFilterMode":[],"GPUFlagsConstant":[],"GPUFragmentState":[],"GPUFrontFace":[],"GPUIndex32":[],"GPUIndexFormat":[],"GPUIntegerCoordinate":[],"GPUIntegerCoordinateOut":[],"GPUInternalError":["GPUInternalError"],"GPULoadOp":[],"GPUMapModeFlags":[],"GPUMipmapFilterMode":[],"GPUMultisampleState":[],"GPUObjectBase":["label"],"GPUObjectDescriptorBase":[],"GPUOrigin2D":[],"GPUOrigin2DDict":[],"GPUOrigin3D":[],"GPUOrigin3DDict":[],"GPUOutOfMemoryError":["GPUOutOfMemoryError"],"GPUPipelineBase":["getBindGroupLayout"],"GPUPipelineConstantValue":[],"GPUPipelineDescriptorBase":[],"GPUPipelineError":["GPUPipelineError"],"GPUPipelineErrorInit":[],"GPUPipelineErrorReason":[],"GPUPipelineLayout":["GPUPipelineLayout"],"GPUPipelineLayoutDescriptor":[],"GPUPowerPreference":[],"GPUPrimitiveState":[],"GPUPrimitiveTopology":[],"GPUProgrammableStage":[],"GPUQuerySet":["GPUQuerySet"],"GPUQuerySetDescriptor":[],"GPUQueryType":[],"GPUQueue":["GPUQueue"],"GPUQueueDescriptor":[],"GPURenderBundle":["GPURenderBundle"],"GPURenderBundleDescriptor":[],"GPURenderBundleEncoder":["GPURenderBundleEncoder"],"GPURenderBundleEncoderDescriptor":[],"GPURenderCommandsMixin":["draw"],"GPURenderPassColorAttachment":[],"GPURenderPassDepthStencilAttachment":[],"GPURenderPassDescriptor":[],"GPURenderPassEncoder":["GPURenderPassEncoder"],"GPURenderPassLayout":[],"GPURenderPassTimestampWrites":[],"GPURenderPipeline":["GPURenderPipeline"],"GPURenderPipelineDescriptor":[],"GPURequestAdapterOptions":[],"GPUSampleMask":[],"GPUSampler":["GPUSampler"],"GPUSamplerBindingLayout":[],"GPUSamplerBindingType":[],"GPUSamplerDescriptor":[],"GPUShaderModule":["GPUShaderModule"],"GPUShaderModuleDescriptor":[],"GPUShaderStageFlags":[],"GPUSignedOffset32":[],"GPUSize32":[],"GPUSize32Out":[],"GPUSize64":[],"GPUSize64Out":[],"GPUStencilFaceState":[],"GPUStencilOperation":[],"GPUStencilValue":[],"GPUStorageTextureAccess":[],"GPUStorageTextureBindingLayout":[],"GPUStoreOp":[],"GPUSupportedFeatures":["GPUSupportedFeatures"],"GPUSupportedLimits":["GPUSupportedLimits"],"GPUTexelCopyBufferInfo":[],"GPUTexelCopyBufferLayout":[],"GPUTexelCopyTextureInfo":[],"GPUTexture":["GPUTexture"],"GPUTextureAspect":[],"GPUTextureBindingLayout":[],"GPUTextureDescriptor":[],"GPUTextureDimension":[],"GPUTextureFormat":[],"GPUTextureSampleType":[],"GPUTextureUsageFlags":[],"GPUTextureView":["GPUTextureView"],"GPUTextureViewDescriptor":[],"GPUTextureViewDimension":[],"GPUUncapturedErrorEvent":["GPUUncapturedErrorEvent"],"GPUUncapturedErrorEventInit":[],"GPUValidationError":["GPUValidationError"],"GPUVertexAttribute":[],"GPUVertexBufferLayout":[],"GPUVertexFormat":[],"GPUVertexState":[],"GPUVertexStepMode":[],"HardwareAcceleration":[],"HashAlgorithmIdentifier":[],"HashChangeEvent":["HashChangeEvent"],"HashChangeEventInit":[],"HdrMetadataType":[],"Headers":["Headers"],"HeadersInit":[],"HeadersIterator":[],"Highlight":["Highlight"],"HighlightRegistry":["HighlightRegistry"],"HighlightType":[],"history":[],"History":["History"],"HkdfParams":[],"HmacImportParams":[],"HmacKeyAlgorithm":[],"HmacKeyGenParams":[],"HTMLAllCollection":["HTMLAllCollection"],"HTMLAnchorElement":["HTMLAnchorElement"],"HTMLAreaElement":["HTMLAreaElement"],"HTMLAudioElement":["HTMLAudioElement"],"HTMLBaseElement":["HTMLBaseElement"],"HTMLBodyElement":["HTMLBodyElement"],"HTMLBodyElementEventMap":[],"HTMLBRElement":["HTMLBRElement"],"HTMLButtonElement":["HTMLButtonElement"],"HTMLCanvasElement":["HTMLCanvasElement"],"HTMLCollection":["namedItem"],"HTMLCollectionBase":["HTMLCollection"],"HTMLCollectionOf":[],"HTMLDataElement":["HTMLDataElement"],"HTMLDataListElement":["HTMLDataListElement"],"HTMLDetailsElement":["HTMLDetailsElement"],"HTMLDialogElement":["HTMLDialogElement"],"HTMLDirectoryElement":[],"HTMLDivElement":["HTMLDivElement"],"HTMLDListElement":["HTMLDListElement"],"HTMLDocument":[],"HTMLElement":["HTMLElement"],"HTMLElementDeprecatedTagNameMap":[],"HTMLElementEventMap":[],"HTMLElementTagNameMap":[],"HTMLEmbedElement":["HTMLEmbedElement"],"HTMLFieldSetElement":["HTMLFieldSetElement"],"HTMLFontElement":["HTMLFontElement"],"HTMLFormControlsCollection":["HTMLFormControlsCollection"],"HTMLFormElement":["HTMLFormElement"],"HTMLFrameElement":[],"HTMLFrameSetElement":["HTMLFrameSetElement"],"HTMLFrameSetElementEventMap":[],"HTMLHeadElement":["HTMLHeadElement"],"HTMLHeadingElement":["HTMLHeadingElement"],"HTMLHRElement":["HTMLHRElement"],"HTMLHtmlElement":["HTMLHtmlElement"],"HTMLHyperlinkElementUtils":["hash"],"HTMLIFrameElement":["HTMLIFrameElement"],"HTMLImageElement":["HTMLImageElement"],"HTMLInputElement":["HTMLInputElement"],"HTMLLabelElement":["HTMLLabelElement"],"HTMLLegendElement":["HTMLLegendElement"],"HTMLLIElement":["HTMLLIElement"],"HTMLLinkElement":["HTMLLinkElement"],"HTMLMapElement":["HTMLMapElement"],"HTMLMarqueeElement":["HTMLMarqueeElement"],"HTMLMediaElement":["HTMLMediaElement"],"HTMLMediaElementEventMap":[],"HTMLMenuElement":["HTMLMenuElement"],"HTMLMetaElement":["HTMLMetaElement"],"HTMLMeterElement":["HTMLMeterElement"],"HTMLModElement":["HTMLModElement"],"HTMLObjectElement":["HTMLObjectElement"],"HTMLOListElement":["HTMLOListElement"],"HTMLOptGroupElement":["HTMLOptGroupElement"],"HTMLOptionElement":["HTMLOptionElement"],"HTMLOptionsCollection":["HTMLOptionsCollection"],"HTMLOrSVGElement":["autofocus"],"HTMLOrSVGImageElement":[],"HTMLOrSVGScriptElement":[],"HTMLOutputElement":["HTMLOutputElement"],"HTMLParagraphElement":["HTMLParagraphElement"],"HTMLParamElement":["HTMLParamElement"],"HTMLPictureElement":["HTMLPictureElement"],"HTMLPreElement":["HTMLPreElement"],"HTMLProgressElement":["HTMLProgressElement"],"HTMLQuoteElement":["HTMLQuoteElement"],"HTMLScriptElement":["HTMLScriptElement"],"HTMLSelectElement":["HTMLSelectElement"],"HTMLSlotElement":["HTMLSlotElement"],"HTMLSourceElement":["HTMLSourceElement"],"HTMLSpanElement":["HTMLSpanElement"],"HTMLStyleElement":["HTMLStyleElement"],"HTMLTableCaptionElement":["HTMLTableCaptionElement"],"HTMLTableCellElement":["HTMLTableCellElement"],"HTMLTableColElement":["HTMLTableColElement"],"HTMLTableDataCellElement":[],"HTMLTableElement":["HTMLTableElement"],"HTMLTableHeaderCellElement":[],"HTMLTableRowElement":["HTMLTableRowElement"],"HTMLTableSectionElement":["HTMLTableSectionElement"],"HTMLTemplateElement":["HTMLTemplateElement"],"HTMLTextAreaElement":["HTMLTextAreaElement"],"HTMLTimeElement":["HTMLTimeElement"],"HTMLTitleElement":["HTMLTitleElement"],"HTMLTrackElement":["HTMLTrackElement"],"HTMLUListElement":["HTMLUListElement"],"HTMLUnknownElement":["HTMLUnknownElement"],"HTMLVideoElement":["HTMLVideoElement"],"HTMLVideoElementEventMap":[],"IArguments":[],"IDBCursor":["IDBCursor"],"IDBCursorDirection":[],"IDBCursorWithValue":["IDBCursorWithValue"],"IDBDatabase":["IDBDatabase"],"IDBDatabaseEventMap":[],"IDBDatabaseInfo":[],"IDBFactory":["IDBFactory"],"IDBIndex":["IDBIndex"],"IDBIndexParameters":[],"IDBKeyRange":["IDBKeyRange"],"IDBObjectStore":["IDBObjectStore"],"IDBObjectStoreParameters":[],"IDBOpenDBRequest":["IDBOpenDBRequest"],"IDBOpenDBRequestEventMap":[],"IDBRequest":["IDBRequest"],"IDBRequestEventMap":[],"IDBRequestReadyState":[],"IDBTransaction":["IDBTransaction"],"IDBTransactionDurability":[],"IDBTransactionEventMap":[],"IDBTransactionMode":[],"IDBTransactionOptions":[],"IDBValidKey":[],"IDBVersionChangeEvent":["IDBVersionChangeEvent"],"IDBVersionChangeEventInit":[],"IdleDeadline":["IdleDeadline"],"IdleRequestCallback":[],"IdleRequestOptions":[],"IIRFilterNode":["IIRFilterNode"],"IIRFilterOptions":[],"Image":[],"ImageBitmap":["ImageBitmap"],"ImageBitmapOptions":[],"ImageBitmapRenderingContext":["ImageBitmapRenderingContext"],"ImageBitmapRenderingContextSettings":[],"ImageBitmapSource":[],"ImageBufferSource":[],"ImageCapture":["ImageCapture"],"ImageData":["ImageData"],"ImageDataArray":[],"ImageDataPixelFormat":[],"ImageDataSettings":[],"ImageDecodeOptions":[],"ImageDecoder":["ImageDecoder"],"ImageDecodeResult":[],"ImageDecoderInit":[],"ImageEncodeOptions":[],"ImageOrientation":[],"ImageSmoothingQuality":[],"ImageTrack":["ImageTrack"],"ImageTrackList":["ImageTrackList"],"ImportAssertions":[],"ImportAttributes":[],"ImportCallOptions":[],"ImportMeta":[],"ImportNodeOptions":[],"importScripts":["WorkerGlobalScope/importScripts"],"indexedDB":[],"Infinity":[],"innerHeight":[],"innerWidth":[],"InputDeviceInfo":["InputDeviceInfo"],"InputEvent":["InputEvent"],"InputEventInit":[],"InsertPosition":[],"InstanceType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype"],"Int16Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int16Array"],"Int16ArrayConstructor":[],"Int32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int32Array"],"Int32ArrayConstructor":[],"Int32List":[],"Int8Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int8Array"],"Int8ArrayConstructor":[],"IntersectionObserver":["IntersectionObserver"],"IntersectionObserverCallback":[],"IntersectionObserverEntry":["IntersectionObserverEntry"],"IntersectionObserverInit":[],"Intl":[null,{"Collator":[],"CollatorConstructor":[],"CollatorOptions":[],"DateTimeFormat":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat"],"DateTimeFormatConstructor":[],"DateTimeFormatOptions":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat"],"DateTimeFormatPart":[],"DateTimeFormatPartTypes":[],"DateTimeFormatPartTypesRegistry":[],"DateTimeRangeFormatPart":[],"DisplayNames":[],"DisplayNamesFallback":[],"DisplayNamesLanguageDisplay":[],"DisplayNamesOptions":[],"DisplayNamesType":[],"DurationFormat":[],"DurationFormatDisplayOption":[],"DurationFormatLocaleMatcher":[],"DurationFormatOptions":[],"DurationFormatPart":[],"DurationFormatStyle":[],"DurationFormatUnit":[],"DurationFormatUnitSingular":[],"FormattableTemporalObject":[],"getCanonicalLocales":[],"LDMLPluralRule":[],"ListFormat":[],"ListFormatLocaleMatcher":[],"ListFormatOptions":[],"ListFormatStyle":[],"ListFormatType":[],"Locale":["getCalendars"],"LocaleCollationCaseFirst":[],"LocaleHourCycleKey":[],"LocaleOptions":[],"LocalesArgument":[],"NumberFormat":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat"],"NumberFormatConstructor":[],"NumberFormatOptions":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat"],"NumberFormatOptionsCurrencyDisplay":[],"NumberFormatOptionsCurrencyDisplayRegistry":[],"NumberFormatOptionsSignDisplay":[],"NumberFormatOptionsSignDisplayRegistry":[],"NumberFormatOptionsStyle":[],"NumberFormatOptionsStyleRegistry":[],"NumberFormatOptionsUseGrouping":[],"NumberFormatOptionsUseGroupingRegistry":[],"NumberFormatPart":[],"NumberFormatPartTypeRegistry":[],"NumberFormatPartTypes":[],"NumberFormatRangePartTypeRegistry":[],"NumberFormatRangePartTypes":[],"NumberRangeFormatPart":[],"PluralRules":[],"PluralRulesConstructor":[],"PluralRulesOptions":[],"PluralRuleType":[],"RelativeTimeFormat":[],"RelativeTimeFormatLocaleMatcher":[],"RelativeTimeFormatNumeric":[],"RelativeTimeFormatOptions":[],"RelativeTimeFormatPart":[],"RelativeTimeFormatStyle":[],"RelativeTimeFormatUnit":[],"RelativeTimeFormatUnitSingular":[],"ResolvedCollatorOptions":[],"ResolvedDateTimeFormatOptions":[],"ResolvedDisplayNamesOptions":[],"ResolvedDurationFormatOptions":[],"ResolvedListFormatOptions":[],"ResolvedNumberFormatOptions":[],"ResolvedNumberFormatOptionsUseGrouping":[],"ResolvedPluralRulesOptions":[],"ResolvedRelativeTimeFormatOptions":[],"ResolvedSegmenterOptions":[],"SegmentData":[],"Segmenter":[],"SegmenterOptions":[],"SegmentIterator":[],"Segments":[],"StringNumericLiteral":[],"supportedValuesOf":[],"TextInfo":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo#return_value"],"UnicodeBCP47LocaleIdentifier":[],"WeekInfo":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo#return_value"]}],"isFinite":[],"isNaN":[],"isSecureContext":[],"Iterable":[],"IterableIterator":[],"IterationCompositeOperation":[],"Iterator":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator"],"IteratorConstructor":[],"IteratorObject":[],"IteratorObjectConstructor":[],"IteratorResult":[],"IteratorReturnResult":[],"IteratorYieldResult":[],"ITextWriter":[],"JSON":[],"JsonWebKey":[],"KeyAlgorithm":[],"KeyboardEvent":["KeyboardEvent"],"KeyboardEventInit":[],"KeyFormat":[],"Keyframe":[],"KeyframeAnimationOptions":[],"KeyframeEffect":["KeyframeEffect"],"KeyframeEffectOptions":[],"KeySystemTrackConfiguration":[],"KeyType":[],"KeyUsage":[],"KHR_parallel_shader_compile":["KHR_parallel_shader_compile"],"LargestContentfulPaint":["LargestContentfulPaint"],"LatencyMode":[],"length":[],"LineAlignSetting":[],"LineAndPositionSetting":[],"LinkStyle":["sheet"],"localStorage":[],"location":[],"Location":["Location"],"locationbar":[],"Lock":["Lock"],"LockGrantedCallback":[],"LockInfo":[],"LockManager":["LockManager"],"LockManagerSnapshot":[],"LockMode":[],"LockOptions":[],"LoginStatus":[],"Lowercase":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"Map":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map"],"MapConstructor":[],"MapIterator":[],"matchMedia":["Window/matchMedia"],"Math":[],"MathMLElement":["MathMLElement"],"MathMLElementEventMap":[],"MathMLElementTagNameMap":[],"MediaCapabilities":["MediaCapabilities"],"MediaCapabilitiesDecodingInfo":[],"MediaCapabilitiesEncodingInfo":[],"MediaCapabilitiesInfo":[],"MediaCapabilitiesKeySystemConfiguration":[],"MediaConfiguration":[],"MediaDecodingConfiguration":[],"MediaDecodingType":[],"MediaDeviceInfo":["MediaDeviceInfo"],"MediaDeviceKind":[],"MediaDevices":["MediaDevices"],"MediaDevicesEventMap":[],"MediaElementAudioSourceNode":["MediaElementAudioSourceNode"],"MediaElementAudioSourceOptions":[],"MediaEncodingConfiguration":[],"MediaEncodingType":[],"MediaEncryptedEvent":["MediaEncryptedEvent"],"MediaEncryptedEventInit":[],"MediaError":["MediaError"],"MediaImage":[],"MediaKeyMessageEvent":["MediaKeyMessageEvent"],"MediaKeyMessageEventInit":[],"MediaKeyMessageType":[],"MediaKeys":["MediaKeys"],"MediaKeySession":["MediaKeySession"],"MediaKeySessionClosedReason":[],"MediaKeySessionEventMap":[],"MediaKeySessionType":[],"MediaKeysPolicy":[],"MediaKeysRequirement":[],"MediaKeyStatus":[],"MediaKeyStatusMap":["MediaKeyStatusMap"],"MediaKeyStatusMapIterator":[],"MediaKeySystemAccess":["MediaKeySystemAccess"],"MediaKeySystemConfiguration":[],"MediaKeySystemMediaCapability":[],"MediaList":["MediaList"],"MediaMetadata":["MediaMetadata"],"MediaMetadataInit":[],"MediaPositionState":[],"MediaProvider":[],"MediaQueryList":["MediaQueryList"],"MediaQueryListEvent":["MediaQueryListEvent"],"MediaQueryListEventInit":[],"MediaQueryListEventMap":[],"MediaRecorder":["MediaRecorder"],"MediaRecorderEventMap":[],"MediaRecorderOptions":[],"MediaSession":["MediaSession"],"MediaSessionAction":[],"MediaSessionActionDetails":[],"MediaSessionActionHandler":[],"MediaSessionPlaybackState":[],"MediaSettingsRange":[],"MediaSource":["MediaSource"],"MediaSourceEventMap":[],"MediaSourceHandle":["MediaSourceHandle"],"MediaStream":["MediaStream"],"MediaStreamAudioDestinationNode":["MediaStreamAudioDestinationNode"],"MediaStreamAudioSourceNode":["MediaStreamAudioSourceNode"],"MediaStreamAudioSourceOptions":[],"MediaStreamConstraints":[],"MediaStreamEventMap":[],"MediaStreamTrack":["MediaStreamTrack"],"MediaStreamTrackEvent":["MediaStreamTrackEvent"],"MediaStreamTrackEventInit":[],"MediaStreamTrackEventMap":[],"MediaStreamTrackProcessor":["MediaStreamTrackProcessor"],"MediaStreamTrackProcessorInit":[],"MediaStreamTrackState":[],"MediaTrackCapabilities":[],"MediaTrackConstraints":[],"MediaTrackConstraintSet":[],"MediaTrackSettings":[],"MediaTrackSupportedConstraints":[],"menubar":[],"MessageChannel":["MessageChannel"],"MessageEvent":["MessageEvent"],"MessageEventInit":[],"MessageEventSource":[],"MessageEventTarget":["message_event"],"MessageEventTargetEventMap":[],"MessagePort":["MessagePort"],"MessagePortEventMap":[],"MethodDecorator":[],"MIDIAccess":["MIDIAccess"],"MIDIAccessEventMap":[],"MIDIConnectionEvent":["MIDIConnectionEvent"],"MIDIConnectionEventInit":[],"MIDIInput":["MIDIInput"],"MIDIInputEventMap":[],"MIDIInputMap":["MIDIInputMap"],"MIDIMessageEvent":["MIDIMessageEvent"],"MIDIMessageEventInit":[],"MIDIOptions":[],"MIDIOutput":["MIDIOutput"],"MIDIOutputMap":["MIDIOutputMap"],"MIDIPort":["MIDIPort"],"MIDIPortConnectionState":[],"MIDIPortDeviceState":[],"MIDIPortEventMap":[],"MIDIPortType":[],"MimeType":["MimeType"],"MimeTypeArray":["MimeTypeArray"],"MouseEvent":["MouseEvent"],"MouseEventInit":[],"moveBy":["Window/moveBy"],"moveTo":["Window/moveTo"],"MultiCacheQueryOptions":[],"MutationCallback":[],"MutationObserver":["MutationObserver"],"MutationObserverInit":[],"MutationRecord":["MutationRecord"],"MutationRecordType":[],"name":[],"NamedCurve":[],"NamedNodeMap":["NamedNodeMap"],"NaN":[],"NavigateEvent":["NavigateEvent"],"NavigateEventInit":[],"navigation":[],"Navigation":["Navigation"],"NavigationActivation":["NavigationActivation"],"NavigationCurrentEntryChangeEvent":["NavigationCurrentEntryChangeEvent"],"NavigationCurrentEntryChangeEventInit":[],"NavigationDestination":["NavigationDestination"],"NavigationEventMap":[],"NavigationFocusReset":[],"NavigationHistoryBehavior":[],"NavigationHistoryEntry":["NavigationHistoryEntry"],"NavigationHistoryEntryEventMap":[],"NavigationInterceptHandler":[],"NavigationInterceptOptions":[],"NavigationNavigateOptions":[],"NavigationOptions":[],"NavigationPrecommitController":["NavigationPrecommitController"],"NavigationPrecommitHandler":[],"NavigationPreloadManager":["NavigationPreloadManager"],"NavigationPreloadState":[],"NavigationReloadOptions":[],"NavigationResult":[],"NavigationScrollBehavior":[],"NavigationTimingType":[],"NavigationTransition":["NavigationTransition"],"NavigationType":[],"NavigationUpdateCurrentEntryOptions":[],"navigator":[],"Navigator":["Navigator"],"NavigatorAutomationInformation":["webdriver"],"NavigatorBadge":["clearAppBadge"],"NavigatorConcurrentHardware":["hardwareConcurrency"],"NavigatorContentUtils":["registerProtocolHandler"],"NavigatorCookies":["cookieEnabled"],"NavigatorGPU":["gpu"],"NavigatorID":["appCodeName"],"NavigatorLanguage":["language"],"NavigatorLocks":["locks"],"NavigatorLogin":["NavigatorLogin"],"NavigatorOnLine":["onLine"],"NavigatorPlugins":["mimeTypes"],"NavigatorStorage":["storage"],"NewableFunction":[],"Node":["Node"],"NodeFilter":[],"NodeIterator":["NodeIterator"],"NodeList":["NodeList"],"NodeListOf":[],"NoInfer":["https://www.typescriptlang.org/docs/handbook/utility-types.html#noinfertype"],"NonDocumentTypeChildNode":["nextElementSibling"],"NonElementParentNode":["getElementById"],"NonNullable":["https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union"],"Notification":["Notification"],"NotificationDirection":[],"NotificationEvent":["NotificationEvent"],"NotificationEventInit":[],"NotificationEventMap":[],"NotificationOptions":[],"NotificationPermission":[],"NotificationPermissionCallback":[],"Number":[],"NumberConstructor":[],"Object":[],"ObjectConstructor":[],"OES_draw_buffers_indexed":["OES_draw_buffers_indexed"],"OES_element_index_uint":["OES_element_index_uint"],"OES_fbo_render_mipmap":["OES_fbo_render_mipmap"],"OES_standard_derivatives":["OES_standard_derivatives"],"OES_texture_float":["OES_texture_float"],"OES_texture_float_linear":["OES_texture_float_linear"],"OES_texture_half_float":["OES_texture_half_float"],"OES_texture_half_float_linear":["OES_texture_half_float_linear"],"OES_vertex_array_object":["OES_vertex_array_object"],"OfflineAudioCompletionEvent":["OfflineAudioCompletionEvent"],"OfflineAudioCompletionEventInit":[],"OfflineAudioContext":["OfflineAudioContext"],"OfflineAudioContextEventMap":[],"OfflineAudioContextOptions":[],"OffscreenCanvas":["OffscreenCanvas"],"OffscreenCanvasEventMap":[],"OffscreenCanvasRenderingContext2D":["OffscreenCanvasRenderingContext2D"],"OffscreenRenderingContext":[],"OffscreenRenderingContextId":[],"Omit":["https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys"],"OmitThisParameter":["https://www.typescriptlang.org/docs/handbook/utility-types.html#omitthisparametertype"],"onabort":[],"onafterprint":[],"onanimationcancel":[],"onanimationend":[],"onanimationiteration":[],"onanimationstart":[],"onauxclick":[],"onbeforeinput":[],"onbeforematch":[],"onbeforeprint":[],"onbeforetoggle":[],"onbeforeunload":[],"OnBeforeUnloadEventHandler":[],"OnBeforeUnloadEventHandlerNonNull":[],"onblur":[],"oncancel":[],"oncanplay":[],"oncanplaythrough":[],"onchange":[],"onclick":[],"onclose":[],"oncommand":[],"oncontextlost":[],"oncontextmenu":[],"oncontextrestored":[],"oncopy":[],"oncuechange":[],"oncut":[],"ondblclick":[],"ondevicemotion":[],"ondeviceorientation":[],"ondeviceorientationabsolute":[],"ondrag":[],"ondragend":[],"ondragenter":[],"ondragleave":[],"ondragover":[],"ondragstart":[],"ondrop":[],"ondurationchange":[],"onemptied":[],"onended":[],"onerror":[],"OnErrorEventHandler":[],"OnErrorEventHandlerNonNull":[],"onfocus":[],"onformdata":[],"ongamepadconnected":[],"ongamepaddisconnected":[],"ongotpointercapture":[],"onhashchange":[],"oninput":[],"oninvalid":[],"onkeydown":[],"onkeypress":[],"onkeyup":[],"onlanguagechange":[],"onload":[],"onloadeddata":[],"onloadedmetadata":[],"onloadstart":[],"onlostpointercapture":[],"onmessage":[],"onmessageerror":[],"onmousedown":[],"onmouseenter":[],"onmouseleave":[],"onmousemove":[],"onmouseout":[],"onmouseover":[],"onmouseup":[],"onoffline":[],"ononline":[],"onorientationchange":[],"onpagehide":[],"onpagereveal":[],"onpageshow":[],"onpageswap":[],"onpaste":[],"onpause":[],"onplay":[],"onplaying":[],"onpointercancel":[],"onpointerdown":[],"onpointerenter":[],"onpointerleave":[],"onpointermove":[],"onpointerout":[],"onpointerover":[],"onpointerrawupdate":[],"onpointerup":[],"onpopstate":[],"onprogress":[],"onratechange":[],"onrejectionhandled":[],"onreset":[],"onresize":[],"onrtctransform":[],"onscroll":[],"onscrollend":[],"onsecuritypolicyviolation":[],"onseeked":[],"onseeking":[],"onselect":[],"onselectionchange":[],"onselectstart":[],"onslotchange":[],"onstalled":[],"onstorage":[],"onsubmit":[],"onsuspend":[],"ontimeupdate":[],"ontoggle":[],"ontouchcancel":[],"ontouchend":[],"ontouchmove":[],"ontouchstart":[],"ontransitioncancel":[],"ontransitionend":[],"ontransitionrun":[],"ontransitionstart":[],"onunhandledrejection":[],"onunload":[],"onvolumechange":[],"onwaiting":[],"onwebkitanimationend":[],"onwebkitanimationiteration":[],"onwebkitanimationstart":[],"onwebkittransitionend":[],"onwheel":[],"open":["Window/open"],"opener":[],"Option":[],"OptionalEffectTiming":[],"OptionalPostfixToken":[],"OptionalPrefixToken":[],"OpusBitstreamFormat":[],"OpusEncoderConfig":[],"orientation":[],"OrientationLockType":[],"OrientationType":[],"origin":[],"originAgentCluster":[],"OscillatorNode":["OscillatorNode"],"OscillatorOptions":[],"OscillatorType":[],"outerHeight":[],"outerWidth":[],"OverconstrainedError":["OverconstrainedError"],"OverSampleType":[],"OVR_multiview2":["OVR_multiview2"],"PageRevealEvent":["PageRevealEvent"],"PageRevealEventInit":[],"PageSwapEvent":["PageSwapEvent"],"PageSwapEventInit":[],"PageTransitionEvent":["PageTransitionEvent"],"PageTransitionEventInit":[],"pageXOffset":[],"pageYOffset":[],"PaintTimingMixin":[],"PannerNode":["PannerNode"],"PannerOptions":[],"PanningModelType":[],"ParameterDecorator":[],"Parameters":["https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype"],"parent":[],"ParentNode":["childElementCount"],"parseFloat":[],"parseInt":[],"Partial":["https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype"],"Path2D":["Path2D"],"PayerErrors":[],"PaymentAddress":["ContactAddress"],"PaymentComplete":[],"PaymentCurrencyAmount":[],"PaymentDetailsBase":[],"PaymentDetailsInit":[],"PaymentDetailsModifier":[],"PaymentDetailsUpdate":[],"PaymentItem":[],"PaymentMethodChangeEvent":["PaymentMethodChangeEvent"],"PaymentMethodChangeEventInit":[],"PaymentMethodData":[],"PaymentOptions":[],"PaymentRequest":["PaymentRequest"],"PaymentRequestEventMap":[],"PaymentRequestUpdateEvent":["PaymentRequestUpdateEvent"],"PaymentRequestUpdateEventInit":[],"PaymentResponse":["PaymentResponse"],"PaymentResponseEventMap":[],"PaymentShippingOption":[],"PaymentShippingType":[],"PaymentValidationErrors":[],"Pbkdf2Params":[],"performance":[],"Performance":["Performance"],"PerformanceEntry":["PerformanceEntry"],"PerformanceEntryList":[],"PerformanceEventMap":[],"PerformanceEventTiming":["PerformanceEventTiming"],"PerformanceMark":["PerformanceMark"],"PerformanceMarkOptions":[],"PerformanceMeasure":["PerformanceMeasure"],"PerformanceMeasureOptions":[],"PerformanceNavigation":["PerformanceNavigation"],"PerformanceNavigationTiming":["PerformanceNavigationTiming"],"PerformanceObserver":["PerformanceObserver"],"PerformanceObserverCallback":[],"PerformanceObserverEntryList":["PerformanceObserverEntryList"],"PerformanceObserverInit":[],"PerformancePaintTiming":["PerformancePaintTiming"],"PerformanceResourceTiming":["PerformanceResourceTiming"],"PerformanceServerTiming":["PerformanceServerTiming"],"PerformanceTiming":["PerformanceTiming"],"PeriodicWave":["PeriodicWave"],"PeriodicWaveConstraints":[],"PeriodicWaveOptions":[],"PermissionDescriptor":[],"PermissionName":[],"Permissions":["Permissions"],"PermissionState":[],"PermissionStatus":["PermissionStatus"],"PermissionStatusEventMap":[],"personalbar":[],"PhotoCapabilities":[],"PhotoSettings":[],"Pick":["https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys"],"PictureInPictureEvent":["PictureInPictureEvent"],"PictureInPictureEventInit":[],"PictureInPictureWindow":["PictureInPictureWindow"],"PictureInPictureWindowEventMap":[],"PlaneLayout":[],"PlaybackDirection":[],"Plugin":["Plugin"],"PluginArray":["PluginArray"],"PointerEvent":["PointerEvent"],"PointerEventInit":[],"PointerLockOptions":[],"PopoverTargetAttributes":["popoverTargetAction"],"PopStateEvent":["PopStateEvent"],"PopStateEventInit":[],"PositionAlignSetting":[],"PositionCallback":[],"PositionErrorCallback":[],"PositionOptions":[],"postMessage":["DedicatedWorkerGlobalScope/postMessage"],"PredefinedColorSpace":[],"PremultiplyAlpha":[],"PresentationStyle":[],"print":["Window/print"],"ProcessingInstruction":["ProcessingInstruction"],"ProgressEvent":["ProgressEvent"],"ProgressEventInit":[],"Promise":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise"],"PromiseConstructor":[],"PromiseConstructorLike":[],"PromiseFulfilledResult":[],"PromiseLike":[],"PromiseRejectedResult":[],"PromiseRejectionEvent":["PromiseRejectionEvent"],"PromiseRejectionEventInit":[],"PromiseSettledResult":[],"PromiseWithResolvers":[],"prompt":["Window/prompt"],"PropertyDecorator":[],"PropertyDefinition":[],"PropertyDescriptor":[],"PropertyDescriptorMap":[],"PropertyIndexedKeyframes":[],"PropertyKey":[],"Proxy":[],"ProxyConstructor":[],"ProxyHandler":[],"PublicKeyCredential":["PublicKeyCredential"],"PublicKeyCredentialClientCapabilities":[],"PublicKeyCredentialCreationOptions":[],"PublicKeyCredentialCreationOptionsJSON":[],"PublicKeyCredentialDescriptor":[],"PublicKeyCredentialDescriptorJSON":[],"PublicKeyCredentialEntity":[],"PublicKeyCredentialParameters":[],"PublicKeyCredentialRequestOptions":[],"PublicKeyCredentialRequestOptionsJSON":[],"PublicKeyCredentialRpEntity":[],"PublicKeyCredentialType":[],"PublicKeyCredentialUserEntity":[],"PublicKeyCredentialUserEntityJSON":[],"PushEncryptionKeyName":[],"PushEvent":["PushEvent"],"PushEventInit":[],"PushManager":["PushManager"],"PushManagerAttribute":["pushManager"],"PushMessageData":["PushMessageData"],"PushMessageDataInit":[],"PushSubscription":["PushSubscription"],"PushSubscriptionChangeEvent":[],"PushSubscriptionChangeEventInit":[],"PushSubscriptionJSON":[],"PushSubscriptionOptions":["PushSubscriptionOptions"],"PushSubscriptionOptionsInit":[],"queueMicrotask":["Window/queueMicrotask"],"QueuingStrategy":[],"QueuingStrategyInit":[],"QueuingStrategySize":[],"RadioNodeList":["RadioNodeList"],"Range":["Range"],"RangeError":[],"RangeErrorConstructor":[],"ReadableByteStreamController":["ReadableByteStreamController"],"ReadableStream":["ReadableStream"],"ReadableStreamAsyncIterator":[],"ReadableStreamBYOBReader":["ReadableStreamBYOBReader"],"ReadableStreamBYOBReaderReadOptions":[],"ReadableStreamBYOBRequest":["ReadableStreamBYOBRequest"],"ReadableStreamController":[],"ReadableStreamDefaultController":["ReadableStreamDefaultController"],"ReadableStreamDefaultReader":["ReadableStreamDefaultReader"],"ReadableStreamGenericReader":["closed"],"ReadableStreamGetReaderOptions":[],"ReadableStreamIteratorOptions":[],"ReadableStreamReadDoneResult":[],"ReadableStreamReader":[],"ReadableStreamReaderMode":[],"ReadableStreamReadResult":[],"ReadableStreamReadValueResult":[],"ReadableStreamType":[],"ReadableWritablePair":[],"Readonly":["https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype"],"ReadonlyArray":[],"ReadonlyMap":[],"ReadonlySet":[],"ReadonlySetLike":[],"ReadyState":[],"Record":["https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"],"RecordingState":[],"RedEyeReduction":[],"ReferenceError":[],"ReferenceErrorConstructor":[],"ReferrerPolicy":[],"Reflect":[null,{"apply":[],"construct":[],"defineProperty":[],"deleteProperty":[],"get":[],"getOwnPropertyDescriptor":[],"getPrototypeOf":[],"has":[],"isExtensible":[],"ownKeys":[],"preventExtensions":[],"set":[],"setPrototypeOf":[]}],"RegExp":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp"],"RegExpConstructor":[],"RegExpExecArray":[],"RegExpIndicesArray":[],"RegExpMatchArray":[],"RegExpStringIterator":[],"RegistrationOptions":[],"RegistrationResponseJSON":[],"releaseEvents":["Window/releaseEvents"],"RemotePlayback":["RemotePlayback"],"RemotePlaybackAvailabilityCallback":[],"RemotePlaybackEventMap":[],"RemotePlaybackState":[],"removeEventListener":[],"RenderingContext":[],"Report":[],"ReportBody":[],"reportError":["Window/reportError"],"ReportingObserver":["ReportingObserver"],"ReportingObserverCallback":[],"ReportingObserverOptions":[],"ReportList":[],"Request":["Request"],"requestAnimationFrame":["DedicatedWorkerGlobalScope/requestAnimationFrame"],"RequestCache":[],"RequestCredentials":[],"RequestDestination":[],"requestIdleCallback":["Window/requestIdleCallback"],"RequestInfo":[],"RequestInit":[],"RequestMode":[],"RequestPriority":[],"RequestRedirect":[],"Required":["https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype"],"ResidentKeyRequirement":[],"resizeBy":["Window/resizeBy"],"ResizeObserver":["ResizeObserver"],"ResizeObserverBoxOptions":[],"ResizeObserverCallback":[],"ResizeObserverEntry":["ResizeObserverEntry"],"ResizeObserverOptions":[],"ResizeObserverSize":["ResizeObserverSize"],"ResizeQuality":[],"resizeTo":["Window/resizeTo"],"Response":["Response"],"ResponseInit":[],"ResponseType":[],"ReturnType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype"],"RsaHashedImportParams":[],"RsaHashedKeyAlgorithm":[],"RsaHashedKeyGenParams":[],"RsaKeyAlgorithm":[],"RsaKeyGenParams":[],"RsaOaepParams":[],"RsaOtherPrimesInfo":[],"RsaPssParams":[],"RTCAnswerOptions":[],"RTCBundlePolicy":[],"RTCCertificate":["RTCCertificate"],"RTCCertificateExpiration":[],"RTCConfiguration":[],"RTCDataChannel":["RTCDataChannel"],"RTCDataChannelEvent":["RTCDataChannelEvent"],"RTCDataChannelEventInit":[],"RTCDataChannelEventMap":[],"RTCDataChannelInit":[],"RTCDataChannelState":[],"RTCDegradationPreference":[],"RTCDtlsFingerprint":[],"RTCDtlsRole":[],"RTCDtlsTransport":["RTCDtlsTransport"],"RTCDtlsTransportEventMap":[],"RTCDtlsTransportState":[],"RTCDTMFSender":["RTCDTMFSender"],"RTCDTMFSenderEventMap":[],"RTCDTMFToneChangeEvent":["RTCDTMFToneChangeEvent"],"RTCDTMFToneChangeEventInit":[],"RTCEncodedAudioFrame":["RTCEncodedAudioFrame"],"RTCEncodedAudioFrameMetadata":[],"RTCEncodedFrameMetadata":[],"RTCEncodedVideoFrame":["RTCEncodedVideoFrame"],"RTCEncodedVideoFrameMetadata":[],"RTCError":["RTCError"],"RTCErrorDetailType":[],"RTCErrorEvent":["RTCErrorEvent"],"RTCErrorEventInit":[],"RTCErrorInit":[],"RTCIceCandidate":["RTCIceCandidate"],"RTCIceCandidateInit":[],"RTCIceCandidatePair":[],"RTCIceCandidatePairStats":[],"RTCIceCandidateType":[],"RTCIceComponent":[],"RTCIceConnectionState":[],"RTCIceGathererState":[],"RTCIceGatheringState":[],"RTCIceProtocol":[],"RTCIceRole":[],"RTCIceServer":[],"RTCIceTcpCandidateType":[],"RTCIceTransport":["RTCIceTransport"],"RTCIceTransportEventMap":[],"RTCIceTransportPolicy":[],"RTCIceTransportState":[],"RTCInboundRtpStreamStats":[],"RTCLocalIceCandidateInit":[],"RTCLocalSessionDescriptionInit":[],"RTCOfferAnswerOptions":[],"RTCOfferOptions":[],"RTCOutboundRtpStreamStats":[],"RTCPeerConnection":["RTCPeerConnection"],"RTCPeerConnectionErrorCallback":[],"RTCPeerConnectionEventMap":[],"RTCPeerConnectionIceErrorEvent":["RTCPeerConnectionIceErrorEvent"],"RTCPeerConnectionIceErrorEventInit":[],"RTCPeerConnectionIceEvent":["RTCPeerConnectionIceEvent"],"RTCPeerConnectionIceEventInit":[],"RTCPeerConnectionState":[],"RTCPriorityType":[],"RTCQualityLimitationReason":[],"RTCReceivedRtpStreamStats":[],"RTCRtcpMuxPolicy":[],"RTCRtcpParameters":[],"RTCRtpCapabilities":[],"RTCRtpCodec":[],"RTCRtpCodecParameters":[],"RTCRtpCodingParameters":[],"RTCRtpContributingSource":[],"RTCRtpEncodingParameters":[],"RTCRtpHeaderExtensionCapability":[],"RTCRtpHeaderExtensionParameters":[],"RTCRtpParameters":[],"RTCRtpReceiveParameters":[],"RTCRtpReceiver":["RTCRtpReceiver"],"RTCRtpReceiverTransform":[],"RTCRtpScriptTransform":["RTCRtpScriptTransform"],"RTCRtpScriptTransformer":["RTCRtpScriptTransformer"],"RTCRtpSender":["RTCRtpSender"],"RTCRtpSenderTransform":[],"RTCRtpSendParameters":[],"RTCRtpStreamStats":[],"RTCRtpSynchronizationSource":[],"RTCRtpTransceiver":["RTCRtpTransceiver"],"RTCRtpTransceiverDirection":[],"RTCRtpTransceiverInit":[],"RTCSctpTransport":["RTCSctpTransport"],"RTCSctpTransportEventMap":[],"RTCSctpTransportState":[],"RTCSdpType":[],"RTCSentRtpStreamStats":[],"RTCSessionDescription":["RTCSessionDescription"],"RTCSessionDescriptionCallback":[],"RTCSessionDescriptionInit":[],"RTCSetParameterOptions":[],"RTCSignalingState":[],"RTCStats":[],"RTCStatsIceCandidatePairState":[],"RTCStatsReport":["RTCStatsReport"],"RTCStatsType":[],"RTCTrackEvent":["RTCTrackEvent"],"RTCTrackEventInit":[],"RTCTransformEvent":["RTCTransformEvent"],"RTCTransportStats":[],"SafeArray":[],"Sanitizer":["allowAttribute"],"SanitizerAttribute":[],"SanitizerAttributeNamespace":[],"SanitizerConfig":[],"SanitizerElement":[],"SanitizerElementNamespace":[],"SanitizerElementNamespaceWithAttributes":[],"SanitizerElementWithAttributes":[],"SanitizerPresets":[],"scheduler":[],"Scheduler":["Scheduler"],"SchedulerPostTaskCallback":[],"SchedulerPostTaskOptions":[],"screen":[],"Screen":["Screen"],"screenLeft":[],"ScreenOrientation":["ScreenOrientation"],"ScreenOrientationEventMap":[],"screenTop":[],"screenX":[],"screenY":[],"ScriptProcessorNode":["ScriptProcessorNode"],"ScriptProcessorNodeEventMap":[],"scroll":["Window/scroll"],"ScrollAxis":[],"scrollbars":[],"ScrollBehavior":[],"scrollBy":["Window/scrollBy"],"ScrollIntoViewOptions":[],"ScrollLogicalPosition":[],"ScrollOptions":[],"ScrollRestoration":[],"ScrollSetting":[],"ScrollTimeline":["ScrollTimeline"],"ScrollTimelineOptions":[],"scrollTo":["Window/scrollTo"],"ScrollToOptions":[],"scrollX":[],"scrollY":[],"SecurityPolicyViolationEvent":["SecurityPolicyViolationEvent"],"SecurityPolicyViolationEventDisposition":[],"SecurityPolicyViolationEventInit":[],"Selection":["Selection"],"SelectionDirection":[],"SelectionMode":[],"self":[],"ServiceWorker":["ServiceWorker"],"ServiceWorkerContainer":["ServiceWorkerContainer"],"ServiceWorkerContainerEventMap":[],"ServiceWorkerEventMap":[],"ServiceWorkerGlobalScope":["ServiceWorkerGlobalScope"],"ServiceWorkerGlobalScopeEventMap":[],"ServiceWorkerRegistration":["ServiceWorkerRegistration"],"ServiceWorkerRegistrationEventMap":[],"ServiceWorkerState":[],"ServiceWorkerUpdateViaCache":[],"sessionStorage":[],"Set":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set"],"SetConstructor":[],"setInterval":["Window/setInterval"],"SetIterator":[],"setTimeout":["Window/setTimeout"],"ShadowRoot":["ShadowRoot"],"ShadowRootEventMap":[],"ShadowRootInit":[],"ShadowRootMode":[],"SharedArrayBuffer":[],"SharedArrayBufferConstructor":[],"ShareData":[],"SharedWorker":["SharedWorker"],"SharedWorkerGlobalScope":["SharedWorkerGlobalScope"],"SharedWorkerGlobalScopeEventMap":[],"ShowPopoverOptions":[],"SlotAssignmentMode":[],"Slottable":["assignedSlot"],"SourceBuffer":["SourceBuffer"],"SourceBufferEventMap":[],"SourceBufferList":["SourceBufferList"],"SourceBufferListEventMap":[],"SpeechRecognitionAlternative":["SpeechRecognitionAlternative"],"SpeechRecognitionErrorCode":[],"SpeechRecognitionErrorEvent":["SpeechRecognitionErrorEvent"],"SpeechRecognitionErrorEventInit":[],"SpeechRecognitionEvent":["SpeechRecognitionEvent"],"SpeechRecognitionEventInit":[],"SpeechRecognitionResult":["SpeechRecognitionResult"],"SpeechRecognitionResultList":["SpeechRecognitionResultList"],"speechSynthesis":[],"SpeechSynthesis":["SpeechSynthesis"],"SpeechSynthesisErrorCode":[],"SpeechSynthesisErrorEvent":["SpeechSynthesisErrorEvent"],"SpeechSynthesisErrorEventInit":[],"SpeechSynthesisEvent":["SpeechSynthesisEvent"],"SpeechSynthesisEventInit":[],"SpeechSynthesisEventMap":[],"SpeechSynthesisUtterance":["SpeechSynthesisUtterance"],"SpeechSynthesisUtteranceEventMap":[],"SpeechSynthesisVoice":["SpeechSynthesisVoice"],"StartViewTransitionOptions":[],"StaticRange":["StaticRange"],"StaticRangeInit":[],"status":[],"statusbar":[],"StereoPannerNode":["StereoPannerNode"],"StereoPannerOptions":[],"stop":["Window/stop"],"Storage":["Storage"],"StorageEstimate":[],"StorageEvent":["StorageEvent"],"StorageEventInit":[],"StorageManager":["StorageManager"],"StreamPipeOptions":[],"String":[],"StringConstructor":[],"StringIterator":[],"structuredClone":["Window/structuredClone"],"StructuredSerializeOptions":[],"StylePropertyMap":["StylePropertyMap"],"StylePropertyMapReadOnly":["StylePropertyMapReadOnly"],"StylePropertyMapReadOnlyIterator":[],"StyleSheet":["StyleSheet"],"StyleSheetList":["StyleSheetList"],"SubmitEvent":["SubmitEvent"],"SubmitEventInit":[],"SubtleCrypto":["SubtleCrypto"],"SuppressedError":[],"SuppressedErrorConstructor":[],"SvcOutputMetadata":[],"SVGAElement":["SVGAElement"],"SVGAngle":["SVGAngle"],"SVGAnimatedAngle":["SVGAnimatedAngle"],"SVGAnimatedBoolean":["SVGAnimatedBoolean"],"SVGAnimatedEnumeration":["SVGAnimatedEnumeration"],"SVGAnimatedInteger":["SVGAnimatedInteger"],"SVGAnimatedLength":["SVGAnimatedLength"],"SVGAnimatedLengthList":["SVGAnimatedLengthList"],"SVGAnimatedNumber":["SVGAnimatedNumber"],"SVGAnimatedNumberList":["SVGAnimatedNumberList"],"SVGAnimatedPoints":["animatedPoints"],"SVGAnimatedPreserveAspectRatio":["SVGAnimatedPreserveAspectRatio"],"SVGAnimatedRect":["SVGAnimatedRect"],"SVGAnimatedString":["SVGAnimatedString"],"SVGAnimatedTransformList":["SVGAnimatedTransformList"],"SVGAnimateElement":["SVGAnimateElement"],"SVGAnimateMotionElement":["SVGAnimateMotionElement"],"SVGAnimateTransformElement":["SVGAnimateTransformElement"],"SVGAnimationElement":["SVGAnimationElement"],"SVGBoundingBoxOptions":[],"SVGCircleElement":["SVGCircleElement"],"SVGClipPathElement":["SVGClipPathElement"],"SVGComponentTransferFunctionElement":["SVGComponentTransferFunctionElement"],"SVGDefsElement":["SVGDefsElement"],"SVGDescElement":["SVGDescElement"],"SVGElement":["SVGElement"],"SVGElementEventMap":[],"SVGElementTagNameMap":[],"SVGEllipseElement":["SVGEllipseElement"],"SVGFEBlendElement":["SVGFEBlendElement"],"SVGFEColorMatrixElement":["SVGFEColorMatrixElement"],"SVGFEComponentTransferElement":["SVGFEComponentTransferElement"],"SVGFECompositeElement":["SVGFECompositeElement"],"SVGFEConvolveMatrixElement":["SVGFEConvolveMatrixElement"],"SVGFEDiffuseLightingElement":["SVGFEDiffuseLightingElement"],"SVGFEDisplacementMapElement":["SVGFEDisplacementMapElement"],"SVGFEDistantLightElement":["SVGFEDistantLightElement"],"SVGFEDropShadowElement":["SVGFEDropShadowElement"],"SVGFEFloodElement":["SVGFEFloodElement"],"SVGFEFuncAElement":["SVGFEFuncAElement"],"SVGFEFuncBElement":["SVGFEFuncBElement"],"SVGFEFuncGElement":["SVGFEFuncGElement"],"SVGFEFuncRElement":["SVGFEFuncRElement"],"SVGFEGaussianBlurElement":["SVGFEGaussianBlurElement"],"SVGFEImageElement":["SVGFEImageElement"],"SVGFEMergeElement":["SVGFEMergeElement"],"SVGFEMergeNodeElement":["SVGFEMergeNodeElement"],"SVGFEMorphologyElement":["SVGFEMorphologyElement"],"SVGFEOffsetElement":["SVGFEOffsetElement"],"SVGFEPointLightElement":["SVGFEPointLightElement"],"SVGFESpecularLightingElement":["SVGFESpecularLightingElement"],"SVGFESpotLightElement":["SVGFESpotLightElement"],"SVGFETileElement":["SVGFETileElement"],"SVGFETurbulenceElement":["SVGFETurbulenceElement"],"SVGFilterElement":["SVGFilterElement"],"SVGFilterPrimitiveStandardAttributes":["height"],"SVGFitToViewBox":["preserveAspectRatio"],"SVGForeignObjectElement":["SVGForeignObjectElement"],"SVGGElement":["SVGGElement"],"SVGGeometryElement":["SVGGeometryElement"],"SVGGradientElement":["SVGGradientElement"],"SVGGraphicsElement":["SVGGraphicsElement"],"SVGImageElement":["SVGImageElement"],"SVGLength":["SVGLength"],"SVGLengthList":["SVGLengthList"],"SVGLinearGradientElement":["SVGLinearGradientElement"],"SVGLineElement":["SVGLineElement"],"SVGMarkerElement":["SVGMarkerElement"],"SVGMaskElement":["SVGMaskElement"],"SVGMatrix":[],"SVGMetadataElement":["SVGMetadataElement"],"SVGMPathElement":["SVGMPathElement"],"SVGNumber":["SVGNumber"],"SVGNumberList":["SVGNumberList"],"SVGPathElement":["SVGPathElement"],"SVGPatternElement":["SVGPatternElement"],"SVGPoint":[],"SVGPointList":["SVGPointList"],"SVGPolygonElement":["SVGPolygonElement"],"SVGPolylineElement":["SVGPolylineElement"],"SVGPreserveAspectRatio":["SVGPreserveAspectRatio"],"SVGRadialGradientElement":["SVGRadialGradientElement"],"SVGRect":[],"SVGRectElement":["SVGRectElement"],"SVGScriptElement":["SVGScriptElement"],"SVGSetElement":["SVGSetElement"],"SVGStopElement":["SVGStopElement"],"SVGStringList":["SVGStringList"],"SVGStyleElement":["SVGStyleElement"],"SVGSVGElement":["SVGSVGElement"],"SVGSVGElementEventMap":[],"SVGSwitchElement":["SVGSwitchElement"],"SVGSymbolElement":["SVGSymbolElement"],"SVGTests":["requiredExtensions"],"SVGTextContentElement":["SVGTextContentElement"],"SVGTextElement":["SVGTextElement"],"SVGTextPathElement":["SVGTextPathElement"],"SVGTextPositioningElement":["SVGTextPositioningElement"],"SVGTitleElement":["SVGTitleElement"],"SVGTransform":["SVGTransform"],"SVGTransformList":["SVGTransformList"],"SVGTSpanElement":["SVGTSpanElement"],"SVGUnitTypes":["SVGUnitTypes"],"SVGURIReference":["href"],"SVGUseElement":["SVGUseElement"],"SVGViewElement":["SVGViewElement"],"Symbol":[],"SymbolConstructor":[],"SyntaxError":[],"SyntaxErrorConstructor":[],"TaskController":["TaskController"],"TaskControllerInit":[],"TaskPriority":[],"TaskPriorityChangeEvent":["TaskPriorityChangeEvent"],"TaskPriorityChangeEventInit":[],"TaskSignal":["TaskSignal"],"TaskSignalAnyInit":[],"TaskSignalEventMap":[],"TemplateStringsArray":[],"Temporal":[null,{"CalendarLike":[],"DateLikeObject":[],"DateTimeLikeObject":[],"DateUnit":[],"DisambiguationOptions":[],"Duration":[],"DurationConstructor":[],"DurationLike":[],"DurationLikeObject":[],"DurationRelativeToOptions":[],"DurationRoundingOptions":[],"DurationToStringOptions":[],"DurationTotalOptions":[],"Instant":[],"InstantConstructor":[],"InstantLike":[],"InstantToStringOptions":[],"Now":[null,{"instant":[],"plainDateISO":[],"plainDateTimeISO":[],"plainTimeISO":[],"timeZoneId":[],"zonedDateTimeISO":[]}],"OverflowOptions":[],"PartialTemporalLike":[],"PlainDate":[],"PlainDateConstructor":[],"PlainDateLike":[],"PlainDateTime":[],"PlainDateTimeConstructor":[],"PlainDateTimeLike":[],"PlainDateTimeToStringOptions":[],"PlainDateToStringOptions":[],"PlainDateToZonedDateTimeOptions":[],"PlainMonthDay":[],"PlainMonthDayConstructor":[],"PlainMonthDayLike":[],"PlainMonthDayToPlainDateOptions":[],"PlainTime":[],"PlainTimeConstructor":[],"PlainTimeLike":[],"PlainTimeToStringOptions":[],"PlainYearMonth":[],"PlainYearMonthConstructor":[],"PlainYearMonthLike":[],"PlainYearMonthToPlainDateOptions":[],"PluralizeUnit":[],"RoundingOptions":[],"RoundingOptionsWithLargestUnit":[],"TimeLikeObject":[],"TimeUnit":[],"TimeZoneLike":[],"ToStringRoundingOptions":[],"ToStringRoundingOptionsWithFractionalSeconds":[],"TransitionOptions":[],"YearMonthLikeObject":[],"ZonedDateTime":[],"ZonedDateTimeConstructor":[],"ZonedDateTimeFromOptions":[],"ZonedDateTimeLike":[],"ZonedDateTimeLikeObject":[],"ZonedDateTimeToStringOptions":[]}],"TexImageSource":[],"Text":["Text"],"TextDecodeOptions":[],"TextDecoder":["TextDecoder"],"TextDecoderCommon":["encoding"],"TextDecoderOptions":[],"TextDecoderStream":["TextDecoderStream"],"TextEncoder":["TextEncoder"],"TextEncoderCommon":["encoding"],"TextEncoderEncodeIntoResult":[],"TextEncoderStream":["TextEncoderStream"],"TextEvent":["TextEvent"],"TextMetrics":["TextMetrics"],"TextStreamBase":[],"TextStreamReader":[],"TextStreamWriter":[],"TextTrack":["TextTrack"],"TextTrackCue":["TextTrackCue"],"TextTrackCueEventMap":[],"TextTrackCueList":["TextTrackCueList"],"TextTrackEventMap":[],"TextTrackKind":[],"TextTrackList":["TextTrackList"],"TextTrackListEventMap":[],"TextTrackMode":[],"ThisParameterType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#thisparametertypetype"],"ThisType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#thistypetype"],"TimelineRangeOffset":[],"TimeRanges":["TimeRanges"],"TimerHandler":[],"ToggleEvent":["ToggleEvent"],"ToggleEventInit":[],"TogglePopoverOptions":[],"toolbar":[],"top":[],"Touch":["Touch"],"TouchEvent":["TouchEvent"],"TouchEventInit":[],"TouchInit":[],"TouchList":["TouchList"],"TouchType":[],"TrackEvent":["TrackEvent"],"TrackEventInit":[],"Transferable":[],"TransferFunction":[],"Transformer":[],"TransformerFlushCallback":[],"TransformerStartCallback":[],"TransformerTransformCallback":[],"TransformStream":["TransformStream"],"TransformStreamDefaultController":["TransformStreamDefaultController"],"TransitionEvent":["TransitionEvent"],"TransitionEventInit":[],"TreeWalker":["TreeWalker"],"TypedPropertyDescriptor":[],"TypeError":[],"TypeErrorConstructor":[],"UIEvent":["UIEvent"],"UIEventInit":[],"Uint16Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array"],"Uint16ArrayConstructor":[],"Uint32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array"],"Uint32ArrayConstructor":[],"Uint32List":[],"Uint8Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"],"Uint8ArrayConstructor":[],"Uint8ClampedArray":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray"],"Uint8ClampedArrayConstructor":[],"ULongRange":[],"Uncapitalize":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"UnderlyingByteSource":[],"UnderlyingDefaultSource":[],"UnderlyingSink":[],"UnderlyingSinkAbortCallback":[],"UnderlyingSinkCloseCallback":[],"UnderlyingSinkStartCallback":[],"UnderlyingSinkWriteCallback":[],"UnderlyingSource":[],"UnderlyingSourceCancelCallback":[],"UnderlyingSourcePullCallback":[],"UnderlyingSourceStartCallback":[],"unescape":[],"UnknownCredentialOptions":[],"Uppercase":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"URIError":[],"URIErrorConstructor":[],"URL":["URL"],"URLPattern":["URLPattern"],"URLPatternComponentResult":[],"URLPatternInit":[],"URLPatternInput":[],"URLPatternOptions":[],"URLPatternResult":[],"URLSearchParams":["URLSearchParams"],"URLSearchParamsIterator":[],"UserActivation":["UserActivation"],"UserVerificationRequirement":[],"ValidityState":["ValidityState"],"ValidityStateFlags":[],"VarDate":[],"VBArray":[],"VBArrayConstructor":[],"VibratePattern":[],"VideoColorPrimaries":[],"VideoColorSpace":["VideoColorSpace"],"VideoColorSpaceInit":[],"VideoConfiguration":[],"VideoDecoder":["VideoDecoder"],"VideoDecoderConfig":[],"VideoDecoderEventMap":[],"VideoDecoderInit":[],"VideoDecoderSupport":[],"VideoEncoder":["VideoEncoder"],"VideoEncoderBitrateMode":[],"VideoEncoderConfig":[],"VideoEncoderEncodeOptions":[],"VideoEncoderEncodeOptionsForAvc":[],"VideoEncoderEventMap":[],"VideoEncoderInit":[],"VideoEncoderSupport":[],"VideoFacingModeEnum":[],"VideoFrame":["VideoFrame"],"VideoFrameBufferInit":[],"VideoFrameCallbackMetadata":[],"VideoFrameCopyToOptions":[],"VideoFrameInit":[],"VideoFrameOutputCallback":[],"VideoFrameRequestCallback":[],"VideoMatrixCoefficients":[],"VideoPixelFormat":[],"VideoPlaybackQuality":["VideoPlaybackQuality"],"VideoTransferCharacteristics":[],"ViewTimeline":["ViewTimeline"],"ViewTimelineOptions":[],"ViewTransition":["ViewTransition"],"ViewTransitionTypeSet":["ViewTransitionTypeSet"],"ViewTransitionUpdateCallback":[],"visualViewport":[],"VisualViewport":["VisualViewport"],"VisualViewportEventMap":[],"VoidFunction":[],"VTTCue":["VTTCue"],"VTTRegion":["VTTRegion"],"WakeLock":["WakeLock"],"WakeLockSentinel":["WakeLockSentinel"],"WakeLockSentinelEventMap":[],"WakeLockType":[],"WaveShaperNode":["WaveShaperNode"],"WaveShaperOptions":[],"WeakKey":[],"WeakKeyTypes":[],"WeakMap":[],"WeakMapConstructor":[],"WeakRef":[],"WeakRefConstructor":[],"WeakSet":[],"WeakSetConstructor":[],"WebAssembly":[null,{"AddressType":[],"AddressValue":[],"compile":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static"],"CompileError":[],"compileStreaming":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static"],"Exception":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception"],"ExceptionOptions":[],"Exports":[],"ExportValue":[],"Global":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global"],"GlobalDescriptor":[],"ImportExportKind":[],"Imports":[],"ImportValue":[],"Instance":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance"],"instantiate":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static"],"instantiateStreaming":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static"],"JSTag":[],"LinkError":[],"Memory":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory"],"MemoryDescriptor":[],"Module":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module"],"ModuleExportDescriptor":[],"ModuleImportDescriptor":[],"ModuleImports":[],"RuntimeError":[],"Table":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table"],"TableDescriptor":[],"TableKind":[],"Tag":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag"],"TagType":[],"validate":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static"],"ValueType":[],"ValueTypeMap":[],"WebAssemblyCompileOptions":[],"WebAssemblyInstantiatedSource":[]}],"WebCodecsErrorCallback":[],"WEBGL_color_buffer_float":["WEBGL_color_buffer_float"],"WEBGL_compressed_texture_astc":["WEBGL_compressed_texture_astc"],"WEBGL_compressed_texture_etc":["WEBGL_compressed_texture_etc"],"WEBGL_compressed_texture_etc1":["WEBGL_compressed_texture_etc1"],"WEBGL_compressed_texture_pvrtc":["WEBGL_compressed_texture_pvrtc"],"WEBGL_compressed_texture_s3tc":["WEBGL_compressed_texture_s3tc"],"WEBGL_compressed_texture_s3tc_srgb":["WEBGL_compressed_texture_s3tc_srgb"],"WEBGL_debug_renderer_info":["WEBGL_debug_renderer_info"],"WEBGL_debug_shaders":["WEBGL_debug_shaders"],"WEBGL_depth_texture":["WEBGL_depth_texture"],"WEBGL_draw_buffers":["WEBGL_draw_buffers"],"WEBGL_lose_context":["WEBGL_lose_context"],"WEBGL_multi_draw":["WEBGL_multi_draw"],"WebGL2RenderingContext":["WebGL2RenderingContext"],"WebGL2RenderingContextBase":["beginQuery"],"WebGL2RenderingContextOverloads":["bufferData"],"WebGLActiveInfo":["WebGLActiveInfo"],"WebGLBuffer":["WebGLBuffer"],"WebGLContextAttributes":[],"WebGLContextEvent":["WebGLContextEvent"],"WebGLContextEventInit":[],"WebGLFramebuffer":["WebGLFramebuffer"],"WebGLPowerPreference":[],"WebGLProgram":["WebGLProgram"],"WebGLQuery":["WebGLQuery"],"WebGLRenderbuffer":["WebGLRenderbuffer"],"WebGLRenderingContext":["WebGLRenderingContext"],"WebGLRenderingContextBase":["drawingBufferColorSpace"],"WebGLRenderingContextOverloads":["bufferData"],"WebGLSampler":["WebGLSampler"],"WebGLShader":["WebGLShader"],"WebGLShaderPrecisionFormat":["WebGLShaderPrecisionFormat"],"WebGLSync":["WebGLSync"],"WebGLTexture":["WebGLTexture"],"WebGLTransformFeedback":["WebGLTransformFeedback"],"WebGLUniformLocation":["WebGLUniformLocation"],"WebGLVertexArrayObject":["WebGLVertexArrayObject"],"WebGLVertexArrayObjectOES":["WebGLVertexArrayObject"],"WebKitCSSMatrix":[],"webkitURL":[],"WebSocket":["WebSocket"],"WebSocketEventMap":[],"WebTransport":["WebTransport"],"WebTransportBidirectionalStream":["WebTransportBidirectionalStream"],"WebTransportCloseInfo":[],"WebTransportCongestionControl":[],"WebTransportDatagramDuplexStream":["WebTransportDatagramDuplexStream"],"WebTransportError":["WebTransportError"],"WebTransportErrorOptions":[],"WebTransportErrorSource":[],"WebTransportHash":[],"WebTransportOptions":[],"WebTransportSendOptions":[],"WebTransportSendStreamOptions":[],"WGSLLanguageFeatures":["WGSLLanguageFeatures"],"WheelEvent":["WheelEvent"],"WheelEventInit":[],"window":[],"Window":["Window"],"WindowClient":["WindowClient"],"WindowEventHandlers":["afterprint_event"],"WindowEventHandlersEventMap":[],"WindowEventMap":[],"WindowLocalStorage":["localStorage"],"WindowOrWorkerGlobalScope":["caches"],"WindowPostMessageOptions":[],"WindowProxy":[],"WindowSessionStorage":["sessionStorage"],"Worker":["Worker"],"WorkerEventMap":[],"WorkerGlobalScope":["WorkerGlobalScope"],"WorkerGlobalScopeEventMap":[],"WorkerLocation":["WorkerLocation"],"WorkerNavigator":["WorkerNavigator"],"WorkerOptions":[],"WorkerType":[],"Worklet":["Worklet"],"WorkletOptions":[],"WritableStream":["WritableStream"],"WritableStreamDefaultController":["WritableStreamDefaultController"],"WritableStreamDefaultWriter":["WritableStreamDefaultWriter"],"WriteCommandType":[],"WriteParams":[],"WScript":[],"WSH":[],"XMLDocument":["XMLDocument"],"XMLHttpRequest":["XMLHttpRequest"],"XMLHttpRequestBodyInit":[],"XMLHttpRequestEventMap":[],"XMLHttpRequestEventTarget":["XMLHttpRequestEventTarget"],"XMLHttpRequestEventTargetEventMap":[],"XMLHttpRequestResponseType":[],"XMLHttpRequestUpload":["XMLHttpRequestUpload"],"XMLSerializer":["XMLSerializer"],"XPathEvaluator":["XPathEvaluator"],"XPathEvaluatorBase":["createExpression"],"XPathExpression":["XPathExpression"],"XPathNSResolver":[],"XPathResult":["XPathResult"],"XSLTProcessor":["XSLTProcessor"]}'), _o = {
|
|
1052
|
-
globals:
|
|
1051
|
+
const _o = /* @__PURE__ */ JSON.parse('{"AacBitstreamFormat":[],"AacEncoderConfig":[],"AbortController":["AbortController"],"AbortSignal":["AbortSignal"],"AbortSignalEventMap":[],"AbstractRange":["AbstractRange"],"AbstractWorker":["error_event"],"AbstractWorkerEventMap":[],"ActiveXObject":[],"addEventListener":[],"AddEventListenerOptions":[],"AddressErrors":[],"AesCbcParams":[],"AesCtrParams":[],"AesDerivedKeyParams":[],"AesGcmParams":[],"AesKeyAlgorithm":[],"AesKeyGenParams":[],"AggregateError":[],"AggregateErrorConstructor":[],"alert":["Window/alert"],"Algorithm":[],"AlgorithmIdentifier":[],"AlignSetting":[],"AllAcceptedCredentialsOptions":[],"AllowSharedBufferSource":[],"AlphaOption":[],"AnalyserNode":["AnalyserNode"],"AnalyserOptions":[],"ANGLE_instanced_arrays":["ANGLE_instanced_arrays"],"Animatable":["animate"],"Animation":["Animation"],"AnimationEffect":["AnimationEffect"],"AnimationEvent":["AnimationEvent"],"AnimationEventInit":[],"AnimationEventMap":[],"AnimationFrameProvider":["cancelAnimationFrame"],"AnimationPlaybackEvent":["AnimationPlaybackEvent"],"AnimationPlaybackEventInit":[],"AnimationPlayState":[],"AnimationReplaceState":[],"AnimationTimeline":["AnimationTimeline"],"AppendMode":[],"ARIAMixin":["ariaActiveDescendantElement"],"Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array"],"ArrayBuffer":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"],"ArrayBufferConstructor":[],"ArrayBufferLike":[],"ArrayBufferTypes":[],"ArrayBufferView":[],"ArrayConstructor":[],"ArrayIterator":[],"ArrayLike":[],"AssignedNodesOptions":[],"AsyncDisposable":[],"AsyncDisposableStack":[],"AsyncDisposableStackConstructor":[],"AsyncGenerator":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator"],"AsyncGeneratorFunction":[],"AsyncGeneratorFunctionConstructor":[],"AsyncIterable":[],"AsyncIterableIterator":[],"AsyncIterator":[],"AsyncIteratorObject":[],"atob":["Window/atob"],"Atomics":[],"AttestationConveyancePreference":[],"Attr":["Attr"],"Audio":[],"AudioBuffer":["AudioBuffer"],"AudioBufferOptions":[],"AudioBufferSourceNode":["AudioBufferSourceNode"],"AudioBufferSourceOptions":[],"AudioConfiguration":[],"AudioContext":["AudioContext"],"AudioContextLatencyCategory":[],"AudioContextOptions":[],"AudioContextState":[],"AudioData":["AudioData"],"AudioDataCopyToOptions":[],"AudioDataInit":[],"AudioDataOutputCallback":[],"AudioDecoder":["AudioDecoder"],"AudioDecoderConfig":[],"AudioDecoderEventMap":[],"AudioDecoderInit":[],"AudioDecoderSupport":[],"AudioDestinationNode":["AudioDestinationNode"],"AudioEncoder":["AudioEncoder"],"AudioEncoderConfig":[],"AudioEncoderEventMap":[],"AudioEncoderInit":[],"AudioEncoderSupport":[],"AudioListener":["AudioListener"],"AudioNode":["AudioNode"],"AudioNodeOptions":[],"AudioParam":["AudioParam"],"AudioParamMap":["AudioParamMap"],"AudioProcessingEvent":["AudioProcessingEvent"],"AudioProcessingEventInit":[],"AudioSampleFormat":[],"AudioScheduledSourceNode":["AudioScheduledSourceNode"],"AudioScheduledSourceNodeEventMap":[],"AudioTimestamp":[],"AudioWorklet":["AudioWorklet"],"AudioWorkletNode":["AudioWorkletNode"],"AudioWorkletNodeEventMap":[],"AudioWorkletNodeOptions":[],"AuthenticationExtensionsClientInputs":[],"AuthenticationExtensionsClientInputsJSON":[],"AuthenticationExtensionsClientOutputs":[],"AuthenticationExtensionsClientOutputsJSON":[],"AuthenticationExtensionsLargeBlobInputs":[],"AuthenticationExtensionsLargeBlobInputsJSON":[],"AuthenticationExtensionsLargeBlobOutputs":[],"AuthenticationExtensionsLargeBlobOutputsJSON":[],"AuthenticationExtensionsPRFInputs":[],"AuthenticationExtensionsPRFInputsJSON":[],"AuthenticationExtensionsPRFOutputs":[],"AuthenticationExtensionsPRFOutputsJSON":[],"AuthenticationExtensionsPRFValues":[],"AuthenticationExtensionsPRFValuesJSON":[],"AuthenticationResponseJSON":[],"AuthenticatorAssertionResponse":["AuthenticatorAssertionResponse"],"AuthenticatorAssertionResponseJSON":[],"AuthenticatorAttachment":[],"AuthenticatorAttestationResponse":["AuthenticatorAttestationResponse"],"AuthenticatorAttestationResponseJSON":[],"AuthenticatorResponse":["AuthenticatorResponse"],"AuthenticatorSelectionCriteria":[],"AuthenticatorTransport":[],"AutoFill":[],"AutoFillAddressKind":[],"AutoFillBase":[],"AutoFillContactField":[],"AutoFillContactKind":[],"AutoFillCredentialField":[],"AutoFillField":[],"AutoFillNormalField":[],"AutoFillSection":[],"AutoKeyword":[],"AutomationRate":[],"AvcBitstreamFormat":[],"AvcEncoderConfig":[],"Awaited":["https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype"],"BarProp":["BarProp"],"Base64URLString":[],"BaseAudioContext":["BaseAudioContext"],"BaseAudioContextEventMap":[],"BeforeUnloadEvent":["BeforeUnloadEvent"],"BigInt":[],"BigInt64Array":[],"BigInt64ArrayConstructor":[],"BigIntConstructor":[],"BigInteger":[],"BigIntToLocaleStringOptions":[],"BigUint64Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint64Array"],"BigUint64ArrayConstructor":[],"BinaryType":[],"BiquadFilterNode":["BiquadFilterNode"],"BiquadFilterOptions":[],"BiquadFilterType":[],"BitrateMode":[],"Blob":["Blob"],"BlobCallback":[],"BlobEvent":["BlobEvent"],"BlobEventInit":[],"BlobPart":[],"BlobPropertyBag":[],"blur":["Window/blur"],"Body":["body"],"BodyInit":[],"Boolean":[],"BooleanConstructor":[],"BroadcastChannel":["BroadcastChannel"],"BroadcastChannelEventMap":[],"btoa":["Window/btoa"],"BufferSource":[],"BuiltinIteratorReturn":[],"ByteLengthQueuingStrategy":["ByteLengthQueuingStrategy"],"Cache":["Cache"],"CacheQueryOptions":[],"caches":[],"CacheStorage":["CacheStorage"],"CallableFunction":[],"cancelAnimationFrame":["DedicatedWorkerGlobalScope/cancelAnimationFrame"],"cancelIdleCallback":["Window/cancelIdleCallback"],"CanPlayTypeResult":[],"CanvasCaptureMediaStreamTrack":["CanvasCaptureMediaStreamTrack"],"CanvasCompositing":["globalAlpha"],"CanvasDirection":[],"CanvasDrawImage":["drawImage"],"CanvasDrawPath":["beginPath"],"CanvasFillRule":[],"CanvasFillStrokeStyles":["fillStyle"],"CanvasFilters":["filter"],"CanvasFontKerning":[],"CanvasFontStretch":[],"CanvasFontVariantCaps":[],"CanvasGradient":["CanvasGradient"],"CanvasImageData":["createImageData"],"CanvasImageSmoothing":["imageSmoothingEnabled"],"CanvasImageSource":[],"CanvasLineCap":[],"CanvasLineJoin":[],"CanvasPath":["arc"],"CanvasPathDrawingStyles":["lineCap"],"CanvasPattern":["CanvasPattern"],"CanvasRect":["clearRect"],"CanvasRenderingContext2D":["CanvasRenderingContext2D"],"CanvasRenderingContext2DSettings":[],"CanvasSettings":["getContextAttributes"],"CanvasShadowStyles":["shadowBlur"],"CanvasState":["isContextLost"],"CanvasText":["fillText"],"CanvasTextAlign":[],"CanvasTextBaseline":[],"CanvasTextDrawingStyles":["direction"],"CanvasTextRendering":[],"CanvasTransform":["getTransform"],"CanvasUserInterface":["drawFocusIfNeeded"],"Capitalize":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"captureEvents":["Window/captureEvents"],"CaretPosition":["CaretPosition"],"CaretPositionFromPointOptions":[],"CDATASection":["CDATASection"],"ChannelCountMode":[],"ChannelInterpretation":[],"ChannelMergerNode":["ChannelMergerNode"],"ChannelMergerOptions":[],"ChannelSplitterNode":["ChannelSplitterNode"],"ChannelSplitterOptions":[],"CharacterData":["CharacterData"],"CheckVisibilityOptions":[],"ChildNode":["after"],"ClassAccessorDecoratorContext":[],"ClassAccessorDecoratorResult":[],"ClassAccessorDecoratorTarget":[],"ClassDecorator":[],"ClassDecoratorContext":[],"ClassFieldDecoratorContext":[],"ClassGetterDecoratorContext":[],"ClassMemberDecoratorContext":[],"ClassMethodDecoratorContext":[],"ClassSetterDecoratorContext":[],"clearInterval":["Window/clearInterval"],"clearTimeout":["Window/clearTimeout"],"Client":["Client"],"clientInformation":[],"ClientQueryOptions":[],"ClientRect":[],"Clients":["Clients"],"ClientTypes":[],"Clipboard":["Clipboard"],"ClipboardEvent":["ClipboardEvent"],"ClipboardEventInit":[],"ClipboardItem":["ClipboardItem"],"ClipboardItemData":[],"ClipboardItemOptions":[],"ClipboardItems":[],"close":["DedicatedWorkerGlobalScope/close"],"closed":[],"CloseEvent":["CloseEvent"],"CloseEventInit":[],"CodecState":[],"ColorGamut":[],"ColorSpaceConversion":[],"CommandEvent":["CommandEvent"],"CommandEventInit":[],"Comment":["Comment"],"CompositeOperation":[],"CompositeOperationOrAuto":[],"CompositionEvent":["CompositionEvent"],"CompositionEventInit":[],"CompressionFormat":[],"CompressionStream":["CompressionStream"],"ComputedEffectTiming":[],"ComputedKeyframe":[],"ConcatArray":[],"confirm":["Window/confirm"],"console":[],"Console":["console"],"ConstantSourceNode":["ConstantSourceNode"],"ConstantSourceOptions":[],"ConstrainBoolean":[],"ConstrainBooleanOrDOMString":[],"ConstrainBooleanOrDOMStringParameters":[],"ConstrainBooleanParameters":[],"ConstrainDOMString":[],"ConstrainDOMStringParameters":[],"ConstrainDouble":[],"ConstrainDoubleRange":[],"ConstrainULong":[],"ConstrainULongRange":[],"ConstructorParameters":["https://www.typescriptlang.org/docs/handbook/utility-types.html#constructorparameterstype"],"ContentVisibilityAutoStateChangeEvent":["ContentVisibilityAutoStateChangeEvent"],"ContentVisibilityAutoStateChangeEventInit":[],"ConvolverNode":["ConvolverNode"],"ConvolverOptions":[],"CookieChangeEvent":["CookieChangeEvent"],"CookieChangeEventInit":[],"CookieInit":[],"CookieList":[],"CookieListItem":[],"CookieSameSite":[],"cookieStore":[],"CookieStore":["CookieStore"],"CookieStoreDeleteOptions":[],"CookieStoreEventMap":[],"CookieStoreGetOptions":[],"CookieStoreManager":["CookieStoreManager"],"COSEAlgorithmIdentifier":[],"CountQueuingStrategy":["CountQueuingStrategy"],"createImageBitmap":["Window/createImageBitmap"],"Credential":["Credential"],"CredentialCreationOptions":[],"CredentialMediationRequirement":[],"CredentialPropertiesOutput":[],"CredentialRequestOptions":[],"CredentialsContainer":["CredentialsContainer"],"crossOriginIsolated":[],"crypto":[],"Crypto":["Crypto"],"CryptoKey":["CryptoKey"],"CryptoKeyPair":[],"CSS":[null,{"cap":[],"ch":["CSS/factory_functions_static"],"cm":["CSS/factory_functions_static"],"cqb":["CSS/factory_functions_static"],"cqh":["CSS/factory_functions_static"],"cqi":["CSS/factory_functions_static"],"cqmax":["CSS/factory_functions_static"],"cqmin":["CSS/factory_functions_static"],"cqw":["CSS/factory_functions_static"],"deg":["CSS/factory_functions_static"],"dpcm":["CSS/factory_functions_static"],"dpi":["CSS/factory_functions_static"],"dppx":["CSS/factory_functions_static"],"dvb":["CSS/factory_functions_static"],"dvh":["CSS/factory_functions_static"],"dvi":["CSS/factory_functions_static"],"dvmax":["CSS/factory_functions_static"],"dvmin":["CSS/factory_functions_static"],"dvw":["CSS/factory_functions_static"],"em":["CSS/factory_functions_static"],"escape":["CSS/escape_static"],"ex":["CSS/factory_functions_static"],"fr":["CSS/factory_functions_static"],"grad":["CSS/factory_functions_static"],"highlights":[],"Hz":["CSS/factory_functions_static"],"ic":[],"kHz":["CSS/factory_functions_static"],"lh":[],"lvb":["CSS/factory_functions_static"],"lvh":["CSS/factory_functions_static"],"lvi":["CSS/factory_functions_static"],"lvmax":["CSS/factory_functions_static"],"lvmin":["CSS/factory_functions_static"],"lvw":["CSS/factory_functions_static"],"mm":["CSS/factory_functions_static"],"ms":["CSS/factory_functions_static"],"number":["CSS/factory_functions_static"],"pc":["CSS/factory_functions_static"],"percent":["CSS/factory_functions_static"],"pt":["CSS/factory_functions_static"],"px":["CSS/factory_functions_static"],"Q":["CSS/factory_functions_static"],"rad":["CSS/factory_functions_static"],"rcap":[],"rch":[],"registerProperty":["CSS/registerProperty_static"],"rem":["CSS/factory_functions_static"],"rex":[],"ric":[],"rlh":[],"s":["CSS/factory_functions_static"],"supports":["CSS/supports_static"],"svb":["CSS/factory_functions_static"],"svh":["CSS/factory_functions_static"],"svi":["CSS/factory_functions_static"],"svmax":["CSS/factory_functions_static"],"svmin":["CSS/factory_functions_static"],"svw":["CSS/factory_functions_static"],"turn":["CSS/factory_functions_static"],"vb":["CSS/factory_functions_static"],"vh":["CSS/factory_functions_static"],"vi":["CSS/factory_functions_static"],"vmax":["CSS/factory_functions_static"],"vmin":["CSS/factory_functions_static"],"vw":["CSS/factory_functions_static"]}],"CSSAnimation":["CSSAnimation"],"CSSConditionRule":["CSSConditionRule"],"CSSContainerRule":["CSSContainerRule"],"CSSCounterStyleRule":["CSSCounterStyleRule"],"CSSFontFaceRule":["CSSFontFaceRule"],"CSSFontFeatureValuesRule":["CSSFontFeatureValuesRule"],"CSSFontPaletteValuesRule":["CSSFontPaletteValuesRule"],"CSSGroupingRule":["CSSGroupingRule"],"CSSImageValue":["CSSImageValue"],"CSSImportRule":["CSSImportRule"],"CSSKeyframeRule":["CSSKeyframeRule"],"CSSKeyframesRule":["CSSKeyframesRule"],"CSSKeywordish":[],"CSSKeywordValue":["CSSKeywordValue"],"CSSLayerBlockRule":["CSSLayerBlockRule"],"CSSLayerStatementRule":["CSSLayerStatementRule"],"CSSMathClamp":[],"CSSMathInvert":["CSSMathInvert"],"CSSMathMax":["CSSMathMax"],"CSSMathMin":["CSSMathMin"],"CSSMathNegate":["CSSMathNegate"],"CSSMathOperator":[],"CSSMathProduct":["CSSMathProduct"],"CSSMathSum":["CSSMathSum"],"CSSMathValue":["CSSMathValue"],"CSSMatrixComponent":["CSSMatrixComponent"],"CSSMatrixComponentOptions":[],"CSSMediaRule":["CSSMediaRule"],"CSSNamespaceRule":["CSSNamespaceRule"],"CSSNestedDeclarations":["CSSNestedDeclarations"],"CSSNumberish":[],"CSSNumericArray":["CSSNumericArray"],"CSSNumericBaseType":[],"CSSNumericType":[],"CSSNumericValue":["CSSNumericValue"],"CSSPageDescriptors":["CSSPageDescriptors"],"CSSPageRule":["CSSPageRule"],"CSSPerspective":["CSSPerspective"],"CSSPerspectiveValue":[],"CSSPositionTryDescriptors":["CSSPositionTryDescriptors"],"CSSPositionTryRule":["CSSPositionTryRule"],"CSSPropertyRule":["CSSPropertyRule"],"CSSRotate":["CSSRotate"],"CSSRule":["CSSRule"],"CSSRuleList":["CSSRuleList"],"CSSScale":["CSSScale"],"CSSScopeRule":["CSSScopeRule"],"CSSSkew":["CSSSkew"],"CSSSkewX":["CSSSkewX"],"CSSSkewY":["CSSSkewY"],"CSSStartingStyleRule":["CSSStartingStyleRule"],"CSSStyleDeclaration":[],"CSSStyleDeclarationBase":["CSSStyleDeclaration"],"CSSStyleProperties":["CSSStyleProperties"],"CSSStyleRule":["CSSStyleRule"],"CSSStyleSheet":["CSSStyleSheet"],"CSSStyleSheetInit":[],"CSSStyleValue":["CSSStyleValue"],"CSSSupportsRule":["CSSSupportsRule"],"CSSTransformComponent":["CSSTransformComponent"],"CSSTransformValue":["CSSTransformValue"],"CSSTransition":["CSSTransition"],"CSSTranslate":["CSSTranslate"],"CSSUnitValue":["CSSUnitValue"],"CSSUnparsedSegment":[],"CSSUnparsedValue":["CSSUnparsedValue"],"CSSVariableReferenceValue":["CSSVariableReferenceValue"],"CSSViewTransitionRule":["CSSViewTransitionRule"],"CurrentUserDetailsOptions":[],"CustomElementConstructor":[],"CustomElementRegistry":["CustomElementRegistry"],"customElements":[],"CustomEvent":["CustomEvent"],"CustomEventInit":[],"CustomStateSet":["CustomStateSet"],"DataTransfer":["DataTransfer"],"DataTransferItem":["DataTransferItem"],"DataTransferItemList":["DataTransferItemList"],"DataView":[],"DataViewConstructor":[],"Date":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Date"],"DateConstructor":[],"DecodeErrorCallback":[],"DecodeSuccessCallback":[],"decodeURI":[],"decodeURIComponent":[],"DecompressionStream":["DecompressionStream"],"DecoratorContext":[],"DecoratorMetadata":[],"DecoratorMetadataObject":[],"DedicatedWorkerGlobalScope":["DedicatedWorkerGlobalScope"],"DedicatedWorkerGlobalScopeEventMap":[],"DelayNode":["DelayNode"],"DelayOptions":[],"DeviceMotionEvent":["DeviceMotionEvent"],"DeviceMotionEventAcceleration":["DeviceMotionEventAcceleration"],"DeviceMotionEventAccelerationInit":[],"DeviceMotionEventInit":[],"DeviceMotionEventRotationRate":["DeviceMotionEventRotationRate"],"DeviceMotionEventRotationRateInit":[],"DeviceOrientationEvent":["DeviceOrientationEvent"],"DeviceOrientationEventInit":[],"devicePixelRatio":[],"DigitalCredential":[],"DirectionSetting":[],"dispatchEvent":["EventTarget/dispatchEvent"],"DisplayCaptureSurfaceType":[],"DisplayMediaStreamOptions":[],"Disposable":[],"DisposableStack":[],"DisposableStackConstructor":[],"DistanceModelType":[],"document":[],"Document":["Document"],"DocumentEventMap":[],"DocumentFragment":["DocumentFragment"],"DocumentOrShadowRoot":["activeElement"],"DocumentReadyState":[],"DocumentTimeline":["DocumentTimeline"],"DocumentTimelineOptions":[],"DocumentType":["DocumentType"],"DocumentVisibilityState":[],"DOMException":["DOMException"],"DOMHighResTimeStamp":[],"DOMImplementation":["DOMImplementation"],"DOMMatrix":["DOMMatrix"],"DOMMatrix2DInit":[],"DOMMatrixInit":[],"DOMMatrixReadOnly":["DOMMatrixReadOnly"],"DOMParser":["DOMParser"],"DOMParserSupportedType":[],"DOMPoint":["DOMPoint"],"DOMPointInit":[],"DOMPointReadOnly":["DOMPointReadOnly"],"DOMQuad":["DOMQuad"],"DOMQuadInit":[],"DOMRect":["DOMRect"],"DOMRectInit":[],"DOMRectList":["DOMRectList"],"DOMRectReadOnly":["DOMRectReadOnly"],"DOMStringList":["DOMStringList"],"DOMStringMap":["DOMStringMap"],"DOMTokenList":["DOMTokenList"],"DoubleRange":[],"DragEvent":["DragEvent"],"DragEventInit":[],"DynamicsCompressorNode":["DynamicsCompressorNode"],"DynamicsCompressorOptions":[],"EcdhKeyDeriveParams":[],"EcdsaParams":[],"EcKeyAlgorithm":[],"EcKeyGenParams":[],"EcKeyImportParams":[],"EffectTiming":[],"Element":["Element"],"ElementContentEditable":["contentEditable"],"ElementCreationOptions":[],"ElementCSSInlineStyle":["attributeStyleMap"],"ElementDefinitionOptions":[],"ElementEventMap":[],"ElementInternals":["ElementInternals"],"ElementTagNameMap":[],"EncodedAudioChunk":["EncodedAudioChunk"],"EncodedAudioChunkInit":[],"EncodedAudioChunkMetadata":[],"EncodedAudioChunkOutputCallback":[],"EncodedAudioChunkType":[],"EncodedVideoChunk":["EncodedVideoChunk"],"EncodedVideoChunkInit":[],"EncodedVideoChunkMetadata":[],"EncodedVideoChunkOutputCallback":[],"EncodedVideoChunkType":[],"encodeURI":[],"encodeURIComponent":[],"EndingType":[],"EndOfStreamError":[],"Enumerator":[],"EnumeratorConstructor":[],"EpochTimeStamp":[],"Error":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error"],"ErrorCallback":[],"ErrorConstructor":[],"ErrorEvent":["ErrorEvent"],"ErrorEventInit":[],"ErrorOptions":[],"escape":[],"eval":[],"EvalError":[],"EvalErrorConstructor":[],"event":[],"Event":["Event"],"EventCounts":["EventCounts"],"EventInit":[],"EventListener":[],"EventListenerObject":[],"EventListenerOptions":[],"EventListenerOrEventListenerObject":[],"EventModifierInit":[],"EventSource":["EventSource"],"EventSourceEventMap":[],"EventSourceInit":[],"EventTarget":["EventTarget"],"Exclude":["https://www.typescriptlang.org/docs/handbook/utility-types.html#excludeuniontype-excludedmembers"],"EXT_blend_minmax":["EXT_blend_minmax"],"EXT_color_buffer_float":["EXT_color_buffer_float"],"EXT_color_buffer_half_float":["EXT_color_buffer_half_float"],"EXT_float_blend":["EXT_float_blend"],"EXT_frag_depth":["EXT_frag_depth"],"EXT_shader_texture_lod":["EXT_shader_texture_lod"],"EXT_sRGB":["EXT_sRGB"],"EXT_texture_compression_bptc":["EXT_texture_compression_bptc"],"EXT_texture_compression_rgtc":["EXT_texture_compression_rgtc"],"EXT_texture_filter_anisotropic":["EXT_texture_filter_anisotropic"],"EXT_texture_norm16":["EXT_texture_norm16"],"ExtendableCookieChangeEvent":["ExtendableCookieChangeEvent"],"ExtendableCookieChangeEventInit":[],"ExtendableEvent":["ExtendableEvent"],"ExtendableEventInit":[],"ExtendableMessageEvent":["ExtendableMessageEvent"],"ExtendableMessageEventInit":[],"external":[],"External":[],"Extract":["https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union"],"fetch":["Window/fetch"],"FetchEvent":["FetchEvent"],"FetchEventInit":[],"File":["File"],"FileCallback":[],"FileList":["FileList"],"FilePropertyBag":[],"FileReader":["FileReader"],"FileReaderEventMap":[],"FileReaderSync":["FileReaderSync"],"FileSystem":["FileSystem"],"FileSystemCreateWritableOptions":[],"FileSystemDirectoryEntry":["FileSystemDirectoryEntry"],"FileSystemDirectoryHandle":["FileSystemDirectoryHandle"],"FileSystemDirectoryHandleAsyncIterator":[],"FileSystemDirectoryReader":["FileSystemDirectoryReader"],"FileSystemEntriesCallback":[],"FileSystemEntry":["FileSystemEntry"],"FileSystemEntryCallback":[],"FileSystemFileEntry":["FileSystemFileEntry"],"FileSystemFileHandle":["FileSystemFileHandle"],"FileSystemFlags":[],"FileSystemGetDirectoryOptions":[],"FileSystemGetFileOptions":[],"FileSystemHandle":["FileSystemHandle"],"FileSystemHandleKind":[],"FileSystemReadWriteOptions":[],"FileSystemRemoveOptions":[],"FileSystemSyncAccessHandle":["FileSystemSyncAccessHandle"],"FileSystemWritableFileStream":["FileSystemWritableFileStream"],"FileSystemWriteChunkType":[],"FillLightMode":[],"FillMode":[],"FinalizationRegistry":[],"FinalizationRegistryConstructor":[],"FlatArray":[],"Float16Array":[],"Float16ArrayConstructor":[],"Float32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float32Array"],"Float32ArrayConstructor":[],"Float32List":[],"Float64Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Float64Array"],"Float64ArrayConstructor":[],"focus":["Window/focus"],"FocusEvent":["FocusEvent"],"FocusEventInit":[],"FocusOptions":[],"FontDisplay":[],"FontFace":["FontFace"],"FontFaceDescriptors":[],"FontFaceLoadStatus":[],"FontFaceSet":["FontFaceSet"],"FontFaceSetEventMap":[],"FontFaceSetLoadEvent":["FontFaceSetLoadEvent"],"FontFaceSetLoadEventInit":[],"FontFaceSetLoadStatus":[],"FontFaceSource":["fonts"],"fonts":[],"FormData":["FormData"],"FormDataEntryValue":[],"FormDataEvent":["FormDataEvent"],"FormDataEventInit":[],"FormDataIterator":[],"FragmentDirective":["FragmentDirective"],"frameElement":[],"FrameRequestCallback":[],"frames":[],"FrameType":[],"FullscreenNavigationUI":[],"FullscreenOptions":[],"Function":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function"],"FunctionConstructor":[],"FunctionStringCallback":[],"GainNode":["GainNode"],"GainOptions":[],"Gamepad":["Gamepad"],"GamepadButton":["GamepadButton"],"GamepadEffectParameters":[],"GamepadEvent":["GamepadEvent"],"GamepadEventInit":[],"GamepadHapticActuator":["GamepadHapticActuator"],"GamepadHapticEffectType":[],"GamepadHapticsResult":[],"GamepadMappingType":[],"Generator":[],"GeneratorFunction":[],"GeneratorFunctionConstructor":[],"GenericTransformStream":["readable"],"Geolocation":["Geolocation"],"GeolocationCoordinates":["GeolocationCoordinates"],"GeolocationPosition":["GeolocationPosition"],"GeolocationPositionError":["GeolocationPositionError"],"GetAnimationsOptions":[],"GetComposedRangesOptions":[],"getComputedStyle":["Window/getComputedStyle"],"GetHTMLOptions":[],"GetNotificationOptions":[],"GetRootNodeOptions":[],"getSelection":["Window/getSelection"],"GLbitfield":[],"GLboolean":[],"GLclampf":[],"GLenum":[],"GLfloat":[],"GLint":[],"GLint64":[],"GLintptr":[],"global":[],"GlobalCompositeOperation":[],"GlobalEventHandlers":["abort_event"],"GlobalEventHandlersEventMap":[],"globalThis":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/globalThis"],"GLsizei":[],"GLsizeiptr":[],"GLuint":[],"GLuint64":[],"GPU":["GPU"],"GPUAdapter":["GPUAdapter"],"GPUAdapterInfo":["GPUAdapterInfo"],"GPUAddressMode":[],"GPUAutoLayoutMode":[],"GPUBindGroup":["GPUBindGroup"],"GPUBindGroupDescriptor":[],"GPUBindGroupEntry":[],"GPUBindGroupLayout":["GPUBindGroupLayout"],"GPUBindGroupLayoutDescriptor":[],"GPUBindGroupLayoutEntry":[],"GPUBindingCommandsMixin":["setBindGroup"],"GPUBindingResource":[],"GPUBlendComponent":[],"GPUBlendFactor":[],"GPUBlendOperation":[],"GPUBlendState":[],"GPUBuffer":["GPUBuffer"],"GPUBufferBinding":[],"GPUBufferBindingLayout":[],"GPUBufferBindingType":[],"GPUBufferDescriptor":[],"GPUBufferDynamicOffset":[],"GPUBufferMapState":[],"GPUBufferUsageFlags":[],"GPUCanvasAlphaMode":[],"GPUCanvasConfiguration":[],"GPUCanvasContext":["GPUCanvasContext"],"GPUCanvasToneMapping":[],"GPUCanvasToneMappingMode":[],"GPUColor":[],"GPUColorDict":[],"GPUColorTargetState":[],"GPUColorWriteFlags":[],"GPUCommandBuffer":["GPUCommandBuffer"],"GPUCommandBufferDescriptor":[],"GPUCommandEncoder":["GPUCommandEncoder"],"GPUCommandEncoderDescriptor":[],"GPUCompareFunction":[],"GPUCompilationInfo":["GPUCompilationInfo"],"GPUCompilationMessage":["GPUCompilationMessage"],"GPUCompilationMessageType":[],"GPUComputePassDescriptor":[],"GPUComputePassEncoder":["GPUComputePassEncoder"],"GPUComputePassTimestampWrites":[],"GPUComputePipeline":["GPUComputePipeline"],"GPUComputePipelineDescriptor":[],"GPUCopyExternalImageDestInfo":[],"GPUCopyExternalImageSource":[],"GPUCopyExternalImageSourceInfo":[],"GPUCullMode":[],"GPUDebugCommandsMixin":["insertDebugMarker"],"GPUDepthBias":[],"GPUDepthStencilState":[],"GPUDevice":["GPUDevice"],"GPUDeviceDescriptor":[],"GPUDeviceEventMap":[],"GPUDeviceLostInfo":["GPUDeviceLostInfo"],"GPUDeviceLostReason":[],"GPUError":["GPUError"],"GPUErrorFilter":[],"GPUExtent3D":[],"GPUExtent3DDict":[],"GPUExternalTexture":["GPUExternalTexture"],"GPUExternalTextureBindingLayout":[],"GPUExternalTextureDescriptor":[],"GPUFeatureName":[],"GPUFilterMode":[],"GPUFlagsConstant":[],"GPUFragmentState":[],"GPUFrontFace":[],"GPUIndex32":[],"GPUIndexFormat":[],"GPUIntegerCoordinate":[],"GPUIntegerCoordinateOut":[],"GPUInternalError":["GPUInternalError"],"GPULoadOp":[],"GPUMapModeFlags":[],"GPUMipmapFilterMode":[],"GPUMultisampleState":[],"GPUObjectBase":["label"],"GPUObjectDescriptorBase":[],"GPUOrigin2D":[],"GPUOrigin2DDict":[],"GPUOrigin3D":[],"GPUOrigin3DDict":[],"GPUOutOfMemoryError":["GPUOutOfMemoryError"],"GPUPipelineBase":["getBindGroupLayout"],"GPUPipelineConstantValue":[],"GPUPipelineDescriptorBase":[],"GPUPipelineError":["GPUPipelineError"],"GPUPipelineErrorInit":[],"GPUPipelineErrorReason":[],"GPUPipelineLayout":["GPUPipelineLayout"],"GPUPipelineLayoutDescriptor":[],"GPUPowerPreference":[],"GPUPrimitiveState":[],"GPUPrimitiveTopology":[],"GPUProgrammableStage":[],"GPUQuerySet":["GPUQuerySet"],"GPUQuerySetDescriptor":[],"GPUQueryType":[],"GPUQueue":["GPUQueue"],"GPUQueueDescriptor":[],"GPURenderBundle":["GPURenderBundle"],"GPURenderBundleDescriptor":[],"GPURenderBundleEncoder":["GPURenderBundleEncoder"],"GPURenderBundleEncoderDescriptor":[],"GPURenderCommandsMixin":["draw"],"GPURenderPassColorAttachment":[],"GPURenderPassDepthStencilAttachment":[],"GPURenderPassDescriptor":[],"GPURenderPassEncoder":["GPURenderPassEncoder"],"GPURenderPassLayout":[],"GPURenderPassTimestampWrites":[],"GPURenderPipeline":["GPURenderPipeline"],"GPURenderPipelineDescriptor":[],"GPURequestAdapterOptions":[],"GPUSampleMask":[],"GPUSampler":["GPUSampler"],"GPUSamplerBindingLayout":[],"GPUSamplerBindingType":[],"GPUSamplerDescriptor":[],"GPUShaderModule":["GPUShaderModule"],"GPUShaderModuleDescriptor":[],"GPUShaderStageFlags":[],"GPUSignedOffset32":[],"GPUSize32":[],"GPUSize32Out":[],"GPUSize64":[],"GPUSize64Out":[],"GPUStencilFaceState":[],"GPUStencilOperation":[],"GPUStencilValue":[],"GPUStorageTextureAccess":[],"GPUStorageTextureBindingLayout":[],"GPUStoreOp":[],"GPUSupportedFeatures":["GPUSupportedFeatures"],"GPUSupportedLimits":["GPUSupportedLimits"],"GPUTexelCopyBufferInfo":[],"GPUTexelCopyBufferLayout":[],"GPUTexelCopyTextureInfo":[],"GPUTexture":["GPUTexture"],"GPUTextureAspect":[],"GPUTextureBindingLayout":[],"GPUTextureDescriptor":[],"GPUTextureDimension":[],"GPUTextureFormat":[],"GPUTextureSampleType":[],"GPUTextureUsageFlags":[],"GPUTextureView":["GPUTextureView"],"GPUTextureViewDescriptor":[],"GPUTextureViewDimension":[],"GPUUncapturedErrorEvent":["GPUUncapturedErrorEvent"],"GPUUncapturedErrorEventInit":[],"GPUValidationError":["GPUValidationError"],"GPUVertexAttribute":[],"GPUVertexBufferLayout":[],"GPUVertexFormat":[],"GPUVertexState":[],"GPUVertexStepMode":[],"HardwareAcceleration":[],"HashAlgorithmIdentifier":[],"HashChangeEvent":["HashChangeEvent"],"HashChangeEventInit":[],"HdrMetadataType":[],"Headers":["Headers"],"HeadersInit":[],"HeadersIterator":[],"Highlight":["Highlight"],"HighlightRegistry":["HighlightRegistry"],"HighlightType":[],"history":[],"History":["History"],"HkdfParams":[],"HmacImportParams":[],"HmacKeyAlgorithm":[],"HmacKeyGenParams":[],"HTMLAllCollection":["HTMLAllCollection"],"HTMLAnchorElement":["HTMLAnchorElement"],"HTMLAreaElement":["HTMLAreaElement"],"HTMLAudioElement":["HTMLAudioElement"],"HTMLBaseElement":["HTMLBaseElement"],"HTMLBodyElement":["HTMLBodyElement"],"HTMLBodyElementEventMap":[],"HTMLBRElement":["HTMLBRElement"],"HTMLButtonElement":["HTMLButtonElement"],"HTMLCanvasElement":["HTMLCanvasElement"],"HTMLCollection":["namedItem"],"HTMLCollectionBase":["HTMLCollection"],"HTMLCollectionOf":[],"HTMLDataElement":["HTMLDataElement"],"HTMLDataListElement":["HTMLDataListElement"],"HTMLDetailsElement":["HTMLDetailsElement"],"HTMLDialogElement":["HTMLDialogElement"],"HTMLDirectoryElement":[],"HTMLDivElement":["HTMLDivElement"],"HTMLDListElement":["HTMLDListElement"],"HTMLDocument":[],"HTMLElement":["HTMLElement"],"HTMLElementDeprecatedTagNameMap":[],"HTMLElementEventMap":[],"HTMLElementTagNameMap":[],"HTMLEmbedElement":["HTMLEmbedElement"],"HTMLFieldSetElement":["HTMLFieldSetElement"],"HTMLFontElement":["HTMLFontElement"],"HTMLFormControlsCollection":["HTMLFormControlsCollection"],"HTMLFormElement":["HTMLFormElement"],"HTMLFrameElement":[],"HTMLFrameSetElement":["HTMLFrameSetElement"],"HTMLFrameSetElementEventMap":[],"HTMLHeadElement":["HTMLHeadElement"],"HTMLHeadingElement":["HTMLHeadingElement"],"HTMLHRElement":["HTMLHRElement"],"HTMLHtmlElement":["HTMLHtmlElement"],"HTMLHyperlinkElementUtils":["hash"],"HTMLIFrameElement":["HTMLIFrameElement"],"HTMLImageElement":["HTMLImageElement"],"HTMLInputElement":["HTMLInputElement"],"HTMLLabelElement":["HTMLLabelElement"],"HTMLLegendElement":["HTMLLegendElement"],"HTMLLIElement":["HTMLLIElement"],"HTMLLinkElement":["HTMLLinkElement"],"HTMLMapElement":["HTMLMapElement"],"HTMLMarqueeElement":["HTMLMarqueeElement"],"HTMLMediaElement":["HTMLMediaElement"],"HTMLMediaElementEventMap":[],"HTMLMenuElement":["HTMLMenuElement"],"HTMLMetaElement":["HTMLMetaElement"],"HTMLMeterElement":["HTMLMeterElement"],"HTMLModElement":["HTMLModElement"],"HTMLObjectElement":["HTMLObjectElement"],"HTMLOListElement":["HTMLOListElement"],"HTMLOptGroupElement":["HTMLOptGroupElement"],"HTMLOptionElement":["HTMLOptionElement"],"HTMLOptionsCollection":["HTMLOptionsCollection"],"HTMLOrSVGElement":["autofocus"],"HTMLOrSVGImageElement":[],"HTMLOrSVGScriptElement":[],"HTMLOutputElement":["HTMLOutputElement"],"HTMLParagraphElement":["HTMLParagraphElement"],"HTMLParamElement":["HTMLParamElement"],"HTMLPictureElement":["HTMLPictureElement"],"HTMLPreElement":["HTMLPreElement"],"HTMLProgressElement":["HTMLProgressElement"],"HTMLQuoteElement":["HTMLQuoteElement"],"HTMLScriptElement":["HTMLScriptElement"],"HTMLSelectElement":["HTMLSelectElement"],"HTMLSlotElement":["HTMLSlotElement"],"HTMLSourceElement":["HTMLSourceElement"],"HTMLSpanElement":["HTMLSpanElement"],"HTMLStyleElement":["HTMLStyleElement"],"HTMLTableCaptionElement":["HTMLTableCaptionElement"],"HTMLTableCellElement":["HTMLTableCellElement"],"HTMLTableColElement":["HTMLTableColElement"],"HTMLTableDataCellElement":[],"HTMLTableElement":["HTMLTableElement"],"HTMLTableHeaderCellElement":[],"HTMLTableRowElement":["HTMLTableRowElement"],"HTMLTableSectionElement":["HTMLTableSectionElement"],"HTMLTemplateElement":["HTMLTemplateElement"],"HTMLTextAreaElement":["HTMLTextAreaElement"],"HTMLTimeElement":["HTMLTimeElement"],"HTMLTitleElement":["HTMLTitleElement"],"HTMLTrackElement":["HTMLTrackElement"],"HTMLUListElement":["HTMLUListElement"],"HTMLUnknownElement":["HTMLUnknownElement"],"HTMLVideoElement":["HTMLVideoElement"],"HTMLVideoElementEventMap":[],"IArguments":[],"IDBCursor":["IDBCursor"],"IDBCursorDirection":[],"IDBCursorWithValue":["IDBCursorWithValue"],"IDBDatabase":["IDBDatabase"],"IDBDatabaseEventMap":[],"IDBDatabaseInfo":[],"IDBFactory":["IDBFactory"],"IDBIndex":["IDBIndex"],"IDBIndexParameters":[],"IDBKeyRange":["IDBKeyRange"],"IDBObjectStore":["IDBObjectStore"],"IDBObjectStoreParameters":[],"IDBOpenDBRequest":["IDBOpenDBRequest"],"IDBOpenDBRequestEventMap":[],"IDBRequest":["IDBRequest"],"IDBRequestEventMap":[],"IDBRequestReadyState":[],"IDBTransaction":["IDBTransaction"],"IDBTransactionDurability":[],"IDBTransactionEventMap":[],"IDBTransactionMode":[],"IDBTransactionOptions":[],"IDBValidKey":[],"IDBVersionChangeEvent":["IDBVersionChangeEvent"],"IDBVersionChangeEventInit":[],"IdleDeadline":["IdleDeadline"],"IdleRequestCallback":[],"IdleRequestOptions":[],"IIRFilterNode":["IIRFilterNode"],"IIRFilterOptions":[],"Image":[],"ImageBitmap":["ImageBitmap"],"ImageBitmapOptions":[],"ImageBitmapRenderingContext":["ImageBitmapRenderingContext"],"ImageBitmapRenderingContextSettings":[],"ImageBitmapSource":[],"ImageBufferSource":[],"ImageCapture":["ImageCapture"],"ImageData":["ImageData"],"ImageDataArray":[],"ImageDataPixelFormat":[],"ImageDataSettings":[],"ImageDecodeOptions":[],"ImageDecoder":["ImageDecoder"],"ImageDecodeResult":[],"ImageDecoderInit":[],"ImageEncodeOptions":[],"ImageOrientation":[],"ImageSmoothingQuality":[],"ImageTrack":["ImageTrack"],"ImageTrackList":["ImageTrackList"],"ImportAssertions":[],"ImportAttributes":[],"ImportCallOptions":[],"ImportMeta":[],"ImportNodeOptions":[],"importScripts":["WorkerGlobalScope/importScripts"],"indexedDB":[],"Infinity":[],"innerHeight":[],"innerWidth":[],"InputDeviceInfo":["InputDeviceInfo"],"InputEvent":["InputEvent"],"InputEventInit":[],"InsertPosition":[],"InstanceType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype"],"Int16Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int16Array"],"Int16ArrayConstructor":[],"Int32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int32Array"],"Int32ArrayConstructor":[],"Int32List":[],"Int8Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Int8Array"],"Int8ArrayConstructor":[],"IntersectionObserver":["IntersectionObserver"],"IntersectionObserverCallback":[],"IntersectionObserverEntry":["IntersectionObserverEntry"],"IntersectionObserverInit":[],"Intl":[null,{"Collator":[],"CollatorConstructor":[],"CollatorOptions":[],"DateTimeFormat":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat"],"DateTimeFormatConstructor":[],"DateTimeFormatOptions":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat"],"DateTimeFormatPart":[],"DateTimeFormatPartTypes":[],"DateTimeFormatPartTypesRegistry":[],"DateTimeRangeFormatPart":[],"DisplayNames":[],"DisplayNamesFallback":[],"DisplayNamesLanguageDisplay":[],"DisplayNamesOptions":[],"DisplayNamesType":[],"DurationFormat":[],"DurationFormatDisplayOption":[],"DurationFormatLocaleMatcher":[],"DurationFormatOptions":[],"DurationFormatPart":[],"DurationFormatStyle":[],"DurationFormatUnit":[],"DurationFormatUnitSingular":[],"FormattableTemporalObject":[],"getCanonicalLocales":[],"LDMLPluralRule":[],"ListFormat":[],"ListFormatLocaleMatcher":[],"ListFormatOptions":[],"ListFormatStyle":[],"ListFormatType":[],"Locale":["getCalendars"],"LocaleCollationCaseFirst":[],"LocaleHourCycleKey":[],"LocaleOptions":[],"LocalesArgument":[],"NumberFormat":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat"],"NumberFormatConstructor":[],"NumberFormatOptions":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat"],"NumberFormatOptionsCurrencyDisplay":[],"NumberFormatOptionsCurrencyDisplayRegistry":[],"NumberFormatOptionsSignDisplay":[],"NumberFormatOptionsSignDisplayRegistry":[],"NumberFormatOptionsStyle":[],"NumberFormatOptionsStyleRegistry":[],"NumberFormatOptionsUseGrouping":[],"NumberFormatOptionsUseGroupingRegistry":[],"NumberFormatPart":[],"NumberFormatPartTypeRegistry":[],"NumberFormatPartTypes":[],"NumberFormatRangePartTypeRegistry":[],"NumberFormatRangePartTypes":[],"NumberRangeFormatPart":[],"PluralRules":[],"PluralRulesConstructor":[],"PluralRulesOptions":[],"PluralRuleType":[],"RelativeTimeFormat":[],"RelativeTimeFormatLocaleMatcher":[],"RelativeTimeFormatNumeric":[],"RelativeTimeFormatOptions":[],"RelativeTimeFormatPart":[],"RelativeTimeFormatStyle":[],"RelativeTimeFormatUnit":[],"RelativeTimeFormatUnitSingular":[],"ResolvedCollatorOptions":[],"ResolvedDateTimeFormatOptions":[],"ResolvedDisplayNamesOptions":[],"ResolvedDurationFormatOptions":[],"ResolvedListFormatOptions":[],"ResolvedNumberFormatOptions":[],"ResolvedNumberFormatOptionsUseGrouping":[],"ResolvedPluralRulesOptions":[],"ResolvedRelativeTimeFormatOptions":[],"ResolvedSegmenterOptions":[],"SegmentData":[],"Segmenter":[],"SegmenterOptions":[],"SegmentIterator":[],"Segments":[],"StringNumericLiteral":[],"supportedValuesOf":[],"TextInfo":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo#return_value"],"UnicodeBCP47LocaleIdentifier":[],"WeekInfo":["https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo#return_value"]}],"isFinite":[],"isNaN":[],"isSecureContext":[],"Iterable":[],"IterableIterator":[],"IterationCompositeOperation":[],"Iterator":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator"],"IteratorConstructor":[],"IteratorObject":[],"IteratorObjectConstructor":[],"IteratorResult":[],"IteratorReturnResult":[],"IteratorYieldResult":[],"ITextWriter":[],"JSON":[],"JsonWebKey":[],"KeyAlgorithm":[],"KeyboardEvent":["KeyboardEvent"],"KeyboardEventInit":[],"KeyFormat":[],"Keyframe":[],"KeyframeAnimationOptions":[],"KeyframeEffect":["KeyframeEffect"],"KeyframeEffectOptions":[],"KeySystemTrackConfiguration":[],"KeyType":[],"KeyUsage":[],"KHR_parallel_shader_compile":["KHR_parallel_shader_compile"],"LargestContentfulPaint":["LargestContentfulPaint"],"LatencyMode":[],"length":[],"LineAlignSetting":[],"LineAndPositionSetting":[],"LinkStyle":["sheet"],"localStorage":[],"location":[],"Location":["Location"],"locationbar":[],"Lock":["Lock"],"LockGrantedCallback":[],"LockInfo":[],"LockManager":["LockManager"],"LockManagerSnapshot":[],"LockMode":[],"LockOptions":[],"LoginStatus":[],"Lowercase":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"Map":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map"],"MapConstructor":[],"MapIterator":[],"matchMedia":["Window/matchMedia"],"Math":[],"MathMLElement":["MathMLElement"],"MathMLElementEventMap":[],"MathMLElementTagNameMap":[],"MediaCapabilities":["MediaCapabilities"],"MediaCapabilitiesDecodingInfo":[],"MediaCapabilitiesEncodingInfo":[],"MediaCapabilitiesInfo":[],"MediaCapabilitiesKeySystemConfiguration":[],"MediaConfiguration":[],"MediaDecodingConfiguration":[],"MediaDecodingType":[],"MediaDeviceInfo":["MediaDeviceInfo"],"MediaDeviceKind":[],"MediaDevices":["MediaDevices"],"MediaDevicesEventMap":[],"MediaElementAudioSourceNode":["MediaElementAudioSourceNode"],"MediaElementAudioSourceOptions":[],"MediaEncodingConfiguration":[],"MediaEncodingType":[],"MediaEncryptedEvent":["MediaEncryptedEvent"],"MediaEncryptedEventInit":[],"MediaError":["MediaError"],"MediaImage":[],"MediaKeyMessageEvent":["MediaKeyMessageEvent"],"MediaKeyMessageEventInit":[],"MediaKeyMessageType":[],"MediaKeys":["MediaKeys"],"MediaKeySession":["MediaKeySession"],"MediaKeySessionClosedReason":[],"MediaKeySessionEventMap":[],"MediaKeySessionType":[],"MediaKeysPolicy":[],"MediaKeysRequirement":[],"MediaKeyStatus":[],"MediaKeyStatusMap":["MediaKeyStatusMap"],"MediaKeyStatusMapIterator":[],"MediaKeySystemAccess":["MediaKeySystemAccess"],"MediaKeySystemConfiguration":[],"MediaKeySystemMediaCapability":[],"MediaList":["MediaList"],"MediaMetadata":["MediaMetadata"],"MediaMetadataInit":[],"MediaPositionState":[],"MediaProvider":[],"MediaQueryList":["MediaQueryList"],"MediaQueryListEvent":["MediaQueryListEvent"],"MediaQueryListEventInit":[],"MediaQueryListEventMap":[],"MediaRecorder":["MediaRecorder"],"MediaRecorderEventMap":[],"MediaRecorderOptions":[],"MediaSession":["MediaSession"],"MediaSessionAction":[],"MediaSessionActionDetails":[],"MediaSessionActionHandler":[],"MediaSessionPlaybackState":[],"MediaSettingsRange":[],"MediaSource":["MediaSource"],"MediaSourceEventMap":[],"MediaSourceHandle":["MediaSourceHandle"],"MediaStream":["MediaStream"],"MediaStreamAudioDestinationNode":["MediaStreamAudioDestinationNode"],"MediaStreamAudioSourceNode":["MediaStreamAudioSourceNode"],"MediaStreamAudioSourceOptions":[],"MediaStreamConstraints":[],"MediaStreamEventMap":[],"MediaStreamTrack":["MediaStreamTrack"],"MediaStreamTrackEvent":["MediaStreamTrackEvent"],"MediaStreamTrackEventInit":[],"MediaStreamTrackEventMap":[],"MediaStreamTrackProcessor":["MediaStreamTrackProcessor"],"MediaStreamTrackProcessorInit":[],"MediaStreamTrackState":[],"MediaTrackCapabilities":[],"MediaTrackConstraints":[],"MediaTrackConstraintSet":[],"MediaTrackSettings":[],"MediaTrackSupportedConstraints":[],"menubar":[],"MessageChannel":["MessageChannel"],"MessageEvent":["MessageEvent"],"MessageEventInit":[],"MessageEventSource":[],"MessageEventTarget":["message_event"],"MessageEventTargetEventMap":[],"MessagePort":["MessagePort"],"MessagePortEventMap":[],"MethodDecorator":[],"MIDIAccess":["MIDIAccess"],"MIDIAccessEventMap":[],"MIDIConnectionEvent":["MIDIConnectionEvent"],"MIDIConnectionEventInit":[],"MIDIInput":["MIDIInput"],"MIDIInputEventMap":[],"MIDIInputMap":["MIDIInputMap"],"MIDIMessageEvent":["MIDIMessageEvent"],"MIDIMessageEventInit":[],"MIDIOptions":[],"MIDIOutput":["MIDIOutput"],"MIDIOutputMap":["MIDIOutputMap"],"MIDIPort":["MIDIPort"],"MIDIPortConnectionState":[],"MIDIPortDeviceState":[],"MIDIPortEventMap":[],"MIDIPortType":[],"MimeType":["MimeType"],"MimeTypeArray":["MimeTypeArray"],"MouseEvent":["MouseEvent"],"MouseEventInit":[],"moveBy":["Window/moveBy"],"moveTo":["Window/moveTo"],"MultiCacheQueryOptions":[],"MutationCallback":[],"MutationObserver":["MutationObserver"],"MutationObserverInit":[],"MutationRecord":["MutationRecord"],"MutationRecordType":[],"name":[],"NamedCurve":[],"NamedNodeMap":["NamedNodeMap"],"NaN":[],"NavigateEvent":["NavigateEvent"],"NavigateEventInit":[],"navigation":[],"Navigation":["Navigation"],"NavigationActivation":["NavigationActivation"],"NavigationCurrentEntryChangeEvent":["NavigationCurrentEntryChangeEvent"],"NavigationCurrentEntryChangeEventInit":[],"NavigationDestination":["NavigationDestination"],"NavigationEventMap":[],"NavigationFocusReset":[],"NavigationHistoryBehavior":[],"NavigationHistoryEntry":["NavigationHistoryEntry"],"NavigationHistoryEntryEventMap":[],"NavigationInterceptHandler":[],"NavigationInterceptOptions":[],"NavigationNavigateOptions":[],"NavigationOptions":[],"NavigationPrecommitController":["NavigationPrecommitController"],"NavigationPrecommitHandler":[],"NavigationPreloadManager":["NavigationPreloadManager"],"NavigationPreloadState":[],"NavigationReloadOptions":[],"NavigationResult":[],"NavigationScrollBehavior":[],"NavigationTimingType":[],"NavigationTransition":["NavigationTransition"],"NavigationType":[],"NavigationUpdateCurrentEntryOptions":[],"navigator":[],"Navigator":["Navigator"],"NavigatorAutomationInformation":["webdriver"],"NavigatorBadge":["clearAppBadge"],"NavigatorConcurrentHardware":["hardwareConcurrency"],"NavigatorContentUtils":["registerProtocolHandler"],"NavigatorCookies":["cookieEnabled"],"NavigatorGPU":["gpu"],"NavigatorID":["appCodeName"],"NavigatorLanguage":["language"],"NavigatorLocks":["locks"],"NavigatorLogin":["NavigatorLogin"],"NavigatorOnLine":["onLine"],"NavigatorPlugins":["mimeTypes"],"NavigatorStorage":["storage"],"NewableFunction":[],"Node":["Node"],"NodeFilter":[],"NodeIterator":["NodeIterator"],"NodeList":["NodeList"],"NodeListOf":[],"NoInfer":["https://www.typescriptlang.org/docs/handbook/utility-types.html#noinfertype"],"NonDocumentTypeChildNode":["nextElementSibling"],"NonElementParentNode":["getElementById"],"NonNullable":["https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union"],"Notification":["Notification"],"NotificationDirection":[],"NotificationEvent":["NotificationEvent"],"NotificationEventInit":[],"NotificationEventMap":[],"NotificationOptions":[],"NotificationPermission":[],"NotificationPermissionCallback":[],"Number":[],"NumberConstructor":[],"Object":[],"ObjectConstructor":[],"OES_draw_buffers_indexed":["OES_draw_buffers_indexed"],"OES_element_index_uint":["OES_element_index_uint"],"OES_fbo_render_mipmap":["OES_fbo_render_mipmap"],"OES_standard_derivatives":["OES_standard_derivatives"],"OES_texture_float":["OES_texture_float"],"OES_texture_float_linear":["OES_texture_float_linear"],"OES_texture_half_float":["OES_texture_half_float"],"OES_texture_half_float_linear":["OES_texture_half_float_linear"],"OES_vertex_array_object":["OES_vertex_array_object"],"OfflineAudioCompletionEvent":["OfflineAudioCompletionEvent"],"OfflineAudioCompletionEventInit":[],"OfflineAudioContext":["OfflineAudioContext"],"OfflineAudioContextEventMap":[],"OfflineAudioContextOptions":[],"OffscreenCanvas":["OffscreenCanvas"],"OffscreenCanvasEventMap":[],"OffscreenCanvasRenderingContext2D":["OffscreenCanvasRenderingContext2D"],"OffscreenRenderingContext":[],"OffscreenRenderingContextId":[],"Omit":["https://www.typescriptlang.org/docs/handbook/utility-types.html#omittype-keys"],"OmitThisParameter":["https://www.typescriptlang.org/docs/handbook/utility-types.html#omitthisparametertype"],"onabort":[],"onafterprint":[],"onanimationcancel":[],"onanimationend":[],"onanimationiteration":[],"onanimationstart":[],"onauxclick":[],"onbeforeinput":[],"onbeforematch":[],"onbeforeprint":[],"onbeforetoggle":[],"onbeforeunload":[],"OnBeforeUnloadEventHandler":[],"OnBeforeUnloadEventHandlerNonNull":[],"onblur":[],"oncancel":[],"oncanplay":[],"oncanplaythrough":[],"onchange":[],"onclick":[],"onclose":[],"oncommand":[],"oncontextlost":[],"oncontextmenu":[],"oncontextrestored":[],"oncopy":[],"oncuechange":[],"oncut":[],"ondblclick":[],"ondevicemotion":[],"ondeviceorientation":[],"ondeviceorientationabsolute":[],"ondrag":[],"ondragend":[],"ondragenter":[],"ondragleave":[],"ondragover":[],"ondragstart":[],"ondrop":[],"ondurationchange":[],"onemptied":[],"onended":[],"onerror":[],"OnErrorEventHandler":[],"OnErrorEventHandlerNonNull":[],"onfocus":[],"onformdata":[],"ongamepadconnected":[],"ongamepaddisconnected":[],"ongotpointercapture":[],"onhashchange":[],"oninput":[],"oninvalid":[],"onkeydown":[],"onkeypress":[],"onkeyup":[],"onlanguagechange":[],"onload":[],"onloadeddata":[],"onloadedmetadata":[],"onloadstart":[],"onlostpointercapture":[],"onmessage":[],"onmessageerror":[],"onmousedown":[],"onmouseenter":[],"onmouseleave":[],"onmousemove":[],"onmouseout":[],"onmouseover":[],"onmouseup":[],"onoffline":[],"ononline":[],"onorientationchange":[],"onpagehide":[],"onpagereveal":[],"onpageshow":[],"onpageswap":[],"onpaste":[],"onpause":[],"onplay":[],"onplaying":[],"onpointercancel":[],"onpointerdown":[],"onpointerenter":[],"onpointerleave":[],"onpointermove":[],"onpointerout":[],"onpointerover":[],"onpointerrawupdate":[],"onpointerup":[],"onpopstate":[],"onprogress":[],"onratechange":[],"onrejectionhandled":[],"onreset":[],"onresize":[],"onrtctransform":[],"onscroll":[],"onscrollend":[],"onsecuritypolicyviolation":[],"onseeked":[],"onseeking":[],"onselect":[],"onselectionchange":[],"onselectstart":[],"onslotchange":[],"onstalled":[],"onstorage":[],"onsubmit":[],"onsuspend":[],"ontimeupdate":[],"ontoggle":[],"ontouchcancel":[],"ontouchend":[],"ontouchmove":[],"ontouchstart":[],"ontransitioncancel":[],"ontransitionend":[],"ontransitionrun":[],"ontransitionstart":[],"onunhandledrejection":[],"onunload":[],"onvolumechange":[],"onwaiting":[],"onwebkitanimationend":[],"onwebkitanimationiteration":[],"onwebkitanimationstart":[],"onwebkittransitionend":[],"onwheel":[],"open":["Window/open"],"opener":[],"Option":[],"OptionalEffectTiming":[],"OptionalPostfixToken":[],"OptionalPrefixToken":[],"OpusBitstreamFormat":[],"OpusEncoderConfig":[],"orientation":[],"OrientationLockType":[],"OrientationType":[],"origin":[],"originAgentCluster":[],"OscillatorNode":["OscillatorNode"],"OscillatorOptions":[],"OscillatorType":[],"outerHeight":[],"outerWidth":[],"OverconstrainedError":["OverconstrainedError"],"OverSampleType":[],"OVR_multiview2":["OVR_multiview2"],"PageRevealEvent":["PageRevealEvent"],"PageRevealEventInit":[],"PageSwapEvent":["PageSwapEvent"],"PageSwapEventInit":[],"PageTransitionEvent":["PageTransitionEvent"],"PageTransitionEventInit":[],"pageXOffset":[],"pageYOffset":[],"PaintTimingMixin":[],"PannerNode":["PannerNode"],"PannerOptions":[],"PanningModelType":[],"ParameterDecorator":[],"Parameters":["https://www.typescriptlang.org/docs/handbook/utility-types.html#parameterstype"],"parent":[],"ParentNode":["childElementCount"],"parseFloat":[],"parseInt":[],"Partial":["https://www.typescriptlang.org/docs/handbook/utility-types.html#partialtype"],"Path2D":["Path2D"],"PayerErrors":[],"PaymentAddress":["ContactAddress"],"PaymentComplete":[],"PaymentCurrencyAmount":[],"PaymentDetailsBase":[],"PaymentDetailsInit":[],"PaymentDetailsModifier":[],"PaymentDetailsUpdate":[],"PaymentItem":[],"PaymentMethodChangeEvent":["PaymentMethodChangeEvent"],"PaymentMethodChangeEventInit":[],"PaymentMethodData":[],"PaymentOptions":[],"PaymentRequest":["PaymentRequest"],"PaymentRequestEventMap":[],"PaymentRequestUpdateEvent":["PaymentRequestUpdateEvent"],"PaymentRequestUpdateEventInit":[],"PaymentResponse":["PaymentResponse"],"PaymentResponseEventMap":[],"PaymentShippingOption":[],"PaymentShippingType":[],"PaymentValidationErrors":[],"Pbkdf2Params":[],"performance":[],"Performance":["Performance"],"PerformanceEntry":["PerformanceEntry"],"PerformanceEntryList":[],"PerformanceEventMap":[],"PerformanceEventTiming":["PerformanceEventTiming"],"PerformanceMark":["PerformanceMark"],"PerformanceMarkOptions":[],"PerformanceMeasure":["PerformanceMeasure"],"PerformanceMeasureOptions":[],"PerformanceNavigation":["PerformanceNavigation"],"PerformanceNavigationTiming":["PerformanceNavigationTiming"],"PerformanceObserver":["PerformanceObserver"],"PerformanceObserverCallback":[],"PerformanceObserverEntryList":["PerformanceObserverEntryList"],"PerformanceObserverInit":[],"PerformancePaintTiming":["PerformancePaintTiming"],"PerformanceResourceTiming":["PerformanceResourceTiming"],"PerformanceServerTiming":["PerformanceServerTiming"],"PerformanceTiming":["PerformanceTiming"],"PeriodicWave":["PeriodicWave"],"PeriodicWaveConstraints":[],"PeriodicWaveOptions":[],"PermissionDescriptor":[],"PermissionName":[],"Permissions":["Permissions"],"PermissionState":[],"PermissionStatus":["PermissionStatus"],"PermissionStatusEventMap":[],"personalbar":[],"PhotoCapabilities":[],"PhotoSettings":[],"Pick":["https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys"],"PictureInPictureEvent":["PictureInPictureEvent"],"PictureInPictureEventInit":[],"PictureInPictureWindow":["PictureInPictureWindow"],"PictureInPictureWindowEventMap":[],"PlaneLayout":[],"PlaybackDirection":[],"Plugin":["Plugin"],"PluginArray":["PluginArray"],"PointerEvent":["PointerEvent"],"PointerEventInit":[],"PointerLockOptions":[],"PopoverTargetAttributes":["popoverTargetAction"],"PopStateEvent":["PopStateEvent"],"PopStateEventInit":[],"PositionAlignSetting":[],"PositionCallback":[],"PositionErrorCallback":[],"PositionOptions":[],"postMessage":["DedicatedWorkerGlobalScope/postMessage"],"PredefinedColorSpace":[],"PremultiplyAlpha":[],"PresentationStyle":[],"print":["Window/print"],"ProcessingInstruction":["ProcessingInstruction"],"ProgressEvent":["ProgressEvent"],"ProgressEventInit":[],"Promise":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise"],"PromiseConstructor":[],"PromiseConstructorLike":[],"PromiseFulfilledResult":[],"PromiseLike":[],"PromiseRejectedResult":[],"PromiseRejectionEvent":["PromiseRejectionEvent"],"PromiseRejectionEventInit":[],"PromiseSettledResult":[],"PromiseWithResolvers":[],"prompt":["Window/prompt"],"PropertyDecorator":[],"PropertyDefinition":[],"PropertyDescriptor":[],"PropertyDescriptorMap":[],"PropertyIndexedKeyframes":[],"PropertyKey":[],"Proxy":[],"ProxyConstructor":[],"ProxyHandler":[],"PublicKeyCredential":["PublicKeyCredential"],"PublicKeyCredentialClientCapabilities":[],"PublicKeyCredentialCreationOptions":[],"PublicKeyCredentialCreationOptionsJSON":[],"PublicKeyCredentialDescriptor":[],"PublicKeyCredentialDescriptorJSON":[],"PublicKeyCredentialEntity":[],"PublicKeyCredentialParameters":[],"PublicKeyCredentialRequestOptions":[],"PublicKeyCredentialRequestOptionsJSON":[],"PublicKeyCredentialRpEntity":[],"PublicKeyCredentialType":[],"PublicKeyCredentialUserEntity":[],"PublicKeyCredentialUserEntityJSON":[],"PushEncryptionKeyName":[],"PushEvent":["PushEvent"],"PushEventInit":[],"PushManager":["PushManager"],"PushManagerAttribute":["pushManager"],"PushMessageData":["PushMessageData"],"PushMessageDataInit":[],"PushSubscription":["PushSubscription"],"PushSubscriptionChangeEvent":[],"PushSubscriptionChangeEventInit":[],"PushSubscriptionJSON":[],"PushSubscriptionOptions":["PushSubscriptionOptions"],"PushSubscriptionOptionsInit":[],"queueMicrotask":["Window/queueMicrotask"],"QueuingStrategy":[],"QueuingStrategyInit":[],"QueuingStrategySize":[],"RadioNodeList":["RadioNodeList"],"Range":["Range"],"RangeError":[],"RangeErrorConstructor":[],"ReadableByteStreamController":["ReadableByteStreamController"],"ReadableStream":["ReadableStream"],"ReadableStreamAsyncIterator":[],"ReadableStreamBYOBReader":["ReadableStreamBYOBReader"],"ReadableStreamBYOBReaderReadOptions":[],"ReadableStreamBYOBRequest":["ReadableStreamBYOBRequest"],"ReadableStreamController":[],"ReadableStreamDefaultController":["ReadableStreamDefaultController"],"ReadableStreamDefaultReader":["ReadableStreamDefaultReader"],"ReadableStreamGenericReader":["closed"],"ReadableStreamGetReaderOptions":[],"ReadableStreamIteratorOptions":[],"ReadableStreamReadDoneResult":[],"ReadableStreamReader":[],"ReadableStreamReaderMode":[],"ReadableStreamReadResult":[],"ReadableStreamReadValueResult":[],"ReadableStreamType":[],"ReadableWritablePair":[],"Readonly":["https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype"],"ReadonlyArray":[],"ReadonlyMap":[],"ReadonlySet":[],"ReadonlySetLike":[],"ReadyState":[],"Record":["https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"],"RecordingState":[],"RedEyeReduction":[],"ReferenceError":[],"ReferenceErrorConstructor":[],"ReferrerPolicy":[],"Reflect":[null,{"apply":[],"construct":[],"defineProperty":[],"deleteProperty":[],"get":[],"getOwnPropertyDescriptor":[],"getPrototypeOf":[],"has":[],"isExtensible":[],"ownKeys":[],"preventExtensions":[],"set":[],"setPrototypeOf":[]}],"RegExp":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RegExp"],"RegExpConstructor":[],"RegExpExecArray":[],"RegExpIndicesArray":[],"RegExpMatchArray":[],"RegExpStringIterator":[],"RegistrationOptions":[],"RegistrationResponseJSON":[],"releaseEvents":["Window/releaseEvents"],"RemotePlayback":["RemotePlayback"],"RemotePlaybackAvailabilityCallback":[],"RemotePlaybackEventMap":[],"RemotePlaybackState":[],"removeEventListener":[],"RenderingContext":[],"Report":[],"ReportBody":[],"reportError":["Window/reportError"],"ReportingObserver":["ReportingObserver"],"ReportingObserverCallback":[],"ReportingObserverOptions":[],"ReportList":[],"Request":["Request"],"requestAnimationFrame":["DedicatedWorkerGlobalScope/requestAnimationFrame"],"RequestCache":[],"RequestCredentials":[],"RequestDestination":[],"requestIdleCallback":["Window/requestIdleCallback"],"RequestInfo":[],"RequestInit":[],"RequestMode":[],"RequestPriority":[],"RequestRedirect":[],"Required":["https://www.typescriptlang.org/docs/handbook/utility-types.html#requiredtype"],"ResidentKeyRequirement":[],"resizeBy":["Window/resizeBy"],"ResizeObserver":["ResizeObserver"],"ResizeObserverBoxOptions":[],"ResizeObserverCallback":[],"ResizeObserverEntry":["ResizeObserverEntry"],"ResizeObserverOptions":[],"ResizeObserverSize":["ResizeObserverSize"],"ResizeQuality":[],"resizeTo":["Window/resizeTo"],"Response":["Response"],"ResponseInit":[],"ResponseType":[],"ReturnType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype"],"RsaHashedImportParams":[],"RsaHashedKeyAlgorithm":[],"RsaHashedKeyGenParams":[],"RsaKeyAlgorithm":[],"RsaKeyGenParams":[],"RsaOaepParams":[],"RsaOtherPrimesInfo":[],"RsaPssParams":[],"RTCAnswerOptions":[],"RTCBundlePolicy":[],"RTCCertificate":["RTCCertificate"],"RTCCertificateExpiration":[],"RTCConfiguration":[],"RTCDataChannel":["RTCDataChannel"],"RTCDataChannelEvent":["RTCDataChannelEvent"],"RTCDataChannelEventInit":[],"RTCDataChannelEventMap":[],"RTCDataChannelInit":[],"RTCDataChannelState":[],"RTCDegradationPreference":[],"RTCDtlsFingerprint":[],"RTCDtlsRole":[],"RTCDtlsTransport":["RTCDtlsTransport"],"RTCDtlsTransportEventMap":[],"RTCDtlsTransportState":[],"RTCDTMFSender":["RTCDTMFSender"],"RTCDTMFSenderEventMap":[],"RTCDTMFToneChangeEvent":["RTCDTMFToneChangeEvent"],"RTCDTMFToneChangeEventInit":[],"RTCEncodedAudioFrame":["RTCEncodedAudioFrame"],"RTCEncodedAudioFrameMetadata":[],"RTCEncodedFrameMetadata":[],"RTCEncodedVideoFrame":["RTCEncodedVideoFrame"],"RTCEncodedVideoFrameMetadata":[],"RTCError":["RTCError"],"RTCErrorDetailType":[],"RTCErrorEvent":["RTCErrorEvent"],"RTCErrorEventInit":[],"RTCErrorInit":[],"RTCIceCandidate":["RTCIceCandidate"],"RTCIceCandidateInit":[],"RTCIceCandidatePair":[],"RTCIceCandidatePairStats":[],"RTCIceCandidateType":[],"RTCIceComponent":[],"RTCIceConnectionState":[],"RTCIceGathererState":[],"RTCIceGatheringState":[],"RTCIceProtocol":[],"RTCIceRole":[],"RTCIceServer":[],"RTCIceTcpCandidateType":[],"RTCIceTransport":["RTCIceTransport"],"RTCIceTransportEventMap":[],"RTCIceTransportPolicy":[],"RTCIceTransportState":[],"RTCInboundRtpStreamStats":[],"RTCLocalIceCandidateInit":[],"RTCLocalSessionDescriptionInit":[],"RTCOfferAnswerOptions":[],"RTCOfferOptions":[],"RTCOutboundRtpStreamStats":[],"RTCPeerConnection":["RTCPeerConnection"],"RTCPeerConnectionErrorCallback":[],"RTCPeerConnectionEventMap":[],"RTCPeerConnectionIceErrorEvent":["RTCPeerConnectionIceErrorEvent"],"RTCPeerConnectionIceErrorEventInit":[],"RTCPeerConnectionIceEvent":["RTCPeerConnectionIceEvent"],"RTCPeerConnectionIceEventInit":[],"RTCPeerConnectionState":[],"RTCPriorityType":[],"RTCQualityLimitationReason":[],"RTCReceivedRtpStreamStats":[],"RTCRtcpMuxPolicy":[],"RTCRtcpParameters":[],"RTCRtpCapabilities":[],"RTCRtpCodec":[],"RTCRtpCodecParameters":[],"RTCRtpCodingParameters":[],"RTCRtpContributingSource":[],"RTCRtpEncodingParameters":[],"RTCRtpHeaderExtensionCapability":[],"RTCRtpHeaderExtensionParameters":[],"RTCRtpParameters":[],"RTCRtpReceiveParameters":[],"RTCRtpReceiver":["RTCRtpReceiver"],"RTCRtpReceiverTransform":[],"RTCRtpScriptTransform":["RTCRtpScriptTransform"],"RTCRtpScriptTransformer":["RTCRtpScriptTransformer"],"RTCRtpSender":["RTCRtpSender"],"RTCRtpSenderTransform":[],"RTCRtpSendParameters":[],"RTCRtpStreamStats":[],"RTCRtpSynchronizationSource":[],"RTCRtpTransceiver":["RTCRtpTransceiver"],"RTCRtpTransceiverDirection":[],"RTCRtpTransceiverInit":[],"RTCSctpTransport":["RTCSctpTransport"],"RTCSctpTransportEventMap":[],"RTCSctpTransportState":[],"RTCSdpType":[],"RTCSentRtpStreamStats":[],"RTCSessionDescription":["RTCSessionDescription"],"RTCSessionDescriptionCallback":[],"RTCSessionDescriptionInit":[],"RTCSetParameterOptions":[],"RTCSignalingState":[],"RTCStats":[],"RTCStatsIceCandidatePairState":[],"RTCStatsReport":["RTCStatsReport"],"RTCStatsType":[],"RTCTrackEvent":["RTCTrackEvent"],"RTCTrackEventInit":[],"RTCTransformEvent":["RTCTransformEvent"],"RTCTransportStats":[],"SafeArray":[],"Sanitizer":["allowAttribute"],"SanitizerAttribute":[],"SanitizerAttributeNamespace":[],"SanitizerConfig":[],"SanitizerElement":[],"SanitizerElementNamespace":[],"SanitizerElementNamespaceWithAttributes":[],"SanitizerElementWithAttributes":[],"SanitizerPresets":[],"scheduler":[],"Scheduler":["Scheduler"],"SchedulerPostTaskCallback":[],"SchedulerPostTaskOptions":[],"screen":[],"Screen":["Screen"],"screenLeft":[],"ScreenOrientation":["ScreenOrientation"],"ScreenOrientationEventMap":[],"screenTop":[],"screenX":[],"screenY":[],"ScriptProcessorNode":["ScriptProcessorNode"],"ScriptProcessorNodeEventMap":[],"scroll":["Window/scroll"],"ScrollAxis":[],"scrollbars":[],"ScrollBehavior":[],"scrollBy":["Window/scrollBy"],"ScrollIntoViewOptions":[],"ScrollLogicalPosition":[],"ScrollOptions":[],"ScrollRestoration":[],"ScrollSetting":[],"ScrollTimeline":["ScrollTimeline"],"ScrollTimelineOptions":[],"scrollTo":["Window/scrollTo"],"ScrollToOptions":[],"scrollX":[],"scrollY":[],"SecurityPolicyViolationEvent":["SecurityPolicyViolationEvent"],"SecurityPolicyViolationEventDisposition":[],"SecurityPolicyViolationEventInit":[],"Selection":["Selection"],"SelectionDirection":[],"SelectionMode":[],"self":[],"ServiceWorker":["ServiceWorker"],"ServiceWorkerContainer":["ServiceWorkerContainer"],"ServiceWorkerContainerEventMap":[],"ServiceWorkerEventMap":[],"ServiceWorkerGlobalScope":["ServiceWorkerGlobalScope"],"ServiceWorkerGlobalScopeEventMap":[],"ServiceWorkerRegistration":["ServiceWorkerRegistration"],"ServiceWorkerRegistrationEventMap":[],"ServiceWorkerState":[],"ServiceWorkerUpdateViaCache":[],"sessionStorage":[],"Set":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set"],"SetConstructor":[],"setInterval":["Window/setInterval"],"SetIterator":[],"setTimeout":["Window/setTimeout"],"ShadowRoot":["ShadowRoot"],"ShadowRootEventMap":[],"ShadowRootInit":[],"ShadowRootMode":[],"SharedArrayBuffer":[],"SharedArrayBufferConstructor":[],"ShareData":[],"SharedWorker":["SharedWorker"],"SharedWorkerGlobalScope":["SharedWorkerGlobalScope"],"SharedWorkerGlobalScopeEventMap":[],"ShowPopoverOptions":[],"SlotAssignmentMode":[],"Slottable":["assignedSlot"],"SourceBuffer":["SourceBuffer"],"SourceBufferEventMap":[],"SourceBufferList":["SourceBufferList"],"SourceBufferListEventMap":[],"SpeechRecognitionAlternative":["SpeechRecognitionAlternative"],"SpeechRecognitionErrorCode":[],"SpeechRecognitionErrorEvent":["SpeechRecognitionErrorEvent"],"SpeechRecognitionErrorEventInit":[],"SpeechRecognitionEvent":["SpeechRecognitionEvent"],"SpeechRecognitionEventInit":[],"SpeechRecognitionResult":["SpeechRecognitionResult"],"SpeechRecognitionResultList":["SpeechRecognitionResultList"],"speechSynthesis":[],"SpeechSynthesis":["SpeechSynthesis"],"SpeechSynthesisErrorCode":[],"SpeechSynthesisErrorEvent":["SpeechSynthesisErrorEvent"],"SpeechSynthesisErrorEventInit":[],"SpeechSynthesisEvent":["SpeechSynthesisEvent"],"SpeechSynthesisEventInit":[],"SpeechSynthesisEventMap":[],"SpeechSynthesisUtterance":["SpeechSynthesisUtterance"],"SpeechSynthesisUtteranceEventMap":[],"SpeechSynthesisVoice":["SpeechSynthesisVoice"],"StartViewTransitionOptions":[],"StaticRange":["StaticRange"],"StaticRangeInit":[],"status":[],"statusbar":[],"StereoPannerNode":["StereoPannerNode"],"StereoPannerOptions":[],"stop":["Window/stop"],"Storage":["Storage"],"StorageEstimate":[],"StorageEvent":["StorageEvent"],"StorageEventInit":[],"StorageManager":["StorageManager"],"StreamPipeOptions":[],"String":[],"StringConstructor":[],"StringIterator":[],"structuredClone":["Window/structuredClone"],"StructuredSerializeOptions":[],"StylePropertyMap":["StylePropertyMap"],"StylePropertyMapReadOnly":["StylePropertyMapReadOnly"],"StylePropertyMapReadOnlyIterator":[],"StyleSheet":["StyleSheet"],"StyleSheetList":["StyleSheetList"],"SubmitEvent":["SubmitEvent"],"SubmitEventInit":[],"SubtleCrypto":["SubtleCrypto"],"SuppressedError":[],"SuppressedErrorConstructor":[],"SvcOutputMetadata":[],"SVGAElement":["SVGAElement"],"SVGAngle":["SVGAngle"],"SVGAnimatedAngle":["SVGAnimatedAngle"],"SVGAnimatedBoolean":["SVGAnimatedBoolean"],"SVGAnimatedEnumeration":["SVGAnimatedEnumeration"],"SVGAnimatedInteger":["SVGAnimatedInteger"],"SVGAnimatedLength":["SVGAnimatedLength"],"SVGAnimatedLengthList":["SVGAnimatedLengthList"],"SVGAnimatedNumber":["SVGAnimatedNumber"],"SVGAnimatedNumberList":["SVGAnimatedNumberList"],"SVGAnimatedPoints":["animatedPoints"],"SVGAnimatedPreserveAspectRatio":["SVGAnimatedPreserveAspectRatio"],"SVGAnimatedRect":["SVGAnimatedRect"],"SVGAnimatedString":["SVGAnimatedString"],"SVGAnimatedTransformList":["SVGAnimatedTransformList"],"SVGAnimateElement":["SVGAnimateElement"],"SVGAnimateMotionElement":["SVGAnimateMotionElement"],"SVGAnimateTransformElement":["SVGAnimateTransformElement"],"SVGAnimationElement":["SVGAnimationElement"],"SVGBoundingBoxOptions":[],"SVGCircleElement":["SVGCircleElement"],"SVGClipPathElement":["SVGClipPathElement"],"SVGComponentTransferFunctionElement":["SVGComponentTransferFunctionElement"],"SVGDefsElement":["SVGDefsElement"],"SVGDescElement":["SVGDescElement"],"SVGElement":["SVGElement"],"SVGElementEventMap":[],"SVGElementTagNameMap":[],"SVGEllipseElement":["SVGEllipseElement"],"SVGFEBlendElement":["SVGFEBlendElement"],"SVGFEColorMatrixElement":["SVGFEColorMatrixElement"],"SVGFEComponentTransferElement":["SVGFEComponentTransferElement"],"SVGFECompositeElement":["SVGFECompositeElement"],"SVGFEConvolveMatrixElement":["SVGFEConvolveMatrixElement"],"SVGFEDiffuseLightingElement":["SVGFEDiffuseLightingElement"],"SVGFEDisplacementMapElement":["SVGFEDisplacementMapElement"],"SVGFEDistantLightElement":["SVGFEDistantLightElement"],"SVGFEDropShadowElement":["SVGFEDropShadowElement"],"SVGFEFloodElement":["SVGFEFloodElement"],"SVGFEFuncAElement":["SVGFEFuncAElement"],"SVGFEFuncBElement":["SVGFEFuncBElement"],"SVGFEFuncGElement":["SVGFEFuncGElement"],"SVGFEFuncRElement":["SVGFEFuncRElement"],"SVGFEGaussianBlurElement":["SVGFEGaussianBlurElement"],"SVGFEImageElement":["SVGFEImageElement"],"SVGFEMergeElement":["SVGFEMergeElement"],"SVGFEMergeNodeElement":["SVGFEMergeNodeElement"],"SVGFEMorphologyElement":["SVGFEMorphologyElement"],"SVGFEOffsetElement":["SVGFEOffsetElement"],"SVGFEPointLightElement":["SVGFEPointLightElement"],"SVGFESpecularLightingElement":["SVGFESpecularLightingElement"],"SVGFESpotLightElement":["SVGFESpotLightElement"],"SVGFETileElement":["SVGFETileElement"],"SVGFETurbulenceElement":["SVGFETurbulenceElement"],"SVGFilterElement":["SVGFilterElement"],"SVGFilterPrimitiveStandardAttributes":["height"],"SVGFitToViewBox":["preserveAspectRatio"],"SVGForeignObjectElement":["SVGForeignObjectElement"],"SVGGElement":["SVGGElement"],"SVGGeometryElement":["SVGGeometryElement"],"SVGGradientElement":["SVGGradientElement"],"SVGGraphicsElement":["SVGGraphicsElement"],"SVGImageElement":["SVGImageElement"],"SVGLength":["SVGLength"],"SVGLengthList":["SVGLengthList"],"SVGLinearGradientElement":["SVGLinearGradientElement"],"SVGLineElement":["SVGLineElement"],"SVGMarkerElement":["SVGMarkerElement"],"SVGMaskElement":["SVGMaskElement"],"SVGMatrix":[],"SVGMetadataElement":["SVGMetadataElement"],"SVGMPathElement":["SVGMPathElement"],"SVGNumber":["SVGNumber"],"SVGNumberList":["SVGNumberList"],"SVGPathElement":["SVGPathElement"],"SVGPatternElement":["SVGPatternElement"],"SVGPoint":[],"SVGPointList":["SVGPointList"],"SVGPolygonElement":["SVGPolygonElement"],"SVGPolylineElement":["SVGPolylineElement"],"SVGPreserveAspectRatio":["SVGPreserveAspectRatio"],"SVGRadialGradientElement":["SVGRadialGradientElement"],"SVGRect":[],"SVGRectElement":["SVGRectElement"],"SVGScriptElement":["SVGScriptElement"],"SVGSetElement":["SVGSetElement"],"SVGStopElement":["SVGStopElement"],"SVGStringList":["SVGStringList"],"SVGStyleElement":["SVGStyleElement"],"SVGSVGElement":["SVGSVGElement"],"SVGSVGElementEventMap":[],"SVGSwitchElement":["SVGSwitchElement"],"SVGSymbolElement":["SVGSymbolElement"],"SVGTests":["requiredExtensions"],"SVGTextContentElement":["SVGTextContentElement"],"SVGTextElement":["SVGTextElement"],"SVGTextPathElement":["SVGTextPathElement"],"SVGTextPositioningElement":["SVGTextPositioningElement"],"SVGTitleElement":["SVGTitleElement"],"SVGTransform":["SVGTransform"],"SVGTransformList":["SVGTransformList"],"SVGTSpanElement":["SVGTSpanElement"],"SVGUnitTypes":["SVGUnitTypes"],"SVGURIReference":["href"],"SVGUseElement":["SVGUseElement"],"SVGViewElement":["SVGViewElement"],"Symbol":[],"SymbolConstructor":[],"SyntaxError":[],"SyntaxErrorConstructor":[],"TaskController":["TaskController"],"TaskControllerInit":[],"TaskPriority":[],"TaskPriorityChangeEvent":["TaskPriorityChangeEvent"],"TaskPriorityChangeEventInit":[],"TaskSignal":["TaskSignal"],"TaskSignalAnyInit":[],"TaskSignalEventMap":[],"TemplateStringsArray":[],"Temporal":[null,{"CalendarLike":[],"DateLikeObject":[],"DateTimeLikeObject":[],"DateUnit":[],"DisambiguationOptions":[],"Duration":[],"DurationConstructor":[],"DurationLike":[],"DurationLikeObject":[],"DurationRelativeToOptions":[],"DurationRoundingOptions":[],"DurationToStringOptions":[],"DurationTotalOptions":[],"Instant":[],"InstantConstructor":[],"InstantLike":[],"InstantToStringOptions":[],"Now":[null,{"instant":[],"plainDateISO":[],"plainDateTimeISO":[],"plainTimeISO":[],"timeZoneId":[],"zonedDateTimeISO":[]}],"OverflowOptions":[],"PartialTemporalLike":[],"PlainDate":[],"PlainDateConstructor":[],"PlainDateLike":[],"PlainDateTime":[],"PlainDateTimeConstructor":[],"PlainDateTimeLike":[],"PlainDateTimeToStringOptions":[],"PlainDateToStringOptions":[],"PlainDateToZonedDateTimeOptions":[],"PlainMonthDay":[],"PlainMonthDayConstructor":[],"PlainMonthDayLike":[],"PlainMonthDayToPlainDateOptions":[],"PlainTime":[],"PlainTimeConstructor":[],"PlainTimeLike":[],"PlainTimeToStringOptions":[],"PlainYearMonth":[],"PlainYearMonthConstructor":[],"PlainYearMonthLike":[],"PlainYearMonthToPlainDateOptions":[],"PluralizeUnit":[],"RoundingOptions":[],"RoundingOptionsWithLargestUnit":[],"TimeLikeObject":[],"TimeUnit":[],"TimeZoneLike":[],"ToStringRoundingOptions":[],"ToStringRoundingOptionsWithFractionalSeconds":[],"TransitionOptions":[],"YearMonthLikeObject":[],"ZonedDateTime":[],"ZonedDateTimeConstructor":[],"ZonedDateTimeFromOptions":[],"ZonedDateTimeLike":[],"ZonedDateTimeLikeObject":[],"ZonedDateTimeToStringOptions":[]}],"TexImageSource":[],"Text":["Text"],"TextDecodeOptions":[],"TextDecoder":["TextDecoder"],"TextDecoderCommon":["encoding"],"TextDecoderOptions":[],"TextDecoderStream":["TextDecoderStream"],"TextEncoder":["TextEncoder"],"TextEncoderCommon":["encoding"],"TextEncoderEncodeIntoResult":[],"TextEncoderStream":["TextEncoderStream"],"TextEvent":["TextEvent"],"TextMetrics":["TextMetrics"],"TextStreamBase":[],"TextStreamReader":[],"TextStreamWriter":[],"TextTrack":["TextTrack"],"TextTrackCue":["TextTrackCue"],"TextTrackCueEventMap":[],"TextTrackCueList":["TextTrackCueList"],"TextTrackEventMap":[],"TextTrackKind":[],"TextTrackList":["TextTrackList"],"TextTrackListEventMap":[],"TextTrackMode":[],"ThisParameterType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#thisparametertypetype"],"ThisType":["https://www.typescriptlang.org/docs/handbook/utility-types.html#thistypetype"],"TimelineRangeOffset":[],"TimeRanges":["TimeRanges"],"TimerHandler":[],"ToggleEvent":["ToggleEvent"],"ToggleEventInit":[],"TogglePopoverOptions":[],"toolbar":[],"top":[],"Touch":["Touch"],"TouchEvent":["TouchEvent"],"TouchEventInit":[],"TouchInit":[],"TouchList":["TouchList"],"TouchType":[],"TrackEvent":["TrackEvent"],"TrackEventInit":[],"Transferable":[],"TransferFunction":[],"Transformer":[],"TransformerFlushCallback":[],"TransformerStartCallback":[],"TransformerTransformCallback":[],"TransformStream":["TransformStream"],"TransformStreamDefaultController":["TransformStreamDefaultController"],"TransitionEvent":["TransitionEvent"],"TransitionEventInit":[],"TreeWalker":["TreeWalker"],"TypedPropertyDescriptor":[],"TypeError":[],"TypeErrorConstructor":[],"UIEvent":["UIEvent"],"UIEventInit":[],"Uint16Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array"],"Uint16ArrayConstructor":[],"Uint32Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array"],"Uint32ArrayConstructor":[],"Uint32List":[],"Uint8Array":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"],"Uint8ArrayConstructor":[],"Uint8ClampedArray":["https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray"],"Uint8ClampedArrayConstructor":[],"ULongRange":[],"Uncapitalize":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"UnderlyingByteSource":[],"UnderlyingDefaultSource":[],"UnderlyingSink":[],"UnderlyingSinkAbortCallback":[],"UnderlyingSinkCloseCallback":[],"UnderlyingSinkStartCallback":[],"UnderlyingSinkWriteCallback":[],"UnderlyingSource":[],"UnderlyingSourceCancelCallback":[],"UnderlyingSourcePullCallback":[],"UnderlyingSourceStartCallback":[],"unescape":[],"UnknownCredentialOptions":[],"Uppercase":["https://www.typescriptlang.org/docs/handbook/utility-types.html#intrinsic-string-manipulation-types"],"URIError":[],"URIErrorConstructor":[],"URL":["URL"],"URLPattern":["URLPattern"],"URLPatternComponentResult":[],"URLPatternInit":[],"URLPatternInput":[],"URLPatternOptions":[],"URLPatternResult":[],"URLSearchParams":["URLSearchParams"],"URLSearchParamsIterator":[],"UserActivation":["UserActivation"],"UserVerificationRequirement":[],"ValidityState":["ValidityState"],"ValidityStateFlags":[],"VarDate":[],"VBArray":[],"VBArrayConstructor":[],"VibratePattern":[],"VideoColorPrimaries":[],"VideoColorSpace":["VideoColorSpace"],"VideoColorSpaceInit":[],"VideoConfiguration":[],"VideoDecoder":["VideoDecoder"],"VideoDecoderConfig":[],"VideoDecoderEventMap":[],"VideoDecoderInit":[],"VideoDecoderSupport":[],"VideoEncoder":["VideoEncoder"],"VideoEncoderBitrateMode":[],"VideoEncoderConfig":[],"VideoEncoderEncodeOptions":[],"VideoEncoderEncodeOptionsForAvc":[],"VideoEncoderEventMap":[],"VideoEncoderInit":[],"VideoEncoderSupport":[],"VideoFacingModeEnum":[],"VideoFrame":["VideoFrame"],"VideoFrameBufferInit":[],"VideoFrameCallbackMetadata":[],"VideoFrameCopyToOptions":[],"VideoFrameInit":[],"VideoFrameOutputCallback":[],"VideoFrameRequestCallback":[],"VideoMatrixCoefficients":[],"VideoPixelFormat":[],"VideoPlaybackQuality":["VideoPlaybackQuality"],"VideoTransferCharacteristics":[],"ViewTimeline":["ViewTimeline"],"ViewTimelineOptions":[],"ViewTransition":["ViewTransition"],"ViewTransitionTypeSet":["ViewTransitionTypeSet"],"ViewTransitionUpdateCallback":[],"visualViewport":[],"VisualViewport":["VisualViewport"],"VisualViewportEventMap":[],"VoidFunction":[],"VTTCue":["VTTCue"],"VTTRegion":["VTTRegion"],"WakeLock":["WakeLock"],"WakeLockSentinel":["WakeLockSentinel"],"WakeLockSentinelEventMap":[],"WakeLockType":[],"WaveShaperNode":["WaveShaperNode"],"WaveShaperOptions":[],"WeakKey":[],"WeakKeyTypes":[],"WeakMap":[],"WeakMapConstructor":[],"WeakRef":[],"WeakRefConstructor":[],"WeakSet":[],"WeakSetConstructor":[],"WebAssembly":[null,{"AddressType":[],"AddressValue":[],"compile":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compile_static"],"CompileError":[],"compileStreaming":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/compileStreaming_static"],"Exception":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Exception"],"ExceptionOptions":[],"Exports":[],"ExportValue":[],"Global":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Global"],"GlobalDescriptor":[],"ImportExportKind":[],"Imports":[],"ImportValue":[],"Instance":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Instance"],"instantiate":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiate_static"],"instantiateStreaming":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/instantiateStreaming_static"],"JSTag":[],"LinkError":[],"Memory":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Memory"],"MemoryDescriptor":[],"Module":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Module"],"ModuleExportDescriptor":[],"ModuleImportDescriptor":[],"ModuleImports":[],"RuntimeError":[],"Table":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Table"],"TableDescriptor":[],"TableKind":[],"Tag":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/Tag"],"TagType":[],"validate":["https://developer.mozilla.org/docs/WebAssembly/Reference/JavaScript_interface/validate_static"],"ValueType":[],"ValueTypeMap":[],"WebAssemblyCompileOptions":[],"WebAssemblyInstantiatedSource":[]}],"WebCodecsErrorCallback":[],"WEBGL_color_buffer_float":["WEBGL_color_buffer_float"],"WEBGL_compressed_texture_astc":["WEBGL_compressed_texture_astc"],"WEBGL_compressed_texture_etc":["WEBGL_compressed_texture_etc"],"WEBGL_compressed_texture_etc1":["WEBGL_compressed_texture_etc1"],"WEBGL_compressed_texture_pvrtc":["WEBGL_compressed_texture_pvrtc"],"WEBGL_compressed_texture_s3tc":["WEBGL_compressed_texture_s3tc"],"WEBGL_compressed_texture_s3tc_srgb":["WEBGL_compressed_texture_s3tc_srgb"],"WEBGL_debug_renderer_info":["WEBGL_debug_renderer_info"],"WEBGL_debug_shaders":["WEBGL_debug_shaders"],"WEBGL_depth_texture":["WEBGL_depth_texture"],"WEBGL_draw_buffers":["WEBGL_draw_buffers"],"WEBGL_lose_context":["WEBGL_lose_context"],"WEBGL_multi_draw":["WEBGL_multi_draw"],"WebGL2RenderingContext":["WebGL2RenderingContext"],"WebGL2RenderingContextBase":["beginQuery"],"WebGL2RenderingContextOverloads":["bufferData"],"WebGLActiveInfo":["WebGLActiveInfo"],"WebGLBuffer":["WebGLBuffer"],"WebGLContextAttributes":[],"WebGLContextEvent":["WebGLContextEvent"],"WebGLContextEventInit":[],"WebGLFramebuffer":["WebGLFramebuffer"],"WebGLPowerPreference":[],"WebGLProgram":["WebGLProgram"],"WebGLQuery":["WebGLQuery"],"WebGLRenderbuffer":["WebGLRenderbuffer"],"WebGLRenderingContext":["WebGLRenderingContext"],"WebGLRenderingContextBase":["drawingBufferColorSpace"],"WebGLRenderingContextOverloads":["bufferData"],"WebGLSampler":["WebGLSampler"],"WebGLShader":["WebGLShader"],"WebGLShaderPrecisionFormat":["WebGLShaderPrecisionFormat"],"WebGLSync":["WebGLSync"],"WebGLTexture":["WebGLTexture"],"WebGLTransformFeedback":["WebGLTransformFeedback"],"WebGLUniformLocation":["WebGLUniformLocation"],"WebGLVertexArrayObject":["WebGLVertexArrayObject"],"WebGLVertexArrayObjectOES":["WebGLVertexArrayObject"],"WebKitCSSMatrix":[],"webkitURL":[],"WebSocket":["WebSocket"],"WebSocketEventMap":[],"WebTransport":["WebTransport"],"WebTransportBidirectionalStream":["WebTransportBidirectionalStream"],"WebTransportCloseInfo":[],"WebTransportCongestionControl":[],"WebTransportDatagramDuplexStream":["WebTransportDatagramDuplexStream"],"WebTransportError":["WebTransportError"],"WebTransportErrorOptions":[],"WebTransportErrorSource":[],"WebTransportHash":[],"WebTransportOptions":[],"WebTransportSendOptions":[],"WebTransportSendStreamOptions":[],"WGSLLanguageFeatures":["WGSLLanguageFeatures"],"WheelEvent":["WheelEvent"],"WheelEventInit":[],"window":[],"Window":["Window"],"WindowClient":["WindowClient"],"WindowEventHandlers":["afterprint_event"],"WindowEventHandlersEventMap":[],"WindowEventMap":[],"WindowLocalStorage":["localStorage"],"WindowOrWorkerGlobalScope":["caches"],"WindowPostMessageOptions":[],"WindowProxy":[],"WindowSessionStorage":["sessionStorage"],"Worker":["Worker"],"WorkerEventMap":[],"WorkerGlobalScope":["WorkerGlobalScope"],"WorkerGlobalScopeEventMap":[],"WorkerLocation":["WorkerLocation"],"WorkerNavigator":["WorkerNavigator"],"WorkerOptions":[],"WorkerType":[],"Worklet":["Worklet"],"WorkletOptions":[],"WritableStream":["WritableStream"],"WritableStreamDefaultController":["WritableStreamDefaultController"],"WritableStreamDefaultWriter":["WritableStreamDefaultWriter"],"WriteCommandType":[],"WriteParams":[],"WScript":[],"WSH":[],"XMLDocument":["XMLDocument"],"XMLHttpRequest":["XMLHttpRequest"],"XMLHttpRequestBodyInit":[],"XMLHttpRequestEventMap":[],"XMLHttpRequestEventTarget":["XMLHttpRequestEventTarget"],"XMLHttpRequestEventTargetEventMap":[],"XMLHttpRequestResponseType":[],"XMLHttpRequestUpload":["XMLHttpRequestUpload"],"XMLSerializer":["XMLSerializer"],"XPathEvaluator":["XPathEvaluator"],"XPathEvaluatorBase":["createExpression"],"XPathExpression":["XPathExpression"],"XPathNSResolver":[],"XPathResult":["XPathResult"],"XSLTProcessor":["XSLTProcessor"]}'), Ho = {
|
|
1052
|
+
globals: _o
|
|
1053
1053
|
}, Ht = Object.freeze(
|
|
1054
|
-
Object.assign(/* @__PURE__ */ Object.create(null),
|
|
1054
|
+
Object.assign(/* @__PURE__ */ Object.create(null), Ho.globals)
|
|
1055
1055
|
), Kt = "https://developer.mozilla.org/docs/Web/API/";
|
|
1056
1056
|
function ln(e, t, n = "*", i) {
|
|
1057
1057
|
if (e === "@arcgis/core")
|
|
1058
|
-
return
|
|
1058
|
+
return Ko(t, n, i);
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function Ko(e, t, n) {
|
|
1061
1061
|
if (!(e === void 0 || e === "interfaces.d.ts")) {
|
|
1062
|
-
const i = `https://${n.config.documentation.host}${
|
|
1063
|
-
return
|
|
1062
|
+
const i = `https://${n.config.documentation.host}${zo}${ae(e)}/`;
|
|
1063
|
+
return Gn(i, t === "default" || t === "*" ? void 0 : t, void 0);
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
|
-
const
|
|
1067
|
-
function
|
|
1066
|
+
const zo = Fn("core");
|
|
1067
|
+
function vt(e, t, n, i) {
|
|
1068
1068
|
i.implicitPublicModules ??= /* @__PURE__ */ Object.create(null);
|
|
1069
1069
|
const o = i.implicitPublicModules[e];
|
|
1070
1070
|
o === void 0 ? i.implicitPublicModules[e] = {
|
|
@@ -1076,8 +1076,8 @@ function gt(e, t, n, i) {
|
|
|
1076
1076
|
extractedNames: /* @__PURE__ */ new Set()
|
|
1077
1077
|
} : o.pendingNames !== void 0 && n !== "*" ? o.pendingNames.add(n) : o.pendingNames = void 0;
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1080
|
-
const n =
|
|
1079
|
+
function jo(e, t) {
|
|
1080
|
+
const n = xt(e);
|
|
1081
1081
|
if (t.pendingNames === void 0)
|
|
1082
1082
|
return n > 0;
|
|
1083
1083
|
if (n === 2 && t.pendingNames.has("default"))
|
|
@@ -1085,7 +1085,7 @@ function zo(e, t) {
|
|
|
1085
1085
|
const o = (e.name ?? e.declarationList?.declarations[0].name).escapedText;
|
|
1086
1086
|
return t.pendingNames.has(o);
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function St(e, t, n, i, o) {
|
|
1089
1089
|
const r = t.escapedText;
|
|
1090
1090
|
if (e.flags & l.SymbolFlags.TypeParameter)
|
|
1091
1091
|
return {
|
|
@@ -1096,7 +1096,7 @@ function vt(e, t, n, i, o) {
|
|
|
1096
1096
|
start: i,
|
|
1097
1097
|
end: o
|
|
1098
1098
|
};
|
|
1099
|
-
const a = n.program.getTypeChecker(), s = e.flags & l.SymbolFlags.Alias ? a.getAliasedSymbol(e) : e, c =
|
|
1099
|
+
const a = n.program.getTypeChecker(), s = e.flags & l.SymbolFlags.Alias ? a.getAliasedSymbol(e) : e, c = Zo(s), p = c ?? r, d = s?.declarations?.[0];
|
|
1100
1100
|
if (d === void 0)
|
|
1101
1101
|
return n.emitError(`Unable to resolve the declaration file name for the type ${p}`, {
|
|
1102
1102
|
file: n.file,
|
|
@@ -1109,7 +1109,7 @@ function vt(e, t, n, i, o) {
|
|
|
1109
1109
|
start: i,
|
|
1110
1110
|
end: o
|
|
1111
1111
|
};
|
|
1112
|
-
const m = d.getSourceFile(), { packageName: u, modulePath: f } =
|
|
1112
|
+
const m = d.getSourceFile(), { packageName: u, modulePath: f } = qo(m.fileName, n, p);
|
|
1113
1113
|
if (u === "@arcgis/core" && f === "interfaces.js")
|
|
1114
1114
|
return n.moduleContext.importsMap.__esri = {
|
|
1115
1115
|
type: "*",
|
|
@@ -1127,11 +1127,11 @@ function vt(e, t, n, i, o) {
|
|
|
1127
1127
|
end: o
|
|
1128
1128
|
};
|
|
1129
1129
|
if (u === "typescript" && f?.startsWith("lib/") === !0) {
|
|
1130
|
-
let
|
|
1131
|
-
if (
|
|
1130
|
+
let S = Ht[p], T, h = p;
|
|
1131
|
+
if (S === void 0) {
|
|
1132
1132
|
for (let E = d.parent; E !== void 0; E = E.parent)
|
|
1133
1133
|
if (l.isModuleDeclaration(E) && l.isIdentifier(E.name)) {
|
|
1134
|
-
T = E.name.escapedText,
|
|
1134
|
+
T = E.name.escapedText, S = Ht[T]?.[1]?.[p], h = `${T}.${p}`, Ve(t, h);
|
|
1135
1135
|
break;
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
@@ -1139,7 +1139,7 @@ function vt(e, t, n, i, o) {
|
|
|
1139
1139
|
name: h,
|
|
1140
1140
|
module: void 0,
|
|
1141
1141
|
package: ie,
|
|
1142
|
-
viewUrl:
|
|
1142
|
+
viewUrl: S?.[0]?.startsWith("https") === !1 ? `${Kt}${S[0]}` : S?.[0] ?? void 0,
|
|
1143
1143
|
start: i,
|
|
1144
1144
|
end: i + h.length
|
|
1145
1145
|
};
|
|
@@ -1147,12 +1147,12 @@ function vt(e, t, n, i, o) {
|
|
|
1147
1147
|
let y = p;
|
|
1148
1148
|
if (u !== void 0 && f === void 0 && c?.startsWith("HTML") === !0 && d.parent.kind === l.SyntaxKind.ModuleBlock && d.parent.parent.kind === l.SyntaxKind.ModuleDeclaration && d.parent.parent.name.escapedText === "global") {
|
|
1149
1149
|
if (c.endsWith("Element")) {
|
|
1150
|
-
const
|
|
1151
|
-
if (
|
|
1152
|
-
const T = a.getSymbolAtLocation(
|
|
1150
|
+
const S = l.isInterfaceDeclaration(d) ? d.heritageClauses?.[0]?.types[0]?.expression : l.isTypeAliasDeclaration(d) && l.isTypeReferenceNode(d.type) ? d.type.typeName : void 0;
|
|
1151
|
+
if (S !== void 0 && l.isIdentifier(S)) {
|
|
1152
|
+
const T = a.getSymbolAtLocation(S);
|
|
1153
1153
|
if (T !== void 0) {
|
|
1154
1154
|
const h = a.getAliasedSymbol(T);
|
|
1155
|
-
return
|
|
1155
|
+
return St(
|
|
1156
1156
|
h,
|
|
1157
1157
|
t,
|
|
1158
1158
|
n,
|
|
@@ -1167,9 +1167,9 @@ function vt(e, t, n, i, o) {
|
|
|
1167
1167
|
// As this interface is not likely to be used directly.
|
|
1168
1168
|
c.endsWith("ElementEventMap") && l.isTypeAliasDeclaration(d) && l.isIndexedAccessTypeNode(d.type) && l.isTypeReferenceNode(d.type.objectType) && l.isIdentifier(d.type.objectType.typeName) && l.isLiteralTypeNode(d.type.indexType) && l.isStringLiteral(d.type.indexType.literal) && d.type.indexType.literal.text === "@eventTypes"
|
|
1169
1169
|
) {
|
|
1170
|
-
const
|
|
1171
|
-
if (
|
|
1172
|
-
const T = a.getAliasedSymbol(
|
|
1170
|
+
const S = a.getSymbolAtLocation(d.type.objectType.typeName);
|
|
1171
|
+
if (S !== void 0) {
|
|
1172
|
+
const T = a.getAliasedSymbol(S), h = St(
|
|
1173
1173
|
T,
|
|
1174
1174
|
t,
|
|
1175
1175
|
n,
|
|
@@ -1181,19 +1181,19 @@ function vt(e, t, n, i, o) {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
}
|
|
1183
1183
|
if (u !== void 0 || f !== void 0) {
|
|
1184
|
-
const
|
|
1184
|
+
const S = c ?? ((f ?? u).split("/").pop()?.replaceAll(Jo, "") || "type");
|
|
1185
1185
|
for (let T = 1; ; T += 1) {
|
|
1186
|
-
const h = T === 1 ?
|
|
1186
|
+
const h = T === 1 ? S : `${S}${T}`;
|
|
1187
1187
|
let E = n.functionLikeTypeParameters?.has(h) === !0 || n.objectLikeTypeParameters?.has(h) === !0 || n.localDeclarations.has(h);
|
|
1188
1188
|
if (E)
|
|
1189
1189
|
continue;
|
|
1190
1190
|
const M = n.moduleContext.importsMap[h], b = M !== void 0 && (u === void 0 ? M.modulePath === f : M.rawSpecifier === u + (f === void 0 ? "" : `/${f}`));
|
|
1191
1191
|
if (b ? M.wasUsed = !0 : E = n.moduleContext.importsMap[h] !== void 0, E)
|
|
1192
1192
|
continue;
|
|
1193
|
-
const
|
|
1194
|
-
|
|
1195
|
-
const L =
|
|
1196
|
-
|
|
1193
|
+
const g = h !== r;
|
|
1194
|
+
g && (Ve(t, h), o = i + h.length);
|
|
1195
|
+
const L = er(s), D = L === "named";
|
|
1196
|
+
D || (y = L), u === void 0 && !n.config.strict && vt(
|
|
1197
1197
|
f,
|
|
1198
1198
|
m.fileName.slice(n.basePath.length),
|
|
1199
1199
|
y,
|
|
@@ -1203,7 +1203,7 @@ function vt(e, t, n, i, o) {
|
|
|
1203
1203
|
modulePath: u === void 0 ? f : void 0,
|
|
1204
1204
|
rawSpecifier: u === void 0 ? "" : u + (f === void 0 ? "" : `/${f}`),
|
|
1205
1205
|
replacementName: void 0,
|
|
1206
|
-
actualName:
|
|
1206
|
+
actualName: D && g ? c : void 0,
|
|
1207
1207
|
wasUsed: !0
|
|
1208
1208
|
});
|
|
1209
1209
|
break;
|
|
@@ -1231,34 +1231,34 @@ function vt(e, t, n, i, o) {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
);
|
|
1233
1233
|
}
|
|
1234
|
-
const
|
|
1234
|
+
const v = y === "default" || y === "*" ? void 0 : c;
|
|
1235
1235
|
return u ? {
|
|
1236
1236
|
name: y,
|
|
1237
1237
|
module: f || void 0,
|
|
1238
1238
|
package: u,
|
|
1239
|
-
viewUrl: ln(u, f ?? "",
|
|
1239
|
+
viewUrl: ln(u, f ?? "", v, n),
|
|
1240
1240
|
start: i,
|
|
1241
1241
|
end: o
|
|
1242
1242
|
} : {
|
|
1243
1243
|
name: y,
|
|
1244
1244
|
module: f,
|
|
1245
1245
|
package: void 0,
|
|
1246
|
-
viewUrl: ze(f ?? n.apiModule.path,
|
|
1246
|
+
viewUrl: ze(f ?? n.apiModule.path, v, void 0, n),
|
|
1247
1247
|
start: i,
|
|
1248
1248
|
end: o
|
|
1249
1249
|
};
|
|
1250
1250
|
}
|
|
1251
|
-
const
|
|
1252
|
-
function
|
|
1253
|
-
const i = e.lastIndexOf(
|
|
1251
|
+
const Jo = /[^a-zA-Z0-9$_]/gu;
|
|
1252
|
+
function qo(e, t, n) {
|
|
1253
|
+
const i = e.lastIndexOf(Gt);
|
|
1254
1254
|
if (i !== -1) {
|
|
1255
|
-
const c = e.slice(i +
|
|
1255
|
+
const c = e.slice(i + Gt.length), p = cn(c), d = e.slice(
|
|
1256
1256
|
0,
|
|
1257
|
-
i +
|
|
1257
|
+
i + Gt.length + p.packageName.length
|
|
1258
1258
|
), m = yi(d);
|
|
1259
1259
|
return Ti(p), p.modulePath = Ei(p.modulePath, m, t, n), p;
|
|
1260
1260
|
}
|
|
1261
|
-
let r = e.indexOf(
|
|
1261
|
+
let r = e.indexOf(Xo), a;
|
|
1262
1262
|
if (r === -1 && (r = e.indexOf(Ci), r !== -1 && (a = r + Ci.length)), r !== -1) {
|
|
1263
1263
|
const c = e.slice(0, r), p = yi(c), d = p.name, m = e.slice(a ?? r + 1), u = Ei(m, p, t, n), f = { packageName: d, modulePath: u };
|
|
1264
1264
|
return Ti(f), f;
|
|
@@ -1284,9 +1284,9 @@ function Jo(e, t, n) {
|
|
|
1284
1284
|
modulePath: void 0
|
|
1285
1285
|
};
|
|
1286
1286
|
}
|
|
1287
|
-
const
|
|
1287
|
+
const Gt = "/node_modules/", Xo = "/dist/", Ci = "/output/npm/esm/";
|
|
1288
1288
|
function cn(e) {
|
|
1289
|
-
const t =
|
|
1289
|
+
const t = Wt(e), n = e.length === t.length ? void 0 : e.slice(t.length + 1);
|
|
1290
1290
|
return { packageName: t, modulePath: n };
|
|
1291
1291
|
}
|
|
1292
1292
|
function Ti(e) {
|
|
@@ -1298,7 +1298,7 @@ function Ei(e, t, n, i) {
|
|
|
1298
1298
|
return `${o}.js`;
|
|
1299
1299
|
const r = `./${o}`, a = "@arcgis/lumina" in (t.dependencies ?? {}) && r.endsWith("/customElement") ? `${r.slice(0, -13)}index` : r;
|
|
1300
1300
|
let s = zt(t.exports, ".", a);
|
|
1301
|
-
if (s === void 0 && (s =
|
|
1301
|
+
if (s === void 0 && (s = Qo[t.name]?.(o)), s !== void 0)
|
|
1302
1302
|
return s === "." ? void 0 : s.slice(2);
|
|
1303
1303
|
const c = n.moduleContext.importsMap[i];
|
|
1304
1304
|
if (c !== void 0 && c.modulePath === void 0) {
|
|
@@ -1311,7 +1311,7 @@ function Ei(e, t, n, i) {
|
|
|
1311
1311
|
{ file: n.file, node: void 0 }
|
|
1312
1312
|
), e;
|
|
1313
1313
|
}
|
|
1314
|
-
const
|
|
1314
|
+
const Qo = {
|
|
1315
1315
|
// REFACTOR: dissolve barrel files (match @arcgis/core). then this won't be needed
|
|
1316
1316
|
"@arcgis/lumina"(e) {
|
|
1317
1317
|
return e.startsWith("dist/globalTypes/") || e.startsWith("dist/typings/") ? "./globalTypes" : e.startsWith("dist/controllers/accessor/") ? "./controllers/accessor" : e.startsWith("dist/controllers/") ? "./controllers" : e.startsWith("dist/jsx/") || !e.slice(5).includes("/") ? "." : void 0;
|
|
@@ -1319,7 +1319,7 @@ const Xo = {
|
|
|
1319
1319
|
};
|
|
1320
1320
|
function zt(e, t, n) {
|
|
1321
1321
|
if (typeof e == "string")
|
|
1322
|
-
return
|
|
1322
|
+
return Yo(t, e, n);
|
|
1323
1323
|
if (Array.isArray(e))
|
|
1324
1324
|
for (let i = 0; i < e.length; ++i) {
|
|
1325
1325
|
const o = zt(e[i], t, n);
|
|
@@ -1333,7 +1333,7 @@ function zt(e, t, n) {
|
|
|
1333
1333
|
return s;
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1336
|
+
function Yo(e, t, n) {
|
|
1337
1337
|
const i = ae(t);
|
|
1338
1338
|
if (i === n)
|
|
1339
1339
|
return e;
|
|
@@ -1354,17 +1354,17 @@ function Qo(e, t, n) {
|
|
|
1354
1354
|
if (d !== -1)
|
|
1355
1355
|
return e.slice(0, d) + p + e.slice(d + 1);
|
|
1356
1356
|
}
|
|
1357
|
-
function
|
|
1357
|
+
function Zo(e) {
|
|
1358
1358
|
const t = e.getDeclarations()?.[0];
|
|
1359
1359
|
if (t !== void 0 && ((l.isClassDeclaration(t) || l.isFunctionDeclaration(t) || l.isInterfaceDeclaration(t) || l.isTypeAliasDeclaration(t) || l.isEnumDeclaration(t)) && t.name !== void 0 && l.isIdentifier(t.name) || l.isVariableDeclaration(t) && l.isIdentifier(t.name) || l.isBindingElement(t) && l.isIdentifier(t.name)))
|
|
1360
1360
|
return t.name.escapedText;
|
|
1361
1361
|
const n = e.escapedName;
|
|
1362
1362
|
return n === "default" || n.startsWith("__") ? void 0 : n;
|
|
1363
1363
|
}
|
|
1364
|
-
function Zo(e) {
|
|
1365
|
-
return e.flags & l.SymbolFlags.ValueModule ? "*" : er(e) ? "default" : "named";
|
|
1366
|
-
}
|
|
1367
1364
|
function er(e) {
|
|
1365
|
+
return e.flags & l.SymbolFlags.ValueModule ? "*" : tr(e) ? "default" : "named";
|
|
1366
|
+
}
|
|
1367
|
+
function tr(e) {
|
|
1368
1368
|
const t = e.escapedName;
|
|
1369
1369
|
if (t === "default" || // CommonJS "export ="
|
|
1370
1370
|
t === "export=")
|
|
@@ -1432,7 +1432,7 @@ function X(e, t, n, i) {
|
|
|
1432
1432
|
const o = t === _.shallow ? _.false : t, r = new Array(e.properties.length);
|
|
1433
1433
|
for (let a = 0; a < r.length; ++a) {
|
|
1434
1434
|
const s = e.properties[a];
|
|
1435
|
-
r[a] =
|
|
1435
|
+
r[a] = ir(s, o, { ...n, node: s }, i);
|
|
1436
1436
|
}
|
|
1437
1437
|
return l.factory.createTypeLiteralNode(r);
|
|
1438
1438
|
}
|
|
@@ -1516,13 +1516,13 @@ function X(e, t, n, i) {
|
|
|
1516
1516
|
return l.factory.createFunctionTypeNode(
|
|
1517
1517
|
e.typeParameters,
|
|
1518
1518
|
Jt(e.parameters, o, n, i),
|
|
1519
|
-
e.type ?? (l.isBlock(e.body) ?
|
|
1519
|
+
e.type ?? (l.isBlock(e.body) ? ht(e, i) ?? le(n, se, i) : X(e.body, o, n, i))
|
|
1520
1520
|
);
|
|
1521
1521
|
}
|
|
1522
1522
|
return We(n, se, t, i);
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1525
|
-
const o = t === _.false ? void 0 :
|
|
1524
|
+
function ir(e, t, n, i) {
|
|
1525
|
+
const o = t === _.false ? void 0 : lr;
|
|
1526
1526
|
return l.isPropertyAssignment(e) ? l.factory.createPropertySignature(
|
|
1527
1527
|
o,
|
|
1528
1528
|
e.name,
|
|
@@ -1545,14 +1545,14 @@ function tr(e, t, n, i) {
|
|
|
1545
1545
|
l.factory.createFunctionTypeNode(
|
|
1546
1546
|
e.typeParameters,
|
|
1547
1547
|
Jt(e.parameters, t, n, i),
|
|
1548
|
-
e.type ??
|
|
1548
|
+
e.type ?? ht(e, i) ?? le(n, se, i)
|
|
1549
1549
|
)
|
|
1550
1550
|
) : l.isGetAccessorDeclaration(e) ? l.factory.createGetAccessorDeclaration(
|
|
1551
1551
|
void 0,
|
|
1552
1552
|
e.name,
|
|
1553
1553
|
// Should always be empty
|
|
1554
1554
|
e.parameters,
|
|
1555
|
-
e.type ??
|
|
1555
|
+
e.type ?? ht(e, i) ?? le(n, se, i),
|
|
1556
1556
|
void 0
|
|
1557
1557
|
) : l.factory.createSetAccessorDeclaration(
|
|
1558
1558
|
void 0,
|
|
@@ -1574,20 +1574,20 @@ function Ge(e, t, n) {
|
|
|
1574
1574
|
o = s === void 0 ? void 0 : i.getTypeOfSymbol(s);
|
|
1575
1575
|
}
|
|
1576
1576
|
o ??= i.getTypeAtLocation(e.node);
|
|
1577
|
-
const a = r ?
|
|
1578
|
-
return
|
|
1577
|
+
const a = r ? ro(i, o) : o;
|
|
1578
|
+
return It(i, a);
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function It(e, t) {
|
|
1582
1582
|
const n = t.flags & l.TypeFlags.Union ? t.types.every(bi) : bi(t);
|
|
1583
1583
|
return e.typeToTypeNode(
|
|
1584
1584
|
t,
|
|
1585
1585
|
void 0,
|
|
1586
|
-
|
|
1586
|
+
rr & (n ? ~l.TypeFormatFlags.MultilineObjectLiterals : -1)
|
|
1587
1587
|
);
|
|
1588
1588
|
}
|
|
1589
|
-
const
|
|
1590
|
-
function
|
|
1589
|
+
const nr = l.TypeFormatFlags.NoTruncation | l.TypeFormatFlags.WriteArrayAsGenericType | l.TypeFormatFlags.SuppressAnyReturnType | l.TypeFormatFlags.MultilineObjectLiterals, or = nr & l.TypeFormatFlags.NodeBuilderFlagsMask, rr = or | l.NodeBuilderFlags.IgnoreErrors | l.NodeBuilderFlags.NoTruncation, bi = (e) => e.flags & l.TypeFlags.Object ? e.getProperties().length === 1 : !!(e.flags & l.TypeFlags.PossiblyFalsy);
|
|
1590
|
+
function ht(e, t) {
|
|
1591
1591
|
const n = t.program?.getTypeChecker?.();
|
|
1592
1592
|
if (n === void 0)
|
|
1593
1593
|
return;
|
|
@@ -1595,19 +1595,19 @@ function St(e, t) {
|
|
|
1595
1595
|
if (i === void 0)
|
|
1596
1596
|
return;
|
|
1597
1597
|
const o = n.getReturnTypeOfSignature(i);
|
|
1598
|
-
return
|
|
1598
|
+
return It(n, o);
|
|
1599
1599
|
}
|
|
1600
|
-
function
|
|
1600
|
+
function sr(e, t) {
|
|
1601
1601
|
const n = t.program?.getTypeChecker?.();
|
|
1602
1602
|
if (n === void 0)
|
|
1603
1603
|
return;
|
|
1604
1604
|
const i = n.getTypeAtLocation(e);
|
|
1605
|
-
return
|
|
1605
|
+
return It(n, i);
|
|
1606
1606
|
}
|
|
1607
1607
|
function le(e, t, n) {
|
|
1608
1608
|
return n.isInLuminaMinimalExtraction || n.emitError(t, e), jt;
|
|
1609
1609
|
}
|
|
1610
|
-
const se = "Failed to infer the type of the expression. Please provide an explicit type annotation or simplify the expression.", jt = l.factory.createKeywordTypeNode(l.SyntaxKind.AnyKeyword), ot = l.factory.createKeywordTypeNode(l.SyntaxKind.UnknownKeyword), ct = l.factory.createKeywordTypeNode(l.SyntaxKind.VoidKeyword),
|
|
1610
|
+
const se = "Failed to infer the type of the expression. Please provide an explicit type annotation or simplify the expression.", jt = l.factory.createKeywordTypeNode(l.SyntaxKind.AnyKeyword), ot = l.factory.createKeywordTypeNode(l.SyntaxKind.UnknownKeyword), ct = l.factory.createKeywordTypeNode(l.SyntaxKind.VoidKeyword), ar = l.factory.createToken(l.SyntaxKind.ReadonlyKeyword), lr = [ar];
|
|
1611
1611
|
function Jt(e, t, n, i) {
|
|
1612
1612
|
const o = new Array(e.length);
|
|
1613
1613
|
for (let r = 0; r < o.length; ++r) {
|
|
@@ -1636,17 +1636,17 @@ function Pi(e) {
|
|
|
1636
1636
|
l.factory.createKeywordTypeNode(l.SyntaxKind.SymbolKeyword)
|
|
1637
1637
|
);
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1639
|
+
function cr(e, t) {
|
|
1640
1640
|
const n = t.program?.getTypeChecker?.();
|
|
1641
|
-
if (n === void 0 || !
|
|
1641
|
+
if (n === void 0 || !dr(e.exprName, t))
|
|
1642
1642
|
return;
|
|
1643
1643
|
const i = n.getTypeAtLocation(e.exprName);
|
|
1644
|
-
return
|
|
1644
|
+
return It(n, i);
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1647
|
-
return e.kind === l.SyntaxKind.QualifiedName ?
|
|
1646
|
+
function dr(e, t) {
|
|
1647
|
+
return e.kind === l.SyntaxKind.QualifiedName ? pr(e.left) : t.moduleContext.importsMap[e.escapedText]?.rawSpecifier.endsWith(".json") === !0;
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1649
|
+
function pr(e) {
|
|
1650
1650
|
for (; e !== void 0; )
|
|
1651
1651
|
if (e.kind === l.SyntaxKind.QualifiedName)
|
|
1652
1652
|
e = e.left;
|
|
@@ -1655,7 +1655,7 @@ function dr(e) {
|
|
|
1655
1655
|
return !1;
|
|
1656
1656
|
}
|
|
1657
1657
|
function ee(e, t) {
|
|
1658
|
-
if (A = t, dt.clear(), Z = [],
|
|
1658
|
+
if (A = t, dt.clear(), Z = [], Ct.clear(), e.pos !== -1 && e.getText(A.file).includes("* @public") && A.emitError(
|
|
1659
1659
|
"@public JSDoc tag may only appear in interfaces, top-level of type alias, or top-level intersection inside a type-alias. @public JSDoc tag inside inline object literal types or deeper aliases is not supported as such are tricky to represent in the docs UI. Refactor out the type into a separate top-level interface/type-alias. Documentation: https://webgis.esri.com/references/api-extractor/advanced-patterns#describing-nested-object-types",
|
|
1660
1660
|
{ file: A.file, node: e }
|
|
1661
1661
|
), e.kind === l.SyntaxKind.Identifier || e.kind === l.SyntaxKind.QualifiedName)
|
|
@@ -1665,10 +1665,10 @@ function ee(e, t) {
|
|
|
1665
1665
|
if (i !== void 0)
|
|
1666
1666
|
for (let o = 0; o < i.length; ++o) {
|
|
1667
1667
|
const r = i[o];
|
|
1668
|
-
|
|
1668
|
+
Ct.add(r.name.escapedText);
|
|
1669
1669
|
}
|
|
1670
1670
|
}
|
|
1671
|
-
return
|
|
1671
|
+
return mr.writeNode(l.EmitHint.Unspecified, e, void 0, dt), {
|
|
1672
1672
|
text: dt.getText(),
|
|
1673
1673
|
references: Z.length > 0 ? Z : void 0,
|
|
1674
1674
|
values: void 0,
|
|
@@ -1676,37 +1676,37 @@ function ee(e, t) {
|
|
|
1676
1676
|
};
|
|
1677
1677
|
}
|
|
1678
1678
|
let A;
|
|
1679
|
-
const
|
|
1679
|
+
const Me = (e, t, n) => {
|
|
1680
1680
|
switch (t.kind) {
|
|
1681
1681
|
case l.SyntaxKind.TypeReference:
|
|
1682
1682
|
const i = t, o = i.typeName;
|
|
1683
1683
|
switch (o.escapedText) {
|
|
1684
1684
|
case "nil":
|
|
1685
|
-
return
|
|
1685
|
+
return Me(e, ur, n);
|
|
1686
1686
|
// Used in public typings in 88 files
|
|
1687
1687
|
// REFACTOR: consider refactoring out Const usages in public API to
|
|
1688
1688
|
// reduce divergence
|
|
1689
1689
|
case "Const":
|
|
1690
|
-
return
|
|
1690
|
+
return Me(e, i.typeArguments[0], n);
|
|
1691
1691
|
// In component public types, Lumina's "component" and "el" have the same type
|
|
1692
1692
|
case "ToElement":
|
|
1693
1693
|
if (A.isComponentProject)
|
|
1694
|
-
return
|
|
1694
|
+
return Me(e, i.typeArguments[0], n);
|
|
1695
1695
|
break;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* @see https://webgis.esri.com/references/api-extractor/advanced-patterns#publicprivate-type-divergence
|
|
1698
1698
|
*/
|
|
1699
1699
|
case "PublicApiNarrowType":
|
|
1700
1700
|
case "PublicApiRelaxType":
|
|
1701
|
-
return
|
|
1701
|
+
return Me(e, i.typeArguments[1], n);
|
|
1702
1702
|
}
|
|
1703
1703
|
pt(o);
|
|
1704
1704
|
break;
|
|
1705
1705
|
case l.SyntaxKind.TypeQuery:
|
|
1706
|
-
const a =
|
|
1706
|
+
const a = cr(t, A);
|
|
1707
1707
|
if (a !== void 0)
|
|
1708
|
-
return
|
|
1709
|
-
pt(t.exprName,
|
|
1708
|
+
return Me(e, a, n);
|
|
1709
|
+
pt(t.exprName, fr);
|
|
1710
1710
|
break;
|
|
1711
1711
|
case l.SyntaxKind.PropertyAccessExpression:
|
|
1712
1712
|
pt(t);
|
|
@@ -1714,7 +1714,7 @@ const xe = (e, t, n) => {
|
|
|
1714
1714
|
case l.SyntaxKind.InferType:
|
|
1715
1715
|
case l.SyntaxKind.MappedType:
|
|
1716
1716
|
const c = t.typeParameter;
|
|
1717
|
-
|
|
1717
|
+
Ct.add(c.name.escapedText);
|
|
1718
1718
|
break;
|
|
1719
1719
|
case l.SyntaxKind.TypeLiteral:
|
|
1720
1720
|
const p = t;
|
|
@@ -1727,7 +1727,7 @@ const xe = (e, t, n) => {
|
|
|
1727
1727
|
// Thus print ArcgisHome["el"] as just ArcgisHome
|
|
1728
1728
|
A.isComponentProject && d.indexType.kind === l.SyntaxKind.LiteralType && d.indexType.literal.text === "el"
|
|
1729
1729
|
)
|
|
1730
|
-
return
|
|
1730
|
+
return Me(e, d.objectType, n);
|
|
1731
1731
|
break;
|
|
1732
1732
|
case l.SyntaxKind.ImportType:
|
|
1733
1733
|
A.emitError(
|
|
@@ -1736,14 +1736,14 @@ const xe = (e, t, n) => {
|
|
|
1736
1736
|
);
|
|
1737
1737
|
break;
|
|
1738
1738
|
}
|
|
1739
|
-
n(e, t),
|
|
1740
|
-
},
|
|
1739
|
+
n(e, t), Tt !== void 0 && (dn(), Tt = void 0);
|
|
1740
|
+
}, mr = ao(
|
|
1741
1741
|
{},
|
|
1742
1742
|
{
|
|
1743
|
-
onEmitNode:
|
|
1743
|
+
onEmitNode: Me
|
|
1744
1744
|
}
|
|
1745
|
-
),
|
|
1746
|
-
`),
|
|
1745
|
+
), ur = l.factory.createIdentifier("null | undefined"), dt = so.createTextWriter(`
|
|
1746
|
+
`), fr = 7, Ct = /* @__PURE__ */ new Set();
|
|
1747
1747
|
let Z;
|
|
1748
1748
|
function pt(e, t = 0) {
|
|
1749
1749
|
const n = [];
|
|
@@ -1763,7 +1763,7 @@ function pt(e, t = 0) {
|
|
|
1763
1763
|
const c = o;
|
|
1764
1764
|
if (c.pos === -1 && c.symbol !== void 0) {
|
|
1765
1765
|
Z.push(
|
|
1766
|
-
|
|
1766
|
+
St(c.symbol, c, A, a, s)
|
|
1767
1767
|
);
|
|
1768
1768
|
return;
|
|
1769
1769
|
}
|
|
@@ -1829,30 +1829,30 @@ function pt(e, t = 0) {
|
|
|
1829
1829
|
`Can't do a type replacement of ${G("green", r)} to ${G("red", d.replacementName)} as the latter name conflicts with a type parameter name in the current scope. Rename the type parameter or refactor out the type replacement.`,
|
|
1830
1830
|
{ file: A.file, node: e }
|
|
1831
1831
|
);
|
|
1832
|
-
const
|
|
1832
|
+
const v = y ? d.actualName ?? d.replacementName ?? r : void 0;
|
|
1833
1833
|
if (d.modulePath === void 0) {
|
|
1834
1834
|
if (A.config.strict) {
|
|
1835
|
-
const h =
|
|
1836
|
-
|
|
1837
|
-
h === "esri" ? `Found unexpected absolute path import of ${G("red",
|
|
1835
|
+
const h = Wt(d.rawSpecifier);
|
|
1836
|
+
yr(d.rawSpecifier, h, A.runtimeDependencyNames) || A.emitError(
|
|
1837
|
+
h === "esri" ? `Found unexpected absolute path import of ${G("red", v ?? d.type)} from ${G("red", d.rawSpecifier)}. Did you mean to use a relative import instead?` : qi(d.rawSpecifier) ? `Type ${G("red", v ?? d.type)} imported from Node.js built-in ${G("red", d.rawSpecifier)} cannot be referenced in public types unless ${G("red", "@types/node")} is declared as a "dependency" in the package.json` : `Type ${G("red", v ?? d.type)} imported from ${G("red", h)} cannot be referenced in public types as this dependency is not declared as a "dependency" in the package.json`,
|
|
1838
1838
|
{ file: A.file, node: e }
|
|
1839
1839
|
);
|
|
1840
1840
|
}
|
|
1841
|
-
} else A.config.strict ||
|
|
1841
|
+
} else A.config.strict || vt(
|
|
1842
1842
|
d.modulePath,
|
|
1843
1843
|
d.rawSpecifier === "" ? d.modulePath : Bt(
|
|
1844
1844
|
A.apiModule.sourcePath.slice(A.config.context.basePath.length),
|
|
1845
1845
|
d.rawSpecifier
|
|
1846
1846
|
),
|
|
1847
|
-
y ?
|
|
1847
|
+
y ? v : d.type,
|
|
1848
1848
|
A
|
|
1849
1849
|
);
|
|
1850
|
-
let
|
|
1851
|
-
T === void 0 && (
|
|
1852
|
-
name:
|
|
1850
|
+
let S, T = d.modulePath;
|
|
1851
|
+
T === void 0 && (S = Wt(d.rawSpecifier), T = d.rawSpecifier.length === S.length ? void 0 : d.rawSpecifier.slice(S.length + 1)), Z.push({
|
|
1852
|
+
name: v ?? d.type,
|
|
1853
1853
|
module: T,
|
|
1854
|
-
package:
|
|
1855
|
-
viewUrl: d.modulePath === void 0 ? ln(
|
|
1854
|
+
package: S,
|
|
1855
|
+
viewUrl: d.modulePath === void 0 ? ln(S, T, y ? r : d.type, A) : ze(d.modulePath, v, void 0, A),
|
|
1856
1856
|
start: a,
|
|
1857
1857
|
end: s
|
|
1858
1858
|
});
|
|
@@ -1870,34 +1870,34 @@ function pt(e, t = 0) {
|
|
|
1870
1870
|
});
|
|
1871
1871
|
let y = m;
|
|
1872
1872
|
if (y.length > 1) {
|
|
1873
|
-
let
|
|
1874
|
-
for (; y[1] !== void 0 &&
|
|
1875
|
-
const T = n[
|
|
1873
|
+
let v = n.length - 2, S = s + 1;
|
|
1874
|
+
for (; y[1] !== void 0 && v >= 0; ) {
|
|
1875
|
+
const T = n[v--];
|
|
1876
1876
|
if (y = y[1][T.escapedText], y === void 0)
|
|
1877
1877
|
A.emitError("Failed to resolve the definition of the type reference", {
|
|
1878
1878
|
file: A.file,
|
|
1879
1879
|
node: e
|
|
1880
1880
|
});
|
|
1881
1881
|
else {
|
|
1882
|
-
const h =
|
|
1882
|
+
const h = S + T.escapedText.length;
|
|
1883
1883
|
Z.push({
|
|
1884
1884
|
name: T.escapedText,
|
|
1885
1885
|
module: void 0,
|
|
1886
1886
|
package: ie,
|
|
1887
1887
|
viewUrl: y[0]?.startsWith("https") === !1 ? `${Kt}${y[0]}` : y[0] ?? void 0,
|
|
1888
|
-
start:
|
|
1888
|
+
start: S,
|
|
1889
1889
|
end: h
|
|
1890
|
-
}),
|
|
1890
|
+
}), S = h + 1;
|
|
1891
1891
|
}
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
1894
1894
|
return;
|
|
1895
1895
|
}
|
|
1896
|
-
if (
|
|
1896
|
+
if (Ct.has(r))
|
|
1897
1897
|
return;
|
|
1898
1898
|
const f = A.program?.getTypeChecker?.()?.getSymbolAtLocation(o);
|
|
1899
1899
|
if (f !== void 0) {
|
|
1900
|
-
Z.push(
|
|
1900
|
+
Z.push(St(f, o, A, a, s));
|
|
1901
1901
|
return;
|
|
1902
1902
|
}
|
|
1903
1903
|
A.emitError(
|
|
@@ -1905,23 +1905,23 @@ function pt(e, t = 0) {
|
|
|
1905
1905
|
{ file: A.file, node: e }
|
|
1906
1906
|
);
|
|
1907
1907
|
}
|
|
1908
|
-
function
|
|
1908
|
+
function yr(e, t, n) {
|
|
1909
1909
|
return n.has(t) || n.has("@types/node") && qi(e);
|
|
1910
1910
|
}
|
|
1911
1911
|
function Ve(e, t) {
|
|
1912
1912
|
const n = e.escapedText;
|
|
1913
|
-
|
|
1913
|
+
Tt = e, qt = t, dn(), qt = n;
|
|
1914
1914
|
}
|
|
1915
|
-
let
|
|
1915
|
+
let Tt, qt;
|
|
1916
1916
|
function dn() {
|
|
1917
|
-
|
|
1917
|
+
Tt.escapedText = qt;
|
|
1918
1918
|
}
|
|
1919
|
-
function
|
|
1919
|
+
function Dt(e, t, n) {
|
|
1920
1920
|
if (e === void 0 || n.isInLuminaMinimalExtraction) {
|
|
1921
1921
|
t ? n.objectLikeTypeParameters = void 0 : n.functionLikeTypeParameters = void 0;
|
|
1922
1922
|
return;
|
|
1923
1923
|
}
|
|
1924
|
-
const i = new Array(e.length), o = t ?
|
|
1924
|
+
const i = new Array(e.length), o = t ? gr : vr;
|
|
1925
1925
|
o.clear();
|
|
1926
1926
|
for (let r = 0; r < e.length; ++r) {
|
|
1927
1927
|
const a = e[r], s = a.name.escapedText;
|
|
@@ -1948,8 +1948,8 @@ function It(e, t, n) {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
return i;
|
|
1950
1950
|
}
|
|
1951
|
-
const
|
|
1952
|
-
function
|
|
1951
|
+
const gr = /* @__PURE__ */ new Set(), vr = /* @__PURE__ */ new Set();
|
|
1952
|
+
function we(e, t, n) {
|
|
1953
1953
|
if (!l.isIdentifier(e) && !l.isQualifiedName(e) && !l.isPropertyAccessExpression(e))
|
|
1954
1954
|
return n.emitError(
|
|
1955
1955
|
"Expected the type nodes in the extends clause to be Identifier, QualifiedName or PropertyAccessExpression.",
|
|
@@ -1993,15 +1993,15 @@ function Ne(e, t, n) {
|
|
|
1993
1993
|
function ri(e) {
|
|
1994
1994
|
return l.isTypeReferenceNode(e) && (e.typeName.escapedText === "PublicApiNarrowType" || e.typeName.escapedText === "PublicApiRelaxType") ? e.typeArguments[1] : e;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function Sr(e) {
|
|
1997
1997
|
return e.expression.escapedText === "PublicApiNarrowType" || e.expression.escapedText === "PublicApiRelaxType" ? e.typeArguments[1] : e;
|
|
1998
1998
|
}
|
|
1999
|
-
const pn = { text: "unknown", references: void 0, values: void 0, source: void 0 },
|
|
1999
|
+
const pn = { text: "unknown", references: void 0, values: void 0, source: void 0 }, hr = {
|
|
2000
2000
|
text: "Promise<unknown>",
|
|
2001
2001
|
references: void 0,
|
|
2002
2002
|
values: void 0,
|
|
2003
2003
|
source: void 0
|
|
2004
|
-
},
|
|
2004
|
+
}, Cr = {
|
|
2005
2005
|
text: "Record<string, unknown> | undefined",
|
|
2006
2006
|
references: [
|
|
2007
2007
|
{
|
|
@@ -2016,11 +2016,11 @@ const pn = { text: "unknown", references: void 0, values: void 0, source: void 0
|
|
|
2016
2016
|
values: void 0,
|
|
2017
2017
|
source: void 0
|
|
2018
2018
|
};
|
|
2019
|
-
function
|
|
2019
|
+
function Tr(e, t) {
|
|
2020
2020
|
if (t.isInLuminaMinimalExtraction)
|
|
2021
2021
|
return;
|
|
2022
|
-
const n =
|
|
2023
|
-
[J]:
|
|
2022
|
+
const n = lo(e.name), i = {
|
|
2023
|
+
[J]: Er,
|
|
2024
2024
|
kind: "method",
|
|
2025
2025
|
name: "componentOnReady",
|
|
2026
2026
|
static: void 0,
|
|
@@ -2040,11 +2040,11 @@ console.log("${e.tagName} is ready to go!");
|
|
|
2040
2040
|
],
|
|
2041
2041
|
typeParameters: void 0,
|
|
2042
2042
|
parameters: void 0,
|
|
2043
|
-
return:
|
|
2043
|
+
return: br,
|
|
2044
2044
|
// Must include .inheritedFrom for this member so that it is excluded from
|
|
2045
2045
|
// .d.ts printing (TypeScript inherits it from PublicLitElement) and from
|
|
2046
2046
|
// the docs search index.
|
|
2047
|
-
inheritedFrom:
|
|
2047
|
+
inheritedFrom: Pr,
|
|
2048
2048
|
signature: "(): Promise<this>",
|
|
2049
2049
|
privacy: void 0,
|
|
2050
2050
|
source: void 0
|
|
@@ -2071,7 +2071,7 @@ console.log("${e.tagName} is ready to go!");
|
|
|
2071
2071
|
}
|
|
2072
2072
|
o.length > 0 && (e.demos = o);
|
|
2073
2073
|
}
|
|
2074
|
-
const
|
|
2074
|
+
const Er = Mt(), br = {
|
|
2075
2075
|
summary: void 0,
|
|
2076
2076
|
description: void 0,
|
|
2077
2077
|
type: {
|
|
@@ -2089,13 +2089,13 @@ const Tr = Pt(), Er = {
|
|
|
2089
2089
|
values: void 0,
|
|
2090
2090
|
source: void 0
|
|
2091
2091
|
}
|
|
2092
|
-
},
|
|
2092
|
+
}, Pr = {
|
|
2093
2093
|
name: "this",
|
|
2094
2094
|
module: void 0,
|
|
2095
2095
|
package: void 0,
|
|
2096
2096
|
viewUrl: void 0
|
|
2097
|
-
},
|
|
2098
|
-
function
|
|
2097
|
+
}, Mr = be, xr = be, Ir = be, Dr = be, Rr = be, kr = be, Lr = be, mn = be;
|
|
2098
|
+
function be(e, t, n, i, o) {
|
|
2099
2099
|
if (i.docsTags === void 0 || n === void 0)
|
|
2100
2100
|
return;
|
|
2101
2101
|
const r = i.docsTags.indexOf(H.copyDoc);
|
|
@@ -2124,7 +2124,7 @@ function si(e, t, n) {
|
|
|
2124
2124
|
}
|
|
2125
2125
|
});
|
|
2126
2126
|
}
|
|
2127
|
-
const
|
|
2127
|
+
const Ar = tt, Ft = tt, Gr = tt, Mi = tt, xi = tt;
|
|
2128
2128
|
function tt(e, t, n, i) {
|
|
2129
2129
|
if (t === void 0) {
|
|
2130
2130
|
i.emitError("Computed function/method names are not yet supported.", {
|
|
@@ -2133,7 +2133,7 @@ function tt(e, t, n, i) {
|
|
|
2133
2133
|
});
|
|
2134
2134
|
return;
|
|
2135
2135
|
}
|
|
2136
|
-
const o = n ?? e, r = n !== void 0 && !l.isVariableStatement(n), a = l.isMethodDeclaration(e), s = l.isMethodSignature(e), c = a || s || r, p = n !== void 0 && l.isVariableStatement(n), m = l.isFunctionDeclaration(e) || p, u = !r && !p && l.isFunctionTypeNode(e) || l.isCallSignatureDeclaration(e), f = l.isConstructorDeclaration(e), y = f || l.isConstructSignatureDeclaration(e) || l.isConstructorTypeNode(e),
|
|
2136
|
+
const o = n ?? e, r = n !== void 0 && !l.isVariableStatement(n), a = l.isMethodDeclaration(e), s = l.isMethodSignature(e), c = a || s || r, p = n !== void 0 && l.isVariableStatement(n), m = l.isFunctionDeclaration(e) || p, u = !r && !p && l.isFunctionTypeNode(e) || l.isCallSignatureDeclaration(e), f = l.isConstructorDeclaration(e), y = f || l.isConstructSignatureDeclaration(e) || l.isConstructorTypeNode(e), v = i.isInLuminaMinimalExtraction || i.jsDoc === Ue, S = Mt();
|
|
2137
2137
|
let T, h, E = !1, M = !1;
|
|
2138
2138
|
if (!m && o.modifiers !== void 0)
|
|
2139
2139
|
for (let I = 0; I < o.modifiers.length; ++I)
|
|
@@ -2152,7 +2152,7 @@ function tt(e, t, n, i) {
|
|
|
2152
2152
|
break;
|
|
2153
2153
|
}
|
|
2154
2154
|
const b = {
|
|
2155
|
-
[J]:
|
|
2155
|
+
[J]: S,
|
|
2156
2156
|
kind: c ? "method" : m ? "function" : u ? "call-signature" : y ? "constructor" : void 0,
|
|
2157
2157
|
name: y || u ? void 0 : t,
|
|
2158
2158
|
static: T,
|
|
@@ -2160,13 +2160,13 @@ function tt(e, t, n, i) {
|
|
|
2160
2160
|
summary: void 0,
|
|
2161
2161
|
description: void 0,
|
|
2162
2162
|
docsTags: void 0,
|
|
2163
|
-
typeParameters:
|
|
2163
|
+
typeParameters: Dt(e.typeParameters, !1, i),
|
|
2164
2164
|
parameters: [],
|
|
2165
2165
|
return: f ? void 0 : {
|
|
2166
2166
|
summary: void 0,
|
|
2167
2167
|
description: void 0,
|
|
2168
|
-
type:
|
|
2169
|
-
e.type ??
|
|
2168
|
+
type: v ? M ? hr : pn : ee(
|
|
2169
|
+
e.type ?? ht(e, i) ?? le(
|
|
2170
2170
|
{ file: i.file, node: e },
|
|
2171
2171
|
"@public function must have a return type annotation",
|
|
2172
2172
|
i
|
|
@@ -2178,22 +2178,22 @@ function tt(e, t, n, i) {
|
|
|
2178
2178
|
signature: void 0,
|
|
2179
2179
|
privacy: h,
|
|
2180
2180
|
source: void 0
|
|
2181
|
-
},
|
|
2182
|
-
let P = L.length, C = !1,
|
|
2183
|
-
for (let I = 0; I <
|
|
2184
|
-
const x =
|
|
2181
|
+
}, g = b, L = ho(b, i.jsDoc), D = v ? [] : e.parameters;
|
|
2182
|
+
let P = L.length, C = !1, N = 0;
|
|
2183
|
+
for (let I = 0; I < D.length; ++I) {
|
|
2184
|
+
const x = D[I], O = l.isIdentifier(x.name) ? x.name.escapedText : void 0;
|
|
2185
2185
|
if (O === "this") {
|
|
2186
|
-
|
|
2186
|
+
N -= 1;
|
|
2187
2187
|
continue;
|
|
2188
2188
|
}
|
|
2189
|
-
const W = f && O !== void 0 && x.modifiers !== void 0 && x.modifiers.length > 0 ?
|
|
2189
|
+
const W = f && O !== void 0 && x.modifiers !== void 0 && x.modifiers.length > 0 ? ve(x, !0, i) : void 0;
|
|
2190
2190
|
if (W !== void 0) {
|
|
2191
|
-
|
|
2192
|
-
const ne =
|
|
2191
|
+
N -= 1, P += 1, i.jsDoc = W;
|
|
2192
|
+
const ne = yn(x, O, !1, i);
|
|
2193
2193
|
if (ne === void 0)
|
|
2194
2194
|
continue;
|
|
2195
2195
|
i.apiObject.members.push(ne);
|
|
2196
|
-
const
|
|
2196
|
+
const Pe = {
|
|
2197
2197
|
name: O,
|
|
2198
2198
|
deprecated: void 0,
|
|
2199
2199
|
summary: void 0,
|
|
@@ -2204,10 +2204,10 @@ function tt(e, t, n, i) {
|
|
|
2204
2204
|
type: ne.type,
|
|
2205
2205
|
default: ne.default
|
|
2206
2206
|
};
|
|
2207
|
-
|
|
2207
|
+
Pe.optional = Ii(x, Pe), b.parameters.push(Pe);
|
|
2208
2208
|
continue;
|
|
2209
2209
|
}
|
|
2210
|
-
let $ = L[I +
|
|
2210
|
+
let $ = L[I + N]?.text, V, U;
|
|
2211
2211
|
if (!i.config.strict && ($ === void 0 || O === void 0) && ($ = O ?? `parameter${I}`), $ === void 0) {
|
|
2212
2212
|
i.emitError(
|
|
2213
2213
|
`Expected @param tag for every parameter on a public function. If you need to include a non-public parameter on a public function, see https://webgis.esri.com/references/api-extractor/tags-reference#param)${y ? " and https://webgis.esri.com/references/api-extractor/api-node-kinds#constructor" : ""}`,
|
|
@@ -2256,25 +2256,25 @@ function tt(e, t, n, i) {
|
|
|
2256
2256
|
else {
|
|
2257
2257
|
let I = !0;
|
|
2258
2258
|
for (let x = b.parameters.length - 1; x >= 0; x--) {
|
|
2259
|
-
const
|
|
2260
|
-
I &&=
|
|
2259
|
+
const k = b.parameters[x];
|
|
2260
|
+
I &&= k.optional === !0 || k.rest === !0 || k.default !== void 0, !I && k.optional && (k.optional = void 0, k.type.text.endsWith(" | undefined") || (k.type.text += " | undefined"));
|
|
2261
2261
|
}
|
|
2262
2262
|
}
|
|
2263
|
-
a && i.componentTagName !== void 0 && (
|
|
2263
|
+
a && i.componentTagName !== void 0 && (g.signature = Hn(g), M && !Kn(g) && i.emitError("Public method marked as async must have a Promise<SomeType> return type annotation.", {
|
|
2264
2264
|
file: i.file,
|
|
2265
2265
|
node: e
|
|
2266
2266
|
})), i.functionLikeTypeParameters = void 0;
|
|
2267
|
-
const F = m ?
|
|
2267
|
+
const F = m ? xt(o) : 0, w = m && i.exportDefaultName === t, B = F === 2 || w;
|
|
2268
2268
|
return m && (B ? si(b, !0, i) : F === 0 && i.config.strict && i.emitError("Expected @public function to be exported using named or default export.", {
|
|
2269
2269
|
file: i.file,
|
|
2270
2270
|
node: e
|
|
2271
|
-
})), i.produceDts && (c || y || u ? (E && (
|
|
2271
|
+
})), i.produceDts && (c || y || u ? (E && (S.isAbstract = !0), S.hasQuestionToken = o.questionToken !== void 0 ? !0 : void 0) : S.isDefaultExported = B || void 0), c ? xr(
|
|
2272
2272
|
i,
|
|
2273
2273
|
n ?? e,
|
|
2274
2274
|
i.config.documentation.copyDocDefinitions.methods,
|
|
2275
2275
|
b,
|
|
2276
2276
|
i.apiObject
|
|
2277
|
-
) : m &&
|
|
2277
|
+
) : m && Dr(
|
|
2278
2278
|
i,
|
|
2279
2279
|
n ?? e,
|
|
2280
2280
|
i.config.documentation.copyDocDefinitions.functions,
|
|
@@ -2287,32 +2287,32 @@ const Ii = (e, t) => (
|
|
|
2287
2287
|
e.questionToken !== void 0 || // If had default value internally, but not publicly, add ?
|
|
2288
2288
|
e.initializer !== void 0 && t.default === void 0 ? !0 : void 0
|
|
2289
2289
|
);
|
|
2290
|
-
function
|
|
2290
|
+
function Fr(e, t, n) {
|
|
2291
2291
|
return Xt(), _e(e, t), ai && t !== void 0 && n !== void 0 && (Xt(), li(t.getTypeAtLocation(n))), un();
|
|
2292
2292
|
}
|
|
2293
|
-
function
|
|
2293
|
+
function Or(e) {
|
|
2294
2294
|
return Xt(), li(e), un();
|
|
2295
2295
|
}
|
|
2296
|
-
let Ye = !1,
|
|
2297
|
-
const
|
|
2296
|
+
let Ye = !1, Se = !1, Ce = !1, Ze = !1, Te = !1, ai = !1;
|
|
2297
|
+
const Ee = [], ue = [];
|
|
2298
2298
|
function Xt() {
|
|
2299
|
-
Ye = !1,
|
|
2299
|
+
Ye = !1, Se = !1, Ce = !1, Ze = !1, Te = !1, ai = !1, Ee.length = 0, ue.length = 0;
|
|
2300
2300
|
}
|
|
2301
2301
|
function un() {
|
|
2302
|
-
if (!
|
|
2302
|
+
if (!Ce && !Ze && !Te && !Ye)
|
|
2303
2303
|
return;
|
|
2304
2304
|
const e = [];
|
|
2305
|
-
if (
|
|
2306
|
-
for (let t = 0; t <
|
|
2307
|
-
e.push({ type: "string", value:
|
|
2308
|
-
else
|
|
2305
|
+
if (Ee.length > 0)
|
|
2306
|
+
for (let t = 0; t < Ee.length; ++t)
|
|
2307
|
+
e.push({ type: "string", value: Ee[t] });
|
|
2308
|
+
else Ce && e.push(Nr);
|
|
2309
2309
|
if (ue.length > 0)
|
|
2310
2310
|
for (let t = 0; t < ue.length; ++t)
|
|
2311
2311
|
e.push({ type: "number", value: ue[t] });
|
|
2312
|
-
else
|
|
2313
|
-
return Ze && e.push(
|
|
2312
|
+
else Te && e.push(wr);
|
|
2313
|
+
return Ze && e.push($r), Ye ? e.push(Ur) : Se && e.push(Wr), e;
|
|
2314
2314
|
}
|
|
2315
|
-
const
|
|
2315
|
+
const Nr = { type: "string", value: void 0 }, wr = { type: "number", value: void 0 }, $r = { type: "boolean", value: void 0 }, Ur = { type: "any", value: void 0 }, Wr = { type: "object", value: void 0 };
|
|
2316
2316
|
function _e(e, t) {
|
|
2317
2317
|
switch (e.kind) {
|
|
2318
2318
|
case l.SyntaxKind.BooleanKeyword:
|
|
@@ -2321,11 +2321,11 @@ function _e(e, t) {
|
|
|
2321
2321
|
Ze = !0;
|
|
2322
2322
|
return;
|
|
2323
2323
|
case l.SyntaxKind.NumberKeyword:
|
|
2324
|
-
|
|
2324
|
+
Te = !0;
|
|
2325
2325
|
return;
|
|
2326
2326
|
case l.SyntaxKind.StringKeyword:
|
|
2327
2327
|
case l.SyntaxKind.TemplateLiteralType:
|
|
2328
|
-
|
|
2328
|
+
Ce = !0;
|
|
2329
2329
|
return;
|
|
2330
2330
|
case l.SyntaxKind.AnyKeyword:
|
|
2331
2331
|
Ye = !0;
|
|
@@ -2335,24 +2335,24 @@ function _e(e, t) {
|
|
|
2335
2335
|
return;
|
|
2336
2336
|
case l.SyntaxKind.StringLiteral:
|
|
2337
2337
|
case l.SyntaxKind.NoSubstitutionTemplateLiteral:
|
|
2338
|
-
|
|
2338
|
+
Ce = !0, Ee.push(e.text);
|
|
2339
2339
|
return;
|
|
2340
2340
|
case l.SyntaxKind.NumericLiteral:
|
|
2341
|
-
|
|
2341
|
+
Te = !0, ue.push(e.text);
|
|
2342
2342
|
return;
|
|
2343
2343
|
case l.SyntaxKind.PrefixUnaryExpression:
|
|
2344
2344
|
const n = e.operand;
|
|
2345
|
-
n.kind === l.SyntaxKind.NumericLiteral ? (ue.push(`-${n.text}`),
|
|
2345
|
+
n.kind === l.SyntaxKind.NumericLiteral ? (ue.push(`-${n.text}`), Te = !0) : Se = !0;
|
|
2346
2346
|
return;
|
|
2347
2347
|
case l.SyntaxKind.VoidKeyword:
|
|
2348
2348
|
case l.SyntaxKind.UndefinedKeyword:
|
|
2349
2349
|
case l.SyntaxKind.NullKeyword:
|
|
2350
2350
|
return;
|
|
2351
2351
|
case l.SyntaxKind.UnionType:
|
|
2352
|
-
const i = e.types, o = Math.min(i.length,
|
|
2352
|
+
const i = e.types, o = Math.min(i.length, Et);
|
|
2353
2353
|
for (let a = 0; a < o; ++a)
|
|
2354
2354
|
_e(i[a], t);
|
|
2355
|
-
i.length >
|
|
2355
|
+
i.length > Et && (Ee.length = 0, ue.length = 0);
|
|
2356
2356
|
return;
|
|
2357
2357
|
case l.SyntaxKind.ParenthesizedType:
|
|
2358
2358
|
_e(e.type, t);
|
|
@@ -2361,7 +2361,7 @@ function _e(e, t) {
|
|
|
2361
2361
|
case l.SyntaxKind.IndexedAccessType:
|
|
2362
2362
|
case l.SyntaxKind.ImportType:
|
|
2363
2363
|
case l.SyntaxKind.TypeReference:
|
|
2364
|
-
t === void 0 ?
|
|
2364
|
+
t === void 0 ? Se = !0 : li(
|
|
2365
2365
|
t.getTypeFromTypeNode(
|
|
2366
2366
|
e
|
|
2367
2367
|
)
|
|
@@ -2369,7 +2369,7 @@ function _e(e, t) {
|
|
|
2369
2369
|
return;
|
|
2370
2370
|
case l.SyntaxKind.TypeOperator:
|
|
2371
2371
|
const r = e;
|
|
2372
|
-
r.operator === l.SyntaxKind.KeyOfKeyword ?
|
|
2372
|
+
r.operator === l.SyntaxKind.KeyOfKeyword ? Ce = !0 : r.operator === l.SyntaxKind.ReadonlyKeyword ? _e(r.type, t) : Se = !0;
|
|
2373
2373
|
return;
|
|
2374
2374
|
/*case ts.SyntaxKind.UnknownKeyword:
|
|
2375
2375
|
case ts.SyntaxKind.FunctionType:
|
|
@@ -2382,34 +2382,34 @@ function _e(e, t) {
|
|
|
2382
2382
|
case ts.SyntaxKind.ObjectKeyword:
|
|
2383
2383
|
case ts.SyntaxKind.SymbolKeyword:*/
|
|
2384
2384
|
default:
|
|
2385
|
-
|
|
2385
|
+
Se = !0;
|
|
2386
2386
|
return;
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
|
-
const
|
|
2389
|
+
const Et = 40;
|
|
2390
2390
|
function li(e) {
|
|
2391
2391
|
if (e.isUnion()) {
|
|
2392
|
-
const t = Math.min(e.types.length,
|
|
2392
|
+
const t = Math.min(e.types.length, Et);
|
|
2393
2393
|
for (let n = 0; n < t; ++n)
|
|
2394
|
-
|
|
2395
|
-
e.types.length >
|
|
2394
|
+
Di(e.types[n]);
|
|
2395
|
+
e.types.length > Et && (Ee.length = 0, ue.length = 0);
|
|
2396
2396
|
} else
|
|
2397
|
-
|
|
2397
|
+
Di(e);
|
|
2398
2398
|
}
|
|
2399
|
-
function
|
|
2399
|
+
function Di(e) {
|
|
2400
2400
|
const t = e.flags;
|
|
2401
2401
|
let n = !1;
|
|
2402
|
-
if (t & l.TypeFlags.StringLiteral ? (n = !0,
|
|
2402
|
+
if (t & l.TypeFlags.StringLiteral ? (n = !0, Ce = !0, Ee.push(e.value)) : t & l.TypeFlags.StringLike && (n = !0, Ce = !0), t & l.TypeFlags.NumberLiteral ? (n = !0, Te = !0, ue.push(e.value.toString())) : t & l.TypeFlags.NumberLike && (n = !0, Te = !0), t & l.TypeFlags.BooleanLike && (n = !0, Ze = !0), t & l.TypeFlags.Any) {
|
|
2403
2403
|
if (e.intrinsicName === "error") {
|
|
2404
|
-
|
|
2404
|
+
Se = !0, ai = !0;
|
|
2405
2405
|
return;
|
|
2406
2406
|
}
|
|
2407
2407
|
Ye = !0, n = !0;
|
|
2408
2408
|
}
|
|
2409
|
-
t &
|
|
2409
|
+
t & Br || n || (Se = !0);
|
|
2410
2410
|
}
|
|
2411
|
-
const
|
|
2412
|
-
function
|
|
2411
|
+
const Br = l.TypeFlags.Null | l.TypeFlags.VoidLike, Vr = (e) => e.map(_r).join(" | "), _r = (e) => e.type === "string" && e.value !== void 0 ? `"${e.value}"` : e.value ?? e.type;
|
|
2412
|
+
function Hr(e, t, n) {
|
|
2413
2413
|
let i;
|
|
2414
2414
|
const o = e.initializer;
|
|
2415
2415
|
let r;
|
|
@@ -2421,7 +2421,7 @@ function _r(e, t, n) {
|
|
|
2421
2421
|
const s = o.expression;
|
|
2422
2422
|
if (l.isIdentifier(s)) {
|
|
2423
2423
|
const c = s.escapedText;
|
|
2424
|
-
c === mt ? (i = o.typeArguments?.[0] ?? ct, r = o.arguments[0]) : c === "reEmitEvent" ? i = o.typeArguments?.[0] ?? ct : c.startsWith("use") && (i =
|
|
2424
|
+
c === mt ? (i = o.typeArguments?.[0] ?? ct, r = o.arguments[0]) : c === "reEmitEvent" ? i = o.typeArguments?.[0] ?? ct : c.startsWith("use") && (i = Ri(e, n));
|
|
2425
2425
|
} else if (l.isCallExpression(s) && l.isIdentifier(s.expression)) {
|
|
2426
2426
|
const c = s.expression.escapedText;
|
|
2427
2427
|
if (c === "usePropertyChange") {
|
|
@@ -2440,7 +2440,7 @@ function _r(e, t, n) {
|
|
|
2440
2440
|
p.length === 1 ? p[0] : l.factory.createUnionTypeNode(p)
|
|
2441
2441
|
)
|
|
2442
2442
|
]);
|
|
2443
|
-
} else c.startsWith("use") && (i =
|
|
2443
|
+
} else c.startsWith("use") && (i = Ri(e, n));
|
|
2444
2444
|
}
|
|
2445
2445
|
}
|
|
2446
2446
|
if (i === void 0)
|
|
@@ -2458,7 +2458,7 @@ function _r(e, t, n) {
|
|
|
2458
2458
|
cancelable: void 0,
|
|
2459
2459
|
composed: void 0
|
|
2460
2460
|
};
|
|
2461
|
-
return
|
|
2461
|
+
return Eo(a, n.jsDoc), r !== void 0 && Kr(e, r, a, n), Ir(
|
|
2462
2462
|
n,
|
|
2463
2463
|
e,
|
|
2464
2464
|
n.config.documentation.copyDocDefinitions.events,
|
|
@@ -2467,7 +2467,7 @@ function _r(e, t, n) {
|
|
|
2467
2467
|
), a;
|
|
2468
2468
|
}
|
|
2469
2469
|
const mt = "createEvent";
|
|
2470
|
-
function
|
|
2470
|
+
function Kr(e, t, n, i) {
|
|
2471
2471
|
if (t !== void 0) {
|
|
2472
2472
|
if (!l.isObjectLiteralExpression(t)) {
|
|
2473
2473
|
i.emitError(`Expected object literal expression as first argument of ${mt}().`, {
|
|
@@ -2490,7 +2490,7 @@ function Hr(e, t, n, i) {
|
|
|
2490
2490
|
!l.isPropertyAssignment(o) || !l.isIdentifier(o.name) || (o.name.text === "cancelable" && !pe(o.initializer, i) && (n.cancelable = !1), o.name.text === "bubbles" && !pe(o.initializer, i) && (n.bubbles = !1), o.name.text === "composed" && !pe(o.initializer, i) && (n.composed = !1));
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2493
|
+
function Ri(e, t) {
|
|
2494
2494
|
const n = t.program?.getTypeChecker?.();
|
|
2495
2495
|
if (n === void 0)
|
|
2496
2496
|
return;
|
|
@@ -2506,7 +2506,7 @@ function ki(e, t) {
|
|
|
2506
2506
|
function ci(e) {
|
|
2507
2507
|
return e === "@slots" || e === "@cssParts" || e === "@cssStates";
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function zr(e) {
|
|
2510
2510
|
switch (e) {
|
|
2511
2511
|
case "@slots":
|
|
2512
2512
|
return "slots";
|
|
@@ -2516,7 +2516,7 @@ function Kr(e) {
|
|
|
2516
2516
|
return "cssStates";
|
|
2517
2517
|
}
|
|
2518
2518
|
}
|
|
2519
|
-
function
|
|
2519
|
+
function jr(e, t) {
|
|
2520
2520
|
switch (t) {
|
|
2521
2521
|
case "@slots":
|
|
2522
2522
|
return `${e}Slots`;
|
|
@@ -2526,19 +2526,19 @@ function zr(e, t) {
|
|
|
2526
2526
|
return `${e}CssStates`;
|
|
2527
2527
|
}
|
|
2528
2528
|
}
|
|
2529
|
-
let
|
|
2530
|
-
function
|
|
2531
|
-
return
|
|
2529
|
+
let ki;
|
|
2530
|
+
function Jr(e) {
|
|
2531
|
+
return ki ??= l.createPrinter(), ki.printNode(l.EmitHint.Unspecified, e, void 0);
|
|
2532
2532
|
}
|
|
2533
|
-
function
|
|
2534
|
-
return e.pos !== -1 && e.end !== -1 && t !== void 0 ? e.getText(t) :
|
|
2533
|
+
function qr(e, t) {
|
|
2534
|
+
return e.pos !== -1 && e.end !== -1 && t !== void 0 ? e.getText(t) : Jr(e);
|
|
2535
2535
|
}
|
|
2536
2536
|
let Li;
|
|
2537
|
-
const Qt = ti.name,
|
|
2537
|
+
const Qt = ti.name, bt = {
|
|
2538
2538
|
getCurrentDirectory: process.cwd,
|
|
2539
2539
|
getCanonicalFileName: (e) => e,
|
|
2540
2540
|
getNewLine: () => l.sys.newLine
|
|
2541
|
-
},
|
|
2541
|
+
}, Xr = function(e, { file: t, node: n, scope: i, start: o, length: r }) {
|
|
2542
2542
|
this.errorCount += 1, process.exitCode = 1, o ??= n === void 0 || n.pos === -1 ? -1 : n.getStart(t, !1);
|
|
2543
2543
|
const a = n?.end ?? -1;
|
|
2544
2544
|
r ??= a === -1 ? -1 : Math.max(1, a - o);
|
|
@@ -2548,21 +2548,21 @@ const Qt = ti.name, Et = {
|
|
|
2548
2548
|
file: c ? void 0 : t,
|
|
2549
2549
|
start: s ? o : 0,
|
|
2550
2550
|
length: s ? r : 0,
|
|
2551
|
-
messageText: (c ? `${
|
|
2551
|
+
messageText: (c ? `${yt("cyan", i, { stream: process.stderr })}: ` : "") + e + (s || n === void 0 ? "" : `
|
|
2552
2552
|
|
|
2553
|
-
${
|
|
2554
|
-
}, d = l.formatDiagnosticsWithColorAndContext([p],
|
|
2555
|
-
Li ??= process.env.CI !== void 0 ||
|
|
2556
|
-
const m = Li ? d : d.replaceAll(
|
|
2553
|
+
${qr(n, t)}`)
|
|
2554
|
+
}, d = l.formatDiagnosticsWithColorAndContext([p], bt);
|
|
2555
|
+
Li ??= process.env.CI !== void 0 || yt("red", "", { stream: process.stderr }) !== "";
|
|
2556
|
+
const m = Li ? d : d.replaceAll(Qr, ""), u = s ? m : m.replace(Ai.toString(), Qt);
|
|
2557
2557
|
this.config.context.logger.error(u);
|
|
2558
|
-
}, Ai = 1490,
|
|
2559
|
-
function
|
|
2558
|
+
}, Ai = 1490, Qr = /\x1B\[[0-9;]*m/gu, xe = yt("cyan", `[${Qt}] `), fn = yt("cyan", "[typescript] ");
|
|
2559
|
+
function yn(e, t, n, i) {
|
|
2560
2560
|
if (t === void 0) {
|
|
2561
2561
|
i.emitError("Computed property names are not yet supported", { file: i.file, node: e });
|
|
2562
2562
|
return;
|
|
2563
2563
|
}
|
|
2564
|
-
const o = e, r = je(o.modifiers, "property") ?? (i.pairedSetter === void 0 ? void 0 : je(i.pairedSetter.modifiers, "property")), a = r?.arguments[0], s = a !== void 0 && l.isObjectLiteralExpression(a) ? a.properties : void 0, c = l.isPropertyDeclaration(e) || l.isPropertySignature(e), p = l.isGetAccessor(e), d =
|
|
2565
|
-
let u = !1, f = !1, y,
|
|
2564
|
+
const o = e, r = je(o.modifiers, "property") ?? (i.pairedSetter === void 0 ? void 0 : je(i.pairedSetter.modifiers, "property")), a = r?.arguments[0], s = a !== void 0 && l.isObjectLiteralExpression(a) ? a.properties : void 0, c = l.isPropertyDeclaration(e) || l.isPropertySignature(e), p = l.isGetAccessor(e), d = Nn(), m = i.isInLuminaMinimalExtraction || i.jsDoc === Ue;
|
|
2565
|
+
let u = !1, f = !1, y, v = !1, S, T, h;
|
|
2566
2566
|
if (c && e.modifiers !== void 0)
|
|
2567
2567
|
for (let I = 0; I < e.modifiers.length; ++I)
|
|
2568
2568
|
switch (e.modifiers[I].kind) {
|
|
@@ -2576,10 +2576,10 @@ function fn(e, t, n, i) {
|
|
|
2576
2576
|
y = "protected";
|
|
2577
2577
|
continue;
|
|
2578
2578
|
case l.SyntaxKind.StaticKeyword:
|
|
2579
|
-
|
|
2579
|
+
S = !0;
|
|
2580
2580
|
continue;
|
|
2581
2581
|
case l.SyntaxKind.AbstractKeyword:
|
|
2582
|
-
|
|
2582
|
+
v = !0;
|
|
2583
2583
|
continue;
|
|
2584
2584
|
}
|
|
2585
2585
|
n ||= u || p && i.pairedSetter === void 0;
|
|
@@ -2593,8 +2593,8 @@ function fn(e, t, n, i) {
|
|
|
2593
2593
|
M ||= l.isSpreadAssignment(x);
|
|
2594
2594
|
continue;
|
|
2595
2595
|
}
|
|
2596
|
-
const
|
|
2597
|
-
|
|
2596
|
+
const k = x.name.escapedText;
|
|
2597
|
+
k === "readOnly" && pe(x.initializer, i) ? n = !0 : k === "constructOnly" && pe(x.initializer, i) ? d.isConstructorOnly = !0 : k === "type" ? d.hasAutoCasting = !0 : k === "types" && Yr(
|
|
2598
2598
|
d,
|
|
2599
2599
|
x.initializer?.kind === l.SyntaxKind.ObjectLiteralExpression ? x.initializer : void 0
|
|
2600
2600
|
);
|
|
@@ -2606,12 +2606,12 @@ function fn(e, t, n, i) {
|
|
|
2606
2606
|
if (r === void 0) {
|
|
2607
2607
|
if (m)
|
|
2608
2608
|
return;
|
|
2609
|
-
if (!(c && !
|
|
2610
|
-
const
|
|
2611
|
-
if (
|
|
2612
|
-
I.events ??= [], I.events.push(
|
|
2609
|
+
if (!(c && !S && ci(t))) {
|
|
2610
|
+
const k = c && !S ? Hr(e, t, i) : void 0;
|
|
2611
|
+
if (k !== void 0) {
|
|
2612
|
+
I.events ??= [], I.events.push(k);
|
|
2613
2613
|
return;
|
|
2614
|
-
} else !i.config.strict &&
|
|
2614
|
+
} else !i.config.strict && gn(e) ? (y = "protected", T = !1, i.jsDoc = {
|
|
2615
2615
|
...i.jsDoc,
|
|
2616
2616
|
docsTags: [...i.jsDoc.docsTags, H.internal]
|
|
2617
2617
|
}) : r === void 0 && i.emitError(
|
|
@@ -2624,17 +2624,17 @@ function fn(e, t, n, i) {
|
|
|
2624
2624
|
}
|
|
2625
2625
|
} else if (s !== void 0)
|
|
2626
2626
|
for (let x = 0; x < s.length; ++x) {
|
|
2627
|
-
const
|
|
2628
|
-
if (!(!l.isPropertyAssignment(
|
|
2629
|
-
switch (
|
|
2627
|
+
const k = s[x];
|
|
2628
|
+
if (!(!l.isPropertyAssignment(k) || !l.isIdentifier(k.name)))
|
|
2629
|
+
switch (k.name.escapedText) {
|
|
2630
2630
|
case "attribute":
|
|
2631
|
-
l.isStringLiteral(
|
|
2631
|
+
l.isStringLiteral(k.initializer) ? T = k.initializer.text : T = pe(k.initializer, i);
|
|
2632
2632
|
continue;
|
|
2633
2633
|
case "reflect":
|
|
2634
|
-
pe(
|
|
2634
|
+
pe(k.initializer, i) && (T ??= !0, h = !0);
|
|
2635
2635
|
continue;
|
|
2636
2636
|
case "readOnly":
|
|
2637
|
-
pe(
|
|
2637
|
+
pe(k.initializer, i) && (n = !0);
|
|
2638
2638
|
continue;
|
|
2639
2639
|
case "type":
|
|
2640
2640
|
case "converter":
|
|
@@ -2643,18 +2643,18 @@ function fn(e, t, n, i) {
|
|
|
2643
2643
|
}
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
|
-
const b = i.pairedSetter ?? (l.isSetAccessor(e) ? e : void 0),
|
|
2646
|
+
const b = i.pairedSetter ?? (l.isSetAccessor(e) ? e : void 0), g = n ? void 0 : b;
|
|
2647
2647
|
f ||= r !== void 0 || p || b !== void 0, d.isAccessor = f || void 0;
|
|
2648
|
-
const L =
|
|
2649
|
-
let P = L ??
|
|
2648
|
+
const L = g?.parameters[0].type, D = o.type;
|
|
2649
|
+
let P = L ?? D;
|
|
2650
2650
|
if (P === void 0) {
|
|
2651
|
-
const I =
|
|
2651
|
+
const I = g?.parameters[0].initializer ?? e.initializer;
|
|
2652
2652
|
if (c && I !== void 0 && l.isArrowFunction(I)) {
|
|
2653
2653
|
if (n)
|
|
2654
2654
|
return xi(I, t, e, i);
|
|
2655
2655
|
Gi(e, i);
|
|
2656
2656
|
}
|
|
2657
|
-
P = I === void 0 ?
|
|
2657
|
+
P = I === void 0 ? sr(e, i) ?? le(
|
|
2658
2658
|
{ file: i.file, node: e },
|
|
2659
2659
|
"Public property must have a type annotation or a default value",
|
|
2660
2660
|
i
|
|
@@ -2668,7 +2668,7 @@ function fn(e, t, n, i) {
|
|
|
2668
2668
|
[J]: d,
|
|
2669
2669
|
kind: "field",
|
|
2670
2670
|
name: t,
|
|
2671
|
-
static:
|
|
2671
|
+
static: S,
|
|
2672
2672
|
deprecated: void 0,
|
|
2673
2673
|
summary: void 0,
|
|
2674
2674
|
description: void 0,
|
|
@@ -2681,22 +2681,27 @@ function fn(e, t, n, i) {
|
|
|
2681
2681
|
inheritedFrom: void 0,
|
|
2682
2682
|
privacy: y,
|
|
2683
2683
|
source: void 0,
|
|
2684
|
-
attribute: !E || T === !1 ? void 0 : typeof T == "string" ? T :
|
|
2684
|
+
attribute: !E || T === !1 ? void 0 : typeof T == "string" ? T : co(t),
|
|
2685
2685
|
reflects: h,
|
|
2686
2686
|
docsOnlyReadonly: void 0
|
|
2687
2687
|
};
|
|
2688
|
-
|
|
2689
|
-
const
|
|
2690
|
-
E && t === "messageOverrides" && (d.dtsTypeOverride = C.type.text, C.type =
|
|
2688
|
+
Co(C, i.jsDoc);
|
|
2689
|
+
const N = C.default;
|
|
2690
|
+
E && t === "messageOverrides" && (d.dtsTypeOverride = C.type.text, C.type = Cr);
|
|
2691
2691
|
const F = E && r !== void 0;
|
|
2692
2692
|
if (F) {
|
|
2693
2693
|
!n && C.readonly === !0 && (C.docsOnlyReadonly = !0);
|
|
2694
2694
|
const I = i.program?.getTypeChecker?.();
|
|
2695
|
-
C.type.values = I !== void 0 && P.pos === -1 && (P.kind === l.SyntaxKind.TypeQuery || P.kind === l.SyntaxKind.IndexedAccessType || P.kind === l.SyntaxKind.ImportType || P.kind === l.SyntaxKind.TypeReference) ?
|
|
2696
|
-
const x = I !== void 0 && l.isPropertyDeclaration(e) && //
|
|
2695
|
+
C.type.values = I !== void 0 && P.pos === -1 && (P.kind === l.SyntaxKind.TypeQuery || P.kind === l.SyntaxKind.IndexedAccessType || P.kind === l.SyntaxKind.ImportType || P.kind === l.SyntaxKind.TypeReference) ? Or(I.getTypeAtLocation(b?.parameters[0] ?? e)) : Fr(P, I, b?.parameters[0] ?? e), (T === void 0 && C.type.values === void 0 && !i.config.context.isLuminaMinimalExtraction || C.readonly && !C.reflects) && (C.attribute = void 0);
|
|
2696
|
+
const x = I !== void 0 && l.isPropertyDeclaration(e) && // Accessor properties commonly have diverging getter/setter types due to
|
|
2697
|
+
// autocasting. Per
|
|
2698
|
+
// https://devtopia.esri.com/WebGIS/webgis-sdk/pull/4443#issuecomment-5414294
|
|
2699
|
+
// we are not re-exposing the autocasting types except for cases where it
|
|
2700
|
+
// is necessary for an attribute to be implicitly created. Such cases are
|
|
2701
|
+
// detected by the lumina/explicit-setter-type ESLint rule.
|
|
2697
2702
|
e.type !== void 0 && e.initializer !== void 0 && l.isPropertyAccessExpression(e.initializer) && l.isPropertyAccessExpression(e.initializer.expression) && e.initializer.expression.expression.kind === l.SyntaxKind.ThisKeyword && l.isIdentifier(e.initializer.expression.name) && l.isIdentifier(e.initializer.name);
|
|
2698
2703
|
if (("initializer" in e && e.initializer !== void 0 && (!C.default || !C.description) || x) && !m) {
|
|
2699
|
-
const
|
|
2704
|
+
const k = e.initializer, O = I?.getSymbolAtLocation(k), q = O !== void 0 && ((O.flags ?? 0) & l.SymbolFlags.Alias) !== 0 ? I?.getAliasedSymbol(O) : O;
|
|
2700
2705
|
let W, $;
|
|
2701
2706
|
const V = q?.getDeclarations();
|
|
2702
2707
|
if (V !== void 0)
|
|
@@ -2719,10 +2724,10 @@ function fn(e, t, n, i) {
|
|
|
2719
2724
|
}
|
|
2720
2725
|
}
|
|
2721
2726
|
}
|
|
2722
|
-
if (
|
|
2727
|
+
if (D !== void 0 && L !== void 0 && !m && // Quick perf check: type is definitely the same if raw type string matches.
|
|
2723
2728
|
// More reliable check follows in processing/index.ts, where printed normalized
|
|
2724
2729
|
// type string is compared.
|
|
2725
|
-
|
|
2730
|
+
D.getText(i.file) !== L.getText(i.file) ? C.getterType = ee(D, i) : C.readonly === !0 && C.name === "type" && P.kind === l.SyntaxKind.LiteralType && P.literal.kind === l.SyntaxKind.StringLiteral && (i.moduleContext.typeName = P.literal.text), (d.hasAutoCasting === !0 || d.isConstructorOnly === !0) && (C.readonly === !0 && d.isConstructorOnly !== !0 ? d.hasAutoCasting = void 0 : C.getterType ??= {
|
|
2726
2731
|
...C.type,
|
|
2727
2732
|
references: C.type.references === void 0 ? void 0 : [...C.type.references]
|
|
2728
2733
|
}), n && P.kind === l.SyntaxKind.LiteralType || (C.default = ft(
|
|
@@ -2730,18 +2735,18 @@ function fn(e, t, n, i) {
|
|
|
2730
2735
|
C.default,
|
|
2731
2736
|
i.file
|
|
2732
2737
|
)), F) {
|
|
2733
|
-
const I =
|
|
2738
|
+
const I = N === void 0 && C.default === "true";
|
|
2734
2739
|
C.type.values?.length === 1 && C.type.values[0].type === "boolean" && (C.default === void 0 ? C.default = "false" : I && C.deprecated === void 0 && (i.loggedBooleanWarning || i.config.context.logger.error(
|
|
2735
|
-
`${
|
|
2740
|
+
`${xe}Boolean properties should default to "false". Found default value "true" in ${i.apiObject.name}.${C.name}. See https://webgis.esri.com/references/lumina/properties#boolean-properties`
|
|
2736
2741
|
), i.loggedBooleanWarning = !0));
|
|
2737
2742
|
}
|
|
2738
|
-
return
|
|
2743
|
+
return Mr(
|
|
2739
2744
|
i,
|
|
2740
2745
|
e,
|
|
2741
2746
|
i.config.documentation.copyDocDefinitions?.properties,
|
|
2742
2747
|
C,
|
|
2743
2748
|
i.apiObject
|
|
2744
|
-
), i.produceDts &&
|
|
2749
|
+
), i.produceDts && v && (d.isAbstract = !0), c && e.questionToken !== void 0 && (C.type.text.endsWith(" | undefined") || (C.type.text = // Don't need to wrap non-accessors in |undefined as we replace |undefined
|
|
2745
2750
|
// with ? during printing
|
|
2746
2751
|
f && (P.kind === l.SyntaxKind.FunctionType || P.kind === l.SyntaxKind.ConstructorType || P.kind === l.SyntaxKind.ConditionalType || P.kind === l.SyntaxKind.InferType) ? `(${C.type.text}) | undefined` : `${C.type.text} | undefined`), C.getterType !== void 0 && !C.getterType.text.endsWith(" | undefined") && (C.getterType.text += " | undefined")), C;
|
|
2747
2752
|
}
|
|
@@ -2763,7 +2768,7 @@ function Gi(e, t) {
|
|
|
2763
2768
|
}
|
|
2764
2769
|
}
|
|
2765
2770
|
}
|
|
2766
|
-
function
|
|
2771
|
+
function Yr(e, t) {
|
|
2767
2772
|
if (e.hasAutoCasting = !0, e.autoCastingRequiresType = !0, t !== void 0)
|
|
2768
2773
|
for (let n = 0; n < t.properties.length; ++n) {
|
|
2769
2774
|
const i = t.properties[n];
|
|
@@ -2773,14 +2778,14 @@ function Qr(e, t) {
|
|
|
2773
2778
|
}
|
|
2774
2779
|
}
|
|
2775
2780
|
}
|
|
2776
|
-
const
|
|
2781
|
+
const gn = (e) => l.isPropertyDeclaration(e) && e.initializer !== void 0 && l.isCallExpression(e.initializer) && l.isIdentifier(e.initializer.expression) && e.initializer.expression.escapedText === "useT9n";
|
|
2777
2782
|
function et(e, t) {
|
|
2778
2783
|
const n = l.isClassDeclaration(e), i = n && sn(e.modifiers, l.SyntaxKind.AbstractKeyword);
|
|
2779
2784
|
let o = e.name.escapedText;
|
|
2780
2785
|
const r = n ? t.componentTagName : void 0, a = !n && an(o, t);
|
|
2781
2786
|
let s = e.heritageClauses === void 0 || a ? void 0 : e.heritageClauses[0]?.token === l.SyntaxKind.ExtendsKeyword ? e.heritageClauses[0] : e.heritageClauses[1]?.token === l.SyntaxKind.ExtendsKeyword ? e.heritageClauses[1] : void 0;
|
|
2782
2787
|
if (t.config.context.supportApplyMixinsSyntax && !n && s?.types.length === 1 && l.isExpressionWithTypeArguments(s.types[0]) && s.types[0].expression.escapedText === "MixinInstances" && s.types[0].typeArguments?.length === 1) {
|
|
2783
|
-
|
|
2788
|
+
es(o, s.types[0].typeArguments[0], t);
|
|
2784
2789
|
return;
|
|
2785
2790
|
}
|
|
2786
2791
|
const c = n && t.mixinName !== void 0 && s !== void 0 && l.isExpressionWithTypeArguments(s.types[0]) && l.isIdentifier(s.types[0].expression) && s.types[0].expression.escapedText === "TypedBase";
|
|
@@ -2807,7 +2812,7 @@ function et(e, t) {
|
|
|
2807
2812
|
description: void 0,
|
|
2808
2813
|
docsTags: void 0,
|
|
2809
2814
|
demos: void 0,
|
|
2810
|
-
typeParameters: c ? void 0 :
|
|
2815
|
+
typeParameters: c ? void 0 : Dt(e.typeParameters, !0, t),
|
|
2811
2816
|
superclass: void 0,
|
|
2812
2817
|
supertypes: void 0,
|
|
2813
2818
|
mixins: void 0,
|
|
@@ -2829,22 +2834,22 @@ function et(e, t) {
|
|
|
2829
2834
|
const y = a ? (
|
|
2830
2835
|
// Members will be added during post-processing
|
|
2831
2836
|
!1
|
|
2832
|
-
) :
|
|
2837
|
+
) : vn(m, e.members, o, t);
|
|
2833
2838
|
c && (t.mixinMixins !== void 0 && (u.mixins = t.mixinMixins), y && t.emitError("Mixin class is not expected to have a @public constructor", { file: t.file, node: e })), s === void 0 ? r !== void 0 && u.superclass === void 0 && t.emitError(
|
|
2834
2839
|
"Lumina web component must extend LitElement class. Found a class that does not extend any class.",
|
|
2835
2840
|
{
|
|
2836
2841
|
file: t.file,
|
|
2837
2842
|
node: e
|
|
2838
2843
|
}
|
|
2839
|
-
) :
|
|
2840
|
-
const
|
|
2844
|
+
) : Zr(s, n, d, e, t), r !== void 0 && Tr(u, t), m.members.length === 0 && (r === void 0 && (m.members = void 0), a && (t.moduleContext.constructorPropertiesInterface = f));
|
|
2845
|
+
const v = t.exportDefaultName === o, S = xt(e), T = v || S === 2;
|
|
2841
2846
|
return (T || r !== void 0) && si(m, T, t), n ? (r === void 0 ? kr(
|
|
2842
2847
|
t,
|
|
2843
2848
|
e,
|
|
2844
2849
|
t.config.documentation.copyDocDefinitions.classes,
|
|
2845
2850
|
u,
|
|
2846
2851
|
t.apiModule
|
|
2847
|
-
) :
|
|
2852
|
+
) : Lr(
|
|
2848
2853
|
t,
|
|
2849
2854
|
e,
|
|
2850
2855
|
t.config.documentation.copyDocDefinitions.customElements,
|
|
@@ -2859,12 +2864,12 @@ function et(e, t) {
|
|
|
2859
2864
|
t.config.documentation.copyDocDefinitions.interfaces,
|
|
2860
2865
|
f,
|
|
2861
2866
|
t.apiModule
|
|
2862
|
-
), t.produceDts && (p.isDefaultExported = T || void 0, n && (!c && (!
|
|
2867
|
+
), t.produceDts && (p.isDefaultExported = T || void 0, n && (!c && (!v && S === 0) && t.config.strict && t.emitError("Expected @public class to be exported using named or default export.", {
|
|
2863
2868
|
file: t.file,
|
|
2864
2869
|
node: e
|
|
2865
2870
|
}), (i || !y && (t.config.strict || r !== void 0)) && (p.shouldPrintAbstract = !0))), t.objectLikeTypeParameters = void 0, m;
|
|
2866
2871
|
}
|
|
2867
|
-
function
|
|
2872
|
+
function Zr(e, t, n, i, o) {
|
|
2868
2873
|
for (let r = 0; r < e.types.length; ++r) {
|
|
2869
2874
|
const a = e.types[r];
|
|
2870
2875
|
if (t) {
|
|
@@ -2886,7 +2891,7 @@ function Yr(e, t, n, i, o) {
|
|
|
2886
2891
|
n.mixins ??= [];
|
|
2887
2892
|
const m = c.expression;
|
|
2888
2893
|
n.mixins.unshift(
|
|
2889
|
-
|
|
2894
|
+
we(m, c.typeArguments, o)
|
|
2890
2895
|
), c = c.arguments[0];
|
|
2891
2896
|
}
|
|
2892
2897
|
} while (l.isCallExpression(c));
|
|
@@ -2898,7 +2903,7 @@ function Yr(e, t, n, i, o) {
|
|
|
2898
2903
|
break;
|
|
2899
2904
|
} else l.isExpressionWithTypeArguments(c) && (s = c.typeArguments, c = c.expression);
|
|
2900
2905
|
}
|
|
2901
|
-
const p =
|
|
2906
|
+
const p = we(
|
|
2902
2907
|
c,
|
|
2903
2908
|
o.isInLuminaMinimalExtraction ? void 0 : s,
|
|
2904
2909
|
o
|
|
@@ -2914,19 +2919,19 @@ function Yr(e, t, n, i, o) {
|
|
|
2914
2919
|
n.superclass = p;
|
|
2915
2920
|
break;
|
|
2916
2921
|
} else {
|
|
2917
|
-
const s =
|
|
2922
|
+
const s = Sr(a);
|
|
2918
2923
|
let c = s, p;
|
|
2919
2924
|
if (l.isExpressionWithTypeArguments(s))
|
|
2920
2925
|
c = s.expression, p = s.typeArguments;
|
|
2921
2926
|
else if (l.isTypeReferenceNode(s) && (c = s.typeName, p = s.typeArguments, c.escapedText === "Record" && p?.length === 2 && p[0].kind === l.SyntaxKind.NeverKeyword && p[1].kind === l.SyntaxKind.NeverKeyword))
|
|
2922
2927
|
continue;
|
|
2923
2928
|
n.supertypes ??= [], n.supertypes.push(
|
|
2924
|
-
|
|
2929
|
+
we(c, p, o)
|
|
2925
2930
|
);
|
|
2926
2931
|
}
|
|
2927
2932
|
}
|
|
2928
2933
|
}
|
|
2929
|
-
function
|
|
2934
|
+
function vn(e, t, n, i) {
|
|
2930
2935
|
i.apiObject = e;
|
|
2931
2936
|
const o = e.customElement === !0, r = e.members, a = t.length;
|
|
2932
2937
|
let s, c = t[0], p, d = Fe(c?.name), m = !1;
|
|
@@ -2938,10 +2943,10 @@ function gn(e, t, n, i) {
|
|
|
2938
2943
|
if (p === void 0 && s.name?.kind === l.SyntaxKind.PrivateIdentifier)
|
|
2939
2944
|
continue;
|
|
2940
2945
|
c !== void 0 && p === d && (l.isGetAccessor(c) ? (i.pairedSetter = s, s = c) : l.isSetAccessor(c) && (i.pairedSetter = c));
|
|
2941
|
-
let f =
|
|
2946
|
+
let f = ve(s, !0, i) ?? (i.pairedSetter === void 0 ? void 0 : ve(i.pairedSetter, !0, i));
|
|
2942
2947
|
if (f === void 0 && !i.config.strict && (o ? p !== void 0 && Fi(s, i.pairedSetter, !0) : !sn(s.modifiers, l.SyntaxKind.PrivateKeyword))) {
|
|
2943
|
-
const
|
|
2944
|
-
|
|
2948
|
+
const v = i.pairedSetter === void 0 ? gt(s, !1, i, $e) : ve(s, !1, i) ?? gt(i.pairedSetter, !1, i, $e);
|
|
2949
|
+
v?.docsTags.includes(H.private) === !0 ? o && i.config.context.includeLuminaPrivateComponents ? f = Ue : f = void 0 : f = v;
|
|
2945
2950
|
} else f === void 0 && o && i.config.context.includeLuminaPrivateComponents && Fi(s, i.pairedSetter, !1) && (f = Ue);
|
|
2946
2951
|
if (f === void 0) {
|
|
2947
2952
|
o && l.isPropertyDeclaration(s) && l.isIdentifier(s.name) && (s.name.escapedText === "shadowRootOptions" && s.initializer !== void 0 && l.isIdentifier(s.initializer) && s.initializer.escapedText === "noShadowRoot" && (i.apiObject.encapsulation = "none"), s.name.escapedText === "formAssociated" && s.initializer !== void 0 && pe(s.initializer, i) && (i.apiObject.formAssociated = !0));
|
|
@@ -2949,18 +2954,18 @@ function gn(e, t, n, i) {
|
|
|
2949
2954
|
}
|
|
2950
2955
|
i.jsDoc = f;
|
|
2951
2956
|
let y;
|
|
2952
|
-
l.isPropertyDeclaration(s) || l.isPropertyAssignment(s) || l.isGetAccessorDeclaration(s) || l.isSetAccessorDeclaration(s) || l.isPropertySignature(s) ? y =
|
|
2957
|
+
l.isPropertyDeclaration(s) || l.isPropertyAssignment(s) || l.isGetAccessorDeclaration(s) || l.isSetAccessorDeclaration(s) || l.isPropertySignature(s) ? y = yn(s, p, !1, i) : l.isMethodDeclaration(s) || l.isMethodSignature(s) ? y = Ft(s, p, void 0, i) : l.isConstructorDeclaration(s) || l.isConstructSignatureDeclaration(s) ? (m = !0, y = Ft(s, n, void 0, i)) : l.isCallSignatureDeclaration(s) ? y = Ft(s, n, void 0, i) : l.isIndexSignatureDeclaration(s) && e.kind === "interface" ? (Ot.members.splice(
|
|
2953
2958
|
0,
|
|
2954
|
-
|
|
2959
|
+
Ot.members.length,
|
|
2955
2960
|
s
|
|
2956
|
-
),
|
|
2961
|
+
), Sn(e, Ot, i), fe(e).emitAsTypeAlias = !0) : i.emitError(`@public used on unsupported member kind: ${l.SyntaxKind[s.kind]}`, {
|
|
2957
2962
|
file: i.file,
|
|
2958
2963
|
node: s
|
|
2959
2964
|
}), y !== void 0 && r.push(y);
|
|
2960
2965
|
}
|
|
2961
2966
|
return i.apiObject = void 0, m;
|
|
2962
2967
|
}
|
|
2963
|
-
const
|
|
2968
|
+
const Ot = l.factory.createTypeLiteralNode(void 0);
|
|
2964
2969
|
function Fi(e, t, n) {
|
|
2965
2970
|
if (e.kind === l.SyntaxKind.PropertyDeclaration || e.kind === l.SyntaxKind.GetAccessor || e.kind === l.SyntaxKind.SetAccessor) {
|
|
2966
2971
|
const i = e;
|
|
@@ -2968,7 +2973,7 @@ function Fi(e, t, n) {
|
|
|
2968
2973
|
return !0;
|
|
2969
2974
|
if (!n)
|
|
2970
2975
|
return !1;
|
|
2971
|
-
if (ci(Fe(e.name)) ||
|
|
2976
|
+
if (ci(Fe(e.name)) || gn(e))
|
|
2972
2977
|
return !0;
|
|
2973
2978
|
if (i.modifiers !== void 0)
|
|
2974
2979
|
for (let r = 0; r < (i.modifiers?.length ?? 0); ++r) {
|
|
@@ -2979,7 +2984,7 @@ function Fi(e, t, n) {
|
|
|
2979
2984
|
return e.kind === l.SyntaxKind.PropertyDeclaration && i.initializer !== void 0 && l.isCallExpression(i.initializer) ? l.isIdentifier(i.initializer.expression) && (i.initializer.expression.escapedText === "createEvent" || i.initializer.expression.escapedText === "useCloseEvent" || i.initializer.expression.escapedText === "useArcgisLoadError" || i.initializer.expression.escapedText === "useArcgisViewReadyError" || i.initializer.expression.escapedText === "reEmitEvent") || l.isCallExpression(i.initializer.expression) && l.isIdentifier(i.initializer.expression.expression) && i.initializer.expression.expression.escapedText === "usePropertyChange" : !1;
|
|
2980
2985
|
} else return e.kind === l.SyntaxKind.MethodDeclaration ? je(e.modifiers, "method") !== void 0 : !1;
|
|
2981
2986
|
}
|
|
2982
|
-
function
|
|
2987
|
+
function Sn(e, t, n) {
|
|
2983
2988
|
const i = ee(t, n);
|
|
2984
2989
|
if (e.type === void 0)
|
|
2985
2990
|
e.type = i;
|
|
@@ -2994,7 +2999,7 @@ function vn(e, t, n) {
|
|
|
2994
2999
|
};
|
|
2995
3000
|
}
|
|
2996
3001
|
}
|
|
2997
|
-
function
|
|
3002
|
+
function es(e, t, n) {
|
|
2998
3003
|
if (!l.isTypeQueryNode(t)) {
|
|
2999
3004
|
n.emitError("Expected a TypeQueryNode for applyMixins syntax", { file: n.file, node: t });
|
|
3000
3005
|
return;
|
|
@@ -3057,11 +3062,11 @@ function Zr(e, t, n) {
|
|
|
3057
3062
|
});
|
|
3058
3063
|
return;
|
|
3059
3064
|
}
|
|
3060
|
-
r.mixins.unshift(
|
|
3065
|
+
r.mixins.unshift(we(c, void 0, n));
|
|
3061
3066
|
}
|
|
3062
3067
|
}
|
|
3063
|
-
const Be = "DeclareCssProperties",
|
|
3064
|
-
function
|
|
3068
|
+
const Be = "DeclareCssProperties", ts = /^<\s*["'](?<syntax>[a-z-]+)["'](?:\s*,\s*["'](?<multiplier>[#+]?)["'])?\s*>/u;
|
|
3069
|
+
function is(e, t, n) {
|
|
3065
3070
|
const i = e.body;
|
|
3066
3071
|
if (i !== void 0)
|
|
3067
3072
|
for (let o = 0; o < i.statements.length; ++o) {
|
|
@@ -3097,7 +3102,7 @@ function ts(e, t, n) {
|
|
|
3097
3102
|
const p = a.members[c];
|
|
3098
3103
|
if (p.kind !== "field") {
|
|
3099
3104
|
n.emitError(
|
|
3100
|
-
`${Be} should only contain named property signatures. Found ${p.kind} ${
|
|
3105
|
+
`${Be} should only contain named property signatures. Found ${p.kind} ${zn(p)}.`,
|
|
3101
3106
|
{
|
|
3102
3107
|
file: n.file,
|
|
3103
3108
|
node: r
|
|
@@ -3121,7 +3126,7 @@ function ts(e, t, n) {
|
|
|
3121
3126
|
summary: void 0,
|
|
3122
3127
|
description: p.description,
|
|
3123
3128
|
docsTags: p.docsTags,
|
|
3124
|
-
type: p.type === void 0 ? void 0 :
|
|
3129
|
+
type: p.type === void 0 ? void 0 : ns(p.type, n),
|
|
3125
3130
|
syntax: void 0,
|
|
3126
3131
|
default: p.default
|
|
3127
3132
|
});
|
|
@@ -3129,7 +3134,7 @@ function ts(e, t, n) {
|
|
|
3129
3134
|
return;
|
|
3130
3135
|
}
|
|
3131
3136
|
}
|
|
3132
|
-
function
|
|
3137
|
+
function ns(e, t) {
|
|
3133
3138
|
if (e.text === '"*"')
|
|
3134
3139
|
return;
|
|
3135
3140
|
const n = e.references;
|
|
@@ -3140,7 +3145,7 @@ function is(e, t) {
|
|
|
3140
3145
|
const r = n[o];
|
|
3141
3146
|
if (r.name !== "CssSyntax")
|
|
3142
3147
|
continue;
|
|
3143
|
-
const a = r.start, s = r.end, p = i.slice(s).match(
|
|
3148
|
+
const a = r.start, s = r.end, p = i.slice(s).match(ts);
|
|
3144
3149
|
if (p === null) {
|
|
3145
3150
|
t.emitError(
|
|
3146
3151
|
`CssSyntax references must use literal syntax form CssSyntax<"..."> or CssSyntax<"...", "+|#">. Found invalid CssSyntax usage in type "${e.text}".`,
|
|
@@ -3163,7 +3168,7 @@ function is(e, t) {
|
|
|
3163
3168
|
}
|
|
3164
3169
|
return { ...e, text: i };
|
|
3165
3170
|
}
|
|
3166
|
-
function
|
|
3171
|
+
function os(e, t) {
|
|
3167
3172
|
const n = e.type, i = e.name.escapedText, o = an(i, t), r = zi(), a = {
|
|
3168
3173
|
[J]: r,
|
|
3169
3174
|
kind: "interface",
|
|
@@ -3178,7 +3183,7 @@ function ns(e, t) {
|
|
|
3178
3183
|
description: void 0,
|
|
3179
3184
|
docsTags: void 0,
|
|
3180
3185
|
demos: void 0,
|
|
3181
|
-
typeParameters:
|
|
3186
|
+
typeParameters: Dt(e.typeParameters, !0, t),
|
|
3182
3187
|
superclass: void 0,
|
|
3183
3188
|
supertypes: void 0,
|
|
3184
3189
|
mixins: void 0,
|
|
@@ -3203,9 +3208,9 @@ function ns(e, t) {
|
|
|
3203
3208
|
for (let p = 0; p < c.length; ++p) {
|
|
3204
3209
|
const d = ri(c[p]);
|
|
3205
3210
|
if (l.isTypeLiteralNode(d))
|
|
3206
|
-
|
|
3211
|
+
vn(s, d.members, i, t);
|
|
3207
3212
|
else if (l.isTypeReferenceNode(d))
|
|
3208
|
-
s.supertypes ??= [], s.supertypes.push(
|
|
3213
|
+
s.supertypes ??= [], s.supertypes.push(we(d.typeName, d.typeArguments, t));
|
|
3209
3214
|
else if (l.isFunctionTypeNode(d) || l.isConstructorTypeNode(d)) {
|
|
3210
3215
|
if (t.jsDoc = $e, s.docsTags !== void 0) {
|
|
3211
3216
|
t.jsDoc = { ...$e, docsTags: [] };
|
|
@@ -3215,9 +3220,9 @@ function ns(e, t) {
|
|
|
3215
3220
|
}
|
|
3216
3221
|
s.docsTags.length === 0 && (s.docsTags = void 0);
|
|
3217
3222
|
}
|
|
3218
|
-
s.members.push(
|
|
3223
|
+
s.members.push(Gr(d, i, void 0, t));
|
|
3219
3224
|
} else
|
|
3220
|
-
|
|
3225
|
+
Sn(s, d, t);
|
|
3221
3226
|
}
|
|
3222
3227
|
}
|
|
3223
3228
|
return t.objectLikeTypeParameters = void 0, mn(
|
|
@@ -3228,7 +3233,7 @@ function ns(e, t) {
|
|
|
3228
3233
|
t.apiModule
|
|
3229
3234
|
), s.members.length === 0 && (s.members = void 0), s;
|
|
3230
3235
|
}
|
|
3231
|
-
function
|
|
3236
|
+
function rs(e, t, n) {
|
|
3232
3237
|
const i = e.initializer, o = i.body;
|
|
3233
3238
|
let r, a;
|
|
3234
3239
|
for (let d = 0; d < o.statements.length; ++d) {
|
|
@@ -3240,7 +3245,7 @@ function os(e, t, n) {
|
|
|
3240
3245
|
let f = u.initializer.expression.expression;
|
|
3241
3246
|
for (; l.isCallExpression(f); ) {
|
|
3242
3247
|
const y = f.expression;
|
|
3243
|
-
r ??= [], r.push(
|
|
3248
|
+
r ??= [], r.push(we(y, f.typeArguments, n)), f = f.arguments[0];
|
|
3244
3249
|
}
|
|
3245
3250
|
} else l.isClassDeclaration(m) && (a = m);
|
|
3246
3251
|
}
|
|
@@ -3251,7 +3256,7 @@ function os(e, t, n) {
|
|
|
3251
3256
|
});
|
|
3252
3257
|
return;
|
|
3253
3258
|
}
|
|
3254
|
-
|
|
3259
|
+
Dt(
|
|
3255
3260
|
// Skip the TBase type parameter - non-public implementation detail
|
|
3256
3261
|
i.typeParameters.length === 1 ? void 0 : i.typeParameters.slice(1),
|
|
3257
3262
|
!0,
|
|
@@ -3266,7 +3271,7 @@ function os(e, t, n) {
|
|
|
3266
3271
|
const p = et(a, n);
|
|
3267
3272
|
return p.kind = "mixin", p;
|
|
3268
3273
|
}
|
|
3269
|
-
function
|
|
3274
|
+
function ss(e, t, n) {
|
|
3270
3275
|
const i = n.moduleHasClass;
|
|
3271
3276
|
n.moduleHasClass = !1;
|
|
3272
3277
|
const o = l.factory.createClassDeclaration(
|
|
@@ -3282,7 +3287,7 @@ function rs(e, t, n) {
|
|
|
3282
3287
|
), r = et(o, n), a = r, s = fe(a);
|
|
3283
3288
|
return a.kind = "interface", a.supertypes = r.mixins, r.mixins = void 0, r.superclass !== void 0 && (a.supertypes ??= [], a.supertypes.unshift(r.superclass), r.superclass = void 0), n.moduleHasClass = i, s.isMixinBaseClass = !0, a;
|
|
3284
3289
|
}
|
|
3285
|
-
function
|
|
3290
|
+
function as(e, t) {
|
|
3286
3291
|
const n = e.declarationList.declarations;
|
|
3287
3292
|
n.length !== 1 && t.emitError("Public variable statements must have only a single variable declarations. Found multiple.", {
|
|
3288
3293
|
file: t.file,
|
|
@@ -3297,17 +3302,17 @@ function ss(e, t) {
|
|
|
3297
3302
|
return;
|
|
3298
3303
|
}
|
|
3299
3304
|
const r = o.escapedText, a = t.exportDefaultName === r;
|
|
3300
|
-
if (
|
|
3305
|
+
if (xt(e) === 0 && !a && t.config.strict && t.emitError("Expected @public variable to be exported as named or default export.", {
|
|
3301
3306
|
file: t.file,
|
|
3302
3307
|
node: e
|
|
3303
3308
|
}), t.mixinName !== void 0 && i.initializer !== void 0 && l.isCallExpression(i.initializer) && l.isIdentifier(i.initializer.expression) && i.initializer.expression.escapedText === t.mixinName)
|
|
3304
|
-
return
|
|
3309
|
+
return ss(i.initializer, r, t);
|
|
3305
3310
|
let c = i.type;
|
|
3306
3311
|
const p = (e.declarationList.flags & l.NodeFlags.Const) !== 0;
|
|
3307
3312
|
if (c === void 0) {
|
|
3308
3313
|
const f = i.initializer;
|
|
3309
3314
|
if (f !== void 0 && l.isArrowFunction(f) && p)
|
|
3310
|
-
return f.typeParameters?.at(0)?.name?.escapedText === "TBase" ?
|
|
3315
|
+
return f.typeParameters?.at(0)?.name?.escapedText === "TBase" ? rs(i, r, t) : Mi(f, r, e, t);
|
|
3311
3316
|
f === void 0 ? c = le(
|
|
3312
3317
|
{ file: t.file, node: i },
|
|
3313
3318
|
"Public variable must have a type annotation or a default value",
|
|
@@ -3327,7 +3332,7 @@ function ss(e, t) {
|
|
|
3327
3332
|
type: ee(c, t),
|
|
3328
3333
|
default: void 0
|
|
3329
3334
|
};
|
|
3330
|
-
return
|
|
3335
|
+
return To(m, t.jsDoc), p && c.kind === l.SyntaxKind.LiteralType || (m.default = ft(i.initializer, m.default, t.file)), Rr(
|
|
3331
3336
|
t,
|
|
3332
3337
|
e,
|
|
3333
3338
|
t.config.documentation.copyDocDefinitions.variables,
|
|
@@ -3335,29 +3340,29 @@ function ss(e, t) {
|
|
|
3335
3340
|
t.apiModule
|
|
3336
3341
|
), a && (si(m, !0, t), t.produceDts && (d.isDefaultExported = !0)), m;
|
|
3337
3342
|
}
|
|
3338
|
-
function
|
|
3343
|
+
function hn(e, t, n) {
|
|
3339
3344
|
const i = n.statementJsDocs[t];
|
|
3340
3345
|
if (i !== void 0) {
|
|
3341
3346
|
if (n.jsDoc = i, l.isClassDeclaration(e))
|
|
3342
3347
|
return et(e, n);
|
|
3343
3348
|
if (l.isFunctionDeclaration(e))
|
|
3344
|
-
return
|
|
3349
|
+
return Ar(e, e.name.escapedText, void 0, n);
|
|
3345
3350
|
if (l.isInterfaceDeclaration(e))
|
|
3346
3351
|
return et(e, n);
|
|
3347
3352
|
if (l.isTypeAliasDeclaration(e))
|
|
3348
|
-
return
|
|
3353
|
+
return os(e, n);
|
|
3349
3354
|
if (l.isVariableStatement(e))
|
|
3350
|
-
return
|
|
3355
|
+
return as(e, n);
|
|
3351
3356
|
}
|
|
3352
3357
|
}
|
|
3353
|
-
function
|
|
3358
|
+
function ls(e, t) {
|
|
3354
3359
|
const n = t.apiModule.declarations, i = e.statements;
|
|
3355
3360
|
for (let o = 0; o < i.length; ++o) {
|
|
3356
|
-
const r = i[o], a =
|
|
3361
|
+
const r = i[o], a = hn(r, o, t);
|
|
3357
3362
|
a !== void 0 && n.push(a);
|
|
3358
3363
|
}
|
|
3359
3364
|
}
|
|
3360
|
-
function
|
|
3365
|
+
function cs(e, t) {
|
|
3361
3366
|
const n = e.fileName.slice(t.config.context.cwd.length), i = t.watchFiles?.get(n);
|
|
3362
3367
|
if (i !== void 0) {
|
|
3363
3368
|
if (i.module !== void 0)
|
|
@@ -3378,43 +3383,43 @@ function ls(e, t) {
|
|
|
3378
3383
|
named: /* @__PURE__ */ Object.create(null)
|
|
3379
3384
|
}, y = Ki(e, s, c, f);
|
|
3380
3385
|
t.moduleContext = y;
|
|
3381
|
-
const
|
|
3382
|
-
let
|
|
3386
|
+
const v = t.implicitPublicModules?.[a];
|
|
3387
|
+
let S = !1;
|
|
3383
3388
|
const T = t.isJsApi && a.startsWith("applications/");
|
|
3384
3389
|
t.statementJsDocs.length = 0;
|
|
3385
3390
|
for (let b = 0; b < e.statements.length; ++b) {
|
|
3386
|
-
const
|
|
3387
|
-
let
|
|
3391
|
+
const g = e.statements[b], L = g.kind === l.SyntaxKind.ClassDeclaration || g.kind === l.SyntaxKind.FunctionDeclaration || g.kind === l.SyntaxKind.InterfaceDeclaration || g.kind === l.SyntaxKind.TypeAliasDeclaration || g.kind === l.SyntaxKind.VariableStatement;
|
|
3392
|
+
let D;
|
|
3388
3393
|
if (
|
|
3389
3394
|
// Only look at web components in Lumina's dev server
|
|
3390
3395
|
t.isInLuminaMinimalExtraction
|
|
3391
3396
|
)
|
|
3392
|
-
|
|
3397
|
+
D = g.kind === l.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && g.heritageClauses !== void 0 && g.modifiers !== void 0 ? $e : void 0;
|
|
3393
3398
|
else if (L) {
|
|
3394
|
-
if (
|
|
3395
|
-
const P =
|
|
3399
|
+
if (D = ve(g, !0, t), D === void 0 && !t.config.strict) {
|
|
3400
|
+
const P = gt(g, !1, t, {
|
|
3396
3401
|
description: void 0,
|
|
3397
3402
|
docsTags: []
|
|
3398
|
-
}), C =
|
|
3399
|
-
P?.docsTags.includes(H.private) === !0 ? C && t.config.context.includeLuminaPrivateComponents ? (
|
|
3400
|
-
} else
|
|
3403
|
+
}), C = g.kind === l.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && g.heritageClauses !== void 0 && g.modifiers !== void 0;
|
|
3404
|
+
P?.docsTags.includes(H.private) === !0 ? C && t.config.context.includeLuminaPrivateComponents ? (D = Ue, t.isInLuminaMinimalExtraction = !0) : D = void 0 : P !== void 0 && (C || v !== void 0 && jo(g, v)) && (D = P);
|
|
3405
|
+
} else D === void 0 && t.componentTagName !== void 0 && t.config.context.includeLuminaPrivateComponents && g.kind === l.SyntaxKind.ClassDeclaration && // Avoid the following from being falsely considered a component class
|
|
3401
3406
|
// https://devtopia.esri.com/WebGIS/webgis-sdk/blob/223ebb8df0067bf332013a4cfc6032152c14fe58/packages/common-packages/common-components/src/components/ramp-color/ramp-color.tsx#L19-L26
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
}
|
|
3405
|
-
if (t.statementJsDocs[b] =
|
|
3406
|
-
T &&
|
|
3407
|
-
(
|
|
3408
|
-
),
|
|
3409
|
-
else if (l.isImportDeclaration(
|
|
3410
|
-
const P =
|
|
3407
|
+
g.heritageClauses !== void 0 && g.modifiers !== void 0 && (D = Ue, t.isInLuminaMinimalExtraction = !0);
|
|
3408
|
+
D !== void 0 && !t.config.strict && g.kind === l.SyntaxKind.ClassDeclaration && t.componentTagName !== void 0 && g.heritageClauses !== void 0 && g.modifiers !== void 0 && D.docsTags.includes(H.internal) && (S = !0);
|
|
3409
|
+
}
|
|
3410
|
+
if (t.statementJsDocs[b] = D, L || b === 0 && (m = ve(e, !0, t)), D !== void 0)
|
|
3411
|
+
T && D.docsTags.push(H.internal), p.add(
|
|
3412
|
+
(g.name ?? g.declarationList?.declarations[0].name).escapedText
|
|
3413
|
+
), g.kind === l.SyntaxKind.ClassDeclaration ? t.apiClassLikeName = g.name?.escapedText : g.kind === l.SyntaxKind.VariableStatement && g.declarationList.declarations[0].initializer?.kind === l.SyntaxKind.ArrowFunction && (t.apiClassLikeName = g.declarationList.declarations[0].name.escapedText);
|
|
3414
|
+
else if (l.isImportDeclaration(g)) {
|
|
3415
|
+
const P = g.importClause;
|
|
3411
3416
|
if (P === void 0)
|
|
3412
3417
|
continue;
|
|
3413
|
-
const C =
|
|
3414
|
-
if (
|
|
3415
|
-
const x = P.name.escapedText,
|
|
3418
|
+
const C = g.moduleSpecifier.text, N = !C.startsWith("."), F = N ? C : ae(C), w = N ? void 0 : at(Bt(r, F), t), B = w === void 0 ? void 0 : t.config.types.typeReplacements[w];
|
|
3419
|
+
if (Uo(g, t), P.name !== void 0) {
|
|
3420
|
+
const x = P.name.escapedText, k = B?.[x], O = k?.[1], q = k?.[0] ?? w;
|
|
3416
3421
|
c[x] = {
|
|
3417
|
-
type:
|
|
3422
|
+
type: k?.[2] ?? "default",
|
|
3418
3423
|
modulePath: q,
|
|
3419
3424
|
rawSpecifier: C,
|
|
3420
3425
|
replacementName: O,
|
|
@@ -3426,7 +3431,7 @@ function ls(e, t) {
|
|
|
3426
3431
|
if (I === void 0)
|
|
3427
3432
|
continue;
|
|
3428
3433
|
if (I.kind === l.SyntaxKind.NamespaceImport) {
|
|
3429
|
-
const x = I.name.escapedText,
|
|
3434
|
+
const x = I.name.escapedText, k = B?.[x], O = k?.[1], q = k?.[0] ?? w;
|
|
3430
3435
|
c[x] = {
|
|
3431
3436
|
type: "*",
|
|
3432
3437
|
modulePath: q,
|
|
@@ -3437,7 +3442,7 @@ function ls(e, t) {
|
|
|
3437
3442
|
};
|
|
3438
3443
|
} else
|
|
3439
3444
|
for (let x = 0; x < I.elements.length; ++x) {
|
|
3440
|
-
const
|
|
3445
|
+
const k = I.elements[x], O = k.propertyName === void 0 ? void 0 : k.propertyName.escapedText ?? k.propertyName.text, q = k.name.escapedText, W = B?.[O ?? q], $ = W?.[1], V = W?.[0] ?? w;
|
|
3441
3446
|
c[q] = {
|
|
3442
3447
|
type: W?.[2] ?? "named",
|
|
3443
3448
|
modulePath: V,
|
|
@@ -3447,54 +3452,54 @@ function ls(e, t) {
|
|
|
3447
3452
|
wasUsed: !1
|
|
3448
3453
|
};
|
|
3449
3454
|
}
|
|
3450
|
-
} else if (l.isExportAssignment(
|
|
3451
|
-
if (l.isIdentifier(
|
|
3452
|
-
const P =
|
|
3453
|
-
t.exportDefaultName = P, !p.has(P) && d?.has(P) === !0 &&
|
|
3455
|
+
} else if (l.isExportAssignment(g)) {
|
|
3456
|
+
if (l.isIdentifier(g.expression)) {
|
|
3457
|
+
const P = g.expression.escapedText;
|
|
3458
|
+
t.exportDefaultName = P, !p.has(P) && d?.has(P) === !0 && v?.pendingNames?.has("default") === !0 && d.set(P, Math.abs(d.get(P)));
|
|
3454
3459
|
}
|
|
3455
|
-
} else if (l.isExportDeclaration(
|
|
3456
|
-
if (
|
|
3457
|
-
const C =
|
|
3460
|
+
} else if (l.isExportDeclaration(g) && g.moduleSpecifier !== void 0 && !t.isInLuminaMinimalExtraction) {
|
|
3461
|
+
if (ve(g, !0, t) !== void 0) {
|
|
3462
|
+
const C = g.moduleSpecifier.text, N = !C.startsWith("."), F = N ? C : Bt(r, ae(C)), w = N ? void 0 : at(F, t);
|
|
3458
3463
|
y.reExports ??= [];
|
|
3459
3464
|
const B = [];
|
|
3460
|
-
if (
|
|
3461
|
-
const I =
|
|
3465
|
+
if (g.exportClause?.kind === l.SyntaxKind.NamedExports) {
|
|
3466
|
+
const I = g.exportClause.elements;
|
|
3462
3467
|
for (let x = 0; x < I.length; ++x) {
|
|
3463
|
-
const
|
|
3468
|
+
const k = I[x], O = Fe(k.name), q = k.propertyName === void 0 ? void 0 : Fe(k.propertyName), W = q ?? O, $ = q === void 0 ? void 0 : O;
|
|
3464
3469
|
B.push({
|
|
3465
3470
|
exportName: W,
|
|
3466
3471
|
aliasName: $,
|
|
3467
|
-
isTypeOnly:
|
|
3468
|
-
}), !t.config.strict &&
|
|
3472
|
+
isTypeOnly: g.isTypeOnly
|
|
3473
|
+
}), !t.config.strict && w !== void 0 && vt(w, F, W, t);
|
|
3469
3474
|
}
|
|
3470
3475
|
} else
|
|
3471
3476
|
B.push({
|
|
3472
3477
|
exportName: "*",
|
|
3473
|
-
aliasName:
|
|
3478
|
+
aliasName: g.exportClause === void 0 ? void 0 : Fe(g.exportClause.name),
|
|
3474
3479
|
isTypeOnly: !1
|
|
3475
|
-
}), !t.config.strict &&
|
|
3480
|
+
}), !t.config.strict && w !== void 0 && vt(w, F, "*", t);
|
|
3476
3481
|
y.reExports.push({
|
|
3477
|
-
modulePath:
|
|
3478
|
-
externalSpecifier:
|
|
3479
|
-
isTypeOnly:
|
|
3482
|
+
modulePath: w,
|
|
3483
|
+
externalSpecifier: N ? C : void 0,
|
|
3484
|
+
isTypeOnly: g.isTypeOnly,
|
|
3480
3485
|
specifiers: B
|
|
3481
3486
|
});
|
|
3482
3487
|
}
|
|
3483
|
-
} else !t.isInLuminaMinimalExtraction && l.isModuleDeclaration(
|
|
3484
|
-
(
|
|
3488
|
+
} else !t.isInLuminaMinimalExtraction && l.isModuleDeclaration(g) ? t.componentTagName !== void 0 && l.isStringLiteral(g.name) && g.name.text === "@arcgis/lumina" ? u = g : ve(g, !0, t) !== void 0 && (y.namespaces ??= [], y.namespaces.push(g.getFullText(e))) : d !== void 0 && L && d.set(
|
|
3489
|
+
(g.name ?? g.declarationList?.declarations[0].name).escapedText,
|
|
3485
3490
|
-b
|
|
3486
3491
|
);
|
|
3487
3492
|
}
|
|
3488
3493
|
const h = t.config.types.typeReplacements[a];
|
|
3489
3494
|
if (h !== void 0) {
|
|
3490
3495
|
const b = Object.keys(h);
|
|
3491
|
-
for (let
|
|
3492
|
-
const L = b[
|
|
3496
|
+
for (let g = 0; g < b.length; ++g) {
|
|
3497
|
+
const L = b[g], D = h[L];
|
|
3493
3498
|
c[L] = {
|
|
3494
|
-
type:
|
|
3495
|
-
modulePath:
|
|
3499
|
+
type: D[2],
|
|
3500
|
+
modulePath: D[0],
|
|
3496
3501
|
rawSpecifier: "",
|
|
3497
|
-
replacementName:
|
|
3502
|
+
replacementName: D[1],
|
|
3498
3503
|
actualName: void 0,
|
|
3499
3504
|
wasUsed: !1
|
|
3500
3505
|
};
|
|
@@ -3513,14 +3518,14 @@ function ls(e, t) {
|
|
|
3513
3518
|
declarations: [],
|
|
3514
3519
|
exports: []
|
|
3515
3520
|
};
|
|
3516
|
-
if (t.apiModule = E,
|
|
3521
|
+
if (t.apiModule = E, ls(e, t), d !== void 0) {
|
|
3517
3522
|
let b = !1;
|
|
3518
3523
|
do {
|
|
3519
3524
|
b = !1;
|
|
3520
|
-
for (const [
|
|
3525
|
+
for (const [g, L] of d)
|
|
3521
3526
|
if (L > 0 || Object.is(L, 0)) {
|
|
3522
|
-
d.delete(
|
|
3523
|
-
const
|
|
3527
|
+
d.delete(g), p.add(g), b = !0;
|
|
3528
|
+
const D = e.statements[L], P = gt(D, !1, t, {
|
|
3524
3529
|
description: void 0,
|
|
3525
3530
|
docsTags: []
|
|
3526
3531
|
});
|
|
@@ -3528,16 +3533,16 @@ function ls(e, t) {
|
|
|
3528
3533
|
continue;
|
|
3529
3534
|
if (P.docsTags.includes(H.private))
|
|
3530
3535
|
t.emitError(
|
|
3531
|
-
`Declaration "${
|
|
3536
|
+
`Declaration "${g}" is marked @private but is used by public API in the same file. Either refactor our its reference or remove the @private tag.`,
|
|
3532
3537
|
{
|
|
3533
3538
|
file: e,
|
|
3534
|
-
node:
|
|
3539
|
+
node: D
|
|
3535
3540
|
}
|
|
3536
3541
|
);
|
|
3537
3542
|
else {
|
|
3538
|
-
|
|
3539
|
-
const
|
|
3540
|
-
|
|
3543
|
+
S && !P.docsTags.includes(H.internal) && P.docsTags.push(H.internal), t.statementJsDocs[L] = P;
|
|
3544
|
+
const N = hn(D, L, t);
|
|
3545
|
+
N !== void 0 && E.declarations.push(N);
|
|
3541
3546
|
}
|
|
3542
3547
|
}
|
|
3543
3548
|
} while (b);
|
|
@@ -3560,10 +3565,10 @@ function ls(e, t) {
|
|
|
3560
3565
|
const M = t.componentTagName === void 0 ? E.exports[0]?.declaration.name : void 0;
|
|
3561
3566
|
E.exports.length === 0 && (E.exports = void 0);
|
|
3562
3567
|
for (let b = 0; b < E.declarations.length; ++b) {
|
|
3563
|
-
const
|
|
3564
|
-
(
|
|
3568
|
+
const g = E.declarations[b];
|
|
3569
|
+
(g.kind === "class" || g.kind === "mixin") && (f.class = g), M === g.name && (f.default = g), f.named[g.name] = g;
|
|
3565
3570
|
}
|
|
3566
|
-
return u !== void 0 &&
|
|
3571
|
+
return u !== void 0 && is(u, y, t), m !== void 0 && (t.moduleHasClass ? t.emitError(
|
|
3567
3572
|
"A module that exports a class must have JSDoc attached to the class, rather than module-top JSDoc. See https://webgis.esri.com/references/api-extractor/api-node-kinds#module-level-documentation",
|
|
3568
3573
|
{
|
|
3569
3574
|
file: e,
|
|
@@ -3571,27 +3576,27 @@ function ls(e, t) {
|
|
|
3571
3576
|
length: e.statements[0]?.getStart(e) ?? 1,
|
|
3572
3577
|
node: void 0
|
|
3573
3578
|
}
|
|
3574
|
-
) : (T && m.docsTags.push(H.internal),
|
|
3579
|
+
) : (T && m.docsTags.push(H.internal), So(E, m))), E;
|
|
3575
3580
|
}
|
|
3576
|
-
async function
|
|
3581
|
+
async function ds(e) {
|
|
3577
3582
|
const t = [], n = e.basePath, i = e.config.context.excludedDirectories, o = `${e.basePath}components/`, r = [], a = !e.config.strict || e.config.context.includeLuminaPrivateComponents;
|
|
3578
3583
|
e.componentPathMapping = /* @__PURE__ */ Object.create(null);
|
|
3579
|
-
const s = e.isComponentProject ? (m) =>
|
|
3584
|
+
const s = e.isComponentProject ? (m) => Yn(m, o) : () => !1, c = e.isComponentProject ? p : d;
|
|
3580
3585
|
if (e.program === void 0)
|
|
3581
|
-
await
|
|
3586
|
+
await Pn(n, i, async (m) => {
|
|
3582
3587
|
if (di(m))
|
|
3583
3588
|
return;
|
|
3584
3589
|
const u = await ui(m);
|
|
3585
3590
|
if (m.includes(".stories.")) {
|
|
3586
|
-
const
|
|
3587
|
-
hi(
|
|
3591
|
+
const v = u.toString("utf8");
|
|
3592
|
+
hi(v, m, e);
|
|
3588
3593
|
return;
|
|
3589
3594
|
}
|
|
3590
3595
|
const f = s(m);
|
|
3591
3596
|
if (f && a || // Exclude files before paying .toString() cost
|
|
3592
|
-
u.includes(
|
|
3593
|
-
const
|
|
3594
|
-
c(
|
|
3597
|
+
u.includes(ps) && (u.includes(ms) || u.includes(us))) {
|
|
3598
|
+
const v = u.toString("utf8"), S = Zt(m, v);
|
|
3599
|
+
c(S, f);
|
|
3595
3600
|
}
|
|
3596
3601
|
});
|
|
3597
3602
|
else {
|
|
@@ -3604,21 +3609,21 @@ async function cs(e) {
|
|
|
3604
3609
|
hi(f.text, y, e);
|
|
3605
3610
|
continue;
|
|
3606
3611
|
}
|
|
3607
|
-
const
|
|
3608
|
-
(
|
|
3612
|
+
const v = s(y);
|
|
3613
|
+
(v && a || f.text.includes(En) || f.text.includes(bn)) && c(f, v);
|
|
3609
3614
|
}
|
|
3610
3615
|
}
|
|
3611
3616
|
function p(m, u) {
|
|
3612
3617
|
r.push(m);
|
|
3613
|
-
const f = u ?
|
|
3618
|
+
const f = u ? Zn(m.text)?.[0] : void 0;
|
|
3614
3619
|
if (f !== void 0) {
|
|
3615
3620
|
const y = m.fileName.slice(e.basePath.length);
|
|
3616
|
-
|
|
3621
|
+
eo(f, e, y);
|
|
3617
3622
|
}
|
|
3618
3623
|
}
|
|
3619
3624
|
function d(m) {
|
|
3620
3625
|
e.file = m;
|
|
3621
|
-
const u =
|
|
3626
|
+
const u = cs(m, e);
|
|
3622
3627
|
u !== void 0 && t.push(u);
|
|
3623
3628
|
}
|
|
3624
3629
|
for (let m = 0; m < r.length; ++m)
|
|
@@ -3628,34 +3633,34 @@ async function cs(e) {
|
|
|
3628
3633
|
do {
|
|
3629
3634
|
m = !1;
|
|
3630
3635
|
for (const u in e.implicitPublicModules) {
|
|
3631
|
-
const f = e.implicitPublicModules[u], y = f.actualModulePath ?? u,
|
|
3636
|
+
const f = e.implicitPublicModules[u], y = f.actualModulePath ?? u, v = e.moduleMap.get(y);
|
|
3632
3637
|
if (f.extractedNames === void 0)
|
|
3633
3638
|
continue;
|
|
3634
3639
|
if (f.pendingNames !== void 0) {
|
|
3635
3640
|
const E = e.watchFiles?.get(e.config.context.basePath + f.sourcePath);
|
|
3636
3641
|
let b = !(E !== void 0 && E.module === void 0 && !E.isEmptyModule);
|
|
3637
|
-
const
|
|
3642
|
+
const g = v === void 0 ? void 0 : R(v).index;
|
|
3638
3643
|
for (const L of f.pendingNames)
|
|
3639
|
-
if (!f.extractedNames.has(L) && (
|
|
3644
|
+
if (!f.extractedNames.has(L) && (g === void 0 || (L === "default" ? g.default === void 0 : g.named[L] === void 0))) {
|
|
3640
3645
|
b = !1;
|
|
3641
3646
|
break;
|
|
3642
3647
|
}
|
|
3643
3648
|
if (b)
|
|
3644
3649
|
continue;
|
|
3645
3650
|
}
|
|
3646
|
-
if (
|
|
3647
|
-
t.splice(t.indexOf(
|
|
3648
|
-
const E = e.watchFiles?.get(
|
|
3651
|
+
if (v !== void 0) {
|
|
3652
|
+
t.splice(t.indexOf(v), 1);
|
|
3653
|
+
const E = e.watchFiles?.get(v.sourcePath);
|
|
3649
3654
|
E !== void 0 && (E.module = void 0);
|
|
3650
3655
|
}
|
|
3651
3656
|
m = !0, f.extractedNames = f.pendingNames === void 0 ? void 0 : new Set(f.pendingNames);
|
|
3652
|
-
let
|
|
3653
|
-
if (h === void 0 && (h = e.program?.getSourceFile(`${
|
|
3654
|
-
if (ae(
|
|
3655
|
-
const M =
|
|
3656
|
-
|
|
3657
|
+
let S = e.basePath + f.sourcePath, T = !1, h = e.program?.getSourceFile(S) ?? e.program?.getSourceFile(`${S}.ts`) ?? e.program?.getSourceFile(`${S}.tsx`) ?? e.program?.getSourceFile(`${S}.d.ts`);
|
|
3658
|
+
if (h === void 0 && (h = e.program?.getSourceFile(`${S}/index.ts`) ?? e.program?.getSourceFile(`${S}/index.tsx`) ?? e.program?.getSourceFile(`${S}/index.d.ts`), h !== void 0 && (T = !0)), e.program === void 0) {
|
|
3659
|
+
if (ae(S) === S) {
|
|
3660
|
+
const M = S;
|
|
3661
|
+
S = De(`${M}.ts`) ? `${M}.ts` : De(`${M}.tsx`) ? `${M}.tsx` : De(`${M}.d.ts`) ? `${M}.d.ts` : void 0, S === void 0 && (S = De(`${M}/index.ts`) ? `${M}/index.ts` : De(`${M}/index.tsx`) ? `${M}/index.tsx` : De(`${M}/index.d.ts`) ? `${M}/index.d.ts` : void 0, S !== void 0 && (T = !0));
|
|
3657
3662
|
}
|
|
3658
|
-
|
|
3663
|
+
S !== void 0 && (h = Zt(S, await ui(S, "utf8")));
|
|
3659
3664
|
}
|
|
3660
3665
|
if (h !== void 0) {
|
|
3661
3666
|
const E = h.fileName.slice(e.basePath.length);
|
|
@@ -3666,13 +3671,13 @@ async function cs(e) {
|
|
|
3666
3671
|
}
|
|
3667
3672
|
return t;
|
|
3668
3673
|
}
|
|
3669
|
-
const Yt = (e, t) =>
|
|
3670
|
-
|
|
3671
|
-
) && !e.includes("node_modules"), Oi = 32,
|
|
3672
|
-
async function
|
|
3673
|
-
await
|
|
3674
|
+
const Yt = (e, t) => Cn(e) && Tn(e, t), Cn = (e) => (e.endsWith(".ts") || e.endsWith(".tsx")) && !di(e), di = (e) => e.includes("__test") || e.includes(".e2e.") || e.includes(".spec.") || e.includes(".test."), Tn = (e, t) => e.startsWith(t.basePath) && !t.config.context.excludedDirectories.has(
|
|
3675
|
+
Ao(e.slice(t.basePath.length))
|
|
3676
|
+
) && !e.includes("node_modules"), Oi = 32, ps = 64, En = "@public", ms = Buffer.from(En), bn = "@internal", us = Buffer.from(bn);
|
|
3677
|
+
async function fs(e) {
|
|
3678
|
+
await Qn(e) && await Pn(e, /* @__PURE__ */ new Set(), Xn);
|
|
3674
3679
|
}
|
|
3675
|
-
async function
|
|
3680
|
+
async function Pn(e, t, n) {
|
|
3676
3681
|
const i = [], o = [];
|
|
3677
3682
|
for await (const d of await fi(e)) {
|
|
3678
3683
|
const m = `${e}${d.name}`;
|
|
@@ -3722,7 +3727,7 @@ function Zt(e, t) {
|
|
|
3722
3727
|
e.endsWith("ts") ? l.ScriptKind.TS : l.ScriptKind.TSX
|
|
3723
3728
|
);
|
|
3724
3729
|
}
|
|
3725
|
-
const K = "/** @deprecated since 5.0. Refactor using \\@arcgis/codemod */",
|
|
3730
|
+
const K = "/** @deprecated since 5.0. Refactor using \\@arcgis/codemod */", ys = `${K}
|
|
3726
3731
|
type HashMap<T> = Record<string, T | undefined>;
|
|
3727
3732
|
${K}
|
|
3728
3733
|
type nullish = null | undefined;
|
|
@@ -3744,7 +3749,7 @@ declare namespace __esri {
|
|
|
3744
3749
|
${K}
|
|
3745
3750
|
export type ReadonlyAccessor = Omit<Accessor, "set" | "_set" | "destroy" | "notifyChange" | "_get">;
|
|
3746
3751
|
|
|
3747
|
-
`,
|
|
3752
|
+
`, gs = `
|
|
3748
3753
|
|
|
3749
3754
|
${K}
|
|
3750
3755
|
export namespace CIM {
|
|
@@ -4804,20 +4809,20 @@ declare namespace __esri {
|
|
|
4804
4809
|
${K}
|
|
4805
4810
|
export type On = (eventName: string, eventHandler: EventHandlerCallback) => IHandle;
|
|
4806
4811
|
}`;
|
|
4807
|
-
let de, Y,
|
|
4808
|
-
function
|
|
4809
|
-
|
|
4812
|
+
let de, Y, he, me, te = "", ge = "", He = "", rt = "";
|
|
4813
|
+
function vs(e, t) {
|
|
4814
|
+
he = void 0, me = void 0, ge = e.path, He = "", rt = "";
|
|
4810
4815
|
const n = `import("./${ge}.js")`;
|
|
4811
4816
|
let i = "";
|
|
4812
|
-
const o = e.exports?.[0]?.declaration.name, r =
|
|
4817
|
+
const o = e.exports?.[0]?.declaration.name, r = R(e);
|
|
4813
4818
|
if (r.constructorPropertiesInterface !== void 0) {
|
|
4814
4819
|
const s = r.constructorPropertiesInterface;
|
|
4815
|
-
|
|
4820
|
+
wi(s), j.length !== 0 && (i += Ni(s, ge, s.name, t));
|
|
4816
4821
|
}
|
|
4817
4822
|
let a;
|
|
4818
4823
|
for (let s = 0; s < e.declarations.length; ++s) {
|
|
4819
4824
|
const c = e.declarations[s];
|
|
4820
|
-
if (
|
|
4825
|
+
if (wi(c), j.length === 0)
|
|
4821
4826
|
continue;
|
|
4822
4827
|
const p = c.name === o, d = p ? "default" : c.name, m = c.kind === "function", u = c.kind === "variable";
|
|
4823
4828
|
if (m || u) {
|
|
@@ -4826,10 +4831,10 @@ function gs(e, t) {
|
|
|
4826
4831
|
continue;
|
|
4827
4832
|
if (a = c.name, p) {
|
|
4828
4833
|
j.length !== 1 && t.emitError("Expected only a single @esriCompatibilityName tag on a default export function.", {
|
|
4829
|
-
file:
|
|
4834
|
+
file: R(e).file,
|
|
4830
4835
|
node: void 0
|
|
4831
4836
|
}), Ke(j[0], t), Y === void 0 && t.emitError("Expected default export @esriCompatibilityName tag to include a #", {
|
|
4832
|
-
file:
|
|
4837
|
+
file: R(e).file,
|
|
4833
4838
|
node: void 0
|
|
4834
4839
|
}), i += ` ${K}
|
|
4835
4840
|
interface ${Y} {
|
|
@@ -4844,10 +4849,10 @@ function gs(e, t) {
|
|
|
4844
4849
|
}
|
|
4845
4850
|
} else if (u && p) {
|
|
4846
4851
|
j.length !== 1 && t.emitError("Expected only a single @esriCompatibilityName tag on a default export variable.", {
|
|
4847
|
-
file:
|
|
4852
|
+
file: R(e).file,
|
|
4848
4853
|
node: void 0
|
|
4849
4854
|
}), Ke(j[0], t), (Y !== void 0 || de !== void 0) && t.emitError("Expected default export @esriCompatibilityName tag to not include a # or .", {
|
|
4850
|
-
file:
|
|
4855
|
+
file: R(e).file,
|
|
4851
4856
|
node: void 0
|
|
4852
4857
|
}), i += ` export const ${te}: typeof ${n}.default;
|
|
4853
4858
|
|
|
@@ -4855,37 +4860,37 @@ function gs(e, t) {
|
|
|
4855
4860
|
continue;
|
|
4856
4861
|
}
|
|
4857
4862
|
for (let f = 0; f < j.length; ++f)
|
|
4858
|
-
Ke(j[f], t), u &&
|
|
4863
|
+
Ke(j[f], t), u && he !== void 0 ? He += ` export const ${te}: ${n}.${d};
|
|
4859
4864
|
` : rt += ` ${te}: typeof ${n}.${d};
|
|
4860
4865
|
`;
|
|
4861
4866
|
} else if (c.kind === "class" || c.kind === "mixin" || c.kind === "interface" && fe(c).isMixinBaseClass === !0) {
|
|
4862
|
-
const f = st(qe(c.typeParameters, !1, ge)), y = st(qe(c.typeParameters, !1, void 0)),
|
|
4867
|
+
const f = st(qe(c.typeParameters, !1, ge)), y = st(qe(c.typeParameters, !1, void 0)), v = st(qe(c.typeParameters, !0, void 0)), S = ` ${n}.${d}`;
|
|
4863
4868
|
for (let T = 0; T < j.length; ++T) {
|
|
4864
4869
|
if (Ke(j[T], t), te.startsWith("$")) {
|
|
4865
4870
|
const E = te.slice(1);
|
|
4866
|
-
i +=
|
|
4871
|
+
i += Ss(E, c, d, ge);
|
|
4867
4872
|
continue;
|
|
4868
4873
|
}
|
|
4869
4874
|
const h = de === void 0 ? " " : " ";
|
|
4870
4875
|
i += `${h}${K}
|
|
4871
|
-
${h}export type ${te}${f} =${
|
|
4872
|
-
${h}export const ${te}: typeof${
|
|
4876
|
+
${h}export type ${te}${f} =${S}${y};
|
|
4877
|
+
${h}export const ${te}: typeof${S}${v};
|
|
4873
4878
|
|
|
4874
4879
|
`;
|
|
4875
4880
|
}
|
|
4876
|
-
} else c.kind === "interface" && (i +=
|
|
4881
|
+
} else c.kind === "interface" && (i += Ni(c, ge, d, t));
|
|
4877
4882
|
}
|
|
4878
|
-
return He.length > 0 && (
|
|
4879
|
-
file:
|
|
4883
|
+
return He.length > 0 && (he === void 0 && t.emitError("Invalid @esriCompatibilityName usage: Namespace name was not set correctly.", {
|
|
4884
|
+
file: R(e).file,
|
|
4880
4885
|
node: void 0
|
|
4881
4886
|
}), i += ` ${K}
|
|
4882
|
-
namespace ${
|
|
4887
|
+
namespace ${he} {
|
|
4883
4888
|
${He.slice(0, -1)} }
|
|
4884
4889
|
|
|
4885
4890
|
`), rt.length > 0 && (me === void 0 && t.emitError(
|
|
4886
4891
|
"Invalid @esriCompatibilityName usage: Classdec module interface name was not set correctly.",
|
|
4887
4892
|
{
|
|
4888
|
-
file:
|
|
4893
|
+
file: R(e).file,
|
|
4889
4894
|
node: void 0
|
|
4890
4895
|
}
|
|
4891
4896
|
), i += ` ${K}
|
|
@@ -4896,7 +4901,7 @@ ${rt} }
|
|
|
4896
4901
|
|
|
4897
4902
|
`), i;
|
|
4898
4903
|
}
|
|
4899
|
-
function
|
|
4904
|
+
function Ni(e, t, n, i) {
|
|
4900
4905
|
const o = st(qe(e.typeParameters, !1, void 0)), r = qe(e.typeParameters, !1, t), a = `import("./${t}.js").${n}${o}`;
|
|
4901
4906
|
let s = "";
|
|
4902
4907
|
for (let c = 0; c < j.length; ++c) {
|
|
@@ -4919,12 +4924,12 @@ function qe(e, t, n) {
|
|
|
4919
4924
|
for (let o = 0; o < e.length; ++o) {
|
|
4920
4925
|
const r = e[o];
|
|
4921
4926
|
if (n !== void 0) {
|
|
4922
|
-
const a = r.constraint === void 0 ? void 0 :
|
|
4927
|
+
const a = r.constraint === void 0 ? void 0 : $t(r.constraint, n), s = r.default === void 0 ? a ?? {
|
|
4923
4928
|
text: "any",
|
|
4924
4929
|
references: void 0,
|
|
4925
4930
|
values: void 0,
|
|
4926
4931
|
source: void 0
|
|
4927
|
-
} :
|
|
4932
|
+
} : $t(r.default, n);
|
|
4928
4933
|
i.push({
|
|
4929
4934
|
...r,
|
|
4930
4935
|
default: s,
|
|
@@ -4955,14 +4960,14 @@ function qe(e, t, n) {
|
|
|
4955
4960
|
}
|
|
4956
4961
|
const ut = [];
|
|
4957
4962
|
let j = ut;
|
|
4958
|
-
function
|
|
4959
|
-
e.kind === "variable" ? j = ii(e).esriCompatibilityNames ?? ut : e.kind === "function" ? j =
|
|
4963
|
+
function wi(e) {
|
|
4964
|
+
e.kind === "variable" ? j = ii(e).esriCompatibilityNames ?? ut : e.kind === "function" ? j = Pt(e).esriCompatibilityNames ?? ut : j = fe(e).esriCompatibilityNames ?? ut;
|
|
4960
4965
|
}
|
|
4961
4966
|
function Ke(e, t) {
|
|
4962
4967
|
const n = e.indexOf(".");
|
|
4963
4968
|
if (n !== -1) {
|
|
4964
|
-
de = e.slice(0, n), Y = void 0, te = e.slice(n + 1),
|
|
4965
|
-
`Invalid @esriCompatibilityName usage: Multiple different namespaces in a single file are not supported. Found ${
|
|
4969
|
+
de = e.slice(0, n), Y = void 0, te = e.slice(n + 1), he === void 0 ? he = de : he !== de && t.emitError(
|
|
4970
|
+
`Invalid @esriCompatibilityName usage: Multiple different namespaces in a single file are not supported. Found ${he} and ${de}`,
|
|
4966
4971
|
{
|
|
4967
4972
|
file: void 0,
|
|
4968
4973
|
scope: ge,
|
|
@@ -4985,9 +4990,9 @@ function Ke(e, t) {
|
|
|
4985
4990
|
}
|
|
4986
4991
|
de = void 0, Y = void 0, te = e;
|
|
4987
4992
|
}
|
|
4988
|
-
function
|
|
4989
|
-
const o =
|
|
4990
|
-
t.name.startsWith(j[0]) ? j[0] : t.name}${Xi(e)}Event`, s =
|
|
4993
|
+
function Ss(e, t, n, i) {
|
|
4994
|
+
const o = hs(e, t.events), a = `${// IdentityManager fake class got renamed to IdentityManagerBase real class
|
|
4995
|
+
t.name.startsWith(j[0]) ? j[0] : t.name}${Xi(e)}Event`, s = Cs(o, i) ?? ` = import("./${i}.js").${n}["@eventTypes"]["${e}"]`, c = s.startsWith("<") ? s.indexOf(">") + 1 : -1, p = c !== -1 ? s.slice(0, c) : "";
|
|
4991
4996
|
return ` ${K}
|
|
4992
4997
|
export type ${a}${s};
|
|
4993
4998
|
${K}
|
|
@@ -4995,7 +5000,7 @@ function vs(e, t, n, i) {
|
|
|
4995
5000
|
|
|
4996
5001
|
`;
|
|
4997
5002
|
}
|
|
4998
|
-
function
|
|
5003
|
+
function hs(e, t) {
|
|
4999
5004
|
if (t !== void 0)
|
|
5000
5005
|
for (let n = 0; n < t.length; ++n) {
|
|
5001
5006
|
const i = t[n];
|
|
@@ -5003,7 +5008,7 @@ function Ss(e, t) {
|
|
|
5003
5008
|
return i;
|
|
5004
5009
|
}
|
|
5005
5010
|
}
|
|
5006
|
-
function
|
|
5011
|
+
function Cs(e, t) {
|
|
5007
5012
|
const n = e?.type;
|
|
5008
5013
|
if (t = e?.inheritedFrom?.module ?? t, n?.references?.length === 1) {
|
|
5009
5014
|
const r = n.references[0];
|
|
@@ -5016,16 +5021,16 @@ function hs(e, t) {
|
|
|
5016
5021
|
if (!(i.package !== void 0 || o.package !== void 0 || o.module !== void 0 || o.viewUrl !== void 0) && n.text === `${i.name}<${o.name}>`)
|
|
5017
5022
|
return t = i.module ?? t, `<${o.name}> = import("./${t}.js").${i.name}<${o.name}>`;
|
|
5018
5023
|
}
|
|
5019
|
-
function
|
|
5020
|
-
let n =
|
|
5024
|
+
function Ts(e, t) {
|
|
5025
|
+
let n = ys;
|
|
5021
5026
|
for (let i = 0; i < e.length; ++i) {
|
|
5022
5027
|
const o = e[i];
|
|
5023
|
-
n +=
|
|
5028
|
+
n += vs(o, t);
|
|
5024
5029
|
}
|
|
5025
|
-
return n +
|
|
5030
|
+
return n + gs;
|
|
5026
5031
|
}
|
|
5027
|
-
function
|
|
5028
|
-
let i =
|
|
5032
|
+
function Es(e, t, n) {
|
|
5033
|
+
let i = Ps(t.file);
|
|
5029
5034
|
const o = t.importsMap, r = /* @__PURE__ */ Object.create(null);
|
|
5030
5035
|
for (const a in o) {
|
|
5031
5036
|
const s = o[a];
|
|
@@ -5048,12 +5053,12 @@ function Ts(e, t, n) {
|
|
|
5048
5053
|
const p = s.replacementName ?? a;
|
|
5049
5054
|
if (s.type === "named") {
|
|
5050
5055
|
if (s.modulePath !== void 0) {
|
|
5051
|
-
const u = s.actualName ?? p, f = n.moduleMap.get(s.modulePath), y = f === void 0 ? void 0 :
|
|
5056
|
+
const u = s.actualName ?? p, f = n.moduleMap.get(s.modulePath), y = f === void 0 ? void 0 : R(f);
|
|
5052
5057
|
if (y?.index.named[u] === void 0) {
|
|
5053
5058
|
if (n.privateMixinModuleNames.has(s.modulePath))
|
|
5054
5059
|
continue;
|
|
5055
5060
|
n.emitError(
|
|
5056
|
-
`The ${G("red", u)} imported from ${G("red", f?.sourcePath ?? s.modulePath)} is
|
|
5061
|
+
`The ${G("red", u)} imported from ${G("red", f?.sourcePath ?? s.modulePath)} is used in the type of a @public declaration. ${bs(u, s.modulePath, y, n)}`,
|
|
5057
5062
|
{
|
|
5058
5063
|
file: t.file,
|
|
5059
5064
|
node: void 0
|
|
@@ -5066,7 +5071,7 @@ function Ts(e, t, n) {
|
|
|
5066
5071
|
r[c] = d === void 0 ? m : `${d}, ${m}`;
|
|
5067
5072
|
} else if (s.type === "default") {
|
|
5068
5073
|
if (s.modulePath !== void 0) {
|
|
5069
|
-
const d = n.moduleMap.get(s.modulePath), m = d === void 0 ? void 0 :
|
|
5074
|
+
const d = n.moduleMap.get(s.modulePath), m = d === void 0 ? void 0 : R(d);
|
|
5070
5075
|
m?.index.default === void 0 ? n.emitError(
|
|
5071
5076
|
`The default exported declaration in ${G("red", d?.sourcePath ?? s.modulePath)} is not @public but used in the type of a @public declaration. Add /** @public */ JSDoc or refactor out the usage.`,
|
|
5072
5077
|
{
|
|
@@ -5086,14 +5091,14 @@ function Ts(e, t, n) {
|
|
|
5086
5091
|
file: t.file,
|
|
5087
5092
|
node: void 0
|
|
5088
5093
|
}
|
|
5089
|
-
) : c = lt(t.dtsPath,
|
|
5094
|
+
) : c = lt(t.dtsPath, R(d).dtsPath);
|
|
5090
5095
|
}
|
|
5091
5096
|
p === "__esri" ? i = `/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
5092
5097
|
${i}` : i += `import type * as ${p} from "${c}";
|
|
5093
5098
|
`;
|
|
5094
5099
|
}
|
|
5095
5100
|
if (s.modulePath !== void 0 && n.watchFiles !== void 0) {
|
|
5096
|
-
const d = n.moduleMap.get(s.modulePath), u = (d === void 0 ? void 0 :
|
|
5101
|
+
const d = n.moduleMap.get(s.modulePath), u = (d === void 0 ? void 0 : R(d))?.file.fileName.slice(n.config.context.cwd.length);
|
|
5097
5102
|
u !== void 0 && (n.watchFiles.get(e.sourcePath).dependencies.add(u), n.watchFiles.get(u).dependents.set(e.sourcePath, !0));
|
|
5098
5103
|
}
|
|
5099
5104
|
}
|
|
@@ -5106,7 +5111,24 @@ ${i}` : i += `import type * as ${p} from "${c}";
|
|
|
5106
5111
|
t.importsText = i;
|
|
5107
5112
|
}
|
|
5108
5113
|
}
|
|
5109
|
-
function
|
|
5114
|
+
function bs(e, t, n, i) {
|
|
5115
|
+
const o = n?.file ?? [".ts", ".tsx", ".d.ts"].map((r) => i.program?.getSourceFile(`${i.basePath}${t}${r}`)).find((r) => r !== void 0);
|
|
5116
|
+
if (o !== void 0)
|
|
5117
|
+
for (const r of o.statements) {
|
|
5118
|
+
if (l.isEnumDeclaration(r) && r.name.text === e)
|
|
5119
|
+
return "Enums are not supported by API Extractor. See https://webgis.esri.com/references/api-extractor/api-node-kinds#enums.";
|
|
5120
|
+
if (l.isModuleDeclaration(r) && r.name.text === e)
|
|
5121
|
+
return "Namespaces are not supported as imported public declarations. See https://devtopia.esri.com/WebGIS/arcgis-js-api/discussions/72194.";
|
|
5122
|
+
if (l.isExportDeclaration(r) && r.moduleSpecifier !== void 0 && (r.exportClause === void 0 || l.isNamedExports(r.exportClause) && r.exportClause.elements.some((s) => s.name.text === e) || l.isNamespaceExport(r.exportClause) && r.exportClause.name.text === e))
|
|
5123
|
+
return `This file re-exports ${e}. Import it from the file that defines it instead.`;
|
|
5124
|
+
}
|
|
5125
|
+
return i.moduleMap.get(`${t}/index`)?.declarations.some((r) => r.name === e) ? "Import from the explicit /index module instead of the folder path." : o?.statements.some(
|
|
5126
|
+
(r) => (l.isClassDeclaration(r) || l.isFunctionDeclaration(r) || l.isInterfaceDeclaration(r) || l.isTypeAliasDeclaration(r)) && r.name?.text === e || l.isVariableStatement(r) && r.declarationList.declarations.some(
|
|
5127
|
+
(a) => l.isIdentifier(a.name) && a.name.text === e
|
|
5128
|
+
)
|
|
5129
|
+
) ? "The declaration is not @public. Add /** @public */ JSDoc or refactor out the usage." : "No supported @public declaration with this name was found in the imported module. Check the import path and name, or refactor out the usage.";
|
|
5130
|
+
}
|
|
5131
|
+
function Ps(e) {
|
|
5110
5132
|
let t = "";
|
|
5111
5133
|
for (let n = 0; n < e.libReferenceDirectives.length; ++n) {
|
|
5112
5134
|
const i = e.libReferenceDirectives[n];
|
|
@@ -5125,20 +5147,20 @@ function Es(e) {
|
|
|
5125
5147
|
}
|
|
5126
5148
|
return t;
|
|
5127
5149
|
}
|
|
5128
|
-
function
|
|
5150
|
+
function Ms(e, t, n, i) {
|
|
5129
5151
|
const o = e.references;
|
|
5130
5152
|
if (o !== void 0) {
|
|
5131
5153
|
if (t.autoCastingRequiresType === void 0 && o.length > 1 && o[0].module === "core/Collection")
|
|
5132
5154
|
if (o.length > 2)
|
|
5133
5155
|
t.autoCastingRequiresType = !0;
|
|
5134
5156
|
else {
|
|
5135
|
-
const r = o[1], a = r.module === void 0 ? n : i.moduleMap.get(r.module), s = a === void 0 ? void 0 :
|
|
5136
|
-
|
|
5157
|
+
const r = o[1], a = r.module === void 0 ? n : i.moduleMap.get(r.module), s = a === void 0 ? void 0 : R(a), c = r.name === "default" ? s?.index.default : s?.index.named[r.name];
|
|
5158
|
+
Dn(c) && (t.autoCastingRequiresType = !0);
|
|
5137
5159
|
}
|
|
5138
|
-
return
|
|
5160
|
+
return Mn(e, t, i, n, o);
|
|
5139
5161
|
}
|
|
5140
5162
|
}
|
|
5141
|
-
function
|
|
5163
|
+
function Mn(e, t, n, i, o) {
|
|
5142
5164
|
for (let r = o.length - 1; r >= 0; r--) {
|
|
5143
5165
|
const a = o[r];
|
|
5144
5166
|
if (a.package !== void 0) {
|
|
@@ -5146,44 +5168,44 @@ function Pn(e, t, n, i, o) {
|
|
|
5146
5168
|
e,
|
|
5147
5169
|
o,
|
|
5148
5170
|
r,
|
|
5149
|
-
{ type:
|
|
5171
|
+
{ type: Ds, inheritedFrom: void 0 },
|
|
5150
5172
|
n,
|
|
5151
5173
|
i,
|
|
5152
5174
|
t
|
|
5153
5175
|
);
|
|
5154
5176
|
continue;
|
|
5155
5177
|
}
|
|
5156
|
-
const s = a.module === void 0 ? i : n.moduleMap.get(a.module), c = s === void 0 ? void 0 :
|
|
5157
|
-
if (
|
|
5178
|
+
const s = a.module === void 0 ? i : n.moduleMap.get(a.module), c = s === void 0 ? void 0 : R(s), p = a.name === "default" ? c?.index.default : c?.index.named[a.name];
|
|
5179
|
+
if (Dn(p)) {
|
|
5158
5180
|
const m = `(${p.type.text})`, u = e.text;
|
|
5159
5181
|
e.text = `${e.text.slice(0, a.start)}${m}${e.text.slice(a.end)}`;
|
|
5160
|
-
const f = e.text, y = a.start + 1,
|
|
5182
|
+
const f = e.text, y = a.start + 1, v = [];
|
|
5161
5183
|
for (let T = 0; T < p.type.references.length; ++T) {
|
|
5162
5184
|
const h = p.type.references[T], E = h.module ?? s?.path, M = E === i.path;
|
|
5163
|
-
|
|
5185
|
+
v.push({
|
|
5164
5186
|
...h,
|
|
5165
5187
|
module: M ? void 0 : E,
|
|
5166
5188
|
start: h.start + y,
|
|
5167
5189
|
end: h.end + y
|
|
5168
5190
|
});
|
|
5169
5191
|
}
|
|
5170
|
-
if (
|
|
5192
|
+
if (Mn(e, t, n, i, v), e.text === f) {
|
|
5171
5193
|
e.text = u;
|
|
5172
5194
|
continue;
|
|
5173
5195
|
}
|
|
5174
|
-
o.splice(r, 1, ...
|
|
5175
|
-
const
|
|
5176
|
-
Qe(o,
|
|
5196
|
+
o.splice(r, 1, ...v);
|
|
5197
|
+
const S = e.text.length - u.length;
|
|
5198
|
+
Qe(o, S, r + v.length);
|
|
5177
5199
|
continue;
|
|
5178
5200
|
}
|
|
5179
5201
|
if (p?.kind !== "class")
|
|
5180
5202
|
continue;
|
|
5181
|
-
const d =
|
|
5203
|
+
const d = xn(p, s, void 0, n);
|
|
5182
5204
|
if (d === void 0) {
|
|
5183
5205
|
n.emitError(
|
|
5184
5206
|
`Failed to resolve auto-castable type for ${G("red", p.name)} from ${G("red", s.sourcePath)}. Ensure the class either has a public constructor or a public ${G("green", p.name)}Properties interface. Auto-casting resolution was attempted because this class is used in an autocastable property in ${G("blue", i.sourcePath)} in type ${G("blue", e.text)}.`,
|
|
5185
5207
|
{
|
|
5186
|
-
file:
|
|
5208
|
+
file: R(s).file,
|
|
5187
5209
|
node: void 0
|
|
5188
5210
|
}
|
|
5189
5211
|
);
|
|
@@ -5200,14 +5222,14 @@ function Pn(e, t, n, i, o) {
|
|
|
5200
5222
|
);
|
|
5201
5223
|
}
|
|
5202
5224
|
}
|
|
5203
|
-
function
|
|
5204
|
-
const o =
|
|
5225
|
+
function xn(e, t, n, i) {
|
|
5226
|
+
const o = R(t), r = o.constructorAutoCastType;
|
|
5205
5227
|
if (r !== void 0)
|
|
5206
5228
|
return r;
|
|
5207
|
-
const a =
|
|
5229
|
+
const a = xs(e, t, n, i);
|
|
5208
5230
|
return a !== void 0 && (o.constructorAutoCastType = a), a;
|
|
5209
5231
|
}
|
|
5210
|
-
function
|
|
5232
|
+
function xs(e, t, n, i) {
|
|
5211
5233
|
if (e.members !== void 0)
|
|
5212
5234
|
for (let a = 0; a < e.members.length; ++a) {
|
|
5213
5235
|
const s = e.members[a];
|
|
@@ -5222,7 +5244,7 @@ function Ps(e, t, n, i) {
|
|
|
5222
5244
|
inheritedFrom: n?.path
|
|
5223
5245
|
};
|
|
5224
5246
|
}
|
|
5225
|
-
const r =
|
|
5247
|
+
const r = R(t).constructorPropertiesInterface;
|
|
5226
5248
|
if (r !== void 0)
|
|
5227
5249
|
return { type: {
|
|
5228
5250
|
text: r.name,
|
|
@@ -5240,9 +5262,9 @@ function Ps(e, t, n, i) {
|
|
|
5240
5262
|
source: void 0
|
|
5241
5263
|
}, inheritedFrom: n?.path };
|
|
5242
5264
|
if (e.superclass !== void 0) {
|
|
5243
|
-
const a = e.superclass.module === void 0 ? t : i.moduleMap.get(e.superclass.module), p = (a === void 0 ? void 0 :
|
|
5265
|
+
const a = e.superclass.module === void 0 ? t : i.moduleMap.get(e.superclass.module), p = (a === void 0 ? void 0 : R(a))?.index?.class;
|
|
5244
5266
|
if (p !== void 0)
|
|
5245
|
-
return
|
|
5267
|
+
return xn(p, a, a, i);
|
|
5246
5268
|
}
|
|
5247
5269
|
}
|
|
5248
5270
|
function $i(e, t, n, { type: i, inheritedFrom: o }, r, a, s) {
|
|
@@ -5257,37 +5279,37 @@ function $i(e, t, n, { type: i, inheritedFrom: o }, r, a, s) {
|
|
|
5257
5279
|
let u = 0;
|
|
5258
5280
|
t.splice(n, 1);
|
|
5259
5281
|
for (let f = c.length - 1; f >= 0; f--) {
|
|
5260
|
-
const y = c[f],
|
|
5261
|
-
if (
|
|
5282
|
+
const y = c[f], v = i.text.slice(y.start, y.end);
|
|
5283
|
+
if (v !== y.name && y.name !== "default") {
|
|
5262
5284
|
r.emitError(
|
|
5263
|
-
`Unsupported case: cannot yet handle auto-adding imports for renamed references. Tried to add ${y.name} as ${
|
|
5285
|
+
`Unsupported case: cannot yet handle auto-adding imports for renamed references. Tried to add ${y.name} as ${v} from ${y.module} when resolving auto-casting type.`,
|
|
5264
5286
|
{
|
|
5265
|
-
file:
|
|
5287
|
+
file: R(a).file,
|
|
5266
5288
|
node: void 0
|
|
5267
5289
|
}
|
|
5268
5290
|
);
|
|
5269
5291
|
continue;
|
|
5270
5292
|
}
|
|
5271
|
-
const
|
|
5293
|
+
const S = y.module ?? o ?? d.module, T = (S === void 0 ? void 0 : r.moduleMap.get(S)) ?? a, h = R(T);
|
|
5272
5294
|
if (y.module === void 0 && y.package === void 0 && y.viewUrl === void 0) {
|
|
5273
5295
|
r.emitError(
|
|
5274
5296
|
`Unsupported case: auto-casting type for ${T.sourcePath} uses a type parameter. Failed to automatically turn \`${e.text}\` into an auto-castable type. Refactor out the type parameter, or submit API Extractor feature request to support this case.`,
|
|
5275
5297
|
{
|
|
5276
|
-
file:
|
|
5298
|
+
file: R(a).file,
|
|
5277
5299
|
node: void 0
|
|
5278
5300
|
}
|
|
5279
5301
|
);
|
|
5280
5302
|
continue;
|
|
5281
5303
|
}
|
|
5282
|
-
|
|
5304
|
+
In(y, T, r, a);
|
|
5283
5305
|
const M = d.start, b = {
|
|
5284
5306
|
...y,
|
|
5285
5307
|
start: y.start + M + u,
|
|
5286
5308
|
end: y.end + M + u
|
|
5287
|
-
},
|
|
5288
|
-
if (c.length === 1 && s.autoCastingRequiresType === !0 &&
|
|
5289
|
-
const L = s.autoCastingDefaultType ===
|
|
5290
|
-
u += P, b.end += P, p = p.slice(0, y.start) +
|
|
5309
|
+
}, g = h.typeName;
|
|
5310
|
+
if (c.length === 1 && s.autoCastingRequiresType === !0 && g !== void 0) {
|
|
5311
|
+
const L = s.autoCastingDefaultType === g, D = `(${v} & { type${L ? "?" : ""}: "${g}" })`, P = D.length - v.length;
|
|
5312
|
+
u += P, b.end += P, p = p.slice(0, y.start) + D + p.slice(y.end);
|
|
5291
5313
|
}
|
|
5292
5314
|
t.splice(n, 0, b);
|
|
5293
5315
|
}
|
|
@@ -5297,8 +5319,8 @@ function $i(e, t, n, { type: i, inheritedFrom: o }, r, a, s) {
|
|
|
5297
5319
|
n + (c?.length ?? 0)
|
|
5298
5320
|
), !0;
|
|
5299
5321
|
}
|
|
5300
|
-
function
|
|
5301
|
-
const o =
|
|
5322
|
+
function In(e, t, n, i) {
|
|
5323
|
+
const o = R(i);
|
|
5302
5324
|
if (e.package !== void 0) {
|
|
5303
5325
|
if (e.package === ie)
|
|
5304
5326
|
return;
|
|
@@ -5312,7 +5334,7 @@ function xn(e, t, n, i) {
|
|
|
5312
5334
|
}
|
|
5313
5335
|
if (t === i)
|
|
5314
5336
|
return;
|
|
5315
|
-
const r =
|
|
5337
|
+
const r = R(t), a = e.name === "default" ? r.index.default?.name : e.name;
|
|
5316
5338
|
if (a === void 0) {
|
|
5317
5339
|
n.emitError(
|
|
5318
5340
|
`Failed to resolve the name of the default import from module ${t.sourcePath} when adding auto-casting import for ${e.name}.`,
|
|
@@ -5342,10 +5364,10 @@ function xn(e, t, n, i) {
|
|
|
5342
5364
|
}
|
|
5343
5365
|
) : d.wasUsed = !0;
|
|
5344
5366
|
}
|
|
5345
|
-
function
|
|
5346
|
-
return e?.kind === "interface" && e.members === void 0 && e.supertypes === void 0 && e.type?.references !== void 0 && e.type.references.length > 1 && e.typeParameters === void 0 &&
|
|
5367
|
+
function Dn(e) {
|
|
5368
|
+
return e?.kind === "interface" && e.members === void 0 && e.supertypes === void 0 && e.type?.references !== void 0 && e.type.references.length > 1 && e.typeParameters === void 0 && Is(e.type);
|
|
5347
5369
|
}
|
|
5348
|
-
function
|
|
5370
|
+
function Is(e) {
|
|
5349
5371
|
let t = 0;
|
|
5350
5372
|
for (let n = 0; n < e.references.length; ++n) {
|
|
5351
5373
|
const i = e.references[n], o = e.text.slice(t, i.start).trim();
|
|
@@ -5355,7 +5377,7 @@ function Ms(e) {
|
|
|
5355
5377
|
}
|
|
5356
5378
|
return t === e.text.length;
|
|
5357
5379
|
}
|
|
5358
|
-
const
|
|
5380
|
+
const Ds = {
|
|
5359
5381
|
// Wrap in parents to correctly substitute Date[] in TimeInfo.stops
|
|
5360
5382
|
text: "(Date | number | string)",
|
|
5361
5383
|
references: [
|
|
@@ -5371,10 +5393,10 @@ const xs = {
|
|
|
5371
5393
|
values: void 0,
|
|
5372
5394
|
source: void 0
|
|
5373
5395
|
};
|
|
5374
|
-
function
|
|
5396
|
+
function Rs(e, t) {
|
|
5375
5397
|
const n = e.constructorPropertiesInterface;
|
|
5376
5398
|
n.type = void 0;
|
|
5377
|
-
const i =
|
|
5399
|
+
const i = R(t.apiModule).index.class;
|
|
5378
5400
|
n.typeParameters = i.typeParameters;
|
|
5379
5401
|
const o = i.superclass;
|
|
5380
5402
|
if (o !== void 0) {
|
|
@@ -5465,14 +5487,14 @@ function Ui(e, t) {
|
|
|
5465
5487
|
const n = t.moduleMap.get(e.module);
|
|
5466
5488
|
if (n === void 0)
|
|
5467
5489
|
return;
|
|
5468
|
-
const i =
|
|
5490
|
+
const i = R(n), o = i.constructorPropertiesInterface;
|
|
5469
5491
|
if (o === void 0) {
|
|
5470
5492
|
const s = i.inheritance;
|
|
5471
5493
|
if (typeof s == "object" && s.hasSettableField) {
|
|
5472
5494
|
const c = e.name === "default" ? i.index.class?.name ?? e.name : e.name;
|
|
5473
5495
|
t.emitError(
|
|
5474
5496
|
`This file must have a @public ${G("green", `${c}Properties`)} interface because it contains a public class that has non-readonly public properties and it is being extended by ${t.apiModule.sourcePath}.`,
|
|
5475
|
-
{ file:
|
|
5497
|
+
{ file: R(t.apiModule).file, node: void 0 }
|
|
5476
5498
|
), s.hasSettableField = !1;
|
|
5477
5499
|
}
|
|
5478
5500
|
return;
|
|
@@ -5484,23 +5506,23 @@ function Ui(e, t) {
|
|
|
5484
5506
|
* views/3d/environment/SunLighting as it imports webscene/SunLighting.
|
|
5485
5507
|
* apiReference.name !== class.name for references to mixin base classes.
|
|
5486
5508
|
*/
|
|
5487
|
-
[J]: r === e.name ? void 0 :
|
|
5509
|
+
[J]: r === e.name ? void 0 : ks(r, i.index.class.name),
|
|
5488
5510
|
name: o.name,
|
|
5489
5511
|
module: e.module,
|
|
5490
5512
|
package: e.package,
|
|
5491
5513
|
viewUrl: e.viewUrl,
|
|
5492
5514
|
typeArguments: void 0
|
|
5493
5515
|
};
|
|
5494
|
-
return
|
|
5516
|
+
return In(a, n, t, t.apiModule), a[J] ??= o.name, a;
|
|
5495
5517
|
}
|
|
5496
|
-
function
|
|
5518
|
+
function ks(e, t) {
|
|
5497
5519
|
if (e === void 0 || e === t)
|
|
5498
5520
|
return;
|
|
5499
5521
|
const n = e.indexOf("<");
|
|
5500
5522
|
if (e = n === -1 ? e : e.slice(0, n), e !== t)
|
|
5501
5523
|
return `${e}Properties`;
|
|
5502
5524
|
}
|
|
5503
|
-
function
|
|
5525
|
+
function Ls(e) {
|
|
5504
5526
|
if (e.customElement === void 0)
|
|
5505
5527
|
return;
|
|
5506
5528
|
const t = e, n = [];
|
|
@@ -5517,7 +5539,7 @@ function ks(e) {
|
|
|
5517
5539
|
description: o.description,
|
|
5518
5540
|
inheritedFrom: o.inheritedFrom,
|
|
5519
5541
|
type: r === void 0 || r.length === 0 ? o.type : {
|
|
5520
|
-
text:
|
|
5542
|
+
text: Vr(r),
|
|
5521
5543
|
references: void 0,
|
|
5522
5544
|
values: r,
|
|
5523
5545
|
source: void 0
|
|
@@ -5541,10 +5563,10 @@ const ei = {
|
|
|
5541
5563
|
*/
|
|
5542
5564
|
deferred: 1
|
|
5543
5565
|
};
|
|
5544
|
-
function
|
|
5566
|
+
function As(e, t, n, i) {
|
|
5545
5567
|
const o = e;
|
|
5546
5568
|
i.produceDts && (fe(t).eventTypesProperty = o);
|
|
5547
|
-
const r =
|
|
5569
|
+
const r = R(n), a = `${t.name}Events`;
|
|
5548
5570
|
if (o.type.text !== a && !o.type.text.startsWith(`${a}<`)) {
|
|
5549
5571
|
if (o.type.text === "unknown")
|
|
5550
5572
|
return;
|
|
@@ -5576,7 +5598,7 @@ function Rn(e, t, n, i, o) {
|
|
|
5576
5598
|
o.emitError(
|
|
5577
5599
|
`For documentation purposes, event interface types need to be statically analyzable - include only properties & extends clauses. Found complex type in ${e.name}: ${e.type.text}`,
|
|
5578
5600
|
{
|
|
5579
|
-
file:
|
|
5601
|
+
file: R(n).file,
|
|
5580
5602
|
node: void 0
|
|
5581
5603
|
}
|
|
5582
5604
|
);
|
|
@@ -5589,7 +5611,7 @@ function Rn(e, t, n, i, o) {
|
|
|
5589
5611
|
o.emitError(
|
|
5590
5612
|
`Event interfaces should only contain properties. Found ${ji(s)} of kind ${G("red", s.kind)} in ${e.name}.`,
|
|
5591
5613
|
{
|
|
5592
|
-
file:
|
|
5614
|
+
file: R(n).file,
|
|
5593
5615
|
node: void 0
|
|
5594
5616
|
}
|
|
5595
5617
|
);
|
|
@@ -5616,12 +5638,12 @@ function Rn(e, t, n, i, o) {
|
|
|
5616
5638
|
}
|
|
5617
5639
|
if (e.supertypes !== void 0)
|
|
5618
5640
|
for (let a = 0; a < e.supertypes.length; ++a) {
|
|
5619
|
-
const s = e.supertypes[a], c = s.module === void 0 ? n : o.moduleMap.get(s.module), p =
|
|
5641
|
+
const s = e.supertypes[a], c = s.module === void 0 ? n : o.moduleMap.get(s.module), p = R(c).index.named[s.name];
|
|
5620
5642
|
if (p?.kind !== "interface") {
|
|
5621
5643
|
o.emitError(
|
|
5622
5644
|
`Failed to find @public interface ${G("red", s.name)} (used by ${G("green", e.name)}).`,
|
|
5623
5645
|
{
|
|
5624
|
-
file:
|
|
5646
|
+
file: R(n).file,
|
|
5625
5647
|
node: void 0
|
|
5626
5648
|
}
|
|
5627
5649
|
);
|
|
@@ -5630,8 +5652,8 @@ function Rn(e, t, n, i, o) {
|
|
|
5630
5652
|
Rn(p, t, c, i, o);
|
|
5631
5653
|
}
|
|
5632
5654
|
}
|
|
5633
|
-
function
|
|
5634
|
-
const o =
|
|
5655
|
+
function Gs(e, t, n, i) {
|
|
5656
|
+
const o = R(n);
|
|
5635
5657
|
if (t.customElement !== !0) {
|
|
5636
5658
|
i.emitError(`The "${e.name}" property is only supported on web components`, {
|
|
5637
5659
|
file: o.file,
|
|
@@ -5639,7 +5661,7 @@ function Ls(e, t, n, i) {
|
|
|
5639
5661
|
});
|
|
5640
5662
|
return;
|
|
5641
5663
|
}
|
|
5642
|
-
const r = e.name, a =
|
|
5664
|
+
const r = e.name, a = jr(t.name, r);
|
|
5643
5665
|
if (e.type.text !== a) {
|
|
5644
5666
|
i.emitError(
|
|
5645
5667
|
`The "${r}" property must be of type named "${a}". Found ${G("red", e.type.text)}. ${e.type.text.includes("<") ? "Type parameters on such special interface are not yet supported - open feature request if needed." : ""}`,
|
|
@@ -5661,20 +5683,20 @@ function Ls(e, t, n, i) {
|
|
|
5661
5683
|
);
|
|
5662
5684
|
return;
|
|
5663
5685
|
}
|
|
5664
|
-
o.componentExtrasInterfaces ??= /* @__PURE__ */ new Set(), o.componentExtrasInterfaces.add(s),
|
|
5686
|
+
o.componentExtrasInterfaces ??= /* @__PURE__ */ new Set(), o.componentExtrasInterfaces.add(s), Fs(
|
|
5665
5687
|
s,
|
|
5666
5688
|
t,
|
|
5667
5689
|
n,
|
|
5668
|
-
|
|
5690
|
+
zr(r),
|
|
5669
5691
|
i
|
|
5670
5692
|
);
|
|
5671
5693
|
}
|
|
5672
|
-
function
|
|
5694
|
+
function Fs(e, t, n, i, o) {
|
|
5673
5695
|
if (e.type !== void 0) {
|
|
5674
5696
|
o.emitError(
|
|
5675
5697
|
`For documentation purposes, ${e.name} needs to be statically analyzable - include only properties & extends clauses. Found complex type: ${e.type.text}`,
|
|
5676
5698
|
{
|
|
5677
|
-
file:
|
|
5699
|
+
file: R(n).file,
|
|
5678
5700
|
node: void 0
|
|
5679
5701
|
}
|
|
5680
5702
|
);
|
|
@@ -5687,7 +5709,7 @@ function As(e, t, n, i, o) {
|
|
|
5687
5709
|
o.emitError(
|
|
5688
5710
|
`${e.name} should only contain properties. Found ${ji(a)} of kind ${G("red", a.kind)}.`,
|
|
5689
5711
|
{
|
|
5690
|
-
file:
|
|
5712
|
+
file: R(n).file,
|
|
5691
5713
|
node: void 0
|
|
5692
5714
|
}
|
|
5693
5715
|
);
|
|
@@ -5709,7 +5731,7 @@ function As(e, t, n, i, o) {
|
|
|
5709
5731
|
o.emitError(
|
|
5710
5732
|
`Extending other interfaces is not yet supported for ${e.name}. Found supertypes: ${e.supertypes.map((r) => r.name).join(", ")}. Open feature request if needed.`,
|
|
5711
5733
|
{
|
|
5712
|
-
file:
|
|
5734
|
+
file: R(n).file,
|
|
5713
5735
|
node: void 0
|
|
5714
5736
|
}
|
|
5715
5737
|
);
|
|
@@ -5717,7 +5739,7 @@ function As(e, t, n, i, o) {
|
|
|
5717
5739
|
}
|
|
5718
5740
|
}
|
|
5719
5741
|
function kn(e, t, n) {
|
|
5720
|
-
const i =
|
|
5742
|
+
const i = R(e);
|
|
5721
5743
|
if (i.inheritance !== void 0)
|
|
5722
5744
|
return;
|
|
5723
5745
|
i.inheritance = ei.deferred;
|
|
@@ -5727,13 +5749,13 @@ function kn(e, t, n) {
|
|
|
5727
5749
|
const u = t.members[m];
|
|
5728
5750
|
if (u.kind === "field") {
|
|
5729
5751
|
if (u.name === "@eventTypes") {
|
|
5730
|
-
r = !0,
|
|
5752
|
+
r = !0, As(u, t, e, n), t.members.splice(m, 1), m -= 1;
|
|
5731
5753
|
continue;
|
|
5732
5754
|
} else if (ci(u.name) && t.name !== "LitElement") {
|
|
5733
|
-
|
|
5755
|
+
Gs(u, t, e, n), t.members.splice(m, 1), m -= 1;
|
|
5734
5756
|
continue;
|
|
5735
5757
|
}
|
|
5736
|
-
u.inheritedFrom === void 0 &&
|
|
5758
|
+
u.inheritedFrom === void 0 && Ns(u, e, n);
|
|
5737
5759
|
}
|
|
5738
5760
|
}
|
|
5739
5761
|
const a = t;
|
|
@@ -5743,8 +5765,8 @@ function kn(e, t, n) {
|
|
|
5743
5765
|
do {
|
|
5744
5766
|
const m = p.supertypes.length > 1, u = m ? 1 : 0;
|
|
5745
5767
|
for (let f = p.supertypes.length - 1; f >= u; f--) {
|
|
5746
|
-
const y = p.supertypes[f],
|
|
5747
|
-
s.unshift(
|
|
5768
|
+
const y = p.supertypes[f], v = y.module === void 0 ? { ...y, module: c.module } : y;
|
|
5769
|
+
s.unshift(v);
|
|
5748
5770
|
}
|
|
5749
5771
|
c = m ? p.supertypes[0] : void 0, p = c === void 0 ? void 0 : Vi(c, e, n);
|
|
5750
5772
|
} while (p?.supertypes !== void 0);
|
|
@@ -5774,12 +5796,12 @@ function Wi(e, t, n, i) {
|
|
|
5774
5796
|
const a = t.members, s = i.config.documentation.noInheritMembers[e.inheritanceData.module];
|
|
5775
5797
|
let c = s === void 0 ? void 0 : new Set(s);
|
|
5776
5798
|
for (let d = 0; d < a.length; ++d) {
|
|
5777
|
-
const m = a[d], u =
|
|
5799
|
+
const m = a[d], u = Ut(m), f = e.indexedMembers[u];
|
|
5778
5800
|
if (f === void 0)
|
|
5779
5801
|
continue;
|
|
5780
5802
|
if (c ??= /* @__PURE__ */ new Set(), c.add(u), m.kind === "field") {
|
|
5781
|
-
const
|
|
5782
|
-
Xe(f).isAccessor === !0 && (
|
|
5803
|
+
const v = Xe(m);
|
|
5804
|
+
Xe(f).isAccessor === !0 && (v.isAccessor = !0), v.isOverride = !0;
|
|
5783
5805
|
}
|
|
5784
5806
|
f !== void 0 && m.inheritedFrom === void 0 && ni(f, m);
|
|
5785
5807
|
}
|
|
@@ -5788,40 +5810,40 @@ function Wi(e, t, n, i) {
|
|
|
5788
5810
|
const m = p[d];
|
|
5789
5811
|
// Most classes don't override any public members, so don't even check
|
|
5790
5812
|
// for this if no members were overridden.
|
|
5791
|
-
(c?.has(
|
|
5813
|
+
(c?.has(Ut(m)) ?? !1) || t.members.push(
|
|
5792
5814
|
m.inheritedFrom === void 0 ? { ...m, inheritedFrom: e.inheritanceData } : m
|
|
5793
5815
|
);
|
|
5794
5816
|
}
|
|
5795
5817
|
}
|
|
5796
|
-
!n && e.indexedEvents !== void 0 && (r.events =
|
|
5818
|
+
!n && e.indexedEvents !== void 0 && (r.events = Re(
|
|
5797
5819
|
r.events,
|
|
5798
5820
|
o.events,
|
|
5799
5821
|
e.indexedEvents,
|
|
5800
5822
|
e.inheritanceData
|
|
5801
|
-
)), e.indexedAttributes !== void 0 && (r.attributes =
|
|
5823
|
+
)), e.indexedAttributes !== void 0 && (r.attributes = Re(
|
|
5802
5824
|
r.attributes,
|
|
5803
5825
|
o.attributes,
|
|
5804
5826
|
e.indexedAttributes,
|
|
5805
5827
|
e.inheritanceData
|
|
5806
|
-
)), e.indexedSlots !== void 0 && (r.slots =
|
|
5828
|
+
)), e.indexedSlots !== void 0 && (r.slots = Re(
|
|
5807
5829
|
r.slots,
|
|
5808
5830
|
o.slots,
|
|
5809
5831
|
e.indexedSlots
|
|
5810
|
-
)), e.indexedCssParts !== void 0 && (r.cssParts =
|
|
5832
|
+
)), e.indexedCssParts !== void 0 && (r.cssParts = Re(
|
|
5811
5833
|
r.cssParts,
|
|
5812
5834
|
o.cssParts,
|
|
5813
5835
|
e.indexedCssParts
|
|
5814
|
-
)), e.indexedCssProperties !== void 0 && (r.cssProperties =
|
|
5836
|
+
)), e.indexedCssProperties !== void 0 && (r.cssProperties = Re(
|
|
5815
5837
|
r.cssProperties,
|
|
5816
5838
|
o.cssProperties,
|
|
5817
5839
|
e.indexedCssProperties
|
|
5818
|
-
)), e.indexedCssStates !== void 0 && (r.cssStates =
|
|
5840
|
+
)), e.indexedCssStates !== void 0 && (r.cssStates = Re(
|
|
5819
5841
|
r.cssStates,
|
|
5820
5842
|
o.cssStates,
|
|
5821
5843
|
e.indexedCssStates
|
|
5822
5844
|
)), o.formAssociated === !0 && (r.formAssociated = !0);
|
|
5823
5845
|
}
|
|
5824
|
-
function
|
|
5846
|
+
function Re(e = [], t, n, i) {
|
|
5825
5847
|
const o = /* @__PURE__ */ new Set();
|
|
5826
5848
|
for (let r = 0; r < e.length; ++r) {
|
|
5827
5849
|
const a = e[r], s = n[a.name];
|
|
@@ -5836,7 +5858,7 @@ function ke(e = [], t, n, i) {
|
|
|
5836
5858
|
return e;
|
|
5837
5859
|
}
|
|
5838
5860
|
function Bi(e, t, n) {
|
|
5839
|
-
const i = n.moduleMap.get(e), o =
|
|
5861
|
+
const i = n.moduleMap.get(e), o = Os(i, e, t, n), r = i === void 0 ? void 0 : R(i);
|
|
5840
5862
|
if (o === !1 || i === void 0)
|
|
5841
5863
|
return r !== void 0 ? r.inheritance = ei.skip : t && n.privateMixinModuleNames.add(e), ei.skip;
|
|
5842
5864
|
const [a, s] = o, c = s;
|
|
@@ -5845,8 +5867,8 @@ function Bi(e, t, n) {
|
|
|
5845
5867
|
if (s.members !== void 0) {
|
|
5846
5868
|
p = /* @__PURE__ */ Object.create(null);
|
|
5847
5869
|
for (let u = 0; u < s.members.length; ++u) {
|
|
5848
|
-
const f = s.members[u], y =
|
|
5849
|
-
p[y] =
|
|
5870
|
+
const f = s.members[u], y = Ut(f), S = p[y] !== void 0;
|
|
5871
|
+
p[y] = S ? void 0 : f, d ||= f.kind === "field" && f.readonly === void 0;
|
|
5850
5872
|
}
|
|
5851
5873
|
}
|
|
5852
5874
|
const m = {
|
|
@@ -5859,16 +5881,16 @@ function Bi(e, t, n) {
|
|
|
5859
5881
|
declaration: s,
|
|
5860
5882
|
hasSettableField: d,
|
|
5861
5883
|
indexedMembers: p,
|
|
5862
|
-
indexedEvents:
|
|
5863
|
-
indexedAttributes:
|
|
5864
|
-
indexedSlots:
|
|
5865
|
-
indexedCssParts:
|
|
5866
|
-
indexedCssProperties:
|
|
5867
|
-
indexedCssStates:
|
|
5884
|
+
indexedEvents: ke(s.events),
|
|
5885
|
+
indexedAttributes: ke(c.attributes),
|
|
5886
|
+
indexedSlots: ke(c.slots),
|
|
5887
|
+
indexedCssParts: ke(c.cssParts),
|
|
5888
|
+
indexedCssProperties: ke(c.cssProperties),
|
|
5889
|
+
indexedCssStates: ke(c.cssStates)
|
|
5868
5890
|
};
|
|
5869
5891
|
return r.inheritance = m, m;
|
|
5870
5892
|
}
|
|
5871
|
-
function
|
|
5893
|
+
function ke(e) {
|
|
5872
5894
|
if (e === void 0)
|
|
5873
5895
|
return;
|
|
5874
5896
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -5878,8 +5900,8 @@ function De(e) {
|
|
|
5878
5900
|
}
|
|
5879
5901
|
return t;
|
|
5880
5902
|
}
|
|
5881
|
-
function
|
|
5882
|
-
const o = e === void 0 ? void 0 :
|
|
5903
|
+
function Os(e, t, n, i) {
|
|
5904
|
+
const o = e === void 0 ? void 0 : R(e), r = o?.index.class;
|
|
5883
5905
|
return r === void 0 ? (n || i.emitError(
|
|
5884
5906
|
`Failed to find @public class/custom element declaration in ${G("red", t)}. Referenced in the extends clause by ${G("blue", i.apiModule.sourcePath)}`,
|
|
5885
5907
|
{
|
|
@@ -5892,7 +5914,7 @@ function Gs(e, t, n, i) {
|
|
|
5892
5914
|
function Vi(e, t, n) {
|
|
5893
5915
|
if (e.package !== void 0)
|
|
5894
5916
|
return;
|
|
5895
|
-
const i = e.module === void 0 ? t : n.moduleMap.get(e.module), o = i === void 0 ? void 0 :
|
|
5917
|
+
const i = e.module === void 0 ? t : n.moduleMap.get(e.module), o = i === void 0 ? void 0 : R(i), r = e.name === "default" ? o?.index.default : o?.index.named[e.name];
|
|
5896
5918
|
if (r === void 0) {
|
|
5897
5919
|
n.emitError(
|
|
5898
5920
|
`Failed to find @public class/mixin/custom element declaration in ${G("red", i?.sourcePath ?? e.module ?? t.sourcePath)}. Referenced in the extends clause by ${G("blue", t.sourcePath)}.`,
|
|
@@ -5906,33 +5928,33 @@ function Vi(e, t, n) {
|
|
|
5906
5928
|
}
|
|
5907
5929
|
return r.kind === "interface" ? r : void 0;
|
|
5908
5930
|
}
|
|
5909
|
-
function
|
|
5910
|
-
const i = Xe(e), o =
|
|
5911
|
-
i.hasAutoCasting === !0 && (
|
|
5931
|
+
function Ns(e, t, n) {
|
|
5932
|
+
const i = Xe(e), o = R(t);
|
|
5933
|
+
i.hasAutoCasting === !0 && (Ms(e.type, i, t, n), i.isConstructorOnly !== !0 && e.getterType?.text === e.type.text && (e.getterType = void 0)), i.isConstructorOnly === !0 && (o.constructorOnlySetters ??= {}, o.constructorOnlySetters[e.name] = e.type, e.type = e.getterType ?? e.type, e.getterType = void 0, e.readonly = !0);
|
|
5912
5934
|
}
|
|
5913
|
-
function
|
|
5935
|
+
function ws(e, t, n) {
|
|
5914
5936
|
if (!(n.watchFiles === void 0 || t.reExports === void 0))
|
|
5915
5937
|
for (let i = 0; i < t.reExports.length; ++i) {
|
|
5916
5938
|
const o = t.reExports[i];
|
|
5917
5939
|
if (o.modulePath === void 0)
|
|
5918
5940
|
continue;
|
|
5919
|
-
const r = n.moduleMap.get(o.modulePath), s = (r === void 0 ? void 0 :
|
|
5941
|
+
const r = n.moduleMap.get(o.modulePath), s = (r === void 0 ? void 0 : R(r))?.file.fileName.slice(n.config.context.cwd.length);
|
|
5920
5942
|
s !== void 0 && (n.watchFiles.get(e.sourcePath).dependencies.add(s), n.watchFiles.get(s).dependents.set(e.sourcePath, !0));
|
|
5921
5943
|
}
|
|
5922
5944
|
}
|
|
5923
|
-
function
|
|
5945
|
+
function $s(e, t) {
|
|
5924
5946
|
for (let n = 0; n < e.members.length; ++n) {
|
|
5925
5947
|
const i = e.members[n];
|
|
5926
5948
|
i.deprecated = ce(i.deprecated, t), i.description = Q(i.description, t);
|
|
5927
5949
|
}
|
|
5928
5950
|
}
|
|
5929
|
-
function
|
|
5930
|
-
e.sort(
|
|
5951
|
+
function Us(e, t) {
|
|
5952
|
+
e.sort(jn), Ws(e, t), t.isComponentProject && xo(e, t);
|
|
5931
5953
|
}
|
|
5932
|
-
function
|
|
5954
|
+
function Ws(e, t) {
|
|
5933
5955
|
for (let n = 0; n < e.length; ++n) {
|
|
5934
5956
|
const i = e[n];
|
|
5935
|
-
if (!
|
|
5957
|
+
if (!R(i).isStale)
|
|
5936
5958
|
continue;
|
|
5937
5959
|
t.apiModule = i;
|
|
5938
5960
|
const r = i.deprecated !== void 0;
|
|
@@ -5941,14 +5963,14 @@ function $s(e, t) {
|
|
|
5941
5963
|
r && s.deprecated === void 0 && t.emitError(
|
|
5942
5964
|
`If module is marked as @deprecated, all its declarations must be too. Found non-deprecated ${s.name}`,
|
|
5943
5965
|
{
|
|
5944
|
-
file:
|
|
5966
|
+
file: R(i).file,
|
|
5945
5967
|
node: void 0
|
|
5946
5968
|
}
|
|
5947
|
-
), "members" in s && s.kind !== "interface" && (kn(i, s, t), s.events?.sort(
|
|
5969
|
+
), "members" in s && s.kind !== "interface" && (kn(i, s, t), s.events?.sort(Jn));
|
|
5948
5970
|
}
|
|
5949
5971
|
}
|
|
5950
5972
|
for (let n = 0; n < e.length; ++n) {
|
|
5951
|
-
const i = e[n], o =
|
|
5973
|
+
const i = e[n], o = R(i);
|
|
5952
5974
|
if (!o.isStale) {
|
|
5953
5975
|
const r = t.watchFiles?.get(i.sourcePath);
|
|
5954
5976
|
if (r?.hasDirtyLinks === !0) {
|
|
@@ -5984,15 +6006,15 @@ function $s(e, t) {
|
|
|
5984
6006
|
if (t.inheritedModuleName = m?.module, d.deprecated = ce(d.deprecated, t), d.description = Q(d.description, t), oe(d.docsTags, t), !u && d.kind !== "field") {
|
|
5985
6007
|
if (d.parameters !== void 0)
|
|
5986
6008
|
for (let y = 0; y < d.parameters.length; ++y) {
|
|
5987
|
-
const
|
|
5988
|
-
|
|
6009
|
+
const v = d.parameters[y];
|
|
6010
|
+
v.description = Q(v.description, t), oe(v.docsTags, t);
|
|
5989
6011
|
}
|
|
5990
6012
|
const f = d;
|
|
5991
6013
|
f.return !== void 0 && (f.return.description = Q(f.return.description, t));
|
|
5992
6014
|
}
|
|
5993
6015
|
t.inheritedModuleName = void 0;
|
|
5994
6016
|
}
|
|
5995
|
-
a.kind !== "interface" && s.members.sort(
|
|
6017
|
+
a.kind !== "interface" && s.members.sort(qn);
|
|
5996
6018
|
const c = a;
|
|
5997
6019
|
if (c.events !== void 0) {
|
|
5998
6020
|
for (let p = 0; p < c.events.length; ++p) {
|
|
@@ -6001,7 +6023,7 @@ function $s(e, t) {
|
|
|
6001
6023
|
}
|
|
6002
6024
|
t.inheritedModuleName = void 0;
|
|
6003
6025
|
}
|
|
6004
|
-
if (t.config.context.isLuminaMinimalExtraction ||
|
|
6026
|
+
if (t.config.context.isLuminaMinimalExtraction || Ls(s), c.slots !== void 0)
|
|
6005
6027
|
for (let p = 0; p < c.slots.length; ++p) {
|
|
6006
6028
|
const d = c.slots[p];
|
|
6007
6029
|
d.deprecated = ce(d.deprecated, t), d.description = Q(d.description, t), oe(d.docsTags, t);
|
|
@@ -6028,21 +6050,21 @@ function $s(e, t) {
|
|
|
6028
6050
|
}
|
|
6029
6051
|
} else a === o.constructorPropertiesInterface && (i.declarations.splice(r, 1), r -= 1);
|
|
6030
6052
|
}
|
|
6031
|
-
o.constructorPropertiesInterface !== void 0 ?
|
|
6053
|
+
o.constructorPropertiesInterface !== void 0 ? Rs(o, t) : o.componentCssPropertiesInterface !== void 0 && t.produceDts && $s(o.componentCssPropertiesInterface, t), Es(i, o, t), ws(i, o, t);
|
|
6032
6054
|
}
|
|
6033
6055
|
}
|
|
6034
|
-
function
|
|
6035
|
-
const t = [
|
|
6056
|
+
function Bs(e) {
|
|
6057
|
+
const t = [Vs];
|
|
6036
6058
|
for (let n = 0; n < e.length; ++n) {
|
|
6037
6059
|
const i = e[n];
|
|
6038
|
-
|
|
6060
|
+
mo(i) && t.push(
|
|
6039
6061
|
` "@arcgis/core/${i.path}.js": typeof import("./${i.path}.js")${i.exports === void 0 ? "" : ".default"};
|
|
6040
6062
|
`
|
|
6041
6063
|
);
|
|
6042
6064
|
}
|
|
6043
|
-
return t.push(
|
|
6065
|
+
return t.push(_s), t.join("");
|
|
6044
6066
|
}
|
|
6045
|
-
const
|
|
6067
|
+
const Vs = `declare global {
|
|
6046
6068
|
const $arcgis: ArcgisGlobal;
|
|
6047
6069
|
}
|
|
6048
6070
|
|
|
@@ -6062,8 +6084,8 @@ interface ArcgisImport {
|
|
|
6062
6084
|
}
|
|
6063
6085
|
|
|
6064
6086
|
export interface ArcgisImportModules {
|
|
6065
|
-
`,
|
|
6066
|
-
`,
|
|
6087
|
+
`, _s = `}
|
|
6088
|
+
`, Hs = async function() {
|
|
6067
6089
|
if (this.isRunInProgress)
|
|
6068
6090
|
throw Error(
|
|
6069
6091
|
"The ApiExtractor.run() is already in progress, or previous run crashed with unrecoverable error. Await the previous run first or create a new ApiExtractor"
|
|
@@ -6073,84 +6095,93 @@ export interface ArcgisImportModules {
|
|
|
6073
6095
|
this.watchFiles === void 0 && (this.moduleMap = /* @__PURE__ */ new Map());
|
|
6074
6096
|
const t = e.context.dtsEmitPath !== "", n = e.context.emptyDtsEmitPath && t ? (
|
|
6075
6097
|
// This takes 80ms for JSAPI
|
|
6076
|
-
|
|
6098
|
+
fs(e.context.dtsEmitPath)
|
|
6077
6099
|
) : void 0;
|
|
6100
|
+
let i = 0;
|
|
6078
6101
|
if (e.types.typeCheckedExtraction || e.types.fullTypeCheck) {
|
|
6079
|
-
const
|
|
6102
|
+
const c = Je(), p = e.types.typeScriptConfig;
|
|
6080
6103
|
if (this.watchFiles === void 0) {
|
|
6081
|
-
const
|
|
6082
|
-
host:
|
|
6083
|
-
rootNames:
|
|
6084
|
-
options:
|
|
6085
|
-
projectReferences:
|
|
6104
|
+
const m = l.createCompilerHost(p.config.options), u = l.createProgram({
|
|
6105
|
+
host: m,
|
|
6106
|
+
rootNames: p.config.fileNames,
|
|
6107
|
+
options: p.config.options,
|
|
6108
|
+
projectReferences: p.config.projectReferences
|
|
6086
6109
|
});
|
|
6087
|
-
this.program =
|
|
6110
|
+
this.program = u, e.types.typeScriptInstanceCreated(u, m);
|
|
6088
6111
|
}
|
|
6089
|
-
|
|
6112
|
+
const d = this.errorCount;
|
|
6113
|
+
Ln(this, c), i = this.errorCount - d;
|
|
6090
6114
|
}
|
|
6091
|
-
const
|
|
6092
|
-
|
|
6093
|
-
const
|
|
6115
|
+
const o = Je(), r = await ds(this);
|
|
6116
|
+
Us(r, this);
|
|
6117
|
+
const a = this.wrapApiModules(r);
|
|
6094
6118
|
e.context.logger.info(
|
|
6095
|
-
`${
|
|
6119
|
+
`${xe}Extracted ${r.length} @public files in ${G("green", `${o()}s`)}`
|
|
6096
6120
|
);
|
|
6097
|
-
const
|
|
6098
|
-
if (e.afterApiJsonCreate !== Qi && e.afterApiJsonCreate(
|
|
6099
|
-
const
|
|
6121
|
+
const s = { apiJson: a, dtsFiles: void 0 };
|
|
6122
|
+
if (e.afterApiJsonCreate !== Qi && e.afterApiJsonCreate(s), this.produceDts) {
|
|
6123
|
+
const c = Je(), p = this.dtsFiles;
|
|
6100
6124
|
if (this.dtsFiles = /* @__PURE__ */ new Map(), this.isJsApi) {
|
|
6101
|
-
const
|
|
6102
|
-
this.dtsFiles.set(
|
|
6103
|
-
const
|
|
6104
|
-
this.dtsFiles.set(
|
|
6105
|
-
} else this.isComponentProject &&
|
|
6106
|
-
for (let
|
|
6107
|
-
const
|
|
6108
|
-
let
|
|
6109
|
-
if (
|
|
6110
|
-
if (
|
|
6111
|
-
let
|
|
6112
|
-
for (let
|
|
6113
|
-
const
|
|
6114
|
-
if (
|
|
6125
|
+
const d = Ts(r, this), m = `${e.context.dtsEmitPath}interfaces.d.ts`;
|
|
6126
|
+
this.dtsFiles.set(m, d);
|
|
6127
|
+
const u = Bs(r), f = `${e.context.dtsEmitPath}arcgisGlobal.d.ts`;
|
|
6128
|
+
this.dtsFiles.set(f, u);
|
|
6129
|
+
} else this.isComponentProject && Po(r, this);
|
|
6130
|
+
for (let d = 0; d < r.length; ++d) {
|
|
6131
|
+
const m = r[d], u = R(m);
|
|
6132
|
+
let f = `${e.context.dtsEmitPath + u.dtsPath}.d.ts`, y;
|
|
6133
|
+
if (u.isStale) {
|
|
6134
|
+
if (y = Do(m, this), e.types.declarationTextTransformers.length > 0) {
|
|
6135
|
+
let T = { filePath: f, content: y };
|
|
6136
|
+
for (let h = 0; h < e.types.declarationTextTransformers.length; ++h) {
|
|
6137
|
+
const E = e.types.declarationTextTransformers[h];
|
|
6138
|
+
if (T = E(T, m, this), T === !1)
|
|
6115
6139
|
break;
|
|
6116
6140
|
}
|
|
6117
|
-
if (
|
|
6141
|
+
if (T === !1)
|
|
6118
6142
|
continue;
|
|
6119
|
-
|
|
6143
|
+
f = T.filePath, y = T.content;
|
|
6120
6144
|
}
|
|
6121
6145
|
} else
|
|
6122
|
-
|
|
6123
|
-
if (
|
|
6124
|
-
const
|
|
6125
|
-
this.dtsFiles.set(
|
|
6146
|
+
y = p.get(f);
|
|
6147
|
+
if (m.exports?.[0].kind === "custom-element-definition" && y.length > 0) {
|
|
6148
|
+
const T = `${f.slice(0, -19)}/index.d.ts`;
|
|
6149
|
+
this.dtsFiles.set(T, 'export * from "./customElement.js";');
|
|
6126
6150
|
}
|
|
6127
|
-
this.dtsFiles.set(
|
|
6151
|
+
this.dtsFiles.set(f, y);
|
|
6128
6152
|
}
|
|
6129
6153
|
if (this.changedDtsFiles !== void 0)
|
|
6130
|
-
for (const [
|
|
6131
|
-
|
|
6154
|
+
for (const [d, m] of this.dtsFiles)
|
|
6155
|
+
p.get(d) !== m && this.changedDtsFiles.set(d, m);
|
|
6132
6156
|
if (t) {
|
|
6133
|
-
await n, await
|
|
6134
|
-
const
|
|
6157
|
+
await n, await Nt(e.context.dtsEmitPath, { recursive: !0 }), await Ks(e.context.dtsEmitPath, !0, this.changedDtsFiles ?? this.dtsFiles);
|
|
6158
|
+
const d = re.join(re.relative(process.cwd(), e.context.dtsEmitPath), "/");
|
|
6135
6159
|
e.context.logger.info(
|
|
6136
|
-
`${
|
|
6160
|
+
`${xe}Wrote ${d}**/*${G("blue", ".d.ts")} in ${G("green", `${c()}s`)}`
|
|
6137
6161
|
);
|
|
6138
6162
|
}
|
|
6139
6163
|
}
|
|
6140
6164
|
if (e.context.apiJsonEmitPath !== "") {
|
|
6141
|
-
const
|
|
6142
|
-
await
|
|
6143
|
-
|
|
6144
|
-
e.context.environment === "production" ? JSON.stringify(
|
|
6165
|
+
const c = re.resolve(e.context.cwd, e.context.apiJsonEmitPath), p = re.join(re.relative(process.cwd(), re.dirname(c)), "/");
|
|
6166
|
+
await Nt(re.dirname(c), { recursive: !0 }), await Hi(
|
|
6167
|
+
c,
|
|
6168
|
+
e.context.environment === "production" ? JSON.stringify(a) : JSON.stringify(a, null, 2)
|
|
6145
6169
|
), e.context.logger.info(
|
|
6146
|
-
`${
|
|
6170
|
+
`${xe}Wrote ${p}${G("yellow", re.basename(c))}`
|
|
6147
6171
|
);
|
|
6148
6172
|
}
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6173
|
+
if (this.typeVerifier?.verifyTypes(r), this.errorCount > 0) {
|
|
6174
|
+
i > 0 && e.context.logger.error(
|
|
6175
|
+
`${fn}${G("red", `Found ${i} ${i === 1 ? "error" : "errors"}`)}`
|
|
6176
|
+
);
|
|
6177
|
+
const c = this.errorCount - i;
|
|
6178
|
+
c > 0 && e.context.logger.error(
|
|
6179
|
+
`${xe}${G("red", `Found ${c} ${c === 1 ? "error" : "errors"}`)}`
|
|
6180
|
+
);
|
|
6181
|
+
}
|
|
6182
|
+
return this.silencedBrokenLinkCount > 0 && e.context.logger.info(`${xe}Silenced ${this.silencedBrokenLinkCount} broken link errors.`), this.isRunInProgress = !1, this.produceDts && (s.dtsFiles = this.dtsFiles), s;
|
|
6152
6183
|
};
|
|
6153
|
-
async function
|
|
6184
|
+
async function Ks(e, t, n) {
|
|
6154
6185
|
const i = /* @__PURE__ */ new Set(), o = Array.from(n.entries());
|
|
6155
6186
|
for (let c = 0; c < o.length; ++c) {
|
|
6156
6187
|
const [p, d] = o[c];
|
|
@@ -6162,7 +6193,7 @@ async function _s(e, t, n) {
|
|
|
6162
6193
|
}
|
|
6163
6194
|
const r = new Array(i.size);
|
|
6164
6195
|
for (const c of i)
|
|
6165
|
-
r.push(
|
|
6196
|
+
r.push(Nt(e + c, { recursive: !0 }));
|
|
6166
6197
|
await Promise.all(r);
|
|
6167
6198
|
const a = new Array(o.length), s = t ? "" : e;
|
|
6168
6199
|
for (let c = 0; c < o.length; ++c) {
|
|
@@ -6174,20 +6205,22 @@ async function _s(e, t, n) {
|
|
|
6174
6205
|
}
|
|
6175
6206
|
await Promise.all(a);
|
|
6176
6207
|
}
|
|
6177
|
-
function
|
|
6208
|
+
function Ln(e, t) {
|
|
6178
6209
|
if (e.config.types.fullTypeCheck)
|
|
6179
6210
|
if ("getSemanticDiagnostics" in e.program) {
|
|
6180
6211
|
const n = e.builderProgram === void 0 ? l.getPreEmitDiagnostics(e.program) : e.builderProgram.getSemanticDiagnostics();
|
|
6181
6212
|
n.length > 0 && (e.config.context.logger.error(
|
|
6182
|
-
l.formatDiagnosticsWithColorAndContext(n,
|
|
6183
|
-
), e.errorCount += n.length, process.exitCode = 1), e.config.types.afterDiagnostic(n), e.config.context.logger.info(
|
|
6213
|
+
l.formatDiagnosticsWithColorAndContext(n, bt)
|
|
6214
|
+
), e.errorCount += n.length, process.exitCode = 1), e.config.types.afterDiagnostic(n), e.config.context.logger.info(
|
|
6215
|
+
`${fn}Type checked in ${G("cyan", `${t()}s`)}`
|
|
6216
|
+
);
|
|
6184
6217
|
} else
|
|
6185
6218
|
e.emitError("Can't do type checking as the passed ts.Program is not a ts.Program instance.", {
|
|
6186
6219
|
file: void 0,
|
|
6187
6220
|
node: void 0
|
|
6188
6221
|
});
|
|
6189
6222
|
}
|
|
6190
|
-
const
|
|
6223
|
+
const zs = async function() {
|
|
6191
6224
|
if (this.watchFiles !== void 0)
|
|
6192
6225
|
throw Error(
|
|
6193
6226
|
"The ApiExtractor.watch() is already in progress, or previous watch crashed with unrecoverable error. Stop the previous watch first or create a new ApiExtractor"
|
|
@@ -6197,28 +6230,28 @@ const Hs = async function() {
|
|
|
6197
6230
|
let t;
|
|
6198
6231
|
const n = /* @__PURE__ */ new Map();
|
|
6199
6232
|
let i = [];
|
|
6200
|
-
const o = (
|
|
6201
|
-
a(
|
|
6202
|
-
}, r = (
|
|
6203
|
-
this.watchFiles.delete(
|
|
6204
|
-
}, a = (
|
|
6205
|
-
if (
|
|
6233
|
+
const o = (v, S, T) => {
|
|
6234
|
+
a(v), s(S, T, v.previousModule);
|
|
6235
|
+
}, r = (v, S) => {
|
|
6236
|
+
this.watchFiles.delete(S), v.module !== void 0 && i.push(v.module), a(v);
|
|
6237
|
+
}, a = (v) => {
|
|
6238
|
+
if (v.module === void 0)
|
|
6206
6239
|
return;
|
|
6207
|
-
const
|
|
6208
|
-
this.moduleMap.delete(
|
|
6209
|
-
for (const T of
|
|
6210
|
-
this.watchFiles.get(T)?.dependents.delete(
|
|
6211
|
-
for (const [T, h] of
|
|
6240
|
+
const S = v.module;
|
|
6241
|
+
this.moduleMap.delete(S.path), v.previousModule = v.module, v.module = void 0, v.isEmptyModule = !1;
|
|
6242
|
+
for (const T of v.dependencies)
|
|
6243
|
+
this.watchFiles.get(T)?.dependents.delete(S.sourcePath);
|
|
6244
|
+
for (const [T, h] of v.dependents) {
|
|
6212
6245
|
const E = this.watchFiles.get(T);
|
|
6213
|
-
E !== void 0 && (h ? (E.dependencies.delete(
|
|
6246
|
+
E !== void 0 && (h ? (E.dependencies.delete(S.sourcePath), a(E)) : E.hasDirtyLinks = !0);
|
|
6214
6247
|
}
|
|
6215
|
-
}, s = (
|
|
6216
|
-
if (
|
|
6217
|
-
const h = e.context.cwd +
|
|
6218
|
-
|
|
6248
|
+
}, s = (v, S, T) => {
|
|
6249
|
+
if (S === void 0) {
|
|
6250
|
+
const h = e.context.cwd + v, E = Ji(h, "utf8");
|
|
6251
|
+
S = Zt(h, E);
|
|
6219
6252
|
}
|
|
6220
|
-
this.watchFiles.set(
|
|
6221
|
-
file:
|
|
6253
|
+
this.watchFiles.set(v, {
|
|
6254
|
+
file: S,
|
|
6222
6255
|
module: void 0,
|
|
6223
6256
|
previousModule: T,
|
|
6224
6257
|
isEmptyModule: !1,
|
|
@@ -6234,25 +6267,25 @@ const Hs = async function() {
|
|
|
6234
6267
|
function m() {
|
|
6235
6268
|
return d === void 0 ? (d = Promise.withResolvers(), e.watch.onUpdate(d.promise), !0) : !1;
|
|
6236
6269
|
}
|
|
6237
|
-
function u(
|
|
6238
|
-
d?.resolve(
|
|
6270
|
+
function u(v) {
|
|
6271
|
+
d?.resolve(v), d = void 0;
|
|
6239
6272
|
}
|
|
6240
6273
|
const f = async () => {
|
|
6241
6274
|
this.changedDtsFiles = e.watch.skipWritingUnchanged && this.dtsFiles.size > 0 ? /* @__PURE__ */ new Map() : void 0;
|
|
6242
|
-
let
|
|
6275
|
+
let v;
|
|
6243
6276
|
try {
|
|
6244
|
-
|
|
6277
|
+
v = await this.run();
|
|
6245
6278
|
} catch (M) {
|
|
6246
6279
|
throw u(void 0), M;
|
|
6247
6280
|
}
|
|
6248
|
-
const
|
|
6281
|
+
const S = [], T = [];
|
|
6249
6282
|
for (const M of this.watchFiles.values()) {
|
|
6250
|
-
const b = M.module,
|
|
6283
|
+
const b = M.module, g = M.previousModule;
|
|
6251
6284
|
if (b === void 0)
|
|
6252
|
-
|
|
6285
|
+
g !== void 0 && (M.module = M.previousModule, r(M, g.sourcePath));
|
|
6253
6286
|
else {
|
|
6254
|
-
|
|
6255
|
-
const L =
|
|
6287
|
+
g === void 0 ? (p || T.push(b), M.previousModule = b) : b !== g && (Vt(b, g) ? M.module = g : (S.push({ old: g, new: b }), M.previousModule = b));
|
|
6288
|
+
const L = R(b);
|
|
6256
6289
|
L.isStale && (L.isStale = !1);
|
|
6257
6290
|
}
|
|
6258
6291
|
}
|
|
@@ -6266,26 +6299,26 @@ const Hs = async function() {
|
|
|
6266
6299
|
getSourceFile: (M) => this.watchFiles.get(M.slice(e.context.cwd.length))?.file
|
|
6267
6300
|
};
|
|
6268
6301
|
const h = {
|
|
6269
|
-
apiJson:
|
|
6270
|
-
dtsFiles:
|
|
6271
|
-
changedModules:
|
|
6302
|
+
apiJson: v.apiJson,
|
|
6303
|
+
dtsFiles: v.dtsFiles,
|
|
6304
|
+
changedModules: S,
|
|
6272
6305
|
addedModules: T,
|
|
6273
6306
|
removedModules: i
|
|
6274
6307
|
};
|
|
6275
6308
|
i = [];
|
|
6276
|
-
const E = p ||
|
|
6309
|
+
const E = p || S.length > 0 || T.length > 0 || h.removedModules.length > 0;
|
|
6277
6310
|
p = !1, u(E ? h : void 0), c?.();
|
|
6278
6311
|
};
|
|
6279
6312
|
if (e.types.typeCheckedExtraction || e.types.fullTypeCheck) {
|
|
6280
|
-
const
|
|
6281
|
-
let
|
|
6282
|
-
const T = (
|
|
6313
|
+
const v = e.types.fullTypeCheck ? l.createSemanticDiagnosticsBuilderProgram : l.createAbstractBuilder;
|
|
6314
|
+
let S;
|
|
6315
|
+
const T = (D, P, C, ...N) => (S = C, v(
|
|
6283
6316
|
// If not doing full type check, don't scout test files
|
|
6284
6317
|
// If non-tests import tests, they will be included implicitly anyway
|
|
6285
|
-
e.types.fullTypeCheck ?
|
|
6318
|
+
e.types.fullTypeCheck ? D : D?.filter((F) => !di(F)),
|
|
6286
6319
|
P,
|
|
6287
6320
|
C,
|
|
6288
|
-
...
|
|
6321
|
+
...N
|
|
6289
6322
|
// Type cast to keep types simpler&aligned between two branches
|
|
6290
6323
|
)), h = l.createWatchCompilerHost(
|
|
6291
6324
|
// This parses the config file again (we already do it) and computes the
|
|
@@ -6298,108 +6331,108 @@ const Hs = async function() {
|
|
|
6298
6331
|
void 0
|
|
6299
6332
|
), E = h.setTimeout;
|
|
6300
6333
|
let M;
|
|
6301
|
-
h.setTimeout = E === void 0 ? void 0 : (
|
|
6334
|
+
h.setTimeout = E === void 0 ? void 0 : (D, P, ...C) => {
|
|
6302
6335
|
if (!(C[0] === "timerToUpdateProgram"))
|
|
6303
|
-
return E(
|
|
6304
|
-
const
|
|
6336
|
+
return E(D, P, ...C);
|
|
6337
|
+
const w = M !== void 0 ? Promise.resolve() : d === void 0 ? Promise.resolve(m()) : d.promise.finally(m);
|
|
6305
6338
|
return M = E(
|
|
6306
6339
|
(...I) => {
|
|
6307
|
-
M = void 0,
|
|
6308
|
-
this.program = void 0,
|
|
6340
|
+
M = void 0, w.finally(() => {
|
|
6341
|
+
this.program = void 0, D(...I), this.program === void 0 && u(void 0);
|
|
6309
6342
|
});
|
|
6310
6343
|
},
|
|
6311
6344
|
e.watch.debounceTime,
|
|
6312
6345
|
...C
|
|
6313
6346
|
), M;
|
|
6314
6347
|
};
|
|
6315
|
-
const b = h.onWatchStatusChange,
|
|
6316
|
-
h.onWatchStatusChange = (
|
|
6317
|
-
|
|
6318
|
-
}, h.afterProgramCreate = (
|
|
6319
|
-
this.builderProgram =
|
|
6320
|
-
const P =
|
|
6348
|
+
const b = h.onWatchStatusChange, g = 6031, L = 6032;
|
|
6349
|
+
h.onWatchStatusChange = (D, ...P) => {
|
|
6350
|
+
D.code === L ? e.watch.clearScreen && l.sys.clearScreen?.() : D.code !== g && b?.(D, ...P);
|
|
6351
|
+
}, h.afterProgramCreate = (D) => {
|
|
6352
|
+
this.builderProgram = D;
|
|
6353
|
+
const P = D.getProgram();
|
|
6321
6354
|
this.program = P;
|
|
6322
6355
|
const C = P.getSourceFiles();
|
|
6323
|
-
e.types.typeScriptInstanceCreated(P,
|
|
6356
|
+
e.types.typeScriptInstanceCreated(P, S);
|
|
6324
6357
|
for (const F of this.watchFiles.values())
|
|
6325
6358
|
F.wasRemoved = !0;
|
|
6326
|
-
let
|
|
6359
|
+
let N = !1;
|
|
6327
6360
|
for (let F = 0; F < C.length; ++F) {
|
|
6328
|
-
const
|
|
6329
|
-
if (!Yt(
|
|
6361
|
+
const w = C[F];
|
|
6362
|
+
if (!Yt(w.fileName, this))
|
|
6330
6363
|
continue;
|
|
6331
|
-
const B =
|
|
6332
|
-
I === void 0 ? (s(B,
|
|
6364
|
+
const B = w.fileName.slice(e.context.cwd.length), I = this.watchFiles.get(B);
|
|
6365
|
+
I === void 0 ? (s(B, w, void 0), N = !0) : I.file !== w ? (o(I, B, w), N = !0) : I.wasRemoved = !1;
|
|
6333
6366
|
}
|
|
6334
|
-
for (const [F,
|
|
6335
|
-
|
|
6336
|
-
|
|
6367
|
+
for (const [F, w] of this.watchFiles)
|
|
6368
|
+
w.wasRemoved && (r(w, F), N = !0);
|
|
6369
|
+
N ? f() : (Ln(this, Je()), u(void 0));
|
|
6337
6370
|
}, t = l.createWatchProgram(h);
|
|
6338
6371
|
} else {
|
|
6339
|
-
let
|
|
6340
|
-
return
|
|
6372
|
+
let v = function(h) {
|
|
6373
|
+
return oo(h, {
|
|
6341
6374
|
throwIfNoEntry: !1
|
|
6342
6375
|
})?.isFile();
|
|
6343
6376
|
};
|
|
6344
|
-
const
|
|
6377
|
+
const S = po(() => {
|
|
6345
6378
|
let h = !1;
|
|
6346
6379
|
for (const [E, M] of n)
|
|
6347
6380
|
h = T(E, M) || h;
|
|
6348
6381
|
n.clear(), h ? (e.watch.clearScreen && l.sys.clearScreen?.(), f()) : u(void 0);
|
|
6349
6382
|
}, e.watch.debounceTime), T = (h, E) => {
|
|
6350
|
-
const M = e.context.cwd + h, b = !E,
|
|
6351
|
-
if (b ||
|
|
6352
|
-
const
|
|
6353
|
-
if (
|
|
6354
|
-
let C,
|
|
6383
|
+
const M = e.context.cwd + h, b = !E, g = this.watchFiles.get(h), L = g !== void 0;
|
|
6384
|
+
if (b || g === void 0) {
|
|
6385
|
+
const D = v(M);
|
|
6386
|
+
if (D === !1) {
|
|
6387
|
+
let C, N = !1;
|
|
6355
6388
|
try {
|
|
6356
|
-
C =
|
|
6389
|
+
C = io(M, { recursive: !0 });
|
|
6357
6390
|
let F;
|
|
6358
6391
|
for (; (F = C.readSync()) !== null; ) {
|
|
6359
6392
|
if (F.isDirectory())
|
|
6360
6393
|
continue;
|
|
6361
6394
|
const B = `${F.parentPath}/${F.name}`.slice(e.context.cwd.length);
|
|
6362
|
-
|
|
6395
|
+
Cn(B) && (N = T(B, !1) || N);
|
|
6363
6396
|
}
|
|
6364
6397
|
} finally {
|
|
6365
6398
|
C?.closeSync();
|
|
6366
6399
|
}
|
|
6367
|
-
return
|
|
6400
|
+
return N;
|
|
6368
6401
|
}
|
|
6369
|
-
const P =
|
|
6402
|
+
const P = D === !0;
|
|
6370
6403
|
if (L) {
|
|
6371
6404
|
if (P)
|
|
6372
|
-
return o(
|
|
6405
|
+
return o(g, h, void 0), !0;
|
|
6373
6406
|
{
|
|
6374
|
-
const C =
|
|
6375
|
-
return r(
|
|
6407
|
+
const C = g?.module !== void 0;
|
|
6408
|
+
return r(g, h), C;
|
|
6376
6409
|
}
|
|
6377
6410
|
} else {
|
|
6378
6411
|
if (P)
|
|
6379
6412
|
return s(h, void 0, void 0), !0;
|
|
6380
6413
|
{
|
|
6381
6414
|
let C = !1;
|
|
6382
|
-
const
|
|
6383
|
-
for (const [F,
|
|
6384
|
-
F.startsWith(
|
|
6415
|
+
const N = `${h}/`;
|
|
6416
|
+
for (const [F, w] of this.watchFiles)
|
|
6417
|
+
F.startsWith(N) && (r(w, F), C = !0);
|
|
6385
6418
|
return C;
|
|
6386
6419
|
}
|
|
6387
6420
|
}
|
|
6388
6421
|
} else
|
|
6389
|
-
return o(
|
|
6422
|
+
return o(g, h, void 0), !0;
|
|
6390
6423
|
};
|
|
6391
|
-
t =
|
|
6392
|
-
const M = m(), b = E === null ? void 0 : _i(E),
|
|
6424
|
+
t = no(this.basePath, { recursive: !0 }, (h, E) => {
|
|
6425
|
+
const M = m(), b = E === null ? void 0 : _i(E), g = h === "change";
|
|
6393
6426
|
if (b !== void 0 && // If changed, check if it is an included file
|
|
6394
6427
|
// For a rename, we don't know if it is directory or a file - only check
|
|
6395
6428
|
// if directory is included, and the file will be checked later.
|
|
6396
|
-
(
|
|
6397
|
-
const L = e.context.basePath + b, P = (n.get(L) ?? !0) &&
|
|
6429
|
+
(g ? Yt(this.basePath + b, this) : Tn(this.basePath + b, this))) {
|
|
6430
|
+
const L = e.context.basePath + b, P = (n.get(L) ?? !0) && g;
|
|
6398
6431
|
n.set(L, P);
|
|
6399
6432
|
}
|
|
6400
|
-
M &&
|
|
6433
|
+
M && S();
|
|
6401
6434
|
}), f(), c = () => {
|
|
6402
|
-
n.size > 0 &&
|
|
6435
|
+
n.size > 0 && S();
|
|
6403
6436
|
};
|
|
6404
6437
|
}
|
|
6405
6438
|
return {
|
|
@@ -6407,14 +6440,14 @@ const Hs = async function() {
|
|
|
6407
6440
|
t.close(), n.clear(), await d?.promise, this.watchFiles = void 0;
|
|
6408
6441
|
}
|
|
6409
6442
|
};
|
|
6410
|
-
},
|
|
6411
|
-
class
|
|
6443
|
+
}, js = ".verify-typings.ts";
|
|
6444
|
+
class Js {
|
|
6412
6445
|
constructor(t, n = re.join(process.cwd(), "dist")) {
|
|
6413
6446
|
this.extractor = t, this.virtualCwdPath = re.join(n, "/");
|
|
6414
6447
|
}
|
|
6415
6448
|
verifyTypes(t) {
|
|
6416
6449
|
const n = Je(), i = /* @__PURE__ */ Object.create(null);
|
|
6417
|
-
i[this.virtualCwdPath +
|
|
6450
|
+
i[this.virtualCwdPath + js] = this.getVerificationFileContents(t);
|
|
6418
6451
|
const o = this.extractor.config.context.dtsEmitPath === "" ? this.virtualCwdPath : "";
|
|
6419
6452
|
for (const [u, f] of this.extractor.dtsFiles)
|
|
6420
6453
|
i[o + u] = f;
|
|
@@ -6444,15 +6477,17 @@ class zs {
|
|
|
6444
6477
|
return f === void 0 ? c(u) : f;
|
|
6445
6478
|
};
|
|
6446
6479
|
const p = a.directoryExists;
|
|
6447
|
-
a.directoryExists = (u) => u.includes("node_modules") ? p(u) : !0, a.getCurrentDirectory = () => this.virtualCwdPath, a.getCanonicalFileName =
|
|
6480
|
+
a.directoryExists = (u) => u.includes("node_modules") ? p(u) : !0, a.getCurrentDirectory = () => this.virtualCwdPath, a.getCanonicalFileName = bt.getCanonicalFileName;
|
|
6448
6481
|
const d = l.createProgram({
|
|
6449
6482
|
rootNames: Object.keys(i),
|
|
6450
6483
|
host: a,
|
|
6451
6484
|
options: r
|
|
6452
6485
|
}), m = l.getPreEmitDiagnostics(d).filter(this.extractor.config.verify.filterTypeCheckDiagnostic);
|
|
6453
6486
|
m.length && (this.extractor.config.context.logger.error(
|
|
6454
|
-
l.formatDiagnosticsWithColorAndContext(m,
|
|
6455
|
-
), process.exitCode = 1, this.extractor.errorCount += m.length), this.extractor.config.context.logger.info(
|
|
6487
|
+
l.formatDiagnosticsWithColorAndContext(m, bt)
|
|
6488
|
+
), process.exitCode = 1, this.extractor.errorCount += m.length), this.extractor.config.context.logger.info(
|
|
6489
|
+
`${xe}Types verified with TypeScript in ${G("green", `${n()}s`)}`
|
|
6490
|
+
);
|
|
6456
6491
|
}
|
|
6457
6492
|
printTypeParameters(t, n) {
|
|
6458
6493
|
if (t === void 0)
|
|
@@ -6462,7 +6497,7 @@ class zs {
|
|
|
6462
6497
|
const r = t[o];
|
|
6463
6498
|
if (r.default !== void 0)
|
|
6464
6499
|
break;
|
|
6465
|
-
i === "" ? i += "<" : i += ", ", i += r.constraint === void 0 ? "any" :
|
|
6500
|
+
i === "" ? i += "<" : i += ", ", i += r.constraint === void 0 ? "any" : $t(r.constraint, n).text;
|
|
6466
6501
|
}
|
|
6467
6502
|
return i === "" ? "" : `${i}>`;
|
|
6468
6503
|
}
|
|
@@ -6471,7 +6506,7 @@ class zs {
|
|
|
6471
6506
|
|
|
6472
6507
|
`;
|
|
6473
6508
|
for (let i = 0; i < t.length; ++i) {
|
|
6474
|
-
const o = t[i], r =
|
|
6509
|
+
const o = t[i], r = R(o);
|
|
6475
6510
|
if (r.constructorPropertiesInterface !== void 0) {
|
|
6476
6511
|
const a = r.constructorPropertiesInterface.name, s = this.printTypeParameters(
|
|
6477
6512
|
r.constructorPropertiesInterface.typeParameters,
|
|
@@ -6484,19 +6519,19 @@ class zs {
|
|
|
6484
6519
|
return n;
|
|
6485
6520
|
}
|
|
6486
6521
|
}
|
|
6487
|
-
const
|
|
6488
|
-
class
|
|
6522
|
+
const qs = import.meta.url.includes("node_modules") ? ti.version : uo().version;
|
|
6523
|
+
class Ca {
|
|
6489
6524
|
/**
|
|
6490
6525
|
* @public
|
|
6491
6526
|
* @param rawConfig Optional configuration for the extractor.
|
|
6492
6527
|
*/
|
|
6493
6528
|
constructor(t = {}) {
|
|
6494
|
-
this.componentStories = /* @__PURE__ */ Object.create(null), this.dtsFiles = /* @__PURE__ */ new Map(), this.changedDtsFiles = void 0, this.isRunInProgress = !1, this.watchFiles = void 0, this.program = void 0, this.builderProgram = void 0, this.componentPathMapping = void 0, this.componentCssFileDocs = void 0, this.vanillaComponentTypes = void 0, this.isInLuminaMinimalExtraction = !1, this.errorCount = 0, this.silencedBrokenLinkCount = 0, this.loggedBooleanWarning = !1, this.moduleMap = void 0, this.privateMixinModuleNames = /* @__PURE__ */ new Set(), this.implicitPublicModules = void 0, this.file = void 0, this.apiModule = void 0, this.componentTagName = void 0, this.pairedSetter = void 0, this.statementJsDocs = [], this.jsDoc = void 0, this.apiObject = void 0, this.moduleContext = void 0, this.localDeclarations = /* @__PURE__ */ new Set(), this.exportDefaultName = void 0, this.objectLikeTypeParameters = void 0, this.functionLikeTypeParameters = void 0, this.apiClassLikeName = void 0, this.mixinName = void 0, this.mixinMixins = void 0, this.moduleHasAccessorLikeClass = !1, this.moduleHasClass = !1, this.inheritedModuleName = void 0, this.run =
|
|
6495
|
-
const n =
|
|
6529
|
+
this.componentStories = /* @__PURE__ */ Object.create(null), this.dtsFiles = /* @__PURE__ */ new Map(), this.changedDtsFiles = void 0, this.isRunInProgress = !1, this.watchFiles = void 0, this.program = void 0, this.builderProgram = void 0, this.componentPathMapping = void 0, this.componentCssFileDocs = void 0, this.vanillaComponentTypes = void 0, this.isInLuminaMinimalExtraction = !1, this.errorCount = 0, this.silencedBrokenLinkCount = 0, this.loggedBooleanWarning = !1, this.moduleMap = void 0, this.privateMixinModuleNames = /* @__PURE__ */ new Set(), this.implicitPublicModules = void 0, this.file = void 0, this.apiModule = void 0, this.componentTagName = void 0, this.pairedSetter = void 0, this.statementJsDocs = [], this.jsDoc = void 0, this.apiObject = void 0, this.moduleContext = void 0, this.localDeclarations = /* @__PURE__ */ new Set(), this.exportDefaultName = void 0, this.objectLikeTypeParameters = void 0, this.functionLikeTypeParameters = void 0, this.apiClassLikeName = void 0, this.mixinName = void 0, this.mixinMixins = void 0, this.moduleHasAccessorLikeClass = !1, this.moduleHasClass = !1, this.inheritedModuleName = void 0, this.run = Hs.bind(this), this.watch = zs.bind(this), this.emitError = Xr.bind(this);
|
|
6530
|
+
const n = An(t);
|
|
6496
6531
|
this.config = n, this.produceDts = n.types.forceProduceDts || n.context.dtsEmitPath !== "" || n.verify.typeCheckTypes, this.basePath = `${n.context.cwd}${n.context.basePath}`, this.normalizedApiReferencePrefix = `https://${this.config.documentation.host}${this.config.documentation.basePath}`, this.runtimeDependencyNames = /* @__PURE__ */ new Set([
|
|
6497
6532
|
...Object.keys(n.context.packageJson.dependencies ?? {}),
|
|
6498
6533
|
...Object.keys(n.context.packageJson.peerDependencies ?? {})
|
|
6499
|
-
]), this.resolveJsDocLink = n.context.isLuminaMinimalExtraction ? Qi :
|
|
6534
|
+
]), this.resolveJsDocLink = n.context.isLuminaMinimalExtraction ? Qi : On.bind(void 0, this), this.isComponentProject = "@arcgis/lumina" in (n.context.packageJson.dependencies ?? {}), this.isJsApi = n.context.packageJson.name === "arcgis-js-api" || n.context.packageJson.name === "@arcgis/core", this.typeVerifier = n.verify.typeCheckTypes ? new Js(this, n.context.dtsEmitPath || void 0) : void 0, this.localPrivateDeclarations = n.strict ? void 0 : /* @__PURE__ */ new Map();
|
|
6500
6535
|
}
|
|
6501
6536
|
/**
|
|
6502
6537
|
* Given an array of ApiModules, add top-level api.json metadata and return
|
|
@@ -6510,7 +6545,7 @@ class Sa {
|
|
|
6510
6545
|
// Preserve previous compiler.name for component projects as that is what
|
|
6511
6546
|
// pre 5.0 Lumina versions expect.
|
|
6512
6547
|
name: this.isComponentProject ? "@arcgis/lumina-compiler" : ti.name,
|
|
6513
|
-
version:
|
|
6548
|
+
version: qs,
|
|
6514
6549
|
typescriptVersion: l.version
|
|
6515
6550
|
},
|
|
6516
6551
|
// https://github.com/webcomponents/custom-elements-manifest?tab=readme-ov-file#schema-versioning
|
|
@@ -6523,7 +6558,7 @@ class Sa {
|
|
|
6523
6558
|
}
|
|
6524
6559
|
}
|
|
6525
6560
|
export {
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
|
|
6561
|
+
Ca as A,
|
|
6562
|
+
xe as l,
|
|
6563
|
+
Ks as w
|
|
6529
6564
|
};
|