@arcgis/map-components 6.0.0-next.41 → 6.0.0-next.43

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 (173) hide show
  1. package/dist/cdn/{HOMM5T7F.js → 23FQMZEJ.js} +1 -1
  2. package/dist/cdn/{OT4D3TVG.js → 2KGJ7SZH.js} +1 -1
  3. package/dist/cdn/{GTQOMGD7.js → 2MIHLZFT.js} +1 -1
  4. package/dist/cdn/{NF426VVG.js → 3L2QSX64.js} +1 -1
  5. package/dist/cdn/{IH2T7XRU.js → 3VLSPKTJ.js} +1 -1
  6. package/dist/cdn/3ZRVPLIZ.js +2 -0
  7. package/dist/cdn/{TII37L6V.js → 4FBPT5MA.js} +1 -1
  8. package/dist/cdn/{6WT5CUW4.js → 4IPFHL7W.js} +1 -1
  9. package/dist/cdn/{5XZKVLHC.js → 5ATTOWK4.js} +1 -1
  10. package/dist/cdn/{HUZLTULW.js → 5MRT5VRJ.js} +1 -1
  11. package/dist/cdn/6E4PVTTN.js +2 -0
  12. package/dist/cdn/{JBD7Q5YD.js → 6NCSWYYX.js} +1 -1
  13. package/dist/cdn/{5VK56DPB.js → 6NY67VW5.js} +1 -1
  14. package/dist/cdn/{RX7LVZ5V.js → 6P7V62WJ.js} +1 -1
  15. package/dist/cdn/{2BKWAHTD.js → 6TLX4R5A.js} +1 -1
  16. package/dist/cdn/6YPY3QWH.js +2 -0
  17. package/dist/cdn/72KS3TKM.js +2 -0
  18. package/dist/cdn/{5IWCWL2Q.js → 7FB4DOVH.js} +1 -1
  19. package/dist/cdn/{DYKRS7YX.js → 7GXJ6HJZ.js} +1 -1
  20. package/dist/cdn/7WUY57GO.js +2 -0
  21. package/dist/cdn/{DVLTVCIH.js → 7YSYI32G.js} +1 -1
  22. package/dist/cdn/{AMRGLUBB.js → AKSCONMP.js} +1 -1
  23. package/dist/cdn/{FTRRLFYT.js → B6VGTQ4L.js} +1 -1
  24. package/dist/cdn/BQCOYIEH.js +2 -0
  25. package/dist/cdn/{Y6MM3GUE.js → BVWTI63V.js} +1 -1
  26. package/dist/cdn/{4DRKK3S6.js → CBCAUSDJ.js} +1 -1
  27. package/dist/cdn/{CX23L4OX.js → CPK3PMBE.js} +1 -1
  28. package/dist/cdn/CSVVXWVY.js +2 -0
  29. package/dist/cdn/{Y4GL4RZF.js → CX5AZKYT.js} +1 -1
  30. package/dist/cdn/{2J6WEB6T.js → DEICCDP4.js} +1 -1
  31. package/dist/cdn/DJAFLMKA.js +2 -0
  32. package/dist/cdn/DSINA62N.js +4 -0
  33. package/dist/cdn/{NYIKMTKG.js → E4ZUESKS.js} +1 -1
  34. package/dist/cdn/{UJBFSJDF.js → E5BLQ5FK.js} +1 -1
  35. package/dist/cdn/{KKSTZRNG.js → EDGXY4OL.js} +1 -1
  36. package/dist/cdn/{YEPFWDQQ.js → EL5AFBNE.js} +1 -1
  37. package/dist/cdn/{GEZIZQV6.js → EN5NCDOJ.js} +1 -1
  38. package/dist/cdn/{QNQOBXLM.js → EQA4WO3H.js} +1 -1
  39. package/dist/cdn/{JILA7S66.js → FLSEDKWU.js} +1 -1
  40. package/dist/cdn/{625O4F4L.js → GQVCBPZS.js} +1 -1
  41. package/dist/cdn/{I7XTEFQP.js → GSGFAJCR.js} +1 -1
  42. package/dist/cdn/{BXBPEOE3.js → GSU7GNNP.js} +1 -1
  43. package/dist/cdn/{IZFEOYED.js → H2PXK4AT.js} +1 -1
  44. package/dist/cdn/{RCJ3GROZ.js → HBQAYD5H.js} +1 -1
  45. package/dist/cdn/{D7RGMUI2.js → IAJNBAC5.js} +1 -1
  46. package/dist/cdn/{JPQ5ELDQ.js → INMMQJOE.js} +1 -1
  47. package/dist/cdn/{OMDFAKMT.js → IQYLP2H7.js} +1 -1
  48. package/dist/cdn/{DVH35LZL.js → J2K2LRII.js} +1 -1
  49. package/dist/cdn/JUTSSJJF.js +2 -0
  50. package/dist/cdn/JZYDXRQ6.js +4 -0
  51. package/dist/cdn/{Y6ZJNJZ7.js → KSOO3XZ2.js} +1 -1
  52. package/dist/cdn/{KLSIUZNN.js → MKL4YXDU.js} +1 -1
  53. package/dist/cdn/{EMOYKTQL.js → O2BFE6NY.js} +1 -1
  54. package/dist/cdn/OUFB4LJK.js +2 -0
  55. package/dist/cdn/{GFC6LS4L.js → OYG42YJL.js} +1 -1
  56. package/dist/cdn/{O2RCWKKW.js → PD2BELF2.js} +1 -1
  57. package/dist/cdn/{T2JBUILX.js → PFYEJDRJ.js} +1 -1
  58. package/dist/cdn/{JWCEHGEZ.js → PNMBUGPD.js} +1 -1
  59. package/dist/cdn/QEAEEU72.js +2 -0
  60. package/dist/cdn/{U53HTVZS.js → RUJLTSDR.js} +1 -1
  61. package/dist/cdn/{IH7XQCY4.js → SA7B3XQG.js} +1 -1
  62. package/dist/cdn/{CNUAMIZQ.js → T5RX6NXT.js} +2 -2
  63. package/dist/cdn/T7PDMEAD.js +2 -0
  64. package/dist/cdn/{7PMJ7HCH.js → U5BYZI4G.js} +1 -1
  65. package/dist/cdn/UPXNXNTT.js +2 -0
  66. package/dist/cdn/{MG2HQ3FT.js → UW3FYQWG.js} +1 -1
  67. package/dist/cdn/V34ZYXUI.js +2 -0
  68. package/dist/cdn/{WRB2DEQ6.js → W6ILOTBW.js} +1 -1
  69. package/dist/cdn/{EZFBYRI4.js → WYX6WXW4.js} +1 -1
  70. package/dist/cdn/{JFE63ANJ.js → X27EW2YC.js} +1 -1
  71. package/dist/cdn/{6GFNMSM4.js → XHHVIWXO.js} +1 -1
  72. package/dist/cdn/{7P24CQF4.js → XOWOMVSW.js} +1 -1
  73. package/dist/cdn/{CRJB272X.js → XURPEC42.js} +1 -1
  74. package/dist/cdn/{WVRIR3PK.js → YB6AHPU5.js} +1 -1
  75. package/dist/cdn/{LQYTLVCL.js → YRQXG7GX.js} +1 -1
  76. package/dist/cdn/{LHH3PS5H.js → ZVGWUEUE.js} +1 -1
  77. package/dist/cdn/assets/time-zone-chip/t9n/messages.en.json +1 -1
  78. package/dist/cdn/index.js +1 -1
  79. package/dist/cdn/main.css +1 -1
  80. package/dist/chunks/AnalysisViewModel.js +1 -1
  81. package/dist/chunks/async-utils.js +1 -1
  82. package/dist/chunks/slots.js +1 -1
  83. package/dist/components/arcgis-daylight/customElement.d.ts +43 -50
  84. package/dist/components/arcgis-daylight/customElement.js +231 -225
  85. package/dist/components/arcgis-editor/customElement.d.ts +0 -1
  86. package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -0
  87. package/dist/components/arcgis-elevation-profile/customElement.js +39 -38
  88. package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -1
  89. package/dist/components/arcgis-link-chart/customElement.d.ts +0 -1
  90. package/dist/components/arcgis-map/customElement.d.ts +0 -1
  91. package/dist/components/arcgis-scene/customElement.d.ts +0 -1
  92. package/dist/components/arcgis-shadow-cast/customElement.d.ts +36 -24
  93. package/dist/components/arcgis-shadow-cast/customElement.js +105 -128
  94. package/dist/components/arcgis-sketch/customElement.d.ts +0 -1
  95. package/dist/components/arcgis-time-zone-chip/customElement.d.ts +8 -0
  96. package/dist/components/arcgis-time-zone-chip/customElement.js +27 -18
  97. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +34 -34
  98. package/dist/components/types.d.ts +7 -0
  99. package/dist/docs/api.json +1 -1
  100. package/dist/docs/docs.json +1 -1
  101. package/dist/docs/vscode.html-custom-data.json +1 -1
  102. package/dist/docs/web-types.json +1 -1
  103. package/dist/index.d.ts +0 -10
  104. package/dist/loader.js +3 -4
  105. package/dist/types/lumina.d.ts +6 -11
  106. package/dist/types/preact.d.ts +6 -12
  107. package/dist/types/react.d.ts +6 -13
  108. package/dist/types/stencil.d.ts +6 -11
  109. package/package.json +7 -7
  110. package/dist/cdn/27TSPXYV.js +0 -2
  111. package/dist/cdn/2JSC2QUL.js +0 -2
  112. package/dist/cdn/43IGD6V3.js +0 -2
  113. package/dist/cdn/4JR57ZIQ.js +0 -2
  114. package/dist/cdn/6BT6RP22.js +0 -2
  115. package/dist/cdn/6KYZMT4A.js +0 -2
  116. package/dist/cdn/BJUFDQGX.js +0 -2
  117. package/dist/cdn/DFNH6YRR.js +0 -2
  118. package/dist/cdn/GOMR7D5M.js +0 -2
  119. package/dist/cdn/HKKNU4CX.js +0 -2
  120. package/dist/cdn/LZUAJU6O.js +0 -2
  121. package/dist/cdn/PYBUTNHM.js +0 -2
  122. package/dist/cdn/SKV3CQSZ.js +0 -2
  123. package/dist/cdn/TXVB6WRV.js +0 -2
  124. package/dist/cdn/UYDXI4AK.js +0 -4
  125. package/dist/cdn/YAWLVMV6.js +0 -2
  126. package/dist/cdn/YGBYB3BZ.js +0 -2
  127. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +0 -100
  128. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +0 -44
  129. package/dist/components/arcgis-utility-network-validate-topology/index.d.ts +0 -1
  130. package/dist/components/arcgis-utility-network-validate-topology/index.js +0 -1
  131. /package/dist/cdn/{SLQPDAGN.js → 237ZYFAI.js} +0 -0
  132. /package/dist/cdn/{AYQJ2LTV.js → 4LNUUNTS.js} +0 -0
  133. /package/dist/cdn/{OLSESBZ7.js → 4RG2L4NX.js} +0 -0
  134. /package/dist/cdn/{N2YWWQOS.js → 6F6UDFL6.js} +0 -0
  135. /package/dist/cdn/{62HMPABL.js → 6FZQAFDW.js} +0 -0
  136. /package/dist/cdn/{RTDY3HLR.js → 6RNYBJQG.js} +0 -0
  137. /package/dist/cdn/{ZCL4XHIZ.js → 6YT2MRU6.js} +0 -0
  138. /package/dist/cdn/{XQ2WXTW7.js → AAF7U7C7.js} +0 -0
  139. /package/dist/cdn/{IRFIHD5X.js → AZFQTGM4.js} +0 -0
  140. /package/dist/cdn/{XCSF7KJK.js → BVR6RYPL.js} +0 -0
  141. /package/dist/cdn/{DPEWQQEB.js → C3VCBV5R.js} +0 -0
  142. /package/dist/cdn/{ZSKO7HLH.js → COJJ4ST7.js} +0 -0
  143. /package/dist/cdn/{NVN2CATF.js → CSLBASOL.js} +0 -0
  144. /package/dist/cdn/{2P5AJORF.js → DDUJHOQ5.js} +0 -0
  145. /package/dist/cdn/{DLUFAV4S.js → F25B6VFT.js} +0 -0
  146. /package/dist/cdn/{PWZHB6VD.js → FC4U5FYO.js} +0 -0
  147. /package/dist/cdn/{SLNXNVPI.js → H3SNBMDP.js} +0 -0
  148. /package/dist/cdn/{QWMDZDQA.js → HDNFEQXP.js} +0 -0
  149. /package/dist/cdn/{FJMXBIN5.js → HMAEKQ63.js} +0 -0
  150. /package/dist/cdn/{T34W3GKP.js → HRKFC3ZC.js} +0 -0
  151. /package/dist/cdn/{5GTPIPN7.js → ID3JLPN6.js} +0 -0
  152. /package/dist/cdn/{KOMTNQPT.js → IKNNVF57.js} +0 -0
  153. /package/dist/cdn/{OFBWNR54.js → J3U6IFQO.js} +0 -0
  154. /package/dist/cdn/{CHMBPPHS.js → JUG5VVPL.js} +0 -0
  155. /package/dist/cdn/{MEISDI2H.js → KYUDUFNZ.js} +0 -0
  156. /package/dist/cdn/{4LWSF6AI.js → L63YJ5AF.js} +0 -0
  157. /package/dist/cdn/{LVIYMA67.js → LGPNCTTW.js} +0 -0
  158. /package/dist/cdn/{LS4U4GD5.js → LH4SQVC2.js} +0 -0
  159. /package/dist/cdn/{XGWYQ7FU.js → LNUFIKD5.js} +0 -0
  160. /package/dist/cdn/{7YT5W57B.js → NIASADUV.js} +0 -0
  161. /package/dist/cdn/{UDXDE3LW.js → NJ3CJS46.js} +0 -0
  162. /package/dist/cdn/{6SL7YNKF.js → NXC47WWQ.js} +0 -0
  163. /package/dist/cdn/{ZNIMZP5R.js → O527UXXI.js} +0 -0
  164. /package/dist/cdn/{G4IKO2R6.js → OXZOWO5A.js} +0 -0
  165. /package/dist/cdn/{SFDCS6A2.js → PHFJU5KL.js} +0 -0
  166. /package/dist/cdn/{TP2KQRW6.js → QHK5I5OO.js} +0 -0
  167. /package/dist/cdn/{IAYL44LK.js → RB3QNSQJ.js} +0 -0
  168. /package/dist/cdn/{ECA47Z37.js → T4CJDMMZ.js} +0 -0
  169. /package/dist/cdn/{AKTIOEYM.js → TAU22PX7.js} +0 -0
  170. /package/dist/cdn/{ZHYXFOYU.js → VP47DYTR.js} +0 -0
  171. /package/dist/cdn/{NVKOZL7X.js → WMP77MLQ.js} +0 -0
  172. /package/dist/cdn/{5GGAWGSN.js → WMRMVZHH.js} +0 -0
  173. /package/dist/cdn/{GCPR7XFU.js → YEEPGAEP.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import { c as be } from "../../chunks/runtime.js";
3
- import { watch as K, when as ve, whenOnce as ye } from "@arcgis/core/core/reactiveUtils.js";
4
- import { getZonedDateTimeParts as P, createZonedDate as V, formatCalendarDate as H } from "@arcgis/core/core/timeUtils.js";
5
- import * as we from "@arcgis/core/intl.js";
6
- import M from "@arcgis/core/views/3d/environment/SunLighting.js";
7
- import xe from "@arcgis/core/views/3d/environment/VirtualLighting.js";
8
- import { LitElement as Se, createEvent as Q, safeStyleMap as X, nothing as G } from "@arcgis/lumina";
9
- import { css as De, html as u } from "lit";
10
- import { createRef as ee, ref as te } from "lit/directives/ref.js";
2
+ import { c as _e } from "../../chunks/runtime.js";
3
+ import { watch as Q, when as be, whenOnce as ve } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { getZonedDateTimeParts as P, createZonedDate as G, formatCalendarDate as R } from "@arcgis/core/core/timeUtils.js";
5
+ import * as ye from "@arcgis/core/intl.js";
6
+ import $ from "@arcgis/core/views/3d/environment/SunLighting.js";
7
+ import we from "@arcgis/core/views/3d/environment/VirtualLighting.js";
8
+ import { LitElement as xe, createEvent as F, safeStyleMap as Se, nothing as W } from "@arcgis/lumina";
9
+ import { css as De, html as _ } from "lit";
10
+ import { createRef as X, ref as ee } from "lit/directives/ref.js";
11
11
  import { u as Te } from "../../chunks/useT9n.js";
12
12
  import { u as ke } from "../../chunks/useView.js";
13
- import { t as R } from "../../chunks/earth-utils.js";
14
- import { m as q } from "../../chunks/handle.js";
15
- import { o as F, i as h, b as N, d as U, l as J, r as Ce, s as ie, g as Pe } from "../../chunks/time-utils.js";
16
- import { a as Oe, r as $e, g as Me, d as Ue } from "../../chunks/async-utils.js";
17
- import { createTrackingTarget as ze, runTracked as re, signal as Le } from "@arcgis/core/applications/Components/reactiveUtils.js";
18
- import { C as se } from "../../chunks/component-wrapper.js";
13
+ import { t as U } from "../../chunks/earth-utils.js";
14
+ import { m as B } from "../../chunks/handle.js";
15
+ import { o as N, i as h, b as J, d as z, l as Y, r as Ce, s as te, g as Pe } from "../../chunks/time-utils.js";
16
+ import { a as Oe, r as Me, g as $e, d as Ue } from "../../chunks/async-utils.js";
17
+ import { createTrackingTarget as ze, runTracked as ie, signal as Le } from "@arcgis/core/applications/Components/reactiveUtils.js";
18
+ import { C as re } from "../../chunks/component-wrapper.js";
19
19
  import { V as S } from "../../chunks/visible-element.js";
20
- function he(r, e) {
20
+ function de(r, e) {
21
21
  return (r % e + e) % e;
22
22
  }
23
- class Ee {
23
+ class Ze {
24
24
  #t;
25
- #d;
26
- #h = ze(() => {
25
+ #c;
26
+ #d = ze(() => {
27
27
  this.#i();
28
28
  });
29
29
  constructor(e) {
30
- this.#d = e;
30
+ this.#c = e;
31
31
  let t;
32
- re(this.#h, () => {
32
+ ie(this.#d, () => {
33
33
  t = e();
34
34
  }), this.#t = Le(t);
35
35
  }
36
36
  #i() {
37
37
  const e = this.#t.value;
38
- re(this.#h, () => {
39
- this.#t.value = this.#d(e);
38
+ ie(this.#d, () => {
39
+ this.#t.value = this.#c(e);
40
40
  });
41
41
  }
42
42
  mutate(e) {
@@ -46,32 +46,32 @@ class Ee {
46
46
  return this.#t.value;
47
47
  }
48
48
  }
49
- function Y(r) {
50
- return new Ee(r);
49
+ function j(r) {
50
+ return new Ze(r);
51
51
  }
52
- var Z = Math.PI, f = Math.sin, k = Math.cos, Ze = Math.asin, Ae = Math.acos, w = Z / 180, ge = 1e3 * 60 * 60 * 24, ue = 2440588, fe = 2451545;
52
+ var A = Math.PI, u = Math.sin, k = Math.cos, Ee = Math.asin, Ae = Math.acos, w = A / 180, he = 1e3 * 60 * 60 * 24, ge = 2440588, ue = 2451545;
53
53
  function Ie(r) {
54
- return r.valueOf() / ge - 0.5 + ue;
54
+ return r.valueOf() / he - 0.5 + ge;
55
55
  }
56
- function z(r) {
57
- return new Date((r + 0.5 - ue) * ge);
56
+ function L(r) {
57
+ return new Date((r + 0.5 - ge) * he);
58
58
  }
59
59
  function He(r) {
60
- return Ie(r) - fe;
60
+ return Ie(r) - ue;
61
61
  }
62
- var ne = w * 23.4397;
62
+ var se = w * 23.4397;
63
63
  function Re(r, e) {
64
- return Ze(f(e) * k(ne) + k(e) * f(ne) * f(r));
64
+ return Ee(u(e) * k(se) + k(e) * u(se) * u(r));
65
65
  }
66
66
  function Fe(r) {
67
67
  return w * (357.5291 + 0.98560028 * r);
68
68
  }
69
69
  function Ne(r) {
70
- return w * (1.9148 * f(r) + 0.02 * f(2 * r) + 3e-4 * f(3 * r));
70
+ return w * (1.9148 * u(r) + 0.02 * u(2 * r) + 3e-4 * u(3 * r));
71
71
  }
72
72
  function Je(r, e) {
73
73
  var t = w * 102.9372;
74
- return r + e + t + Z;
74
+ return r + e + t + A;
75
75
  }
76
76
  var D = {};
77
77
  D.PolarException = {
@@ -79,7 +79,7 @@ D.PolarException = {
79
79
  MIDNIGHT_SUN: 1,
80
80
  POLAR_NIGHT: 2
81
81
  };
82
- var j = [
82
+ var q = [
83
83
  [-0.83, "sunrise", "sunset"]
84
84
  // none of the below are currently used -> disabled to avoid unnecessary calculations,
85
85
  // as all elements of 'times' are evaluated on every sunCalc.getTimes call.
@@ -90,37 +90,37 @@ var j = [
90
90
  [ -18, "nightEnd", "night" ],
91
91
  [ 6, "goldenHourEnd", "goldenHour" ]
92
92
  */
93
- ], pe = 9e-4;
93
+ ], fe = 9e-4;
94
94
  function Ye(r, e) {
95
- return Math.round(r - pe - e / (2 * Z));
95
+ return Math.round(r - fe - e / (2 * A));
96
96
  }
97
- function ae(r, e, t) {
98
- return pe + (r + e) / (2 * Z) + t;
97
+ function ne(r, e, t) {
98
+ return fe + (r + e) / (2 * A) + t;
99
99
  }
100
- function oe(r, e, t) {
101
- return fe + r + 53e-4 * f(e) - 69e-4 * f(2 * t);
100
+ function ae(r, e, t) {
101
+ return ue + r + 53e-4 * u(e) - 69e-4 * u(2 * t);
102
102
  }
103
103
  function je(r, e, t) {
104
- return Ae((f(r) - f(e) * f(t)) / (k(e) * k(t)));
104
+ return Ae((u(r) - u(e) * u(t)) / (k(e) * k(t)));
105
105
  }
106
106
  D.getTimes = function(r, e, t) {
107
- var i = w * -t, s = w * e, n = He(r), a = Ye(n, i), l = ae(0, i, a), d = Fe(l), o = Ne(d), c = Je(d, o), p = Re(c, 0), g = oe(l, d, c);
108
- function m(I) {
109
- var $ = je(I, s, p), _e = ae($, i, a);
110
- return oe(_e, d, c);
107
+ var i = w * -t, s = w * e, n = He(r), a = Ye(n, i), l = ne(0, i, a), d = Fe(l), o = Ne(d), c = Je(d, o), f = Re(c, 0), g = ae(l, d, c);
108
+ function p(H) {
109
+ var M = je(H, s, f), me = ne(M, i, a);
110
+ return ae(me, d, c);
111
111
  }
112
- function x(I) {
113
- var $ = (f(I) - f(s) * f(p)) / (k(s) * k(p));
114
- return $ < -1 ? D.PolarException.MIDNIGHT_SUN : $ > 1 ? D.PolarException.POLAR_NIGHT : D.PolarException.NORMAL;
112
+ function x(H) {
113
+ var M = (u(H) - u(s) * u(f)) / (k(s) * k(f));
114
+ return M < -1 ? D.PolarException.MIDNIGHT_SUN : M > 1 ? D.PolarException.POLAR_NIGHT : D.PolarException.NORMAL;
115
115
  }
116
116
  var b = {
117
- solarNoon: z(g),
118
- nadir: z(g - 0.5),
117
+ solarNoon: L(g),
118
+ nadir: L(g - 0.5),
119
119
  polarException: D.PolarException.NORMAL
120
- }, v, _, O, A, W;
121
- for (v = 0, _ = j.length; v < _; v += 1)
122
- O = j[v], A = m(O[0] * w), W = g - (A - g), b[O[1]] = z(W), b[O[2]] = z(A);
123
- return b.polarException = x(j[0][0] * w), b;
120
+ }, v, m, O, I, K;
121
+ for (v = 0, m = q.length; v < m; v += 1)
122
+ O = q[v], I = p(O[0] * w), K = g - (I - g), b[O[1]] = L(K), b[O[2]] = L(I);
123
+ return b.polarException = x(q[0][0] * w), b;
124
124
  };
125
125
  const qe = {
126
126
  spring: { dayOfMonth: 20, month: 2 },
@@ -131,7 +131,7 @@ const qe = {
131
131
  // Northern Fall equinox in 2014 - September 23
132
132
  winter: { dayOfMonth: 21, month: 11 }
133
133
  // Northern Winter solstice in 2014 - December 21
134
- }, B = ["spring", "summer", "fall", "winter"];
134
+ }, V = ["spring", "summer", "fall", "winter"];
135
135
  function C(r, e, t) {
136
136
  const i = We(e, t), { dayOfMonth: s, month: n } = qe[i], a = /* @__PURE__ */ new Date(0);
137
137
  return a.setUTCFullYear(r, n, s), a;
@@ -141,21 +141,21 @@ function Be(r, e, t) {
141
141
  }
142
142
  function Ve(r, e) {
143
143
  const t = Ge(r);
144
- return e === "northern" ? t : me(t);
144
+ return e === "northern" ? t : pe(t);
145
145
  }
146
146
  function Ge(r) {
147
147
  const e = r.getTime(), t = r.getUTCFullYear(), i = C(t, "spring", "northern").getTime(), s = C(t, "summer", "northern").getTime(), n = C(t, "fall", "northern").getTime(), a = C(t, "winter", "northern").getTime();
148
148
  return e >= i && e < s ? "spring" : e >= s && e < n ? "summer" : e >= n && e < a ? "fall" : "winter";
149
149
  }
150
150
  function We(r, e) {
151
- return e === "northern" ? r : me(r);
151
+ return e === "northern" ? r : pe(r);
152
152
  }
153
- function le(r) {
153
+ function oe(r) {
154
154
  return r >= 0 ? "northern" : "southern";
155
155
  }
156
- function me(r) {
157
- const e = B.indexOf(r);
158
- return B[(e + 2) % 4];
156
+ function pe(r) {
157
+ const e = V.indexOf(r);
158
+ return V[(e + 2) % 4];
159
159
  }
160
160
  const Ke = 1440, Qe = 864e5;
161
161
  function T({ hour: r, minute: e }) {
@@ -169,26 +169,26 @@ function et(r, e, t) {
169
169
  if (!i)
170
170
  return r;
171
171
  const s = new Date(r.getTime() + e), n = P(s, t);
172
- return !n || n.year === i.year && n.month === i.month && n.day === i.day ? s : V(i, T(n), t) ?? s;
172
+ return !n || n.year === i.year && n.month === i.month && n.day === i.day ? s : G(i, T(n), t) ?? s;
173
173
  }
174
174
  function tt(r, e) {
175
175
  const t = P(r, e);
176
176
  if (!t)
177
177
  return r;
178
178
  const i = t.month % 12 + 1, s = t.year + (i === 1 ? 1 : 0), n = new Date(Date.UTC(s, i, 0)).getUTCDate();
179
- return V({ year: s, month: i, day: Math.min(t.day, n) }, T(t), e) ?? r;
179
+ return G({ year: s, month: i, day: Math.min(t.day, n) }, T(t), e) ?? r;
180
180
  }
181
181
  function it(r, e, t, i) {
182
- const s = D.getTimes(r, e, t), n = s.sunrise, a = s.sunset, l = F(r, i), d = F(n, i), o = F(a, i);
182
+ const s = D.getTimes(r, e, t), n = s.sunrise, a = s.sunset, l = N(r, i), d = N(n, i), o = N(a, i);
183
183
  if (l.getUTCDate() !== d.getUTCDate() || l.getUTCDate() !== o.getUTCDate()) {
184
184
  const c = l.getTime() - d.getTime() > 0 ? 1 : -1;
185
185
  n.setUTCDate(n.getUTCDate() + c), a.setUTCDate(a.getUTCDate() + c);
186
186
  }
187
187
  return { sunrise: n, sunset: a };
188
188
  }
189
- const rt = 100, st = 1e3, y = 12e5, L = 72e5;
190
- function ce(r, e) {
191
- return he(r + e, 24);
189
+ const rt = 100, st = 1e3, y = 12e5, Z = 72e5;
190
+ function le(r, e) {
191
+ return de(r + e, 24);
192
192
  }
193
193
  function nt({
194
194
  mode: r,
@@ -205,28 +205,28 @@ function nt({
205
205
  d = Date.now();
206
206
  const g = t() / rt * c;
207
207
  if (g > 0) {
208
- let m = i?.(o, r, g);
209
- if (!m) {
210
- m = new Date(o.getTime() + g);
211
- const b = e.displayUTCOffset ?? 0, v = ce(m.getUTCHours(), b), _ = ce(o.getUTCHours(), b);
212
- v < _ && (m = new Date(o.getTime() + g - Qe));
208
+ let p = i?.(o, r, g);
209
+ if (!p) {
210
+ p = new Date(o.getTime() + g);
211
+ const b = e.displayUTCOffset ?? 0, v = le(p.getUTCHours(), b), m = le(o.getUTCHours(), b);
212
+ v < m && (p = new Date(o.getTime() + g - Qe));
213
213
  }
214
214
  const x = e.clone();
215
- n?.(), e.date = m, s?.(x, e);
215
+ n?.(), e.date = p, s?.(x, e);
216
216
  }
217
217
  } else if (c > st) {
218
218
  d = Date.now();
219
- const p = i?.(o, r, 0) ?? new Date(o.getTime());
219
+ const f = i?.(o, r, 0) ?? new Date(o.getTime());
220
220
  if (!i) {
221
- const m = (o.getUTCMonth() + 1) % 12;
222
- p.setUTCMonth(m);
221
+ const p = (o.getUTCMonth() + 1) % 12;
222
+ f.setUTCMonth(p);
223
223
  }
224
224
  const g = e.clone();
225
- n?.(), e.date = p, s?.(g, e);
225
+ n?.(), e.date = f, s?.(g, e);
226
226
  }
227
227
  a = requestAnimationFrame(() => l(d));
228
228
  }
229
- return l(), q(() => cancelAnimationFrame(a));
229
+ return l(), B(() => cancelAnimationFrame(a));
230
230
  }
231
231
  const E = y / 4;
232
232
  function at(r, e, t, i) {
@@ -237,39 +237,39 @@ function at(r, e, t, i) {
237
237
  } = i, l = s * E, d = n * E, o = a * E;
238
238
  if (r == null || e == null || Number.isNaN(r.getTime()) && Number.isNaN(e.getTime()))
239
239
  return l;
240
- const c = t.getTime(), p = r.getTime(), g = e.getTime(), m = p - L / 2, x = p + L / 2, b = g - L / 3 * 2, v = g + L / 3;
241
- let _ = l;
242
- return c >= m && c <= x ? c - m <= y ? _ = d - (c - m) / y * (d - o) : x - c <= y / 2 ? _ = l - (x - c) / y * 2 * (l - o) : _ = o : c >= b && c <= v ? c - b <= y / 2 ? _ = l - (c - b) / y * 2 * (l - o) : v - c <= y ? _ = d - (v - c) / y * (d - o) : _ = o : (c < p || c > g) && (_ = d), _;
240
+ const c = t.getTime(), f = r.getTime(), g = e.getTime(), p = f - Z / 2, x = f + Z / 2, b = g - Z / 3 * 2, v = g + Z / 3;
241
+ let m = l;
242
+ return c >= p && c <= x ? c - p <= y ? m = d - (c - p) / y * (d - o) : x - c <= y / 2 ? m = l - (x - c) / y * 2 * (l - o) : m = o : c >= b && c <= v ? c - b <= y / 2 ? m = l - (c - b) / y * 2 * (l - o) : v - c <= y ? m = d - (v - c) / y * (d - o) : m = o : (c < f || c > g) && (m = d), m;
243
243
  }
244
- const ot = De`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-surface-3);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-surface-3)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-space-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-space-lg);animation:esri-fade-in .25s ease-in-out}.slider{margin-block-start:0rem}.time-configuration{--date-play-button-offset: 11px;--slider-play-button-offset: var(--calcite-space-md);display:grid;gap:var(--calcite-space-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.time-label{align-items:center;display:flex;gap:var(--calcite-space-sm);+.slider{margin-block:var(--calcite-space-sm)}}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, lt = {
244
+ const ot = De`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-surface-3);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-surface-3)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:350px}.root{display:flex;flex-direction:column;overflow:visible;gap:var(--calcite-space-md);justify-content:space-between;padding:var(--arcgis-internal-padding);position:relative;calcite-label{--calcite-label-margin-bottom: 0}&.loading>*:not(calcite-scrim){opacity:0}}.unsupported{padding:0 var(--calcite-space-lg);animation:esri-fade-in .25s ease-in-out}.time-configuration{--date-play-button-offset: 11px;display:grid;gap:var(--calcite-space-md);grid-template-columns:minmax(0,1fr) min-content;.time-heading{align-items:center;display:flex;flex-wrap:wrap;gap:var(--calcite-space-sm);grid-column:1 / -1;color:var(--calcite-color-text-1);line-height:var(--calcite-font-line-height-base);arcgis-time-zone-chip{margin-inline-start:auto}}.slider{grid-column:1}.timezone-input-container{grid-column:1;min-width:0;+span{grid-column:2}}.date-picker-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--date-play-button-offset))}}calcite-button{place-self:center}}`, lt = {
245
245
  day: 1,
246
246
  night: 6,
247
247
  twilight: 2 / 3
248
248
  };
249
- class ct extends Se {
249
+ class ct extends xe {
250
250
  constructor() {
251
- super(...arguments), this.messages = Te({ blocking: !0 }), this.#d = "none", this.#h = null, this.#o = !1, this.#e = !1, this.#p = ee(), this.#T = ee(), this.#P = 200, this.#O = 200, this.#m = !1, this.#f = {}, this.#l = Y((e) => {
252
- const t = this._lighting, i = h(t) ? t.displayUTCOffset : void 0, s = this.#_(t) ? this.#n(t.date) : void 0;
251
+ super(...arguments), this.messages = Te({ blocking: !0 }), this.#c = "none", this.#d = null, this.#o = !1, this.#e = !1, this.#_ = X(), this.#T = X(), this.#P = 200, this.#O = 200, this.#b = !1, this.#f = {}, this.#l = j((e) => {
252
+ const t = this._lighting, i = h(t) ? t.displayUTCOffset : void 0, s = this.#v(t) ? this.#n(t.date) : void 0;
253
253
  return this.#e ? e : s ?? i ?? e;
254
- }), this.#s = Y((e) => {
254
+ }), this.#s = j((e) => {
255
255
  const t = this._lighting;
256
256
  if (!h(t))
257
257
  return e;
258
258
  const i = t.date;
259
259
  if (this.#e)
260
260
  return e;
261
- if (N(i)) {
262
- const { minutesSinceMidnight: s } = this.#x(i);
261
+ if (J(i)) {
262
+ const { minutesSinceMidnight: s } = this.#S(i);
263
263
  return s;
264
264
  }
265
265
  return e;
266
- }), this.#r = Y((e) => {
267
- const t = this._lighting, i = this.#_(t) ? this.#x(t.date).localDate : Pe(this._view, this.utcOffset);
266
+ }), this.#r = j((e) => {
267
+ const t = this._lighting, i = this.#v(t) ? this.#S(t.date).localDate : Pe(this._view, this.utcOffset);
268
268
  return this.#e ? e : i ?? e;
269
- }), this.#c = !1, this.#k = "offset", this.view = ke(this), this.autoDestroyDisabled = !1, this.dateOrSeason = "date", this.headingLevel = 2, this.hideDatePicker = !1, this.hideHeader = !1, this.hidePlayButtons = !1, this.hideShadowsToggle = !1, this.hideSunLightingToggle = !1, this.hideTimezone = !1, this.icon = "brightness", this.playSpeedMultiplier = 1, this.timeSliderSteps = 5, this.arcgisReady = Q(), this.arcgisUserDateTimeChange = Q();
269
+ }), this.#h = !1, this.view = ke(this), this.autoDestroyDisabled = !1, this.dateOrSeason = "date", this.headingLevel = 2, this.hideDatePicker = !1, this.hideHeader = !1, this.hidePlayButtons = !1, this.hideShadowsToggle = !1, this.hideSunLightingToggle = !1, this.hideTimezone = !1, this.icon = "brightness", this.playSpeedMultiplier = 1, this.timeSliderSteps = 5, this.timeZoneMode = "region", this.timeZoneEditMode = "inline", this.arcgisReady = F(), this.arcgisUserDateTimeChange = F(), this.arcgisTimeZoneAction = F();
270
270
  }
271
271
  static {
272
- this.properties = { _playingState: 16, _sunlightingDisabled: 16, _directShadowsDisabled: 16, localDateAsString: 32, view: 0, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, referenceElement: 1, timeSliderSteps: 9, timeZoneMode: 1, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
272
+ this.properties = { _playingState: 16, _sunlightingDisabled: 16, _directShadowsDisabled: 16, localDateAsString: 32, view: 0, autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 3, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 3, label: 1, playSpeedMultiplier: 9, referenceElement: 1, timeSliderSteps: 9, timeZoneMode: 1, timeZoneEditMode: 1, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
273
273
  }
274
274
  static {
275
275
  this.styles = ot;
@@ -278,18 +278,18 @@ class ct extends Se {
278
278
  return this.view?.type === "3d" ? this.view : void 0;
279
279
  }
280
280
  #t;
281
+ #c;
281
282
  #d;
282
- #h;
283
283
  #i;
284
284
  #o;
285
285
  #e;
286
- #p;
286
+ #_;
287
287
  #T;
288
288
  #P;
289
289
  #O;
290
- #m;
290
+ #b;
291
291
  #f;
292
- get #U() {
292
+ get #$() {
293
293
  return this.#T?.value?.startTime;
294
294
  }
295
295
  #l;
@@ -298,14 +298,13 @@ class ct extends Se {
298
298
  get _lighting() {
299
299
  return this._view?.environment?.lighting;
300
300
  }
301
- #c;
302
- #k;
301
+ #h;
303
302
  #g;
304
303
  get _playingState() {
305
- return this.#d;
304
+ return this.#c;
306
305
  }
307
306
  set _playingState(e) {
308
- this.#d = e, this.#g?.remove(), e === "none" ? this.#t?.remove() : (this.#M(e), this.#y());
307
+ this.#c = e, this.#g?.remove(), e === "none" ? this.#t?.remove() : (this.#C(e), this.#w());
309
308
  }
310
309
  get _sunlightingDisabled() {
311
310
  return !h(this._lighting);
@@ -315,8 +314,8 @@ class ct extends Se {
315
314
  const t = this._view?.environment;
316
315
  if (t == null)
317
316
  return;
318
- const i = t.lighting, s = this.#h;
319
- this.#h = i;
317
+ const i = t.lighting, s = this.#d;
318
+ this.#d = i;
320
319
  const n = {
321
320
  directShadowsEnabled: i.directShadowsEnabled,
322
321
  glow: i.glow,
@@ -325,7 +324,7 @@ class ct extends Se {
325
324
  h(i) && (n.cameraTrackingEnabled = i.cameraTrackingEnabled);
326
325
  const a = e ? "virtual" : "sun";
327
326
  let l;
328
- s?.type === a ? l = s : l = e ? new xe() : this.#L(), l.set(n), t.lighting = l, e || (this.#a(), this.#p.value && (this.#p.value.open = !1));
327
+ s?.type === a ? l = s : l = e ? new we() : this.#z(), l.set(n), t.lighting = l, e || (this.#a(), this.#_.value && (this.#_.value.open = !1));
329
328
  }
330
329
  get _directShadowsDisabled() {
331
330
  return !this._lighting?.directShadowsEnabled;
@@ -337,13 +336,13 @@ class ct extends Se {
337
336
  return this.#r.value ?? void 0;
338
337
  }
339
338
  get currentSeason() {
340
- const e = this._view?.camera?.position?.latitude ?? 0, t = le(e);
339
+ const e = this._view?.camera?.position?.latitude ?? 0, t = oe(e);
341
340
  return Ve(this.localDate, t);
342
341
  }
343
342
  set currentSeason(e) {
344
343
  this.#a();
345
- const t = this._view?.camera?.position?.latitude ?? 0, i = le(t);
346
- this.localDate = Be(this.localDate.getUTCFullYear(), e, i), this.#y();
344
+ const t = this._view?.camera?.position?.latitude ?? 0, i = oe(t);
345
+ this.localDate = Be(this.localDate.getUTCFullYear(), e, i), this.#w();
347
346
  }
348
347
  get dayPlaying() {
349
348
  return this._playingState === "day";
@@ -351,27 +350,21 @@ class ct extends Se {
351
350
  set dayPlaying(e) {
352
351
  this._playingState = e ? "day" : "none";
353
352
  }
354
- get timeZoneMode() {
355
- return this.#k;
356
- }
357
- set timeZoneMode(e) {
358
- this.#c || (this.#k = e);
359
- }
360
353
  get utcOffset() {
361
354
  return this.#l.value;
362
355
  }
363
356
  set utcOffset(e) {
364
357
  if (this.timeZoneMode === "region") {
365
- this.#D();
358
+ this.#m();
366
359
  return;
367
360
  }
368
- this.#e = !0, this.#l.mutate(e), !this.#u("utcOffset", e) && this.#b(!1);
361
+ this.#e = !0, this.#l.mutate(e), !this.#u("utcOffset", e) && this.#y(!1);
369
362
  }
370
363
  get timeSliderPosition() {
371
364
  return this.#s.value;
372
365
  }
373
366
  set timeSliderPosition(e) {
374
- this.#e = !0, this.#s.mutate(he(e ?? 0, Ke)), !this.#u("timeSliderPosition", e) && this.#b(!0);
367
+ this.#e = !0, this.#s.mutate(de(e ?? 0, Ke)), !this.#u("timeSliderPosition", e) && this.#y(!0);
375
368
  }
376
369
  get localDate() {
377
370
  return this.#r.value != null ? new Date(this.#r.value) : /* @__PURE__ */ new Date();
@@ -380,16 +373,16 @@ class ct extends Se {
380
373
  if (typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/u.test(e)) {
381
374
  if (this.#e = !0, this.#r.mutate(e), this.#u("localDate", e))
382
375
  return;
383
- this.#b(!0);
376
+ this.#y(!0);
384
377
  return;
385
378
  }
386
379
  const t = new Date(e);
387
- if (N(t)) {
380
+ if (J(t)) {
388
381
  this.#e = !0, t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
389
382
  const i = t.toISOString().slice(0, 10);
390
383
  if (this.#r.mutate(i), this.#u("localDate", i))
391
384
  return;
392
- this.#b(!0);
385
+ this.#y(!0);
393
386
  }
394
387
  }
395
388
  get yearPlaying() {
@@ -405,22 +398,22 @@ class ct extends Se {
405
398
  this.manager.onLifecycle(() => [
406
399
  // When camera tracking is enabled, update the displayed timezone whenever the camera crosses into a new rounded
407
400
  // UTC offset.
408
- K(() => {
401
+ Q(() => {
409
402
  const e = this._view?.camera?.position;
410
- return e ? R(e) : void 0;
403
+ return e ? U(e) : void 0;
411
404
  }, (e, t) => {
412
- this.#F(e, t);
405
+ this.#R(e, t);
413
406
  }, { sync: !0, initial: !0 }),
414
- K(() => {
407
+ Q(() => {
415
408
  const e = this._lighting;
416
409
  return [this._view?.timeZone, e, h(e) ? e.date : void 0];
417
410
  }, (e, t) => {
418
- this._playingState === "day" && t && e[0] === t[0] && e[1] === t[1] || this.#D();
411
+ this._playingState === "day" && t && e[0] === t[0] && e[1] === t[1] || this.#m();
419
412
  }, { sync: !0, initial: !0 }),
420
- ve(() => !h(this._lighting), () => {
413
+ be(() => !h(this._lighting), () => {
421
414
  this.#a();
422
415
  }),
423
- we.onLocaleChange(() => {
416
+ ye.onLocaleChange(() => {
424
417
  this.requestUpdate();
425
418
  })
426
419
  ]), this.manager.onDisconnected(() => {
@@ -428,9 +421,22 @@ class ct extends Se {
428
421
  });
429
422
  }
430
423
  willUpdate(e) {
431
- if (super.willUpdate(e), !!this.#c && this.timeZoneMode === "offset" && h(this._lighting) && e.has("utcOffset") && !e.has("localDate") && !e.has("timeSliderPosition")) {
432
- const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = U(this._lighting.date, t);
433
- this.#s.mutate(i), this.#r.mutate(s);
424
+ if (super.willUpdate(e), !!this.#h) {
425
+ if (e.has("timeZoneMode")) {
426
+ const t = this._lighting;
427
+ if (h(t) && !this.#e)
428
+ if (this.timeZoneMode === "region")
429
+ this.#m(t);
430
+ else {
431
+ const i = this._view?.camera?.position, s = t.displayUTCOffset ?? (i ? U(i) : 0);
432
+ this.#p(s, t);
433
+ }
434
+ this._playingState !== "none" && this.#C(this._playingState);
435
+ }
436
+ if (this.timeZoneMode === "offset" && h(this._lighting) && e.has("utcOffset") && !e.has("localDate") && !e.has("timeSliderPosition")) {
437
+ const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = z(this._lighting.date, t);
438
+ this.#s.mutate(i), this.#r.mutate(s);
439
+ }
434
440
  }
435
441
  }
436
442
  async loaded() {
@@ -439,143 +445,143 @@ class ct extends Se {
439
445
  remove: () => {
440
446
  e.abort();
441
447
  }
442
- })), await Oe(ye(() => this._view?.ready, { signal: e.signal }).then(() => {
448
+ })), await Oe(ve(() => this._view?.ready, { signal: e.signal }).then(() => {
443
449
  const t = this._lighting, i = this._view?.camera?.position;
444
450
  if (this.timeZoneMode === "offset" && this.#f.utcOffset == null && h(t) && t.displayUTCOffset == null && i) {
445
- const n = R(i);
446
- this.#v(n, t);
451
+ const n = U(i);
452
+ this.#p(n, t);
447
453
  }
448
- this.#c = !0, this.#_(t) && this.#D(t), this.#z(), h(this._lighting) || (this.timeZoneMode === "region" ? this.#N() : this.#J());
454
+ this.#h = !0, this.#v(t) && this.#m(t), this.#U(), h(this._lighting) || (this.timeZoneMode === "region" ? this.#F() : this.#N());
449
455
  const s = this._playingState;
450
- s !== "none" && this.#t == null && this.#M(s);
456
+ s !== "none" && this.#t == null && this.#C(s);
451
457
  }));
452
458
  }
453
459
  #u(e, t) {
454
- return this.#c || this.#m ? !1 : (this.#f[e] = t, !0);
460
+ return this.#h || this.#b ? !1 : (this.#f[e] = t, !0);
455
461
  }
456
- #z() {
462
+ #U() {
457
463
  const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#f;
458
- if (this.#m = !0, this.timeZoneMode === "offset" && e != null)
464
+ if (this.#b = !0, this.timeZoneMode === "offset" && e != null)
459
465
  if (t == null && i == null) {
460
466
  const a = this._lighting;
461
- h(a) ? (a.displayUTCOffset = e, this.#v(e, a)) : this.#l.mutate(e);
467
+ h(a) ? (a.displayUTCOffset = e, this.#p(e, a)) : this.#l.mutate(e);
462
468
  } else
463
469
  this.utcOffset = e;
464
- t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#f = {}, this.#m = !1, this.#i || (this.#e = !1);
470
+ t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#f = {}, this.#b = !1, this.#i || (this.#e = !1);
465
471
  }
466
- #_(e) {
467
- return this.timeZoneMode === "region" && h(e) && N(e.date);
472
+ #v(e) {
473
+ return this.timeZoneMode === "region" && h(e) && J(e.date);
468
474
  }
469
- #L() {
470
- return this.timeZoneMode === "region" ? this.#E() : this.#Z();
475
+ #z() {
476
+ return this.timeZoneMode === "region" ? this.#L() : this.#Z();
471
477
  }
472
- #E() {
473
- const e = /* @__PURE__ */ new Date(), t = this.#C(e, 0) ?? e;
474
- return new M({ date: t, displayUTCOffset: this.#n(t) });
478
+ #L() {
479
+ const e = /* @__PURE__ */ new Date(), t = this.#k(e, 0) ?? e;
480
+ return new $({ date: t, displayUTCOffset: this.#n(t) });
475
481
  }
476
- #C(e, t) {
477
- const i = this.#w, s = P(e, i);
482
+ #k(e, t) {
483
+ const i = this.#x, s = P(e, i);
478
484
  if (!s)
479
485
  return null;
480
486
  const n = this.#r.value == null ? s : Xe(this.localDate), a = this.timeSliderPosition ?? t ?? T(s);
481
- return V(n, a, i);
487
+ return G(n, a, i);
482
488
  }
483
489
  #Z() {
484
- const e = J(this.localDateAsString ?? this.localDate, this.timeSliderPosition ?? 0, this.utcOffset ?? 0);
485
- return new M({ date: e, displayUTCOffset: this.utcOffset });
490
+ const e = Y(this.localDateAsString ?? this.localDate, this.timeSliderPosition ?? 0, this.utcOffset ?? 0);
491
+ return new $({ date: e, displayUTCOffset: this.utcOffset });
486
492
  }
487
- #b(e) {
493
+ #y(e) {
488
494
  if (this.#e = !0, this.requestUpdate(), this.#o ||= e, this.#i)
489
495
  return;
490
- const t = $e(() => {
496
+ const t = Me(() => {
491
497
  const i = this._lighting;
492
- h(i) && (this.timeZoneMode === "region" ? this.#A(i) : this.#I(i)), this.#i?.remove(), this.#D();
498
+ h(i) && (this.timeZoneMode === "region" ? this.#E(i) : this.#A(i)), this.#i?.remove(), this.#m();
493
499
  }, { timeout: this.#P });
494
- this.#i = q(() => {
500
+ this.#i = B(() => {
495
501
  Ue(t), this.#i = void 0, this.#o = !1, this.#e = !1;
496
502
  });
497
503
  }
498
- #A(e) {
504
+ #E(e) {
499
505
  if (!this.#o) {
500
506
  e.displayUTCOffset = this.#n(e.date);
501
507
  return;
502
508
  }
503
- const t = this.#C(e.date, 0);
509
+ const t = this.#k(e.date, 0);
504
510
  t && (e.date = t, e.displayUTCOffset = this.#n(t));
505
511
  }
506
- #I(e) {
512
+ #A(e) {
507
513
  const t = this.utcOffset ?? 0;
508
514
  if (!this.#o) {
509
515
  e.displayUTCOffset = t;
510
516
  return;
511
517
  }
512
- e.date = J(this.localDate, this.timeSliderPosition ?? 0, t), e.displayUTCOffset = t;
518
+ e.date = Y(this.localDate, this.timeSliderPosition ?? 0, t), e.displayUTCOffset = t;
513
519
  }
514
- #H(e) {
520
+ #I(e) {
515
521
  if (!this.#o) {
516
522
  e.displayUTCOffset = this.#n(e.date);
517
523
  return;
518
524
  }
519
- const t = this.#C(e.date);
525
+ const t = this.#k(e.date);
520
526
  t && (e.date = t, e.displayUTCOffset = this.#n(t)), this.#i?.remove();
521
527
  }
522
- #R(e) {
528
+ #H(e) {
523
529
  const t = this.utcOffset ?? e.displayUTCOffset ?? 0;
524
530
  if (!this.#o) {
525
531
  e.displayUTCOffset = t, this.#i?.remove();
526
532
  return;
527
533
  }
528
- const i = U(e.date, t), s = this.localDateAsString ?? i.localDate, n = this.timeSliderPosition ?? i.minutesSinceMidnight;
529
- e.date = J(s, n, t), e.displayUTCOffset = t, this.#i?.remove();
534
+ const i = z(e.date, t), s = this.localDateAsString ?? i.localDate, n = this.timeSliderPosition ?? i.minutesSinceMidnight;
535
+ e.date = Y(s, n, t), e.displayUTCOffset = t, this.#i?.remove();
530
536
  }
531
- #F(e, t) {
537
+ #R(e, t) {
532
538
  const i = this._lighting;
533
- if (!(this.timeZoneMode === "region" || !this.#c || !h(i) || !i.cameraTrackingEnabled || e == null)) {
539
+ if (!(this.timeZoneMode === "region" || !this.#h || !h(i) || !i.cameraTrackingEnabled || e == null)) {
534
540
  if (t == null && i.displayUTCOffset == null) {
535
- this.#v(e, i);
541
+ this.#p(e, i);
536
542
  return;
537
543
  }
538
- i.displayUTCOffset != null && (i.displayUTCOffset = e), this.#v(e, i);
544
+ i.displayUTCOffset != null && (i.displayUTCOffset = e), this.#p(e, i);
539
545
  }
540
546
  }
541
- #v(e, t) {
542
- t.displayUTCOffset = e, this.#$(e, t.date);
547
+ #p(e, t) {
548
+ t.displayUTCOffset = e, this.#M(e, t.date);
543
549
  }
544
- #N() {
545
- const e = new M(), t = this.#S(e.date);
546
- t && (this.timeSliderPosition == null && this.#s.mutate(T(t)), this.localDateAsString == null && this.#r.mutate(H(t)), this.#l.mutate(this.#n(e.date)), this.requestUpdate());
550
+ #F() {
551
+ const e = new $(), t = this.#D(e.date);
552
+ t && (this.timeSliderPosition == null && this.#s.mutate(T(t)), this.localDateAsString == null && this.#r.mutate(R(t)), this.#l.mutate(this.#n(e.date)), this.requestUpdate());
547
553
  }
548
- #J() {
549
- const e = this._view?.camera?.position, t = this.utcOffset ?? (e ? R(e) : 0), i = new M({ displayUTCOffset: t });
550
- this.#$(t, i.date, { fillMissingOnly: !0 });
554
+ #N() {
555
+ const e = this._view?.camera?.position, t = this.utcOffset ?? (e ? U(e) : 0), i = new $({ displayUTCOffset: t });
556
+ this.#M(t, i.date, { fillMissingOnly: !0 });
551
557
  }
552
- #$(e, t, { fillMissingOnly: i = !1 } = {}) {
553
- const { minutesSinceMidnight: s, localDate: n } = U(t, e);
558
+ #M(e, t, { fillMissingOnly: i = !1 } = {}) {
559
+ const { minutesSinceMidnight: s, localDate: n } = z(t, e);
554
560
  (!i || this.utcOffset == null) && this.#l.mutate(e), (!i || this.timeSliderPosition == null) && this.#s.mutate(s), (!i || this.localDateAsString == null) && this.#r.mutate(n), this.requestUpdate();
555
561
  }
556
- #y() {
562
+ #w() {
557
563
  this.isConnected && this.arcgisUserDateTimeChange.emit();
558
564
  }
559
565
  #a() {
560
566
  this._playingState = "none";
561
567
  }
562
- #Y(e) {
568
+ #J(e) {
563
569
  if (this.#g)
564
570
  return;
565
571
  const t = setTimeout(() => {
566
- const i = e.date, { minutesSinceMidnight: s } = this.#x(i);
572
+ const i = e.date, { minutesSinceMidnight: s } = this.#S(i);
567
573
  this.#s.mutate(s), this.#g?.remove();
568
- }, Me(this.#O));
569
- this.#g = q(() => {
574
+ }, $e(this.#O));
575
+ this.#g = B(() => {
570
576
  clearTimeout(t), this.#g = void 0;
571
577
  const i = this._lighting;
572
578
  if (h(i)) {
573
- const s = i.date, { minutesSinceMidnight: n } = this.#x(s);
579
+ const s = i.date, { minutesSinceMidnight: n } = this.#S(s);
574
580
  this.#s.mutate(n);
575
581
  }
576
582
  });
577
583
  }
578
- #M(e) {
584
+ #C(e) {
579
585
  this.#t?.remove();
580
586
  const t = this._view;
581
587
  if (t == null || this._sunlightingDisabled)
@@ -583,112 +589,112 @@ class ct extends Se {
583
589
  const i = t.environment.lighting;
584
590
  if (!h(i))
585
591
  return;
586
- this.timeZoneMode === "region" ? this.#H(i) : this.#R(i);
592
+ this.timeZoneMode === "region" ? this.#I(i) : this.#H(i);
587
593
  let s = 0;
588
594
  this.#t = nt({
589
595
  mode: e,
590
596
  lighting: i,
591
597
  // The default animation adds elapsed UTC time. Regional mode advances wall-clock values instead so DST
592
598
  // transitions and short months preserve valid local dates and times.
593
- getNextDate: this.timeZoneMode === "region" ? (n, a, l) => a === "day" ? et(n, l, this.#w) : tt(n, this.#w) : void 0,
599
+ getNextDate: this.timeZoneMode === "region" ? (n, a, l) => a === "day" ? et(n, l, this.#x) : tt(n, this.#x) : void 0,
594
600
  beforeProgress: () => {
595
- s = this.#U ?? 0;
601
+ s = this.#$ ?? 0;
596
602
  },
597
603
  onProgress: (n, a) => {
598
- this.timeZoneMode === "region" && (a.displayUTCOffset = this.#n(a.date)), this.#s.mutate(s), this.#Y(a);
604
+ this.timeZoneMode === "region" && (a.displayUTCOffset = this.#n(a.date)), this.#s.mutate(s), this.#J(a);
599
605
  },
600
606
  getPlaySpeed: () => {
601
607
  const n = this._view, a = this._view?.environment.lighting;
602
608
  if (n != null && h(a)) {
603
- const l = n.camera.position.latitude ?? 0, d = n.camera.position.longitude ?? 0, o = this.timeZoneMode === "region" ? this.#n(a.date) : a.displayUTCOffset ?? 0, { sunrise: c, sunset: p } = it(a.date, l, d, o);
604
- return at(c, p, a.date, lt) * this.playSpeedMultiplier;
609
+ const l = n.camera.position.latitude ?? 0, d = n.camera.position.longitude ?? 0, o = this.timeZoneMode === "region" ? this.#n(a.date) : a.displayUTCOffset ?? 0, { sunrise: c, sunset: f } = it(a.date, l, d, o);
610
+ return at(c, f, a.date, lt) * this.playSpeedMultiplier;
605
611
  } else
606
612
  return E * this.playSpeedMultiplier;
607
613
  }
608
614
  });
609
615
  }
610
- get #w() {
611
- return Ce(this._view?.timeZone ?? ie);
616
+ get #x() {
617
+ return Ce(this._view?.timeZone ?? te);
612
618
  }
613
619
  #n(e) {
614
- const t = this.#S(e);
620
+ const t = this.#D(e);
615
621
  if (!t)
616
622
  throw new RangeError("Invalid date or time zone");
617
623
  return t.offsetMinutes / 60;
618
624
  }
619
- #x(e) {
620
- const t = this.timeZoneMode === "region" ? this.#S(e) : null;
625
+ #S(e) {
626
+ const t = this.timeZoneMode === "region" ? this.#D(e) : null;
621
627
  return t ? {
622
- localDate: H(t),
628
+ localDate: R(t),
623
629
  minutesSinceMidnight: T(t)
624
- } : U(e, this.utcOffset ?? 0);
630
+ } : z(e, this.utcOffset ?? 0);
625
631
  }
626
- #S(e) {
627
- return P(e, this.#w);
632
+ #D(e) {
633
+ return P(e, this.#x);
628
634
  }
629
- #D(e = this._lighting) {
630
- if (!this.#c || !this.#_(e) || this.#e)
635
+ #m(e = this._lighting) {
636
+ if (!this.#h || !this.#v(e) || this.#e)
631
637
  return;
632
- const t = this.#S(e.date);
638
+ const t = this.#D(e.date);
633
639
  if (!t)
634
640
  return;
635
641
  const i = this.#n(e.date);
636
- e.displayUTCOffset = i, this.#l.mutate(i), this.#r.mutate(H(t)), this.#s.mutate(T(t)), this.requestUpdate();
642
+ e.displayUTCOffset = i, this.#l.mutate(i), this.#r.mutate(R(t)), this.#s.mutate(T(t)), this.requestUpdate();
637
643
  }
638
- #j({ scale: e, disabled: t }) {
644
+ #Y({ scale: e, disabled: t }) {
639
645
  const { messages: i } = this;
640
- return u`<calcite-label .scale=${e} class="date-picker-container">${i.date}${dt({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
646
+ return _`<calcite-label .scale=${e} class="date-picker-container">${i.date}${dt({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
641
647
  const n = s.currentTarget.value, a = Array.isArray(n) ? n[0] : n;
642
- this.#a(), this.localDate = a, this.#y();
643
- } })}</calcite-label>${S({ hidden: this.hidePlayButtons, children: de({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
648
+ this.#a(), this.localDate = a, this.#w();
649
+ } })}</calcite-label>${S({ hidden: this.hidePlayButtons, children: ce({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
644
650
  this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
645
651
  }, scale: e }) })}`;
646
652
  }
647
- #q({ scale: e, disabled: t }) {
653
+ #j({ scale: e, disabled: t }) {
648
654
  const { messages: i } = this;
649
- return u`<calcite-label .scale=${e} class="date-picker-container">${i.season}${ht({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
655
+ return _`<calcite-label .scale=${e} class="date-picker-container">${i.season}${ht({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
650
656
  this.#a(), this.currentSeason = s.currentTarget.value;
651
657
  } })}</calcite-label>`;
652
658
  }
653
659
  render() {
654
660
  const { messages: e, dateOrSeason: t } = this, i = this._sunlightingDisabled, s = "m";
655
661
  if (!(this._view?.type === "3d"))
656
- return se({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`<div class="unsupported"><p>${e.unsupported}</p></div>` });
662
+ return re({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: _`<div class="unsupported"><p>${e.unsupported}</p></div>` });
657
663
  const a = (this.utcOffset ?? 0) * 60, l = this.view?.ready === !0, d = Array.isArray(this.timeSliderSteps) ? this.timeSliderSteps.at(0) : this.timeSliderSteps;
658
- return se({ class: { root: !0, loading: !l }, label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`${l ? void 0 : u`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${X({ columnGap: this.hidePlayButtons ? "0" : void 0 })}><calcite-label class="slider-container" .scale=${s}>${this.timeZoneMode === "region" ? u`<span class="time-label">${e.timeSliderLabel}${S({ hidden: this.hideTimezone, children: u`<arcgis-time-zone-chip .disabled=${i} .timeZone=${this._view?.timeZone ?? ie} .visualScale=${s} @click=${(o) => o.stopPropagation()} @arcgisInternalTimeZoneChange=${(o) => {
664
+ return re({ class: { root: !0, loading: !l }, label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: _`${l ? void 0 : _`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${Se({ columnGap: this.hidePlayButtons ? "0" : void 0 })}><div class="time-heading"><span id=time-of-day-label>${e.timeSliderLabel}</span>${S({ hidden: this.timeZoneMode !== "region" || this.hideTimezone, children: _`<arcgis-time-zone-chip .disabled=${i} .timeZone=${this._view?.timeZone ?? te} .timeZoneEditMode=${this.timeZoneEditMode} .visualScale=${s} @arcgisInternalTimeZoneAction=${() => this.arcgisTimeZoneAction.emit()} @arcgisInternalTimeZoneChange=${(o) => {
659
665
  this._view && (this._view.timeZone = o.detail);
660
- }}></arcgis-time-zone-chip>` })}</span>` : e.timeSliderLabel}<arcgis-time-of-day-slider class="slider" .disabled=${this._sunlightingDisabled} mode=single .startTime=${this.timeSliderPosition ?? 0} .steps=${d} style=${X({ gridArea: "slider" })} @arcgisTimeChange=${({ currentTarget: o }) => {
661
- this.#a(), this.timeSliderPosition = o.startTime, this.#y();
662
- }} ${te(this.#T)}></arcgis-time-of-day-slider></calcite-label>${S({ hidden: this.hidePlayButtons, children: de({ disabled: this._sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
666
+ }}></arcgis-time-zone-chip>` })}</div><arcgis-time-of-day-slider aria-labelledby=time-of-day-label class="slider" .disabled=${i} mode=single role=group .startTime=${this.timeSliderPosition ?? 0} .steps=${d} @arcgisTimeChange=${({ currentTarget: o }) => {
667
+ this.#a(), this.timeSliderPosition = o.startTime, this.#w();
668
+ }} ${ee(this.#T)}></arcgis-time-of-day-slider>${S({ hidden: this.hidePlayButtons, children: ce({ disabled: this._sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
663
669
  this._playingState === "day" ? this.#a() : this._playingState = "day";
664
- }, scale: s }) })}${this.timeZoneMode === "offset" ? S({ hidden: this.hideTimezone, children: u`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone data-testid=daylight-time-zone-input mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${a}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(o) => {
670
+ }, scale: s }) })}${this.timeZoneMode === "offset" ? S({ hidden: this.hideTimezone, children: _`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone data-testid=daylight-time-zone-input mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${a}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(o) => {
665
671
  const c = +o.target.value;
666
672
  this.utcOffset = c / 60, this.#a();
667
- }} ${te(this.#p)}></calcite-input-time-zone></calcite-label><span></span>` }) : void 0}${S({ hidden: this.hideDatePicker, children: t === "date" ? this.#j({ scale: s, disabled: i }) : this.#q({ scale: s, disabled: i }) })}</div>${S({ hidden: this.hideSunLightingToggle, children: gt({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (o) => {
673
+ }} ${ee(this.#_)}></calcite-input-time-zone></calcite-label><span></span>` }) : void 0}${S({ hidden: this.hideDatePicker, children: t === "date" ? this.#Y({ scale: s, disabled: i }) : this.#j({ scale: s, disabled: i }) })}</div>${S({ hidden: this.hideSunLightingToggle, children: gt({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (o) => {
668
674
  this._sunlightingDisabled = !o;
669
675
  } }) })}${S({ hidden: this.hideShadowsToggle, children: ut({ scale: s, messages: e.shadowsToggle, onShadowCheckboxChange: (o) => {
670
676
  this._directShadowsDisabled = !o;
671
677
  }, shadowEnabled: !this._directShadowsDisabled }) })}` });
672
678
  }
673
679
  }
674
- function de({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
675
- return u`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e ? "pause-f" : "play-f"} .label=${i} @click=${t} round title=${i ?? G} type=button></calcite-button>`;
680
+ function ce({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
681
+ return _`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e ? "pause-f" : "play-f"} .label=${i} @click=${t} round title=${i ?? W} type=button></calcite-button>`;
676
682
  }
677
683
  function dt({ disabled: r, date: e, onDateChange: t, scale: i }) {
678
- return u`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${r} overlay-positioning=fixed placement=bottom .value=${e} .scale=${i} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`;
684
+ return _`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${r} overlay-positioning=fixed placement=bottom .value=${e} .scale=${i} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`;
679
685
  }
680
686
  function ht({ messages: r, disabled: e, scale: t, selectedSeason: i, onSeasonChange: s }) {
681
- return u`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
687
+ return _`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
682
688
  s(n);
683
- }}>${B.map((n) => u`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
689
+ }}>${V.map((n) => _`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
684
690
  }
685
691
  function gt({ messages: r, sunlightingEnabled: e, onSunLightingToggle: t, scale: i }) {
686
- return u`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? G}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`;
692
+ return _`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? W}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`;
687
693
  }
688
694
  function ut({ messages: r, shadowEnabled: e, onShadowCheckboxChange: t, scale: i }) {
689
- return u`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? G}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`;
695
+ return _`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? W}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`;
690
696
  }
691
- be("arcgis-daylight", ct);
697
+ _e("arcgis-daylight", ct);
692
698
  export {
693
699
  ct as ArcgisDaylight
694
700
  };