@arcgis/map-components 5.0.9 → 5.0.10

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 (203) hide show
  1. package/dist/cdn/{S2VFUIM4.js → 26UCEAP3.js} +1 -1
  2. package/dist/cdn/{N52FS26S.js → 2CD26SYH.js} +1 -1
  3. package/dist/cdn/{NPSSILOD.js → 2DXXZCIQ.js} +1 -1
  4. package/dist/cdn/{MYEVEM6U.js → 2SVYHHVN.js} +1 -1
  5. package/dist/cdn/{M4UKU7FG.js → 34YLSNWS.js} +1 -1
  6. package/dist/cdn/{E2ZRNLQ4.js → 3643BBK6.js} +1 -1
  7. package/dist/cdn/{4DXJDSVY.js → 3GVKFZWQ.js} +1 -1
  8. package/dist/cdn/{YXB32YEG.js → 3PY5Y64M.js} +1 -1
  9. package/dist/cdn/{XWIF2VCQ.js → 3Q7XL7W7.js} +1 -1
  10. package/dist/cdn/{MDZFW3DQ.js → 3WARW7XG.js} +1 -1
  11. package/dist/cdn/{KJX5KQ6U.js → 3ZOV6BXY.js} +1 -1
  12. package/dist/cdn/{X6GXBS3S.js → 444XIRZM.js} +1 -1
  13. package/dist/cdn/{ZJ7NFO4E.js → 4DS724NP.js} +1 -1
  14. package/dist/cdn/{XGQ3KD67.js → 4FTAIGTM.js} +1 -1
  15. package/dist/cdn/{ZLW34P3M.js → 54IVMNFB.js} +1 -1
  16. package/dist/cdn/{4K7LYUJT.js → 57JWHCAH.js} +1 -1
  17. package/dist/cdn/5DWOHF4O.js +2 -0
  18. package/dist/cdn/{6ZCI374D.js → 5F2P2HHQ.js} +1 -1
  19. package/dist/cdn/{KNDCEBLE.js → 5GAZ5576.js} +1 -1
  20. package/dist/cdn/{B2IKRFCZ.js → 5QQGD5IE.js} +1 -1
  21. package/dist/cdn/{UVHWOUPS.js → 5R3MYPZN.js} +1 -1
  22. package/dist/cdn/{TPAIGYVQ.js → 5RH2Q2XJ.js} +1 -1
  23. package/dist/cdn/{4MU7442G.js → 5XL57S3R.js} +1 -1
  24. package/dist/cdn/{6EXCNT6F.js → 6EWHBACJ.js} +1 -1
  25. package/dist/cdn/6NP6SP7N.js +2 -0
  26. package/dist/cdn/{YWFYF2NQ.js → 6O2ZQG6K.js} +1 -1
  27. package/dist/cdn/{N2FBHLJW.js → 6PR5ZAGE.js} +1 -1
  28. package/dist/cdn/{DSCMKLP7.js → 6QVNN73N.js} +1 -1
  29. package/dist/cdn/{ZAUN6QZE.js → 73ADD2ST.js} +1 -1
  30. package/dist/cdn/{VBTL45PR.js → 74OHXSLR.js} +1 -1
  31. package/dist/cdn/{GDCXXLVQ.js → 7BL4R6UO.js} +1 -1
  32. package/dist/cdn/{VTY7CHHC.js → 7HU5L4UW.js} +1 -1
  33. package/dist/cdn/{2GDXTIBA.js → 7LO5AUFO.js} +1 -1
  34. package/dist/cdn/{XXYVU3ZY.js → 7UM3MUX2.js} +1 -1
  35. package/dist/cdn/{XNHSEGEV.js → 7W7KIY47.js} +1 -1
  36. package/dist/cdn/{WQYJCP25.js → A2JM7YOI.js} +1 -1
  37. package/dist/cdn/{QXUAF4H2.js → A67UIGNH.js} +1 -1
  38. package/dist/cdn/{SEEERDMZ.js → A7DUC33A.js} +1 -1
  39. package/dist/cdn/{CHG6QQTJ.js → AVFJRQFL.js} +1 -1
  40. package/dist/cdn/{ZWK7PABD.js → AWQ5JJQ2.js} +1 -1
  41. package/dist/cdn/{Z523JA3N.js → AXRMZ7U6.js} +1 -1
  42. package/dist/cdn/{3AUCP5C4.js → B4U3EWER.js} +1 -1
  43. package/dist/cdn/{K5FPQVY5.js → B65SDLV4.js} +1 -1
  44. package/dist/cdn/{Y7W7LIQ5.js → BHM5WW5A.js} +1 -1
  45. package/dist/cdn/{O2OBJLFG.js → BLTDBKUR.js} +1 -1
  46. package/dist/cdn/{OL26TQG5.js → BU3L3NMX.js} +1 -1
  47. package/dist/cdn/{XCO7R5FI.js → BUL44EC3.js} +1 -1
  48. package/dist/cdn/{RJDETA6V.js → C6AF4MSP.js} +1 -1
  49. package/dist/cdn/{4N3A7GAX.js → CKYQURFS.js} +1 -1
  50. package/dist/cdn/{OCRVPZE6.js → CRZ4HTQ7.js} +1 -1
  51. package/dist/cdn/{QB4MVNYO.js → CX6UPSNM.js} +1 -1
  52. package/dist/cdn/{J4XXGRHT.js → CXOB4PZV.js} +1 -1
  53. package/dist/cdn/{TN2GQ6BU.js → CZQ5NDPB.js} +1 -1
  54. package/dist/cdn/{MI5PGDZC.js → DMKJ6K6T.js} +1 -1
  55. package/dist/cdn/{JJPWMN6Z.js → EB57QKAY.js} +1 -1
  56. package/dist/cdn/{EO3XOH62.js → ED3L6FYZ.js} +1 -1
  57. package/dist/cdn/{ROPP7UII.js → EJESLMSS.js} +1 -1
  58. package/dist/cdn/{K6DPHLBT.js → EKVMZYRA.js} +1 -1
  59. package/dist/cdn/{KX4GEWMJ.js → EN5UJU7M.js} +1 -1
  60. package/dist/cdn/{TAZBTURG.js → ERBWWZQA.js} +1 -1
  61. package/dist/cdn/{ZBOE7CQG.js → ET47SHS3.js} +1 -1
  62. package/dist/cdn/{67MVWL3M.js → EWEYUKDY.js} +1 -1
  63. package/dist/cdn/{2NDFWUCM.js → FAXGMRG4.js} +1 -1
  64. package/dist/cdn/{ZNNRV54H.js → FBRFXPYT.js} +1 -1
  65. package/dist/cdn/{A6HGLWAQ.js → FIBOLFW6.js} +1 -1
  66. package/dist/cdn/{DILQ5ZHW.js → FLJEHVGP.js} +1 -1
  67. package/dist/cdn/FMALIUO4.js +2 -0
  68. package/dist/cdn/{7YPGUOXF.js → FMKDJBHO.js} +1 -1
  69. package/dist/cdn/{MAN4QOFV.js → FPYYHVUG.js} +1 -1
  70. package/dist/cdn/{IKFSAA63.js → FQERYING.js} +1 -1
  71. package/dist/cdn/{NFKPGOKJ.js → FQGSB7BH.js} +1 -1
  72. package/dist/cdn/{7LUSV2BU.js → FTLFLDIB.js} +1 -1
  73. package/dist/cdn/{XJSJ2OBF.js → FWBUBKS7.js} +1 -1
  74. package/dist/cdn/{OBNKAQHP.js → G52VTWWT.js} +1 -1
  75. package/dist/cdn/{CHWPXOTK.js → G53QNLVP.js} +1 -1
  76. package/dist/cdn/{PKGONXXZ.js → G73P2REW.js} +1 -1
  77. package/dist/cdn/{2VFUNOJO.js → GGQGE7ZF.js} +1 -1
  78. package/dist/cdn/{5D3OPFO6.js → GLGLU47Q.js} +1 -1
  79. package/dist/cdn/{LUFXLPUS.js → H2WPK23B.js} +1 -1
  80. package/dist/cdn/{EY5PJQ6D.js → H7QIL2RM.js} +1 -1
  81. package/dist/cdn/{NBZNGH27.js → H7WGDHML.js} +1 -1
  82. package/dist/cdn/{56EDKDTA.js → HCVJLZP6.js} +1 -1
  83. package/dist/cdn/{WEFDSI5P.js → HE2EMIPI.js} +1 -1
  84. package/dist/cdn/{46XXSXOH.js → HIP6RFN2.js} +1 -1
  85. package/dist/cdn/{5NNCHNZL.js → HMJE37EF.js} +1 -1
  86. package/dist/cdn/{EJ423JFJ.js → IJ5E43JT.js} +1 -1
  87. package/dist/cdn/{5AMDPFRT.js → IPUTUWHD.js} +1 -1
  88. package/dist/cdn/{FCJDMEDA.js → IQI6KCQH.js} +1 -1
  89. package/dist/cdn/{OI4OVNDW.js → IRVSV5KJ.js} +1 -1
  90. package/dist/cdn/{FMHE26OT.js → ISKWJGGD.js} +1 -1
  91. package/dist/cdn/{3356KWA6.js → IUT2VFA4.js} +1 -1
  92. package/dist/cdn/{CRAVU4NQ.js → IVLODVOE.js} +1 -1
  93. package/dist/cdn/{NXJOQCT6.js → JJNMGYIF.js} +1 -1
  94. package/dist/cdn/JR6VM7VT.js +2 -0
  95. package/dist/cdn/{MJDVSEKM.js → JTWSHWNO.js} +1 -1
  96. package/dist/cdn/{PY26YT2O.js → JTWYBRTA.js} +1 -1
  97. package/dist/cdn/{656A5BJR.js → JXDYG2IQ.js} +1 -1
  98. package/dist/cdn/{KFIGHMHD.js → JZLBVTTJ.js} +1 -1
  99. package/dist/cdn/{COQ2XJC2.js → K42GGHFW.js} +1 -1
  100. package/dist/cdn/{CP66DHOB.js → K6GXXW3D.js} +1 -1
  101. package/dist/cdn/{7OYKJVUA.js → KCSDUZEW.js} +1 -1
  102. package/dist/cdn/{QGXVLS4I.js → KM32PCCD.js} +1 -1
  103. package/dist/cdn/{BL36LEOA.js → KTFH4OMN.js} +1 -1
  104. package/dist/cdn/{EVVN2KOH.js → KXW5VKYX.js} +1 -1
  105. package/dist/cdn/{AKJTI3CB.js → KYPWKQTO.js} +1 -1
  106. package/dist/cdn/{LIH5E6WA.js → MCGJBF6G.js} +1 -1
  107. package/dist/cdn/{COPEBB4O.js → MIX2NW3K.js} +1 -1
  108. package/dist/cdn/{OTFAWIH3.js → MKIJ4OO6.js} +1 -1
  109. package/dist/cdn/{KGTP6M3K.js → MTX42FRB.js} +1 -1
  110. package/dist/cdn/{FDZNQS6O.js → N7JNITFB.js} +1 -1
  111. package/dist/cdn/{Z5QI4JII.js → NDOU6XUL.js} +1 -1
  112. package/dist/cdn/{DZZBM4W2.js → NJUXKUDJ.js} +1 -1
  113. package/dist/cdn/NM6TCMXU.js +2 -0
  114. package/dist/cdn/{YKB6JXOW.js → NQRQEZLD.js} +1 -1
  115. package/dist/cdn/{JM2ZIXRR.js → O62ODZW4.js} +1 -1
  116. package/dist/cdn/{BK2BEM7X.js → O75XVQT5.js} +1 -1
  117. package/dist/cdn/{P3NP6ZB4.js → OHQWZMXB.js} +1 -1
  118. package/dist/cdn/{DUDKIKOL.js → OIRQX4K4.js} +1 -1
  119. package/dist/cdn/{6XA4QYJD.js → OMFGZXZL.js} +1 -1
  120. package/dist/cdn/{4LKAHK66.js → OSIIOSSS.js} +1 -1
  121. package/dist/cdn/{PAQQTN4Z.js → OXWTHPY6.js} +1 -1
  122. package/dist/cdn/{YM4JSHPE.js → OZS77YEK.js} +1 -1
  123. package/dist/cdn/{WCSTDXKE.js → P7P7J36T.js} +1 -1
  124. package/dist/cdn/{UXJ4HHI6.js → PEZSSXWS.js} +1 -1
  125. package/dist/cdn/{AUQ6QBNN.js → PLZPYBQR.js} +1 -1
  126. package/dist/cdn/{MI4TZ44E.js → POD3MFGZ.js} +1 -1
  127. package/dist/cdn/{O7IUDRS5.js → PWV6D2SL.js} +1 -1
  128. package/dist/cdn/Q3G44O4X.js +2 -0
  129. package/dist/cdn/{AJYPWDQ4.js → Q5O3TAIF.js} +1 -1
  130. package/dist/cdn/{6FZOIAHV.js → Q76ESOVF.js} +1 -1
  131. package/dist/cdn/{ADBVVI6T.js → QEFULS3X.js} +1 -1
  132. package/dist/cdn/{QMAKTYHO.js → QIJP3J5Z.js} +1 -1
  133. package/dist/cdn/{VNBEWPPA.js → QNFTWF3H.js} +1 -1
  134. package/dist/cdn/{UZC7SU6P.js → R3IRIYO5.js} +1 -1
  135. package/dist/cdn/{NI75EV4N.js → R4CKGCKN.js} +1 -1
  136. package/dist/cdn/{KI5YLSI2.js → REPV7Y3Z.js} +1 -1
  137. package/dist/cdn/{REEE7ZD4.js → RMKR32JP.js} +1 -1
  138. package/dist/cdn/{KNEWXQBW.js → RT4IDHHI.js} +1 -1
  139. package/dist/cdn/{XQZERL7P.js → RUOVJOLE.js} +1 -1
  140. package/dist/cdn/{FDPOIISH.js → RWOVJDSP.js} +1 -1
  141. package/dist/cdn/{IK576APM.js → RZMAT6ZB.js} +1 -1
  142. package/dist/cdn/{7PC6HJRZ.js → S75CBWY7.js} +1 -1
  143. package/dist/cdn/{HKN2NLWX.js → SLZSHM5D.js} +1 -1
  144. package/dist/cdn/{3C7TU26D.js → SQ4TM5PR.js} +1 -1
  145. package/dist/cdn/{76UNLRRT.js → SUC5V273.js} +1 -1
  146. package/dist/cdn/{RFKTE5Y3.js → TCLV7Q7J.js} +1 -1
  147. package/dist/cdn/{FXK3JLXK.js → TMXXSKKH.js} +1 -1
  148. package/dist/cdn/{6S5FGC2T.js → TMY6KO4C.js} +1 -1
  149. package/dist/cdn/{PHJQSUIR.js → U2E3O2S4.js} +1 -1
  150. package/dist/cdn/{KMWORGPV.js → U67IMY5G.js} +1 -1
  151. package/dist/cdn/{XCQ7IZP7.js → UIII7DGV.js} +1 -1
  152. package/dist/cdn/{75RW2J4E.js → UJC6SFYK.js} +1 -1
  153. package/dist/cdn/{IQHLFXSQ.js → ULULSU27.js} +1 -1
  154. package/dist/cdn/{W6PVXTJA.js → URLJ4O3R.js} +1 -1
  155. package/dist/cdn/{H44Z6WVT.js → VBIZIGF3.js} +1 -1
  156. package/dist/cdn/{F6VAE5XF.js → VDKAGGLJ.js} +1 -1
  157. package/dist/cdn/{EOTTDTPX.js → VHCWNQVT.js} +1 -1
  158. package/dist/cdn/{4RVAIH7D.js → VKQ2KPFK.js} +1 -1
  159. package/dist/cdn/{YJQMZWR2.js → VNNHQTF5.js} +1 -1
  160. package/dist/cdn/{I7PBCEJQ.js → VOC4AMMN.js} +1 -1
  161. package/dist/cdn/{TY5ULV6U.js → VQT7BSXU.js} +1 -1
  162. package/dist/cdn/{QWI55OUT.js → W2BFLHN5.js} +1 -1
  163. package/dist/cdn/{LXD7K2NB.js → W3JGBX2V.js} +1 -1
  164. package/dist/cdn/{63PV4O2C.js → WJ5C5UAU.js} +1 -1
  165. package/dist/cdn/{U4PSPA3N.js → WNUQWTS5.js} +1 -1
  166. package/dist/cdn/{JETFYEYK.js → WOEZ7IZP.js} +1 -1
  167. package/dist/cdn/{RVT4UILR.js → X562IF4C.js} +1 -1
  168. package/dist/cdn/{UFTCAB4S.js → XAXPEQ52.js} +1 -1
  169. package/dist/cdn/{DMNCKH5P.js → XFS62KN4.js} +1 -1
  170. package/dist/cdn/{GWEYUTSQ.js → XGBC6MSH.js} +1 -1
  171. package/dist/cdn/{BCJACM5B.js → XQOKECHI.js} +1 -1
  172. package/dist/cdn/{SIDLBPTD.js → XTTUQ2RA.js} +1 -1
  173. package/dist/cdn/{VOF2BB42.js → XV5BKEEX.js} +1 -1
  174. package/dist/cdn/{VQHABEOI.js → Y5XRMGH4.js} +1 -1
  175. package/dist/cdn/{FE2KPAWA.js → Y7E4JKAI.js} +1 -1
  176. package/dist/cdn/{RL5ZSVTJ.js → YA6XYOU6.js} +1 -1
  177. package/dist/cdn/{J6JGY46E.js → YSPMYODD.js} +1 -1
  178. package/dist/cdn/{A4HJGXJA.js → YVIMCR3P.js} +1 -1
  179. package/dist/cdn/{6PEKCA6M.js → YXT4NNLG.js} +1 -1
  180. package/dist/cdn/{N7MAQR2P.js → ZGXLR24C.js} +1 -1
  181. package/dist/cdn/{VQUGOVVC.js → ZHVC4UBZ.js} +1 -1
  182. package/dist/cdn/{KS24TV5L.js → ZI7LN2XU.js} +1 -1
  183. package/dist/cdn/{6AEBTGQW.js → ZTQHMZWL.js} +1 -1
  184. package/dist/cdn/{VJAL4VSI.js → ZWFVPETR.js} +1 -1
  185. package/dist/cdn/index.js +1 -1
  186. package/dist/chunks/runtime.js +1 -1
  187. package/dist/chunks/slots.js +4 -4
  188. package/dist/chunks/useArcgisViewReadyError.js +6 -6
  189. package/dist/components/arcgis-daylight/customElement.js +132 -132
  190. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +20 -19
  191. package/dist/components/arcgis-search/customElement.js +1 -1
  192. package/dist/components/arcgis-shadow-cast/customElement.js +34 -34
  193. package/dist/components/arcgis-slice/customElement.js +5 -4
  194. package/dist/docs/api.json +1 -1
  195. package/dist/docs/docs.json +1 -1
  196. package/dist/docs/web-types.json +1 -1
  197. package/package.json +4 -4
  198. package/dist/cdn/4F6BUPI4.js +0 -2
  199. package/dist/cdn/AUNGDJFX.js +0 -2
  200. package/dist/cdn/D54LG5AH.js +0 -2
  201. package/dist/cdn/FYLODZUU.js +0 -2
  202. package/dist/cdn/JCG55RIS.js +0 -2
  203. package/dist/cdn/UMD2QW7I.js +0 -2
@@ -15,78 +15,78 @@ import { r as ye, b as xe, d as Se } from "../../chunks/async-utils.js";
15
15
  import { createTrackingTarget as De, runTracked as W, signal as Te } from "@arcgis/core/applications/Components/reactiveUtils.js";
16
16
  import { C as K } from "../../chunks/component-wrapper.js";
17
17
  import { V as D } from "../../chunks/visible-element.js";
18
- function ke(i, e) {
19
- return i / 15;
18
+ function ke(t, e) {
19
+ return t / 15;
20
20
  }
21
- function Pe(i, e) {
22
- const t = i?.[0];
23
- if (t == null)
21
+ function Pe(t, e) {
22
+ const i = t?.[0];
23
+ if (i == null)
24
24
  return null;
25
- e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours = ke(t);
25
+ e || (e = { hours: 0, minutes: 0, seconds: 0 }), e.hours = ke(i);
26
26
  const r = e.hours % 1;
27
27
  e.hours -= r, e.minutes = r * 60;
28
28
  const n = e.minutes % 1;
29
29
  return e.minutes -= n, e.seconds = Math.round(n * 60), e;
30
30
  }
31
- function Ce(i) {
32
- const e = Pe([i.longitude, i.latitude]);
31
+ function Ce(t) {
32
+ const e = Pe([t.longitude, t.latitude]);
33
33
  return e == null ? 0 : Math.round(e.hours + e.minutes / 60 + e.seconds / 3600);
34
34
  }
35
- function ne(i, e) {
36
- return (i % e + e) % e;
35
+ function ne(t, e) {
36
+ return (t % e + e) % e;
37
37
  }
38
38
  class $e {
39
- #t;
39
+ #i;
40
40
  #r;
41
41
  #n = De(() => {
42
- this.#i();
42
+ this.#t();
43
43
  });
44
44
  constructor(e) {
45
45
  this.#r = e;
46
- let t;
46
+ let i;
47
47
  W(this.#n, () => {
48
- t = e();
49
- }), this.#t = Te(t);
48
+ i = e();
49
+ }), this.#i = Te(i);
50
50
  }
51
- #i() {
52
- const e = this.#t.value;
51
+ #t() {
52
+ const e = this.#i.value;
53
53
  W(this.#n, () => {
54
- this.#t.value = this.#r(e);
54
+ this.#i.value = this.#r(e);
55
55
  });
56
56
  }
57
57
  mutate(e) {
58
- this.#t.value = e;
58
+ this.#i.value = e;
59
59
  }
60
60
  get value() {
61
- return this.#t.value;
61
+ return this.#i.value;
62
62
  }
63
63
  }
64
- function I(i) {
65
- return new $e(i);
64
+ function I(t) {
65
+ return new $e(t);
66
66
  }
67
67
  var U = Math.PI, u = Math.sin, T = Math.cos, ze = Math.asin, Me = Math.acos, y = U / 180, se = 1e3 * 60 * 60 * 24, oe = 2440588, ae = 2451545;
68
- function Oe(i) {
69
- return i.valueOf() / se - 0.5 + oe;
68
+ function Oe(t) {
69
+ return t.valueOf() / se - 0.5 + oe;
70
70
  }
71
- function M(i) {
72
- return new Date((i + 0.5 - oe) * se);
71
+ function M(t) {
72
+ return new Date((t + 0.5 - oe) * se);
73
73
  }
74
- function Le(i) {
75
- return Oe(i) - ae;
74
+ function Le(t) {
75
+ return Oe(t) - ae;
76
76
  }
77
77
  var Q = y * 23.4397;
78
- function Ue(i, e) {
79
- return ze(u(e) * T(Q) + T(e) * u(Q) * u(i));
78
+ function Ue(t, e) {
79
+ return ze(u(e) * T(Q) + T(e) * u(Q) * u(t));
80
80
  }
81
- function Ee(i) {
82
- return y * (357.5291 + 0.98560028 * i);
81
+ function Ee(t) {
82
+ return y * (357.5291 + 0.98560028 * t);
83
83
  }
84
- function He(i) {
85
- return y * (1.9148 * u(i) + 0.02 * u(2 * i) + 3e-4 * u(3 * i));
84
+ function He(t) {
85
+ return y * (1.9148 * u(t) + 0.02 * u(2 * t) + 3e-4 * u(3 * t));
86
86
  }
87
- function Ae(i, e) {
88
- var t = y * 102.9372;
89
- return i + e + t + U;
87
+ function Ae(t, e) {
88
+ var i = y * 102.9372;
89
+ return t + e + i + U;
90
90
  }
91
91
  var S = {};
92
92
  S.PolarException = {
@@ -106,20 +106,20 @@ var N = [
106
106
  [ 6, "goldenHourEnd", "goldenHour" ]
107
107
  */
108
108
  ], le = 9e-4;
109
- function Ie(i, e) {
110
- return Math.round(i - le - e / (2 * U));
109
+ function Ie(t, e) {
110
+ return Math.round(t - le - e / (2 * U));
111
111
  }
112
- function X(i, e, t) {
113
- return le + (i + e) / (2 * U) + t;
112
+ function X(t, e, i) {
113
+ return le + (t + e) / (2 * U) + i;
114
114
  }
115
- function ee(i, e, t) {
116
- return ae + i + 53e-4 * u(e) - 69e-4 * u(2 * t);
115
+ function ee(t, e, i) {
116
+ return ae + t + 53e-4 * u(e) - 69e-4 * u(2 * i);
117
117
  }
118
- function Ne(i, e, t) {
119
- return Me((u(i) - u(e) * u(t)) / (T(e) * T(t)));
118
+ function Ne(t, e, i) {
119
+ return Me((u(t) - u(e) * u(i)) / (T(e) * T(i)));
120
120
  }
121
- S.getTimes = function(i, e, t) {
122
- var r = y * -t, n = y * e, s = Le(i), o = Ie(s, r), a = X(0, r, o), c = Ee(a), d = He(c), l = Ae(c, d), h = Ue(l, 0), g = ee(a, c, l);
121
+ S.getTimes = function(t, e, i) {
122
+ var r = y * -i, n = y * e, s = Le(t), o = Ie(s, r), a = X(0, r, o), c = Ee(a), d = He(c), l = Ae(c, d), h = Ue(l, 0), g = ee(a, c, l);
123
123
  function w(H) {
124
124
  var z = Ne(H, n, h), ce = X(z, r, o);
125
125
  return ee(ce, c, l);
@@ -147,31 +147,31 @@ const Je = {
147
147
  winter: { dayOfMonth: 21, month: 11 }
148
148
  // Northern Winter solstice in 2014 - December 21
149
149
  }, R = ["spring", "summer", "fall", "winter"];
150
- function P(i, e, t) {
151
- const r = F(e, t), { dayOfMonth: n, month: s } = Je[r], o = new Date(i.getTime());
150
+ function P(t, e, i) {
151
+ const r = F(e, i), { dayOfMonth: n, month: s } = Je[r], o = new Date(t.getTime());
152
152
  return o.setMonth(s, n), o;
153
153
  }
154
- function Re(i, e) {
155
- const t = Ve(i);
156
- return F(t, e);
154
+ function Re(t, e) {
155
+ const i = Ve(t);
156
+ return F(i, e);
157
157
  }
158
- function Ve(i) {
159
- const e = i.getTime(), t = P(i, "spring", "northern").getTime(), r = P(i, "summer", "northern").getTime(), n = P(i, "fall", "northern").getTime(), s = P(i, "winter", "northern").getTime();
160
- return e >= t && e < r ? "spring" : e >= r && e < n ? "summer" : e >= n && e < s ? "fall" : "winter";
158
+ function Ve(t) {
159
+ const e = t.getTime(), i = P(t, "spring", "northern").getTime(), r = P(t, "summer", "northern").getTime(), n = P(t, "fall", "northern").getTime(), s = P(t, "winter", "northern").getTime();
160
+ return e >= i && e < r ? "spring" : e >= r && e < n ? "summer" : e >= n && e < s ? "fall" : "winter";
161
161
  }
162
- function F(i, e) {
163
- return e === "northern" ? i : Fe(i);
162
+ function F(t, e) {
163
+ return e === "northern" ? t : Fe(t);
164
164
  }
165
- function te(i) {
166
- return i >= 0 ? "northern" : "southern";
165
+ function ie(t) {
166
+ return t >= 0 ? "northern" : "southern";
167
167
  }
168
- function Fe(i) {
169
- const e = R.indexOf(i);
168
+ function Fe(t) {
169
+ const e = R.indexOf(t);
170
170
  return R[(e + 2) % 4];
171
171
  }
172
172
  const je = 1440, Be = 864e5;
173
- function Ge(i, e, t, r) {
174
- const n = S.getTimes(i, e, t), s = n.sunrise, o = n.sunset, a = C(i, r), c = C(s, r), d = C(o, r);
173
+ function Ge(t, e, i, r) {
174
+ const n = S.getTimes(t, e, i), s = n.sunrise, o = n.sunset, a = C(t, r), c = C(s, r), d = C(o, r);
175
175
  if (a.getUTCDate() !== c.getUTCDate() || a.getUTCDate() !== d.getUTCDate()) {
176
176
  const l = a.getTime() - c.getTime() > 0 ? 1 : -1;
177
177
  s.setUTCDate(s.getUTCDate() + l), o.setUTCDate(o.getUTCDate() + l);
@@ -182,25 +182,25 @@ function Ge(i, e, t, r) {
182
182
  };
183
183
  }
184
184
  const Ye = 100, qe = 1e3, v = 12e5, O = 72e5;
185
- function ie(i, e) {
186
- return ne(i + e, 24);
185
+ function te(t, e) {
186
+ return ne(t + e, 24);
187
187
  }
188
188
  function Ze({
189
- mode: i,
189
+ mode: t,
190
190
  lighting: e,
191
- getPlaySpeed: t,
191
+ getPlaySpeed: i,
192
192
  onProgress: r,
193
193
  beforeProgress: n
194
194
  }) {
195
195
  let s = -1;
196
196
  function o(a = Date.now()) {
197
197
  const c = e.date, d = Date.now() - (a ?? 0);
198
- if (i === "day") {
198
+ if (t === "day") {
199
199
  a = Date.now();
200
- const h = t() / Ye * d;
200
+ const h = i() / Ye * d;
201
201
  if (h > 0) {
202
202
  let g = new Date(c.getTime() + h);
203
- const w = e.displayUTCOffset ?? 0, x = ie(g.getUTCHours(), w), _ = ie(c.getUTCHours(), w);
203
+ const w = e.displayUTCOffset ?? 0, x = te(g.getUTCHours(), w), _ = te(c.getUTCHours(), w);
204
204
  x < _ && (g = new Date(c.getTime() + h - Be));
205
205
  const b = e.clone();
206
206
  n?.(), e.date = g, r?.(b, e);
@@ -217,19 +217,19 @@ function Ze({
217
217
  return o(), J(() => cancelAnimationFrame(s));
218
218
  }
219
219
  const L = v / 4;
220
- function We(i, e, t, r) {
220
+ function We(t, e, i, r) {
221
221
  const {
222
222
  day: n,
223
223
  night: s = n,
224
224
  twilight: o = n
225
225
  } = r, a = n * L, c = s * L, d = o * L;
226
- if (i == null || e == null || Number.isNaN(i.getTime()) && Number.isNaN(e.getTime()))
226
+ if (t == null || e == null || Number.isNaN(t.getTime()) && Number.isNaN(e.getTime()))
227
227
  return a;
228
- const l = t.getTime(), h = i.getTime(), g = e.getTime(), w = h - O / 2, x = h + O / 2, _ = g - O / 3 * 2, b = g + O / 3;
228
+ const l = i.getTime(), h = t.getTime(), g = e.getTime(), w = h - O / 2, x = h + O / 2, _ = g - O / 3 * 2, b = g + O / 3;
229
229
  let f = a;
230
230
  return l >= w && l <= x ? l - w <= v ? f = c - (l - w) / v * (c - d) : x - l <= v / 2 ? f = a - (x - l) / v * 2 * (a - d) : f = d : l >= _ && l <= b ? l - _ <= v / 2 ? f = a - (l - _) / v * 2 * (a - d) : b - l <= v ? f = c - (b - l) / v * (c - d) : f = d : (l < h || l > g) && (f = c), f;
231
231
  }
232
- const Ke = _e`.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-foreground-2);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-foreground-2)}.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:hidden;gap:var(--calcite-spacing-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-spacing-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-spacing-md-plus);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.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}}`, Qe = {
232
+ const Ke = _e`.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-foreground-2);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-foreground-2)}.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-spacing-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-spacing-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-spacing-md-plus);display:grid;gap:var(--calcite-spacing-md);grid-template-columns:1fr min-content;.slider-container{grid-column:1;+calcite-button{grid-column:2;transform:translateY(var(--slider-play-button-offset))}}.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}}`, Qe = {
233
233
  day: 1,
234
234
  night: 6,
235
235
  twilight: 2 / 3
@@ -238,9 +238,9 @@ class Xe extends fe {
238
238
  constructor() {
239
239
  super(...arguments), this.messages = be({ blocking: !0 }), this.#r = "none", this.#n = null, this.#o = q(), this.#a = q(), this.#d = 200, this.#h = 200, this.#e = {}, this._offset = I((e) => p(this._lighting) ? this._lighting.displayUTCOffset ?? e : e), this._timesliderPosition = I((e) => {
240
240
  if (p(this._lighting)) {
241
- const t = this._lighting.displayUTCOffset ?? 0, r = this._lighting.date;
241
+ const i = this._lighting.displayUTCOffset ?? 0, r = this._lighting.date;
242
242
  if (A(r)) {
243
- const { minutesSinceMidnight: n } = k(r, t);
243
+ const { minutesSinceMidnight: n } = k(r, i);
244
244
  return n;
245
245
  } else
246
246
  return e;
@@ -257,39 +257,39 @@ class Xe extends fe {
257
257
  get _view() {
258
258
  return this.view?.type === "3d" ? this.view : void 0;
259
259
  }
260
- #t;
260
+ #i;
261
261
  #r;
262
262
  #n;
263
- #i;
263
+ #t;
264
264
  #o;
265
265
  #a;
266
266
  #d;
267
267
  #h;
268
268
  #l() {
269
- if (this.#i)
269
+ if (this.#t)
270
270
  return;
271
271
  const e = ye(() => {
272
- if (this.#i?.remove(), p(this._lighting)) {
273
- const t = this.utcOffset ?? 0, r = this.timeSliderPosition ?? 0, n = this.localDate, s = r - t * 60, o = C(n, s, "minutes");
274
- this._lighting.date = o, this._lighting.displayUTCOffset = t;
272
+ if (this.#t?.remove(), p(this._lighting)) {
273
+ const i = this.utcOffset ?? 0, r = this.timeSliderPosition ?? 0, n = this.localDate, s = r - i * 60, o = C(n, s, "minutes");
274
+ this._lighting.date = o, this._lighting.displayUTCOffset = i;
275
275
  }
276
276
  }, { timeout: this.#d });
277
- this.#i = J(() => {
278
- Se(e), this.#i = void 0;
277
+ this.#t = J(() => {
278
+ Se(e), this.#t = void 0;
279
279
  });
280
280
  }
281
- #u({ scale: e, disabled: t }) {
281
+ #u({ scale: e, disabled: i }) {
282
282
  const { messages: r } = this;
283
- return m`<calcite-label .scale=${e} class="date-picker-container">${r.date}${et({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (n) => {
283
+ return m`<calcite-label .scale=${e} class="date-picker-container">${r.date}${ei({ disabled: i, scale: e, date: this.localDateAsString, onDateChange: (n) => {
284
284
  const s = n.currentTarget.value, o = Array.isArray(s) ? s[0] : s;
285
285
  this._stopPlaying(), this.localDate = o, this._emitUserDateTimeChangeEvent();
286
- } })}</calcite-label>${D({ hidden: this.hidePlayButtons, children: re({ playing: this.yearPlaying, disabled: t, label: r.playYear, onClick: () => {
286
+ } })}</calcite-label>${D({ hidden: this.hidePlayButtons, children: re({ playing: this.yearPlaying, disabled: i, label: r.playYear, onClick: () => {
287
287
  this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
288
288
  }, scale: e }) })}`;
289
289
  }
290
- #p({ scale: e, disabled: t }) {
290
+ #p({ scale: e, disabled: i }) {
291
291
  const { messages: r } = this;
292
- return m`<calcite-label .scale=${e} class="date-picker-container">${r.season}${tt({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: r, onSeasonChange: (n) => {
292
+ return m`<calcite-label .scale=${e} class="date-picker-container">${r.season}${ii({ scale: e, selectedSeason: this.currentSeason, disabled: i, messages: r, onSeasonChange: (n) => {
293
293
  this._stopPlaying(), this.currentSeason = n.currentTarget.value;
294
294
  } })}</calcite-label>`;
295
295
  }
@@ -304,7 +304,7 @@ class Xe extends fe {
304
304
  return this.#r;
305
305
  }
306
306
  set _playingState(e) {
307
- this.#r = e, this.#s?.remove(), e === "none" ? this.#t?.remove() : (this._play(e), this._emitUserDateTimeChangeEvent());
307
+ this.#r = e, this.#s?.remove(), e === "none" ? this.#i?.remove() : (this._play(e), this._emitUserDateTimeChangeEvent());
308
308
  }
309
309
  get _lighting() {
310
310
  return this._view?.environment?.lighting;
@@ -314,10 +314,10 @@ class Xe extends fe {
314
314
  }
315
315
  set _sunlightingDisabled(e) {
316
316
  this.#e.sunlightingDisabled = e;
317
- const t = this._view?.environment;
318
- if (t == null)
317
+ const i = this._view?.environment;
318
+ if (i == null)
319
319
  return;
320
- const r = t.lighting, n = this.#n;
320
+ const r = i.lighting, n = this.#n;
321
321
  this.#n = r;
322
322
  const s = {
323
323
  directShadowsEnabled: r.directShadowsEnabled,
@@ -326,15 +326,15 @@ class Xe extends fe {
326
326
  p(r) && (s.cameraTrackingEnabled = r.cameraTrackingEnabled);
327
327
  const o = e ? "virtual" : "sun";
328
328
  let a;
329
- n?.type === o ? a = n : a = e ? new me() : new pe(), a.set(s), t.lighting = a, e || (this._stopPlaying(), this.#o.value && (this.#o.value.open = !1));
329
+ n?.type === o ? a = n : a = e ? new me() : new pe(), a.set(s), i.lighting = a, e || (this._stopPlaying(), this.#o.value && (this.#o.value.open = !1));
330
330
  }
331
331
  get currentSeason() {
332
- const e = this._view?.camera?.position?.latitude ?? 0, t = te(e);
333
- return Re(this.localDate, t);
332
+ const e = this._view?.camera?.position?.latitude ?? 0, i = ie(e);
333
+ return Re(this.localDate, i);
334
334
  }
335
335
  set currentSeason(e) {
336
336
  this._stopPlaying();
337
- const t = this._view?.camera?.position?.latitude ?? 0, r = te(t), n = F(e, r);
337
+ const i = this._view?.camera?.position?.latitude ?? 0, r = ie(i), n = F(e, r);
338
338
  this.localDate = P(this.localDate, n, "northern"), this._emitUserDateTimeChangeEvent();
339
339
  }
340
340
  get dayPlaying() {
@@ -365,10 +365,10 @@ class Xe extends fe {
365
365
  return this._localDate.value != null ? new Date(this._localDate.value) : /* @__PURE__ */ new Date();
366
366
  }
367
367
  set localDate(e) {
368
- const t = new Date(e);
369
- if (A(t)) {
370
- t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
371
- const r = t.toISOString().slice(0, 10);
368
+ const i = new Date(e);
369
+ if (A(i)) {
370
+ i.setUTCFullYear(i.getFullYear(), i.getMonth(), i.getDate());
371
+ const r = i.toISOString().slice(0, 10);
372
372
  this._localDate.mutate(r), this.#l();
373
373
  }
374
374
  }
@@ -386,23 +386,23 @@ class Xe extends fe {
386
386
  B(() => {
387
387
  let e = null;
388
388
  if (p(this._lighting)) {
389
- const t = this._lighting.displayUTCOffset ?? 0, r = this._lighting.date;
389
+ const i = this._lighting.displayUTCOffset ?? 0, r = this._lighting.date;
390
390
  if (A(r)) {
391
- const { minutesSinceMidnight: n } = k(r, t);
391
+ const { minutesSinceMidnight: n } = k(r, i);
392
392
  e = n;
393
393
  }
394
394
  }
395
395
  return e;
396
396
  }, (e) => {
397
- const t = this.#g;
398
- e != null && t !== e && this._emitUserDateTimeChangeEvent();
397
+ const i = this.#g;
398
+ e != null && i !== e && this._emitUserDateTimeChangeEvent();
399
399
  }, { sync: !0 }),
400
400
  B(() => {
401
401
  const e = this._view?.camera?.position;
402
402
  return e ? Ce(e) : void 0;
403
403
  }, (e) => {
404
- const t = this._lighting;
405
- p(t) && t.cameraTrackingEnabled && (t.displayUTCOffset = e);
404
+ const i = this._lighting;
405
+ p(i) && i.cameraTrackingEnabled && (i.displayUTCOffset = e);
406
406
  }, { sync: !0, initial: !0 }),
407
407
  he(() => !p(this._lighting), () => {
408
408
  this._stopPlaying();
@@ -411,12 +411,12 @@ class Xe extends fe {
411
411
  this.requestUpdate();
412
412
  })
413
413
  ]), this.manager.onDisconnected(() => {
414
- this.#t?.remove(), this.#i?.remove(), this.#s?.remove();
414
+ this.#i?.remove(), this.#t?.remove(), this.#s?.remove();
415
415
  });
416
416
  }
417
417
  willUpdate(e) {
418
418
  if (super.willUpdate(e), !!this.#c && p(this._lighting) && e.has("utcOffset")) {
419
- const t = this.utcOffset ?? 0, r = this._lighting.displayUTCOffset ?? 0, n = this.timeSliderPosition ?? 0, s = this.localDate, o = n - r * 60, a = C(s, o, "minutes"), { minutesSinceMidnight: c, localDate: d } = k(a, t);
419
+ const i = this.utcOffset ?? 0, r = this._lighting.displayUTCOffset ?? 0, n = this.timeSliderPosition ?? 0, s = this.localDate, o = n - r * 60, a = C(s, o, "minutes"), { minutesSinceMidnight: c, localDate: d } = k(a, i);
420
420
  this._timesliderPosition.mutate(c), this._localDate.mutate(d);
421
421
  }
422
422
  }
@@ -429,8 +429,8 @@ class Xe extends fe {
429
429
  }
430
430
  })), await xe(ge(() => this._view?.ready, { signal: e.signal }).then(() => {
431
431
  this.utcOffset = this.#e.utcOffset ?? this.utcOffset, this.timeSliderPosition = this.#e.timeSliderPosition ?? this.timeSliderPosition, this.localDate = this.#e.localDate ?? this.localDate, this.#e.directShadowsDisabled != null && (this._directShadowsDisabled = this.#e.directShadowsDisabled), this.#e.sunlightingDisabled != null && (this._sunlightingDisabled = this.#e.sunlightingDisabled), this.#e = {};
432
- const t = this._playingState;
433
- t !== "none" && this.#t == null && this._play(t);
432
+ const i = this._playingState;
433
+ i !== "none" && this.#i == null && this._play(i);
434
434
  })), this.#c = !0;
435
435
  }
436
436
  _emitUserDateTimeChangeEvent() {
@@ -443,12 +443,12 @@ class Xe extends fe {
443
443
  #m(e) {
444
444
  if (this.#s)
445
445
  return;
446
- const t = setTimeout(() => {
446
+ const i = setTimeout(() => {
447
447
  const r = e.displayUTCOffset ?? 0, n = e.date, { minutesSinceMidnight: s } = k(n, r);
448
448
  this._timesliderPosition.mutate(s), this.#s?.remove();
449
449
  }, this.#h);
450
450
  this.#s = J(() => {
451
- clearTimeout(t), this.#s = void 0;
451
+ clearTimeout(i), this.#s = void 0;
452
452
  const r = this._lighting;
453
453
  if (p(r)) {
454
454
  const n = r.displayUTCOffset ?? 0, s = r.date, { minutesSinceMidnight: o } = k(s, n);
@@ -457,15 +457,15 @@ class Xe extends fe {
457
457
  });
458
458
  }
459
459
  _play(e) {
460
- this.#t?.remove();
461
- const t = this._view;
462
- if (t == null || this._sunlightingDisabled)
460
+ this.#i?.remove();
461
+ const i = this._view;
462
+ if (i == null || this._sunlightingDisabled)
463
463
  return;
464
- const r = t.environment.lighting;
464
+ const r = i.environment.lighting;
465
465
  if (!p(r))
466
466
  return;
467
467
  let n = 0;
468
- this.#t = Ze({
468
+ this.#i = Ze({
469
469
  mode: e,
470
470
  lighting: r,
471
471
  beforeProgress: () => {
@@ -485,7 +485,7 @@ class Xe extends fe {
485
485
  });
486
486
  }
487
487
  render() {
488
- const { messages: e, dateOrSeason: t } = this, r = this._sunlightingDisabled, n = "m";
488
+ const { messages: e, dateOrSeason: i } = this, r = this._sunlightingDisabled, n = "m";
489
489
  if (!(this._view?.type === "3d"))
490
490
  return K({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: m`<div class="unsupported"><p>${e.unsupported}</p></div>` });
491
491
  const o = (this.utcOffset ?? 0) * 60, a = this.view?.ready === !0, c = Array.isArray(this.timeSliderSteps) ? this.timeSliderSteps.at(0) : this.timeSliderSteps;
@@ -496,29 +496,29 @@ class Xe extends fe {
496
496
  }, scale: n }) })}${D({ hidden: this.hideTimezone, children: m`<calcite-label .scale=${n} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${n} .disabled=${this._sunlightingDisabled} .value=${`${o}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(d) => {
497
497
  const l = +d.target.value;
498
498
  this.utcOffset = l / 60, this._stopPlaying();
499
- }} ${Z(this.#o)}></calcite-input-time-zone></calcite-label><span></span>` })}${D({ hidden: this.hideDatePicker, children: t === "date" ? this.#u({ scale: n, disabled: r }) : this.#p({ scale: n, disabled: r }) })}</div>${D({ hidden: this.hideSunLightingToggle, children: it({ scale: n, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (d) => {
499
+ }} ${Z(this.#o)}></calcite-input-time-zone></calcite-label><span></span>` })}${D({ hidden: this.hideDatePicker, children: i === "date" ? this.#u({ scale: n, disabled: r }) : this.#p({ scale: n, disabled: r }) })}</div>${D({ hidden: this.hideSunLightingToggle, children: ti({ scale: n, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (d) => {
500
500
  this._sunlightingDisabled = !d;
501
- } }) })}${D({ hidden: this.hideShadowsToggle, children: rt({ scale: n, messages: e.shadowsToggle, onShadowCheckboxChange: (d) => {
501
+ } }) })}${D({ hidden: this.hideShadowsToggle, children: ri({ scale: n, messages: e.shadowsToggle, onShadowCheckboxChange: (d) => {
502
502
  this._directShadowsDisabled = !d;
503
503
  }, shadowEnabled: !this._directShadowsDisabled }) })}` });
504
504
  }
505
505
  }
506
- function re({ disabled: i, playing: e, onClick: t, label: r, scale: n = "m" }) {
507
- return m`<calcite-button appearance=solid .scale=${n} .disabled=${i} .iconStart=${e ? "pause-f" : "play-f"} .label=${r} @click=${t} round title=${r ?? V} type=button></calcite-button>`;
506
+ function re({ disabled: t, playing: e, onClick: i, label: r, scale: n = "m" }) {
507
+ return m`<calcite-button appearance=solid .scale=${n} .disabled=${t} .iconStart=${e ? "pause-f" : "play-f"} .label=${r} @click=${i} round title=${r ?? V} type=button></calcite-button>`;
508
508
  }
509
- function et({ disabled: i, date: e, onDateChange: t, scale: r }) {
510
- return m`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${i} overlay-positioning=fixed placement=bottom .value=${e} .scale=${r} @calciteInputDatePickerChange=${t}></calcite-input-date-picker>`;
509
+ function ei({ disabled: t, date: e, onDateChange: i, scale: r }) {
510
+ return m`<calcite-input-date-picker data-testid=daylight-date-picker .disabled=${t} overlay-positioning=fixed placement=bottom .value=${e} .scale=${r} @calciteInputDatePickerChange=${i}></calcite-input-date-picker>`;
511
511
  }
512
- function tt({ messages: i, disabled: e, scale: t, selectedSeason: r, onSeasonChange: n }) {
513
- return m`<calcite-select .disabled=${e} .label=${i.season} .scale=${t} .value=${r} @calciteSelectChange=${(s) => {
512
+ function ii({ messages: t, disabled: e, scale: i, selectedSeason: r, onSeasonChange: n }) {
513
+ return m`<calcite-select .disabled=${e} .label=${t.season} .scale=${i} .value=${r} @calciteSelectChange=${(s) => {
514
514
  n(s);
515
- }}>${R.map((s) => m`<calcite-option .selected=${r === s} .value=${s}>${i[s]}</calcite-option>`)}</calcite-select>`;
515
+ }}>${R.map((s) => m`<calcite-option .selected=${r === s} .value=${s}>${t[s]}</calcite-option>`)}</calcite-select>`;
516
516
  }
517
- function it({ messages: i, sunlightingEnabled: e, onSunLightingToggle: t, scale: r }) {
518
- return m`<calcite-label layout=inline .scale=${r} title=${i?.tooltip ?? V}><calcite-checkbox .scale=${r} .checked=${e} @calciteCheckboxChange=${(n) => t(n.target.checked)}></calcite-checkbox>${i?.label}</calcite-label>`;
517
+ function ti({ messages: t, sunlightingEnabled: e, onSunLightingToggle: i, scale: r }) {
518
+ return m`<calcite-label layout=inline .scale=${r} title=${t?.tooltip ?? V}><calcite-checkbox .scale=${r} .checked=${e} @calciteCheckboxChange=${(n) => i(n.target.checked)}></calcite-checkbox>${t?.label}</calcite-label>`;
519
519
  }
520
- function rt({ messages: i, shadowEnabled: e, onShadowCheckboxChange: t, scale: r }) {
521
- return m`<calcite-label layout=inline .scale=${r} title=${i?.tooltip ?? V}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(n) => t(n.target.checked)}></calcite-checkbox>${i.label}</calcite-label>`;
520
+ function ri({ messages: t, shadowEnabled: e, onShadowCheckboxChange: i, scale: r }) {
521
+ return m`<calcite-label layout=inline .scale=${r} title=${t?.tooltip ?? V}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(n) => i(n.target.checked)}></calcite-checkbox>${t.label}</calcite-label>`;
522
522
  }
523
523
  de("arcgis-daylight", Xe);
524
524
  export {
@@ -1,20 +1,20 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
- import { c as r } from "../../chunks/runtime.js";
3
- import { css as s, html as n } from "lit";
4
- import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
5
- import u from "@arcgis/core/geometry/SpatialReference.js";
6
- import { LitElement as o } from "@arcgis/lumina";
7
- const p = s`.sr-label{display:flex;gap:var(--calcite-spacing-xs)}.invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`;
8
- function d(e) {
2
+ import { c as s } from "../../chunks/runtime.js";
3
+ import { css as c, html as n } from "lit";
4
+ import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
5
+ import o from "@arcgis/core/geometry/SpatialReference.js";
6
+ import { LitElement as p } from "@arcgis/lumina";
7
+ const d = c`.sr-label{display:flex;gap:var(--calcite-spacing-xs)}.invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`;
8
+ function f(e) {
9
9
  if (e == null)
10
10
  return !1;
11
11
  const t = e.wkid;
12
12
  return t != null && t >= 2e3 ? !0 : e.wkt2 != null || e.wkt != null;
13
13
  }
14
- function f(e) {
14
+ function m(e) {
15
15
  return e == null ? e : Math.round(Number.parseFloat(e));
16
16
  }
17
- class m extends o {
17
+ class v extends p {
18
18
  constructor() {
19
19
  super(...arguments), this._isValidSpatialReference = !0;
20
20
  }
@@ -22,28 +22,29 @@ class m extends o {
22
22
  this.properties = { _isValidSpatialReference: 16, _outSpatialReference: 16, templateOptions: 0, viewModel: 0, messages: 0 };
23
23
  }
24
24
  static {
25
- this.styles = p;
25
+ this.styles = d;
26
26
  }
27
27
  loaded() {
28
28
  this.manager.onLifecycle(() => [
29
- c(() => this.viewModel.outSpatialReference, (t) => {
29
+ u(() => this.viewModel.outSpatialReference, (t) => {
30
30
  this._outSpatialReference = t ?? void 0;
31
31
  }, { initial: !0 })
32
32
  ]);
33
33
  }
34
34
  render() {
35
- const { messages: t, _outSpatialReference: a } = this;
36
- return n`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://next.gha.afd.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({ currentTarget: l }) => {
37
- const i = f(l.value);
38
- if (Number.isNaN(i) || i == null || i <= 0 || !Number.isFinite(i)) {
39
- l.value = `${a?.wkid ?? ""}`;
35
+ const { messages: t } = this;
36
+ return n`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({ currentTarget: r }) => {
37
+ const a = r.value;
38
+ if (a === "") {
39
+ this.viewModel.outSpatialReference = null, this._isValidSpatialReference = !0;
40
40
  return;
41
41
  }
42
- this.viewModel.outSpatialReference = Number.isNaN(i) || i == null ? null : new u({ wkid: i }), this._isValidSpatialReference = !a || d(a);
42
+ const i = m(a), l = Number.isNaN(i) || i == null ? null : new o({ wkid: i });
43
+ this.viewModel.outSpatialReference = l, this._isValidSpatialReference = f(l);
43
44
  }}></calcite-input-number>${this._isValidSpatialReference ? null : n`<div class="invalid-wkid-text">${t.invalidWkid}</div>`}</calcite-label></div>`;
44
45
  }
45
46
  }
46
- r("arcgis-print-out-spatial-reference-input", m);
47
+ s("arcgis-print-out-spatial-reference-input", v);
47
48
  export {
48
- m as PrintOutSpatialReferenceInput
49
+ v as PrintOutSpatialReferenceInput
49
50
  };