@arcgis/map-components 5.1.3 → 5.1.5

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 (248) hide show
  1. package/dist/cdn/{JETPDLY5.js → 24CX3MDO.js} +1 -1
  2. package/dist/cdn/{DYTTT2ZE.js → 264N47JI.js} +1 -1
  3. package/dist/cdn/{375JMFKX.js → 26OIDIMC.js} +1 -1
  4. package/dist/cdn/{SDBGQMSY.js → 2B5DP2YU.js} +1 -1
  5. package/dist/cdn/{R7AG2SRN.js → 2BCVWNR5.js} +1 -1
  6. package/dist/cdn/{M4UEO3ZQ.js → 2CHNVD2R.js} +1 -1
  7. package/dist/cdn/{DLKWPINB.js → 2CPKZVBI.js} +1 -1
  8. package/dist/cdn/{EPPDNWCZ.js → 2EUABM5S.js} +1 -1
  9. package/dist/cdn/{MZ46DTYD.js → 2XE6DUKN.js} +1 -1
  10. package/dist/cdn/{NSODS5HH.js → 375QNN2S.js} +1 -1
  11. package/dist/cdn/{K6NBKJEY.js → 3LPL2WMY.js} +1 -1
  12. package/dist/cdn/{NT3JWVW3.js → 3LSB7RHO.js} +1 -1
  13. package/dist/cdn/{T3J25TJS.js → 3QRDIO5M.js} +1 -1
  14. package/dist/cdn/{IVOJRHXF.js → 3RPJJHCQ.js} +1 -1
  15. package/dist/cdn/{YU3OSVQX.js → 3TEMX33F.js} +1 -1
  16. package/dist/cdn/{GFQSHSEN.js → 3UE3RRK6.js} +1 -1
  17. package/dist/cdn/{ZXC3LV5S.js → 3V73ULSB.js} +1 -1
  18. package/dist/cdn/{K4N46SEF.js → 3VMNNECP.js} +1 -1
  19. package/dist/cdn/{2UB3BT2U.js → 3YT433QW.js} +1 -1
  20. package/dist/cdn/{6TANGSXU.js → 472YTTO6.js} +1 -1
  21. package/dist/cdn/{CPBG33GJ.js → 4C2THMCG.js} +1 -1
  22. package/dist/cdn/{VHUIDNTM.js → 4I6O377J.js} +1 -1
  23. package/dist/cdn/{RTF754UJ.js → 4IH5EPQ3.js} +1 -1
  24. package/dist/cdn/{VRWYIEHE.js → 4MNOF575.js} +1 -1
  25. package/dist/cdn/4X5YCDJT.js +2 -0
  26. package/dist/cdn/{XKWFXCW3.js → 5GOCFBZU.js} +1 -1
  27. package/dist/cdn/{VXBCQ6RG.js → 5IOMYV7I.js} +1 -1
  28. package/dist/cdn/{KGUXQ4D2.js → 5RV2UDR4.js} +1 -1
  29. package/dist/cdn/{W2DYHZSJ.js → 5V7CTHC7.js} +1 -1
  30. package/dist/cdn/{EGE3UDWJ.js → 5W4S2C25.js} +1 -1
  31. package/dist/cdn/{ASNQKKPL.js → 5YVXWMBF.js} +1 -1
  32. package/dist/cdn/{FLQFYNRW.js → 63O7I6UB.js} +1 -1
  33. package/dist/cdn/{HPEDYILP.js → 6HUPLNPB.js} +1 -1
  34. package/dist/cdn/6IUNRNS3.js +2 -0
  35. package/dist/cdn/{66M5ARP4.js → 6JKBYDOH.js} +1 -1
  36. package/dist/cdn/{62STONE3.js → 6KGURP6A.js} +1 -1
  37. package/dist/cdn/{LMHFLDIC.js → 6LJHN4BB.js} +1 -1
  38. package/dist/cdn/{7KF6PFMC.js → 6MBA2OU3.js} +1 -1
  39. package/dist/cdn/{FDVDYQ7T.js → 6WEIGII6.js} +1 -1
  40. package/dist/cdn/{CFBDXHQG.js → 6ZW32I62.js} +1 -1
  41. package/dist/cdn/{HQTXIXC6.js → 73DLECRS.js} +1 -1
  42. package/dist/cdn/{XP3CB7W5.js → 73OPURGA.js} +1 -1
  43. package/dist/cdn/{FUUAJI3B.js → 74YWYZSR.js} +1 -1
  44. package/dist/cdn/{62Z75YUH.js → 7DCRZAN4.js} +1 -1
  45. package/dist/cdn/{UASAJVWH.js → 7RUVQVTE.js} +1 -1
  46. package/dist/cdn/{2ATLQSL6.js → 7XMVG5VF.js} +1 -1
  47. package/dist/cdn/{P54POXV6.js → A2PKGRJP.js} +1 -1
  48. package/dist/cdn/{7REDKRWF.js → AAIPMGM3.js} +1 -1
  49. package/dist/cdn/{ZNQCLZ3Z.js → ACR2PZV5.js} +1 -1
  50. package/dist/cdn/{VSBVGO66.js → ACTNKJB3.js} +1 -1
  51. package/dist/cdn/{WWN76S2X.js → ADADNHXY.js} +1 -1
  52. package/dist/cdn/{O6V45QKW.js → AI4TDGJ7.js} +1 -1
  53. package/dist/cdn/{IMR53T7L.js → AJCTFRLH.js} +1 -1
  54. package/dist/cdn/{LSVKPEGY.js → AJW3ZYRD.js} +1 -1
  55. package/dist/cdn/{234MCNW5.js → AK4RNU3Z.js} +1 -1
  56. package/dist/cdn/{VQYYNFZV.js → AKX6G5NY.js} +1 -1
  57. package/dist/cdn/{FJAJTMWA.js → APKYBC5M.js} +1 -1
  58. package/dist/cdn/{FJ357YAU.js → ARO24QKW.js} +1 -1
  59. package/dist/cdn/AYRT6CLA.js +2 -0
  60. package/dist/cdn/{CPZ76XWX.js → BA5FUUFH.js} +1 -1
  61. package/dist/cdn/{HAWPBGFJ.js → BBVNUBSU.js} +1 -1
  62. package/dist/cdn/{H7WH3JOV.js → BKK3LZX3.js} +1 -1
  63. package/dist/cdn/{FPTCG5LT.js → BUOBYFNN.js} +1 -1
  64. package/dist/cdn/{ODUKRCXF.js → BWSDDMUB.js} +1 -1
  65. package/dist/cdn/{CZ5Y6IKS.js → BZXMMGBV.js} +1 -1
  66. package/dist/cdn/{Q646IQNZ.js → CL2HVRBX.js} +1 -1
  67. package/dist/cdn/{GGTQ3NSM.js → CNZCJL7X.js} +1 -1
  68. package/dist/cdn/{TCB2YVIA.js → CZ7XMKSW.js} +1 -1
  69. package/dist/cdn/{FI34ZKXN.js → D32ONW2W.js} +1 -1
  70. package/dist/cdn/{SHUVETZ7.js → D5N45XY5.js} +1 -1
  71. package/dist/cdn/{SIWCBIJP.js → DBGHAVTG.js} +1 -1
  72. package/dist/cdn/DBVAWYO7.js +2 -0
  73. package/dist/cdn/{43LX6RHJ.js → DOEGXUHQ.js} +1 -1
  74. package/dist/cdn/{FZHTYAGO.js → DRAVDTJZ.js} +1 -1
  75. package/dist/cdn/{R2MVBDJU.js → DRDLTWMF.js} +1 -1
  76. package/dist/cdn/{YA4NYUQW.js → DXULR6EZ.js} +1 -1
  77. package/dist/cdn/{6GQTRINR.js → DZJ6Y7EN.js} +1 -1
  78. package/dist/cdn/{B42J3Z2C.js → EGKMOD3O.js} +1 -1
  79. package/dist/cdn/{DJUAOUVW.js → EJTG7FB5.js} +1 -1
  80. package/dist/cdn/{V6KIZSVA.js → EMIK3EQR.js} +1 -1
  81. package/dist/cdn/{VYRKUI6Z.js → EOIVLPYQ.js} +1 -1
  82. package/dist/cdn/{EQODY5HW.js → EWGPOJ66.js} +1 -1
  83. package/dist/cdn/EYISAVGW.js +2 -0
  84. package/dist/cdn/{FMDJOPBV.js → F5LWBLT7.js} +1 -1
  85. package/dist/cdn/{22CAB26H.js → F7DUN5OF.js} +1 -1
  86. package/dist/cdn/{LXOQDXSC.js → FMNAJ6VP.js} +1 -1
  87. package/dist/cdn/{H6AN4E2A.js → FOJ3UKIA.js} +1 -1
  88. package/dist/cdn/{ET7J5T6W.js → FRTFIGVF.js} +1 -1
  89. package/dist/cdn/{ELLHJHX3.js → FYMTNYAU.js} +1 -1
  90. package/dist/cdn/{RZYKZ4G7.js → G4TWIOSR.js} +1 -1
  91. package/dist/cdn/{RR2NKKKH.js → GA24QIRX.js} +1 -1
  92. package/dist/cdn/{OF3EAYXS.js → GGRXK6ZX.js} +1 -1
  93. package/dist/cdn/{QU7GPH72.js → GLNTTA4M.js} +1 -1
  94. package/dist/cdn/{CV57D36E.js → GTZBFSSG.js} +1 -1
  95. package/dist/cdn/{USPJDSCZ.js → GVLEI6OP.js} +1 -1
  96. package/dist/cdn/{KCVRXOGC.js → H325NNPG.js} +1 -1
  97. package/dist/cdn/{CYINKGVZ.js → HEOGHAAC.js} +1 -1
  98. package/dist/cdn/{N4HTIYQE.js → HEUOKCWQ.js} +1 -1
  99. package/dist/cdn/{2CSNMII5.js → HFAZ3TSR.js} +1 -1
  100. package/dist/cdn/{E4FXVV2A.js → HJI4Q74V.js} +1 -1
  101. package/dist/cdn/{W7DTRMHF.js → HP6X2LYZ.js} +1 -1
  102. package/dist/cdn/{P3H4R2QR.js → HQMKXMRR.js} +1 -1
  103. package/dist/cdn/{XYLNSPWX.js → HRD55XTZ.js} +1 -1
  104. package/dist/cdn/{L4TOTMG6.js → HWHVMTQ5.js} +1 -1
  105. package/dist/cdn/{KO7RGO6I.js → HWTUJ662.js} +1 -1
  106. package/dist/cdn/{46LZGJFB.js → I2HGQWSX.js} +1 -1
  107. package/dist/cdn/{H2U3NNOZ.js → I7VV53UE.js} +1 -1
  108. package/dist/cdn/{BPOOZIOV.js → ILFEDWQV.js} +1 -1
  109. package/dist/cdn/{M7CGZOVT.js → IMXAP4GC.js} +1 -1
  110. package/dist/cdn/{M7N6HRKE.js → IO42MUIM.js} +1 -1
  111. package/dist/cdn/{RT6G3Z72.js → ITEUZEPY.js} +1 -1
  112. package/dist/cdn/{OZMQKJLV.js → J4AF5UYH.js} +1 -1
  113. package/dist/cdn/{PMJU3M4K.js → JBCJVKJY.js} +1 -1
  114. package/dist/cdn/JFLR2VEG.js +2 -0
  115. package/dist/cdn/{7X2E65NW.js → JNF77RX5.js} +1 -1
  116. package/dist/cdn/{GDDNUZON.js → JNMBCXIJ.js} +1 -1
  117. package/dist/cdn/{FS4HU7OG.js → JTKURLTF.js} +1 -1
  118. package/dist/cdn/{3R6BYVE5.js → K43PE22O.js} +1 -1
  119. package/dist/cdn/{NUZULSBH.js → K5R5ZENE.js} +1 -1
  120. package/dist/cdn/{4GFFNLBW.js → KAW27MQQ.js} +1 -1
  121. package/dist/cdn/{T44XJPJU.js → KDZOOVSI.js} +1 -1
  122. package/dist/cdn/{KKQCCHI3.js → KJENMIFA.js} +1 -1
  123. package/dist/cdn/{EJXJ7MR4.js → KZI2ZJO5.js} +1 -1
  124. package/dist/cdn/{JMPW3PER.js → L7HGPJVT.js} +1 -1
  125. package/dist/cdn/{SSWJID24.js → LSMGDNCK.js} +1 -1
  126. package/dist/cdn/{F2LZ6I4A.js → LZ6FRTTI.js} +1 -1
  127. package/dist/cdn/{F4ZAFN45.js → M2X4Z2JI.js} +1 -1
  128. package/dist/cdn/{TPSGDOBV.js → M7HGZ4IQ.js} +1 -1
  129. package/dist/cdn/{QWPMSWF5.js → MBGJXVHA.js} +1 -1
  130. package/dist/cdn/{I4V5JQ2W.js → MGZ7I3P5.js} +1 -1
  131. package/dist/cdn/{2HUE3S6F.js → MJRYO6TX.js} +1 -1
  132. package/dist/cdn/{42QRW2S2.js → N4ENBYIM.js} +1 -1
  133. package/dist/cdn/{56TLIBGY.js → NAR2J57O.js} +1 -1
  134. package/dist/cdn/{OXRQP246.js → NEVL2YYO.js} +1 -1
  135. package/dist/cdn/{GNT3B6OW.js → NEWNUZRO.js} +1 -1
  136. package/dist/cdn/{B3Q7ZJGZ.js → NL5FAGY3.js} +1 -1
  137. package/dist/cdn/{QACNH34P.js → NO65OW7P.js} +1 -1
  138. package/dist/cdn/{VYGVL22X.js → NSD3OD74.js} +1 -1
  139. package/dist/cdn/{4QXD3DRF.js → O5XQTTZ7.js} +1 -1
  140. package/dist/cdn/{FGXH3TZL.js → O75I27SJ.js} +1 -1
  141. package/dist/cdn/{T7K7IRUE.js → OEOTTMUV.js} +1 -1
  142. package/dist/cdn/{DMN7NRMW.js → OIKIIOZH.js} +1 -1
  143. package/dist/cdn/{XB2ULNV6.js → OJ55ZOXK.js} +1 -1
  144. package/dist/cdn/{A5ZMTUHZ.js → OQQYH2NU.js} +1 -1
  145. package/dist/cdn/{M7JYXGUN.js → P2QWPDF2.js} +1 -1
  146. package/dist/cdn/{TAM5BMQE.js → P3AF7TDD.js} +1 -1
  147. package/dist/cdn/{6UB5WBZA.js → PEN3F242.js} +1 -1
  148. package/dist/cdn/{ZIDAAK2P.js → PFOFRC2Y.js} +1 -1
  149. package/dist/cdn/{5XBREOBT.js → PLIG3NOL.js} +1 -1
  150. package/dist/cdn/{7VSC32MP.js → PM263QKE.js} +1 -1
  151. package/dist/cdn/{LKHC7NZP.js → PMW3ANLS.js} +1 -1
  152. package/dist/cdn/{76CURZLY.js → PZOONYKW.js} +1 -1
  153. package/dist/cdn/{Z2DLZCZA.js → QCWFGCAM.js} +1 -1
  154. package/dist/cdn/{IFA7CCS4.js → QDGAXLH4.js} +1 -1
  155. package/dist/cdn/{C6ECGO7E.js → QHIAQMUC.js} +1 -1
  156. package/dist/cdn/{5OIUJD7K.js → QIVYLYHB.js} +1 -1
  157. package/dist/cdn/{57ROKVQ2.js → QMWNN57B.js} +1 -1
  158. package/dist/cdn/{DZU4EJJL.js → QXZXUVGV.js} +1 -1
  159. package/dist/cdn/{UOTWRHTN.js → QYZ7X5V4.js} +1 -1
  160. package/dist/cdn/{77G6FXTF.js → R3IVYO7B.js} +1 -1
  161. package/dist/cdn/{JEHLCJKG.js → RCXYPCWC.js} +1 -1
  162. package/dist/cdn/{5RUSKVV6.js → RDM5QYCV.js} +1 -1
  163. package/dist/cdn/{KVXPMMSF.js → RDSYCNUX.js} +1 -1
  164. package/dist/cdn/{D3EZDMYN.js → RDXCFATQ.js} +1 -1
  165. package/dist/cdn/{4QGOC3VS.js → RQOMXGNC.js} +1 -1
  166. package/dist/cdn/RTNCTBHG.js +2 -0
  167. package/dist/cdn/{AZSFY4Y3.js → RV22T6WV.js} +1 -1
  168. package/dist/cdn/{OWAKPV45.js → SBYVZ7LJ.js} +1 -1
  169. package/dist/cdn/{TZWITU5I.js → SHIF64Q2.js} +1 -1
  170. package/dist/cdn/{USDQKP5Z.js → SQTLQDV4.js} +1 -1
  171. package/dist/cdn/{COEEFBPJ.js → SR3YWITJ.js} +1 -1
  172. package/dist/cdn/{7JA5D57X.js → STD733AI.js} +1 -1
  173. package/dist/cdn/{GPPB5HLY.js → SU7T6P3G.js} +1 -1
  174. package/dist/cdn/{UASHWZNE.js → T3EMG2V6.js} +1 -1
  175. package/dist/cdn/{MEHLA2FT.js → TDDDFNUF.js} +1 -1
  176. package/dist/cdn/{TPAFEBWM.js → TNFEHVIG.js} +1 -1
  177. package/dist/cdn/{ON6QA6GZ.js → TOAAHDPZ.js} +1 -1
  178. package/dist/cdn/TYBW347N.js +2 -0
  179. package/dist/cdn/U23D5EX2.js +2 -0
  180. package/dist/cdn/{3TW6V4CW.js → UMW36IPO.js} +1 -1
  181. package/dist/cdn/{VXQOK7ST.js → UYKAKDZS.js} +1 -1
  182. package/dist/cdn/{GUBN7F55.js → V4N6H66N.js} +1 -1
  183. package/dist/cdn/{DH6TP6IC.js → VAFWGABR.js} +1 -1
  184. package/dist/cdn/{3TQ5TC4S.js → VEOJSZ7U.js} +1 -1
  185. package/dist/cdn/VFBERENQ.js +2 -0
  186. package/dist/cdn/{DISROOJH.js → VIIQGA7X.js} +1 -1
  187. package/dist/cdn/{DFBCXA3L.js → VJC3RDPZ.js} +1 -1
  188. package/dist/cdn/{WATWGCHU.js → VLB5W6G2.js} +1 -1
  189. package/dist/cdn/{UITNJIFZ.js → VLIWCGYE.js} +1 -1
  190. package/dist/cdn/{LIJL5PUN.js → VXB4H2P7.js} +1 -1
  191. package/dist/cdn/{HOAYGQXL.js → W7EMMYHO.js} +1 -1
  192. package/dist/cdn/{XQTUZF4F.js → WBMUEV5E.js} +1 -1
  193. package/dist/cdn/{OULNKECC.js → WDA27UKM.js} +1 -1
  194. package/dist/cdn/{WWUFUNG7.js → WDCAOT35.js} +1 -1
  195. package/dist/cdn/{X3GJQ2HW.js → WEMZAAWC.js} +1 -1
  196. package/dist/cdn/{KW4HHQEV.js → WKKSGWDU.js} +1 -1
  197. package/dist/cdn/{EFJTCCD7.js → WN3TJIGK.js} +1 -1
  198. package/dist/cdn/XDAQMXHX.js +2 -0
  199. package/dist/cdn/{RYQVNGCF.js → XI7LEDXS.js} +1 -1
  200. package/dist/cdn/{JDV4OCE6.js → XLIVR6DZ.js} +1 -1
  201. package/dist/cdn/{T45EBBTN.js → Y7B3Z5P6.js} +1 -1
  202. package/dist/cdn/{GZAUW4IF.js → YOSAISNE.js} +1 -1
  203. package/dist/cdn/{SQSGXJ54.js → YUN2QQHP.js} +1 -1
  204. package/dist/cdn/{5R7WVXXM.js → Z2MYXVYQ.js} +1 -1
  205. package/dist/cdn/{R4HMNLS6.js → ZADMHARU.js} +1 -1
  206. package/dist/cdn/{5N7IFFE2.js → ZC7B75SZ.js} +1 -1
  207. package/dist/cdn/{VN3COZMZ.js → ZDNM3V6L.js} +1 -1
  208. package/dist/cdn/{LRCD6STF.js → ZFE6DOCC.js} +1 -1
  209. package/dist/cdn/{XIE3L6TO.js → ZFTF6HMJ.js} +1 -1
  210. package/dist/cdn/{OVXXROS6.js → ZN7PVQJC.js} +1 -1
  211. package/dist/cdn/{J5LRI3NQ.js → ZQVSSETO.js} +1 -1
  212. package/dist/cdn/{O2CMDG4R.js → ZS3XCWFM.js} +1 -1
  213. package/dist/cdn/{W6IMOQUF.js → ZW4BBZNX.js} +1 -1
  214. package/dist/cdn/{O3B6CHMR.js → ZZJ5OHNH.js} +1 -1
  215. package/dist/cdn/index.js +1 -1
  216. package/dist/chunks/earth-utils.js +21 -0
  217. package/dist/chunks/runtime.js +1 -1
  218. package/dist/components/arcgis-daylight/customElement.js +174 -190
  219. package/dist/components/arcgis-feature-table/customElement.js +34 -34
  220. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +86 -93
  221. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  222. package/dist/components/arcgis-popup/customElement.d.ts +2 -3
  223. package/dist/components/arcgis-popup/customElement.js +27 -27
  224. package/dist/components/arcgis-search/customElement.js +20 -20
  225. package/dist/components/arcgis-shadow-cast/customElement.js +96 -85
  226. package/dist/components/arcgis-sketch/customElement.d.ts +16 -1
  227. package/dist/components/arcgis-sketch/customElement.js +25 -19
  228. package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +6 -0
  229. package/dist/docs/api.json +1 -1
  230. package/dist/docs/docs.json +1 -1
  231. package/dist/docs/vscode.html-custom-data.json +1 -1
  232. package/dist/docs/web-types.json +1 -1
  233. package/dist/loader.js +1 -1
  234. package/dist/types/lumina.d.ts +1 -0
  235. package/dist/types/preact.d.ts +1 -0
  236. package/dist/types/react.d.ts +1 -0
  237. package/dist/types/stencil.d.ts +1 -0
  238. package/package.json +4 -4
  239. package/dist/cdn/2HZVYLC6.js +0 -2
  240. package/dist/cdn/7HNVZH7N.js +0 -2
  241. package/dist/cdn/BM6JSXBV.js +0 -2
  242. package/dist/cdn/CM5CTL6G.js +0 -2
  243. package/dist/cdn/H45Q2UZB.js +0 -2
  244. package/dist/cdn/IX5WKWY7.js +0 -2
  245. package/dist/cdn/N6UZ7QWU.js +0 -2
  246. package/dist/cdn/SE4NXCRP.js +0 -2
  247. package/dist/cdn/XYCO5VO6.js +0 -2
  248. package/dist/cdn/ZRKPBNDX.js +0 -2
@@ -7,7 +7,7 @@ import { LitElement as d } from "@arcgis/lumina";
7
7
  import { classes as h } from "@arcgis/toolkit/dom";
8
8
  import { H as g } from "../../chunks/heading.js";
9
9
  import { g as m } from "../../chunks/globalCss.js";
10
- const f = a`.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)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);min-width:fit-content;display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, u = 768;
10
+ const f = a`.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)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, u = 768;
11
11
  class v extends d {
12
12
  constructor() {
13
13
  super(...arguments), this.stacked = !1, this.headingLevel = 3, this.layout = "auto", this.type = "card";
@@ -1,5 +1,4 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- import type Features from "@arcgis/core/popup/Features.js";
3
2
  import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
4
3
  import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
5
4
  import type Graphic from "@arcgis/core/Graphic.js";
@@ -600,13 +599,13 @@ export abstract class ArcgisPopup extends LitElement {
600
599
  *
601
600
  * @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
602
601
  */
603
- next(): Promise<Features>;
602
+ next(): Promise<void>;
604
603
  /**
605
604
  * Selects the feature at the previous index in relation to the selected feature.
606
605
  *
607
606
  * @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
608
607
  */
609
- previous(): Promise<Features>;
608
+ previous(): Promise<void>;
610
609
  /** Use this method to give focus to the component if the component is able to be focused. */
611
610
  setFocus(): Promise<void>;
612
611
  /**
@@ -55,8 +55,8 @@ class j extends L {
55
55
  set dockOptions(t) {
56
56
  const e = { ...C }, o = this.viewModel?.view?.breakpoints, i = {};
57
57
  o && (i.width = o.xsmall, i.height = o.xsmall);
58
- const s = { ...e, ...t }, n = { ...e.breakpoint, ...i }, { breakpoint: a } = s;
59
- typeof a == "object" ? s.breakpoint = { ...n, ...a } : a && (s.breakpoint = n), this._dockOptions = s;
58
+ const s = { ...e, ...t }, n = { ...e.breakpoint, ...i }, { breakpoint: r } = s;
59
+ typeof r == "object" ? s.breakpoint = { ...n, ...r } : r && (s.breakpoint = n), this._dockOptions = s;
60
60
  }
61
61
  get selectedDrillInFeature() {
62
62
  return this._featuresComponent.value?.selectedDrillInFeature ?? null;
@@ -68,25 +68,25 @@ class j extends L {
68
68
  return this.viewModel.handleViewClick(t);
69
69
  }
70
70
  async clear() {
71
- return this.viewModel.clear();
71
+ this.viewModel.clear();
72
72
  }
73
73
  async destroy() {
74
74
  await this.manager.destroy(), this._dockAction.destroy(), this._popupResizeObserver.disconnect();
75
75
  }
76
76
  async fetchFeatures(t, e) {
77
- return await this._featuresComponent.value?.fetchFeatures(t, e);
77
+ await this._featuresComponent.value?.fetchFeatures(t, e);
78
78
  }
79
79
  async next() {
80
- return this.viewModel.next();
80
+ this.viewModel.next();
81
81
  }
82
82
  async previous() {
83
- return this.viewModel.previous();
83
+ this.viewModel.previous();
84
84
  }
85
85
  async setFocus() {
86
86
  this._featuresComponent.value?.setFocus();
87
87
  }
88
88
  async triggerAction(t) {
89
- return await this._featuresComponent.value?.triggerAction(t);
89
+ await this._featuresComponent.value?.triggerAction(t);
90
90
  }
91
91
  connectedCallback() {
92
92
  super.connectedCallback(), this._syncPopupResizeObserver();
@@ -157,7 +157,7 @@ class j extends L {
157
157
  const { _mainContainerNode: e, _popupRect: o, viewModel: i } = this, { view: s } = i, { screenLocation: n } = this;
158
158
  if (n == null || !s || !o || !e.value)
159
159
  return "top-center";
160
- const a = window.getComputedStyle(e.value), l = f(a.maxHeight), r = f(a.height), c = this._getPointerSize(), { height: d, width: k } = o, h = k + c, u = Math.max(d, l, r) + c, z = this._isOutsideView({
160
+ const r = window.getComputedStyle(e.value), l = f(r.maxHeight), a = f(r.height), c = this._getPointerSize(), { height: d, width: k } = o, h = k + c, u = Math.max(d, l, a) + c, z = this._isOutsideView({
161
161
  popupHeight: u,
162
162
  popupWidth: h,
163
163
  screenLocation: n,
@@ -239,35 +239,35 @@ class j extends L {
239
239
  _calculateAlignmentPosition(t, e, o, i) {
240
240
  if (t < 0 || e < 0 || !o || !i || t > o.width || e > o.height)
241
241
  return;
242
- const { topLayerDisabled: s } = this, n = s ? t : t + o.x, a = s ? e : e + o.y, { _direction: l, currentAlignment: r } = this, c = this._getPointerSize(), d = c / 2;
243
- if (r === "top-left" || r === "top-start" && l === "ltr" || r === "top-end" && l === "rtl")
242
+ const { topLayerDisabled: s } = this, n = s ? t : t + o.x, r = s ? e : e + o.y, { _direction: l, currentAlignment: a } = this, c = this._getPointerSize(), d = c / 2;
243
+ if (a === "top-left" || a === "top-start" && l === "ltr" || a === "top-end" && l === "rtl")
244
244
  return {
245
- top: a - (i.height + d),
245
+ top: r - (i.height + d),
246
246
  left: n - i.width - d
247
247
  };
248
- if (r === "top-center")
248
+ if (a === "top-center")
249
249
  return {
250
- top: a - (i.height + c),
250
+ top: r - (i.height + c),
251
251
  left: n - i.width / 2
252
252
  };
253
- if (r === "top-right" || r === "top-end" && l === "ltr" || r === "top-start" && l === "rtl")
253
+ if (a === "top-right" || a === "top-end" && l === "ltr" || a === "top-start" && l === "rtl")
254
254
  return {
255
- top: a - (i.height + d),
255
+ top: r - (i.height + d),
256
256
  left: n + d
257
257
  };
258
- if (r === "bottom-left" || r === "bottom-start" && l === "ltr" || r === "bottom-end" && l === "rtl")
258
+ if (a === "bottom-left" || a === "bottom-start" && l === "ltr" || a === "bottom-end" && l === "rtl")
259
259
  return {
260
- top: a + d,
260
+ top: r + d,
261
261
  left: n - i.width - d
262
262
  };
263
- if (r === "bottom-center")
263
+ if (a === "bottom-center")
264
264
  return {
265
- top: a + c,
265
+ top: r + c,
266
266
  left: n - i.width / 2
267
267
  };
268
- if (r === "bottom-right" || r === "bottom-end" && l === "ltr" || r === "bottom-start" && l === "rtl")
268
+ if (a === "bottom-right" || a === "bottom-end" && l === "ltr" || a === "bottom-start" && l === "rtl")
269
269
  return {
270
- top: a + d,
270
+ top: r + d,
271
271
  left: n + d
272
272
  };
273
273
  }
@@ -287,8 +287,8 @@ class j extends L {
287
287
  return `inset: ${this._getPositionStyleValue(i.top)} ${this._getPositionStyleValue(i.right)} ${this._getPositionStyleValue(i.bottom)} ${this._getPositionStyleValue(i.left)};`;
288
288
  }
289
289
  _dockingThresholdCrossed(t, e, o) {
290
- const [i, s] = t, [n, a] = e, { width: l = 0, height: r = 0 } = o ?? {};
291
- return i <= l && n > l || i > l && n <= l || s <= r && a > r || s > r && a <= r;
290
+ const [i, s] = t, [n, r] = e, { width: l = 0, height: a = 0 } = o ?? {};
291
+ return i <= l && n > l || i > l && n <= l || s <= a && r > a || s > a && r <= a;
292
292
  }
293
293
  _updateDockEnabledForViewSize(t, e) {
294
294
  if (!t || !e || !this.viewModel?.view?.ready)
@@ -303,14 +303,14 @@ class j extends L {
303
303
  const { width: i, height: s } = o;
304
304
  if (Number.isNaN(i) || Number.isNaN(s) || typeof e != "object")
305
305
  return !1;
306
- const n = typeof e.width == "number" && i <= (e.width ?? 0), a = typeof e.height == "number" && s <= (e.height ?? 0);
307
- return n || a;
306
+ const n = typeof e.width == "number" && i <= (e.width ?? 0), r = typeof e.height == "number" && s <= (e.height ?? 0);
307
+ return n || r;
308
308
  }
309
309
  _setDockEnabledForViewSize(t) {
310
310
  this.viewModel?.view?.ready && typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
311
311
  }
312
312
  render() {
313
- const { _direction: t, dockEnabled: e, currentAlignment: o, currentDockPosition: i, positionStyle: s } = this, { active: n, view: a } = this.viewModel, l = n && e, r = n && !e, c = a?.widthBreakpoint, d = a?.heightBreakpoint, k = {
313
+ const { _direction: t, dockEnabled: e, currentAlignment: o, currentDockPosition: i, positionStyle: s } = this, { active: n, view: r } = this.viewModel, l = n && e, a = n && !e, c = r?.widthBreakpoint, d = r?.heightBreakpoint, k = {
314
314
  "aligned-top-center": o === "top-center",
315
315
  "aligned-bottom-center": o === "bottom-center",
316
316
  "aligned-top-left": o === "top-left" || o === "top-start" && t === "ltr" || o === "top-end" && t === "rtl",
@@ -318,7 +318,7 @@ class j extends L {
318
318
  "aligned-top-right": o === "top-right" || o === "top-end" && t === "ltr" || o === "top-start" && t === "rtl",
319
319
  "aligned-bottom-right": o === "bottom-right" || o === "bottom-end" && t === "ltr" || o === "bottom-start" && t === "rtl",
320
320
  "is-docked": l,
321
- shadow: r,
321
+ shadow: a,
322
322
  "is-rtl": this._direction === "rtl",
323
323
  "is-docked-top-start": i === "top-start",
324
324
  "is-docked-top-end": i === "top-end",
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as m } from "../../chunks/runtime.js";
3
- import { css as _, html as o } from "lit";
3
+ import { css as _, html as s } from "lit";
4
4
  import { ref as v } from "lit/directives/ref.js";
5
5
  import w from "@arcgis/core/widgets/Search/SearchViewModel.js";
6
6
  import { LitElement as f, createEvent as b, renderElement as x, safeClassMap as M, nothing as S } from "@arcgis/lumina";
@@ -97,7 +97,7 @@ class z extends f {
97
97
  ]);
98
98
  }
99
99
  _addSearchResultRenderer() {
100
- this._searchResultRendererEl = x(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
100
+ this._searchResultRendererEl = x(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
101
101
  }
102
102
  _closePopup(e) {
103
103
  const { referenceElement: t, view: i } = this;
@@ -137,7 +137,7 @@ class z extends f {
137
137
  this._useCurrentLocation();
138
138
  return;
139
139
  }
140
- const i = JSON.parse(t), r = this.viewModel.suggestions?.find(({ sourceIndex: s }) => s === i.sourceIndex)?.results?.find(({ key: s }) => `${s}` == `${i.key}`);
140
+ const i = JSON.parse(t), r = this.viewModel.suggestions?.find(({ sourceIndex: o }) => o === i.sourceIndex)?.results?.find(({ key: o }) => `${o}` == `${i.key}`);
141
141
  r && this.search(r);
142
142
  }
143
143
  async _useCurrentLocation() {
@@ -179,22 +179,22 @@ class z extends f {
179
179
  return (e === -1 ? t.all : r?.name || t.untitledSource) || "";
180
180
  }
181
181
  render() {
182
- return this._addSearchResultRenderer(), o`<div class=${M(y("root", C.widget))}><div class="sr-only" aria-live=polite>${this._selectedMessage}</div><div class="container">${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
182
+ return this._addSearchResultRenderer(), s`<div class=${M(y("root", C.widget))}><div class="sr-only" aria-live=polite>${this._selectedMessage}</div><div class="container">${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
183
183
  }
184
184
  _renderSourcesMenu() {
185
- const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled: s } = this.viewModel;
186
- return r.length > 1 ? o`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed .topLayerDisabled=${this.topLayerDisabled} @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${s ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
185
+ const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled: o } = this.viewModel;
186
+ return r.length > 1 ? s`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed .topLayerDisabled=${this.topLayerDisabled} @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
187
187
  }
188
188
  _renderUseCurrentLocation() {
189
189
  const { _currentLocationValue: e } = this;
190
- return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
190
+ return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
191
191
  }
192
192
  _renderAutocomplete() {
193
- const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder: s, searchTerm: n, state: c } = this.viewModel, p = this.label ?? t.searchButtonTitle ?? "";
194
- return o`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${p} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${s} .topLayerDisabled=${this.topLayerDisabled} title=${(n ? "" : s) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${v(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
193
+ const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder: o, searchTerm: n, state: c } = this.viewModel, p = this.label ?? t.searchButtonTitle ?? "";
194
+ return s`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${p} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${o} .topLayerDisabled=${this.topLayerDisabled} title=${(n ? "" : o) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${v(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
195
195
  }
196
196
  _renderForm() {
197
- return o`<form class="form" @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class="submit-button" type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
197
+ return s`<form class="form" @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class="submit-button" type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
198
198
  }
199
199
  _renderSuggestGroup(e) {
200
200
  return e.results?.map((t) => this._renderSuggestion(t));
@@ -204,28 +204,28 @@ class z extends f {
204
204
  return this._showNoResults ? null : this._showCurrentLocation ? this._renderUseCurrentLocation() : e?.map((t) => this._renderSuggestResults(t));
205
205
  }
206
206
  _renderSuggestResults(e) {
207
- const { allSources: t, activeSourceIndex: i } = this.viewModel, { sourceIndex: r } = e, s = e.results?.length, n = t.length > 1 && i === -1, c = this._getSourceName(r);
208
- return s && n ? o`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
207
+ const { allSources: t, activeSourceIndex: i } = this.viewModel, { sourceIndex: r } = e, o = e.results?.length, n = t.length > 1 && i === -1, c = this._getSourceName(r);
208
+ return o && n ? s`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
209
209
  }
210
- _renderSuggestion({ key: e, sourceIndex: t, text: i }) {
211
- const r = {
212
- key: e,
213
- sourceIndex: t
210
+ _renderSuggestion(e) {
211
+ const { key: t, sourceIndex: i, text: r } = e, o = {
212
+ key: t,
213
+ sourceIndex: i
214
214
  };
215
- return o`<calcite-autocomplete-item .heading=${i ?? this.messages.untitledResult ?? ""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`;
215
+ return s`<calcite-autocomplete-item .heading=${r ?? this.messages.untitledResult ?? ""} .value=${JSON.stringify(o)} .selected=${e === this.viewModel.selectedSuggestion}></calcite-autocomplete-item>`;
216
216
  }
217
217
  _renderSource(e) {
218
218
  const t = this._getSourceName(e);
219
- return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e === this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`;
219
+ return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e === this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`;
220
220
  }
221
221
  _renderNoResultsWarning(e) {
222
222
  const { messages: t } = this, i = e ? h(t.noResultsFoundForValue ?? "", {
223
223
  value: `"${e}"`
224
224
  }) : t.noResultsFound;
225
- return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`;
225
+ return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`;
226
226
  }
227
227
  _renderLocateError() {
228
- return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`;
228
+ return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`;
229
229
  }
230
230
  _renderNotices() {
231
231
  return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
@@ -1,27 +1,28 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as C } from "../../chunks/runtime.js";
3
- import { css as M, html as c } from "lit";
3
+ import { css as M, html as d } from "lit";
4
4
  import { LitElement as O, createEvent as S, nothing as T, safeClassMap as u } from "@arcgis/lumina";
5
5
  import { usePropertyChange as $ } from "@arcgis/lumina/controllers";
6
6
  import { u as z } from "../../chunks/useT9n.js";
7
7
  import { m as k } from "../../chunks/useViewModel.js";
8
- import { H as v } from "../../chunks/heading.js";
8
+ import { H as f } from "../../chunks/heading.js";
9
9
  import { g as m } from "../../chunks/globalCss.js";
10
10
  import { V as g } from "../../chunks/visible-element.js";
11
11
  import I from "@arcgis/core/analysis/ShadowCastAnalysis.js";
12
- import { property as n, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
12
+ import { property as r, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
13
13
  import { A as V } from "../../chunks/AnalysisViewModel.js";
14
14
  import { watch as E, whenOnce as L } from "@arcgis/core/core/reactiveUtils.js";
15
- import { c as h, g as A } from "../../chunks/time-utils.js";
16
- import { forceInteractive as R } from "@arcgis/core/applications/Components/analysisUtils.js";
17
- const H = M`.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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;width:var(--arcgis-internal-panel-width, 300px)}.root{--section-internal-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--calcite-spacing-lg);min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}:host([visual-scale="s"]) .root{--section-internal-gap: var(--calcite-spacing-sm)}:host([visual-scale="l"]) .root{--section-internal-gap: var(--calcite-spacing-lg)}.time-range-section arcgis-time-of-day-slider{margin-block-end:var(--section-internal-gap)}.time-range-section calcite-label:last-child,.visualization-options-section calcite-label:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--section-internal-gap)}.hidden-config{display:none}`;
18
- var j = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, a = (e, i, o, r) => {
19
- for (var s = r > 1 ? void 0 : r ? Z(i, o) : i, l = e.length - 1, d; l >= 0; l--)
20
- (d = e[l]) && (s = (r ? d(i, o, s) : d(s)) || s);
21
- return r && s && j(i, o, s), s;
15
+ import { t as A } from "../../chunks/earth-utils.js";
16
+ import { c as h, g as R } from "../../chunks/time-utils.js";
17
+ import { forceInteractive as H } from "@arcgis/core/applications/Components/analysisUtils.js";
18
+ const j = M`.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}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;width:var(--arcgis-internal-panel-width, 300px)}.root{--section-internal-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--calcite-spacing-lg);min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}:host([visual-scale="s"]) .root{--section-internal-gap: var(--calcite-spacing-sm)}:host([visual-scale="l"]) .root{--section-internal-gap: var(--calcite-spacing-lg)}.time-range-section arcgis-time-of-day-slider{margin-block-end:var(--section-internal-gap)}.time-range-section calcite-label:last-child,.visualization-options-section calcite-label:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--section-internal-gap)}.hidden-config{display:none}`;
19
+ var U = Object.defineProperty, Z = Object.getOwnPropertyDescriptor, a = (e, i, t, n) => {
20
+ for (var s = n > 1 ? void 0 : n ? Z(i, t) : i, l = e.length - 1, c; l >= 0; l--)
21
+ (c = e[l]) && (s = (n ? c(i, t, s) : c(s)) || s);
22
+ return n && s && U(i, t, s), s;
22
23
  };
23
- const f = /* @__PURE__ */ Symbol("interactiveHandle");
24
- let t = class extends V {
24
+ const v = /* @__PURE__ */ Symbol("interactiveHandle");
25
+ let o = class extends V {
25
26
  constructor() {
26
27
  super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Shadow Cast component is only supported in 3D views.", this.shouldForceInteractive = !1, this.minMinDuration = 0, this.maxMinDuration = h(8, "hours", "milliseconds"), this.hideShadowDurationTooltip = !1;
27
28
  }
@@ -36,7 +37,7 @@ let t = class extends V {
36
37
  tooltipVisible: !this.hideShadowDurationTooltip
37
38
  }),
38
39
  ({ analysisView: e, tooltipVisible: i }) => {
39
- this.removeHandles(f), e && (e.interactive = i, i && this.addHandles(R(e), f));
40
+ this.removeHandles(v), e && (e.interactive = i, i && this.addHandles(H(e), v));
40
41
  },
41
42
  { sync: !0, initial: !0 }
42
43
  )
@@ -73,7 +74,7 @@ let t = class extends V {
73
74
  this.analysis.totalDurationOptions.mode = e;
74
75
  }
75
76
  get localDate() {
76
- return A(this.view);
77
+ return R(this.view, this.effectiveUtcOffset);
77
78
  }
78
79
  get mode() {
79
80
  return this.analysis.mode;
@@ -133,97 +134,107 @@ let t = class extends V {
133
134
  this.analysis.minDurationOptions.contextOptions.interval = e;
134
135
  }
135
136
  get utcOffset() {
136
- return this.analysis.utcOffset;
137
+ return this.analysis.utcOffset ?? void 0;
137
138
  }
138
139
  set utcOffset(e) {
139
140
  this.analysis.utcOffset = e;
140
141
  }
142
+ get effectiveUtcOffset() {
143
+ const { utcOffset: e } = this.analysis;
144
+ if (e != null)
145
+ return e;
146
+ const i = this.view?.camera?.position;
147
+ return i ? A(i) : 0;
148
+ }
141
149
  async getDurationAtScreen(e) {
142
150
  return await (await L(() => this.analysisView)).getDurationAtScreen(e);
143
151
  }
144
152
  };
145
153
  a([
146
- n()
147
- ], t.prototype, "date", 1);
154
+ r()
155
+ ], o.prototype, "date", 1);
156
+ a([
157
+ r()
158
+ ], o.prototype, "discreteColor", 1);
148
159
  a([
149
- n()
150
- ], t.prototype, "discreteColor", 1);
160
+ r()
161
+ ], o.prototype, "discreteInterval", 1);
151
162
  a([
152
- n()
153
- ], t.prototype, "discreteInterval", 1);
163
+ r()
164
+ ], o.prototype, "totalDurationColor", 1);
154
165
  a([
155
- n()
156
- ], t.prototype, "totalDurationColor", 1);
166
+ r()
167
+ ], o.prototype, "totalDurationMode", 1);
157
168
  a([
158
- n()
159
- ], t.prototype, "totalDurationMode", 1);
169
+ r()
170
+ ], o.prototype, "localDate", 1);
160
171
  a([
161
- n()
162
- ], t.prototype, "localDate", 1);
172
+ r()
173
+ ], o.prototype, "mode", 1);
163
174
  a([
164
- n()
165
- ], t.prototype, "mode", 1);
175
+ r()
176
+ ], o.prototype, "visualizeSunlight", 1);
166
177
  a([
167
- n()
168
- ], t.prototype, "visualizeSunlight", 1);
178
+ r()
179
+ ], o.prototype, "startTimeOfDay", 1);
169
180
  a([
170
- n()
171
- ], t.prototype, "startTimeOfDay", 1);
181
+ r()
182
+ ], o.prototype, "endTimeOfDay", 1);
172
183
  a([
173
- n()
174
- ], t.prototype, "endTimeOfDay", 1);
184
+ r()
185
+ ], o.prototype, "state", 1);
175
186
  a([
176
- n()
177
- ], t.prototype, "state", 1);
187
+ r()
188
+ ], o.prototype, "minDurationColor", 1);
178
189
  a([
179
- n()
180
- ], t.prototype, "minDurationColor", 1);
190
+ r()
191
+ ], o.prototype, "minMinDuration", 2);
181
192
  a([
182
- n()
183
- ], t.prototype, "minMinDuration", 2);
193
+ r()
194
+ ], o.prototype, "maxMinDuration", 2);
184
195
  a([
185
- n()
186
- ], t.prototype, "maxMinDuration", 2);
196
+ r()
197
+ ], o.prototype, "minDuration", 1);
187
198
  a([
188
- n()
189
- ], t.prototype, "minDuration", 1);
199
+ r()
200
+ ], o.prototype, "minDurationContextEnabled", 1);
190
201
  a([
191
- n()
192
- ], t.prototype, "minDurationContextEnabled", 1);
202
+ r()
203
+ ], o.prototype, "minDurationContextColor", 1);
193
204
  a([
194
- n()
195
- ], t.prototype, "minDurationContextColor", 1);
205
+ r()
206
+ ], o.prototype, "minDurationContextInterval", 1);
196
207
  a([
197
- n()
198
- ], t.prototype, "minDurationContextInterval", 1);
208
+ r()
209
+ ], o.prototype, "utcOffset", 1);
199
210
  a([
200
- n()
201
- ], t.prototype, "utcOffset", 1);
211
+ r()
212
+ ], o.prototype, "effectiveUtcOffset", 1);
202
213
  a([
203
- n()
204
- ], t.prototype, "hideShadowDurationTooltip", 2);
205
- t = a([
214
+ r()
215
+ ], o.prototype, "hideShadowDurationTooltip", 2);
216
+ o = a([
206
217
  P("components.shadow-cast.ShadowCastViewModel")
207
- ], t);
208
- const B = k(t);
209
- class F extends O {
218
+ ], o);
219
+ const F = k(o);
220
+ class B extends O {
210
221
  constructor() {
211
- super(...arguments), this.viewModel = B(this), this.messages = z(), this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.visualizeSunlight = this.viewModel.visualizeSunlight, this.visualScale = "m", this.autoDestroyDisabled = !1, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = 4, this.hideTimeRangeSlider = !1, this.hideTimezone = !1, this.hideDatePicker = !1, this.hideShadowDurationTooltip = this.viewModel.hideShadowDurationTooltip, this.hideVisualization = this.viewModel.hideVisualization, this.hideVisualizationOptions = !1, this.hideDiscreteOptions = !1, this.hideDiscreteColorPicker = !1, this.hideDiscreteInterval = !1, this.hideTotalDurationOptions = !1, this.hideTotalDurationColorPicker = !1, this.hideTotalDurationModeSelect = !1, this.hideMinDurationOptions = !1, this.hideMinDurationColorPicker = !1, this.hideMinDurationSlider = !1, this.hideMinDurationContextOptions = !1, this.hideMinDurationContextToggle = !1, this.hideMinDurationContextColorPicker = !1, this.hideMinDurationContextInterval = !1, this.icon = "measure-building-height-shadow", this.mode = this.viewModel.mode, this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.utcOffset = this.viewModel.utcOffset, this.discreteColor = this.viewModel.discreteColor, this.discreteInterval = this.viewModel.discreteInterval, this.totalDurationColor = this.viewModel.totalDurationColor, this.totalDurationMode = this.viewModel.totalDurationMode, this.minDuration = this.viewModel.minDuration, this.minDurationColor = this.viewModel.minDurationColor, this.minMinDuration = this.viewModel.minMinDuration, this.maxMinDuration = this.viewModel.maxMinDuration, this.minDurationContextEnabled = this.viewModel.minDurationContextEnabled, this.minDurationContextColor = this.viewModel.minDurationContextColor, this.minDurationContextInterval = this.viewModel.minDurationContextInterval, this.arcgisPropertyChange = $()("state"), this.arcgisReady = S();
222
+ super(...arguments), this.viewModel = F(this), this.messages = z(), this.analysis = this.viewModel.analysis, this.view = this.viewModel.view, this.visualizeSunlight = this.viewModel.visualizeSunlight, this.visualScale = "m", this.autoDestroyDisabled = !1, this.endTimeOfDay = this.viewModel.endTimeOfDay, this.headingLevel = 4, this.hideTimeRangeSlider = !1, this.hideTimezone = !1, this.hideDatePicker = !1, this.hideShadowDurationTooltip = this.viewModel.hideShadowDurationTooltip, this.hideVisualization = this.viewModel.hideVisualization, this.hideVisualizationOptions = !1, this.hideDiscreteOptions = !1, this.hideDiscreteColorPicker = !1, this.hideDiscreteInterval = !1, this.hideTotalDurationOptions = !1, this.hideTotalDurationColorPicker = !1, this.hideTotalDurationModeSelect = !1, this.hideMinDurationOptions = !1, this.hideMinDurationColorPicker = !1, this.hideMinDurationSlider = !1, this.hideMinDurationContextOptions = !1, this.hideMinDurationContextToggle = !1, this.hideMinDurationContextColorPicker = !1, this.hideMinDurationContextInterval = !1, this.icon = "measure-building-height-shadow", this.mode = this.viewModel.mode, this.startTimeOfDay = this.viewModel.startTimeOfDay, this.state = this.viewModel.state, this.utcOffset = this.viewModel.utcOffset, this.discreteColor = this.viewModel.discreteColor, this.discreteInterval = this.viewModel.discreteInterval, this.totalDurationColor = this.viewModel.totalDurationColor, this.totalDurationMode = this.viewModel.totalDurationMode, this.minDuration = this.viewModel.minDuration, this.minDurationColor = this.viewModel.minDurationColor, this.minMinDuration = this.viewModel.minMinDuration, this.maxMinDuration = this.viewModel.maxMinDuration, this.minDurationContextEnabled = this.viewModel.minDurationContextEnabled, this.minDurationContextColor = this.viewModel.minDurationContextColor, this.minDurationContextInterval = this.viewModel.minDurationContextInterval, this.arcgisPropertyChange = $()("state"), this.arcgisReady = S();
212
223
  }
213
224
  static {
214
225
  this.properties = { analysis: 0, view: 0, visualizeSunlight: 5, visualScale: 3, autoDestroyDisabled: 5, date: 1, endTimeOfDay: 9, headingLevel: 9, hideTimeRangeSlider: 5, hideTimezone: 5, hideDatePicker: 5, hideShadowDurationTooltip: 5, hideVisualization: 5, hideVisualizationOptions: 5, hideDiscreteOptions: 5, hideDiscreteColorPicker: 5, hideDiscreteInterval: 5, hideTotalDurationOptions: 5, hideTotalDurationColorPicker: 5, hideTotalDurationModeSelect: 5, hideMinDurationOptions: 5, hideMinDurationColorPicker: 5, hideMinDurationSlider: 5, hideMinDurationContextOptions: 5, hideMinDurationContextToggle: 5, hideMinDurationContextColorPicker: 5, hideMinDurationContextInterval: 5, icon: 3, label: 1, mode: 1, referenceElement: 1, startTimeOfDay: 9, state: 32, utcOffset: 9, discreteColor: 0, discreteInterval: 9, totalDurationColor: 0, totalDurationMode: 1, minDuration: 9, minDurationColor: 0, minMinDuration: 9, maxMinDuration: 9, minDurationContextEnabled: 5, minDurationContextColor: 0, minDurationContextInterval: 9 };
215
226
  }
216
227
  static {
217
- this.styles = H;
228
+ this.styles = j;
218
229
  }
219
230
  get _effectiveMessages() {
220
- const { messages: i, visualizeSunlight: o } = this, { sunlight: r } = i;
231
+ const { messages: i, visualizeSunlight: t } = this, { sunlight: n } = i;
221
232
  return {
222
233
  ...i,
223
- discrete: o ? r?.discrete : i.discrete,
224
- minDuration: o ? r?.minDuration : i.minDuration,
225
- totalDuration: o ? r?.totalDuration : i.totalDuration,
226
- timeInShadow: o ? i.timeInSunlight : i.timeInShadow,
234
+ discrete: t ? n?.discrete : i.discrete,
235
+ minDuration: t ? n?.minDuration : i.minDuration,
236
+ totalDuration: t ? n?.totalDuration : i.totalDuration,
237
+ timeInShadow: t ? i.timeInSunlight : i.timeInShadow,
227
238
  timeRangeSliderLabel: i.timeRangeSliderLabel
228
239
  };
229
240
  }
@@ -241,7 +252,7 @@ class F extends O {
241
252
  }
242
253
  render() {
243
254
  const { _effectiveMessages: i } = this;
244
- return c`<div aria-label=${i.componentLabel ?? T} class=${u({
255
+ return d`<div aria-label=${i.componentLabel ?? T} class=${u({
245
256
  root: !0,
246
257
  [m.widget]: !0,
247
258
  [m.widgetDisabled]: this.viewModel.state === "disabled",
@@ -251,43 +262,43 @@ class F extends O {
251
262
  _renderTimeRangeSection() {
252
263
  if (!this.analysis || this.hideTimeRangeSlider && this.hideDatePicker)
253
264
  return;
254
- const { _effectiveMessages: i, utcOffset: o, viewModel: r } = this, s = this.visualScale;
255
- return c`<section class="time-range-section">${v({ level: this.headingLevel, children: i.timeRangeHeading })}${g({ hidden: this.hideTimeRangeSlider, children: this._renderTimeRange() })}${g({ hidden: this.hideTimezone, children: c`<calcite-label .scale=${s}>${i.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${r.localDate} .scale=${s} .value=${`${h(o ?? 0, "hours", "minutes")}`} @calciteInputTimeZoneChange=${(l) => {
256
- r.utcOffset = +l.target.value / 60;
257
- }}></calcite-input-time-zone></calcite-label>` })}${g({ hidden: this.hideDatePicker, children: c`<calcite-label .scale=${s}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${s} .valueAsDate=${r.date} @calciteInputDatePickerChange=${(l) => {
258
- const d = l.currentTarget.valueAsDate;
259
- r.date = Array.isArray(d) ? d[0] : d;
265
+ const { _effectiveMessages: i, viewModel: t } = this, n = this.visualScale;
266
+ return d`<section class="time-range-section">${f({ level: this.headingLevel, children: i.timeRangeHeading })}${g({ hidden: this.hideTimeRangeSlider, children: this._renderTimeRange() })}${g({ hidden: this.hideTimezone, children: d`<calcite-label .scale=${n}>${i.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${t.localDate} .scale=${n} .value=${`${h(t.effectiveUtcOffset, "hours", "minutes")}`} @calciteInputTimeZoneChange=${(s) => {
267
+ t.utcOffset = +s.target.value / 60;
268
+ }}></calcite-input-time-zone></calcite-label>` })}${g({ hidden: this.hideDatePicker, children: d`<calcite-label .scale=${n}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${n} .valueAsDate=${t.date} @calciteInputDatePickerChange=${(s) => {
269
+ const l = s.currentTarget.valueAsDate;
270
+ t.date = Array.isArray(l) ? l[0] : l;
260
271
  }}></calcite-input-date-picker></calcite-label>` })}</section>`;
261
272
  }
262
273
  _renderTimeRange() {
263
- const { _effectiveMessages: i, viewModel: o } = this;
264
- return c`<arcgis-time-of-day-slider mode=range .startTime=${w(this.startTimeOfDay)} .endTime=${w(this.endTimeOfDay)} .label=${i.timeRangeSliderLabel} .visualScale=${this.visualScale} @arcgisTimeChange=${({ currentTarget: r }) => {
265
- o.startTimeOfDay = h(r.startTime, "minutes", "milliseconds"), o.endTimeOfDay = h(r.endTime, "minutes", "milliseconds");
274
+ const { _effectiveMessages: i, viewModel: t } = this;
275
+ return d`<arcgis-time-of-day-slider mode=range .startTime=${w(this.startTimeOfDay)} .endTime=${w(this.endTimeOfDay)} .label=${i.timeRangeSliderLabel} .visualScale=${this.visualScale} @arcgisTimeChange=${({ currentTarget: n }) => {
276
+ t.startTimeOfDay = h(n.startTime, "minutes", "milliseconds"), t.endTimeOfDay = h(n.endTime, "minutes", "milliseconds");
266
277
  }}></arcgis-time-of-day-slider>`;
267
278
  }
268
279
  _renderVisualizationOptionsSection() {
269
- const { analysis: i, _effectiveMessages: o, headingLevel: r, viewModel: s } = this;
280
+ const { analysis: i, _effectiveMessages: t, headingLevel: n, viewModel: s } = this;
270
281
  if (!i)
271
282
  return;
272
- const { discreteOptions: l, totalDurationOptions: d, minDurationOptions: D } = i, p = (y, b) => s.mode === y && !b ? void 0 : "hidden-config", x = this.hideMinDurationContextOptions || this.visualizeSunlight, _ = this.hideMinDurationContextToggle || this.visualizeSunlight;
273
- return c`<section class="visualization-options-section">${v({ level: r, children: o.visualizationLabel })}<div class="visualization-options">${this._renderModeSelect()}<div class=${u(p("min-duration", this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${x} .hideContextToggle=${_} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${o} .options=${D} .scale=${this.visualScale}></arcgis-shadow-cast-min-duration-config></div><div class=${u(p("total-duration", this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${o} .options=${d} .scale=${this.visualScale}></arcgis-shadow-cast-total-duration-config></div><div class=${u(p("discrete", this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${o} .options=${l} .scale=${this.visualScale}></arcgis-shadow-cast-discrete-config></div></div></section>`;
283
+ const { discreteOptions: l, totalDurationOptions: c, minDurationOptions: D } = i, p = (_, b) => s.mode === _ && !b ? void 0 : "hidden-config", x = this.hideMinDurationContextOptions || this.visualizeSunlight, y = this.hideMinDurationContextToggle || this.visualizeSunlight;
284
+ return d`<section class="visualization-options-section">${f({ level: n, children: t.visualizationLabel })}<div class="visualization-options">${this._renderModeSelect()}<div class=${u(p("min-duration", this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${x} .hideContextToggle=${y} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${t} .options=${D} .scale=${this.visualScale}></arcgis-shadow-cast-min-duration-config></div><div class=${u(p("total-duration", this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${t} .options=${c} .scale=${this.visualScale}></arcgis-shadow-cast-total-duration-config></div><div class=${u(p("discrete", this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${t} .options=${l} .scale=${this.visualScale}></arcgis-shadow-cast-discrete-config></div></div></section>`;
274
285
  }
275
286
  _renderModeSelect() {
276
- const { _effectiveMessages: i, viewModel: o } = this, { mode: r } = o;
277
- return c`<calcite-select .label=${i.visualizationLabel ?? ""} .scale=${this.visualScale} @calciteSelectChange=${(s) => {
287
+ const { _effectiveMessages: i, viewModel: t } = this, { mode: n } = t;
288
+ return d`<calcite-select .label=${i.visualizationLabel ?? ""} .scale=${this.visualScale} @calciteSelectChange=${(s) => {
278
289
  const l = s.target.selectedOption?.value;
279
- o.mode = l ?? "min-duration";
290
+ t.mode = l ?? "min-duration";
280
291
  }}>${[
281
292
  { mode: "min-duration", label: i.minDuration?.optionLabel },
282
293
  { mode: "total-duration", label: i.totalDuration?.optionLabel },
283
294
  { mode: "discrete", label: i.discrete?.optionLabel }
284
- ].map(({ mode: s, label: l }) => c`<calcite-option .selected=${s === r} .value=${s} .label=${l}></calcite-option>`)}</calcite-select>`;
295
+ ].map(({ mode: s, label: l }) => d`<calcite-option .selected=${s === n} .value=${s} .label=${l}></calcite-option>`)}</calcite-select>`;
285
296
  }
286
297
  }
287
298
  function w(e) {
288
299
  return Math.round(h(e, "milliseconds", "minutes"));
289
300
  }
290
- C("arcgis-shadow-cast", F);
301
+ C("arcgis-shadow-cast", B);
291
302
  export {
292
- F as ArcgisShadowCast
303
+ B as ArcgisShadowCast
293
304
  };