@arcgis/coding-components 4.30.0-next.21 → 4.30.0-next.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +2 -2
  2. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +25 -0
  3. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +25 -0
  4. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +25 -0
  5. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +25 -0
  6. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +25 -0
  7. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +25 -0
  8. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +25 -0
  9. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +25 -0
  10. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +25 -0
  11. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +25 -0
  12. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +25 -0
  13. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +25 -0
  14. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +25 -0
  15. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +25 -0
  16. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +25 -0
  17. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +25 -0
  18. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +25 -0
  19. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +25 -0
  20. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +25 -0
  21. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +25 -0
  22. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +25 -0
  23. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +25 -0
  24. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +25 -0
  25. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +25 -0
  26. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +25 -0
  27. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +25 -0
  28. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +25 -0
  29. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +25 -0
  30. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +25 -0
  31. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +25 -0
  32. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +25 -0
  33. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +25 -0
  34. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +25 -0
  35. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +25 -0
  36. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +25 -0
  37. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +25 -0
  38. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +25 -0
  39. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +25 -0
  40. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +25 -0
  41. package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +25 -0
  42. package/dist/arcgis-coding-components/index.esm.js +2 -2
  43. package/dist/arcgis-coding-components/p-250241d4.entry.js +6 -0
  44. package/dist/arcgis-coding-components/p-3217369b.js +68 -0
  45. package/dist/arcgis-coding-components/{p-1451e0cc.js → p-49bca36f.js} +2 -2
  46. package/dist/arcgis-coding-components/{p-192601ca.js → p-5b2565ca.js} +2 -2
  47. package/dist/arcgis-coding-components/p-600be247.js +6 -0
  48. package/dist/arcgis-coding-components/{p-0e7b5896.js → p-64abf203.js} +2 -2
  49. package/dist/arcgis-coding-components/{p-253f92ea.js → p-68006f08.js} +2 -2
  50. package/dist/arcgis-coding-components/p-716a8741.js +6 -0
  51. package/dist/arcgis-coding-components/{p-b177db92.js → p-9b73a641.js} +3 -3
  52. package/dist/arcgis-coding-components/{p-a63eeed9.js → p-bc0aa910.js} +1 -1
  53. package/dist/arcgis-coding-components/{p-cb5166f2.js → p-c0185a0d.js} +2 -2
  54. package/dist/arcgis-coding-components/{p-5583b25d.js → p-d7560609.js} +2 -2
  55. package/dist/arcgis-coding-components/p-de307b87.js +6 -0
  56. package/dist/arcgis-coding-components/{p-eb16cce2.js → p-f75b073c.js} +2 -2
  57. package/dist/arcgis-coding-components/p-ff1c764c.js +7 -0
  58. package/dist/cjs/Accessor-YDTURKZ7-2cd6deb4.js +1249 -0
  59. package/dist/cjs/{arcade-defaults-9d57f506.js → arcade-defaults-fb1a3fd7.js} +294 -295
  60. package/dist/cjs/{arcade-mode-9079b8e0.js → arcade-mode-2560e670.js} +4 -4
  61. package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1347 -89
  62. package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
  63. package/dist/cjs/chunk-OMA4PI5N-60e6be60.js +1286 -0
  64. package/dist/cjs/{css-9aa4569b.js → css-f659c186.js} +1 -1
  65. package/dist/cjs/{cssMode-6f57c416.js → cssMode-6a246ae2.js} +3 -3
  66. package/dist/cjs/decorators-443AWDOE-fb0006fa.js +120 -0
  67. package/dist/cjs/{html-95d3a234.js → html-d999957e.js} +3 -3
  68. package/dist/cjs/{htmlMode-ebd8894d.js → htmlMode-777d5d7e.js} +3 -3
  69. package/dist/cjs/{index-a3f52cf5.js → index-60fec5d8.js} +42 -4
  70. package/dist/cjs/index.cjs.js +3 -3
  71. package/dist/cjs/{javascript-1a01235b.js → javascript-5c4612fc.js} +4 -4
  72. package/dist/cjs/{jsonMode-26ed7799.js → jsonMode-21544f43.js} +3 -3
  73. package/dist/cjs/loader.cjs.js +3 -3
  74. package/dist/cjs/{tsMode-9cfeb9a5.js → tsMode-34b259f1.js} +3 -3
  75. package/dist/cjs/{typescript-f9907455.js → typescript-6f9695a1.js} +3 -3
  76. package/dist/components/Accessor-YDTURKZ7.js +1247 -0
  77. package/dist/components/arcade-api.js +9 -15
  78. package/dist/components/arcade-contribution.js +3 -3
  79. package/dist/components/arcade-defaults.js +10 -10
  80. package/dist/components/arcade-mode.js +3 -3
  81. package/dist/components/arcade-results.js +24 -35
  82. package/dist/components/arcade-suggestions.js +10 -16
  83. package/dist/components/arcade-variables.js +11 -20
  84. package/dist/components/arcgis-arcade-api.js +1 -1
  85. package/dist/components/arcgis-arcade-editor.js +20 -24
  86. package/dist/components/arcgis-arcade-results.js +1 -1
  87. package/dist/components/arcgis-arcade-suggestions.js +1 -1
  88. package/dist/components/arcgis-arcade-variables.js +1 -1
  89. package/dist/components/arcgis-assets.d.ts +1 -1
  90. package/dist/components/arcgis-assets.js +1 -1
  91. package/dist/components/arcgis-code-editor.js +1 -1
  92. package/dist/components/chunk-3I7AEPTU.js +1290 -0
  93. package/dist/components/chunk-OMA4PI5N.js +1257 -0
  94. package/dist/components/code-editor.js +6 -6
  95. package/dist/components/decorators-443AWDOE.js +109 -0
  96. package/dist/components/fields.js +40 -39
  97. package/dist/components/index.js +1 -1
  98. package/dist/components/index2.js +3 -3
  99. package/dist/components/markdown.js +1 -1
  100. package/dist/components/utilities.js +3 -3
  101. package/dist/esm/Accessor-YDTURKZ7-dcaf409b.js +1247 -0
  102. package/dist/esm/{arcade-defaults-1577045c.js → arcade-defaults-9833f532.js} +286 -285
  103. package/dist/esm/{arcade-mode-ec8b7890.js → arcade-mode-a9774d50.js} +4 -4
  104. package/dist/esm/arcgis-arcade-api_6.entry.js +1389 -131
  105. package/dist/esm/arcgis-coding-components.js +4 -4
  106. package/dist/esm/chunk-OMA4PI5N-2da97f52.js +1257 -0
  107. package/dist/esm/{css-6350c0f7.js → css-294de2b5.js} +1 -1
  108. package/dist/esm/{cssMode-629b1349.js → cssMode-8bf465a1.js} +3 -3
  109. package/dist/esm/decorators-443AWDOE-8b8ddc71.js +109 -0
  110. package/dist/esm/{html-979016b0.js → html-df0c0abf.js} +3 -3
  111. package/dist/esm/{htmlMode-dd504dae.js → htmlMode-379ba474.js} +3 -3
  112. package/dist/esm/{index-093931a1.js → index-aafc3e0b.js} +42 -5
  113. package/dist/esm/index.js +3 -3
  114. package/dist/esm/{javascript-7af48cb1.js → javascript-7f02143c.js} +4 -4
  115. package/dist/esm/{jsonMode-eb6b41d1.js → jsonMode-0db8e4ac.js} +3 -3
  116. package/dist/esm/loader.js +4 -4
  117. package/dist/esm/{tsMode-64deb000.js → tsMode-8bd448ad.js} +3 -3
  118. package/dist/esm/{typescript-c9b14542.js → typescript-a14f4a55.js} +3 -3
  119. package/dist/loader/cdn.js +1 -1
  120. package/dist/loader/index.cjs.js +1 -1
  121. package/dist/loader/index.es2017.js +1 -1
  122. package/dist/loader/index.js +1 -1
  123. package/dist/types/components/arcade-api/arcade-api.d.ts +4 -5
  124. package/dist/types/components/arcade-editor/arcade-editor.d.ts +7 -4
  125. package/dist/types/components/arcade-results/arcade-results.d.ts +4 -7
  126. package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +4 -5
  127. package/dist/types/components/arcade-variables/arcade-variables.d.ts +4 -6
  128. package/package.json +12 -12
  129. package/dist/arcgis-coding-components/p-81935687.js +0 -68
  130. package/dist/arcgis-coding-components/p-a2190df0.js +0 -7
  131. package/dist/arcgis-coding-components/p-e8c2933f.entry.js +0 -6
  132. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
  133. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -9
  134. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -19
  135. package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -6
@@ -0,0 +1,1286 @@
1
+ /*!
2
+ * All material copyright Esri, All Rights Reserved, unless otherwise specified.
3
+ * See https://js.arcgis.com/4.30/esri/copyright.txt for details.
4
+ * v4.30.0-next.23
5
+ */
6
+ 'use strict';
7
+
8
+ // ../../../node_modules/@arcgis/core/core/has.js
9
+ var e$3;
10
+ function has(a3) {
11
+ return "function" == typeof e$3[a3] ? e$3[a3] = e$3[a3](globalThis) : e$3[a3];
12
+ }
13
+ e$3 = globalThis.dojoConfig?.has || globalThis.esriConfig?.has ? { ...globalThis.dojoConfig?.has, ...globalThis.esriConfig?.has } : {}, has.add = (a3, d, o4, r3) => ((r3 || void 0 === e$3[a3]) && (e$3[a3] = d), o4 && has(a3)), has.cache = e$3, has.add("big-integer-warning-enabled", true), has.add("esri-deprecation-warnings", true), has.add("esri-tests-disable-screenshots", false), has.add("esri-tests-use-full-window", false), has.add("esri-tests-post-to-influx", true), (() => {
14
+ has.add("host-webworker", void 0 !== globalThis.WorkerGlobalScope && self instanceof globalThis.WorkerGlobalScope);
15
+ const e5 = "undefined" != typeof window && "undefined" != typeof location && "undefined" != typeof document && window.location === location && window.document === document;
16
+ if (has.add("host-browser", e5), has.add("host-node", "object" == typeof globalThis.process && globalThis.process.versions?.node && globalThis.process.versions.v8), has.add("dom", e5), has("host-browser")) {
17
+ const e6 = navigator, a3 = e6.userAgent, d = e6.appVersion, o4 = parseFloat(d);
18
+ if (has.add("wp", parseFloat(a3.split("Windows Phone")[1]) || void 0), has.add("msapp", parseFloat(a3.split("MSAppHost/")[1]) || void 0), has.add("khtml", d.includes("Konqueror") ? o4 : void 0), has.add("edge", parseFloat(a3.split("Edge/")[1]) || void 0), has.add("opr", parseFloat(a3.split("OPR/")[1]) || void 0), has.add("webkit", !has("wp") && !has("edge") && parseFloat(a3.split("WebKit/")[1]) || void 0), has.add("chrome", !has("edge") && !has("opr") && parseFloat(a3.split("Chrome/")[1]) || void 0), has.add("android", !has("wp") && parseFloat(a3.split("Android ")[1]) || void 0), has.add("safari", !d.includes("Safari") || has("wp") || has("chrome") || has("android") || has("edge") || has("opr") ? void 0 : parseFloat(d.split("Version/")[1])), has.add("mac", d.includes("Macintosh")), !has("wp") && /(iPhone|iPod|iPad)/.test(a3)) {
19
+ const e7 = RegExp.$1.replace(/P/, "p"), d2 = /OS ([\d_]+)/.test(a3) ? RegExp.$1 : "1", o5 = parseFloat(d2.replace(/_/, ".").replaceAll("_", ""));
20
+ has.add(e7, o5), has.add("ios", o5);
21
+ }
22
+ has("webkit") || (!a3.includes("Gecko") || has("wp") || has("khtml") || has("edge") || has.add("mozilla", o4), has("mozilla") && has.add("ff", parseFloat(a3.split("Firefox/")[1] || a3.split("Minefield/")[1]) || void 0));
23
+ }
24
+ })(), (() => {
25
+ if (globalThis.navigator) {
26
+ const e5 = navigator.userAgent, a3 = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini|IEMobile/i.test(e5), d = /iPhone/i.test(e5);
27
+ a3 && has.add("esri-mobile", a3), d && has.add("esri-iPhone", d), has.add("esri-geolocation", !!navigator.geolocation);
28
+ }
29
+ has.add("esri-wasm", "WebAssembly" in globalThis), has.add("esri-performance-mode-frames-between-render", 20), has.add("esri-force-performance-mode", false), has.add("esri-shared-array-buffer", () => {
30
+ const e5 = "SharedArrayBuffer" in globalThis, a3 = false === globalThis.crossOriginIsolated;
31
+ return e5 && !a3;
32
+ }), has.add("wasm-simd", () => {
33
+ const e5 = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11];
34
+ return WebAssembly.validate(new Uint8Array(e5));
35
+ }), has.add("esri-atomics", "Atomics" in globalThis), has.add("esri-workers", "Worker" in globalThis), has.add("web-feat:cache", "caches" in globalThis), has.add("esri-workers-arraybuffer-transfer", !has("safari") || Number(has("safari")) >= 12), has.add("workers-pool-size", 8), has.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), has.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), has.add("featurelayer-fast-triangulation-enabled", true), has.add("featurelayer-animation-enabled", true), has.add("featurelayer-snapshot-enabled", true), has.add("featurelayer-snapshot-point-min-threshold", 8e4), has.add("featurelayer-snapshot-point-max-threshold", 4e5), has.add("featurelayer-snapshot-point-coverage", 0.1), has.add("featurelayer-query-max-depth", 4), has.add("featurelayer-query-pausing-enabled", false), has.add("hittest-2d-mobile-tolerance", 3), has.add("hittest-2d-desktop-tolerance", 1), has.add("hittest-2d-small-symbol-tolerance", 3), has.add("hittest-2d-small-symbol-tolerance-threshold", 3), has.add("featurelayer-advanced-symbols", false), has.add("featurelayer-pbf", true), has.add("featurelayer-pbf-statistics", false), has.add("feature-layers-workers", true), has.add("feature-polyline-generalization-factor", 1), has.add("mapview-transitions-duration", 200), has.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), has.add("mapserver-pbf-version-support", 10.81), has.add("mapservice-popup-identify-max-tolerance", 20), has("host-webworker") || has("host-browser") && (has.add("esri-csp-restrictions", () => {
36
+ try {
37
+ new Function();
38
+ } catch {
39
+ return true;
40
+ }
41
+ return false;
42
+ }), has.add("esri-image-decode", () => {
43
+ if ("decode" in new Image()) {
44
+ const e5 = new Image();
45
+ return e5.src = 'data:image/svg+xml;charset=UTF-8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg"></svg>', void e5.decode().then(() => {
46
+ has.add("esri-image-decode", true, true, true);
47
+ }).catch(() => {
48
+ has.add("esri-image-decode", false, true, true);
49
+ });
50
+ }
51
+ return false;
52
+ }), has.add("esri-url-encodes-apostrophe", () => {
53
+ const e5 = window.document.createElement("a");
54
+ return e5.href = "?'", e5.href.includes("?%27");
55
+ }));
56
+ })();
57
+ var v$2 = class {
58
+ constructor() {
59
+ this.last = 0;
60
+ }
61
+ };
62
+ var b$2 = new v$2();
63
+ function S$1(n2, t5, e5, r3) {
64
+ r3 = r3 || b$2;
65
+ const o4 = Math.max(0, r3.last - 10);
66
+ for (let u4 = o4; u4 < e5; ++u4)
67
+ if (n2[u4] === t5)
68
+ return r3.last = u4, u4;
69
+ const l2 = Math.min(o4, e5);
70
+ for (let u4 = 0; u4 < l2; ++u4)
71
+ if (n2[u4] === t5)
72
+ return r3.last = u4, u4;
73
+ return -1;
74
+ }
75
+ var I = /* @__PURE__ */ new Set();
76
+ function j$3(n2, t5, e5 = n2.length, r3 = t5.length, o4, l2) {
77
+ if (0 === r3 || 0 === e5)
78
+ return e5;
79
+ I.clear();
80
+ for (let f4 = 0; f4 < r3; ++f4)
81
+ I.add(t5[f4]);
82
+ o4 = o4 || b$2;
83
+ const u4 = Math.max(0, o4.last - 10);
84
+ for (let f4 = u4; f4 < e5; ++f4)
85
+ if (I.has(n2[f4]) && (l2?.push(n2[f4]), I.delete(n2[f4]), n2[f4] = n2[e5 - 1], --e5, --f4, 0 === I.size || 0 === e5))
86
+ return I.clear(), e5;
87
+ for (let f4 = 0; f4 < u4; ++f4)
88
+ if (I.has(n2[f4]) && (l2?.push(n2[f4]), I.delete(n2[f4]), n2[f4] = n2[e5 - 1], --e5, --f4, 0 === I.size || 0 === e5))
89
+ return I.clear(), e5;
90
+ return I.clear(), e5;
91
+ }
92
+ function O$1(n2, t5) {
93
+ const e5 = n2.indexOf(t5);
94
+ return -1 !== e5 ? (n2.splice(e5, 1), t5) : null;
95
+ }
96
+ function o3$1(n2) {
97
+ return "Int8Array" === n2?.constructor?.name;
98
+ }
99
+ function u3$1(n2) {
100
+ return "Uint8Array" === n2?.constructor?.name;
101
+ }
102
+ function e4$1(n2) {
103
+ return "Uint8ClampedArray" === n2?.constructor?.name;
104
+ }
105
+ function c3$1(n2) {
106
+ return "Int16Array" === n2?.constructor?.name;
107
+ }
108
+ function i3$1(n2) {
109
+ return "Uint16Array" === n2?.constructor?.name;
110
+ }
111
+ function a2$2(n2) {
112
+ return "Int32Array" === n2?.constructor?.name;
113
+ }
114
+ function f3$1(n2) {
115
+ return "Uint32Array" === n2?.constructor?.name;
116
+ }
117
+ function s2$2(n2) {
118
+ return "Float32Array" === n2?.constructor?.name;
119
+ }
120
+ function m2$2(n2) {
121
+ return "Float64Array" === n2?.constructor?.name;
122
+ }
123
+
124
+ function a2$1(t) {
125
+ if (!t || "object" != typeof t || "function" == typeof t)
126
+ return t;
127
+ const n = O(t);
128
+ if (null != n)
129
+ return n;
130
+ if (y$3(t))
131
+ return t.clone();
132
+ if (m2$1(t))
133
+ return t.map(a2$1);
134
+ if (b$1(t))
135
+ return t.clone();
136
+ const e2 = {};
137
+ for (const r of Object.getOwnPropertyNames(t))
138
+ e2[r] = a2$1(t[r]);
139
+ return e2;
140
+ }
141
+ function y$3(t) {
142
+ return "function" == typeof t.clone;
143
+ }
144
+ function m2$1(t) {
145
+ return "function" == typeof t.map && "function" == typeof t.forEach;
146
+ }
147
+ function b$1(t) {
148
+ return "function" == typeof t.notifyChange && "function" == typeof t.watch;
149
+ }
150
+ function O(t) {
151
+ if (o3$1(t) || u3$1(t) || e4$1(t) || c3$1(t) || i3$1(t) || a2$2(t) || f3$1(t) || s2$2(t) || m2$2(t))
152
+ return t.slice();
153
+ if (t instanceof Date)
154
+ return new Date(t.getTime());
155
+ if (t instanceof ArrayBuffer) {
156
+ return t.slice(0, t.byteLength);
157
+ }
158
+ if (t instanceof Map) {
159
+ const n = /* @__PURE__ */ new Map();
160
+ for (const [e2, r] of t)
161
+ n.set(e2, a2$1(r));
162
+ return n;
163
+ }
164
+ if (t instanceof Set) {
165
+ const n = /* @__PURE__ */ new Set();
166
+ for (const e2 of t)
167
+ n.add(a2$1(e2));
168
+ return n;
169
+ }
170
+ return null;
171
+ }
172
+ function j$2(t, n) {
173
+ return t === n || "number" == typeof t && isNaN(t) && "number" == typeof n && isNaN(n) || "function" == typeof t?.getTime && "function" == typeof n?.getTime && t.getTime() === n.getTime() || false;
174
+ }
175
+
176
+ // ../../../node_modules/@arcgis/core/core/object.js
177
+ function n$1(r2, n2, t2 = false) {
178
+ return i$2(r2, n2, t2);
179
+ }
180
+ function t$1(r2, n2) {
181
+ if (null != n2)
182
+ return n2[r2] || e$2(r2.split("."), false, n2);
183
+ }
184
+ function o$1(r2, n2, t2) {
185
+ const o2 = r2.split("."), i2 = o2.pop(), u = e$2(o2, true, t2);
186
+ u && i2 && (u[i2] = n2);
187
+ }
188
+ function e$2(r2, n2, t2) {
189
+ let o2 = t2;
190
+ for (const e3 of r2) {
191
+ if (null == o2)
192
+ return;
193
+ if (!(e3 in o2)) {
194
+ if (!n2)
195
+ return;
196
+ o2[e3] = {};
197
+ }
198
+ o2 = o2[e3];
199
+ }
200
+ return o2;
201
+ }
202
+ function i$2(n2, t2, o2) {
203
+ return t2 ? Object.keys(t2).reduce((n3, e3) => {
204
+ let u = n3[e3], c = t2[e3];
205
+ return u === c ? n3 : void 0 === u ? (n3[e3] = a2$1(c), n3) : (Array.isArray(c) || Array.isArray(n3) ? (u = u ? Array.isArray(u) ? n3[e3] = u.concat() : n3[e3] = [u] : n3[e3] = [], c && (Array.isArray(c) || (c = [c]), o2 ? c.forEach((r2) => {
206
+ u.includes(r2) || u.push(r2);
207
+ }) : n3[e3] = c.concat())) : c && "object" == typeof c ? n3[e3] = i$2(u, c, o2) : n3.hasOwnProperty(e3) && !t2.hasOwnProperty(e3) || (n3[e3] = c), n3);
208
+ }, n2 || {}) : n2;
209
+ }
210
+
211
+ // ../../../node_modules/@arcgis/core/support/revision.js
212
+ var e2$2 = "20240403";
213
+
214
+ // ../../../node_modules/@arcgis/core/config.js
215
+ var r$3 = { apiKey: void 0, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: true, portalUrl: "https://www.arcgis.com", routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 6e4, trustedServers: [], useIdentity: true }, log: { interceptors: [], level: null } };
216
+ if (globalThis.esriConfig && (n$1(r$3, globalThis.esriConfig, true), delete r$3.has), !r$3.assetsPath) {
217
+ {
218
+ const e3 = "4.30.0";
219
+ r$3.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${e3}-next.${e2$2}/assets`;
220
+ }
221
+ r$3.defaultAssetsPath = r$3.assetsPath;
222
+ }
223
+
224
+ function c$2(t2) {
225
+ let e2 = 0;
226
+ for (let n3 = 0; n3 < t2.length; n3++)
227
+ e2 = (e2 << 5) - e2 + t2.charCodeAt(n3), e2 |= 0;
228
+ return e2;
229
+ }
230
+
231
+ // ../../../node_modules/@arcgis/core/core/Logger.js
232
+ var r3 = { info: 0, warn: 1, error: 2, none: 3 };
233
+ var n2$2 = class _n {
234
+ constructor(e2) {
235
+ this.level = null, this._module = "", this._parent = null, this.writer = null, this._loggedMessages = { error: /* @__PURE__ */ new Map(), warn: /* @__PURE__ */ new Map(), info: /* @__PURE__ */ new Map() }, null != e2.level && (this.level = e2.level), null != e2.writer && (this.writer = e2.writer), this._module = e2.module, _n._loggers.set(this.module, this);
236
+ const t2 = this.module.lastIndexOf(".");
237
+ -1 !== t2 && (this._parent = _n.getLogger(this.module.slice(0, t2)));
238
+ }
239
+ get module() {
240
+ return this._module;
241
+ }
242
+ get parent() {
243
+ return this._parent;
244
+ }
245
+ error(...e2) {
246
+ this._log("error", "always", ...e2);
247
+ }
248
+ warn(...e2) {
249
+ this._log("warn", "always", ...e2);
250
+ }
251
+ info(...e2) {
252
+ this._log("info", "always", ...e2);
253
+ }
254
+ errorOnce(...e2) {
255
+ this._log("error", "once", ...e2);
256
+ }
257
+ warnOnce(...e2) {
258
+ this._log("warn", "once", ...e2);
259
+ }
260
+ infoOnce(...e2) {
261
+ this._log("info", "once", ...e2);
262
+ }
263
+ errorOncePerTick(...e2) {
264
+ this._log("error", "oncePerTick", ...e2);
265
+ }
266
+ warnOncePerTick(...e2) {
267
+ this._log("warn", "oncePerTick", ...e2);
268
+ }
269
+ infoOncePerTick(...e2) {
270
+ this._log("info", "oncePerTick", ...e2);
271
+ }
272
+ get test() {
273
+ const e2 = this;
274
+ return { loggedMessages: e2._loggedMessages, clearLoggedWarnings: () => e2._loggedMessages.warn.clear() };
275
+ }
276
+ static get test() {
277
+ return { resetLoggers(e2 = /* @__PURE__ */ new Map()) {
278
+ const t2 = _n._loggers;
279
+ return _n._loggers = e2, t2;
280
+ }, set throttlingDisabled(e2) {
281
+ _n._throttlingDisabled = e2;
282
+ } };
283
+ }
284
+ static getLogger(e2) {
285
+ return e2 = "string" != typeof e2 ? e2.declaredClass : e2, _n._loggers.get(e2) || new _n({ module: e2 });
286
+ }
287
+ _log(t2, r4, ...o3) {
288
+ if (!this._matchLevel(t2))
289
+ return;
290
+ if ("always" !== r4 && !_n._throttlingDisabled) {
291
+ const e2 = s$2(o3), i2 = this._loggedMessages[t2].get(e2);
292
+ if ("once" === r4 && null != i2 || "oncePerTick" === r4 && i2 && i2 >= _n._tickCounter)
293
+ return;
294
+ this._loggedMessages[t2].set(e2, _n._tickCounter), _n._scheduleTickCounterIncrement();
295
+ }
296
+ for (const n3 of r$3.log.interceptors)
297
+ if (n3(t2, this.module, ...o3))
298
+ return;
299
+ this._inheritedWriter()(t2, this.module, ...o3);
300
+ }
301
+ _parentWithMember(e2, t2) {
302
+ let r4 = this;
303
+ for (; null != r4; ) {
304
+ const t3 = r4[e2];
305
+ if (null != t3)
306
+ return t3;
307
+ r4 = r4.parent;
308
+ }
309
+ return t2;
310
+ }
311
+ _inheritedWriter() {
312
+ return this._parentWithMember("writer", o2$2);
313
+ }
314
+ _matchLevel(t2) {
315
+ const n3 = r$3.log.level || "warn";
316
+ return r3[this._parentWithMember("level", n3)] <= r3[t2];
317
+ }
318
+ static _scheduleTickCounterIncrement() {
319
+ _n._tickCounterScheduled || (_n._tickCounterScheduled = true, Promise.resolve().then(() => {
320
+ _n._tickCounter++, _n._tickCounterScheduled = false;
321
+ }));
322
+ }
323
+ };
324
+ function o2$2(e2, t2, ...r4) {
325
+ console[e2](`[${t2}]`, ...r4);
326
+ }
327
+ function s$2(...e2) {
328
+ const r4 = (e3, t2) => "object" != typeof t2 || Array.isArray(t2) ? t2 : "[Object]";
329
+ return c$2(JSON.stringify(e2, r4));
330
+ }
331
+ n2$2._loggers = /* @__PURE__ */ new Map(), n2$2._tickCounter = 0, n2$2._tickCounterScheduled = false, n2$2._throttlingDisabled = false;
332
+
333
+ function r$2(n3, t3, r3) {
334
+ const e = n3.get(t3);
335
+ if (void 0 !== e)
336
+ return e;
337
+ const o3 = r3();
338
+ return n3.set(t3, o3), o3;
339
+ }
340
+
341
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/ensureType.js
342
+ var r2$1 = () => n2$2.getLogger("esri.core.accessorSupport.ensureTypes");
343
+ function t2$1(e) {
344
+ return null == e ? e : new Date(e);
345
+ }
346
+ function o2$1(e) {
347
+ return null == e ? e : !!e;
348
+ }
349
+ function u$2(e) {
350
+ return null == e ? e : e.toString();
351
+ }
352
+ function a(e) {
353
+ return null == e ? e : (e = parseFloat(e), isNaN(e) ? 0 : e);
354
+ }
355
+ function s$1(e) {
356
+ return null == e ? e : Math.round(parseFloat(e));
357
+ }
358
+ function i$1(e) {
359
+ return e?.constructor && void 0 !== e.constructor.__accessorMetadata__;
360
+ }
361
+ function c$1(e, n3) {
362
+ return null != n3 && e && !(n3 instanceof e);
363
+ }
364
+ function l$1(e) {
365
+ return e && "isCollection" in e;
366
+ }
367
+ function f$1(e) {
368
+ return e?.Type ? "function" == typeof e.Type ? e.Type : e.Type.base : null;
369
+ }
370
+ function p$1(e, n3) {
371
+ if (!n3?.constructor || !l$1(n3.constructor))
372
+ return y$2(e, n3) ? n3 : new e(n3);
373
+ const r3 = f$1(e.prototype.itemType), t3 = f$1(n3.constructor.prototype.itemType);
374
+ return r3 ? t3 ? r3 === t3 ? n3 : r3.prototype.isPrototypeOf(t3.prototype) ? new e(n3) : (y$2(e, n3), n3) : new e(n3) : n3;
375
+ }
376
+ function y$2(e, n3) {
377
+ return !!i$1(n3) && (r2$1().error("Accessor#set", "Assigning an instance of '" + (n3.declaredClass || "unknown") + "' which is not a subclass of '" + g$1(e) + "'"), true);
378
+ }
379
+ function v$1(e, n3) {
380
+ return null == n3 ? n3 : l$1(e) ? p$1(e, n3) : c$1(e, n3) ? y$2(e, n3) ? n3 : new e(n3) : n3;
381
+ }
382
+ function g$1(e) {
383
+ return e?.prototype?.declaredClass || "unknown";
384
+ }
385
+ var h$1 = /* @__PURE__ */ new WeakMap();
386
+ function m$1(e) {
387
+ switch (e) {
388
+ case Number:
389
+ return a;
390
+ case T:
391
+ return s$1;
392
+ case Boolean:
393
+ return o2$1;
394
+ case String:
395
+ return u$2;
396
+ case Date:
397
+ return t2$1;
398
+ default:
399
+ return r$2(h$1, e, () => v$1.bind(null, e));
400
+ }
401
+ }
402
+ function d$1(e, n3) {
403
+ const r3 = m$1(e);
404
+ return 1 === arguments.length ? r3 : r3(n3);
405
+ }
406
+ function b(e, n3, r3) {
407
+ return 1 === arguments.length ? b.bind(null, e) : n3 ? Array.isArray(n3) ? n3.map((n4) => e(n4, r3)) : [e(n3, r3)] : n3;
408
+ }
409
+ function w(e, n3) {
410
+ return 1 === arguments.length ? b((n4) => d$1(e, n4)) : b((n4) => d$1(e, n4), n3);
411
+ }
412
+ function A$1(e, n3, r3) {
413
+ return 0 !== n3 && Array.isArray(r3) ? r3.map((r4) => A$1(e, n3 - 1, r4)) : e(r3);
414
+ }
415
+ function $(e, n3, r3) {
416
+ if (2 === arguments.length)
417
+ return (r4) => $(e, n3, r4);
418
+ if (!r3)
419
+ return r3;
420
+ r3 = A$1(e, n3, r3);
421
+ let t3 = n3, o3 = r3;
422
+ for (; t3 > 0 && Array.isArray(o3); )
423
+ t3--, o3 = o3[0];
424
+ if (void 0 !== o3)
425
+ for (let u2 = 0; u2 < t3; u2++)
426
+ r3 = [r3];
427
+ return r3;
428
+ }
429
+ function j$1(e, n3, r3) {
430
+ return 2 === arguments.length ? $((n4) => d$1(e, n4), n3) : $((n4) => d$1(e, n4), n3, r3);
431
+ }
432
+ function k(e) {
433
+ return !!Array.isArray(e) && !e.some((n3) => {
434
+ const r3 = typeof n3;
435
+ return !("string" === r3 || "number" === r3 || "function" === r3 && e.length > 1);
436
+ });
437
+ }
438
+ function M(e, n3) {
439
+ if (2 === arguments.length)
440
+ return M(e).call(null, n3);
441
+ const t3 = /* @__PURE__ */ new Set(), o3 = e.filter((e2) => "function" != typeof e2), u2 = e.filter((e2) => "function" == typeof e2);
442
+ for (const r3 of e)
443
+ "string" != typeof r3 && "number" != typeof r3 || t3.add(r3);
444
+ let a2 = null, s2 = null;
445
+ return (e2, n4) => {
446
+ if (null == e2)
447
+ return e2;
448
+ const i2 = typeof e2, l2 = "string" === i2 || "number" === i2;
449
+ return l2 && (t3.has(e2) || u2.some((e3) => "string" === i2 && e3 === String || "number" === i2 && e3 === Number)) || "object" === i2 && u2.some((n5) => !c$1(e2, n5)) ? e2 : (l2 && o3.length ? (a2 || (a2 = o3.map((e3) => "string" == typeof e3 ? `'${e3}'` : `${e3}`).join(", ")), r2$1().error("Accessor#set", `'${e2}' is not a valid value for this property, only the following values are valid: ${a2}`)) : "object" == typeof e2 && u2.length ? (s2 || (s2 = u2.map((e3) => g$1(e3)).join(", ")), r2$1().error("Accessor#set", `'${e2}' is not a valid value for this property, value must be one of ${s2}`)) : r2$1().error("Accessor#set", `'${e2}' is not a valid value for this property`), n4 && (n4.valid = false), null);
450
+ };
451
+ }
452
+ function S(e, n3) {
453
+ if (2 === arguments.length)
454
+ return S(e).call(null, n3);
455
+ const t3 = {}, o3 = [], u2 = [];
456
+ for (const r3 in e.typeMap) {
457
+ const n4 = e.typeMap[r3];
458
+ t3[r3] = d$1(n4), o3.push(g$1(n4)), u2.push(r3);
459
+ }
460
+ const a2 = () => `'${o3.join("', '")}'`, s2 = () => `'${u2.join("', '")}'`, l2 = "string" == typeof e.key ? (n4) => n4[e.key] : e.key;
461
+ return (n4) => {
462
+ if (e.base && !c$1(e.base, n4))
463
+ return n4;
464
+ if (null == n4)
465
+ return n4;
466
+ const o4 = l2(n4) || e.defaultKeyValue, u3 = t3[o4];
467
+ if (!u3)
468
+ return r2$1().error("Accessor#set", `Invalid property value, value needs to be one of ${a2()}, or a plain object that can autocast (having .type = ${s2()})`), null;
469
+ if (!c$1(e.typeMap[o4], n4))
470
+ return n4;
471
+ if ("string" == typeof e.key && !i$1(n4)) {
472
+ const r3 = {};
473
+ for (const t4 in n4)
474
+ t4 !== e.key && (r3[t4] = n4[t4]);
475
+ return u3(r3);
476
+ }
477
+ return u3(n4);
478
+ };
479
+ }
480
+ var T = class {
481
+ };
482
+ function _(e) {
483
+ if (!e || !("type" in e))
484
+ return false;
485
+ switch (e.type) {
486
+ case "native":
487
+ case "array":
488
+ case "one-of":
489
+ return true;
490
+ }
491
+ return false;
492
+ }
493
+ function B(e) {
494
+ switch (e.type) {
495
+ case "native":
496
+ return d$1(e.value);
497
+ case "array":
498
+ return b(B(e.value));
499
+ case "one-of":
500
+ return C(e);
501
+ default:
502
+ return null;
503
+ }
504
+ }
505
+ function C(e) {
506
+ let n3 = null;
507
+ return (t3, o3) => F(t3, e) ? t3 : (null == n3 && (n3 = D(e)), r2$1().error("Accessor#set", `Invalid property value, value needs to be of type ${n3}`), o3 && (o3.valid = false), null);
508
+ }
509
+ function D(e) {
510
+ switch (e.type) {
511
+ case "native":
512
+ switch (e.value) {
513
+ case Number:
514
+ return "number";
515
+ case String:
516
+ return "string";
517
+ case Boolean:
518
+ return "boolean";
519
+ case T:
520
+ return "integer";
521
+ case Date:
522
+ return "date";
523
+ default:
524
+ return g$1(e.value);
525
+ }
526
+ case "array":
527
+ return `array of ${D(e.value)}`;
528
+ case "one-of": {
529
+ const n3 = e.values.map((e2) => D(e2));
530
+ return `one of ${n3.slice(0, -1)} or ${n3[n3.length - 1]}`;
531
+ }
532
+ }
533
+ return "unknown";
534
+ }
535
+ function F(e, n3) {
536
+ if (null == e)
537
+ return true;
538
+ switch (n3.type) {
539
+ case "native":
540
+ switch (n3.value) {
541
+ case Number:
542
+ case T:
543
+ return "number" == typeof e;
544
+ case Boolean:
545
+ return "boolean" == typeof e;
546
+ case String:
547
+ return "string" == typeof e;
548
+ }
549
+ return e instanceof n3.value;
550
+ case "array":
551
+ return !!Array.isArray(e) && !e.some((e2) => !F(e2, n3.value));
552
+ case "one-of":
553
+ return n3.values.some((n4) => F(e, n4));
554
+ }
555
+ }
556
+
557
+ // ../../../node_modules/@arcgis/core/core/handleUtils.js
558
+ var n = { remove: () => {
559
+ } };
560
+ function e$1(e2) {
561
+ return e2 ? { remove() {
562
+ e2 && (e2(), e2 = void 0);
563
+ } } : n;
564
+ }
565
+ function r$1(n2) {
566
+ n2.forEach((n3) => n3?.remove());
567
+ }
568
+ function o(n2) {
569
+ return e$1(() => r$1(n2));
570
+ }
571
+
572
+ // ../../../node_modules/@arcgis/core/core/Message.js
573
+ function s(s3, e2) {
574
+ return s3.replaceAll(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g, (s4, r) => {
575
+ if ("" === r)
576
+ return "$";
577
+ const n2 = t$1(r, e2);
578
+ return (n2 ?? "").toString();
579
+ });
580
+ }
581
+ var e = class {
582
+ constructor(t2, e2, r) {
583
+ this.name = t2, this.details = r, this.message = (e2 && s(e2, r)) ?? "";
584
+ }
585
+ toString() {
586
+ return "[" + this.name + "]: " + this.message;
587
+ }
588
+ };
589
+
590
+ // ../../../node_modules/@arcgis/core/core/Error.js
591
+ var s2$1 = class _s extends e {
592
+ constructor(e2, t2, r) {
593
+ super(e2, t2, r);
594
+ }
595
+ toJSON() {
596
+ if (null != this.details)
597
+ try {
598
+ return { name: this.name, message: this.message, details: JSON.parse(JSON.stringify(this.details, (t2, r) => {
599
+ if (r && "object" == typeof r && "function" == typeof r.toJSON)
600
+ return r;
601
+ try {
602
+ return a2$1(r);
603
+ } catch (s3) {
604
+ return "[object]";
605
+ }
606
+ })) };
607
+ } catch (r) {
608
+ throw n2$2.getLogger("esri.core.Error").error(r), r;
609
+ }
610
+ return { name: this.name, message: this.message, details: this.details };
611
+ }
612
+ static fromJSON(e2) {
613
+ return new _s(e2.name, e2.message, e2.details);
614
+ }
615
+ };
616
+ s2$1.prototype.type = "error";
617
+
618
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/beforeDestroy.js
619
+ var o3 = Symbol("Accessor-beforeDestroy");
620
+
621
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/utils.js
622
+ function t(r3) {
623
+ return r3.__accessor__ ?? null;
624
+ }
625
+ function e2$1(r3, n6) {
626
+ return null != r3?.metadata?.[n6];
627
+ }
628
+ function u$1(r3, n6, t2) {
629
+ if (t2) {
630
+ return o4(r3, n6, { policy: t2, path: "" });
631
+ }
632
+ return o4(r3, n6, null);
633
+ }
634
+ function o4(r3, t2, e5) {
635
+ return t2 ? Object.keys(t2).reduce((r4, i5) => {
636
+ const u6 = i5;
637
+ let a8 = null, l7 = "merge";
638
+ if (e5 && (a8 = e5.path ? `${e5.path}.${i5}` : i5, l7 = e5.policy(a8)), "replace" === l7)
639
+ return r4[u6] = t2[u6], r4;
640
+ if ("replace-arrays" === l7 && Array.isArray(r4[u6]))
641
+ return r4[u6] = t2[u6], r4;
642
+ if (void 0 === r4[u6])
643
+ return r4[u6] = a2$1(t2[u6]), r4;
644
+ let s8 = r4[u6], c8 = t2[u6];
645
+ if (s8 === c8)
646
+ return r4;
647
+ if (Array.isArray(c8) || Array.isArray(r4))
648
+ s8 = s8 ? Array.isArray(s8) ? r4[u6] = s8.concat() : r4[u6] = [s8] : r4[u6] = [], c8 && (Array.isArray(c8) || (c8 = [c8]), c8.forEach((r5) => {
649
+ s8.includes(r5) || s8.push(r5);
650
+ }));
651
+ else if (c8 && "object" == typeof c8)
652
+ if (e5) {
653
+ const n6 = e5.path;
654
+ e5.path = a8, r4[u6] = o4(s8, c8, e5), e5.path = n6;
655
+ } else
656
+ r4[u6] = o4(s8, c8, null);
657
+ else
658
+ r4.hasOwnProperty(i5) && !t2.hasOwnProperty(i5) || (r4[u6] = c8);
659
+ return r4;
660
+ }, r3 || {}) : r3;
661
+ }
662
+ function l(r3) {
663
+ return Array.isArray(r3) ? r3 : r3.split(".");
664
+ }
665
+ function s2(r3) {
666
+ return r3.includes(",") ? r3.split(",").map((r4) => r4.trim()) : [r3.trim()];
667
+ }
668
+ function c(r3) {
669
+ if (Array.isArray(r3)) {
670
+ const n6 = [];
671
+ for (const t2 of r3)
672
+ n6.push(...s2(t2));
673
+ return n6;
674
+ }
675
+ return s2(r3);
676
+ }
677
+ function p(n6, t2, e5, i5) {
678
+ const u6 = c(t2);
679
+ if (1 !== u6.length) {
680
+ const t3 = u6.map((r3) => i5(n6, r3, e5));
681
+ return o(t3);
682
+ }
683
+ return i5(n6, u6[0], e5);
684
+ }
685
+
686
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/interfaces.js
687
+ exports.I = void 0;
688
+ !function(I2) {
689
+ I2[I2.INITIALIZING = 0] = "INITIALIZING", I2[I2.CONSTRUCTING = 1] = "CONSTRUCTING", I2[I2.CONSTRUCTED = 2] = "CONSTRUCTED", I2[I2.DESTROYED = 3] = "DESTROYED";
690
+ }(exports.I || (exports.I = {}));
691
+
692
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/metadata.js
693
+ function r(e5) {
694
+ let r3 = e5.constructor.__accessorMetadata__;
695
+ const o10 = Object.prototype.hasOwnProperty.call(e5.constructor, "__accessorMetadata__");
696
+ if (r3) {
697
+ if (!o10) {
698
+ r3 = Object.create(r3);
699
+ for (const e6 in r3)
700
+ r3[e6] = a2$1(r3[e6]);
701
+ Object.defineProperty(e5.constructor, "__accessorMetadata__", { value: r3, enumerable: false, configurable: true, writable: true });
702
+ }
703
+ } else
704
+ r3 = {}, Object.defineProperty(e5.constructor, "__accessorMetadata__", { value: r3, enumerable: false, configurable: true, writable: true });
705
+ return e5.constructor.__accessorMetadata__;
706
+ }
707
+ function o5(t2, e5) {
708
+ const o10 = r(t2);
709
+ let c8 = o10[e5];
710
+ return c8 || (c8 = o10[e5] = {}), c8;
711
+ }
712
+ function c2(t2, r3) {
713
+ return u$1(t2, r3, n2$1);
714
+ }
715
+ var a2 = /^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;
716
+ function n2$1(t2) {
717
+ return a2.test(t2) ? "replace" : "merge";
718
+ }
719
+
720
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/tracking/Flags.js
721
+ exports.i = void 0;
722
+ !function(i5) {
723
+ i5[i5.Dirty = 1] = "Dirty", i5[i5.Overridden = 2] = "Overridden", i5[i5.Computing = 4] = "Computing", i5[i5.NonNullable = 8] = "NonNullable", i5[i5.HasDefaultValue = 16] = "HasDefaultValue", i5[i5.DepTrackingInitialized = 32] = "DepTrackingInitialized", i5[i5.AutoTracked = 64] = "AutoTracked", i5[i5.ExplicitlyTracking = 128] = "ExplicitlyTracking";
724
+ }(exports.i || (exports.i = {}));
725
+
726
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/tracking.js
727
+ var o6 = { onObservableAccessed: () => {
728
+ }, onTrackingEnd: () => {
729
+ } };
730
+ var c3 = [];
731
+ var i2 = o6;
732
+ function s3$1(t2) {
733
+ i2.onObservableAccessed(t2);
734
+ }
735
+ var l2 = false;
736
+ var a3 = false;
737
+ function f(t2, n6, r3) {
738
+ if (l2)
739
+ return u2(t2, n6, r3);
740
+ p2(t2);
741
+ const e5 = n6.call(r3);
742
+ return d(), e5;
743
+ }
744
+ function g(t2, n6) {
745
+ return f(o6, t2, n6);
746
+ }
747
+ function u2(n6, r3, e5) {
748
+ const o10 = l2;
749
+ l2 = true, p2(n6);
750
+ let c8 = null;
751
+ try {
752
+ c8 = r3.call(e5);
753
+ } catch (i5) {
754
+ a3 && n2$2.getLogger("esri.core.accessorSupport.tracking").error(i5);
755
+ }
756
+ return d(), l2 = o10, c8;
757
+ }
758
+ function p2(t2) {
759
+ i2 = t2, c3.push(t2);
760
+ }
761
+ function d() {
762
+ const t2 = c3.length;
763
+ if (t2 > 1) {
764
+ const n6 = c3.pop();
765
+ i2 = c3[t2 - 2], n6.onTrackingEnd();
766
+ } else if (1 === t2) {
767
+ const t3 = c3.pop();
768
+ i2 = o6, t3.onTrackingEnd();
769
+ } else
770
+ i2 = o6;
771
+ }
772
+ function m(t2, n6) {
773
+ if (n6.flags & exports.i.DepTrackingInitialized)
774
+ return;
775
+ const r3 = a3;
776
+ a3 = false, n6.flags & exports.i.AutoTracked ? u2(n6, n6.metadata.get, t2) : k2(t2, n6), a3 = r3;
777
+ }
778
+ var y$1 = [];
779
+ function k2(t2, r3) {
780
+ r3.flags & exports.i.ExplicitlyTracking || (r3.flags |= exports.i.ExplicitlyTracking, u2(r3, () => {
781
+ const e5 = r3.metadata.dependsOn || y$1;
782
+ for (const r4 of e5)
783
+ if ("string" != typeof r4 || r4.includes(".")) {
784
+ const e6 = l(r4);
785
+ for (let n6 = 0, r5 = t2; n6 < e6.length && null != r5 && "object" == typeof r5; ++n6)
786
+ r5 = A(r5, e6[n6], n6 !== e6.length - 1);
787
+ } else
788
+ A(t2, r4, false);
789
+ }), r3.flags &= ~exports.i.ExplicitlyTracking);
790
+ }
791
+ function A(t2, n6, e5) {
792
+ const o10 = "?" === n6[n6.length - 1] ? n6.slice(0, -1) : n6;
793
+ if (null != t2.getItemAt || Array.isArray(t2)) {
794
+ const n7 = parseInt(o10, 10);
795
+ if (!isNaN(n7))
796
+ return Array.isArray(t2) ? t2[n7] : t2.at(n7);
797
+ }
798
+ const c8 = t(t2);
799
+ if (c8) {
800
+ const n7 = c8.propertiesByName.get(o10);
801
+ n7 && (s3$1(n7), m(t2, n7));
802
+ }
803
+ return e5 ? t2[o10] : void 0;
804
+ }
805
+
806
+ // ../../../node_modules/@arcgis/core/core/Warning.js
807
+ var s4 = class extends e {
808
+ constructor(e5, s8, t2) {
809
+ super(e5, s8, t2);
810
+ }
811
+ };
812
+ s4.prototype.type = "warning";
813
+
814
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/extensions/serializableProperty/type.js
815
+ function e3$1(e5) {
816
+ return !!e5 && e5.prototype?.declaredClass && 0 === e5.prototype.declaredClass.indexOf("esri.core.Collection");
817
+ }
818
+
819
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/extensions/serializableProperty/reader.js
820
+ var i3 = () => n2$2.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");
821
+ function p3(t2, r3, n6) {
822
+ t2 && (!n6 && !r3.read || r3.read?.reader || false === r3.read?.enabled || l3(t2) && o$1("read.reader", u3(t2), r3));
823
+ }
824
+ function u3(t2) {
825
+ const e5 = t2.ndimArray ?? 0;
826
+ if (e5 > 1)
827
+ return c4(t2);
828
+ if (1 === e5)
829
+ return a4(t2);
830
+ if ("type" in t2 && d2$1(t2.type)) {
831
+ const e6 = t2.type.prototype?.itemType?.Type, r3 = a4("function" == typeof e6 ? { type: e6 } : { types: e6 });
832
+ return (e7, n6, o10) => {
833
+ const i5 = r3(e7, n6, o10);
834
+ return i5 ? new t2.type(i5) : i5;
835
+ };
836
+ }
837
+ return s5(t2);
838
+ }
839
+ function s5(t2) {
840
+ return "type" in t2 ? y2(t2.type) : g2(t2.types);
841
+ }
842
+ function y2(t2) {
843
+ return t2.prototype.read ? (e5, r3, n6) => {
844
+ if (null == e5)
845
+ return e5;
846
+ const o10 = typeof e5;
847
+ if ("object" !== o10)
848
+ return void i3().error(`Expected JSON value of type 'object' to deserialize type '${t2.prototype.declaredClass}', but got '${o10}'`);
849
+ const p7 = new t2();
850
+ return p7.read(e5, n6), p7;
851
+ } : t2.fromJSON;
852
+ }
853
+ function f2(t2, e5, r3, n6) {
854
+ return 0 !== n6 && Array.isArray(e5) ? e5.map((e6) => f2(t2, e6, r3, n6 - 1)) : t2(e5, void 0, r3);
855
+ }
856
+ function c4(t2) {
857
+ const e5 = s5(t2), r3 = f2.bind(null, e5), n6 = t2.ndimArray ?? 0;
858
+ return (t3, e6, o10) => {
859
+ if (null == t3)
860
+ return t3;
861
+ t3 = r3(t3, o10, n6);
862
+ let i5 = n6, p7 = t3;
863
+ for (; i5 > 0 && Array.isArray(p7); )
864
+ i5--, p7 = p7[0];
865
+ if (void 0 !== p7)
866
+ for (let r4 = 0; r4 < i5; r4++)
867
+ t3 = [t3];
868
+ return t3;
869
+ };
870
+ }
871
+ function a4(t2) {
872
+ const e5 = s5(t2);
873
+ return (t3, r3, n6) => {
874
+ if (null == t3)
875
+ return t3;
876
+ if (Array.isArray(t3)) {
877
+ const r4 = [];
878
+ for (const o11 of t3) {
879
+ const t4 = e5(o11, void 0, n6);
880
+ void 0 !== t4 && r4.push(t4);
881
+ }
882
+ return r4;
883
+ }
884
+ const o10 = e5(t3, void 0, n6);
885
+ return void 0 !== o10 ? [o10] : void 0;
886
+ };
887
+ }
888
+ function d2$1(t2) {
889
+ if (!e3$1(t2))
890
+ return false;
891
+ const e5 = t2.prototype.itemType;
892
+ return !(!e5 || !e5.Type) && ("function" == typeof e5.Type ? m2(e5.Type) : j(e5.Type));
893
+ }
894
+ function l3(t2) {
895
+ return "types" in t2 ? j(t2.types) : m2(t2.type);
896
+ }
897
+ function m2(t2) {
898
+ return !Array.isArray(t2) && (!!t2 && t2.prototype && ("read" in t2.prototype || "fromJSON" in t2 || d2$1(t2)));
899
+ }
900
+ function j(t2) {
901
+ for (const e5 in t2.typeMap) {
902
+ if (!m2(t2.typeMap[e5]))
903
+ return false;
904
+ }
905
+ return true;
906
+ }
907
+ function g2(t2) {
908
+ let e5 = null;
909
+ const n6 = t2.errorContext ?? "type", o10 = t2.validate;
910
+ return (p7, u6, s8) => {
911
+ if (null == p7)
912
+ return p7;
913
+ const y5 = typeof p7;
914
+ if ("object" !== y5)
915
+ return void i3().error(`Expected JSON value of type 'object' to deserialize, but got '${y5}'`);
916
+ e5 || (e5 = v(t2));
917
+ const f6 = t2.key;
918
+ if ("string" != typeof f6)
919
+ return;
920
+ const c8 = p7[f6], a8 = c8 ? e5[c8] : t2.defaultKeyValue ? t2.typeMap[t2.defaultKeyValue] : void 0;
921
+ if (!a8) {
922
+ const t3 = `Type '${c8 || "unknown"}' is not supported`;
923
+ return s8?.messages && p7 && s8.messages.push(new s4(`${n6}:unsupported`, t3, { definition: p7, context: s8 })), void i3().error(t3);
924
+ }
925
+ const d3 = new a8();
926
+ return d3.read(p7, s8), o10 ? o10(d3) : d3;
927
+ };
928
+ }
929
+ function v(t2) {
930
+ const e5 = {};
931
+ for (const r3 in t2.typeMap) {
932
+ const o10 = t2.typeMap[r3], i5 = r(o10.prototype);
933
+ if ("function" == typeof t2.key)
934
+ continue;
935
+ const p7 = i5[t2.key];
936
+ if (!p7)
937
+ continue;
938
+ if (p7.json?.type && Array.isArray(p7.json.type) && 1 === p7.json.type.length && "string" == typeof p7.json.type[0]) {
939
+ e5[p7.json.type[0]] = o10;
940
+ continue;
941
+ }
942
+ const u6 = p7.json?.write;
943
+ if (!u6?.writer) {
944
+ e5[r3] = o10;
945
+ continue;
946
+ }
947
+ const s8 = u6.target, y5 = "string" == typeof s8 ? s8 : t2.key, f6 = {};
948
+ u6.writer(r3, f6, y5), f6[y5] && (e5[f6[y5]] = o10);
949
+ }
950
+ return e5;
951
+ }
952
+
953
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/extensions/serializableProperty/originAliases.js
954
+ function n3(n6) {
955
+ if (n6.json && n6.json.origins) {
956
+ const o10 = n6.json.origins, e5 = { "web-document": ["web-scene", "web-map"] };
957
+ for (const n7 in e5)
958
+ if (o10[n7]) {
959
+ const s8 = o10[n7];
960
+ e5[n7].forEach((n8) => {
961
+ o10[n8] = s8;
962
+ }), delete o10[n7];
963
+ }
964
+ }
965
+ }
966
+
967
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/extensions/serializableProperty/shorthands.js
968
+ function e4(e5) {
969
+ if (e5.json || (e5.json = {}), o7(e5.json), n4(e5.json), r2(e5.json), e5.json.origins)
970
+ for (const t2 in e5.json.origins)
971
+ o7(e5.json.origins[t2]), n4(e5.json.origins[t2]), r2(e5.json.origins[t2]);
972
+ return true;
973
+ }
974
+ function r2(e5) {
975
+ e5.name && (e5.read && "object" == typeof e5.read ? void 0 === e5.read.source && (e5.read.source = e5.name) : e5.read = { source: e5.name }, e5.write && "object" == typeof e5.write ? void 0 === e5.write.target && (e5.write.target = e5.name) : e5.write = { target: e5.name });
976
+ }
977
+ function o7(e5) {
978
+ "boolean" == typeof e5.read ? e5.read = { enabled: e5.read } : "function" == typeof e5.read ? e5.read = { enabled: true, reader: e5.read } : e5.read && "object" == typeof e5.read && void 0 === e5.read.enabled && (e5.read.enabled = true);
979
+ }
980
+ function n4(e5) {
981
+ "boolean" == typeof e5.write ? e5.write = { enabled: e5.write } : "function" == typeof e5.write ? e5.write = { enabled: true, writer: e5.write } : e5.write && "object" == typeof e5.write && void 0 === e5.write.enabled && (e5.write.enabled = true);
982
+ }
983
+
984
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/extensions/serializableProperty/writer.js
985
+ function i4(r3, e5) {
986
+ if (!e5.write || e5.write.writer || false === e5.write.enabled && !e5.write.overridePolicy)
987
+ return;
988
+ const t2 = r3?.ndimArray ?? 0;
989
+ r3 && (1 === t2 || "type" in r3 && e3$1(r3.type)) ? e5.write.writer = a5 : t2 > 1 ? e5.write.writer = l4(t2) : e5.types ? Array.isArray(e5.types) ? e5.write.writer = f3(e5.types[0]) : e5.write.writer = o8(e5.types) : e5.write.writer = s6;
990
+ }
991
+ function o8(r3) {
992
+ return (e5, t2, n6, i5) => e5 ? u4(e5, r3, i5) ? s6(e5, t2, n6, i5) : void 0 : s6(e5, t2, n6, i5);
993
+ }
994
+ function u4(t2, n6, i5) {
995
+ for (const r3 in n6.typeMap)
996
+ if (t2 instanceof n6.typeMap[r3])
997
+ return true;
998
+ if (i5?.messages) {
999
+ const o10 = n6.errorContext ?? "type", u6 = `Values of type '${("function" != typeof n6.key ? t2[n6.key] : t2.declaredClass) ?? "Unknown"}' cannot be written`;
1000
+ i5 && i5.messages && t2 && i5.messages.push(new s2$1(`${o10}:unsupported`, u6, { definition: t2, context: i5 })), n2$2.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(u6);
1001
+ }
1002
+ return false;
1003
+ }
1004
+ function f3(r3) {
1005
+ return (e5, t2, n6, i5) => {
1006
+ if (!e5 || !Array.isArray(e5))
1007
+ return s6(e5, t2, n6, i5);
1008
+ return s6(e5.filter((e6) => u4(e6, r3, i5)), t2, n6, i5);
1009
+ };
1010
+ }
1011
+ function s6(r3, e5, n6, i5) {
1012
+ o$1(n6, p4(r3, i5), e5);
1013
+ }
1014
+ function p4(r3, e5) {
1015
+ return r3 && "function" == typeof r3.write ? r3.write({}, e5) : r3 && "function" == typeof r3.toJSON ? r3.toJSON() : "number" == typeof r3 ? y3(r3) : r3;
1016
+ }
1017
+ function y3(r3) {
1018
+ return r3 === -1 / 0 ? -Number.MAX_VALUE : r3 === 1 / 0 ? Number.MAX_VALUE : isNaN(r3) ? null : r3;
1019
+ }
1020
+ function a5(r3, e5, n6, i5) {
1021
+ let o10;
1022
+ null === r3 ? o10 = null : r3 && "function" == typeof r3.map ? (o10 = r3.map((r4) => p4(r4, i5)), "function" == typeof o10.toArray && (o10 = o10.toArray())) : o10 = [p4(r3, i5)], o$1(n6, o10, e5);
1023
+ }
1024
+ function c5(r3, e5, t2) {
1025
+ return 0 !== t2 && Array.isArray(r3) ? r3.map((r4) => c5(r4, e5, t2 - 1)) : p4(r3, e5);
1026
+ }
1027
+ function l4(r3) {
1028
+ return (e5, n6, i5, o10) => {
1029
+ let u6;
1030
+ if (null === e5)
1031
+ u6 = null;
1032
+ else {
1033
+ u6 = c5(e5, o10, r3);
1034
+ let t2 = r3, n7 = u6;
1035
+ for (; t2 > 0 && Array.isArray(n7); )
1036
+ t2--, n7 = n7[0];
1037
+ if (void 0 !== n7)
1038
+ for (let r4 = 0; r4 < t2; r4++)
1039
+ u6 = [u6];
1040
+ }
1041
+ o$1(i5, u6, n6);
1042
+ };
1043
+ }
1044
+ function p5(r3) {
1045
+ const i5 = f4(r3);
1046
+ if (r3.json.origins)
1047
+ for (const e5 in r3.json.origins) {
1048
+ const o10 = r3.json.origins[e5], s8 = o10.types ? u5(o10) : i5;
1049
+ p3(s8, o10, false), o10.types && !o10.write && r3.json.write?.enabled && (o10.write = { ...r3.json.write }), i4(s8, o10);
1050
+ }
1051
+ p3(i5, r3.json, true), i4(i5, r3.json);
1052
+ }
1053
+ function f4(r3) {
1054
+ return r3.json.types ? j2$1(r3.json) : r3.type ? c6(r3) : j2$1(r3);
1055
+ }
1056
+ function u5(r3) {
1057
+ return r3.type ? c6(r3) : j2$1(r3);
1058
+ }
1059
+ function c6(i5) {
1060
+ if (!i5.type)
1061
+ return;
1062
+ let n6 = 0, e5 = i5.type;
1063
+ for (; Array.isArray(e5) && !k(e5); )
1064
+ e5 = e5[0], n6++;
1065
+ return { type: e5, ndimArray: n6 };
1066
+ }
1067
+ function j2$1(r3) {
1068
+ if (!r3.types)
1069
+ return;
1070
+ let i5 = 0, n6 = r3.types;
1071
+ for (; Array.isArray(n6); )
1072
+ n6 = n6[0], i5++;
1073
+ return { types: n6, ndimArray: i5 };
1074
+ }
1075
+ function l5(r3) {
1076
+ e4(r3) && (n3(r3), p5(r3));
1077
+ }
1078
+
1079
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/decorators/subclass.js
1080
+ var n5 = /* @__PURE__ */ new Set();
1081
+ var c7 = /* @__PURE__ */ new Set();
1082
+ function a7(e5) {
1083
+ return (r3) => {
1084
+ e5 ?? (e5 = "esri.core.Accessor"), r3.prototype.declaredClass = e5, p6(r3);
1085
+ const s8 = [], i5 = [];
1086
+ let a8 = r3.prototype;
1087
+ for (; a8; )
1088
+ a8.hasOwnProperty("initialize") && !n5.has(a8.initialize) && (n5.add(a8.initialize), s8.push(a8.initialize)), a8.hasOwnProperty("destroy") && !c7.has(a8.destroy) && (c7.add(a8.destroy), i5.push(a8.destroy)), a8 = Object.getPrototypeOf(a8);
1089
+ n5.clear(), c7.clear();
1090
+ const l7 = class extends r3 {
1091
+ constructor(...e6) {
1092
+ if (super(...e6), this.constructor === l7 && "function" == typeof this.postscript) {
1093
+ if (s8.length && Object.defineProperty(this, "initialize", { enumerable: false, configurable: true, value() {
1094
+ for (let e7 = s8.length - 1; e7 >= 0; e7--)
1095
+ s8[e7].call(this);
1096
+ } }), i5.length) {
1097
+ let e7 = false;
1098
+ const r4 = this[o3];
1099
+ Object.defineProperty(this, "destroy", { enumerable: false, configurable: true, value() {
1100
+ if (!e7) {
1101
+ e7 = true, r4.call(this);
1102
+ for (let e8 = 0; e8 < i5.length; e8++)
1103
+ i5[e8].call(this);
1104
+ }
1105
+ } });
1106
+ }
1107
+ Object.defineProperty(this, Symbol.dispose, { enumerable: false, configurable: true, value() {
1108
+ this.destroy();
1109
+ } }), this.postscript(...e6);
1110
+ }
1111
+ }
1112
+ };
1113
+ l7.__accessorMetadata__ = r(r3.prototype), l7.prototype.declaredClass = e5;
1114
+ const f6 = (e5 || "AccessorSubclass").split(".").slice(-1)[0];
1115
+ return Object.defineProperty(l7, "name", { value: f6, configurable: true }), l7;
1116
+ };
1117
+ }
1118
+ function l6(e5, t2) {
1119
+ return null == t2.get ? function() {
1120
+ const t3 = this.__accessor__, r3 = t3.propertiesByName.get(e5);
1121
+ if (void 0 === r3)
1122
+ return;
1123
+ s3$1(r3);
1124
+ const o10 = t3.store;
1125
+ return o10.has(e5) ? o10.get(e5) : r3.metadata.value;
1126
+ } : function() {
1127
+ const t3 = this.__accessor__, r3 = t3.propertiesByName.get(e5);
1128
+ if (void 0 !== r3)
1129
+ return r3.getComputed(t3);
1130
+ };
1131
+ }
1132
+ function p6(e5) {
1133
+ const t2 = e5.prototype, s8 = r(t2), n6 = {};
1134
+ for (const o10 of Object.getOwnPropertyNames(s8)) {
1135
+ const e6 = s8[o10];
1136
+ l5(e6), n6[o10] = { enumerable: true, configurable: true, get: l6(o10, e6), set(t3) {
1137
+ const s9 = this.__accessor__;
1138
+ if (void 0 !== s9) {
1139
+ if (!Object.isFrozen(this))
1140
+ return s9.initialized && e6.readOnly ? f5("read-only", o10) : s9.lifecycle === exports.I.CONSTRUCTED && e6.constructOnly ? f5("construct-only", o10) : void s9.set(o10, t3);
1141
+ } else
1142
+ Object.defineProperty(this, o10, { enumerable: true, configurable: true, writable: true, value: t3 });
1143
+ } };
1144
+ }
1145
+ Object.defineProperties(e5.prototype, n6);
1146
+ }
1147
+ var f5 = (t2, r3) => {
1148
+ n2$2.getLogger("esri.core.Accessor").error(`cannot assign to ${t2} property '${r3}'`);
1149
+ };
1150
+
1151
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/get.js
1152
+ function e2(t3, e4) {
1153
+ const i2 = "?" === t3[t3.length - 1] ? t3.slice(0, -1) : t3;
1154
+ if (null != e4.getItemAt || Array.isArray(e4)) {
1155
+ const t4 = parseInt(i2, 10);
1156
+ if (!isNaN(t4))
1157
+ return Array.isArray(e4) ? e4[t4] : e4.at(t4);
1158
+ }
1159
+ const u2 = t(e4);
1160
+ return e2$1(u2, i2) ? u2.get(i2) : e4[i2];
1161
+ }
1162
+ function i(t3, n3, r) {
1163
+ if (null == t3)
1164
+ return t3;
1165
+ const u2 = e2(n3[r], t3);
1166
+ return !u2 && r < n3.length - 1 ? void 0 : r === n3.length - 1 ? u2 : i(u2, n3, r + 1);
1167
+ }
1168
+ function u(n3, r, u2 = 0) {
1169
+ return "string" != typeof r || r.includes(".") ? i(n3, l(r), u2) : e2(r, n3);
1170
+ }
1171
+ function o2(t3, n3) {
1172
+ return u(t3, n3);
1173
+ }
1174
+
1175
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/set.js
1176
+ function t2(o3, e4, s4) {
1177
+ if (o3 && e4)
1178
+ if ("object" == typeof e4)
1179
+ for (const r of Object.getOwnPropertyNames(e4))
1180
+ t2(o3, r, e4[r]);
1181
+ else {
1182
+ if (e4.includes(".")) {
1183
+ const n3 = e4.split("."), i3 = n3.splice(-1, 1)[0];
1184
+ return void t2(o2(o3, n3), i3, s4);
1185
+ }
1186
+ const i2 = o3.__accessor__;
1187
+ null != i2 && n2(e4, i2), o3[e4] = s4;
1188
+ }
1189
+ }
1190
+ function n2(r, t3) {
1191
+ if (has("esri-unknown-property-errors") && !e3(r, t3))
1192
+ throw new s2$1("set:unknown-property", s3(r, t3));
1193
+ }
1194
+ function e3(o3, r) {
1195
+ return null != r.metadata[o3];
1196
+ }
1197
+ function s3(o3, r) {
1198
+ return "setting unknown property '" + o3 + "' on instance of " + r.host.declaredClass;
1199
+ }
1200
+
1201
+ // ../../../node_modules/@arcgis/core/core/accessorSupport/decorators/property.js
1202
+ function y(n3 = {}) {
1203
+ return (o3, s4) => {
1204
+ if (o3 === Function.prototype)
1205
+ throw new Error(`Inappropriate use of @property() on a static field: ${o3.name}.${s4}. Accessor does not support static properties.`);
1206
+ const i2 = Object.getOwnPropertyDescriptor(o3, s4), a = o5(o3, s4);
1207
+ i2 && (i2.get || i2.set ? (a.get = i2.get || a.get, a.set = i2.set || a.set) : "value" in i2 && ("value" in n3 && n2$2.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${s4}" on "${o3.constructor.name}" already defined in the metadata`, n3), a.value = n3.value = i2.value)), null != n3.readOnly && (a.readOnly = n3.readOnly);
1208
+ const p = n3.aliasOf;
1209
+ if (p) {
1210
+ const t3 = "string" == typeof p ? p : p.source, e4 = "string" == typeof p ? null : true === p.overridable;
1211
+ let r;
1212
+ a.dependsOn = [t3], a.get = function() {
1213
+ let e5 = o2(this, t3);
1214
+ if ("function" == typeof e5) {
1215
+ r || (r = t3.split(".").slice(0, -1).join("."));
1216
+ const n4 = o2(this, r);
1217
+ n4 && (e5 = e5.bind(n4));
1218
+ }
1219
+ return e5;
1220
+ }, a.readOnly || (a.set = e4 ? function(t4) {
1221
+ this._override(s4, t4);
1222
+ } : function(e5) {
1223
+ t2(this, t3, e5);
1224
+ });
1225
+ }
1226
+ const u2 = n3.type, c2$1 = n3.types;
1227
+ a.cast || (u2 ? a.cast = h(u2) : c2$1 && (Array.isArray(c2$1) ? a.cast = b(S(c2$1[0])) : a.cast = S(c2$1))), c2(a, n3), n3.range && (a.cast = j2(a.cast, n3.range));
1228
+ };
1229
+ }
1230
+ function d2(t3, e4, r) {
1231
+ const n3 = o5(t3, r);
1232
+ n3.json || (n3.json = {});
1233
+ let o3 = n3.json;
1234
+ return void 0 !== e4 && (o3.origins || (o3.origins = {}), o3.origins[e4] || (o3.origins[e4] = {}), o3 = o3.origins[e4]), o3;
1235
+ }
1236
+ function h(t3) {
1237
+ let e4 = 0, r = t3;
1238
+ if (_(t3))
1239
+ return B(t3);
1240
+ for (; Array.isArray(r) && 1 === r.length && "string" != typeof r[0] && "number" != typeof r[0]; )
1241
+ r = r[0], e4++;
1242
+ const f = r;
1243
+ if (k(f))
1244
+ return 0 === e4 ? M(f) : $(M(f), e4);
1245
+ if (1 === e4)
1246
+ return w(f);
1247
+ if (e4 > 1)
1248
+ return j$1(f, e4);
1249
+ const l2 = t3;
1250
+ return l2.from ? l2.from : d$1(l2);
1251
+ }
1252
+ function j2(t3, e4) {
1253
+ return (r) => {
1254
+ let n3 = +t3(r);
1255
+ return null != e4.step && (n3 = Math.round(n3 / e4.step) * e4.step), null != e4.min && (n3 = Math.max(e4.min, n3)), null != e4.max && (n3 = Math.min(e4.max, n3)), n3;
1256
+ };
1257
+ }
1258
+
1259
+ exports.O = O$1;
1260
+ exports.S = S$1;
1261
+ exports.a2 = a2$1;
1262
+ exports.a7 = a7;
1263
+ exports.d = d$1;
1264
+ exports.d2 = d2;
1265
+ exports.e = e$1;
1266
+ exports.f = f;
1267
+ exports.g = g;
1268
+ exports.has = has;
1269
+ exports.j = j$3;
1270
+ exports.j$1 = j$2;
1271
+ exports.j2 = j2;
1272
+ exports.k2 = k2;
1273
+ exports.m = m;
1274
+ exports.n2 = n2$2;
1275
+ exports.o = o$1;
1276
+ exports.o2 = o2;
1277
+ exports.o3 = o3;
1278
+ exports.o5 = o5;
1279
+ exports.p = p;
1280
+ exports.p6 = p6;
1281
+ exports.r = r;
1282
+ exports.s3 = s3$1;
1283
+ exports.t2 = t2;
1284
+ exports.u = u;
1285
+ exports.v = v$2;
1286
+ exports.y = y;