@arcgis/map-components 4.34.5 → 4.34.7

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 (398) hide show
  1. package/dist/cdn/{KTULCUY6.js → 25EKUYGT.js} +2 -2
  2. package/dist/cdn/{RWTT2CXT.js → 25STIVJT.js} +2 -2
  3. package/dist/cdn/{C7TN7OTB.js → 2L4EC36B.js} +2 -2
  4. package/dist/cdn/{MOGUBH3O.js → 2MSNGRIE.js} +2 -2
  5. package/dist/cdn/{CXSRLEZF.js → 2OGZ5E4W.js} +2 -2
  6. package/dist/cdn/{BMPAEXYF.js → 2OQE7PDH.js} +2 -2
  7. package/dist/cdn/2QUR6EXE.js +4 -0
  8. package/dist/cdn/{VOGE7KLM.js → 2Z6ISORA.js} +1 -1
  9. package/dist/cdn/{F4QALHR7.js → 3ADCJLET.js} +2 -2
  10. package/dist/cdn/{66JHODSM.js → 3CNVURCH.js} +2 -2
  11. package/dist/cdn/{PK3X3FDW.js → 3EDAA2CK.js} +2 -2
  12. package/dist/cdn/{QHVQXSGU.js → 3HE4CP5N.js} +2 -2
  13. package/dist/cdn/{ZTDUX3OY.js → 3JG6G3VP.js} +2 -2
  14. package/dist/cdn/{FDCQG52W.js → 3NOPMSZI.js} +2 -2
  15. package/dist/cdn/{QQDDUV4L.js → 3QKT6QXQ.js} +2 -2
  16. package/dist/cdn/{EXIW7M3V.js → 3SIJFZXB.js} +2 -2
  17. package/dist/cdn/{EXY7O7XL.js → 3U7HUWHA.js} +2 -2
  18. package/dist/cdn/{TE66I6VW.js → 3UQJSS2U.js} +2 -2
  19. package/dist/cdn/{LUSSUHHM.js → 4GVCY3M4.js} +2 -2
  20. package/dist/cdn/{BY6FOB4T.js → 4MVJMWRR.js} +2 -2
  21. package/dist/cdn/{JU7773OY.js → 4PVZKEWT.js} +1 -1
  22. package/dist/cdn/{ZIQONK7R.js → 4S2WSEEO.js} +2 -2
  23. package/dist/cdn/{IVJC7A4V.js → 4U3PHNGQ.js} +2 -2
  24. package/dist/cdn/{I2XFDOTR.js → 4ZNOYRNM.js} +2 -2
  25. package/dist/cdn/{H45V3WDU.js → 54BN5YXU.js} +2 -2
  26. package/dist/cdn/{ARY6CBXA.js → 5ARCP2MC.js} +2 -2
  27. package/dist/cdn/{7AGG57BP.js → 5BAXPGWE.js} +2 -2
  28. package/dist/cdn/{BXKBHOP4.js → 5CI7CVSM.js} +2 -2
  29. package/dist/cdn/{UUUBLQOI.js → 5F4KRLMR.js} +2 -2
  30. package/dist/cdn/{D75MKBJO.js → 5GZ7PZDG.js} +2 -2
  31. package/dist/cdn/{VOONIO4B.js → 5SZT466T.js} +2 -2
  32. package/dist/cdn/{5TNICRYE.js → 5TABOPO2.js} +2 -2
  33. package/dist/cdn/{2LDFJA6M.js → 5WUKCNHN.js} +2 -2
  34. package/dist/cdn/{S4WUZSGE.js → 64X42FXR.js} +2 -2
  35. package/dist/cdn/{JQB4CY52.js → 6IV2BP43.js} +2 -2
  36. package/dist/cdn/{BQ64FTXV.js → 7222OSW2.js} +1 -1
  37. package/dist/cdn/{P43TEJDY.js → 77IUSNCM.js} +2 -2
  38. package/dist/cdn/{3IDXXNAZ.js → 77QOKC2Y.js} +2 -2
  39. package/dist/cdn/{D6Q3KMUL.js → 7OU6NVXW.js} +1 -1
  40. package/dist/cdn/{5VR2DUYX.js → 7PHN55FS.js} +2 -2
  41. package/dist/cdn/{BXI5LFQD.js → 7VOR5ZW4.js} +2 -2
  42. package/dist/cdn/{UYPYBZR4.js → 7YKAQ6GM.js} +2 -2
  43. package/dist/cdn/{PH37WLGX.js → A4X5AXKO.js} +2 -2
  44. package/dist/cdn/{MPOUUQTQ.js → A54VCJWW.js} +2 -2
  45. package/dist/cdn/{BKE7IFRK.js → A552H4TY.js} +2 -2
  46. package/dist/cdn/{IBH7S5JV.js → A7PORFDS.js} +2 -2
  47. package/dist/cdn/{ZOOG5L46.js → AEZOP7T3.js} +2 -2
  48. package/dist/cdn/{VVUYSNOH.js → ALUHUCHM.js} +2 -2
  49. package/dist/cdn/{XIMYSEVW.js → APNYM4YK.js} +2 -2
  50. package/dist/cdn/{YW645VJI.js → AWXD6I7U.js} +2 -2
  51. package/dist/cdn/{47DSSPLP.js → B7UYEEQJ.js} +2 -2
  52. package/dist/cdn/{VQHNO6OK.js → BCCCLXZS.js} +2 -2
  53. package/dist/cdn/{LTAIT4IT.js → BGRUQII3.js} +2 -2
  54. package/dist/cdn/BGSTCK6S.js +4 -0
  55. package/dist/cdn/{3EKSOGLX.js → BJ4I3H7T.js} +2 -2
  56. package/dist/cdn/{OSDSN7RS.js → BJHC7C75.js} +2 -2
  57. package/dist/cdn/{O27MJTBY.js → BNMY4M3D.js} +2 -2
  58. package/dist/cdn/{RJ5MTBD2.js → BQHM52BX.js} +2 -2
  59. package/dist/cdn/{TSR3QKW2.js → BRVHELCQ.js} +2 -2
  60. package/dist/cdn/{BDYBAXMU.js → BXZNLXTY.js} +2 -2
  61. package/dist/cdn/{LULBUF4C.js → CAGG7IOD.js} +2 -2
  62. package/dist/cdn/{4HHY5D2H.js → D3VAJCEQ.js} +2 -2
  63. package/dist/cdn/{RYFGE5XT.js → D7F7K3QC.js} +1 -1
  64. package/dist/cdn/{6GJAXZDR.js → DAUB2A3B.js} +2 -2
  65. package/dist/cdn/{5QS6UV6H.js → DBWANAJN.js} +2 -2
  66. package/dist/cdn/{PSDM4IIO.js → DEE6X6J6.js} +2 -2
  67. package/dist/cdn/{JZ3OF3BQ.js → DFQHWWSL.js} +2 -2
  68. package/dist/cdn/{VB2FYQEA.js → DH7EYYAK.js} +2 -2
  69. package/dist/cdn/{ACV2JM2G.js → DJCRCXOF.js} +2 -2
  70. package/dist/cdn/{FDLGWH3R.js → DJOTU35N.js} +2 -2
  71. package/dist/cdn/{BAWBXEXP.js → DO2B3GJF.js} +2 -2
  72. package/dist/cdn/{OXQPKN3N.js → DP56V3XV.js} +2 -2
  73. package/dist/cdn/{G46SS6TD.js → DQAUKJEE.js} +2 -2
  74. package/dist/cdn/{CTMVRAHC.js → DQT4UNOE.js} +2 -2
  75. package/dist/cdn/{7EXBAQJH.js → DV2SNEOU.js} +2 -2
  76. package/dist/cdn/{DCX3W2Q4.js → DVCOKU7D.js} +2 -2
  77. package/dist/cdn/{IWAMCLC4.js → DZ2NX6F7.js} +2 -2
  78. package/dist/cdn/{CFLKIQSK.js → DZN6VUDM.js} +2 -2
  79. package/dist/cdn/{HJ45WVHR.js → ECFXWM74.js} +2 -2
  80. package/dist/cdn/{EFACZ6ZF.js → ED4IWIU6.js} +1 -1
  81. package/dist/cdn/{WIBBYKPB.js → EF5SCBI6.js} +2 -2
  82. package/dist/cdn/{NOE73SX4.js → EPSDPGVP.js} +1 -1
  83. package/dist/cdn/{TDJXRBRD.js → ETILYRLF.js} +2 -2
  84. package/dist/cdn/{D5LZM4NS.js → F5DORCN5.js} +2 -2
  85. package/dist/cdn/{ATJI3M5S.js → FQO4MXMF.js} +2 -2
  86. package/dist/cdn/{S6CCSTNC.js → FRWM5IG3.js} +2 -2
  87. package/dist/cdn/{I6WJTBZE.js → FUQVV2A2.js} +2 -2
  88. package/dist/cdn/{FZKIVUQB.js → G4LJNFYM.js} +2 -2
  89. package/dist/cdn/{FBOE3I4G.js → G6QKOIC3.js} +1 -1
  90. package/dist/cdn/{5IVIINA5.js → GAEJ5HFU.js} +2 -2
  91. package/dist/cdn/{BGVZRRYD.js → GAMA5POK.js} +2 -2
  92. package/dist/cdn/{SGELAQZB.js → GIFC4JVR.js} +2 -2
  93. package/dist/cdn/{VAJW6VHO.js → GIXSY4BR.js} +2 -2
  94. package/dist/cdn/{DLWNHCIC.js → GOA5YLU2.js} +2 -2
  95. package/dist/cdn/{2MEJHRFO.js → GORI3PEH.js} +2 -2
  96. package/dist/cdn/{H7KR33T3.js → GQ4WKTF7.js} +2 -2
  97. package/dist/cdn/{WV6XIGR5.js → GUDWO5BS.js} +2 -2
  98. package/dist/cdn/{VDXAXMQQ.js → H2YLKLLT.js} +2 -2
  99. package/dist/cdn/{DHGSQG2A.js → H4N2LOJC.js} +2 -2
  100. package/dist/cdn/{D4LUOEBA.js → H5LIABBP.js} +2 -2
  101. package/dist/cdn/{ABTMKRVJ.js → HSU3GPQP.js} +2 -2
  102. package/dist/cdn/{H2LVSZTD.js → HVSQINGB.js} +2 -2
  103. package/dist/cdn/{WRXHGV42.js → I3JNLTX5.js} +2 -2
  104. package/dist/cdn/{7XUMRV3E.js → IA3MP7VZ.js} +2 -2
  105. package/dist/cdn/{KLVAO5DQ.js → ICIDEUOH.js} +2 -2
  106. package/dist/cdn/{ACCIEJXQ.js → IEWQL27P.js} +2 -2
  107. package/dist/cdn/{EWCGWZJ4.js → IG6WNCNP.js} +2 -2
  108. package/dist/cdn/{ZNIHEFR6.js → IIYJUS23.js} +2 -2
  109. package/dist/cdn/{MZKJBS2W.js → IMF4Q3XO.js} +2 -2
  110. package/dist/cdn/{YOY7WV7V.js → IMJMO6DB.js} +1 -1
  111. package/dist/cdn/{OXICAUKC.js → IOLYPCQU.js} +2 -2
  112. package/dist/cdn/{GNG64LUW.js → IOWEOVC2.js} +2 -2
  113. package/dist/cdn/{7SVWJEZV.js → IQCO4BM2.js} +2 -2
  114. package/dist/cdn/{VEFURKN4.js → IS6KRCTL.js} +2 -2
  115. package/dist/cdn/{NNGNEI6E.js → IWDVITVS.js} +2 -2
  116. package/dist/cdn/{6373235H.js → IWNBXH2B.js} +2 -2
  117. package/dist/cdn/{AAWNRUDN.js → IZDIZDR2.js} +2 -2
  118. package/dist/cdn/{E5B3MW5W.js → J243VUNM.js} +2 -2
  119. package/dist/cdn/{3YV42LNU.js → JCC2EMIS.js} +1 -1
  120. package/dist/cdn/{F5C3JA2F.js → JIWL2ALW.js} +2 -2
  121. package/dist/cdn/{PC7DFF5I.js → K2TY4WFO.js} +2 -2
  122. package/dist/cdn/{DHEOI3PV.js → K42TNP5E.js} +2 -2
  123. package/dist/cdn/{E5A4KHIQ.js → K65G6PMF.js} +2 -2
  124. package/dist/cdn/{YCYER3PS.js → KAFZQ6Q7.js} +2 -2
  125. package/dist/cdn/{3FD5WUVT.js → KDERQ5BC.js} +2 -2
  126. package/dist/cdn/{6HLMIUX7.js → KEMPN67G.js} +2 -2
  127. package/dist/cdn/{XAUYZXSK.js → KLZYPDCV.js} +2 -2
  128. package/dist/cdn/{77H2HA6C.js → KMCX4DYO.js} +2 -2
  129. package/dist/cdn/{PNRHYJD4.js → KN5FNG4C.js} +2 -2
  130. package/dist/cdn/{IB6DGJ4W.js → KPMZL6ML.js} +2 -2
  131. package/dist/cdn/{S3TKKUTF.js → KUIKUDLN.js} +3 -3
  132. package/dist/cdn/{DYMZPO5A.js → KUN6CMFC.js} +2 -2
  133. package/dist/cdn/{CCITN2YE.js → KX2T2QL4.js} +2 -2
  134. package/dist/cdn/{KSWRTKBZ.js → L544AOWE.js} +2 -2
  135. package/dist/cdn/{GLQ6O35V.js → LBCER4UW.js} +2 -2
  136. package/dist/cdn/{7R3YAXGY.js → LCRW3PEI.js} +2 -2
  137. package/dist/cdn/{VHA3LPX7.js → LEVSZSFY.js} +2 -2
  138. package/dist/cdn/{HLHBH26W.js → LNNHLCD3.js} +2 -2
  139. package/dist/cdn/LRNYQCLY.js +4 -0
  140. package/dist/cdn/{BWF6NE7V.js → LTLSQSJE.js} +2 -2
  141. package/dist/cdn/{7WEGRSV3.js → MAC4JUTR.js} +2 -2
  142. package/dist/cdn/{IFBVP5G4.js → MBI7E6E7.js} +2 -2
  143. package/dist/cdn/{SJBAZSLT.js → MCGDLN7S.js} +2 -2
  144. package/dist/cdn/{TCWKMVWM.js → MDH7RKSD.js} +2 -2
  145. package/dist/cdn/{DXXXKT2Y.js → MJRAFROV.js} +2 -2
  146. package/dist/cdn/{VUC7WLFK.js → MZDMYDU4.js} +2 -2
  147. package/dist/cdn/{BLRPMGZV.js → N4PESHOC.js} +2 -2
  148. package/dist/cdn/{KRQY5Z7F.js → N6QGFORR.js} +2 -2
  149. package/dist/cdn/{D2IWUUKS.js → NH5RKAS6.js} +2 -2
  150. package/dist/cdn/{HKGHSD3V.js → NHIYFXOO.js} +2 -2
  151. package/dist/cdn/{7W6274N7.js → NLANOONT.js} +2 -2
  152. package/dist/cdn/{EMYX2ODO.js → NT3NDXYU.js} +2 -2
  153. package/dist/cdn/{YZKQ7W2O.js → O3RZTXG7.js} +2 -2
  154. package/dist/cdn/{KC2ER6DP.js → O5OTDKLP.js} +1 -1
  155. package/dist/cdn/{3AHK76JK.js → O7VLAV5Q.js} +2 -2
  156. package/dist/cdn/{YCOMK57V.js → P23FUP3W.js} +2 -2
  157. package/dist/cdn/{AUTS3P6Y.js → PA7ESG4Z.js} +2 -2
  158. package/dist/cdn/{KIDFJT3Q.js → PBNI5ZAX.js} +2 -2
  159. package/dist/cdn/{VPUO6FRY.js → PCWW2F2S.js} +2 -2
  160. package/dist/cdn/{IFN7NDID.js → PL5O53B2.js} +2 -2
  161. package/dist/cdn/{4EY5SG6S.js → PXNZ6E2J.js} +2 -2
  162. package/dist/cdn/{5ESCNDS2.js → Q2WGAXYS.js} +2 -2
  163. package/dist/cdn/{QO6MJ4UQ.js → QBSRKXFX.js} +2 -2
  164. package/dist/cdn/{IC7QMZJR.js → QCFF7JUG.js} +2 -2
  165. package/dist/cdn/{SWE4EAZM.js → QIIEJD5I.js} +2 -2
  166. package/dist/cdn/{4VVSDDFS.js → QKUM2EQ6.js} +2 -2
  167. package/dist/cdn/{KIT3P7WA.js → RBJOZT3J.js} +2 -2
  168. package/dist/cdn/{HSDGDSSP.js → REMJWTW4.js} +2 -2
  169. package/dist/cdn/{L7H5LLNT.js → RI4REYKF.js} +2 -2
  170. package/dist/cdn/{ASOPNZ3F.js → RJQ47A3R.js} +2 -2
  171. package/dist/cdn/{EY6I5BSF.js → RNRMSLW5.js} +1 -1
  172. package/dist/cdn/{RJCUTKAM.js → RPDMYNCK.js} +2 -2
  173. package/dist/cdn/{KEZ7HXBJ.js → RTAZEY75.js} +2 -2
  174. package/dist/cdn/{GIV7X7DK.js → RZY4XJWY.js} +2 -2
  175. package/dist/cdn/{5MCKOUHS.js → SMSVSO5E.js} +2 -2
  176. package/dist/cdn/{3K337XGB.js → SOIDK5AR.js} +2 -2
  177. package/dist/cdn/{JCKKNDO2.js → SOSGMUGW.js} +2 -2
  178. package/dist/cdn/{7CNB7UEP.js → SRDD32D4.js} +2 -2
  179. package/dist/cdn/{2OYQKD2H.js → SWTHXGOJ.js} +2 -2
  180. package/dist/cdn/{PLQZPBSU.js → T4XM52PU.js} +2 -2
  181. package/dist/cdn/{CZP4YC5G.js → TGZ3XADU.js} +2 -2
  182. package/dist/cdn/{YNU3DXDE.js → TKV3OKLM.js} +2 -2
  183. package/dist/cdn/{7YDPLBYC.js → TMRZOLVN.js} +2 -2
  184. package/dist/cdn/{M6BZFDEX.js → TT7BZQ2Q.js} +2 -2
  185. package/dist/cdn/{KMJDVWLF.js → TTCOYR5L.js} +2 -2
  186. package/dist/cdn/{JCZRHSYH.js → U6DMN4UJ.js} +2 -2
  187. package/dist/cdn/{LZF7HD3B.js → U6QOUCLD.js} +2 -2
  188. package/dist/cdn/{M52LJDTU.js → UGU3B33B.js} +2 -2
  189. package/dist/cdn/{OB5ANNXA.js → UP6I4A3O.js} +2 -2
  190. package/dist/cdn/{SG7YPHOG.js → UQ4XGISA.js} +2 -2
  191. package/dist/cdn/{UBH77VEB.js → US6ILUK7.js} +2 -2
  192. package/dist/cdn/{3AB6EZ2V.js → VAGASTI4.js} +2 -2
  193. package/dist/cdn/{V6XNMDCN.js → VFBMFZYP.js} +1 -1
  194. package/dist/cdn/{WWUOOCWJ.js → VMAGTPRA.js} +1 -1
  195. package/dist/cdn/{UD6AFMJ5.js → VPPXR63J.js} +2 -2
  196. package/dist/cdn/{3DG3B4XT.js → VY4RHRMP.js} +2 -2
  197. package/dist/cdn/{THLKURLD.js → W3TPBEO2.js} +2 -2
  198. package/dist/cdn/{I7AUMS67.js → W65VYONU.js} +2 -2
  199. package/dist/cdn/{M7Q2LJ2J.js → W6MWNWY6.js} +2 -2
  200. package/dist/cdn/{KE6WBU24.js → WLILPNB6.js} +2 -2
  201. package/dist/cdn/{YR24SQFW.js → WOP2H233.js} +2 -2
  202. package/dist/cdn/{4JY7OQ46.js → WSE2CQDZ.js} +2 -2
  203. package/dist/cdn/WTQUFCNB.js +4 -0
  204. package/dist/cdn/{S2ILQFZO.js → X4INSF6O.js} +2 -2
  205. package/dist/cdn/{MCXOCEQD.js → XFCP7X5C.js} +2 -2
  206. package/dist/cdn/{J76LDPKW.js → XGRTGJJX.js} +2 -2
  207. package/dist/cdn/{EA5I3IQE.js → XHRRPSUX.js} +2 -2
  208. package/dist/cdn/{67IOHZOL.js → XP7EXEUF.js} +2 -2
  209. package/dist/cdn/{QUWCTIBI.js → XVRHVMZD.js} +2 -2
  210. package/dist/cdn/{OZV6G4TS.js → XVXM6ZD2.js} +2 -2
  211. package/dist/cdn/{LR6ADLWP.js → XVZILEAA.js} +2 -2
  212. package/dist/cdn/{ELCNNKNH.js → XZBOYEJN.js} +2 -2
  213. package/dist/cdn/{HXP5RWVW.js → Y2THZUVL.js} +2 -2
  214. package/dist/cdn/{SEMLY5PC.js → Y42A452A.js} +2 -2
  215. package/dist/cdn/{M4VJRHSP.js → YE5RQY7Y.js} +2 -2
  216. package/dist/cdn/{LYAZ5V3E.js → YGEIZEOK.js} +1 -1
  217. package/dist/cdn/{B3S45DKV.js → YTCQIETJ.js} +2 -2
  218. package/dist/cdn/{OTJWHDR7.js → YUGLAN7O.js} +2 -2
  219. package/dist/cdn/{ST6SDT7S.js → ZARCWOO3.js} +2 -2
  220. package/dist/cdn/{KB2SPZND.js → ZBCYMOK3.js} +2 -2
  221. package/dist/cdn/{TJMDMQP6.js → ZDUDXEQ2.js} +2 -2
  222. package/dist/cdn/{S5PNJ47O.js → ZZGQVOKT.js} +2 -2
  223. package/dist/cdn/index.js +2 -2
  224. package/dist/chunks/AnalysisViewModel.js +1 -1
  225. package/dist/chunks/action-utils.js +1 -1
  226. package/dist/chunks/async-utils.js +1 -1
  227. package/dist/chunks/basemap-gallery-resources.js +1 -1
  228. package/dist/chunks/chart-utils.js +1 -1
  229. package/dist/chunks/chartCommon.js +1 -1
  230. package/dist/chunks/component-utils.js +1 -1
  231. package/dist/chunks/createCloseEvent.js +1 -1
  232. package/dist/chunks/esri-main.js +1 -1
  233. package/dist/chunks/feature-utils.js +1 -1
  234. package/dist/chunks/globalCss.js +1 -1
  235. package/dist/chunks/handle.js +1 -1
  236. package/dist/chunks/heading.js +1 -1
  237. package/dist/chunks/layer-list.js +1 -1
  238. package/dist/chunks/legacyIcon.js +1 -1
  239. package/dist/chunks/maybe.js +1 -1
  240. package/dist/chunks/measurementUtils.js +1 -1
  241. package/dist/chunks/runtime.js +1 -1
  242. package/dist/chunks/screenLocation.js +1 -1
  243. package/dist/chunks/slots.js +1 -1
  244. package/dist/chunks/svgUtils.js +1 -1
  245. package/dist/chunks/univariateUtils.js +1 -1
  246. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  247. package/dist/chunks/useHandles.js +1 -1
  248. package/dist/chunks/useT9n.js +1 -1
  249. package/dist/chunks/useView.js +1 -1
  250. package/dist/chunks/useViewModel.js +1 -1
  251. package/dist/chunks/useWidget.js +1 -1
  252. package/dist/chunks/utils.js +1 -1
  253. package/dist/chunks/utils2.js +1 -1
  254. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  255. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  256. package/dist/components/arcgis-attachments/customElement.js +1 -1
  257. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  258. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  259. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  260. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  261. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  262. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  263. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  264. package/dist/components/arcgis-compass/customElement.js +1 -1
  265. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  266. package/dist/components/arcgis-daylight/customElement.js +1 -1
  267. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  268. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  269. package/dist/components/arcgis-directions/customElement.js +1 -1
  270. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  271. package/dist/components/arcgis-editor/customElement.js +1 -1
  272. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  273. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  274. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  275. package/dist/components/arcgis-elevation-profile-next/customElement.js +1 -1
  276. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  277. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  278. package/dist/components/arcgis-expand/customElement.js +1 -1
  279. package/dist/components/arcgis-feature/customElement.js +1 -1
  280. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  281. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  282. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  283. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  284. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  285. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  286. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  287. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  288. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  289. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  290. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  291. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  292. package/dist/components/arcgis-features/customElement.js +2 -2
  293. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  294. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  295. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  296. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  297. package/dist/components/arcgis-home/customElement.js +1 -1
  298. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  299. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  300. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  301. package/dist/components/arcgis-legend/customElement.js +1 -1
  302. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  303. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  304. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  305. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  306. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  307. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  308. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  309. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  310. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  311. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  312. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  313. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  314. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  315. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  316. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  317. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  318. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  319. package/dist/components/arcgis-locate/customElement.js +1 -1
  320. package/dist/components/arcgis-map/customElement.js +1 -1
  321. package/dist/components/arcgis-measurement/customElement.js +1 -1
  322. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  323. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +12 -0
  324. package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
  325. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  326. package/dist/components/arcgis-placement/customElement.js +1 -1
  327. package/dist/components/arcgis-popup/customElement.js +1 -1
  328. package/dist/components/arcgis-print/customElement.js +1 -1
  329. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  330. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  331. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  332. package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
  333. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  334. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  335. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  336. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  337. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  338. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  339. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  340. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  341. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  342. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  343. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  344. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  345. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  346. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  347. package/dist/components/arcgis-scene/customElement.js +1 -1
  348. package/dist/components/arcgis-search/customElement.js +1 -1
  349. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  350. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  351. package/dist/components/arcgis-sketch/customElement.js +1 -1
  352. package/dist/components/arcgis-slice/customElement.js +1 -1
  353. package/dist/components/arcgis-spinner/customElement.js +1 -1
  354. package/dist/components/arcgis-swipe/customElement.js +1 -1
  355. package/dist/components/arcgis-table-list/customElement.js +1 -1
  356. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  357. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  358. package/dist/components/arcgis-track/customElement.js +1 -1
  359. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  360. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  361. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  362. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  363. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  364. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  365. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  366. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  367. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  368. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  369. package/dist/components/arcgis-version-management/customElement.js +1 -1
  370. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  371. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  372. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  373. package/dist/components/arcgis-video/customElement.js +1 -1
  374. package/dist/components/arcgis-video-player/customElement.js +1 -1
  375. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  376. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  377. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  378. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  379. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  380. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  381. package/dist/components/arcgis-weather/customElement.js +1 -1
  382. package/dist/components/arcgis-zoom/customElement.js +1 -1
  383. package/dist/docs/api.json +52 -2
  384. package/dist/docs/docs.json +47 -2
  385. package/dist/docs/vscode.html-custom-data.json +6 -1
  386. package/dist/docs/web-types.json +15 -2
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +2 -2
  389. package/dist/types/lumina.d.ts +1 -1
  390. package/dist/types/preact.d.ts +1 -1
  391. package/dist/types/preact10.d.ts +1 -1
  392. package/dist/types/react.d.ts +1 -1
  393. package/dist/types/stencil.d.ts +1 -1
  394. package/package.json +3 -3
  395. package/dist/cdn/C2BPLAUD.js +0 -4
  396. package/dist/cdn/IFJ37PEC.js +0 -4
  397. package/dist/cdn/W6RY4DNL.js +0 -4
  398. package/dist/cdn/ZPETCTQZ.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.5 */
4
- import g from"./THLKURLD.js";import f from"./KC2ER6DP.js";import{a as b}from"./BMPAEXYF.js";import e from"./H7KR33T3.js";import"./RYFGE5XT.js";import"./LULBUF4C.js";import d from"./ACCIEJXQ.js";import{a as E}from"./47DSSPLP.js";import c from"./4EY5SG6S.js";import a from"./PC7DFF5I.js";import{g as D}from"./7CNB7UEP.js";import"./NOE73SX4.js";import{b as $}from"./YOY7WV7V.js";import{H as m,I as _,J as k,K as l,M as h,N as B,P as O,a as T,b as n,s as F}from"./EY6I5BSF.js";import"./FBOE3I4G.js";export default $arcgis.t(([G,{substitute:g,formatNumber:C},{watch:v},{stripHTML:I},H,{renderingSanitizer:S},,,N,,{e:L},{a:P,d:R,e:V}])=>{var d="arcgis-features",o={base:d,container:`${d}__container`,contentContainer:`${d}__content-container`,contentFeature:`${d}__content-feature`,flowItemCollapsed:`${d}__flow-item--collapsed`,header:`${d}__header`,footer:`${d}__footer`,featureMenuObserver:`${d}__feature-menu-observer`,actionExit:`${d}__action--exit`,loader:`${d}__loader`,paginationText:`${d}__pagination-text`,paginationActionBar:`${d}__pagination-action-bar`,paginationMenuButton:`${d}__pagination-menu-button`,paginationPrevious:`${d}__pagination-previous`},W=T`:host{display:flex;overflow:hidden;flex:1 1 auto}.arcgis-features{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.arcgis-features img{image-orientation:from-image}.arcgis-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.arcgis-features__container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.arcgis-features__container calcite-list{width:100%}.arcgis-features__container:not(:empty){padding:var(--calcite-spacing-md)}.arcgis-features .arcgis-feature,.arcgis-features .arcgis-feature-relationship,.arcgis-features .arcgis-feature-utility-network-associations{background-color:transparent}.arcgis-features__heading{word-break:break-word;word-wrap:break-word}.arcgis-features__header,.arcgis-features__footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.arcgis-features__footer{flex:1}.arcgis-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-features__loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.arcgis-features__pagination-action-bar{flex:1}.arcgis-features__pagination-menu-button{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__content-feature{--calcite-flow-item-footer-padding: 0}.arcgis-features__feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-features__action--exit{transform:scaleX(-1)}`;function X(p){switch(p?.type){case"point":return p;case"extent":return p.center;case"polygon":return p.centroid;case"multipoint":case"polyline":return p.extent?.center;default:return null}}var y=P.clone();function q(p){return p?.declaredClass.startsWith("esri.layers.")??!1}var Q=N(G),A=class extends k{constructor(){super(...arguments),this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=m(),this._featureMenuViewportNode=m(),this._actionBarMenuNode=m(),this._flowContainerNode=m(),this.messages=E(),this._selectedFeatureComponent=m(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._openRelatedFeatureAbortController=null,this.flowItems=new H,this.viewModel=Q(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new H,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideFlow=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=D()("active","collapsed","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=F(),this.arcgisClose=F(),this.arcgisTriggerAction=F()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapsed:5,content:1,defaultPopupTemplateEnabled:5,featureCount:0,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,featuresTitle:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideFlow:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,position:1,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1,updateLocationEnabled:5,view:0,visible:5,closed:5}}static{this.styles=W}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get featuresTitle(){return this.heading}set featuresTitle(e){this.heading=e}get selectedDrillInFeature(){let e=Array.from(this.flowItems).at(-1);return e&&"graphic"in e?e.graphic??null:null}get selectedFeatureComponent(){return this._selectedFeatureComponent.value??null}get closed(){return!this.visible}set closed(e){this.visible=!e}async clear(){return this.viewModel.clear()}async close(){this.viewModel.visible=!1}async destroy(){await this.manager.destroy(),await this._destroySpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){return await this.viewModel.fetchFeatures(e,t)}async open(e){this.viewModel.open(e)}async next(){return this.viewModel.next()}async previous(){return this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if(!e.disabled)return e&&e.type==="toggle"&&(e.value=!e.value),await V(e,this.viewModel)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),v(()=>this.viewModel?.view,()=>this._viewChange()),v(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),v(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),v(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),v(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),v(()=>this.referenceElement,(e,t)=>{this._destroySpinner(t),this._createSpinner()},{initial:!0}),v(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.view],()=>void this._createSpinner(),{initial:!0})])}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(i=>{let a=i?.graphic;if(!a)return;let s=L(a),r=q(s)?s:null,c=t.get(r)??[];t.set(r,[...c,i])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;this._openRelatedFeatureAbortController=t,await e.updateGeometry();let i=e.graphic,a=i?.geometry;if(a==null||i==null)return;this._removeFlowItems(),await this.viewModel.zoomTo({target:a});let s=X(a);s!=null&&(this.location=s),this.features=[i],this.visible=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:i}=this,{id:a}=e,s=i?.attributes,r=e.title??"",c=a==="zoom-to-feature"?g(r,{messages:t}):a==="remove-selected-feature"?g(r,{messages:t}):a==="zoom-to-clustered-features"?g(r,{messages:t}):a==="browse-clustered-features"?g(r,{messages:t}):e.title;return c&&s?g(c,s):c??""}_onMainKeydown(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),t==="ArrowRight"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.next(),this.setFocus())}_featureMenuViewportScrollTop(){this._featureMenuViewportNode&&this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.viewModel.visible=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems.removeAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":return"";case"feature-relationship":return e.allItemsDescription;case"feature-utility-network-association-type":return""}}_handleDrillInBackClick(){this.flowItems?.pop()}_getHeading(){let{hideHeading:e}=this,{title:t,selectedFeatureViewModel:i}=this.viewModel;return i&&!e?i?.state==="error"?this.messages?.errorMessage??"":i?.title||"":!e&&t?t:""}async _destroySpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl)}async _createSpinner(){let e=this.referenceElement;e&&(await this._destroySpinner(e),this._spinnerEl=B(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel?.waitingForResult} .location=${this.viewModel?.location??void 0} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return n`<div class=${l(o.base)} @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.header)}>${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.footer)} slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a}=t;return n`<div class=${l(o.paginationText)}>${g(e.pageText??"",{index:C(a+1),total:C(i)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a,pendingPromisesCount:s}=t;return n`<calcite-action appearance=solid class=${l(o.paginationMenuButton)} icon=list .label=${e.selectFeature} .loading=${s>0} @click=${this._handlePaginationMenuButton} scale=s .text=${g(e.pageText??"",{index:C(a+1),total:C(i)})} text-enabled title=${e.selectFeature??h}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return n`<calcite-action-bar class=${l(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${l(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} scale=s .text=${e??""} title=${e??""??h}></calcite-action><calcite-action appearance=solid icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} scale=s .text=${t??""} title=${t??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:i,featureViewModels:a}=this.viewModel,s=e===i,r=a.indexOf(e);return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(r)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(r)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(r)}><span .innerHTML=${(S.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),s=>{let r=i.get(s)?.map(u=>this._renderFeatureMenuItem(u)),c=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&c!==null?b(s??"map-graphics",n`<calcite-list-item-group .heading=${c}>${r}</calcite-list-item-group>`):r})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??h}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:i,_collapseEnabled:a,featureNavigationTop:s,flowItems:r,initialDisplayMode:c,selectedFeature:u,featureMenuOpen:f}=this,{active:w}=this.viewModel,M=this._getHeading();if(c==="list"&&!u)return null;let x=r.length===0&&(c==="list"?!!u:!f);return n`<calcite-flow-item class=${l($({[o.contentFeature]:!0,[o.flowItemCollapsed]:i}))} .closable=${!t} .closed=${!w} .collapsed=${i} .collapseDirection=${s?"down":"up"} .collapsible=${a} .headingLevel=${e} .selected=${x} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${I(M)} ${_(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${l($(o.container,o.contentContainer))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:r,selectedFeature:c,_collapseEnabled:u,_isCollapsed:f,featureNavigationTop:w,headingLevel:M}=this,{active:x,featureViewModels:z,pendingPromisesCount:Z}=e,j=i??a.selectFeature;if(s==="feature"&&!r)return null;let K=s==="list"?!c:r;return n`<calcite-flow-item class=${l($({[o.flowItemCollapsed]:f}))} .closable=${s==="list"&&!t} .closed=${!x} .collapsed=${s==="list"&&f} .collapseDirection=${w?"down":"up"} .collapsible=${s==="list"&&u} .description=${this.hideFeatureMenuHeading?void 0:g(a.total??"",{total:z.length})} .heading=${this.hideFeatureMenuHeading?void 0:j} .headingLevel=${M} .loading=${e.waitingForContents} .selected=${K} @calciteFlowItemBack=${U=>{U.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${_(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${Z>0?n`<calcite-loader class=${l(o.loader)} inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class=${l(o.container)}>${this._renderFeatureMenu()}</div><div class=${l(o.featureMenuObserver)} ${_(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-actions width=full>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:i,hideCloseButton:a,active:s}=this,r="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,c=e.flowType==="feature-association",u=i.returnToInitialFeature??"",f=i?.selectFeature,w=this._getActionTitle(y);return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${I(this._getDrillInFlowItemDescription(e)??"")} .heading=${this.hideHeading?void 0:I(e.heading??"")} .selected=${t} @calciteFlowItemBack=${M=>{M.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action appearance=transparent class=${l(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${u??""} title=${u??""??h}></calcite-action>${r?n`<calcite-action appearance=transparent icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${f??""} title=${f??h}></calcite-action>`:null}${c?n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action appearance=solid .disabled=${y.disabled} .icon=${y.icon??void 0} .loading=${y.active} scale=s text-enabled .text=${w} title=${w??h} @click=${()=>R(this.viewModel,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class=${l(o.container)}>${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((a,s)=>this._renderFlowItem(a,this.initialDisplayMode==="list"||!this.featureMenuOpen&&s===e.length-1)),i=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return this.hideFlow?i:n`<calcite-flow ${_(this._flowContainerNode)}>${i}</calcite-flow>`}_renderActionBar(){return!this._isCollapsed&&!this.hideActionBar&&this.viewModel.allActions?.length?n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${_(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??h} .hidden=${!e.visible} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?b(t,n`<arcgis-feature .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${_(this._selectedFeatureComponent)}></arcgis-feature>`):typeof e=="string"?b(e,n`<div .innerHTML=${S.sanitize(e)??""}></div>`):e??null}};O("arcgis-features",A);return A},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils",a,c,d,e,f,g)
3
+ v4.34.7 */
4
+ import g from"./W3TPBEO2.js";import f from"./O5OTDKLP.js";import{a as b}from"./2OQE7PDH.js";import e from"./GQ4WKTF7.js";import"./D7F7K3QC.js";import"./CAGG7IOD.js";import d from"./IEWQL27P.js";import{a as E}from"./B7UYEEQJ.js";import c from"./PXNZ6E2J.js";import a from"./K2TY4WFO.js";import{g as D}from"./SRDD32D4.js";import"./EPSDPGVP.js";import{b as $}from"./IMJMO6DB.js";import{H as m,I as _,J as k,K as l,M as h,N as B,P as O,a as T,b as n,s as F}from"./RNRMSLW5.js";import"./G6QKOIC3.js";export default $arcgis.t(([G,{substitute:g,formatNumber:C},{watch:v},{stripHTML:I},H,{renderingSanitizer:S},,,N,,{e:L},{a:P,d:R,e:V}])=>{var d="arcgis-features",o={base:d,container:`${d}__container`,contentContainer:`${d}__content-container`,contentFeature:`${d}__content-feature`,flowItemCollapsed:`${d}__flow-item--collapsed`,header:`${d}__header`,footer:`${d}__footer`,featureMenuObserver:`${d}__feature-menu-observer`,actionExit:`${d}__action--exit`,loader:`${d}__loader`,paginationText:`${d}__pagination-text`,paginationActionBar:`${d}__pagination-action-bar`,paginationMenuButton:`${d}__pagination-menu-button`,paginationPrevious:`${d}__pagination-previous`},W=T`:host{display:flex;overflow:hidden;flex:1 1 auto}.arcgis-features{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.arcgis-features img{image-orientation:from-image}.arcgis-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.arcgis-features__container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.arcgis-features__container calcite-list{width:100%}.arcgis-features__container:not(:empty){padding:var(--calcite-spacing-md)}.arcgis-features .arcgis-feature,.arcgis-features .arcgis-feature-relationship,.arcgis-features .arcgis-feature-utility-network-associations{background-color:transparent}.arcgis-features__heading{word-break:break-word;word-wrap:break-word}.arcgis-features__header,.arcgis-features__footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.arcgis-features__footer{flex:1}.arcgis-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-features__loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.arcgis-features__pagination-action-bar{flex:1}.arcgis-features__pagination-menu-button{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__content-feature{--calcite-flow-item-footer-padding: 0}.arcgis-features__feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-features__action--exit{transform:scaleX(-1)}`;function X(p){switch(p?.type){case"point":return p;case"extent":return p.center;case"polygon":return p.centroid;case"multipoint":case"polyline":return p.extent?.center;default:return null}}var y=P.clone();function q(p){return p?.declaredClass.startsWith("esri.layers.")??!1}var Q=N(G),A=class extends k{constructor(){super(...arguments),this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=m(),this._featureMenuViewportNode=m(),this._actionBarMenuNode=m(),this._flowContainerNode=m(),this.messages=E(),this._selectedFeatureComponent=m(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._openRelatedFeatureAbortController=null,this.flowItems=new H,this.viewModel=Q(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new H,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideFlow=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=D()("active","collapsed","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=F(),this.arcgisClose=F(),this.arcgisTriggerAction=F()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapsed:5,content:1,defaultPopupTemplateEnabled:5,featureCount:0,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,featuresTitle:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideFlow:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,position:1,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1,updateLocationEnabled:5,view:0,visible:5,closed:5}}static{this.styles=W}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get featuresTitle(){return this.heading}set featuresTitle(e){this.heading=e}get selectedDrillInFeature(){let e=Array.from(this.flowItems).at(-1);return e&&"graphic"in e?e.graphic??null:null}get selectedFeatureComponent(){return this._selectedFeatureComponent.value??null}get closed(){return!this.visible}set closed(e){this.visible=!e}async clear(){return this.viewModel.clear()}async close(){this.viewModel.visible=!1}async destroy(){await this.manager.destroy(),await this._destroySpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){return await this.viewModel.fetchFeatures(e,t)}async open(e){this.viewModel.open(e)}async next(){return this.viewModel.next()}async previous(){return this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if(!e.disabled)return e&&e.type==="toggle"&&(e.value=!e.value),await V(e,this.viewModel)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),v(()=>this.viewModel?.view,()=>this._viewChange()),v(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),v(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),v(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),v(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),v(()=>this.referenceElement,(e,t)=>{this._destroySpinner(t),this._createSpinner()},{initial:!0}),v(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.view],()=>void this._createSpinner(),{initial:!0})])}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(i=>{let a=i?.graphic;if(!a)return;let s=L(a),r=q(s)?s:null,c=t.get(r)??[];t.set(r,[...c,i])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;this._openRelatedFeatureAbortController=t,await e.updateGeometry();let i=e.graphic,a=i?.geometry;if(a==null||i==null)return;this._removeFlowItems(),await this.viewModel.zoomTo({target:a});let s=X(a);s!=null&&(this.location=s),this.features=[i],this.visible=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:i}=this,{id:a}=e,s=i?.attributes,r=e.title??"",c=a==="zoom-to-feature"?g(r,{messages:t}):a==="remove-selected-feature"?g(r,{messages:t}):a==="zoom-to-clustered-features"?g(r,{messages:t}):a==="browse-clustered-features"?g(r,{messages:t}):e.title;return c&&s?g(c,s):c??""}_onMainKeydown(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),t==="ArrowRight"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.next(),this.setFocus())}_featureMenuViewportScrollTop(){this._featureMenuViewportNode&&this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.viewModel.visible=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems.removeAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":return"";case"feature-relationship":return e.allItemsDescription;case"feature-utility-network-association-type":return""}}_handleDrillInBackClick(){this.flowItems?.pop()}_getHeading(){let{hideHeading:e}=this,{title:t,selectedFeatureViewModel:i}=this.viewModel;return i&&!e?i?.state==="error"?this.messages?.errorMessage??"":i?.title||"":!e&&t?t:""}async _destroySpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl)}async _createSpinner(){let e=this.referenceElement;e&&(await this._destroySpinner(e),this._spinnerEl=B(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel?.waitingForResult} .location=${this.viewModel?.location??void 0} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return n`<div class=${l(o.base)} @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.header)}>${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.footer)} slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a}=t;return n`<div class=${l(o.paginationText)}>${g(e.pageText??"",{index:C(a+1),total:C(i)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a,pendingPromisesCount:s}=t;return n`<calcite-action appearance=solid class=${l(o.paginationMenuButton)} icon=list .label=${e.selectFeature} .loading=${s>0} @click=${this._handlePaginationMenuButton} scale=s .text=${g(e.pageText??"",{index:C(a+1),total:C(i)})} text-enabled title=${e.selectFeature??h}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return n`<calcite-action-bar class=${l(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${l(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} scale=s .text=${e??""} title=${e??""??h}></calcite-action><calcite-action appearance=solid icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} scale=s .text=${t??""} title=${t??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:i,featureViewModels:a}=this.viewModel,s=e===i,r=a.indexOf(e);return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(r)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(r)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(r)}><span .innerHTML=${(S.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),s=>{let r=i.get(s)?.map(u=>this._renderFeatureMenuItem(u)),c=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&c!==null?b(s??"map-graphics",n`<calcite-list-item-group .heading=${c}>${r}</calcite-list-item-group>`):r})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??h}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:i,_collapseEnabled:a,featureNavigationTop:s,flowItems:r,initialDisplayMode:c,selectedFeature:u,featureMenuOpen:f}=this,{active:w}=this.viewModel,M=this._getHeading();if(c==="list"&&!u)return null;let x=r.length===0&&(c==="list"?!!u:!f);return n`<calcite-flow-item class=${l($({[o.contentFeature]:!0,[o.flowItemCollapsed]:i}))} .closable=${!t} .closed=${!w} .collapsed=${i} .collapseDirection=${s?"down":"up"} .collapsible=${a} .headingLevel=${e} .selected=${x} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${I(M)} ${_(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${l($(o.container,o.contentContainer))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:r,selectedFeature:c,_collapseEnabled:u,_isCollapsed:f,featureNavigationTop:w,headingLevel:M}=this,{active:x,featureViewModels:z,pendingPromisesCount:Z}=e,j=i??a.selectFeature;if(s==="feature"&&!r)return null;let K=s==="list"?!c:r;return n`<calcite-flow-item class=${l($({[o.flowItemCollapsed]:f}))} .closable=${s==="list"&&!t} .closed=${!x} .collapsed=${s==="list"&&f} .collapseDirection=${w?"down":"up"} .collapsible=${s==="list"&&u} .description=${this.hideFeatureMenuHeading?void 0:g(a.total??"",{total:z.length})} .heading=${this.hideFeatureMenuHeading?void 0:j} .headingLevel=${M} .loading=${e.waitingForContents} .selected=${K} @calciteFlowItemBack=${U=>{U.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${_(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${Z>0?n`<calcite-loader class=${l(o.loader)} inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class=${l(o.container)}>${this._renderFeatureMenu()}</div><div class=${l(o.featureMenuObserver)} ${_(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-actions width=full>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:i,hideCloseButton:a,active:s}=this,r="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,c=e.flowType==="feature-association",u=i.returnToInitialFeature??"",f=i?.selectFeature,w=this._getActionTitle(y);return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${I(this._getDrillInFlowItemDescription(e)??"")} .heading=${this.hideHeading?void 0:I(e.heading??"")} .selected=${t} @calciteFlowItemBack=${M=>{M.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action appearance=transparent class=${l(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${u??""} title=${u??""??h}></calcite-action>${r?n`<calcite-action appearance=transparent icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${f??""} title=${f??h}></calcite-action>`:null}${c?n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action appearance=solid .disabled=${y.disabled} .icon=${y.icon??void 0} .loading=${y.active} scale=s text-enabled .text=${w} title=${w??h} @click=${()=>R(this.viewModel,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class=${l(o.container)}>${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((a,s)=>this._renderFlowItem(a,this.initialDisplayMode==="list"||!this.featureMenuOpen&&s===e.length-1)),i=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return this.hideFlow?i:n`<calcite-flow ${_(this._flowContainerNode)}>${i}</calcite-flow>`}_renderActionBar(){return!this._isCollapsed&&!this.hideActionBar&&this.viewModel.allActions?.length?n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${_(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??h} .hidden=${!e.visible} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?b(t,n`<arcgis-feature .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .location=${this.location} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${_(this._selectedFeatureComponent)}></arcgis-feature>`):typeof e=="string"?b(e,n`<div .innerHTML=${S.sanitize(e)??""}></div>`):e??null}};O("arcgis-features",A);return A},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils",a,c,d,e,f,g)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.5 */
4
- import{R as e}from"./5TNICRYE.js";import"./V6XNMDCN.js";import{V as t}from"./H2LVSZTD.js";import"./FBOE3I4G.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
3
+ v4.34.7 */
4
+ import{R as e}from"./5TABOPO2.js";import"./VFBMFZYP.js";import{V as t}from"./HVSQINGB.js";import"./G6QKOIC3.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.5 */
4
- import b from"./KC2ER6DP.js";import a from"./H7KR33T3.js";import{a as T}from"./RYFGE5XT.js";import{J as C,K as k,P as M,a as A,b as m}from"./EY6I5BSF.js";import"./FBOE3I4G.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)
3
+ v4.34.7 */
4
+ import b from"./O5OTDKLP.js";import a from"./GQ4WKTF7.js";import{a as T}from"./D7F7K3QC.js";import{J as C,K as k,P as M,a as A,b as m}from"./RNRMSLW5.js";import"./G6QKOIC3.js";export default $arcgis.t(([{watch:K,when:Q},X,Y,Z,{compileExpression:ee},{a:x,d:j},{q:J}])=>{var te=typeof global=="object"&&global&&global.Object===Object&&global,ie=typeof self=="object"&&self&&self.Object===Object&&self,U=te||ie||Function("return this")(),b=U.Symbol,q=Object.prototype,ne=q.hasOwnProperty,ae=q.toString,y=b?b.toStringTag:void 0;function re(e){var t=ne.call(e,y),n=e[y];try{e[y]=void 0;var i=!0}catch{}var a=ae.call(e);return i&&(t?e[y]=n:delete e[y]),a}var se=Object.prototype,oe=se.toString;function le(e){return oe.call(e)}var ce="[object Null]",ue="[object Undefined]",N=b?b.toStringTag:void 0;function fe(e){return e==null?e===void 0?ue:ce:N&&N in Object(e)?re(e):le(e)}function pe(e){return e!=null&&typeof e=="object"}var de="[object Symbol]";function he(e){return typeof e=="symbol"||pe(e)&&fe(e)==de}var me=/\s/;function ve(e){for(var t=e.length;t--&&me.test(e.charAt(t)););return t}var ge=/^\s+/;function ye(e){return e&&e.slice(0,ve(e)+1).replace(ge,"")}function $(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var R=NaN,_e=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,xe=/^0o[0-7]+$/i,be=parseInt;function W(e){if(typeof e=="number")return e;if(he(e))return R;if($(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ye(e);var n=Te.test(e);return n||xe.test(e)?be(e.slice(2),n?2:8):_e.test(e)?R:+e}var I=function(){return U.Date.now()},$e="Expected a function",we=Math.max,ke=Math.min;function je(e,t,n){var i,a,o,l,r,c,f=0,v=!1,p=!1,h=!0;if(typeof e!="function")throw new TypeError($e);t=W(t)||0,$(n)&&(v=!!n.leading,p="maxWait"in n,o=p?we(W(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function u(s){var d=i,g=a;return i=a=void 0,f=s,l=e.apply(g,d),l}function z(s){return f=s,r=setTimeout(_,t),v?u(s):l}function B(s){var d=s-c,g=s-f,L=t-d;return p?ke(L,o-g):L}function S(s){var d=s-c,g=s-f;return c===void 0||d>=t||d<0||p&&g>=o}function _(){var s=I();if(S(s))return E(s);r=setTimeout(_,B(s))}function E(s){return r=void 0,h&&i?u(s):(i=a=void 0,l)}function G(){r!==void 0&&clearTimeout(r),f=0,i=c=a=r=void 0}function H(){return r===void 0?l:E(I())}function w(){var s=I(),d=S(s);if(i=arguments,a=this,c=s,d){if(r===void 0)return z(c);if(p)return clearTimeout(r),r=setTimeout(_,t),u(c)}return r===void 0&&(r=setTimeout(_,t)),l}return w.cancel=G,w.flush=H,w}var Ie="Expected a function";function F(e,t,n){var i=!0,a=!0;if(typeof e!="function")throw new TypeError(Ie);return $(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),je(e,t,{leading:i,maxWait:t,trailing:a})}var Oe=A`.arcgis-feature-expression__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}`,V=1,D="arcgis-feature",P={base:`${D}-expression`,loadingSpinnerContainer:`${D}__loading-container`},O=class extends C{constructor(){super(...arguments),this._compileThrottled=F(this._startCompile,V),this._evaluateThrottled=F(this._startEvaluate,V),this.headingLevel=2}static{this.properties={_compileTask:16,_evaluateTask:16,values:0,fieldInfoMap:0,expressionInfo:0,graphic:0,headingLevel:9,interceptor:0,location:0,messages:0,spatialReference:0,map:0,view:0}}static{this.styles=Oe}loaded(){this.manager.onLifecycle(()=>[K(()=>[this.expressionInfo,this.graphic],()=>this._compileThrottled(),{initial:!0}),Q(()=>{if(!this._compileTask?.finished)return null;let t=this._compileTask.value,n=t?.dependencies,{view:i}=this;return[t,this.spatialReference,this.map,i,n?.has("view-scale")&&i&&"scale"in i?i.scale:null,n?.has("view-time-extent")?i?.timeExtent?.start:null,n?.has("view-time-extent")?i?.timeExtent?.end:null]},([t])=>this._evaluateThrottled(t)),{remove:()=>this._cancelThrottles()}])}_cancelThrottles(){this._compileThrottled.cancel(),this._evaluateThrottled.cancel()}_startCompile(){this._evaluateTask=T(this._evaluateTask),this._compileTask=T(this._compileTask),this._compileTask=j(async t=>{let{expressionInfo:n,graphic:i}=this,a=n?.expression;if(!a||!i)return null;let o=await ee({expression:a,graphic:i});return x(t),o})}_startEvaluate(t){this._evaluateTask=T(this._evaluateTask),this._evaluateTask=j(async n=>{let{graphic:i}=this;if(!t||!i)return null;let{interceptor:a,spatialReference:o,map:l,location:r,view:c}=this,f=await t.evaluate({graphic:i,interceptor:a,location:r,map:l,options:{signal:n},spatialReference:o,view:c});x(n);let v=f&&"castAsJsonAsync"in f&&typeof f.castAsJsonAsync=="function"?f:null;if(!v)return null;let p=await v.castAsJsonAsync(n);x(n);let h=p?.type,u=h==="media"?X.fromJSON(p):h==="text"?Z.fromJSON(p):h==="fields"?Y.fromJSON(p):null;return!u||u.type==="media"&&!u.mediaInfos||u.type==="fields"&&!u.fieldInfos||u.type==="text"&&!u.text?null:u})}render(){let t=!this._compileTask?.finished||!this._evaluateTask?.finished;return m`<div class=${k(P.base)}>${t?this._renderLoading():this._evaluateTask?.value?this._renderContent():null}</div>`}_renderContent(){let{values:t,fieldInfoMap:n}=this,i=this._evaluateTask?.value,a=i?.type;if(!a)return null;if(a==="text"){let o=J({values:t,fieldInfoMap:n??new Map,globalValues:t??{},layer:void 0,text:i.text});return m`<arcgis-feature-content .creator=${o} .graphic=${this.graphic}></arcgis-feature-content>`}else if(a==="media"){let{title:o,description:l,mediaInfos:r}=i;if(!r?.length)return null;let c={...t,...i.attributes};return m`<arcgis-feature-media .heading=${o??""} .values=${c} .formattedValues=${c} .description=${l??""} .mediaInfos=${r} .messages=${this.messages} .headingLevel=${this.headingLevel}></arcgis-feature-media>`}else if(a==="fields"){let{title:o,description:l,fieldInfos:r}=i;return r?.length?m`<arcgis-feature-fields .fieldInfos=${r} .heading=${o??""} .description=${l??""} .headingLevel=${this.headingLevel} .messages=${this.messages}></arcgis-feature-fields>`:null}return null}_renderLoading(){return m`<div class=${k(P.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}};M("arcgis-feature-expression",O);return O},"core/reactiveUtils","popup/content/MediaContent","popup/content/FieldsContent","popup/content/TextContent","applications/Components/arcadeFeatureUtils",a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.5 */
4
- import{a as t}from"./BQ64FTXV.js";import{a as _}from"./VOGE7KLM.js";import{g as u}from"./NOE73SX4.js";import{b as y}from"./YOY7WV7V.js";import{J as g,K as i,M as o,P as b,Q as f,a as d,b as r}from"./EY6I5BSF.js";import"./FBOE3I4G.js";export default $arcgis.t(([{watch:h}])=>{function C(a){return a.portalItem?.type==="Web Scene"||a.referenceLayers.some(e=>e.type==="scene")}function M(a){return!!a?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}var S=d`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}:host{container-type:inline-size}.basemap-gallery__empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.basemap-gallery__item{box-sizing:border-box;cursor:pointer;border:1px solid var(--calcite-color-background);flex-direction:row;width:100%;transition:background-color .25s ease-in-out,border-color .25s ease-in-out;animation:.5s ease-in-out esri-fade-in;display:flex;position:relative}.basemap-gallery__item:hover{background-color:var(--calcite-color-foreground-3);border-color:var(--calcite-color-background-inverse)}.basemap-gallery__item:hover .basemap-gallery__item-title{color:var(--calcite-color-text-1)}.basemap-gallery__item:focus{outline:none}.basemap-gallery__item--error{opacity:var(--calcite-opacity-light);background-color:var(--calcite-color-transparent)!important;border-color:var(--calcite-color-transparent)!important;cursor:auto}.basemap-gallery__item-thumbnail{aspect-ratio:1.5;border-inline-end:1px solid var(--calcite-color-border-1);flex-shrink:0;width:120px;min-width:120px;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}.basemap-gallery__item-title{color:var(--calcite-color-text-3);justify-content:flex-start;align-items:center;width:100%;height:100%;font-size:var(--calcite-font-size-sm);transition:color .25s ease-in-out,font-weight .25s ease-in-out;display:flex}.basemap-gallery__item-title span{text-align:start;text-overflow:ellipsis;word-wrap:break-word;word-break:break-word;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;display:-webkit-box;overflow:hidden}.basemap-gallery__item--selected,.basemap-gallery__item--selected:hover,.basemap-gallery__item--selected:focus{cursor:auto;background-color:color-mix(in srgb,var(--calcite-color-brand-underline),70% transparent);border-color:var(--calcite-color-status-info)!important}.basemap-gallery__item--selected .basemap-gallery__item-title,.basemap-gallery__item.basemap-gallery__item--selected:hover .basemap-gallery__item-title,.basemap-gallery__item.basemap-gallery__item--selected:focus .basemap-gallery__item-title{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.basemap-gallery__item-content{flex-direction:column;gap:var(--calcite-spacing-md);min-width:0;padding-block:var(--calcite-spacing-base);padding-inline:var(--calcite-spacing-md);display:flex}.basemap-gallery__item-tags-container{flex-direction:row;gap:var(--calcite-spacing-base);display:flex}.basemap-gallery__item-tags-container calcite-chip{--calcite-font-size--2: var(--calcite-font-size--3);cursor:inherit}@supports (object-fit: cover){.basemap-gallery__item-thumbnail{object-fit:cover}}@container (width>=200px) and (width <= 300px){.basemap-gallery__item{align-items:center}.basemap-gallery__item:not(.basemap-gallery__item--selected,:hover){border-color:var(--calcite-color-transparent)}}@container (width>=200px) and (width <= 278px){.basemap-gallery__item-thumbnail{aspect-ratio:1;width:80px;min-width:80px}}@container (width<200px) or (width>=350px){.basemap-gallery__item{text-align:center;flex-flow:column wrap}.basemap-gallery__item:not(.basemap-gallery .basemap-gallery__item--selected,:hover){border-color:var(--calcite-color-border-1)}.basemap-gallery__item-thumbnail{border-block-end:1px solid var(--calcite-color-border-1);border-inline-end:none;width:100%;min-width:0;height:auto}.basemap-gallery__item-content{height:32px;padding-block:var(--calcite-spacing-xxs);padding-inline:var(--calcite-spacing-xs);position:relative}.basemap-gallery__item-tags-container{position:absolute;inset-block-end:45px;inset-inline-end:5px}}`,l=class extends g{constructor(){super(...arguments),this._itemState="loading",this._isActive=!1}static{this.properties={_itemState:16,_isActive:16,disabled:5,item:0,itemIndex:9,viewModel:0,messages:0}}static{this.styles=S}loaded(){this.manager.onLifecycle(()=>[h(()=>this.item.state,e=>{this._itemState=e},{sync:!0}),h(()=>this.viewModel.activeBasemap,e=>{this._isActive=this.item.basemap.id===e?.id,this._isActive&&(u(this)?.focus(),this.el.scrollIntoView({block:"nearest"}))},{initial:!0,sync:!0})])}render(){let{item:e,itemIndex:n,viewModel:v,messages:x}=this;if(!e.basemap)return null;let w=e.basemap.thumbnailUrl||f("./assets/basemap-gallery/images/basemap-toggle-64.svg"),c=e.basemap.title,k=e.basemap.portalItem?.snippet,$=e.error?.message||k||c,{state:I,activeBasemapIndex:p}=this.viewModel,z=this.disabled||I==="disabled",s=p===n,A=s||p===-1&&n===0?0:-1,B={[t.selectedItem]:s,[t.itemError]:e.state==="error"},m=`basemapgallery-item-${e.uid}`;return r`<div .ariaChecked=${s} .ariaDisabled=${z} aria-labelledby=${m??o} class=${i(y(t.item,B))} role=radio tabindex=${A??o} title=${$??o} @click=${()=>{e.state==="ready"&&(v.activeBasemap=e.basemap)}}><img alt class=${i(t.itemThumbnail)} src=${w??o}><div class=${i(t.itemContent)}><div class=${i(t.itemTitle)}><span id=${m??o}>${c}</span></div>${C(e.basemap)?Y(e.basemap,x):null}</div>${e.state!=="loading"?null:r`<calcite-scrim><span aria-hidden=true class=${i(_.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}};function Y(a,e){return r`<div class=${i(t.itemTagsContainer)}>${D(e)}${M(a)?L(e):null}</div>`}function D(a){return r`<calcite-chip scale=s .label=${a.tag3D}>${a.tag3D}</calcite-chip>`}function L(a){return r`<calcite-chip appearance=outline-fill scale=s .label=${a.tagBeta}>${a.tagBeta}</calcite-chip>`}b("arcgis-basemap-gallery-item",l);return l},"core/reactiveUtils")
3
+ v4.34.7 */
4
+ import{a as t}from"./7222OSW2.js";import{a as _}from"./2Z6ISORA.js";import{g as u}from"./EPSDPGVP.js";import{b as y}from"./IMJMO6DB.js";import{J as g,K as i,M as o,P as b,Q as f,a as d,b as r}from"./RNRMSLW5.js";import"./G6QKOIC3.js";export default $arcgis.t(([{watch:h}])=>{function C(a){return a.portalItem?.type==="Web Scene"||a.referenceLayers.some(e=>e.type==="scene")}function M(a){return!!a?.portalItem?.tags?.some(e=>e.toLowerCase()==="beta")}var S=d`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media (prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media (prefers-reduced-motion: reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}:host{container-type:inline-size}.basemap-gallery__empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.basemap-gallery__item{box-sizing:border-box;cursor:pointer;border:1px solid var(--calcite-color-background);flex-direction:row;width:100%;transition:background-color .25s ease-in-out,border-color .25s ease-in-out;animation:.5s ease-in-out esri-fade-in;display:flex;position:relative}.basemap-gallery__item:hover{background-color:var(--calcite-color-foreground-3);border-color:var(--calcite-color-background-inverse)}.basemap-gallery__item:hover .basemap-gallery__item-title{color:var(--calcite-color-text-1)}.basemap-gallery__item:focus{outline:none}.basemap-gallery__item--error{opacity:var(--calcite-opacity-light);background-color:var(--calcite-color-transparent)!important;border-color:var(--calcite-color-transparent)!important;cursor:auto}.basemap-gallery__item-thumbnail{aspect-ratio:1.5;border-inline-end:1px solid var(--calcite-color-border-1);flex-shrink:0;width:120px;min-width:120px;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}.basemap-gallery__item-title{color:var(--calcite-color-text-3);justify-content:flex-start;align-items:center;width:100%;height:100%;font-size:var(--calcite-font-size-sm);transition:color .25s ease-in-out,font-weight .25s ease-in-out;display:flex}.basemap-gallery__item-title span{text-align:start;text-overflow:ellipsis;word-wrap:break-word;word-break:break-word;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;display:-webkit-box;overflow:hidden}.basemap-gallery__item--selected,.basemap-gallery__item--selected:hover,.basemap-gallery__item--selected:focus{cursor:auto;background-color:color-mix(in srgb,var(--calcite-color-brand-underline),70% transparent);border-color:var(--calcite-color-status-info)!important}.basemap-gallery__item--selected .basemap-gallery__item-title,.basemap-gallery__item.basemap-gallery__item--selected:hover .basemap-gallery__item-title,.basemap-gallery__item.basemap-gallery__item--selected:focus .basemap-gallery__item-title{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.basemap-gallery__item-content{flex-direction:column;gap:var(--calcite-spacing-md);min-width:0;padding-block:var(--calcite-spacing-base);padding-inline:var(--calcite-spacing-md);display:flex}.basemap-gallery__item-tags-container{flex-direction:row;gap:var(--calcite-spacing-base);display:flex}.basemap-gallery__item-tags-container calcite-chip{--calcite-font-size--2: var(--calcite-font-size--3);cursor:inherit}@supports (object-fit: cover){.basemap-gallery__item-thumbnail{object-fit:cover}}@container (width>=200px) and (width <= 300px){.basemap-gallery__item{align-items:center}.basemap-gallery__item:not(.basemap-gallery__item--selected,:hover){border-color:var(--calcite-color-transparent)}}@container (width>=200px) and (width <= 278px){.basemap-gallery__item-thumbnail{aspect-ratio:1;width:80px;min-width:80px}}@container (width<200px) or (width>=350px){.basemap-gallery__item{text-align:center;flex-flow:column wrap}.basemap-gallery__item:not(.basemap-gallery .basemap-gallery__item--selected,:hover){border-color:var(--calcite-color-border-1)}.basemap-gallery__item-thumbnail{border-block-end:1px solid var(--calcite-color-border-1);border-inline-end:none;width:100%;min-width:0;height:auto}.basemap-gallery__item-content{height:32px;padding-block:var(--calcite-spacing-xxs);padding-inline:var(--calcite-spacing-xs);position:relative}.basemap-gallery__item-tags-container{position:absolute;inset-block-end:45px;inset-inline-end:5px}}`,l=class extends g{constructor(){super(...arguments),this._itemState="loading",this._isActive=!1}static{this.properties={_itemState:16,_isActive:16,disabled:5,item:0,itemIndex:9,viewModel:0,messages:0}}static{this.styles=S}loaded(){this.manager.onLifecycle(()=>[h(()=>this.item.state,e=>{this._itemState=e},{sync:!0}),h(()=>this.viewModel.activeBasemap,e=>{this._isActive=this.item.basemap.id===e?.id,this._isActive&&(u(this)?.focus(),this.el.scrollIntoView({block:"nearest"}))},{initial:!0,sync:!0})])}render(){let{item:e,itemIndex:n,viewModel:v,messages:x}=this;if(!e.basemap)return null;let w=e.basemap.thumbnailUrl||f("./assets/basemap-gallery/images/basemap-toggle-64.svg"),c=e.basemap.title,k=e.basemap.portalItem?.snippet,$=e.error?.message||k||c,{state:I,activeBasemapIndex:p}=this.viewModel,z=this.disabled||I==="disabled",s=p===n,A=s||p===-1&&n===0?0:-1,B={[t.selectedItem]:s,[t.itemError]:e.state==="error"},m=`basemapgallery-item-${e.uid}`;return r`<div .ariaChecked=${s} .ariaDisabled=${z} aria-labelledby=${m??o} class=${i(y(t.item,B))} role=radio tabindex=${A??o} title=${$??o} @click=${()=>{e.state==="ready"&&(v.activeBasemap=e.basemap)}}><img alt class=${i(t.itemThumbnail)} src=${w??o}><div class=${i(t.itemContent)}><div class=${i(t.itemTitle)}><span id=${m??o}>${c}</span></div>${C(e.basemap)?Y(e.basemap,x):null}</div>${e.state!=="loading"?null:r`<calcite-scrim><span aria-hidden=true class=${i(_.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}};function Y(a,e){return r`<div class=${i(t.itemTagsContainer)}>${D(e)}${M(a)?L(e):null}</div>`}function D(a){return r`<calcite-chip scale=s .label=${a.tag3D}>${a.tag3D}</calcite-chip>`}function L(a){return r`<calcite-chip appearance=outline-fill scale=s .label=${a.tagBeta}>${a.tagBeta}</calcite-chip>`}b("arcgis-basemap-gallery-item",l);return l},"core/reactiveUtils")