@arcgis/map-components 5.0.0-next.113 → 5.0.0-next.115

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 (440) hide show
  1. package/dist/cdn/{GXVKG6J6.js → 25DSE46M.js} +2 -2
  2. package/dist/cdn/{7MNGDOZS.js → 263Y3YVX.js} +2 -2
  3. package/dist/cdn/{LMQYW7LU.js → 2I3ZZIN4.js} +2 -2
  4. package/dist/cdn/{L4MQQY2K.js → 2OKYQRDA.js} +2 -2
  5. package/dist/cdn/32RSUFY7.js +4 -0
  6. package/dist/cdn/{JGYXII67.js → 3GNS7QT6.js} +2 -2
  7. package/dist/cdn/{7OLLNYGO.js → 3QTPN4ZH.js} +2 -2
  8. package/dist/cdn/{CG622VMC.js → 3VHBWXLF.js} +2 -2
  9. package/dist/cdn/{G2N6JRUK.js → 46C2PG6E.js} +2 -2
  10. package/dist/cdn/{L5C7OWS3.js → 47WN6MLK.js} +1 -1
  11. package/dist/cdn/{NQN434RN.js → 4PBBVCRF.js} +2 -2
  12. package/dist/cdn/{4MJBZHW7.js → 4PYCHLZO.js} +2 -2
  13. package/dist/cdn/{RKDO6JIB.js → 4ZHVXWFK.js} +2 -2
  14. package/dist/cdn/{USGWVRNT.js → 5BHWJCAC.js} +2 -2
  15. package/dist/cdn/{6J4OXTGB.js → 5FYJII6G.js} +2 -2
  16. package/dist/cdn/{WOFYZXJP.js → 5HIYIJ5F.js} +2 -2
  17. package/dist/cdn/{EYHREG2E.js → 5JR42HDJ.js} +2 -2
  18. package/dist/cdn/{QTJD6ZFD.js → 66MWKFEA.js} +2 -2
  19. package/dist/cdn/{FS5DDJPW.js → 6FEF4RYG.js} +2 -2
  20. package/dist/cdn/{FS4R7HUF.js → 6IVWDJ6V.js} +1 -1
  21. package/dist/cdn/{6HCA26JM.js → 6NK33FVX.js} +2 -2
  22. package/dist/cdn/{ZFFSREMA.js → 6NUX3MPU.js} +2 -2
  23. package/dist/cdn/{YOJPVROP.js → 6OP3MJD2.js} +2 -2
  24. package/dist/cdn/{PRRDZNZP.js → 6RJX5P5D.js} +2 -2
  25. package/dist/cdn/{E4VNN24G.js → 6VLQ2WVW.js} +2 -2
  26. package/dist/cdn/{TZ2ATSOZ.js → 6WJ3EPR2.js} +2 -2
  27. package/dist/cdn/{Z7ZPBUE3.js → 737V6ZPD.js} +2 -2
  28. package/dist/cdn/{SOUCMBM4.js → 745BIP22.js} +2 -2
  29. package/dist/cdn/{KRHUQRE3.js → 76XKRIGE.js} +2 -2
  30. package/dist/cdn/{JD65AY52.js → 7AW2OOWX.js} +2 -2
  31. package/dist/cdn/{TFDJ6C5O.js → 7CXJWEEZ.js} +2 -2
  32. package/dist/cdn/{3Q4OD32L.js → 7EB6TV6D.js} +2 -2
  33. package/dist/cdn/{YKPP6IDP.js → 7PXS4WBT.js} +2 -2
  34. package/dist/cdn/{QZ6MGRW3.js → 7SWJUZZB.js} +1 -1
  35. package/dist/cdn/{SQVGPK44.js → 7TLOCTV2.js} +2 -2
  36. package/dist/cdn/{2GXJU3AS.js → A2Y525EQ.js} +2 -2
  37. package/dist/cdn/{PQXNB5YK.js → A4SX4GTV.js} +2 -2
  38. package/dist/cdn/{VPA4XQE6.js → AAFUOKJS.js} +2 -2
  39. package/dist/cdn/{KN2EIZQQ.js → ACEVGIZY.js} +2 -2
  40. package/dist/cdn/{XF6OEPLG.js → AFZWKXQV.js} +2 -2
  41. package/dist/cdn/{DRIWHLPW.js → AJLHT6ZS.js} +1 -1
  42. package/dist/cdn/{KHTT4HE3.js → ALJFEDVG.js} +2 -2
  43. package/dist/cdn/{KA6DBSSM.js → ALL3XHDG.js} +2 -2
  44. package/dist/cdn/{NUDE543V.js → ALPWF2QJ.js} +2 -2
  45. package/dist/cdn/{TRALUQ5Y.js → AM5SKKJ6.js} +2 -2
  46. package/dist/cdn/{MGQRJ4VF.js → ANSCQBPJ.js} +1 -1
  47. package/dist/cdn/{ZQNETVUR.js → ASYU2KC6.js} +2 -2
  48. package/dist/cdn/{GTQ3GFPT.js → AYLTSCKF.js} +2 -2
  49. package/dist/cdn/{BYL4J4FJ.js → B5FRMKEE.js} +2 -2
  50. package/dist/cdn/{VX4XRBV7.js → B7OLA2MG.js} +2 -2
  51. package/dist/cdn/{IQNYADZH.js → BC4ELIQF.js} +2 -2
  52. package/dist/cdn/{UFYNNEXQ.js → BDGCKOBM.js} +2 -2
  53. package/dist/cdn/{6JTZ3KJZ.js → BOC2WXSN.js} +2 -2
  54. package/dist/cdn/{QV36OARF.js → BOYIPOMC.js} +2 -2
  55. package/dist/cdn/{5HMDEHNU.js → BRBPROCV.js} +2 -2
  56. package/dist/cdn/{Z6SUFPW6.js → BZQUNYUX.js} +2 -2
  57. package/dist/cdn/{OMGEEBI7.js → C5Z3UGC7.js} +2 -2
  58. package/dist/cdn/{EKJFLMP6.js → CA2CWDQS.js} +2 -2
  59. package/dist/cdn/{KMTNWFEP.js → CAUMULXG.js} +2 -2
  60. package/dist/cdn/CCOGKUF5.js +4 -0
  61. package/dist/cdn/{E6ILSTXN.js → CETKRCWC.js} +2 -2
  62. package/dist/cdn/{LUARTDQI.js → CL354V6T.js} +2 -2
  63. package/dist/cdn/{6R7FZXKX.js → CLSNBEX2.js} +2 -2
  64. package/dist/cdn/{5ODB3J2T.js → CRWNVVH3.js} +2 -2
  65. package/dist/cdn/{B25ZXCGB.js → CWOZUPUX.js} +2 -2
  66. package/dist/cdn/{FPFREFIP.js → D3DCUMLU.js} +2 -2
  67. package/dist/cdn/{3DFEHWZN.js → DAR2EV2V.js} +2 -2
  68. package/dist/cdn/{HHC3DVXP.js → DJUKH7Z5.js} +2 -2
  69. package/dist/cdn/{HJHFONPQ.js → DNSQ2JTA.js} +2 -2
  70. package/dist/cdn/{PPTPSTXM.js → DYYLXZ2Q.js} +2 -2
  71. package/dist/cdn/{QPF632AH.js → E4H5W2KJ.js} +2 -2
  72. package/dist/cdn/{N5MR7L5Y.js → E4Y33M5M.js} +1 -1
  73. package/dist/cdn/{ZO4YQKXV.js → E6R3A3C2.js} +2 -2
  74. package/dist/cdn/{WJTKRFKL.js → EEMFDDOK.js} +2 -2
  75. package/dist/cdn/{3QLVC4AE.js → EGRBURXV.js} +2 -2
  76. package/dist/cdn/{5IWNASCQ.js → EKNLML37.js} +2 -2
  77. package/dist/cdn/{LAIHB6FF.js → EL2IFVBV.js} +2 -2
  78. package/dist/cdn/{2CBCCC42.js → EN7M3TYK.js} +2 -2
  79. package/dist/cdn/{XXTQ7DZ7.js → ENB2FBS5.js} +2 -2
  80. package/dist/cdn/{HG2XLQM4.js → EQ4VGQTO.js} +2 -2
  81. package/dist/cdn/{ZFRBDVAB.js → EVXCIDEY.js} +2 -2
  82. package/dist/cdn/{QD6OUP7A.js → EXXQBNCS.js} +2 -2
  83. package/dist/cdn/{UEZNSGRO.js → EZZ4HFMV.js} +2 -2
  84. package/dist/cdn/{H5CWP5X2.js → F4SV2YLA.js} +2 -2
  85. package/dist/cdn/{YYUSZB7W.js → F7PZYSGW.js} +2 -2
  86. package/dist/cdn/{GB6IEFXX.js → FGJBJFMR.js} +2 -2
  87. package/dist/cdn/{N6K4WRNP.js → FL7P2WAK.js} +2 -2
  88. package/dist/cdn/{XOIQJKUM.js → FOAAGECY.js} +2 -2
  89. package/dist/cdn/{3UVTANAS.js → FUKM3Y4A.js} +2 -2
  90. package/dist/cdn/{5KTMTWYR.js → FUKUQNHL.js} +2 -2
  91. package/dist/cdn/{64NEB5DT.js → FZ6ZYQ7I.js} +2 -2
  92. package/dist/cdn/FZNTII7D.js +4 -0
  93. package/dist/cdn/{UMBBV4WK.js → G24UHOXL.js} +2 -2
  94. package/dist/cdn/{RILBE66Z.js → G672JV5N.js} +1 -1
  95. package/dist/cdn/{2PHQ26MW.js → G6SFWFHW.js} +2 -2
  96. package/dist/cdn/{XNID3AWF.js → GVPRLQ7O.js} +2 -2
  97. package/dist/cdn/{R54CKEII.js → H3GS7EU7.js} +2 -2
  98. package/dist/cdn/{VCLNI7QQ.js → HBSVCNR6.js} +2 -2
  99. package/dist/cdn/{YNY5J65A.js → HDYLBXQH.js} +1 -1
  100. package/dist/cdn/{6G5SZDHU.js → HEPBHFNG.js} +2 -2
  101. package/dist/cdn/{HFWJBUUX.js → HF7SN4A6.js} +1 -1
  102. package/dist/cdn/{K5FO4RN2.js → HHSF5HC7.js} +1 -1
  103. package/dist/cdn/{M5WJ4CVF.js → HJSB2TDR.js} +2 -2
  104. package/dist/cdn/{FGVPTVGT.js → HK3BXAIK.js} +2 -2
  105. package/dist/cdn/{RK5KUYI2.js → HSQN5VON.js} +2 -2
  106. package/dist/cdn/{FUVBDC2M.js → HUEL2VX3.js} +2 -2
  107. package/dist/cdn/{GG2ST7ZT.js → HXONITF3.js} +2 -2
  108. package/dist/cdn/{V4I4WI44.js → HZ7SN46N.js} +2 -2
  109. package/dist/cdn/{IZX3GY3S.js → I2SL5MII.js} +2 -2
  110. package/dist/cdn/{AMVHVD3Y.js → I6AU44JK.js} +2 -2
  111. package/dist/cdn/{ZX7XEJ5S.js → IYZZ7CJL.js} +2 -2
  112. package/dist/cdn/{FF53SBIG.js → J2MGZGVH.js} +2 -2
  113. package/dist/cdn/JBGRO7YE.js +4 -0
  114. package/dist/cdn/{EOSBFHWK.js → JFM4QTHC.js} +2 -2
  115. package/dist/cdn/{WCW6IOAD.js → JMBEMEEZ.js} +2 -2
  116. package/dist/cdn/{T5ACPDH5.js → JMQOWO3N.js} +2 -2
  117. package/dist/cdn/{2HOZZCBX.js → JQYNRAKH.js} +2 -2
  118. package/dist/cdn/JRFZIHYA.js +4 -0
  119. package/dist/cdn/{RE52MOYH.js → JSO35VJR.js} +2 -2
  120. package/dist/cdn/{6ER3WFHG.js → K4LEWPXK.js} +2 -2
  121. package/dist/cdn/{X46LRDVO.js → KELEN5HC.js} +2 -2
  122. package/dist/cdn/{NLEQLYWM.js → KRJ5UKD6.js} +2 -2
  123. package/dist/cdn/{YSIXVCCD.js → KS2LHQ2F.js} +3 -3
  124. package/dist/cdn/{42EMYFHF.js → L6K5LNXF.js} +2 -2
  125. package/dist/cdn/{27IC3H52.js → LDUNV7OZ.js} +2 -2
  126. package/dist/cdn/{R2T7PR2R.js → LFBJ47FJ.js} +2 -2
  127. package/dist/cdn/{OY6PUSPW.js → LKA3XZ2M.js} +2 -2
  128. package/dist/cdn/{XCZD46XC.js → LXKYHMV5.js} +1 -1
  129. package/dist/cdn/{NA5GYA2J.js → LYTGK5LB.js} +2 -2
  130. package/dist/cdn/{A6HYU4R6.js → LZRMPA73.js} +2 -2
  131. package/dist/cdn/{IJGG54N2.js → M4DIQI4D.js} +2 -2
  132. package/dist/cdn/{R3UL3JRN.js → MK5ZDZI4.js} +2 -2
  133. package/dist/cdn/{SD47C2CQ.js → N27XJR3O.js} +2 -2
  134. package/dist/cdn/{5DNURQFB.js → N5BFHORP.js} +2 -2
  135. package/dist/cdn/{2WQ475IE.js → NA3CVL4Q.js} +2 -2
  136. package/dist/cdn/{XNJLXONH.js → O5ZVWGVY.js} +2 -2
  137. package/dist/cdn/{VLZQ6YBU.js → OAIY2E6W.js} +2 -2
  138. package/dist/cdn/{XQHLQIKT.js → OH6ZMXTH.js} +2 -2
  139. package/dist/cdn/{WODQUPUD.js → OVCP2YXS.js} +2 -2
  140. package/dist/cdn/{E63JMXZW.js → OVVLJYW5.js} +2 -2
  141. package/dist/cdn/{57PQBIHM.js → OXC2PVWN.js} +2 -2
  142. package/dist/cdn/{BC2DYMZL.js → P34S4FLD.js} +2 -2
  143. package/dist/cdn/{5RBYRVWN.js → P6ACWRHX.js} +2 -2
  144. package/dist/cdn/{C3XDYBLF.js → P72NI2R5.js} +2 -2
  145. package/dist/cdn/{XUENNBHS.js → PAM34J4E.js} +2 -2
  146. package/dist/cdn/{ZOR2XTVD.js → PAYEVC3C.js} +2 -2
  147. package/dist/cdn/{RZUAADKP.js → PJQRUZTY.js} +2 -2
  148. package/dist/cdn/{RWTAG5AP.js → PKJXJG4F.js} +2 -2
  149. package/dist/cdn/{YG4TXLHX.js → PLCBEMM7.js} +2 -2
  150. package/dist/cdn/{NCMTS4KE.js → PLKFDFRH.js} +2 -2
  151. package/dist/cdn/{2WXTFNMF.js → PNT6FGOG.js} +2 -2
  152. package/dist/cdn/{Y3YWVJBK.js → PPFEKLTD.js} +2 -2
  153. package/dist/cdn/{RFKOJHD4.js → PRUCWSTA.js} +2 -2
  154. package/dist/cdn/{NG7W6LLR.js → PWMO24DQ.js} +1 -1
  155. package/dist/cdn/{Q4QUFH6V.js → Q27XPFYN.js} +2 -2
  156. package/dist/cdn/{QPE42V6V.js → Q2OGOHZ3.js} +2 -2
  157. package/dist/cdn/{KTDH7PI6.js → QC7RIV6D.js} +2 -2
  158. package/dist/cdn/{NI6A3RKX.js → QCHHPV3Z.js} +2 -2
  159. package/dist/cdn/{4FDVYE2A.js → QD3CE45F.js} +2 -2
  160. package/dist/cdn/{D3XNYAYA.js → QPFL72JX.js} +2 -2
  161. package/dist/cdn/{QBB2BUIX.js → QQ4LK3LE.js} +2 -2
  162. package/dist/cdn/{577ECLH3.js → QQMIOLNC.js} +2 -2
  163. package/dist/cdn/{FCEXSHBR.js → QUVPWI4E.js} +2 -2
  164. package/dist/cdn/{UBK5AYQV.js → R37AWTDX.js} +2 -2
  165. package/dist/cdn/{P2QHZLMW.js → R6P4WS6E.js} +1 -1
  166. package/dist/cdn/{M6B7ETXY.js → R73476LG.js} +2 -2
  167. package/dist/cdn/{Y3MYGRJ3.js → RARAB2CW.js} +2 -2
  168. package/dist/cdn/{UDRNG6CK.js → RBVOKWWI.js} +2 -2
  169. package/dist/cdn/{HCBBVQBK.js → RXOPCVDQ.js} +2 -2
  170. package/dist/cdn/{J3H4J6MR.js → RZMDSPPV.js} +2 -2
  171. package/dist/cdn/{ZKICXPEE.js → S2QFT3V4.js} +2 -2
  172. package/dist/cdn/{WFBXYUGS.js → SBB6TFU6.js} +2 -2
  173. package/dist/cdn/{XCK7SHHN.js → SRSHQIB7.js} +2 -2
  174. package/dist/cdn/{5FDAP3EP.js → SSFWSLZF.js} +2 -2
  175. package/dist/cdn/{VTBXNS7L.js → SUKIYHG2.js} +2 -2
  176. package/dist/cdn/{NZBUPXCA.js → SXPYR3NV.js} +2 -2
  177. package/dist/cdn/{6WF3WKER.js → T5IIXCGR.js} +2 -2
  178. package/dist/cdn/{Y77BRIBS.js → TD5IVF2F.js} +2 -2
  179. package/dist/cdn/{LIUWBPW5.js → TE5S2VJ2.js} +2 -2
  180. package/dist/cdn/{HROM7FYY.js → TH2YMCIF.js} +2 -2
  181. package/dist/cdn/{FSPISFLJ.js → UA7VW5G6.js} +2 -2
  182. package/dist/cdn/{D5HFUYW4.js → UCFA3JNN.js} +2 -2
  183. package/dist/cdn/{4N57H3BC.js → ULC6JYC5.js} +2 -2
  184. package/dist/cdn/{J2X4E36I.js → ULRZSRQA.js} +2 -2
  185. package/dist/cdn/{SVOVGDTK.js → UQB4AY45.js} +2 -2
  186. package/dist/cdn/{4YDZXQVY.js → V2YRXAZK.js} +2 -2
  187. package/dist/cdn/{K7D35YOF.js → VDQ57SFI.js} +2 -2
  188. package/dist/cdn/{EPAETZEU.js → VENRIVHT.js} +2 -2
  189. package/dist/cdn/{Y2WWYMD3.js → VFWW5HDE.js} +2 -2
  190. package/dist/cdn/{ANV3Z4MJ.js → VKFL2PGY.js} +2 -2
  191. package/dist/cdn/{6ECDGXCK.js → VLOC3O2F.js} +2 -2
  192. package/dist/cdn/{Z7UVS26N.js → VN2XKB7T.js} +2 -2
  193. package/dist/cdn/{ORQ5ZQGA.js → VRHLIKQY.js} +2 -2
  194. package/dist/cdn/{PKNW4SHC.js → VTHY4VYJ.js} +2 -2
  195. package/dist/cdn/{KUFRGP6V.js → VY2NEAB5.js} +2 -2
  196. package/dist/cdn/{6LFRCQTJ.js → WBPYD4GL.js} +2 -2
  197. package/dist/cdn/{NA42PH6H.js → WHNWE3SU.js} +2 -2
  198. package/dist/cdn/{ZRFEQWCQ.js → WJ4Q2FRN.js} +2 -2
  199. package/dist/cdn/{WB34TKBF.js → WJI3C56K.js} +2 -2
  200. package/dist/cdn/{OVUSUYCQ.js → WKGVMD4I.js} +2 -2
  201. package/dist/cdn/{GXXL4KGL.js → WQIEIWDA.js} +2 -2
  202. package/dist/cdn/{ETQPDSXE.js → WYMNFOU2.js} +2 -2
  203. package/dist/cdn/{7NCI3NAB.js → WZXXKW3F.js} +2 -2
  204. package/dist/cdn/{SKUGJBUE.js → X2UXEECP.js} +2 -2
  205. package/dist/cdn/{GITXEKSU.js → X5WLBIB5.js} +1 -1
  206. package/dist/cdn/{SCG4UYAX.js → XADOHQ7Q.js} +2 -2
  207. package/dist/cdn/{LOAGLFX4.js → XALWFXWS.js} +1 -1
  208. package/dist/cdn/{OQSEBVGG.js → XAVS7UQ5.js} +2 -2
  209. package/dist/cdn/{T7MJUBQ2.js → XBG5L4IX.js} +1 -1
  210. package/dist/cdn/{UYDDWXQK.js → XBTGKHES.js} +2 -2
  211. package/dist/cdn/{VUYNYKYT.js → XBZ33YQ2.js} +2 -2
  212. package/dist/cdn/{M65DZMZ2.js → XDDWE4PV.js} +2 -2
  213. package/dist/cdn/{THZBFZMV.js → XLXAB5VO.js} +2 -2
  214. package/dist/cdn/{OEFCP2LJ.js → XM4QI2LD.js} +2 -2
  215. package/dist/cdn/{VQTOGHJB.js → XRDNKI4O.js} +2 -2
  216. package/dist/cdn/{CQIOWJMW.js → XYZGUNUN.js} +2 -2
  217. package/dist/cdn/{HLPU2MML.js → Y4EYKR5L.js} +2 -2
  218. package/dist/cdn/{HZOLSRAL.js → Y4F4TO2Y.js} +2 -2
  219. package/dist/cdn/{XXN3AGU4.js → Y67HB6JA.js} +2 -2
  220. package/dist/cdn/{6LK73UYA.js → YDHES6Y5.js} +2 -2
  221. package/dist/cdn/{FSGQNZUE.js → YH3NY73P.js} +2 -2
  222. package/dist/cdn/{PM2J24RZ.js → YHU46NAC.js} +2 -2
  223. package/dist/cdn/{VKHUXVVU.js → YHYYDDWU.js} +2 -2
  224. package/dist/cdn/{VE7G2BJF.js → YN7QOAAU.js} +2 -2
  225. package/dist/cdn/{JJ54LMGN.js → YPIKHUJV.js} +2 -2
  226. package/dist/cdn/{QKNQFMKI.js → YQ3SC44Z.js} +2 -2
  227. package/dist/cdn/YQAKODKR.js +4 -0
  228. package/dist/cdn/{I7MY2YK4.js → Z5E4V347.js} +2 -2
  229. package/dist/cdn/{27ZIKUTZ.js → ZA4TBIHM.js} +2 -2
  230. package/dist/cdn/{U42PNF6K.js → ZDF5JVY6.js} +2 -2
  231. package/dist/cdn/{M6FUONTE.js → ZFK6TVOD.js} +1 -1
  232. package/dist/cdn/{CVCS4YMI.js → ZHWOPCAM.js} +2 -2
  233. package/dist/cdn/{XQZMY2OP.js → ZM2UTPXH.js} +2 -2
  234. package/dist/cdn/{C4D4WXC7.js → ZMHPJKIE.js} +2 -2
  235. package/dist/cdn/{7A72G5FH.js → ZPPOT2L6.js} +2 -2
  236. package/dist/cdn/{QI7TSXMS.js → ZPUNWQB2.js} +2 -2
  237. package/dist/cdn/{26LREXXX.js → ZUHM5TFG.js} +2 -2
  238. package/dist/cdn/{OWQQYBUW.js → ZVV6G6CT.js} +2 -2
  239. package/dist/cdn/index.js +2 -2
  240. package/dist/chunks/AnalysisViewModel.js +1 -1
  241. package/dist/chunks/action-utils.js +1 -1
  242. package/dist/chunks/async-utils.js +1 -1
  243. package/dist/chunks/basemap-gallery-resources.js +1 -1
  244. package/dist/chunks/building-layer-utils.js +1 -1
  245. package/dist/chunks/chart-utils.js +1 -1
  246. package/dist/chunks/chartCommon.js +1 -1
  247. package/dist/chunks/component-utils.js +1 -1
  248. package/dist/chunks/component-wrapper.js +1 -1
  249. package/dist/chunks/constants.js +1 -1
  250. package/dist/chunks/createCloseEvent.js +1 -1
  251. package/dist/chunks/esri-main.js +2 -2
  252. package/dist/chunks/feature-utils.js +1 -1
  253. package/dist/chunks/globalCss.js +1 -1
  254. package/dist/chunks/handle.js +1 -1
  255. package/dist/chunks/heading.js +1 -1
  256. package/dist/chunks/layer-list.js +1 -1
  257. package/dist/chunks/legacyIcon.js +1 -1
  258. package/dist/chunks/maybe.js +1 -1
  259. package/dist/chunks/measurementUtils.js +1 -1
  260. package/dist/chunks/runtime.js +1 -1
  261. package/dist/chunks/screenLocation.js +1 -1
  262. package/dist/chunks/slots.js +2 -2
  263. package/dist/chunks/svgUtils.js +1 -1
  264. package/dist/chunks/time-utils.js +1 -1
  265. package/dist/chunks/univariateUtils.js +1 -1
  266. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  267. package/dist/chunks/useHandles.js +1 -1
  268. package/dist/chunks/useT9n.js +1 -1
  269. package/dist/chunks/useView.js +1 -1
  270. package/dist/chunks/useViewModel.js +1 -1
  271. package/dist/chunks/useWidget.js +1 -1
  272. package/dist/chunks/utils.js +1 -1
  273. package/dist/chunks/utils2.js +1 -1
  274. package/dist/chunks/visible-element.js +1 -1
  275. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  276. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  277. package/dist/components/arcgis-attachments/customElement.js +1 -1
  278. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  279. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  280. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  281. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  282. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  283. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  284. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  285. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  286. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  287. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  288. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  289. package/dist/components/arcgis-color-select/customElement.js +1 -1
  290. package/dist/components/arcgis-compass/customElement.d.ts +6 -1
  291. package/dist/components/arcgis-compass/customElement.js +1 -1
  292. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  293. package/dist/components/arcgis-daylight/customElement.js +1 -1
  294. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  295. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  296. package/dist/components/arcgis-directions/customElement.js +1 -1
  297. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  298. package/dist/components/arcgis-editor/customElement.js +1 -1
  299. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  300. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  301. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  302. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  303. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  304. package/dist/components/arcgis-expand/customElement.d.ts +6 -1
  305. package/dist/components/arcgis-expand/customElement.js +1 -1
  306. package/dist/components/arcgis-feature/customElement.js +1 -1
  307. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  311. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  312. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  313. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  314. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  315. package/dist/components/arcgis-feature-table/customElement.d.ts +10 -4
  316. package/dist/components/arcgis-feature-table/customElement.js +9 -3
  317. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  318. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  319. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  320. package/dist/components/arcgis-features/customElement.d.ts +85 -0
  321. package/dist/components/arcgis-features/customElement.js +110 -62
  322. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  323. package/dist/components/arcgis-fullscreen/customElement.d.ts +6 -1
  324. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  325. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  326. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  327. package/dist/components/arcgis-home/customElement.d.ts +6 -1
  328. package/dist/components/arcgis-home/customElement.js +1 -1
  329. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  330. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  331. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  332. package/dist/components/arcgis-legend/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  336. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  337. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  338. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  339. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  340. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  341. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  342. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  343. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  344. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  345. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  346. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  347. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  348. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  349. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  350. package/dist/components/arcgis-locate/customElement.d.ts +6 -1
  351. package/dist/components/arcgis-locate/customElement.js +1 -1
  352. package/dist/components/arcgis-map/customElement.js +1 -1
  353. package/dist/components/arcgis-measurement/customElement.js +1 -1
  354. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  355. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -1
  356. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  357. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  358. package/dist/components/arcgis-popup/customElement.js +1 -1
  359. package/dist/components/arcgis-presentation/customElement.js +1 -1
  360. package/dist/components/arcgis-print/customElement.js +1 -1
  361. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  362. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  363. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  364. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  365. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  366. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  367. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  368. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  369. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  370. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  371. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  372. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  373. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  374. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  375. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  376. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  377. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  378. package/dist/components/arcgis-scene/customElement.js +1 -1
  379. package/dist/components/arcgis-search/customElement.js +1 -1
  380. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  381. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  382. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  383. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  384. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  385. package/dist/components/arcgis-sketch/customElement.js +1 -1
  386. package/dist/components/arcgis-slice/customElement.js +1 -1
  387. package/dist/components/arcgis-spinner/customElement.js +1 -1
  388. package/dist/components/arcgis-swipe/customElement.js +1 -1
  389. package/dist/components/arcgis-table-list/customElement.js +1 -1
  390. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  391. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  392. package/dist/components/arcgis-track/customElement.d.ts +6 -1
  393. package/dist/components/arcgis-track/customElement.js +1 -1
  394. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  395. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  396. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  397. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  398. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  399. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  400. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  401. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  402. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  403. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  404. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  405. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  406. package/dist/components/arcgis-version-management/customElement.js +1 -1
  407. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  408. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  409. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  410. package/dist/components/arcgis-video/customElement.js +1 -1
  411. package/dist/components/arcgis-video-player/customElement.js +1 -1
  412. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  413. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  414. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  415. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  416. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  417. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  418. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  419. package/dist/components/arcgis-weather/customElement.js +1 -1
  420. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  421. package/dist/components/arcgis-zoom/customElement.d.ts +6 -1
  422. package/dist/components/arcgis-zoom/customElement.js +1 -1
  423. package/dist/docs/api.json +503 -24
  424. package/dist/docs/docs.json +389 -29
  425. package/dist/docs/vscode.css-custom-data.json +4 -4
  426. package/dist/docs/vscode.html-custom-data.json +73 -5
  427. package/dist/docs/web-types.json +182 -11
  428. package/dist/index.js +1 -1
  429. package/dist/loader.js +3 -3
  430. package/dist/types/lumina.d.ts +2 -2
  431. package/dist/types/preact.d.ts +2 -2
  432. package/dist/types/react.d.ts +2 -2
  433. package/dist/types/stencil.d.ts +2 -2
  434. package/package.json +3 -3
  435. package/dist/cdn/APZLFYA2.js +0 -4
  436. package/dist/cdn/BNM2G7QF.js +0 -4
  437. package/dist/cdn/GUESPPYH.js +0 -4
  438. package/dist/cdn/U4MODUYE.js +0 -4
  439. package/dist/cdn/V2SNYM3M.js +0 -4
  440. package/dist/cdn/VL6GZSYS.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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import b from"./42EMYFHF.js";import a from"./R3UL3JRN.js";import{a as T}from"./LOAGLFX4.js";import{N as C,O as k,T as M,a as A,b as m}from"./RILBE66Z.js";import"./HFWJBUUX.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
+ v5.0.0-next.115 */
4
+ import b from"./L6K5LNXF.js";import a from"./MK5ZDZI4.js";import{a as T}from"./XALWFXWS.js";import{N as C,O as k,T as M,a as A,b as m}from"./G672JV5N.js";import"./HF7SN4A6.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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import b from"./J3H4J6MR.js";import"./2WQ475IE.js";import"./6ECDGXCK.js";import"./NG7W6LLR.js";import{N as n,P as l,T as c,a,b as r}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([p])=>{var h=a`:host{display:contents}calcite-loader{position:absolute}`,e=class extends n{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={autoDestroyDisabled:5,trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}_getPositionStyles(){let{screenLocation:t,view:i}=this;if(i==null||t==null)return{};let{padding:o}=i,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(o.left??0)-s/2}px`,top:`${t.y-(o.top??0)-s/2}px`}}render(){return this.screenLocation?r`<calcite-loader .label=${this.label??""} inline style=${l(this._getPositionStyles())}></calcite-loader>`:null}};c("arcgis-spinner",e);return e},b)
3
+ v5.0.0-next.115 */
4
+ import b from"./RZMDSPPV.js";import"./NA3CVL4Q.js";import"./VLOC3O2F.js";import"./PWMO24DQ.js";import{N as n,P as l,T as c,a,b as r}from"./G672JV5N.js";import"./HF7SN4A6.js";export default $arcgis.t(([p])=>{var h=a`:host{display:contents}calcite-loader{position:absolute}`,e=class extends n{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={autoDestroyDisabled:5,trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}async destroy(){await this.manager.destroy()}_getPositionStyles(){let{screenLocation:t,view:i}=this;if(i==null||t==null)return{};let{padding:o}=i,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(o.left??0)-s/2}px`,top:`${t.y-(o.top??0)-s/2}px`}}render(){return this.screenLocation?r`<calcite-loader .label=${this.label??""} inline style=${l(this._getPositionStyles())}></calcite-loader>`:null}};c("arcgis-spinner",e);return e},b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import"./HFWJBUUX.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.115 */
4
+ import"./HF7SN4A6.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"pKr",_era_bc:"eKr",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"jaanuar",February:"veebruar",March:"m\xE4rts",April:"aprill",May:"mai",June:"juuni",July:"juuli",August:"august",September:"september",October:"oktoober",November:"november",December:"detsember",Jan:"jaan",Feb:"veebr",Mar:"m\xE4rts",Apr:"apr","May(short)":"mai",Jun:"juuni",Jul:"juuli",Aug:"aug",Sep:"sept",Oct:"okt",Nov:"nov",Dec:"dets",Sunday:"p\xFChap\xE4ev",Monday:"esmasp\xE4ev",Tuesday:"teisip\xE4ev",Wednesday:"kolmap\xE4ev",Thursday:"neljap\xE4ev",Friday:"reede",Saturday:"laup\xE4ev",Sun:"P",Mon:"E",Tue:"T",Wed:"K",Thu:"N",Fri:"R",Sat:"L",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Suumi",Play:"Esita",Stop:"L\xF5peta",Legend:"Legend","Press ENTER to toggle":"",Loading:"Laadin",Home:"Kodu",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Prindi",Image:"Pilt",Data:"Andmed",Print:"Prindi","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Alates %1 kuni %2","From %1":"Alates %1","To %1":"Kuni %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import"./HFWJBUUX.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u043D. \u0435.",_era_bc:"\u043F. \u043D. \u0435.",A:"a",P:"p",AM:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435",PM:"\u043F\u043E \u043F\u043E\u0434\u043D\u0435","A.M.":"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435","P.M.":"\u043F\u043E \u043F\u043E\u0434\u043D\u0435",January:"\u0458\u0430\u043D\u0443\u0430\u0440",February:"\u0444\u0435\u0431\u0440\u0443\u0430\u0440",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0458",June:"\u0458\u0443\u043D",July:"\u0458\u0443\u043B",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440",October:"\u043E\u043A\u0442\u043E\u0431\u0430\u0440",November:"\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440",December:"\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440",Jan:"\u0458\u0430\u043D",Feb:"\u0444\u0435\u0431",Mar:"\u043C\u0430\u0440",Apr:"\u0430\u043F\u0440","May(short)":"\u043C\u0430\u0458",Jun:"\u0458\u0443\u043D",Jul:"\u0458\u0443\u043B",Aug:"\u0430\u0432\u0433",Sep:"\u0441\u0435\u043F",Oct:"\u043E\u043A\u0442",Nov:"\u043D\u043E\u0432",Dec:"\u0434\u0435\u0446",Sunday:"\u043D\u0435\u0434\u0435\u0459\u0430",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A",Tuesday:"\u0443\u0442\u043E\u0440\u0430\u043A",Wednesday:"\u0441\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A",Friday:"\u043F\u0435\u0442\u0430\u043A",Saturday:"\u0441\u0443\u0431\u043E\u0442\u0430",Sun:"\u043D\u0435\u0434",Mon:"\u043F\u043E\u043D",Tue:"\u0443\u0442\u043E",Wed:"\u0441\u0440\u0435",Thu:"\u0447\u0435\u0442",Fri:"\u043F\u0435\u0442",Sat:"\u0441\u0443\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zumiranje",Play:"Reprodukuj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Mati\u010Dna stranica",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0160tampaj",Image:"Snimak",Data:"Podaci",Print:"\u0160tampaj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Iz %1 u %2","From %1":"Iz %1","To %1":"U %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.115 */
4
+ import"./HF7SN4A6.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u043D. \u0435.",_era_bc:"\u043F. \u043D. \u0435.",A:"a",P:"p",AM:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435",PM:"\u043F\u043E \u043F\u043E\u0434\u043D\u0435","A.M.":"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435","P.M.":"\u043F\u043E \u043F\u043E\u0434\u043D\u0435",January:"\u0458\u0430\u043D\u0443\u0430\u0440",February:"\u0444\u0435\u0431\u0440\u0443\u0430\u0440",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0458",June:"\u0458\u0443\u043D",July:"\u0458\u0443\u043B",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0431\u0430\u0440",October:"\u043E\u043A\u0442\u043E\u0431\u0430\u0440",November:"\u043D\u043E\u0432\u0435\u043C\u0431\u0430\u0440",December:"\u0434\u0435\u0446\u0435\u043C\u0431\u0430\u0440",Jan:"\u0458\u0430\u043D",Feb:"\u0444\u0435\u0431",Mar:"\u043C\u0430\u0440",Apr:"\u0430\u043F\u0440","May(short)":"\u043C\u0430\u0458",Jun:"\u0458\u0443\u043D",Jul:"\u0458\u0443\u043B",Aug:"\u0430\u0432\u0433",Sep:"\u0441\u0435\u043F",Oct:"\u043E\u043A\u0442",Nov:"\u043D\u043E\u0432",Dec:"\u0434\u0435\u0446",Sunday:"\u043D\u0435\u0434\u0435\u0459\u0430",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u0459\u0430\u043A",Tuesday:"\u0443\u0442\u043E\u0440\u0430\u043A",Wednesday:"\u0441\u0440\u0435\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043A",Friday:"\u043F\u0435\u0442\u0430\u043A",Saturday:"\u0441\u0443\u0431\u043E\u0442\u0430",Sun:"\u043D\u0435\u0434",Mon:"\u043F\u043E\u043D",Tue:"\u0443\u0442\u043E",Wed:"\u0441\u0440\u0435",Thu:"\u0447\u0435\u0442",Fri:"\u043F\u0435\u0442",Sat:"\u0441\u0443\u0431",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zumiranje",Play:"Reprodukuj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Mati\u010Dna stranica",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0160tampaj",Image:"Snimak",Data:"Podaci",Print:"\u0160tampaj","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Iz %1 u %2","From %1":"Iz %1","To %1":"U %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import{a as I}from"./DRIWHLPW.js";import d from"./R3UL3JRN.js";import"./LOAGLFX4.js";import c from"./VUYNYKYT.js";import{a as R}from"./FSPISFLJ.js";import{a as D}from"./QZ6MGRW3.js";import b from"./V4I4WI44.js";import a from"./4N57H3BC.js";import{g as L}from"./2WQ475IE.js";import"./6ECDGXCK.js";import"./M6FUONTE.js";import{b as x}from"./NG7W6LLR.js";import{L as C,M as P,N as T,O as w,Q as O,T as N,a as S,b as m,p as v,x as g}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{watch:A},{property:n,subclass:H},h,{onLocaleChange:Z},Y,$,ee,K,te,oe,f,z,{geographicToWebMercator:ie},re,{project:ae},se,,,U,{a:k,c:b}])=>{var ne=S`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,F=!1,ce={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function le(t){let e="geolocation"in navigator;return e||v("warn",t,"Geolocation is not supported by this browser."),e}function pe(t){let e=window.isSecureContext;return e||F||(F=!0,v("warn",t,"Geolocation requires a secure origin.")),e}function de(t){return le(t)&&pe(t)}function he(t){return t??=ce,new Promise((e,o)=>{setTimeout(()=>o(new h("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function ue(t,e){let{position:o,view:r}=t,i=me(o)?.coords;if(!i)throw new h("geometry-service:no-coords","Geolocation has no coordinates");let a=ge(i);return fe(a,r,e)}function me(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function ge({longitude:t,latitude:e,altitude:o}){return new oe({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function fe(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(ie(t)):f.isLoaded()?await Promise.resolve(f.execute(t,r)):await ye(o).then(async i=>{if(!i)throw new h("geometry-service:missing-url","Geometry service URL is missing");let a=new se({geometries:[t],outSpatialReference:r});return(await ae(i,a,o))[0]})}async function ye(t){if(z.geometryServiceUrl)return await Promise.resolve(z.geometryServiceUrl);let e=re.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ve=Object.defineProperty,we=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?we(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ve(e,o,i),i},be=2500;function V(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var J={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Ae=V("layer"),Ee=V("background"),Me=new te({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Ae,Ee,J],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),c=class extends ee{constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new K({symbol:Me}),this.rotationEnabled=!0}initialize(){de(this)||(this._geolocationUsable=!1),this.addHandles([A(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){J.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:be;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};if(k(s),this.goToOverride&&i)return await this.goToOverride(i,{target:a,options:s});await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await ue({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:y,altitude:u,altitudeAccuracy:j,latitude:q,longitude:_,speed:W}=s,M=this._getHeading(t,o),B={timestamp:a,accuracy:y,altitude:u,altitudeAccuracy:j,heading:M,latitude:q,longitude:_,speed:W};i&&(i.geometry=r,i.attributes=B);let X=this._getScale(o);await this._animatePoint(r,X,M,e)}catch(o){if(!b(o))throw new h("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],c.prototype,"_geolocationUsable",2);p([n()],c.prototype,"geolocationOptions",2);p([n()],c.prototype,"goToLocationEnabled",2);p([n()],c.prototype,"goToOverride",2);p([n({type:K})],c.prototype,"graphic",2);p([n()],c.prototype,"scale",2);p([n()],c.prototype,"rotationEnabled",2);p([n()],c.prototype,"view",2);c=p([H("map-components.geolocation.GeolocationPositioning")],c);var Se=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Ce(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Se(e,o,i),i},Pe=new $({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Te(t){return new Y({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Pe.clone()],content:[{type:"fields"}]})}var l=class extends c{constructor(t){super(t),this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([Z(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new h("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new h("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await he(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=void 0,e}catch(e){if(b(e))return null;throw t===this._locateController&&(this._locateController=void 0),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Te(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],l.prototype,"_locateController",2);d([n()],l.prototype,"currentPosition",2);d([n()],l.prototype,"error",2);d([n()],l.prototype,"messages",2);d([n()],l.prototype,"popupEnabled",2);d([n({readOnly:!0})],l.prototype,"state",1);l=d([H("map-components.locate.LocateViewModel")],l);var G={base:"locate",button:"arcgis-button"},Q="gps-off",Oe=U(l),E=class extends T{constructor(){super(),this.locateButtonElement=C(),this.messages=R(),this.viewModel=Oe(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=Q,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.visualScale="m",this.arcgisError=g(),this.arcgisPropertyChange=L()("state"),this.arcgisReady=g(),this.arcgisSuccess=g(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:0,label:1,messageOverrides:0,popupDisabled:5,referenceElement:1,scale:9,state:3,visualScale:1}}static{this.styles=ne}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[A(()=>this.viewModel.error,e=>{this.isErrorTooltipOpen=!!e,this.arcgisError.emit({error:e})}),A(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",y=I===void 0?Q:void 0,u=this._localizeError(this.viewModel?.error);return m`<div class=${w(x(G.base,G.button))}>${!s&&m`<calcite-button class=${w(D.widgetButton)} .disabled=${r==="disabled"} .loading=${i} .iconStart=${i?void 0:o??y} kind=neutral .label=${a} @click=${this._locate} .scale=${this.visualScale} title=${a??O} ${P(this.locateButtonElement)}></calcite-button>`||""}${u?m`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${u}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",E);return E},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)
3
+ v5.0.0-next.115 */
4
+ import{a as I}from"./AJLHT6ZS.js";import d from"./MK5ZDZI4.js";import"./XALWFXWS.js";import c from"./XBZ33YQ2.js";import{a as R}from"./UA7VW5G6.js";import{a as D}from"./7SWJUZZB.js";import b from"./HZ7SN46N.js";import a from"./ULC6JYC5.js";import{g as L}from"./NA3CVL4Q.js";import"./VLOC3O2F.js";import"./ZFK6TVOD.js";import{b as x}from"./PWMO24DQ.js";import{L as C,M as P,N as T,O as w,Q as O,T as N,a as S,b as m,p as v,x as g}from"./G672JV5N.js";import"./HF7SN4A6.js";export default $arcgis.t(([{watch:A},{property:n,subclass:H},h,{onLocaleChange:Z},Y,$,ee,K,te,oe,f,z,{geographicToWebMercator:ie},re,{project:ae},se,,,U,{a:k,c:b}])=>{var ne=S`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,F=!1,ce={maximumAge:0,timeout:15e3,enableHighAccuracy:!0};function le(t){let e="geolocation"in navigator;return e||v("warn",t,"Geolocation is not supported by this browser."),e}function pe(t){let e=window.isSecureContext;return e||F||(F=!0,v("warn",t,"Geolocation requires a secure origin.")),e}function de(t){return le(t)&&pe(t)}function he(t){return t??=ce,new Promise((e,o)=>{setTimeout(()=>o(new h("geolocation:timeout","getting the current geolocation position timed out")),t?.timeout??15e3),navigator.geolocation.getCurrentPosition(e,o,t??void 0)})}function ue(t,e){let{position:o,view:r}=t,i=me(o)?.coords;if(!i)throw new h("geometry-service:no-coords","Geolocation has no coordinates");let a=ge(i);return fe(a,r,e)}function me(t){let e=t?.coords||{},o={accuracy:e.accuracy,altitude:e.altitude,altitudeAccuracy:e.altitudeAccuracy,heading:e.heading,latitude:e.latitude,longitude:e.longitude,speed:e.speed,toJSON(){return{}}};return t&&{coords:o,timestamp:t.timestamp,toJSON(){return{}}}}function ge({longitude:t,latitude:e,altitude:o}){return new oe({longitude:t,latitude:e,z:o||void 0,spatialReference:{wkid:4326}})}async function fe(t,e,o){if(!e)return await Promise.resolve(t);let r=e.spatialReference;return r.isWGS84?await Promise.resolve(t):r.isWebMercator?await Promise.resolve(ie(t)):f.isLoaded()?await Promise.resolve(f.execute(t,r)):await ye(o).then(async i=>{if(!i)throw new h("geometry-service:missing-url","Geometry service URL is missing");let a=new se({geometries:[t],outSpatialReference:r});return(await ae(i,a,o))[0]})}async function ye(t){if(z.geometryServiceUrl)return await Promise.resolve(z.geometryServiceUrl);let e=re.getDefault();try{await e.load(t)}catch{}return e.helperServices?.geometry?.url}var ve=Object.defineProperty,we=Object.getOwnPropertyDescriptor,p=(t,e,o,r)=>{for(var i=r>1?void 0:r?we(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&ve(e,o,i),i},be=2500;function V(t){let e={type:"CIMVectorMarker",enable:!0,anchorPoint:{x:0,y:0},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:t==="background"?16:14,billboardMode3D:"FaceNearPlane",frame:{xmin:0,ymin:0,xmax:17,ymax:17},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[8.5,0],[7.02,.13],[5.59,.51],[4.25,1.14],[3.04,1.99],[1.99,3.04],[1.14,4.25],[.51,5.59],[.13,7.02],[0,8.5],[.13,9.98],[.51,11.41],[1.14,12.75],[1.99,13.96],[3.04,15.01],[4.25,15.86],[5.59,16.49],[7.02,16.87],[8.5,17],[9.98,16.87],[11.41,16.49],[12.75,15.86],[13.96,15.01],[15.01,13.96],[15.86,12.75],[16.49,11.41],[16.87,9.98],[17,8.5],[16.87,7.02],[16.49,5.59],[15.86,4.25],[15.01,3.04],[13.96,1.99],[12.75,1.14],[11.41,.51],[9.98,.13],[8.5,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:t==="background"?0:2,color:[255,255,255,255]},{type:"CIMSolidFill",enable:!0,color:t==="background"?[0,0,0,66]:[0,122,194,255]}]}}],scaleSymbolsProportionally:!0,respectFrame:!0};return t==="background"&&(e.offsetX=0,e.offsetY=-1),e}var J={type:"CIMPictureMarker",primitiveName:"headingOverride",enable:!0,anchorPoint:{x:0,y:-.5},anchorPointUnits:"Relative",dominantSizeAxis3D:"Y",size:36,billboardMode3D:"FaceNearPlane",invertBackfaceTexture:!0,scaleX:1,textureFilter:"Picture",url:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAYAAACe0YppAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAYaSURBVHgBvVfNb1VFFD/nzP16xRYJKYREEiJoDLLShQkrSNzoHv8I2QgxwY8FJWHhxoVxISEu2AordWNiQjAxEBeEsKAmhCCwkPDRAn1t33v33jnH37n3Fam0pa8kTjOde+/MnN/5+J0z85jW08yYTpxgfzx0bS+fO0R0YHqyeb9w7YEtLTv+9rSdOH7ciNleJJJX/Do1JQ3AltdlT35fiN6gG8kD8akdmzO+6w/zM7wdw725rUY78DBXtmATA6PZntFgm9Kjm6o/HFJpdi5Xhp+16sDBC+H+gUmZfjIXHKC+35U42ZHZfpe30BZS7okNFnhu8wTRk2ek5LEV2q+N8nEj6yuNVRjHddftrt4ahyJbOxF+Uppi/Rf47NlA05Pp9vkyRNkkD8sqUJHwOGfSpYFQFXhTJryQBaZSeAxbFus+U1K0gJm2oy3QKwuZzqeuSK5kpW6BEsE6+nCsAHDXQWuaOljzU8uP/ToxUW4KcwKg8QzOSdFL6Swm0hurAC7N2qIW7ncwNgYKF4la3/w7RnzrUK29KseXWqmTKXGl45Zrd9CLrsSjr96fcw4kS46mTsJznSTrVBR6VQJQdDbpZTWexxgCYCFz30cquD8oYVQgtUAUzfo8wGtqGoNRFmFZ1KKulJMQu3Vpm/I8Pup3ekvES57GaabXo4lsszEA6zrkhcmAAkBNshi59O9wVsokBLZUCQAxllXVBkyCDRQuTlLLiLSEqw3gfUqU0kVdsKymsnzyPLm8fXZxDxVZgvUhg9QyaKDI7AhpSlRVEaA83JM+/V8pGO0PMTHyZwra9FQVk4i1e0D6dPK9v5agkmXAhc0Bw5MjlAQQE0lSDbUmbBX4kGfsiiQWuSZtdle1S4F73cUKJgviyw4mmmqlVSoR/FAK2d1noWQZ8N79MySw0tgNzhN00jRFaPM6y3IyLWBxXuOdvMfhaIy1MQctmvnEMGrMq2Y/ekC3dHF14I84gmZP2s0pgiJFHVwYhIIrMC1zgT4fQgsS0CG48LWtslAsgeKZK5U1c5Slj+nEvvJZqOWubr5ks8iE3bVqCMQCz4p5aiUqpMrOdHz2qLFTxAMSPLwY8WpmntNwrXIMCWvESGH+7n9hVi6ZJ6/sR5gnycFFQgsCQEEB8T9TbsCGy4PrZrEBjGyIt4EApoGRXWKP6Mt3fnvOvhWBjR4gdjtJEDmGQQkBSCS6Teys5qECABTPWOBwcPWgAPIU+E2+Rq3J8lsrQawMHNPbqAXvRqasWcMB/mK42N3twM6/FsbJTZK2Fru15K7niPVIp6RHn++9vRKErAg8ta+MFq4LBxAJKY1EajpxLj5KUzFzOMTni4btxoUzXPzIIOwLnEPxGVqlyWoTdO/WNRUXJhDmAgNAJVd0eABj8FTCvLbpEnxdOycJlFNXVq6MDvzthwOQ654LaMGGVofQWIWtXhM9xaCQp85QIZFMPXcpuUPH3uquJj6htVonvySD+KY6c2AulPAzHdVaZElvPCGBgvkIRUECr1J4qmV6LdGyJvAnu+94HZMla1Eg1AuGVyQWnNCwzqsUXK5+AIsUyPRc1Rbpi93X1xK9tsXtkj9U7INWSWvU0DaZ6OlVAmUDiqgbrwY2Z3ThRVKFXrgi/R0x9GMplxAyER6ynAtZin1DQoLVznLMU+/mywMf3dlDpbyMlbjLQDhLw/Sh24sm5dhTrlHKgS/T0X2zLw/sLeGr5OlEbg2uHwAFw5reKuKsJj8kcIj0zq9H5PqAj+z6E8y+YRIaUhnAEOrcWgv9m3shQ1H7mz5duVJtDLhZqZcNlrEDwXKwCzncdFg+PJeVf1m3uPUupLR7Hq6tHNyLhw1TCmdGbm0BmaUjr63LzaMBH943D9f+yO5uZ7HfcLktqdwqMU0jtPUDN6vDOfzgKFrXtta6q83vfHU4M5KoURbT4W3zsPIqrgQFO8GozV8ocZGOTN4dRdRowN6CnOLmKkk5t7H1i+HPNGJj2kj7buYajoRXh2+36eOt+2nENrrF3ozODEmFC0D4hjbQNgYc+DSYjd9qqGSJXqL/tZ16/DWdfvw9bbCt41hcpYn9RAEX9Q22fwC74ny5v9iplQAAAABJRU5ErkJggg=="},Ae=V("layer"),Ee=V("background"),Me=new te({data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[Ae,Ee,J],angleAlignment:"Map"},primitiveOverrides:[{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"Rotation",valueExpressionInfo:{type:"CIMExpressionInfo",title:"Rotation override",expression:"360 - $feature.heading",returnType:"Default"}},{type:"CIMPrimitiveOverride",primitiveName:"headingOverride",propertyName:"TintColor",valueExpressionInfo:{type:"CIMExpressionInfo",title:"TintColor override",expression:"IIF(IsEmpty($feature.heading), [255, 255, 255, 0], [255, 255, 255, 1])",returnType:"Default"}}]}}),c=class extends ee{constructor(){super(...arguments),this._geolocationUsable=!0,this.goToLocationEnabled=!0,this.graphic=new K({symbol:Me}),this.rotationEnabled=!0}initialize(){de(this)||(this._geolocationUsable=!1),this.addHandles([A(()=>this.view?.type,()=>this._handleViewTypeChange(),{initial:!0})])}destroy(){this._clearGraphic(),this.view=void 0}_clearGraphic(){let{view:t,graphic:e}=this;t&&e&&t.graphics.remove(e)}_addGraphic(){let{view:t,graphic:e}=this;!t?.graphics||!e||t.graphics.includes(e)||t.graphics.push(e)}_handleViewTypeChange(){J.enable=this.view?.type==="2d"}_getScaleWithinConstraints(t,e){if(!e)return t;if(e.type==="2d"){let{effectiveMaxScale:o,effectiveMinScale:r}=e.constraints;return Math.min(r,Math.max(o,t))}return t}_getScale(t){let{scale:e}=this,o=typeof e=="number"?e:be;return this._getScaleWithinConstraints(o,t)}_getHeading(t,e){let o=e?.spatialReference,r=o?.isWebMercator||o?.isGeographic,i=t.coords?.heading;return!r||typeof i!="number"||Number.isNaN(i)||i<0||i>360?null:i}_addHeading(t){let{heading:e,target:o,view:r}=t;if(!(!r||e===null)){if(r.type==="3d"){o.heading=e;return}r.type==="2d"&&(o.rotation=360-e)}}async _animatePoint(t,e,o,r){let{view:i}=this;if(!this.goToLocationEnabled||!i)return;let a={target:t,scale:e};this.rotationEnabled&&this._addHeading({heading:o,target:a,view:i});let s={signal:r.signal};if(k(s),this.goToOverride&&i)return await this.goToOverride(i,{target:a,options:s});await i.goTo(a,s)}async updatePosition(t,e){try{let o=this.view,r=await ue({position:t,view:o},{signal:e.signal}),{graphic:i}=this,{timestamp:a,coords:s}=t,{accuracy:y,altitude:u,altitudeAccuracy:j,latitude:q,longitude:_,speed:W}=s,M=this._getHeading(t,o),B={timestamp:a,accuracy:y,altitude:u,altitudeAccuracy:j,heading:M,latitude:q,longitude:_,speed:W};i&&(i.geometry=r,i.attributes=B);let X=this._getScale(o);await this._animatePoint(r,X,M,e)}catch(o){if(!b(o))throw new h("geolocation-positioning:invalid-point","Cannot position invalid point",{error:o})}return t}};p([n()],c.prototype,"_geolocationUsable",2);p([n()],c.prototype,"geolocationOptions",2);p([n()],c.prototype,"goToLocationEnabled",2);p([n()],c.prototype,"goToOverride",2);p([n({type:K})],c.prototype,"graphic",2);p([n()],c.prototype,"scale",2);p([n()],c.prototype,"rotationEnabled",2);p([n()],c.prototype,"view",2);c=p([H("map-components.geolocation.GeolocationPositioning")],c);var Se=Object.defineProperty,Ce=Object.getOwnPropertyDescriptor,d=(t,e,o,r)=>{for(var i=r>1?void 0:r?Ce(e,o):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(i=(r?s(e,o,i):s(i))||i);return r&&i&&Se(e,o,i),i},Pe=new $({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}",className:"esri-icon-trash"});function Te(t){return new Y({title:t.currentLocation,fieldInfos:[{fieldName:"timestamp",label:t.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:t.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:t.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:t.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:t.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:t.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:t.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:t.speed,format:{places:0,digitSeparator:!0}}],actions:[Pe.clone()],content:[{type:"fields"}]})}var l=class extends c{constructor(t){super(t),this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([Z(()=>{let{graphic:t,view:e}=this;t&&e?.graphics?.includes(t)&&this._updatePopupTemplate(t)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new h("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new h("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let t=new AbortController;this._locateController=t,this.error=void 0;try{let e=await he(this.geolocationOptions);if(await this.updatePosition(e,t),this._locateController!==t)return null;let{graphic:o}=this;return o&&this._updatePopupTemplate(o),this._addGraphic(),this.currentPosition=e,this._locateController=void 0,e}catch(e){if(b(e))return null;throw t===this._locateController&&(this._locateController=void 0),this.error=e,e}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(t){if(!this.popupEnabled)return;let e=Te(this.messages),o=t!==this.graphic;this.destroyed||o||(t.popupTemplate=e)}};d([n()],l.prototype,"_locateController",2);d([n()],l.prototype,"currentPosition",2);d([n()],l.prototype,"error",2);d([n()],l.prototype,"messages",2);d([n()],l.prototype,"popupEnabled",2);d([n({readOnly:!0})],l.prototype,"state",1);l=d([H("map-components.locate.LocateViewModel")],l);var G={base:"locate",button:"arcgis-button"},Q="gps-off",Oe=U(l),E=class extends T{constructor(){super(),this.locateButtonElement=C(),this.messages=R(),this.viewModel=Oe(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=Q,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.visualScale="m",this.arcgisError=g(),this.arcgisPropertyChange=L()("state"),this.arcgisReady=g(),this.arcgisSuccess=g(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:0,label:1,messageOverrides:0,popupDisabled:5,referenceElement:1,scale:9,state:3,visualScale:1}}static{this.styles=ne}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[A(()=>this.viewModel.error,e=>{this.isErrorTooltipOpen=!!e,this.arcgisError.emit({error:e})}),A(()=>this.viewModel.currentPosition,e=>{this.arcgisSuccess.emit({position:e})})])}_localizeError(e){if(e instanceof GeolocationPositionError)return e.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:e.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(e instanceof Error)return e.message}_locate(){let{viewModel:e}=this;e.state==="locating"?e.cancelLocate():e.locate().catch(()=>{})}render(){let{viewModel:e,icon:o}=this,{state:r}=e,i=r==="locating",a=i?this.messages.cancel:this.messages.title,s=r==="feature-unsupported",y=I===void 0?Q:void 0,u=this._localizeError(this.viewModel?.error);return m`<div class=${w(x(G.base,G.button))}>${!s&&m`<calcite-button class=${w(D.widgetButton)} .disabled=${r==="disabled"} .loading=${i} .iconStart=${i?void 0:o??y} kind=neutral .label=${a} @click=${this._locate} .scale=${this.visualScale} title=${a??O} ${P(this.locateButtonElement)}></calcite-button>`||""}${u?m`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${u}</calcite-tooltip>`:null}</div>`}};N("arcgis-locate",E);return E},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton","core/Accessor","Graphic","symbols/CIMSymbol","geometry/Point","geometry/operators/projectOperator","config","geometry/support/webMercatorUtils","portal/Portal","rest/geometryService","rest/support/ProjectParameters",a,b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import"./HFWJBUUX.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.115 */
4
+ import"./HF7SN4A6.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:"%",_percentSuffix:null,_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"MS",_era_bc:"M\xD6",A:"\xF6\xF6",P:"\xF6s",AM:"\xD6\xD6",PM:"\xD6S","A.M.":"\xD6\xD6","P.M.":"\xD6S",January:"Ocak",February:"\u015Eubat",March:"Mart",April:"Nisan",May:"May\u0131s",June:"Haziran",July:"Temmuz",August:"A\u011Fustos",September:"Eyl\xFCl",October:"Ekim",November:"Kas\u0131m",December:"Aral\u0131k",Jan:"Oca",Feb:"\u015Eub",Mar:"Mar",Apr:"Nis","May(short)":"May",Jun:"Haz",Jul:"Tem",Aug:"A\u011Fu",Sep:"Eyl",Oct:"Eki",Nov:"Kas",Dec:"Ara",Sunday:"Pazar",Monday:"Pazartesi",Tuesday:"Sal\u0131",Wednesday:"\xC7ar\u015Famba",Thursday:"Per\u015Fembe",Friday:"Cuma",Saturday:"Cumartesi",Sun:"Paz",Mon:"Pzt",Tue:"Sal",Wed:"\xC7ar",Thu:"Per",Fri:"Cum",Sat:"Cmt",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Yak\u0131nla\u015Ft\u0131r",Play:"Oynat",Stop:"Durdur",Legend:"G\xF6sterge","Press ENTER to toggle":"",Loading:"Y\xFCkleniyor",Home:"Giri\u015F Sayfas\u0131",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Yazd\u0131r",Image:"G\xF6r\xFCnt\xFC",Data:"Veri",Print:"Yazd\u0131r","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Kaynak %1 hedef %2","From %1":"Kaynak %1","To %1":"Hedef %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import{a as l}from"./PKNW4SHC.js";import e from"./VUYNYKYT.js";import{a as p}from"./FSPISFLJ.js";import d from"./V4I4WI44.js";import b from"./4N57H3BC.js";import"./2WQ475IE.js";import"./6ECDGXCK.js";import"./M6FUONTE.js";import"./NG7W6LLR.js";import{L as s,M as a,N as g,T as u,a as f,b as t,p as c,x as n}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([y,,,m])=>{var x=f`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=m(y),h=class extends g{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=s(),this._traceResultsRef=s(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceResultFeaturesReady=n(),this.arcgisReady=n()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,closable:7,icon:1,label:3,messageOverrides:0,mode:1,traceResultFeatures:32,referenceElement:1,state:3,view:0}}static{this.styles=x}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsReady(){return!!this.traceResult&&this._numTraceResults>0&&this._traceResultsRef.value?.state==="ready"}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}get traceResultFeatures(){return this._traceResultsRef.value?.traceResultFeatures??[]}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let d=i.allLayerViews.find(_=>{let b=_.layer;if(o.isUtilityLayer(b)){let v=Number(r.layerUrl.split("/").pop());return b.layerId===v}return!1});if(!d)return;let w=d.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){c("error",this,"Trace configuration not found");return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){c("error",this,`Error while running trace. ${r}`),this.traceResult=void 0}}_handleTraceLocationSelectStart(e){e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented&&e.preventDefault()}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}_handleTraceResultFeaturesReady(e){e.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return l(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${a(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady?this._messages.buttons.clearResultsCustom.replace("{number}",this.traceResultFeatures.length.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return l(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${a(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view?this.renderInputTab():null}${this.view&&this._viewModel.utilityNetwork?this.renderResultsTab():null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};u("arcgis-utility-network-trace-analysis",h);return h},"networks/UtilityNetworkTraceAnalysis",b,d,e)
3
+ v5.0.0-next.115 */
4
+ import{a as l}from"./VTHY4VYJ.js";import e from"./XBZ33YQ2.js";import{a as p}from"./UA7VW5G6.js";import d from"./HZ7SN46N.js";import b from"./ULC6JYC5.js";import"./NA3CVL4Q.js";import"./VLOC3O2F.js";import"./ZFK6TVOD.js";import"./PWMO24DQ.js";import{L as s,M as a,N as g,T as u,a as f,b as t,p as c,x as n}from"./G672JV5N.js";import"./HF7SN4A6.js";export default $arcgis.t(([y,,,m])=>{var x=f`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-hidden{display:none!important}[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"+";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}:host{max-width:fit-content;max-height:100%;overflow:auto;arcgis-utility-network-trace-inputs::slotted{overflow-y:auto;max-height:450px}}.arcgis-utility-network-trace-analysis{flex:auto;width:300px}.arcgis-utility-network-trace-analysis calcite-tab{background-color:var(--calcite-color-foreground-1);padding-top:0;padding-bottom:0;min-height:300px;--calcite-tab-content-space-y: 0}.arcgis-utility-network-trace-analysis calcite-tab:not([selected]){flex:0}.arcgis-utility-network-trace-analysis calcite-block{--calcite-block-border-color: transparent;margin:0;background-color:transparent}.arcgis-utility-network-trace-analysis calcite-block calcite-label:last-child{--calcite-label-margin-bottom: 0}.arcgis-utility-network-trace-analysis calcite-notice{padding:var(--calcite-spacing-xs)}`,k=m(y),h=class extends g{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._viewModel=k(this),this._traceInputsRef=s(),this._traceResultsRef=s(),this._highlightHandles=[],this.activeTab="input",this._mode="default",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.state=this._viewModel.state,this.view=this._viewModel.view,this.arcgisTraceLocationSelectStart=n(),this.arcgisTraceLocationSelectEnd=n(),this.arcgisTraceResultFeaturesReady=n(),this.arcgisReady=n()}static{this.properties={activeTab:16,traceResult:16,_mode:16,allowEditingDisabled:5,autoDestroyDisabled:5,beforeTraceLocationSelectStart:0,closable:7,icon:1,label:3,messageOverrides:0,mode:1,traceResultFeatures:32,referenceElement:1,state:3,view:0}}static{this.styles=x}get _allLayers(){let{view:e}=this;return e?.map?e.map.allLayers.toArray().concat(e.map.allTables.toArray()):[]}get _traceResultsReady(){return!!this.traceResult&&this._numTraceResults>0&&this._traceResultsRef.value?.state==="ready"}get _numTraceResults(){let{traceResult:e}=this;return e?e.elements.length+e.globalFunctionResults.length:0}get traceResultFeatures(){return this._traceResultsRef.value?.traceResultFeatures??[]}async destroy(){await this.manager.destroy()}_clearTraceResult(){this.traceResult=void 0,this._clearHighlights()}_switchTab(e){this.activeTab=e}_getLoadError(e){let{_messages:i}=this;switch(e){case"no-user-type-extension":return i.loadErrors.noUserTypeExtension;case"no-utility-network":return i.loadErrors.noUtilityNetwork;case"no-view":return i.loadErrors.noView;case"sceneView-not-supported":return i.loadErrors.sceneViewNotSupported;default:return e}}_clearHighlights(){this._highlightHandles.forEach(e=>e.remove()),this._highlightHandles=[]}_highlightResults(){this._clearHighlights();let{traceResult:e,view:i}=this,o=this._viewModel.utilityNetwork;!o||!e?.elements||!i||o.getObjectIdsFromElements(e.elements).forEach(r=>{let d=i.allLayerViews.find(_=>{let b=_.layer;if(o.isUtilityLayer(b)){let v=Number(r.layerUrl.split("/").pop());return b.layerId===v}return!1});if(!d)return;let w=d.highlight(r.objectIds);this._highlightHandles.push(w)})}async _runTrace(){let e=this._traceInputsRef.value?.selectedNamedTraceConfiguration,i=this._traceInputsRef.value?.unTraceConfiguration;if(!(e?.traceType&&i)){c("error",this,"Trace configuration not found");return}let o=this._traceInputsRef.value?.traceLocations;try{this.traceResult=await this._viewModel.executeTraceConfiguration({traceType:e.traceType,traceConfiguration:i,traceLocations:o??[]}),this._highlightResults()}catch(r){c("error",this,`Error while running trace. ${r}`),this.traceResult=void 0}}_handleTraceLocationSelectStart(e){e.stopPropagation(),this.arcgisTraceLocationSelectStart.emit(e.detail).defaultPrevented&&e.preventDefault()}_handleTraceLocationSelectEnd(e){e.stopPropagation(),this.arcgisTraceLocationSelectEnd.emit()}_handleTraceResultFeaturesReady(e){e.stopPropagation(),this.arcgisTraceResultFeaturesReady.emit()}_handleTraceInputsChange(){}_handleUtilityNetworkChange(){this._viewModel.utilityNetwork=this._traceInputsRef.value?.selectedUtilityNetwork}renderResultsTab(){return l(`${this.el.id}__results-tab-item`,t`<calcite-tab .selected=${this.activeTab==="results"}>${this._viewModel.state==="executing"?t`<calcite-loader .label=${this._messages.runningTrace} .text=${this._messages.runningTrace}></calcite-loader>`:t`<arcgis-utility-network-trace-results .referenceElement=${this.referenceElement} .layers=${this._allLayers} .traceConfigTitle=${this._selectedTraceConfig?.title} .traceResult=${this.traceResult} .utilityNetwork=${this._viewModel.utilityNetwork??void 0} .view=${this.view??void 0} @arcgisTraceResultFeaturesReady=${this._handleTraceResultFeaturesReady} ${a(this._traceResultsRef)}></arcgis-utility-network-trace-results>`}</calcite-tab>`)}renderResultsFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=outline width=full @click=${()=>{this._switchTab("input"),this._clearTraceResult()}} .disabled=${!this._traceResultsReady} slot=footer>${this._traceResultsReady?this._messages.buttons.clearResultsCustom.replace("{number}",this.traceResultFeatures.length.toString()):this._messages.buttons.clearResultsGeneric}</calcite-button>`}renderInputTab(){return l(`${this.el.id}__inputs-tab-item`,t`<calcite-tab .selected=${this.activeTab==="input"}><arcgis-utility-network-trace-inputs .view=${this.view||void 0} .beforeTraceLocationSelectStart=${this.beforeTraceLocationSelectStart} @arcgisTraceInputsChange=${this._handleTraceInputsChange} @arcgisUtilityNetworkChange=${this._handleUtilityNetworkChange} @arcgisTraceLocationSelectStart=${this._handleTraceLocationSelectStart} @arcgisTraceLocationSelectEnd=${this._handleTraceLocationSelectEnd} @arcgisPropertyChange=${e=>{e.stopPropagation(),e.detail.name==="mode"&&(this._mode=e.target.mode)}} ${a(this._traceInputsRef)}></arcgis-utility-network-trace-inputs></calcite-tab>`)}renderInputFooter(){let{_mode:e}=this;return e==="add-spatial"?null:t`<calcite-button appearance=solid width=full @click=${()=>{this._switchTab("results"),this._runTrace()}} slot=footer>${this._messages.buttons.getResults}</calcite-button>`}render(){let{_messages:e,_viewModel:{loadError:i,state:o}}=this,r=o==="disabled"&&i!=null&&i!=="no-utility-network"?t`<calcite-notice kind=warning open scale=s slot=content-top width=full><div slot=message>${this._getLoadError(i)}</div></calcite-notice>`:void 0;return t`<div class="arcgis-utility-network-trace-analysis"><calcite-panel .loading=${this.view===void 0}><calcite-tabs layout=center position=top><calcite-tab-nav slot=title-group><calcite-tab-title @click=${()=>{this._switchTab("input")}} .selected=${this.activeTab==="input"}>${e.tabs.inputTab}</calcite-tab-title><calcite-tab-title @click=${()=>{this._switchTab("results")}} .selected=${this.activeTab==="results"}>${e.tabs.resultsTab}</calcite-tab-title></calcite-tab-nav>${this.view?this.renderInputTab():null}${this.view&&this._viewModel.utilityNetwork?this.renderResultsTab():null}</calcite-tabs>${r}${this.activeTab==="input"?this.renderInputFooter():null}${this.activeTab==="results"?this.renderResultsFooter():null}</calcite-panel></div>`}};u("arcgis-utility-network-trace-analysis",h);return h},"networks/UtilityNetworkTraceAnalysis",b,d,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import"./HFWJBUUX.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
3
+ v5.0.0-next.115 */
4
+ import"./HF7SN4A6.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import a from"./N5MR7L5Y.js";import{a as o}from"./27IC3H52.js";import"./2WQ475IE.js";import"./6ECDGXCK.js";import"./NG7W6LLR.js";import{N as i,T as l,a as s,b as t}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{watch:d},{f:c}])=>{var p=s`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=o("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1,this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,hideAdvancedOptions:5,autoPopulateAuthor:5,showSaveAs:5,arcgisSaveAs:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1}}static{this.styles=p}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>d(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!c(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:n})=>n==="pending");return t`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",a)
3
+ v5.0.0-next.115 */
4
+ import a from"./E4Y33M5M.js";import{a as o}from"./LDUNV7OZ.js";import"./NA3CVL4Q.js";import"./VLOC3O2F.js";import"./PWMO24DQ.js";import{N as i,T as l,a as s,b as t}from"./G672JV5N.js";import"./HF7SN4A6.js";export default $arcgis.t(([{watch:d},{f:c}])=>{var p=s`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=o("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1,this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,hideAdvancedOptions:5,autoPopulateAuthor:5,showSaveAs:5,arcgisSaveAs:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1}}static{this.styles=p}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>d(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!c(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:n})=>n==="pending");return t`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`}};l("arcgis-print-main-panel",a);return a},"core/reactiveUtils",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import"./HFWJBUUX.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"po. Kr.",_era_bc:"pr. Kr.",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"sije\u010Dnja",February:"velja\u010De",March:"o\u017Eujka",April:"travnja",May:"svibnja",June:"lipnja",July:"srpnja",August:"kolovoza",September:"rujna",October:"listopada",November:"studenoga",December:"prosinca",Jan:"sij",Feb:"velj",Mar:"o\u017Eu",Apr:"tra","May(short)":"svi",Jun:"lip",Jul:"srp",Aug:"kol",Sep:"ruj",Oct:"lis",Nov:"stu",Dec:"pro",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a as default};
3
+ v5.0.0-next.115 */
4
+ import"./HF7SN4A6.js";var a={_decimalSeparator:",",_thousandSeparator:".",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"po. Kr.",_era_bc:"pr. Kr.",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"sije\u010Dnja",February:"velja\u010De",March:"o\u017Eujka",April:"travnja",May:"svibnja",June:"lipnja",July:"srpnja",August:"kolovoza",September:"rujna",October:"listopada",November:"studenoga",December:"prosinca",Jan:"sij",Feb:"velj",Mar:"o\u017Eu",Apr:"tra","May(short)":"svi",Jun:"lip",Jul:"srp",Aug:"kol",Sep:"ruj",Oct:"lis",Nov:"stu",Dec:"pro",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{a 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/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
3
+ v5.0.0-next.115 */
4
4
  var e={disabled:"esri-disabled",empty:"esri-widget__content--empty",heading:"esri-widget__heading",loaderAnimation:"esri-widget__loader-animation",panel:"esri-widget--panel",widget:"esri-widget",widgetButton:"esri-widget--button",widgetDisabled:"esri-widget--disabled"};export{e as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import{a as c}from"./27IC3H52.js";import"./2WQ475IE.js";import"./6ECDGXCK.js";import"./NG7W6LLR.js";import{N as n,O as i,T as r,a as o,b as e}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{watch:p}])=>{var h=o`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`,s="arcgis-print",a={advancedOptionsSection:`${s}__advanced-options-section`,layoutSection:`${s}__layout-section`,panelContainer:`${s}__panel-container`},l=class extends n{constructor(){super(...arguments),this._handles=c("disconnect"),this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showSelectedTemplateTitleText:16,hideAdvancedOptions:5,autoPopulateAuthor:5,viewModel:0,messages:0,showTemplateSelector:0,selectExportsTab:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.id,t=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=t?this.viewModel.getLayoutTemplateById(t)??void 0:void 0,this._handles.addHandles(p(()=>this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText,()=>{this._showSelectedTemplateTitleText=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText??!0},{initial:!0}),"template-handle")},{initial:!0})])}render(){return e`<section class=${i(a.layoutSection)} tabindex=-1><div class=${i(a.panelContainer)}>${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`}_renderTitleInput(){if(!this._showSelectedTemplateTitleText)return null;let{title:t,titlePlaceHolder:d}=this.messages;return e`<calcite-label>${t}<calcite-input .placeholder=${d} .value=${this.viewModel.templateOptions.title??""} @calciteInputInput=${m=>{this.viewModel.templateOptions.title=m.currentTarget.value}}></calcite-input></calcite-label>`}_renderTemplateSelect(){return e`<div><calcite-label>${this.messages.template}<arcgis-print-template-select .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector}></arcgis-print-template-select></calcite-label><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`}_renderFileFormatSection(){return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`}_renderAdvancedSection(){return this.hideAdvancedOptions?null:e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(a.advancedOptionsSection)} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`}_renderExportButton(){return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title??void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`}};r("arcgis-print-layout-panel",l);return l},"core/reactiveUtils")
3
+ v5.0.0-next.115 */
4
+ import{a as c}from"./LDUNV7OZ.js";import"./NA3CVL4Q.js";import"./VLOC3O2F.js";import"./PWMO24DQ.js";import{N as n,O as i,T as r,a as o,b as e}from"./G672JV5N.js";import"./HF7SN4A6.js";export default $arcgis.t(([{watch:p}])=>{var h=o`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`,s="arcgis-print",a={advancedOptionsSection:`${s}__advanced-options-section`,layoutSection:`${s}__layout-section`,panelContainer:`${s}__panel-container`},l=class extends n{constructor(){super(...arguments),this._handles=c("disconnect"),this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showSelectedTemplateTitleText:16,hideAdvancedOptions:5,autoPopulateAuthor:5,viewModel:0,messages:0,showTemplateSelector:0,selectExportsTab:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.id,t=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=t?this.viewModel.getLayoutTemplateById(t)??void 0:void 0,this._handles.addHandles(p(()=>this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText,()=>{this._showSelectedTemplateTitleText=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText??!0},{initial:!0}),"template-handle")},{initial:!0})])}render(){return e`<section class=${i(a.layoutSection)} tabindex=-1><div class=${i(a.panelContainer)}>${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`}_renderTitleInput(){if(!this._showSelectedTemplateTitleText)return null;let{title:t,titlePlaceHolder:d}=this.messages;return e`<calcite-label>${t}<calcite-input .placeholder=${d} .value=${this.viewModel.templateOptions.title??""} @calciteInputInput=${m=>{this.viewModel.templateOptions.title=m.currentTarget.value}}></calcite-input></calcite-label>`}_renderTemplateSelect(){return e`<div><calcite-label>${this.messages.template}<arcgis-print-template-select .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector}></arcgis-print-template-select></calcite-label><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`}_renderFileFormatSection(){return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`}_renderAdvancedSection(){return this.hideAdvancedOptions?null:e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(a.advancedOptionsSection)} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`}_renderExportButton(){return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title??void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`}};r("arcgis-print-layout-panel",l);return l},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.113 */
4
- import b from"./6JTZ3KJZ.js";import a from"./YNY5J65A.js";import{b as f}from"./NG7W6LLR.js";import{N as h,O as t,P as y,T as _,a as g,b as n}from"./RILBE66Z.js";import"./HFWJBUUX.js";export default $arcgis.t(([{c:v},{e:$}])=>{var R=g`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:var(--calcite-font-line-height-fixed-xl)}`,i={layerRow:"arcgis-legend--card__layer-row",colorRampContainer:"arcgis-legend--card__color-ramp-container",symbolContainer:"arcgis-legend--card__symbol-container",intervalSeparatorsContainer:"arcgis-legend--card__interval-separators-container",intervalSeparator:"arcgis-legend--card__interval-separator",rampLabel:"arcgis-legend--card__ramp-label"},C=25,E=25,S=100,p=class extends h{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=R}render(){let e=this.legendElement.infos.slice().reverse();return n`<div class=${t(f(i.layerRow,i.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${t(i.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`}_renderPreview(e){let{opacity:s}=this,d=this.legendElement.type==="heatmap-ramp",o=e.length-1,r=E,l=o>2&&!d?C*o:S,m=l+20,a=10,b=[[{shape:{type:"path",path:`M0 ${r/2} L${a} 0 L${a} ${r} Z`},fill:e[0].color,stroke:{width:0}},{shape:{type:"rect",x:a,y:0,width:l,height:r},fill:{type:"linear",x1:a,y1:0,x2:l+a,y2:0,colors:e.map((c,u)=>({color:c.color,offset:d&&"ratio"in c?c.ratio:u/o}))},stroke:{width:0}},{shape:{type:"path",path:`M${l+a} 0 L${m} ${r/2} L${l+a} ${r} Z`},fill:e[e.length-1].color,stroke:{width:0}}]],L=this.legendElement.type==="opacity-ramp"?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel,w=$(b,m,r,{ariaLabel:L}),x={filter:this.cssEffectFilter,opacity:s==null?void 0:`${s}`};return n`<div style=${y(x)}>${w}</div>`}_renderMiddleStopRampLabel(e){let s=e.length%2!==0?e[e.length/2|0]:null;return s?n`<div class=${t(i.intervalSeparatorsContainer)}><div class=${t(i.intervalSeparator)}>|</div>${this._renderRampLabel(s)}</div>`:null}_renderRampLabel(e){return n`<div class=${t(i.rampLabel)}>${v(e,this.legendElement.type,this.messages)}</div>`}};_("arcgis-legend-card-color-ramp",p);return p},a,b)
3
+ v5.0.0-next.115 */
4
+ import b from"./BOC2WXSN.js";import a from"./HDYLBXQH.js";import{b as f}from"./PWMO24DQ.js";import{N as h,O as t,P as y,T as _,a as g,b as n}from"./G672JV5N.js";import"./HF7SN4A6.js";export default $arcgis.t(([{c:v},{e:$}])=>{var R=g`:host{display:flex}.arcgis-legend--card__layer-row{display:flex;flex:1}.arcgis-legend--card__color-ramp-container{justify-content:center}.arcgis-legend--card__symbol-container{display:flex;flex-direction:column}.arcgis-legend--card__interval-separators-container{text-align:center}.arcgis-legend--card__interval-separator{font-size:.5em}.arcgis-legend--card__ramp-label{margin:0 .5em;white-space:nowrap;height:25px;line-height:var(--calcite-font-line-height-fixed-xl)}`,i={layerRow:"arcgis-legend--card__layer-row",colorRampContainer:"arcgis-legend--card__color-ramp-container",symbolContainer:"arcgis-legend--card__symbol-container",intervalSeparatorsContainer:"arcgis-legend--card__interval-separators-container",intervalSeparator:"arcgis-legend--card__interval-separator",rampLabel:"arcgis-legend--card__ramp-label"},C=25,E=25,S=100,p=class extends h{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=R}render(){let e=this.legendElement.infos.slice().reverse();return n`<div class=${t(f(i.layerRow,i.colorRampContainer))}>${this._renderRampLabel(e[0])}<div class=${t(i.symbolContainer)}>${this._renderPreview(e)}${this._renderMiddleStopRampLabel(e)}</div>${this._renderRampLabel(e.at(-1))}</div>`}_renderPreview(e){let{opacity:s}=this,d=this.legendElement.type==="heatmap-ramp",o=e.length-1,r=E,l=o>2&&!d?C*o:S,m=l+20,a=10,b=[[{shape:{type:"path",path:`M0 ${r/2} L${a} 0 L${a} ${r} Z`},fill:e[0].color,stroke:{width:0}},{shape:{type:"rect",x:a,y:0,width:l,height:r},fill:{type:"linear",x1:a,y1:0,x2:l+a,y2:0,colors:e.map((c,u)=>({color:c.color,offset:d&&"ratio"in c?c.ratio:u/o}))},stroke:{width:0}},{shape:{type:"path",path:`M${l+a} 0 L${m} ${r/2} L${l+a} ${r} Z`},fill:e[e.length-1].color,stroke:{width:0}}]],L=this.legendElement.type==="opacity-ramp"?this.messages.previewOpacityRampAriaLabel:this.messages.previewColorRampAriaLabel,w=$(b,m,r,{ariaLabel:L}),x={filter:this.cssEffectFilter,opacity:s==null?void 0:`${s}`};return n`<div style=${y(x)}>${w}</div>`}_renderMiddleStopRampLabel(e){let s=e.length%2!==0?e[e.length/2|0]:null;return s?n`<div class=${t(i.intervalSeparatorsContainer)}><div class=${t(i.intervalSeparator)}>|</div>${this._renderRampLabel(s)}</div>`:null}_renderRampLabel(e){return n`<div class=${t(i.rampLabel)}>${v(e,this.legendElement.type,this.messages)}</div>`}};_("arcgis-legend-card-color-ramp",p);return p},a,b)