@arcgis/map-components 5.2.0-next.94 → 5.2.0-next.95

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 (301) hide show
  1. package/dist/cdn/{VNX2AHM5.js → 25ELW5DP.js} +1 -1
  2. package/dist/cdn/{43XQKUF6.js → 26OEUDIF.js} +1 -1
  3. package/dist/cdn/{UTOVD7WO.js → 26WVOAIW.js} +1 -1
  4. package/dist/cdn/{HRC67J4X.js → 2D6JTL4E.js} +1 -1
  5. package/dist/cdn/2F6NRCC5.js +2 -0
  6. package/dist/cdn/{GRVXZRHO.js → 2GDWXNYN.js} +1 -1
  7. package/dist/cdn/{SJJ7QEQX.js → 2HYRTMJ6.js} +1 -1
  8. package/dist/cdn/376WTHOL.js +2 -0
  9. package/dist/cdn/3TTIKHXP.js +2 -0
  10. package/dist/cdn/{36TZJXHA.js → 44ELZBSR.js} +1 -1
  11. package/dist/cdn/{3VE3XLKT.js → 4LJO7QFG.js} +1 -1
  12. package/dist/cdn/{LVUQ55Y3.js → 4P2WLM6E.js} +1 -1
  13. package/dist/cdn/4QGIFHEA.js +2 -0
  14. package/dist/cdn/{V2UDGBN4.js → 4SOK3D4T.js} +1 -1
  15. package/dist/cdn/{7HRK777D.js → 4U3UYYQ5.js} +1 -1
  16. package/dist/cdn/{IBHSU6LP.js → 4WKKBT3F.js} +1 -1
  17. package/dist/cdn/4YFREAQ2.js +2 -0
  18. package/dist/cdn/{IGFJHWQN.js → 54HCOOFG.js} +1 -1
  19. package/dist/cdn/{MJ2CLOUC.js → 54M2I4JP.js} +1 -1
  20. package/dist/cdn/{4FZ5GGDI.js → 55HFRR2W.js} +1 -1
  21. package/dist/cdn/{ENCUTG4J.js → 564IIZBI.js} +1 -1
  22. package/dist/cdn/{XZVWADEG.js → 57GMYMVT.js} +1 -1
  23. package/dist/cdn/{QWZOLPCK.js → 5CKRSEWZ.js} +1 -1
  24. package/dist/cdn/{PFX6VX2N.js → 5H4I5K6T.js} +1 -1
  25. package/dist/cdn/{TDGUCMON.js → 5LGT6I7Y.js} +1 -1
  26. package/dist/cdn/{NQ5OGG4I.js → 5MMZAQYH.js} +1 -1
  27. package/dist/cdn/{UTAQGRV3.js → 5SVULVBJ.js} +1 -1
  28. package/dist/cdn/{QX7CIDD3.js → 5TX463UL.js} +1 -1
  29. package/dist/cdn/{WVGSH2QD.js → 5UVZPECS.js} +1 -1
  30. package/dist/cdn/{3SCF2TGT.js → 5YUG57HI.js} +1 -1
  31. package/dist/cdn/{EEVHASMU.js → 6A365EUI.js} +1 -1
  32. package/dist/cdn/{5DI7RMZ6.js → 6ERK6Z6K.js} +1 -1
  33. package/dist/cdn/{LIK2D5WG.js → 6F3A7GUW.js} +1 -1
  34. package/dist/cdn/{B2HPLGXB.js → 6G2T2G3Q.js} +1 -1
  35. package/dist/cdn/{K66ZH3DH.js → 6LUL555P.js} +1 -1
  36. package/dist/cdn/{K4HD2F6W.js → 6NRNLMJK.js} +1 -1
  37. package/dist/cdn/{LBYKVAQ2.js → 6S3ODLME.js} +1 -1
  38. package/dist/cdn/{4H6N4JTU.js → 6T5SVWDF.js} +1 -1
  39. package/dist/cdn/{4TUA2QEW.js → 6YNNDY3K.js} +1 -1
  40. package/dist/cdn/{UVD3M6B5.js → 777PJUNL.js} +1 -1
  41. package/dist/cdn/{J6TT6SMU.js → 7EKSEHUY.js} +1 -1
  42. package/dist/cdn/{LINQYJP4.js → 7HZIEA5X.js} +1 -1
  43. package/dist/cdn/{VAOBL5U2.js → 7LR4MDUB.js} +1 -1
  44. package/dist/cdn/{HTDQ3T52.js → 7TKEMQVG.js} +1 -1
  45. package/dist/cdn/{VNT4QL2K.js → 7TTSWTGP.js} +1 -1
  46. package/dist/cdn/{5A6MVUCS.js → 7ZZWKH2U.js} +1 -1
  47. package/dist/cdn/{HAUHWMHN.js → A3DPBGUE.js} +1 -1
  48. package/dist/cdn/{EVKOQOVV.js → A6Z7H75I.js} +1 -1
  49. package/dist/cdn/{TY7RUZSW.js → ADSOI3MN.js} +1 -1
  50. package/dist/cdn/{RCGLBAHP.js → AEGRRGUN.js} +1 -1
  51. package/dist/cdn/{W2HQAUUA.js → AKNAVXKD.js} +1 -1
  52. package/dist/cdn/{6I6P36ZC.js → AUTF57U5.js} +1 -1
  53. package/dist/cdn/{YXKHHGAI.js → AXEVIUBZ.js} +1 -1
  54. package/dist/cdn/{JZHBJAXX.js → AY2PVEY5.js} +1 -1
  55. package/dist/cdn/{PLQVU2Q5.js → B4DLIKAN.js} +1 -1
  56. package/dist/cdn/{D3G3JFB6.js → B4JHLZUL.js} +1 -1
  57. package/dist/cdn/{B35PDXSH.js → BAI3SYHE.js} +1 -1
  58. package/dist/cdn/{IWVSKFSS.js → BJL2DTRG.js} +1 -1
  59. package/dist/cdn/{3VFBYBX4.js → BNZQH6YD.js} +1 -1
  60. package/dist/cdn/{I22IJPSN.js → BQJHJ74K.js} +1 -1
  61. package/dist/cdn/{2Z6FVTKT.js → BR6D5EO4.js} +1 -1
  62. package/dist/cdn/{TTDOV3LD.js → BRWY53GW.js} +1 -1
  63. package/dist/cdn/BV3Q2Y7F.js +2 -0
  64. package/dist/cdn/{TVV525SY.js → BVVR27JR.js} +1 -1
  65. package/dist/cdn/{ZJEYDRKM.js → C23PR4ZX.js} +1 -1
  66. package/dist/cdn/{7BOYQGKF.js → C2PS2HSE.js} +1 -1
  67. package/dist/cdn/{IFWRNEPD.js → CA5LXWO6.js} +1 -1
  68. package/dist/cdn/{MAPYP35W.js → CB564G7T.js} +1 -1
  69. package/dist/cdn/{UEBDFBOK.js → CDMVB72W.js} +1 -1
  70. package/dist/cdn/CDWU62VR.js +2 -0
  71. package/dist/cdn/{AF65YZXZ.js → CEMBX25Q.js} +1 -1
  72. package/dist/cdn/{3TAYDIE5.js → CEQXB7WX.js} +1 -1
  73. package/dist/cdn/CEW4IP7H.js +2 -0
  74. package/dist/cdn/{RJZ424ZP.js → CIPZN7LE.js} +1 -1
  75. package/dist/cdn/{V2ZCE7D4.js → CJ536VHT.js} +1 -1
  76. package/dist/cdn/{NMQLILVV.js → CX3OZJEH.js} +1 -1
  77. package/dist/cdn/{XRTSGX32.js → D5TJRWW3.js} +1 -1
  78. package/dist/cdn/{L2LZHMH7.js → D6BWGR3Z.js} +1 -1
  79. package/dist/cdn/{5IXZDVTF.js → DATBQXOK.js} +1 -1
  80. package/dist/cdn/{QB7T5YZ4.js → DBLLBQTY.js} +1 -1
  81. package/dist/cdn/{5IEGTCFV.js → DCCWOMAC.js} +1 -1
  82. package/dist/cdn/{APQ2XNV7.js → DFKHGL3E.js} +1 -1
  83. package/dist/cdn/{HW3TRZY4.js → DSROAKFP.js} +1 -1
  84. package/dist/cdn/{56KR4KYO.js → E3ILZB5S.js} +1 -1
  85. package/dist/cdn/{YTRY74ZP.js → E5TRFG7X.js} +1 -1
  86. package/dist/cdn/{ARJHGUGG.js → EFOY5CY5.js} +1 -1
  87. package/dist/cdn/{MIHS4UUO.js → EHMCN2NS.js} +1 -1
  88. package/dist/cdn/{DNOSWCRM.js → ETXQKL6T.js} +1 -1
  89. package/dist/cdn/{QVFP6VNW.js → EVXKGM66.js} +1 -1
  90. package/dist/cdn/{NUPOLDDX.js → EYHS3JDR.js} +1 -1
  91. package/dist/cdn/{7PCTYMRK.js → F2ZADKF4.js} +1 -1
  92. package/dist/cdn/{NXBXO7PE.js → F3JDX4A7.js} +1 -1
  93. package/dist/cdn/{UREENOOH.js → F5G3VJU7.js} +1 -1
  94. package/dist/cdn/{LOTMKNUM.js → FECA7CTQ.js} +1 -1
  95. package/dist/cdn/{VIHVSV4P.js → FFAM2LIE.js} +1 -1
  96. package/dist/cdn/FIIA3N5X.js +2 -0
  97. package/dist/cdn/{4LKGHKBM.js → FJT32TIN.js} +1 -1
  98. package/dist/cdn/{IXS5O6G4.js → FRAZUJ7K.js} +1 -1
  99. package/dist/cdn/{XM2OSRTS.js → FRSROWP4.js} +1 -1
  100. package/dist/cdn/{2GM4O42V.js → FY6IGGPV.js} +1 -1
  101. package/dist/cdn/{Z3GGFI6Z.js → FZDURX2Y.js} +1 -1
  102. package/dist/cdn/{F3G626XT.js → G2BLA5NQ.js} +1 -1
  103. package/dist/cdn/{2AKHVAG7.js → G7HOUS4O.js} +1 -1
  104. package/dist/cdn/{MIRKEWHI.js → GG7KEBIO.js} +1 -1
  105. package/dist/cdn/{DKP73IZU.js → GH2RPE3P.js} +1 -1
  106. package/dist/cdn/{ZZHPGKBQ.js → GIQDIWW4.js} +1 -1
  107. package/dist/cdn/{PSX4TLHP.js → GMSIYMNC.js} +1 -1
  108. package/dist/cdn/{VRC5MLVY.js → GVALHSMR.js} +1 -1
  109. package/dist/cdn/HF3GCBAI.js +2 -0
  110. package/dist/cdn/{S7OFSONY.js → HIG6CVQX.js} +1 -1
  111. package/dist/cdn/{DEH55KP3.js → HISWL3K3.js} +1 -1
  112. package/dist/cdn/{EV2EASMH.js → HOKDRJ4R.js} +1 -1
  113. package/dist/cdn/{FQBZ4RIZ.js → HPISDMLX.js} +1 -1
  114. package/dist/cdn/{QVM6UFNB.js → HVHQMAZ4.js} +1 -1
  115. package/dist/cdn/{NCYBFT2Y.js → HYRFW7KG.js} +1 -1
  116. package/dist/cdn/I3VQ46FA.js +2 -0
  117. package/dist/cdn/{BQUWJGGL.js → I4KA3CNC.js} +1 -1
  118. package/dist/cdn/{WXX3WGFE.js → IBNFHSSF.js} +1 -1
  119. package/dist/cdn/{AZYY5BTK.js → IE7XJM27.js} +1 -1
  120. package/dist/cdn/{3TRAIJXM.js → J3KQKQSU.js} +1 -1
  121. package/dist/cdn/{L2FVENA7.js → JBJNQGGE.js} +1 -1
  122. package/dist/cdn/{K4TLP5XG.js → JFVNGZNJ.js} +1 -1
  123. package/dist/cdn/{4GE4A5ZF.js → JHWTX3YJ.js} +1 -1
  124. package/dist/cdn/{WTTWWX57.js → JKB6V2RD.js} +1 -1
  125. package/dist/cdn/{NHU5Q4AZ.js → JKOIMKKL.js} +1 -1
  126. package/dist/cdn/{76XDS6TG.js → JOPAUFUX.js} +1 -1
  127. package/dist/cdn/{A5ZHWVI3.js → JOUNNARF.js} +1 -1
  128. package/dist/cdn/JVC76RB3.js +2 -0
  129. package/dist/cdn/K2FKS4AS.js +2 -0
  130. package/dist/cdn/{5POTZZ3V.js → KFL7RYUP.js} +1 -1
  131. package/dist/cdn/{4MUCONAD.js → KGFMFLEB.js} +1 -1
  132. package/dist/cdn/{UKJYTLTV.js → KGJLTL75.js} +1 -1
  133. package/dist/cdn/{3N2HSTRS.js → KJTWHP5I.js} +1 -1
  134. package/dist/cdn/{LGAYYLQL.js → KMV445BK.js} +1 -1
  135. package/dist/cdn/{RT4SQ4PV.js → KR4EB5AC.js} +1 -1
  136. package/dist/cdn/{IITMDFOP.js → KZPPV365.js} +1 -1
  137. package/dist/cdn/{SVXVFWF5.js → L3YJAQBN.js} +1 -1
  138. package/dist/cdn/{I5EJ7LOJ.js → LKCX5SXM.js} +1 -1
  139. package/dist/cdn/{KPOJXBNC.js → LMNH2RHA.js} +1 -1
  140. package/dist/cdn/{6BRAQ2VJ.js → LPB2JMJ5.js} +1 -1
  141. package/dist/cdn/{CQ7HNSA2.js → M4BXOW2Q.js} +1 -1
  142. package/dist/cdn/{Q7SMGP5R.js → M6LV7VM5.js} +1 -1
  143. package/dist/cdn/{RIBE2H6U.js → M7KQOIH2.js} +1 -1
  144. package/dist/cdn/{73N362E5.js → MH324PA6.js} +1 -1
  145. package/dist/cdn/{BKC42MLS.js → MIIHAXAZ.js} +1 -1
  146. package/dist/cdn/{O3G7XPDI.js → MLXWIPK2.js} +1 -1
  147. package/dist/cdn/{NN4RJSCH.js → MPHO6N5K.js} +1 -1
  148. package/dist/cdn/{KENF5DVZ.js → MSQKXANF.js} +1 -1
  149. package/dist/cdn/{2U6EB7BN.js → MXYWUI34.js} +1 -1
  150. package/dist/cdn/{NOVBQIN5.js → NAEALB6J.js} +1 -1
  151. package/dist/cdn/{WUPMOIP3.js → NIGSZZQA.js} +1 -1
  152. package/dist/cdn/{JVP63EMR.js → NPIJLONQ.js} +1 -1
  153. package/dist/cdn/O6CGTOAO.js +2 -0
  154. package/dist/cdn/{I5SI3FWI.js → OCHBUJAT.js} +1 -1
  155. package/dist/cdn/{CH6EWFKV.js → OD3BO6AL.js} +1 -1
  156. package/dist/cdn/{PODV4OTG.js → ONZ7UTQO.js} +1 -1
  157. package/dist/cdn/{NIFDFP4Q.js → OVXR64PW.js} +1 -1
  158. package/dist/cdn/{IE5OHRX5.js → P63WHRTI.js} +1 -1
  159. package/dist/cdn/{MDICIYVG.js → P7DYWBMK.js} +1 -1
  160. package/dist/cdn/{TYEPGXJH.js → PAZBKL7R.js} +1 -1
  161. package/dist/cdn/{U2ZQWROE.js → PCRSL2XJ.js} +1 -1
  162. package/dist/cdn/{UYFMNOGK.js → PFP7KVAD.js} +1 -1
  163. package/dist/cdn/{JCSG35A7.js → PI55I5L7.js} +1 -1
  164. package/dist/cdn/{EQGGVVNX.js → PTKUNH6D.js} +1 -1
  165. package/dist/cdn/{5GN3PNTI.js → PWY44JI6.js} +1 -1
  166. package/dist/cdn/{O45XRDXJ.js → PXSNOIDS.js} +1 -1
  167. package/dist/cdn/{B5WHS7ER.js → Q446NT7X.js} +1 -1
  168. package/dist/cdn/{5HNZ27R4.js → QD3GVN2C.js} +1 -1
  169. package/dist/cdn/{UP7UPFAE.js → QGJBQDLI.js} +1 -1
  170. package/dist/cdn/{RTFIAQWR.js → QMJTMBWB.js} +1 -1
  171. package/dist/cdn/{MU6AVJOK.js → QTGJ2TIJ.js} +1 -1
  172. package/dist/cdn/{CGDMP7IH.js → QVAISNQE.js} +1 -1
  173. package/dist/cdn/{KJSNL3R6.js → QY2MHZO6.js} +1 -1
  174. package/dist/cdn/{M3TJQPJ3.js → R54BWOJL.js} +1 -1
  175. package/dist/cdn/{H32EDCZG.js → RBQLAUGL.js} +1 -1
  176. package/dist/cdn/{FAQNHEA4.js → RC2T53I5.js} +1 -1
  177. package/dist/cdn/{FAS3CA6C.js → REOCH4MZ.js} +1 -1
  178. package/dist/cdn/{2QADMC6K.js → REUYYFCX.js} +1 -1
  179. package/dist/cdn/{32DXZW7Z.js → RIVFCEGS.js} +1 -1
  180. package/dist/cdn/{WTBRS6C4.js → RM4OPQBM.js} +3 -3
  181. package/dist/cdn/{X5M3AEQM.js → S3QMZKDY.js} +1 -1
  182. package/dist/cdn/{VLKHH2Y6.js → S5XIZ2L4.js} +1 -1
  183. package/dist/cdn/{B2FQHBTX.js → SB3WKE5H.js} +1 -1
  184. package/dist/cdn/{3WUSU6XP.js → SHMHGYVB.js} +1 -1
  185. package/dist/cdn/{QE6XRKDY.js → SLS6H5OI.js} +1 -1
  186. package/dist/cdn/SO3OASNI.js +2 -0
  187. package/dist/cdn/{EGJRBN3G.js → SOUZEOKR.js} +1 -1
  188. package/dist/cdn/{STWRT3F7.js → SQQKMKRG.js} +1 -1
  189. package/dist/cdn/{DDGXUCQU.js → SSJBKHEN.js} +1 -1
  190. package/dist/cdn/{VK2AQNZW.js → SSNWCNXP.js} +1 -1
  191. package/dist/cdn/{CYWMBY4Y.js → SSWT6Y3N.js} +1 -1
  192. package/dist/cdn/{JFHEHJOQ.js → T6NUABZU.js} +1 -1
  193. package/dist/cdn/{MR3VAM44.js → T7WPIWCX.js} +1 -1
  194. package/dist/cdn/{3BBEFRTR.js → TDUAPWT6.js} +1 -1
  195. package/dist/cdn/{LL7FJHEJ.js → TVMNE62W.js} +1 -1
  196. package/dist/cdn/{5W4MBIKY.js → TZ23FBZ7.js} +1 -1
  197. package/dist/cdn/{VNZUXNWJ.js → U4L3Z5QH.js} +1 -1
  198. package/dist/cdn/{W3M6NBVO.js → UAGCCYQB.js} +1 -1
  199. package/dist/cdn/{DSLMWFTR.js → UC26JN7I.js} +1 -1
  200. package/dist/cdn/{3RMUQ4SS.js → UDUPHECB.js} +1 -1
  201. package/dist/cdn/{XWHCPDF5.js → UKFAXZIW.js} +1 -1
  202. package/dist/cdn/{RFJWLEKY.js → UMYF32YV.js} +1 -1
  203. package/dist/cdn/{QV5ZPD7H.js → UUPYWQ7D.js} +1 -1
  204. package/dist/cdn/{2VLRQ46L.js → UXSGOUNZ.js} +1 -1
  205. package/dist/cdn/{ZFQLBEGC.js → V42KBFW7.js} +1 -1
  206. package/dist/cdn/{AL52T6VH.js → VC4YUXRW.js} +1 -1
  207. package/dist/cdn/{KNUETGYG.js → VHHRBGXN.js} +1 -1
  208. package/dist/cdn/{TBJOTUJP.js → VHMDAMVX.js} +1 -1
  209. package/dist/cdn/{KIDAEQ5W.js → VWV6XWSU.js} +1 -1
  210. package/dist/cdn/{2M33G6FR.js → W3NK36SU.js} +1 -1
  211. package/dist/cdn/W5LZWE6R.js +2 -0
  212. package/dist/cdn/{5OQPTYP5.js → WCQUCDIY.js} +1 -1
  213. package/dist/cdn/{ANSNQBZW.js → WFPR2VUW.js} +1 -1
  214. package/dist/cdn/{SSHNAKNA.js → WIW3AOTK.js} +1 -1
  215. package/dist/cdn/{24XXJOOX.js → WNJOIQDJ.js} +1 -1
  216. package/dist/cdn/{L72D4UTS.js → WNLMIARH.js} +1 -1
  217. package/dist/cdn/{OF6BYN4Z.js → XAZNEI2W.js} +1 -1
  218. package/dist/cdn/{5QVEXW3X.js → XFA3SAYB.js} +1 -1
  219. package/dist/cdn/{Q2GU7GDS.js → XKRMD24I.js} +1 -1
  220. package/dist/cdn/{3MZKVY6A.js → XQH6U57U.js} +1 -1
  221. package/dist/cdn/{3J7PCUNV.js → XS3Z2WXL.js} +1 -1
  222. package/dist/cdn/{H4FPSA53.js → XWWXBWU2.js} +1 -1
  223. package/dist/cdn/{KPX2JCBN.js → XZ2BN6X5.js} +1 -1
  224. package/dist/cdn/{B23TN7FG.js → XZGU6TR6.js} +1 -1
  225. package/dist/cdn/{AOVBGBGS.js → YB3YZ6U5.js} +1 -1
  226. package/dist/cdn/{ISX6CEA3.js → YDP5A3EP.js} +1 -1
  227. package/dist/cdn/{YNC35BAZ.js → YELCBIGX.js} +1 -1
  228. package/dist/cdn/{H2MG6U2T.js → YHNCQVNV.js} +1 -1
  229. package/dist/cdn/{UNOCR34T.js → YIAGW5MM.js} +1 -1
  230. package/dist/cdn/{XXA7VSON.js → YOIVWFJK.js} +1 -1
  231. package/dist/cdn/{KNMX3FG5.js → YQMGSWPQ.js} +1 -1
  232. package/dist/cdn/{L6B6VGZX.js → Z3UPOVNZ.js} +1 -1
  233. package/dist/cdn/{ZKW6OUEO.js → ZGGQQPWY.js} +1 -1
  234. package/dist/cdn/{SNO5W2NO.js → ZJP2RY4T.js} +1 -1
  235. package/dist/cdn/{X4RJMWSU.js → ZOZSYLAP.js} +1 -1
  236. package/dist/cdn/{3FEDJ3XZ.js → ZSDNX326.js} +1 -1
  237. package/dist/cdn/{GC65JYR2.js → ZTLILWC7.js} +1 -1
  238. package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -1
  239. package/dist/cdn/assets/time-zone-chip/t9n/messages.en.json +1 -0
  240. package/dist/cdn/assets/time-zone-selector/t9n/messages.en.json +1 -0
  241. package/dist/cdn/assets/utility-network-elements-result-item/t9n/messages.en.json +1 -0
  242. package/dist/cdn/index.js +1 -1
  243. package/dist/cdn/main.css +1 -1
  244. package/dist/chunks/component-utils.js +75 -63
  245. package/dist/chunks/dateUtils.js +41 -58
  246. package/dist/components/arcgis-daylight/customElement.d.ts +6 -0
  247. package/dist/components/arcgis-daylight/customElement.js +429 -304
  248. package/dist/components/arcgis-daylight/index.js +1 -0
  249. package/dist/components/arcgis-directions/customElement.js +1 -1
  250. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  251. package/dist/components/arcgis-link-chart/customElement.js +23 -20
  252. package/dist/components/arcgis-map/customElement.js +15 -12
  253. package/dist/components/arcgis-scene/customElement.js +15 -12
  254. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +1 -1
  255. package/dist/components/arcgis-time-bar/customElement.d.ts +3 -15
  256. package/dist/components/arcgis-time-bar-settings/customElement.js +63 -88
  257. package/dist/components/arcgis-time-bar-settings/index.js +1 -0
  258. package/dist/components/arcgis-time-zone-chip/customElement.d.ts +36 -0
  259. package/dist/components/arcgis-time-zone-chip/customElement.js +36 -0
  260. package/dist/components/arcgis-time-zone-chip/index.d.ts +1 -0
  261. package/dist/components/arcgis-time-zone-chip/index.js +4 -0
  262. package/dist/components/arcgis-time-zone-selector/customElement.js +56 -0
  263. package/dist/components/arcgis-time-zone-selector/index.js +6 -0
  264. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +1 -1
  265. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +1 -1
  266. package/dist/components/arcgis-utility-network-elements-result-item/customElement.d.ts +193 -0
  267. package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +175 -0
  268. package/dist/components/arcgis-utility-network-elements-result-item/index.d.ts +1 -0
  269. package/dist/components/arcgis-utility-network-elements-result-item/index.js +6 -0
  270. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +43 -0
  271. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +76 -99
  272. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +2 -2
  273. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +51 -10
  274. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +67 -148
  275. package/dist/components/arcgis-utility-network-trace-results-next/index.js +1 -4
  276. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  277. package/dist/docs/api.json +1 -1
  278. package/dist/docs/docs.json +1 -1
  279. package/dist/docs/vscode.html-custom-data.json +1 -1
  280. package/dist/docs/web-types.json +1 -1
  281. package/dist/index.d.ts +20 -0
  282. package/dist/loader.js +6 -3
  283. package/dist/types/lumina.d.ts +19 -4
  284. package/dist/types/preact.d.ts +21 -4
  285. package/dist/types/react.d.ts +23 -4
  286. package/dist/types/stencil.d.ts +19 -4
  287. package/package.json +5 -5
  288. package/dist/cdn/2S3PMUG2.js +0 -2
  289. package/dist/cdn/323SSBOJ.js +0 -2
  290. package/dist/cdn/34CXVCB3.js +0 -2
  291. package/dist/cdn/3ZRONF3M.js +0 -2
  292. package/dist/cdn/ECXFGOCB.js +0 -2
  293. package/dist/cdn/FR3EHEIV.js +0 -2
  294. package/dist/cdn/MSNVY4PH.js +0 -2
  295. package/dist/cdn/Q6TYHAOA.js +0 -2
  296. package/dist/cdn/SYDGAFU5.js +0 -2
  297. package/dist/cdn/VURES5AT.js +0 -2
  298. package/dist/cdn/VY2FRIAX.js +0 -2
  299. package/dist/cdn/ZGEJX5IU.js +0 -2
  300. package/dist/cdn/ZTRUEI25.js +0 -2
  301. package/dist/support/time-utils.d.ts +0 -7
@@ -1,84 +1,85 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import { c as ge } from "../../chunks/runtime.js";
3
- import { watch as ue, when as pe, whenOnce as fe } from "@arcgis/core/core/reactiveUtils.js";
4
- import * as me from "@arcgis/core/intl.js";
5
- import q from "@arcgis/core/views/3d/environment/SunLighting.js";
6
- import _e from "@arcgis/core/views/3d/environment/VirtualLighting.js";
7
- import { LitElement as be, createEvent as G, safeStyleMap as Y, nothing as j } from "@arcgis/lumina";
8
- import { css as ve, html as f } from "lit";
9
- import { createRef as Z, ref as W } from "lit/directives/ref.js";
10
- import { u as we } from "../../chunks/useT9n.js";
11
- import { u as ye } from "../../chunks/useView.js";
12
- import { t as A } from "../../chunks/earth-utils.js";
13
- import { m as J } from "../../chunks/handle.js";
14
- import { o as H, i as u, l as I, b as K, d as D, g as xe } from "../../chunks/time-utils.js";
15
- import { b as Se, r as De, g as Te, e as ke } from "../../chunks/async-utils.js";
16
- import { createTrackingTarget as Ce, runTracked as Q, signal as Pe } from "@arcgis/core/applications/Components/reactiveUtils.js";
17
- import { C as X } from "../../chunks/component-wrapper.js";
18
- import { V as T } from "../../chunks/visible-element.js";
19
- function ae(r, e) {
2
+ import { c as be } from "../../chunks/runtime.js";
3
+ import { watch as Q, when as ve, whenOnce as ye } from "@arcgis/core/core/reactiveUtils.js";
4
+ import { getZonedDateTimeParts as P, createZonedDate as Y, formatCalendarDate as I } 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 X, safeStyleMap as ee, nothing as G } from "@arcgis/lumina";
9
+ import { css as De, html as u } from "lit";
10
+ import { createRef as te, ref as ie } from "lit/directives/ref.js";
11
+ import { u as Te } from "../../chunks/useT9n.js";
12
+ import { u as ke } from "../../chunks/useView.js";
13
+ import { t as R } from "../../chunks/earth-utils.js";
14
+ import { m as B } from "../../chunks/handle.js";
15
+ import { o as N, i as h, b as F, d as U, l as J, r as Ce, s as re, g as Pe } from "../../chunks/time-utils.js";
16
+ import { b as Oe, r as $e, g as Me, e as Ue } from "../../chunks/async-utils.js";
17
+ import { createTrackingTarget as ze, runTracked as se, signal as Le } from "@arcgis/core/applications/Components/reactiveUtils.js";
18
+ import { C as ne } from "../../chunks/component-wrapper.js";
19
+ import { V as S } from "../../chunks/visible-element.js";
20
+ function ge(r, e) {
20
21
  return (r % e + e) % e;
21
22
  }
22
- class $e {
23
- #e;
24
- #n;
25
- #a = Ce(() => {
26
- this.#t();
23
+ class Ee {
24
+ #t;
25
+ #d;
26
+ #h = ze(() => {
27
+ this.#i();
27
28
  });
28
29
  constructor(e) {
29
- this.#n = e;
30
+ this.#d = e;
30
31
  let t;
31
- Q(this.#a, () => {
32
+ se(this.#h, () => {
32
33
  t = e();
33
- }), this.#e = Pe(t);
34
+ }), this.#t = Le(t);
34
35
  }
35
- #t() {
36
- const e = this.#e.value;
37
- Q(this.#a, () => {
38
- this.#e.value = this.#n(e);
36
+ #i() {
37
+ const e = this.#t.value;
38
+ se(this.#h, () => {
39
+ this.#t.value = this.#d(e);
39
40
  });
40
41
  }
41
42
  mutate(e) {
42
- this.#e.value = e;
43
+ this.#t.value = e;
43
44
  }
44
45
  get value() {
45
- return this.#e.value;
46
+ return this.#t.value;
46
47
  }
47
48
  }
48
- function N(r) {
49
- return new $e(r);
49
+ function j(r) {
50
+ return new Ee(r);
50
51
  }
51
- var M = Math.PI, p = Math.sin, k = Math.cos, Oe = Math.asin, ze = Math.acos, y = M / 180, oe = 1e3 * 60 * 60 * 24, le = 2440588, ce = 2451545;
52
- function Le(r) {
53
- return r.valueOf() / oe - 0.5 + le;
52
+ var Z = Math.PI, f = Math.sin, k = Math.cos, Ze = Math.asin, Ae = Math.acos, w = Z / 180, ue = 1e3 * 60 * 60 * 24, fe = 2440588, pe = 2451545;
53
+ function He(r) {
54
+ return r.valueOf() / ue - 0.5 + fe;
54
55
  }
55
- function O(r) {
56
- return new Date((r + 0.5 - le) * oe);
56
+ function z(r) {
57
+ return new Date((r + 0.5 - fe) * ue);
57
58
  }
58
- function Me(r) {
59
- return Le(r) - ce;
59
+ function Ie(r) {
60
+ return He(r) - pe;
60
61
  }
61
- var ee = y * 23.4397;
62
- function Ue(r, e) {
63
- return Oe(p(e) * k(ee) + k(e) * p(ee) * p(r));
62
+ var ae = w * 23.4397;
63
+ function Re(r, e) {
64
+ return Ze(f(e) * k(ae) + k(e) * f(ae) * f(r));
64
65
  }
65
- function Ee(r) {
66
- return y * (357.5291 + 0.98560028 * r);
66
+ function Ne(r) {
67
+ return w * (357.5291 + 0.98560028 * r);
67
68
  }
68
- function Ae(r) {
69
- return y * (1.9148 * p(r) + 0.02 * p(2 * r) + 3e-4 * p(3 * r));
69
+ function Fe(r) {
70
+ return w * (1.9148 * f(r) + 0.02 * f(2 * r) + 3e-4 * f(3 * r));
70
71
  }
71
- function He(r, e) {
72
- var t = y * 102.9372;
73
- return r + e + t + M;
72
+ function Je(r, e) {
73
+ var t = w * 102.9372;
74
+ return r + e + t + Z;
74
75
  }
75
- var S = {};
76
- S.PolarException = {
76
+ var D = {};
77
+ D.PolarException = {
77
78
  NORMAL: 0,
78
79
  MIDNIGHT_SUN: 1,
79
80
  POLAR_NIGHT: 2
80
81
  };
81
- var F = [
82
+ var q = [
82
83
  [-0.83, "sunrise", "sunset"]
83
84
  // none of the below are currently used -> disabled to avoid unnecessary calculations,
84
85
  // as all elements of 'times' are evaluated on every sunCalc.getTimes call.
@@ -89,39 +90,39 @@ var F = [
89
90
  [ -18, "nightEnd", "night" ],
90
91
  [ 6, "goldenHourEnd", "goldenHour" ]
91
92
  */
92
- ], de = 9e-4;
93
- function Ie(r, e) {
94
- return Math.round(r - de - e / (2 * M));
95
- }
96
- function te(r, e, t) {
97
- return de + (r + e) / (2 * M) + t;
98
- }
99
- function ie(r, e, t) {
100
- return ce + r + 53e-4 * p(e) - 69e-4 * p(2 * t);
101
- }
102
- function Ne(r, e, t) {
103
- return ze((p(r) - p(e) * p(t)) / (k(e) * k(t)));
104
- }
105
- S.getTimes = function(r, e, t) {
106
- var i = y * -t, s = y * e, n = Me(r), a = Ie(n, i), o = te(0, i, a), c = Ee(o), d = Ae(c), l = He(c, d), h = Ue(l, 0), g = ie(o, c, l);
107
- function w(E) {
108
- var $ = Ne(E, s, h), he = te($, i, a);
109
- return ie(he, c, l);
110
- }
111
- function x(E) {
112
- var $ = (p(E) - p(s) * p(h)) / (k(s) * k(h));
113
- return $ < -1 ? S.PolarException.MIDNIGHT_SUN : $ > 1 ? S.PolarException.POLAR_NIGHT : S.PolarException.NORMAL;
114
- }
115
- var _ = {
116
- solarNoon: O(g),
117
- nadir: O(g - 0.5),
118
- polarException: S.PolarException.NORMAL
119
- }, b, m, P, U, B;
120
- for (b = 0, m = F.length; b < m; b += 1)
121
- P = F[b], U = w(P[0] * y), B = g - (U - g), _[P[1]] = O(B), _[P[2]] = O(U);
122
- return _.polarException = x(F[0][0] * y), _;
93
+ ], me = 9e-4;
94
+ function je(r, e) {
95
+ return Math.round(r - me - e / (2 * Z));
96
+ }
97
+ function oe(r, e, t) {
98
+ return me + (r + e) / (2 * Z) + t;
99
+ }
100
+ function le(r, e, t) {
101
+ return pe + r + 53e-4 * f(e) - 69e-4 * f(2 * t);
102
+ }
103
+ function qe(r, e, t) {
104
+ return Ae((f(r) - f(e) * f(t)) / (k(e) * k(t)));
105
+ }
106
+ D.getTimes = function(r, e, t) {
107
+ var i = w * -t, s = w * e, n = Ie(r), a = je(n, i), l = oe(0, i, a), d = Ne(l), o = Fe(d), c = Je(d, o), p = Re(c, 0), g = le(l, d, c);
108
+ function m(H) {
109
+ var $ = qe(H, s, p), _e = oe($, i, a);
110
+ return le(_e, d, c);
111
+ }
112
+ function x(H) {
113
+ var $ = (f(H) - f(s) * f(p)) / (k(s) * k(p));
114
+ return $ < -1 ? D.PolarException.MIDNIGHT_SUN : $ > 1 ? D.PolarException.POLAR_NIGHT : D.PolarException.NORMAL;
115
+ }
116
+ var b = {
117
+ solarNoon: z(g),
118
+ nadir: z(g - 0.5),
119
+ polarException: D.PolarException.NORMAL
120
+ }, v, _, O, A, K;
121
+ for (v = 0, _ = q.length; v < _; v += 1)
122
+ O = q[v], A = m(O[0] * w), K = g - (A - g), b[O[1]] = z(K), b[O[2]] = z(A);
123
+ return b.polarException = x(q[0][0] * w), b;
123
124
  };
124
- const Fe = {
125
+ const Be = {
125
126
  spring: { dayOfMonth: 20, month: 2 },
126
127
  // Northern Spring equinox in 2014 - March 20
127
128
  summer: { dayOfMonth: 21, month: 5 },
@@ -130,191 +131,215 @@ const Fe = {
130
131
  // Northern Fall equinox in 2014 - September 23
131
132
  winter: { dayOfMonth: 21, month: 11 }
132
133
  // Northern Winter solstice in 2014 - December 21
133
- }, R = ["spring", "summer", "fall", "winter"];
134
+ }, V = ["spring", "summer", "fall", "winter"];
134
135
  function C(r, e, t) {
135
- const i = V(e, t), { dayOfMonth: s, month: n } = Fe[i], a = new Date(r.getTime());
136
+ const i = W(e, t), { dayOfMonth: s, month: n } = Be[i], a = new Date(r.getTime());
136
137
  return a.setMonth(n, s), a;
137
138
  }
138
- function Je(r, e) {
139
- const t = Re(r);
140
- return V(t, e);
139
+ function Ve(r, e) {
140
+ const t = Ye(r);
141
+ return W(t, e);
141
142
  }
142
- function Re(r) {
143
+ function Ye(r) {
143
144
  const e = r.getTime(), t = C(r, "spring", "northern").getTime(), i = C(r, "summer", "northern").getTime(), s = C(r, "fall", "northern").getTime(), n = C(r, "winter", "northern").getTime();
144
145
  return e >= t && e < i ? "spring" : e >= i && e < s ? "summer" : e >= s && e < n ? "fall" : "winter";
145
146
  }
146
- function V(r, e) {
147
- return e === "northern" ? r : je(r);
147
+ function W(r, e) {
148
+ return e === "northern" ? r : Ge(r);
148
149
  }
149
- function re(r) {
150
+ function ce(r) {
150
151
  return r >= 0 ? "northern" : "southern";
151
152
  }
152
- function je(r) {
153
- const e = R.indexOf(r);
154
- return R[(e + 2) % 4];
153
+ function Ge(r) {
154
+ const e = V.indexOf(r);
155
+ return V[(e + 2) % 4];
156
+ }
157
+ const We = 1440, Ke = 864e5;
158
+ function T({ hour: r, minute: e }) {
159
+ return r * 60 + e;
160
+ }
161
+ function Qe(r) {
162
+ return { year: r.getUTCFullYear(), month: r.getUTCMonth() + 1, day: r.getUTCDate() };
163
+ }
164
+ function Xe(r, e, t) {
165
+ const i = P(r, t);
166
+ if (!i)
167
+ return r;
168
+ const s = new Date(r.getTime() + e), n = P(s, t);
169
+ return !n || n.year === i.year && n.month === i.month && n.day === i.day ? s : Y(i, T(n), t) ?? s;
155
170
  }
156
- const Ve = 1440, Be = 864e5;
157
- function qe(r, e, t, i) {
158
- const s = S.getTimes(r, e, t), n = s.sunrise, a = s.sunset, o = H(r, i), c = H(n, i), d = H(a, i);
159
- if (o.getUTCDate() !== c.getUTCDate() || o.getUTCDate() !== d.getUTCDate()) {
160
- const l = o.getTime() - c.getTime() > 0 ? 1 : -1;
161
- n.setUTCDate(n.getUTCDate() + l), a.setUTCDate(a.getUTCDate() + l);
171
+ function et(r, e) {
172
+ const t = P(r, e);
173
+ if (!t)
174
+ return r;
175
+ const i = t.month % 12 + 1, s = t.year + (i === 1 ? 1 : 0), n = new Date(Date.UTC(s, i, 0)).getUTCDate();
176
+ return Y({ year: s, month: i, day: Math.min(t.day, n) }, T(t), e) ?? r;
177
+ }
178
+ function tt(r, e, t, i) {
179
+ 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);
180
+ if (l.getUTCDate() !== d.getUTCDate() || l.getUTCDate() !== o.getUTCDate()) {
181
+ const c = l.getTime() - d.getTime() > 0 ? 1 : -1;
182
+ n.setUTCDate(n.getUTCDate() + c), a.setUTCDate(a.getUTCDate() + c);
162
183
  }
163
- return {
164
- sunrise: n,
165
- sunset: a
166
- };
184
+ return { sunrise: n, sunset: a };
167
185
  }
168
- const Ge = 100, Ye = 1e3, v = 12e5, z = 72e5;
169
- function se(r, e) {
170
- return ae(r + e, 24);
186
+ const it = 100, rt = 1e3, y = 12e5, L = 72e5;
187
+ function de(r, e) {
188
+ return ge(r + e, 24);
171
189
  }
172
- function Ze({
190
+ function st({
173
191
  mode: r,
174
192
  lighting: e,
175
193
  getPlaySpeed: t,
176
- onProgress: i,
177
- beforeProgress: s
194
+ getNextDate: i,
195
+ onProgress: s,
196
+ beforeProgress: n
178
197
  }) {
179
- let n = -1;
180
- function a(o = Date.now()) {
181
- const c = e.date, d = Date.now() - (o ?? 0);
198
+ let a = -1;
199
+ function l(d = Date.now()) {
200
+ const o = e.date, c = Date.now() - (d ?? 0);
182
201
  if (r === "day") {
183
- o = Date.now();
184
- const h = t() / Ge * d;
185
- if (h > 0) {
186
- let g = new Date(c.getTime() + h);
187
- const w = e.displayUTCOffset ?? 0, x = se(g.getUTCHours(), w), _ = se(c.getUTCHours(), w);
188
- x < _ && (g = new Date(c.getTime() + h - Be));
189
- const b = e.clone();
190
- s?.(), e.date = g, i?.(b, e);
202
+ d = Date.now();
203
+ const g = t() / it * c;
204
+ if (g > 0) {
205
+ let m = i?.(o, r, g);
206
+ if (!m) {
207
+ m = new Date(o.getTime() + g);
208
+ const b = e.displayUTCOffset ?? 0, v = de(m.getUTCHours(), b), _ = de(o.getUTCHours(), b);
209
+ v < _ && (m = new Date(o.getTime() + g - Ke));
210
+ }
211
+ const x = e.clone();
212
+ n?.(), e.date = m, s?.(x, e);
213
+ }
214
+ } else if (c > rt) {
215
+ d = Date.now();
216
+ const p = i?.(o, r, 0) ?? new Date(o.getTime());
217
+ if (!i) {
218
+ const m = (o.getUTCMonth() + 1) % 12;
219
+ p.setUTCMonth(m);
191
220
  }
192
- } else if (d > Ye) {
193
- o = Date.now();
194
- const l = (c.getUTCMonth() + 1) % 12, h = new Date(c.getTime());
195
- h.setUTCMonth(l);
196
221
  const g = e.clone();
197
- s?.(), e.date = h, i?.(g, e);
222
+ n?.(), e.date = p, s?.(g, e);
198
223
  }
199
- n = requestAnimationFrame(() => a(o));
224
+ a = requestAnimationFrame(() => l(d));
200
225
  }
201
- return a(), J(() => cancelAnimationFrame(n));
226
+ return l(), B(() => cancelAnimationFrame(a));
202
227
  }
203
- const L = v / 4;
204
- function We(r, e, t, i) {
228
+ const E = y / 4;
229
+ function nt(r, e, t, i) {
205
230
  const {
206
231
  day: s,
207
232
  night: n = s,
208
233
  twilight: a = s
209
- } = i, o = s * L, c = n * L, d = a * L;
234
+ } = i, l = s * E, d = n * E, o = a * E;
210
235
  if (r == null || e == null || Number.isNaN(r.getTime()) && Number.isNaN(e.getTime()))
211
- return o;
212
- const l = t.getTime(), h = r.getTime(), g = e.getTime(), w = h - z / 2, x = h + z / 2, _ = g - z / 3 * 2, b = g + z / 3;
213
- let m = o;
214
- return l >= w && l <= x ? l - w <= v ? m = c - (l - w) / v * (c - d) : x - l <= v / 2 ? m = o - (x - l) / v * 2 * (o - d) : m = d : l >= _ && l <= b ? l - _ <= v / 2 ? m = o - (l - _) / v * 2 * (o - d) : b - l <= v ? m = c - (b - l) / v * (c - d) : m = d : (l < h || l > g) && (m = c), m;
236
+ return l;
237
+ 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;
238
+ let _ = l;
239
+ 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), _;
215
240
  }
216
- const Ke = ve`.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);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 = {
241
+ const at = 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-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);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))}}.time-label{align-items:center;display:flex;gap:var(--calcite-spacing-sm);+.slider{margin-block:var(--calcite-spacing-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}}`, ot = {
217
242
  day: 1,
218
243
  night: 6,
219
244
  twilight: 2 / 3
220
245
  };
221
- class Xe extends be {
246
+ class lt extends Se {
222
247
  constructor() {
223
- super(...arguments), this.messages = we({ blocking: !0 }), this.#n = "none", this.#a = null, this.#g = Z(), this.#_ = Z(), this.#b = 200, this.#v = 200, this.#u = !1, this.#c = {}, this.#d = N((e) => {
224
- const t = this._lighting, i = u(t) ? t.displayUTCOffset : void 0;
225
- return this.#t ? e : i ?? e;
226
- }), this.#i = N((e) => {
248
+ super(...arguments), this.messages = Te({ blocking: !0 }), this.#d = "none", this.#h = null, this.#o = !1, this.#e = !1, this.#p = te(), this.#T = te(), this.#P = 200, this.#O = 200, this.#m = !1, this.#f = {}, this.#l = j((e) => {
249
+ const t = this._lighting, i = h(t) ? t.displayUTCOffset : void 0, s = this.#_(t) ? this.#n(t.date) : void 0;
250
+ return this.#e ? e : s ?? i ?? e;
251
+ }), this.#s = j((e) => {
227
252
  const t = this._lighting;
228
- if (!u(t))
253
+ if (!h(t))
229
254
  return e;
230
- const i = t.displayUTCOffset ?? this.utcOffset ?? 0, s = t.date;
231
- if (this.#t)
255
+ const i = t.date;
256
+ if (this.#e)
232
257
  return e;
233
- if (K(s)) {
234
- const { minutesSinceMidnight: n } = D(s, i);
235
- return n;
258
+ if (F(i)) {
259
+ const { minutesSinceMidnight: s } = this.#x(i);
260
+ return s;
236
261
  }
237
262
  return e;
238
- }), this.#r = N((e) => {
239
- const t = xe(this._view, this.utcOffset);
240
- return this.#t ? e : t ?? e;
241
- }), this.#h = !1, this.view = ye(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 = G(), this.arcgisUserDateTimeChange = G();
263
+ }), this.#r = j((e) => {
264
+ const t = this._lighting, i = this.#_(t) ? this.#x(t.date).localDate : Pe(this._view, this.utcOffset);
265
+ return this.#e ? e : i ?? e;
266
+ }), 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 = X(), this.arcgisUserDateTimeChange = X();
242
267
  }
243
268
  static {
244
- 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, utcOffset: 9, timeSliderPosition: 9, localDate: 1, yearPlaying: 5 };
269
+ 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 };
245
270
  }
246
271
  static {
247
- this.styles = Ke;
272
+ this.styles = at;
248
273
  }
249
274
  get _view() {
250
275
  return this.view?.type === "3d" ? this.view : void 0;
251
276
  }
252
- #e;
253
- #n;
254
- #a;
255
277
  #t;
256
- #g;
257
- #_;
258
- #b;
259
- #v;
260
- #u;
261
- #c;
262
- get #x() {
263
- return this.#_?.value?.startTime;
264
- }
265
278
  #d;
279
+ #h;
266
280
  #i;
281
+ #o;
282
+ #e;
283
+ #p;
284
+ #T;
285
+ #P;
286
+ #O;
287
+ #m;
288
+ #f;
289
+ get #U() {
290
+ return this.#T?.value?.startTime;
291
+ }
292
+ #l;
293
+ #s;
267
294
  #r;
268
295
  get _lighting() {
269
296
  return this._view?.environment?.lighting;
270
297
  }
271
- #h;
272
- #o;
298
+ #c;
299
+ #k;
300
+ #g;
273
301
  get _playingState() {
274
- return this.#n;
302
+ return this.#d;
275
303
  }
276
304
  set _playingState(e) {
277
- this.#n = e, this.#o?.remove(), e === "none" ? this.#e?.remove() : (this.#y(e), this.#m());
305
+ this.#d = e, this.#g?.remove(), e === "none" ? this.#t?.remove() : (this.#M(e), this.#y());
278
306
  }
279
307
  get _sunlightingDisabled() {
280
- return !u(this._lighting);
308
+ return !h(this._lighting);
281
309
  }
282
310
  set _sunlightingDisabled(e) {
283
- this.#l("sunlightingDisabled", e);
311
+ this.#u("sunlightingDisabled", e);
284
312
  const t = this._view?.environment;
285
313
  if (t == null)
286
314
  return;
287
- const i = t.lighting, s = this.#a;
288
- this.#a = i;
315
+ const i = t.lighting, s = this.#h;
316
+ this.#h = i;
289
317
  const n = {
290
318
  directShadowsEnabled: i.directShadowsEnabled,
291
319
  glow: i.glow
292
320
  };
293
- u(i) && (n.cameraTrackingEnabled = i.cameraTrackingEnabled);
321
+ h(i) && (n.cameraTrackingEnabled = i.cameraTrackingEnabled);
294
322
  const a = e ? "virtual" : "sun";
295
- let o;
296
- s?.type === a ? o = s : o = e ? new _e() : new q({
297
- date: I(this.localDateAsString ?? this.localDate, this.timeSliderPosition ?? 0, this.utcOffset ?? 0),
298
- displayUTCOffset: this.utcOffset
299
- }), o.set(n), t.lighting = o, e || (this.#s(), this.#g.value && (this.#g.value.open = !1));
323
+ let l;
324
+ 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));
300
325
  }
301
326
  get _directShadowsDisabled() {
302
327
  return !this._lighting?.directShadowsEnabled;
303
328
  }
304
329
  set _directShadowsDisabled(e) {
305
- this.#l("directShadowsDisabled", e), this._lighting && (this._lighting.directShadowsEnabled = !e);
330
+ this.#u("directShadowsDisabled", e), this._lighting && (this._lighting.directShadowsEnabled = !e);
306
331
  }
307
332
  get localDateAsString() {
308
333
  return this.#r.value ?? void 0;
309
334
  }
310
335
  get currentSeason() {
311
- const e = this._view?.camera?.position?.latitude ?? 0, t = re(e);
312
- return Je(this.localDate, t);
336
+ const e = this._view?.camera?.position?.latitude ?? 0, t = ce(e);
337
+ return Ve(this.localDate, t);
313
338
  }
314
339
  set currentSeason(e) {
315
- this.#s();
316
- const t = this._view?.camera?.position?.latitude ?? 0, i = re(t), s = V(e, i);
317
- this.localDate = C(this.localDate, s, "northern"), this.#m();
340
+ this.#a();
341
+ const t = this._view?.camera?.position?.latitude ?? 0, i = ce(t), s = W(e, i);
342
+ this.localDate = C(this.localDate, s, "northern"), this.#y();
318
343
  }
319
344
  get dayPlaying() {
320
345
  return this._playingState === "day";
@@ -322,35 +347,45 @@ class Xe extends be {
322
347
  set dayPlaying(e) {
323
348
  this._playingState = e ? "day" : "none";
324
349
  }
350
+ get timeZoneMode() {
351
+ return this.#k;
352
+ }
353
+ set timeZoneMode(e) {
354
+ this.#c || (this.#k = e);
355
+ }
325
356
  get utcOffset() {
326
- return this.#d.value;
357
+ return this.#l.value;
327
358
  }
328
359
  set utcOffset(e) {
329
- this.#d.mutate(e), !this.#l("utcOffset", e) && this.#p();
360
+ if (this.timeZoneMode === "region") {
361
+ this.#D();
362
+ return;
363
+ }
364
+ this.#e = !0, this.#l.mutate(e), !this.#u("utcOffset", e) && this.#b(!1);
330
365
  }
331
366
  get timeSliderPosition() {
332
- return this.#i.value;
367
+ return this.#s.value;
333
368
  }
334
369
  set timeSliderPosition(e) {
335
- this.#i.mutate(ae(e ?? 0, Ve)), !this.#l("timeSliderPosition", e) && this.#p();
370
+ this.#e = !0, this.#s.mutate(ge(e ?? 0, We)), !this.#u("timeSliderPosition", e) && this.#b(!0);
336
371
  }
337
372
  get localDate() {
338
373
  return this.#r.value != null ? new Date(this.#r.value) : /* @__PURE__ */ new Date();
339
374
  }
340
375
  set localDate(e) {
341
376
  if (typeof e == "string" && /^\d{4}-\d{2}-\d{2}$/u.test(e)) {
342
- if (this.#r.mutate(e), this.#l("localDate", e))
377
+ if (this.#e = !0, this.#r.mutate(e), this.#u("localDate", e))
343
378
  return;
344
- this.#p();
379
+ this.#b(!0);
345
380
  return;
346
381
  }
347
382
  const t = new Date(e);
348
- if (K(t)) {
349
- t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
383
+ if (F(t)) {
384
+ this.#e = !0, t.setUTCFullYear(t.getFullYear(), t.getMonth(), t.getDate());
350
385
  const i = t.toISOString().slice(0, 10);
351
- if (this.#r.mutate(i), this.#l("localDate", i))
386
+ if (this.#r.mutate(i), this.#u("localDate", i))
352
387
  return;
353
- this.#p();
388
+ this.#b(!0);
354
389
  }
355
390
  }
356
391
  get yearPlaying() {
@@ -366,26 +401,32 @@ class Xe extends be {
366
401
  this.manager.onLifecycle(() => [
367
402
  // When camera tracking is enabled, update the displayed timezone whenever the camera crosses into a new rounded
368
403
  // UTC offset.
369
- ue(() => {
404
+ Q(() => {
370
405
  const e = this._view?.camera?.position;
371
- return e ? A(e) : void 0;
406
+ return e ? R(e) : void 0;
372
407
  }, (e, t) => {
373
- this.#T(e, t);
408
+ this.#N(e, t);
374
409
  }, { sync: !0, initial: !0 }),
375
- pe(() => !u(this._lighting), () => {
376
- this.#s();
410
+ Q(() => {
411
+ const e = this._lighting;
412
+ return [this._view?.timeZone, e, h(e) ? e.date : void 0];
413
+ }, (e, t) => {
414
+ this._playingState === "day" && t && e[0] === t[0] && e[1] === t[1] || this.#D();
415
+ }, { sync: !0, initial: !0 }),
416
+ ve(() => !h(this._lighting), () => {
417
+ this.#a();
377
418
  }),
378
- me.onLocaleChange(() => {
419
+ we.onLocaleChange(() => {
379
420
  this.requestUpdate();
380
421
  })
381
422
  ]), this.manager.onDisconnected(() => {
382
- this.#e?.remove(), this.#t?.remove(), this.#o?.remove();
423
+ this.#t?.remove(), this.#i?.remove(), this.#g?.remove();
383
424
  });
384
425
  }
385
426
  willUpdate(e) {
386
- if (super.willUpdate(e), !!this.#h && u(this._lighting) && e.has("utcOffset") && !e.has("localDate") && !e.has("timeSliderPosition")) {
387
- const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = D(this._lighting.date, t);
388
- this.#i.mutate(i), this.#r.mutate(s);
427
+ if (super.willUpdate(e), !!this.#c && this.timeZoneMode === "offset" && h(this._lighting) && e.has("utcOffset") && !e.has("localDate") && !e.has("timeSliderPosition")) {
428
+ const t = this.utcOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = U(this._lighting.date, t);
429
+ this.#s.mutate(i), this.#r.mutate(s);
389
430
  }
390
431
  }
391
432
  async loaded() {
@@ -394,172 +435,256 @@ class Xe extends be {
394
435
  remove: () => {
395
436
  e.abort();
396
437
  }
397
- })), await Se(fe(() => this._view?.ready, { signal: e.signal }).then(() => {
438
+ })), await Oe(ye(() => this._view?.ready, { signal: e.signal }).then(() => {
398
439
  const t = this._lighting, i = this._view?.camera?.position;
399
- if (this.#c.utcOffset == null && u(t) && t.displayUTCOffset == null && i) {
400
- const n = A(i);
401
- this.#f(n, t);
440
+ if (this.timeZoneMode === "offset" && this.#f.utcOffset == null && h(t) && t.displayUTCOffset == null && i) {
441
+ const n = R(i);
442
+ this.#v(n, t);
402
443
  }
403
- this.#h = !0, this.#S(), u(this._lighting) || this.#k();
444
+ this.#c = !0, this.#_(t) && this.#D(t), this.#z(), h(this._lighting) || (this.timeZoneMode === "region" ? this.#F() : this.#J());
404
445
  const s = this._playingState;
405
- s !== "none" && this.#e == null && this.#y(s);
446
+ s !== "none" && this.#t == null && this.#M(s);
406
447
  }));
407
448
  }
408
- #l(e, t) {
409
- return this.#h || this.#u ? !1 : (this.#c[e] = t, !0);
449
+ #u(e, t) {
450
+ return this.#c || this.#m ? !1 : (this.#f[e] = t, !0);
410
451
  }
411
- #S() {
412
- const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#c;
413
- if (this.#u = !0, e != null)
452
+ #z() {
453
+ const { utcOffset: e, timeSliderPosition: t, localDate: i, directShadowsDisabled: s, sunlightingDisabled: n } = this.#f;
454
+ if (this.#m = !0, this.timeZoneMode === "offset" && e != null)
414
455
  if (t == null && i == null) {
415
456
  const a = this._lighting;
416
- u(a) ? (a.displayUTCOffset = e, this.#f(e, a)) : this.#d.mutate(e);
457
+ h(a) ? (a.displayUTCOffset = e, this.#v(e, a)) : this.#l.mutate(e);
417
458
  } else
418
459
  this.utcOffset = e;
419
- t != null && (this.timeSliderPosition = t), i && (this.localDate = i), s != null && (this._directShadowsDisabled = s), n != null && (this._sunlightingDisabled = n), this.#c = {}, this.#u = !1;
460
+ 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);
461
+ }
462
+ #_(e) {
463
+ return this.timeZoneMode === "region" && h(e) && F(e.date);
464
+ }
465
+ #L() {
466
+ return this.timeZoneMode === "region" ? this.#E() : this.#Z();
467
+ }
468
+ #E() {
469
+ const e = /* @__PURE__ */ new Date(), t = this.#C(e, 0) ?? e;
470
+ return new M({ date: t, displayUTCOffset: this.#n(t) });
471
+ }
472
+ #C(e, t) {
473
+ const i = this.#w, s = P(e, i);
474
+ if (!s)
475
+ return null;
476
+ const n = this.#r.value == null ? s : Qe(this.localDate), a = this.timeSliderPosition ?? t ?? T(s);
477
+ return Y(n, a, i);
478
+ }
479
+ #Z() {
480
+ const e = J(this.localDateAsString ?? this.localDate, this.timeSliderPosition ?? 0, this.utcOffset ?? 0);
481
+ return new M({ date: e, displayUTCOffset: this.utcOffset });
420
482
  }
421
- #p() {
422
- if (this.requestUpdate(), this.#t)
483
+ #b(e) {
484
+ if (this.#e = !0, this.requestUpdate(), this.#o ||= e, this.#i)
423
485
  return;
424
- const e = De(() => {
425
- if (u(this._lighting)) {
426
- const t = this.utcOffset ?? 0, i = this.timeSliderPosition ?? 0, s = this.localDate;
427
- this._lighting.date = I(s, i, t), this._lighting.displayUTCOffset = t;
428
- }
429
- this.#t?.remove();
430
- }, { timeout: this.#b });
431
- this.#t = J(() => {
432
- ke(e), this.#t = void 0;
486
+ const t = $e(() => {
487
+ const i = this._lighting;
488
+ h(i) && (this.timeZoneMode === "region" ? this.#A(i) : this.#H(i)), this.#i?.remove(), this.#D();
489
+ }, { timeout: this.#P });
490
+ this.#i = B(() => {
491
+ Ue(t), this.#i = void 0, this.#o = !1, this.#e = !1;
433
492
  });
434
493
  }
435
- #D(e) {
436
- const t = this.utcOffset ?? e.displayUTCOffset ?? 0, { minutesSinceMidnight: i, localDate: s } = D(e.date, t), n = this.timeSliderPosition ?? i, a = this.localDateAsString ?? s;
437
- this.#t?.remove(), e.date = I(a, n, t), e.displayUTCOffset = t;
494
+ #A(e) {
495
+ if (!this.#o) {
496
+ e.displayUTCOffset = this.#n(e.date);
497
+ return;
498
+ }
499
+ const t = this.#C(e.date, 0);
500
+ t && (e.date = t, e.displayUTCOffset = this.#n(t));
501
+ }
502
+ #H(e) {
503
+ const t = this.utcOffset ?? 0;
504
+ if (!this.#o) {
505
+ e.displayUTCOffset = t;
506
+ return;
507
+ }
508
+ e.date = J(this.localDate, this.timeSliderPosition ?? 0, t), e.displayUTCOffset = t;
509
+ }
510
+ #I(e) {
511
+ if (!this.#o) {
512
+ e.displayUTCOffset = this.#n(e.date);
513
+ return;
514
+ }
515
+ const t = this.#C(e.date);
516
+ t && (e.date = t, e.displayUTCOffset = this.#n(t)), this.#i?.remove();
438
517
  }
439
- #T(e, t) {
518
+ #R(e) {
519
+ const t = this.utcOffset ?? e.displayUTCOffset ?? 0;
520
+ if (!this.#o) {
521
+ e.displayUTCOffset = t, this.#i?.remove();
522
+ return;
523
+ }
524
+ const i = U(e.date, t), s = this.localDateAsString ?? i.localDate, n = this.timeSliderPosition ?? i.minutesSinceMidnight;
525
+ e.date = J(s, n, t), e.displayUTCOffset = t, this.#i?.remove();
526
+ }
527
+ #N(e, t) {
440
528
  const i = this._lighting;
441
- if (!(!this.#h || !u(i) || !i.cameraTrackingEnabled || e == null)) {
529
+ if (!(this.timeZoneMode === "region" || !this.#c || !h(i) || !i.cameraTrackingEnabled || e == null)) {
442
530
  if (t == null && i.displayUTCOffset == null) {
443
- this.#f(e, i);
531
+ this.#v(e, i);
444
532
  return;
445
533
  }
446
- i.displayUTCOffset != null && (i.displayUTCOffset = e), this.#f(e, i);
534
+ i.displayUTCOffset != null && (i.displayUTCOffset = e), this.#v(e, i);
447
535
  }
448
536
  }
449
- #f(e, t) {
450
- t.displayUTCOffset = e, this.#w(e, t.date);
537
+ #v(e, t) {
538
+ t.displayUTCOffset = e, this.#$(e, t.date);
539
+ }
540
+ #F() {
541
+ const e = new M(), t = this.#S(e.date);
542
+ t && (this.timeSliderPosition == null && this.#s.mutate(T(t)), this.localDateAsString == null && this.#r.mutate(I(t)), this.#l.mutate(this.#n(e.date)), this.requestUpdate());
451
543
  }
452
- #k() {
453
- const e = this._view?.camera?.position, t = this.utcOffset ?? (e ? A(e) : 0), i = new q({ displayUTCOffset: t });
454
- this.#w(t, i.date, { fillMissingOnly: !0 });
544
+ #J() {
545
+ const e = this._view?.camera?.position, t = this.utcOffset ?? (e ? R(e) : 0), i = new M({ displayUTCOffset: t });
546
+ this.#$(t, i.date, { fillMissingOnly: !0 });
455
547
  }
456
- #w(e, t, { fillMissingOnly: i = !1 } = {}) {
457
- const { minutesSinceMidnight: s, localDate: n } = D(t, e);
458
- (!i || this.utcOffset == null) && this.#d.mutate(e), (!i || this.timeSliderPosition == null) && this.#i.mutate(s), (!i || this.localDateAsString == null) && this.#r.mutate(n), this.requestUpdate();
548
+ #$(e, t, { fillMissingOnly: i = !1 } = {}) {
549
+ const { minutesSinceMidnight: s, localDate: n } = U(t, e);
550
+ (!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();
459
551
  }
460
- #m() {
552
+ #y() {
461
553
  this.isConnected && this.arcgisUserDateTimeChange.emit();
462
554
  }
463
- #s() {
555
+ #a() {
464
556
  this._playingState = "none";
465
557
  }
466
- #C(e) {
467
- if (this.#o)
558
+ #j(e) {
559
+ if (this.#g)
468
560
  return;
469
561
  const t = setTimeout(() => {
470
- const i = e.displayUTCOffset ?? 0, s = e.date, { minutesSinceMidnight: n } = D(s, i);
471
- this.#i.mutate(n), this.#o?.remove();
472
- }, Te(this.#v));
473
- this.#o = J(() => {
474
- clearTimeout(t), this.#o = void 0;
562
+ const i = e.date, { minutesSinceMidnight: s } = this.#x(i);
563
+ this.#s.mutate(s), this.#g?.remove();
564
+ }, Me(this.#O));
565
+ this.#g = B(() => {
566
+ clearTimeout(t), this.#g = void 0;
475
567
  const i = this._lighting;
476
- if (u(i)) {
477
- const s = i.displayUTCOffset ?? 0, n = i.date, { minutesSinceMidnight: a } = D(n, s);
478
- this.#i.mutate(a);
568
+ if (h(i)) {
569
+ const s = i.date, { minutesSinceMidnight: n } = this.#x(s);
570
+ this.#s.mutate(n);
479
571
  }
480
572
  });
481
573
  }
482
- #y(e) {
483
- this.#e?.remove();
574
+ #M(e) {
575
+ this.#t?.remove();
484
576
  const t = this._view;
485
577
  if (t == null || this._sunlightingDisabled)
486
578
  return;
487
579
  const i = t.environment.lighting;
488
- if (!u(i))
580
+ if (!h(i))
489
581
  return;
490
- this.#D(i);
582
+ this.timeZoneMode === "region" ? this.#I(i) : this.#R(i);
491
583
  let s = 0;
492
- this.#e = Ze({
584
+ this.#t = st({
493
585
  mode: e,
494
586
  lighting: i,
587
+ // The default animation adds elapsed UTC time. Regional mode advances wall-clock values instead so DST
588
+ // transitions and short months preserve valid local dates and times.
589
+ getNextDate: this.timeZoneMode === "region" ? (n, a, l) => a === "day" ? Xe(n, l, this.#w) : et(n, this.#w) : void 0,
495
590
  beforeProgress: () => {
496
- s = this.#x ?? 0;
591
+ s = this.#U ?? 0;
497
592
  },
498
593
  onProgress: (n, a) => {
499
- this.#i.mutate(s), this.#C(a);
594
+ this.timeZoneMode === "region" && (a.displayUTCOffset = this.#n(a.date)), this.#s.mutate(s), this.#j(a);
500
595
  },
501
596
  getPlaySpeed: () => {
502
597
  const n = this._view, a = this._view?.environment.lighting;
503
- if (n != null && u(a)) {
504
- const o = n.camera.position.latitude ?? 0, c = n.camera.position.longitude ?? 0, { sunrise: d, sunset: l } = qe(a.date, o, c, a.displayUTCOffset ?? 0);
505
- return We(d, l, a.date, Qe) * this.playSpeedMultiplier;
598
+ if (n != null && h(a)) {
599
+ 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 } = tt(a.date, l, d, o);
600
+ return nt(c, p, a.date, ot) * this.playSpeedMultiplier;
506
601
  } else
507
- return L * this.playSpeedMultiplier;
602
+ return E * this.playSpeedMultiplier;
508
603
  }
509
604
  });
510
605
  }
511
- #P({ scale: e, disabled: t }) {
606
+ get #w() {
607
+ return Ce(this._view?.timeZone ?? re);
608
+ }
609
+ #n(e) {
610
+ const t = this.#S(e);
611
+ if (!t)
612
+ throw new RangeError("Invalid date or time zone");
613
+ return t.offsetMinutes / 60;
614
+ }
615
+ #x(e) {
616
+ const t = this.timeZoneMode === "region" ? this.#S(e) : null;
617
+ return t ? {
618
+ localDate: I(t),
619
+ minutesSinceMidnight: T(t)
620
+ } : U(e, this.utcOffset ?? 0);
621
+ }
622
+ #S(e) {
623
+ return P(e, this.#w);
624
+ }
625
+ #D(e = this._lighting) {
626
+ if (!this.#c || !this.#_(e) || this.#e)
627
+ return;
628
+ const t = this.#S(e.date);
629
+ if (!t)
630
+ return;
631
+ const i = this.#n(e.date);
632
+ e.displayUTCOffset = i, this.#l.mutate(i), this.#r.mutate(I(t)), this.#s.mutate(T(t)), this.requestUpdate();
633
+ }
634
+ #q({ scale: e, disabled: t }) {
512
635
  const { messages: i } = this;
513
- return f`<calcite-label .scale=${e} class="date-picker-container">${i.date}${et({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
636
+ return u`<calcite-label .scale=${e} class="date-picker-container">${i.date}${ct({ disabled: t, scale: e, date: this.localDateAsString, onDateChange: (s) => {
514
637
  const n = s.currentTarget.value, a = Array.isArray(n) ? n[0] : n;
515
- this.#s(), this.localDate = a, this.#m();
516
- } })}</calcite-label>${T({ hidden: this.hidePlayButtons, children: ne({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
638
+ this.#a(), this.localDate = a, this.#y();
639
+ } })}</calcite-label>${S({ hidden: this.hidePlayButtons, children: he({ playing: this.yearPlaying, disabled: t, label: i.playYear, onClick: () => {
517
640
  this._playingState === "year" ? this._playingState = "none" : this._playingState = "year";
518
641
  }, scale: e }) })}`;
519
642
  }
520
- #$({ scale: e, disabled: t }) {
643
+ #B({ scale: e, disabled: t }) {
521
644
  const { messages: i } = this;
522
- return f`<calcite-label .scale=${e} class="date-picker-container">${i.season}${tt({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
523
- this.#s(), this.currentSeason = s.currentTarget.value;
645
+ return u`<calcite-label .scale=${e} class="date-picker-container">${i.season}${dt({ scale: e, selectedSeason: this.currentSeason, disabled: t, messages: i, onSeasonChange: (s) => {
646
+ this.#a(), this.currentSeason = s.currentTarget.value;
524
647
  } })}</calcite-label>`;
525
648
  }
526
649
  render() {
527
650
  const { messages: e, dateOrSeason: t } = this, i = this._sunlightingDisabled, s = "m";
528
651
  if (!(this._view?.type === "3d"))
529
- return X({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: f`<div class="unsupported"><p>${e.unsupported}</p></div>` });
530
- const a = (this.utcOffset ?? 0) * 60, o = this.view?.ready === !0, c = Array.isArray(this.timeSliderSteps) ? this.timeSliderSteps.at(0) : this.timeSliderSteps;
531
- return X({ class: { root: !0, loading: !o }, label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: f`${o ? void 0 : f`<calcite-scrim loading></calcite-scrim>`}<div class="time-configuration" style=${Y({ columnGap: this.hidePlayButtons ? "0" : void 0 })}><calcite-label class="slider-container" .scale=${s}>${e.timeSliderLabel}<arcgis-time-of-day-slider class="slider" .disabled=${this._sunlightingDisabled} mode=single .startTime=${this.timeSliderPosition ?? 0} .steps=${c} style=${Y({ gridArea: "slider" })} @arcgisTimeChange=${({ currentTarget: d }) => {
532
- this.#s(), this.timeSliderPosition = d.startTime, this.#m();
533
- }} ${W(this.#_)}></arcgis-time-of-day-slider></calcite-label>${T({ hidden: this.hidePlayButtons, children: ne({ disabled: this._sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
534
- this._playingState === "day" ? this.#s() : this._playingState = "day";
535
- }, scale: s }) })}${T({ hidden: this.hideTimezone, children: f`<calcite-label .scale=${s} class="timezone-input-container">${e.timezone}<calcite-input-time-zone mode=offset overlay-positioning=fixed .scale=${s} .disabled=${this._sunlightingDisabled} .value=${`${a}`} .referenceDate=${this.localDateAsString} @calciteInputTimeZoneChange=${(d) => {
536
- const l = +d.target.value;
537
- this.utcOffset = l / 60, this.#s();
538
- }} ${W(this.#g)}></calcite-input-time-zone></calcite-label><span></span>` })}${T({ hidden: this.hideDatePicker, children: t === "date" ? this.#P({ scale: s, disabled: i }) : this.#$({ scale: s, disabled: i }) })}</div>${T({ hidden: this.hideSunLightingToggle, children: it({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (d) => {
539
- this._sunlightingDisabled = !d;
540
- } }) })}${T({ hidden: this.hideShadowsToggle, children: rt({ scale: s, messages: e.shadowsToggle, onShadowCheckboxChange: (d) => {
541
- this._directShadowsDisabled = !d;
652
+ return ne({ class: "root", label: e.componentLabel, title: e.title, hideHeader: this.hideHeader, headingLevel: this.headingLevel, children: u`<div class="unsupported"><p>${e.unsupported}</p></div>` });
653
+ const a = (this.utcOffset ?? 0) * 60, l = this.view?.ready === !0, d = Array.isArray(this.timeSliderSteps) ? this.timeSliderSteps.at(0) : this.timeSliderSteps;
654
+ return ne({ 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=${ee({ 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 ?? re} .visualScale=${s} @click=${(o) => o.stopPropagation()} @arcgisInternalTimeZoneChange=${(o) => {
655
+ this._view && (this._view.timeZone = o.detail);
656
+ }}></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=${ee({ gridArea: "slider" })} @arcgisTimeChange=${({ currentTarget: o }) => {
657
+ this.#a(), this.timeSliderPosition = o.startTime, this.#y();
658
+ }} ${ie(this.#T)}></arcgis-time-of-day-slider></calcite-label>${S({ hidden: this.hidePlayButtons, children: he({ disabled: this._sunlightingDisabled, playing: this.dayPlaying, label: e.playDay, onClick: () => {
659
+ this._playingState === "day" ? this.#a() : this._playingState = "day";
660
+ }, 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) => {
661
+ const c = +o.target.value;
662
+ this.utcOffset = c / 60, this.#a();
663
+ }} ${ie(this.#p)}></calcite-input-time-zone></calcite-label><span></span>` }) : void 0}${S({ hidden: this.hideDatePicker, children: t === "date" ? this.#q({ scale: s, disabled: i }) : this.#B({ scale: s, disabled: i }) })}</div>${S({ hidden: this.hideSunLightingToggle, children: ht({ scale: s, messages: e.sunLightingToggle, sunlightingEnabled: !this._sunlightingDisabled, onSunLightingToggle: (o) => {
664
+ this._sunlightingDisabled = !o;
665
+ } }) })}${S({ hidden: this.hideShadowsToggle, children: gt({ scale: s, messages: e.shadowsToggle, onShadowCheckboxChange: (o) => {
666
+ this._directShadowsDisabled = !o;
542
667
  }, shadowEnabled: !this._directShadowsDisabled }) })}` });
543
668
  }
544
669
  }
545
- function ne({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
546
- return f`<calcite-button appearance=solid .scale=${s} .disabled=${r} .iconStart=${e ? "pause-f" : "play-f"} .label=${i} @click=${t} round title=${i ?? j} type=button></calcite-button>`;
670
+ function he({ disabled: r, playing: e, onClick: t, label: i, scale: s = "m" }) {
671
+ 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>`;
547
672
  }
548
- function et({ disabled: r, date: e, onDateChange: t, scale: i }) {
549
- return f`<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>`;
673
+ function ct({ disabled: r, date: e, onDateChange: t, scale: i }) {
674
+ 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>`;
550
675
  }
551
- function tt({ messages: r, disabled: e, scale: t, selectedSeason: i, onSeasonChange: s }) {
552
- return f`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
676
+ function dt({ messages: r, disabled: e, scale: t, selectedSeason: i, onSeasonChange: s }) {
677
+ return u`<calcite-select .disabled=${e} .label=${r.season} .scale=${t} .value=${i} @calciteSelectChange=${(n) => {
553
678
  s(n);
554
- }}>${R.map((n) => f`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
679
+ }}>${V.map((n) => u`<calcite-option .selected=${i === n} .value=${n}>${r[n]}</calcite-option>`)}</calcite-select>`;
555
680
  }
556
- function it({ messages: r, sunlightingEnabled: e, onSunLightingToggle: t, scale: i }) {
557
- return f`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? j}><calcite-checkbox .scale=${i} .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r?.label}</calcite-label>`;
681
+ function ht({ messages: r, sunlightingEnabled: e, onSunLightingToggle: t, scale: i }) {
682
+ 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>`;
558
683
  }
559
- function rt({ messages: r, shadowEnabled: e, onShadowCheckboxChange: t, scale: i }) {
560
- return f`<calcite-label layout=inline .scale=${i} title=${r?.tooltip ?? j}><calcite-checkbox .checked=${e} @calciteCheckboxChange=${(s) => t(s.target.checked)}></calcite-checkbox>${r.label}</calcite-label>`;
684
+ function gt({ messages: r, shadowEnabled: e, onShadowCheckboxChange: t, scale: i }) {
685
+ 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>`;
561
686
  }
562
- ge("arcgis-daylight", Xe);
687
+ be("arcgis-daylight", lt);
563
688
  export {
564
- Xe as ArcgisDaylight
689
+ lt as ArcgisDaylight
565
690
  };