@arcgis/map-components 5.2.0-next.9 → 5.2.0-next.90

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 (1225) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/cdn/24XXJOOX.js +2 -0
  4. package/dist/cdn/2FTL6T53.js +2 -0
  5. package/dist/cdn/2JLMOWRT.js +2 -0
  6. package/dist/cdn/2LDYIMCE.js +2 -0
  7. package/dist/cdn/2M33G6FR.js +2 -0
  8. package/dist/cdn/2QADMC6K.js +2 -0
  9. package/dist/cdn/2VLRQ46L.js +2 -0
  10. package/dist/cdn/2VSQARQL.js +2 -0
  11. package/dist/cdn/2XHGISYY.js +2 -0
  12. package/dist/cdn/323SSBOJ.js +2 -0
  13. package/dist/cdn/32DXZW7Z.js +2 -0
  14. package/dist/cdn/32XG4IQO.js +2 -0
  15. package/dist/cdn/35VRWQWE.js +2 -0
  16. package/dist/cdn/36TZJXHA.js +2 -0
  17. package/dist/cdn/3BBEFRTR.js +2 -0
  18. package/dist/cdn/3CHIGFZL.js +2 -0
  19. package/dist/cdn/3J7PCUNV.js +2 -0
  20. package/dist/cdn/3N2HSTRS.js +2 -0
  21. package/dist/cdn/3RKXZISX.js +2 -0
  22. package/dist/cdn/3RMUQ4SS.js +2 -0
  23. package/dist/cdn/3SCF2TGT.js +2 -0
  24. package/dist/cdn/3TAYDIE5.js +2 -0
  25. package/dist/cdn/3VE3XLKT.js +2 -0
  26. package/dist/cdn/3VZGQUZE.js +2 -0
  27. package/dist/cdn/3WTBTYMS.js +2 -0
  28. package/dist/cdn/3WUSU6XP.js +2 -0
  29. package/dist/cdn/4CJBWGTY.js +2 -0
  30. package/dist/cdn/4FVOBVTD.js +4 -0
  31. package/dist/cdn/4FZ5GGDI.js +2 -0
  32. package/dist/cdn/4GE4A5ZF.js +2 -0
  33. package/dist/cdn/4H6N4JTU.js +2 -0
  34. package/dist/cdn/4LKGHKBM.js +2 -0
  35. package/dist/cdn/4MUCONAD.js +2 -0
  36. package/dist/cdn/4RGFCQOB.js +2 -0
  37. package/dist/cdn/4RYR4YDD.js +2 -0
  38. package/dist/cdn/4SV6HHMC.js +2 -0
  39. package/dist/cdn/4TUA2QEW.js +2 -0
  40. package/dist/cdn/56KR4KYO.js +2 -0
  41. package/dist/cdn/5DI7RMZ6.js +2 -0
  42. package/dist/cdn/5EOKOS52.js +2 -0
  43. package/dist/cdn/5GIJFUEJ.js +2 -0
  44. package/dist/cdn/5GN3PNTI.js +2 -0
  45. package/dist/cdn/5HNZ27R4.js +2 -0
  46. package/dist/cdn/5IEGTCFV.js +2 -0
  47. package/dist/cdn/5KXZQI7G.js +2 -0
  48. package/dist/cdn/5L5UYV3H.js +2 -0
  49. package/dist/cdn/5POTZZ3V.js +2 -0
  50. package/dist/cdn/5W4MBIKY.js +2 -0
  51. package/dist/cdn/66PT52ED.js +2 -0
  52. package/dist/cdn/67ZLFQ5D.js +2 -0
  53. package/dist/cdn/6BRAQ2VJ.js +2 -0
  54. package/dist/cdn/6HSLIZLD.js +2 -0
  55. package/dist/cdn/6I6P36ZC.js +2 -0
  56. package/dist/cdn/7HRK777D.js +2 -0
  57. package/dist/cdn/7PCTYMRK.js +2 -0
  58. package/dist/cdn/AACTDN7T.js +2 -0
  59. package/dist/cdn/ANSNQBZW.js +2 -0
  60. package/dist/cdn/AOVBGBGS.js +2 -0
  61. package/dist/cdn/APQ2XNV7.js +2 -0
  62. package/dist/cdn/ARJHGUGG.js +2 -0
  63. package/dist/cdn/AYRZUPV2.js +2 -0
  64. package/dist/cdn/AZYY5BTK.js +2 -0
  65. package/dist/cdn/B2HPLGXB.js +2 -0
  66. package/dist/cdn/B35PDXSH.js +2 -0
  67. package/dist/cdn/B3W2SZIJ.js +2 -0
  68. package/dist/cdn/B5FTF7WR.js +2 -0
  69. package/dist/cdn/B5WHS7ER.js +8 -0
  70. package/dist/cdn/BBFLUSKF.js +2 -0
  71. package/dist/cdn/BPB6FTQK.js +2 -0
  72. package/dist/cdn/BQUWJGGL.js +2 -0
  73. package/dist/cdn/C32RBBXZ.js +2 -0
  74. package/dist/cdn/CEY5WBEU.js +2 -0
  75. package/dist/cdn/CFANWKE6.js +2 -0
  76. package/dist/cdn/CGDMP7IH.js +2 -0
  77. package/dist/cdn/CJLQURQH.js +2 -0
  78. package/dist/cdn/CS5IVOG4.js +2 -0
  79. package/dist/cdn/D325DZEQ.js +2 -0
  80. package/dist/cdn/D3G3JFB6.js +2 -0
  81. package/dist/cdn/DBA7NSTP.js +2 -0
  82. package/dist/cdn/DCGOOUOL.js +2 -0
  83. package/dist/cdn/DDGXUCQU.js +2 -0
  84. package/dist/cdn/DNOSWCRM.js +2 -0
  85. package/dist/cdn/DSLMWFTR.js +2 -0
  86. package/dist/cdn/ECXFGOCB.js +2 -0
  87. package/dist/cdn/ECXHREHJ.js +2 -0
  88. package/dist/cdn/EGJRBN3G.js +2 -0
  89. package/dist/cdn/ENCUTG4J.js +2 -0
  90. package/dist/cdn/EQGGVVNX.js +2 -0
  91. package/dist/cdn/EV2EASMH.js +2 -0
  92. package/dist/cdn/F3G626XT.js +2 -0
  93. package/dist/cdn/FAQNHEA4.js +2 -0
  94. package/dist/cdn/FAS3CA6C.js +2 -0
  95. package/dist/cdn/FD7U6V53.js +2 -0
  96. package/dist/cdn/FLVENMD3.js +2 -0
  97. package/dist/cdn/FQBZ4RIZ.js +2 -0
  98. package/dist/cdn/FQTVI2JC.js +2 -0
  99. package/dist/cdn/FVZJPOWC.js +2 -0
  100. package/dist/cdn/GRVXZRHO.js +2 -0
  101. package/dist/cdn/GU3M4JMW.js +2 -0
  102. package/dist/cdn/H2MG6U2T.js +2 -0
  103. package/dist/cdn/HASESZDN.js +2 -0
  104. package/dist/cdn/HEYHZKI2.js +3 -0
  105. package/dist/cdn/HOUQ3XZ3.js +2 -0
  106. package/dist/cdn/HPLMTKLF.js +2 -0
  107. package/dist/cdn/HRC67J4X.js +2 -0
  108. package/dist/cdn/HRX3VZC6.js +2 -0
  109. package/dist/cdn/HTDQ3T52.js +2 -0
  110. package/dist/cdn/HW3TRZY4.js +2 -0
  111. package/dist/cdn/HXOGSZ3H.js +2 -0
  112. package/dist/cdn/I5EJ7LOJ.js +2 -0
  113. package/dist/cdn/I5SI3FWI.js +2 -0
  114. package/dist/cdn/IBHSU6LP.js +2 -0
  115. package/dist/cdn/IBOB5TYX.js +2 -0
  116. package/dist/cdn/IDKRMHDS.js +2 -0
  117. package/dist/cdn/IE5OHRX5.js +2 -0
  118. package/dist/cdn/IFWRNEPD.js +2 -0
  119. package/dist/cdn/II5MODDO.js +2 -0
  120. package/dist/cdn/IITMDFOP.js +2 -0
  121. package/dist/cdn/IWVSKFSS.js +2 -0
  122. package/dist/cdn/J6TT6SMU.js +2 -0
  123. package/dist/cdn/JCRPP54Z.js +2 -0
  124. package/dist/cdn/JCSG35A7.js +2 -0
  125. package/dist/cdn/JGMSDKM3.js +2 -0
  126. package/dist/cdn/JK4KRK6P.js +2 -0
  127. package/dist/cdn/JTBVK3AS.js +2 -0
  128. package/dist/cdn/JVP63EMR.js +2 -0
  129. package/dist/cdn/K43HEYQI.js +2 -0
  130. package/dist/cdn/K4HD2F6W.js +2 -0
  131. package/dist/cdn/K4TLP5XG.js +2 -0
  132. package/dist/cdn/K66ZH3DH.js +2 -0
  133. package/dist/cdn/KEE5SJGE.js +2 -0
  134. package/dist/cdn/KENF5DVZ.js +2 -0
  135. package/dist/cdn/KIDAEQ5W.js +2 -0
  136. package/dist/cdn/KJSNL3R6.js +2 -0
  137. package/dist/cdn/KNMX3FG5.js +2 -0
  138. package/dist/cdn/KNUETGYG.js +2 -0
  139. package/dist/cdn/KPOJXBNC.js +2 -0
  140. package/dist/cdn/KPX2JCBN.js +2 -0
  141. package/dist/cdn/L2FVENA7.js +2 -0
  142. package/dist/cdn/L2LZHMH7.js +2 -0
  143. package/dist/cdn/L66K2IBM.js +2 -0
  144. package/dist/cdn/L6B6VGZX.js +2 -0
  145. package/dist/cdn/L72D4UTS.js +2 -0
  146. package/dist/cdn/LGAYYLQL.js +2 -0
  147. package/dist/cdn/LIK2D5WG.js +2 -0
  148. package/dist/cdn/LINQYJP4.js +2 -0
  149. package/dist/cdn/LKAMRNMI.js +2 -0
  150. package/dist/cdn/LL7FJHEJ.js +2 -0
  151. package/dist/cdn/LMBTPOT3.js +2 -0
  152. package/dist/cdn/LOTMKNUM.js +2 -0
  153. package/dist/cdn/LVUQ55Y3.js +2 -0
  154. package/dist/cdn/M3TJQPJ3.js +2 -0
  155. package/dist/cdn/M6FA6DZH.js +2 -0
  156. package/dist/cdn/M7ARKSCG.js +2 -0
  157. package/dist/cdn/MBFY4GDJ.js +2 -0
  158. package/dist/cdn/MDICIYVG.js +2 -0
  159. package/dist/cdn/MIHS4UUO.js +2 -0
  160. package/dist/cdn/MIRKEWHI.js +2 -0
  161. package/dist/cdn/MJ2CLOUC.js +2 -0
  162. package/dist/cdn/MJRXLGST.js +2 -0
  163. package/dist/cdn/MR3VAM44.js +2 -0
  164. package/dist/cdn/MSNVY4PH.js +2 -0
  165. package/dist/cdn/MU6AVJOK.js +2 -0
  166. package/dist/cdn/MZ2KYVWD.js +2 -0
  167. package/dist/cdn/N5VJ4SAX.js +2 -0
  168. package/dist/cdn/NCYBFT2Y.js +2 -0
  169. package/dist/cdn/NIFDFP4Q.js +2 -0
  170. package/dist/cdn/NN4RJSCH.js +2 -0
  171. package/dist/cdn/NOVBQIN5.js +2 -0
  172. package/dist/cdn/NWLNFKT6.js +2 -0
  173. package/dist/cdn/NXBXO7PE.js +2 -0
  174. package/dist/cdn/O6F37YLT.js +2 -0
  175. package/dist/cdn/OEGPO4V4.js +2 -0
  176. package/dist/cdn/OF6BYN4Z.js +2 -0
  177. package/dist/cdn/OU7XFISZ.js +2 -0
  178. package/dist/cdn/OWT2YYBJ.js +2 -0
  179. package/dist/cdn/PFX6VX2N.js +2 -0
  180. package/dist/cdn/PLQVU2Q5.js +2 -0
  181. package/dist/cdn/PODV4OTG.js +2 -0
  182. package/dist/cdn/PPTHUNKC.js +2 -0
  183. package/dist/cdn/PSX4TLHP.js +2 -0
  184. package/dist/cdn/PUNT3Q36.js +2 -0
  185. package/dist/cdn/Q2GU7GDS.js +2 -0
  186. package/dist/cdn/Q7SMGP5R.js +2 -0
  187. package/dist/cdn/QB7T5YZ4.js +2 -0
  188. package/dist/cdn/QE6XRKDY.js +2 -0
  189. package/dist/cdn/QUZTFUWM.js +1 -0
  190. package/dist/cdn/QV5ZPD7H.js +2 -0
  191. package/dist/cdn/QVFP6VNW.js +2 -0
  192. package/dist/cdn/QWZOLPCK.js +2 -0
  193. package/dist/cdn/RCGLBAHP.js +2 -0
  194. package/dist/cdn/RFJWLEKY.js +2 -0
  195. package/dist/cdn/RIBE2H6U.js +2 -0
  196. package/dist/cdn/RKXHWHFR.js +2 -0
  197. package/dist/cdn/RT4SQ4PV.js +2 -0
  198. package/dist/cdn/RTFIAQWR.js +2 -0
  199. package/dist/cdn/RTUHTKTO.js +2 -0
  200. package/dist/cdn/S474C2LJ.js +2 -0
  201. package/dist/cdn/S7OFSONY.js +2 -0
  202. package/dist/cdn/SD5FKQFO.js +2 -0
  203. package/dist/cdn/SJJ7QEQX.js +2 -0
  204. package/dist/cdn/SK4OCYH7.js +2 -0
  205. package/dist/cdn/SNO5W2NO.js +2 -0
  206. package/dist/cdn/SOOJLVZP.js +2 -0
  207. package/dist/cdn/SSHNAKNA.js +2 -0
  208. package/dist/cdn/STWRT3F7.js +2 -0
  209. package/dist/cdn/SVJ7AEMP.js +2 -0
  210. package/dist/cdn/SVXVFWF5.js +2 -0
  211. package/dist/cdn/SYDGAFU5.js +2 -0
  212. package/dist/cdn/TBJOTUJP.js +2 -0
  213. package/dist/cdn/TDGUCMON.js +2 -0
  214. package/dist/cdn/TVV525SY.js +2 -0
  215. package/dist/cdn/TY7RUZSW.js +2 -0
  216. package/dist/cdn/TYEPGXJH.js +2 -0
  217. package/dist/cdn/UBD7D3LO.js +2 -0
  218. package/dist/cdn/UEBDFBOK.js +2 -0
  219. package/dist/cdn/UKJYTLTV.js +2 -0
  220. package/dist/cdn/UP7UPFAE.js +2 -0
  221. package/dist/cdn/UREENOOH.js +2 -0
  222. package/dist/cdn/UTAQGRV3.js +2 -0
  223. package/dist/cdn/UTOVD7WO.js +2 -0
  224. package/dist/cdn/UU4FSZYG.js +2 -0
  225. package/dist/cdn/UYFMNOGK.js +2 -0
  226. package/dist/cdn/V2UDGBN4.js +2 -0
  227. package/dist/cdn/V2ZCE7D4.js +2 -0
  228. package/dist/cdn/VAOBL5U2.js +2 -0
  229. package/dist/cdn/VDTRRLON.js +2 -0
  230. package/dist/cdn/VK2AQNZW.js +2 -0
  231. package/dist/cdn/VNT4QL2K.js +5 -0
  232. package/dist/cdn/VNZUXNWJ.js +2 -0
  233. package/dist/cdn/VRC5MLVY.js +2 -0
  234. package/dist/cdn/VRRD4HXH.js +2 -0
  235. package/dist/cdn/VT2IDAHB.js +2 -0
  236. package/dist/cdn/W3M6NBVO.js +2 -0
  237. package/dist/cdn/WE2GHP5E.js +2 -0
  238. package/dist/cdn/WQQVESNN.js +2 -0
  239. package/dist/cdn/WTBRS6C4.js +4 -0
  240. package/dist/cdn/WUPMOIP3.js +2 -0
  241. package/dist/cdn/WVGSH2QD.js +2 -0
  242. package/dist/cdn/WXX3WGFE.js +2 -0
  243. package/dist/cdn/X4RJMWSU.js +2 -0
  244. package/dist/cdn/X5M3AEQM.js +2 -0
  245. package/dist/cdn/XM2OSRTS.js +2 -0
  246. package/dist/cdn/XRTSGX32.js +2 -0
  247. package/dist/cdn/XWHCPDF5.js +2 -0
  248. package/dist/cdn/XXA7VSON.js +2 -0
  249. package/dist/cdn/XZVWADEG.js +2 -0
  250. package/dist/cdn/Y56FOEA4.js +2 -0
  251. package/dist/cdn/YLXNHUYF.js +2 -0
  252. package/dist/cdn/YNC35BAZ.js +2 -0
  253. package/dist/cdn/YTRY74ZP.js +2 -0
  254. package/dist/cdn/YVZI2KY2.js +2 -0
  255. package/dist/cdn/YXKHHGAI.js +2 -0
  256. package/dist/cdn/Z3GGFI6Z.js +2 -0
  257. package/dist/cdn/Z3XLCKLP.js +2 -0
  258. package/dist/cdn/ZFLMRC4G.js +2 -0
  259. package/dist/cdn/ZFQLBEGC.js +2 -0
  260. package/dist/cdn/ZGEJX5IU.js +2 -0
  261. package/dist/cdn/ZJEYDRKM.js +2 -0
  262. package/dist/cdn/ZKW6OUEO.js +2 -0
  263. package/dist/cdn/ZZHPGKBQ.js +2 -0
  264. package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
  265. package/dist/cdn/assets/basemap-gallery/t9n/messages.en.json +1 -1
  266. package/dist/cdn/assets/basemap-layer-list-next/t9n/messages.en.json +1 -0
  267. package/dist/cdn/assets/basemap-toggle/t9n/messages.en.json +1 -1
  268. package/dist/cdn/assets/catalog-layer-list-next/t9n/messages.en.json +1 -0
  269. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ar.json +1 -1
  270. package/dist/cdn/assets/coordinate-conversion/t9n/messages.bg.json +1 -1
  271. package/dist/cdn/assets/coordinate-conversion/t9n/messages.bs.json +1 -1
  272. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ca.json +1 -1
  273. package/dist/cdn/assets/coordinate-conversion/t9n/messages.cs.json +1 -1
  274. package/dist/cdn/assets/coordinate-conversion/t9n/messages.da.json +1 -1
  275. package/dist/cdn/assets/coordinate-conversion/t9n/messages.de.json +1 -1
  276. package/dist/cdn/assets/coordinate-conversion/t9n/messages.el.json +1 -1
  277. package/dist/cdn/assets/coordinate-conversion/t9n/messages.en.json +1 -1
  278. package/dist/cdn/assets/coordinate-conversion/t9n/messages.es.json +1 -1
  279. package/dist/cdn/assets/coordinate-conversion/t9n/messages.et.json +1 -1
  280. package/dist/cdn/assets/coordinate-conversion/t9n/messages.fi.json +1 -1
  281. package/dist/cdn/assets/coordinate-conversion/t9n/messages.fr.json +1 -1
  282. package/dist/cdn/assets/coordinate-conversion/t9n/messages.he.json +1 -1
  283. package/dist/cdn/assets/coordinate-conversion/t9n/messages.hr.json +1 -1
  284. package/dist/cdn/assets/coordinate-conversion/t9n/messages.hu.json +1 -1
  285. package/dist/cdn/assets/coordinate-conversion/t9n/messages.id.json +1 -1
  286. package/dist/cdn/assets/coordinate-conversion/t9n/messages.it.json +1 -1
  287. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ja.json +1 -1
  288. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ko.json +1 -1
  289. package/dist/cdn/assets/coordinate-conversion/t9n/messages.lt.json +1 -1
  290. package/dist/cdn/assets/coordinate-conversion/t9n/messages.lv.json +1 -1
  291. package/dist/cdn/assets/coordinate-conversion/t9n/messages.nl.json +1 -1
  292. package/dist/cdn/assets/coordinate-conversion/t9n/messages.no.json +1 -1
  293. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pl.json +1 -1
  294. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-BR.json +1 -1
  295. package/dist/cdn/assets/coordinate-conversion/t9n/messages.pt-PT.json +1 -1
  296. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ro.json +1 -1
  297. package/dist/cdn/assets/coordinate-conversion/t9n/messages.ru.json +1 -1
  298. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sk.json +1 -1
  299. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sl.json +1 -1
  300. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sr.json +1 -1
  301. package/dist/cdn/assets/coordinate-conversion/t9n/messages.sv.json +1 -1
  302. package/dist/cdn/assets/coordinate-conversion/t9n/messages.th.json +1 -1
  303. package/dist/cdn/assets/coordinate-conversion/t9n/messages.tr.json +1 -1
  304. package/dist/cdn/assets/coordinate-conversion/t9n/messages.uk.json +1 -1
  305. package/dist/cdn/assets/coordinate-conversion/t9n/messages.vi.json +1 -1
  306. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-CN.json +1 -1
  307. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-HK.json +1 -1
  308. package/dist/cdn/assets/coordinate-conversion/t9n/messages.zh-TW.json +1 -1
  309. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ar.json +1 -0
  310. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bg.json +1 -0
  311. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.bs.json +1 -0
  312. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ca.json +1 -0
  313. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.cs.json +1 -0
  314. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.da.json +1 -0
  315. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.de.json +1 -0
  316. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.el.json +1 -0
  317. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.en.json +1 -0
  318. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.es.json +1 -0
  319. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.et.json +1 -0
  320. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fi.json +1 -0
  321. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.fr.json +1 -0
  322. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.he.json +1 -0
  323. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hr.json +1 -0
  324. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.hu.json +1 -0
  325. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.id.json +1 -0
  326. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.it.json +1 -0
  327. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ja.json +1 -0
  328. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ko.json +1 -0
  329. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lt.json +1 -0
  330. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.lv.json +1 -0
  331. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.nl.json +1 -0
  332. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.no.json +1 -0
  333. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pl.json +1 -0
  334. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-BR.json +1 -0
  335. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.pt-PT.json +1 -0
  336. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ro.json +1 -0
  337. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.ru.json +1 -0
  338. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sk.json +1 -0
  339. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sl.json +1 -0
  340. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sr.json +1 -0
  341. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.sv.json +1 -0
  342. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.th.json +1 -0
  343. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.tr.json +1 -0
  344. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.uk.json +1 -0
  345. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.vi.json +1 -0
  346. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-CN.json +1 -0
  347. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-HK.json +1 -0
  348. package/dist/cdn/assets/coordinate-conversion-next/t9n/messages.zh-TW.json +1 -0
  349. package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
  350. package/dist/cdn/assets/layer-list-next/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/oriented-imagery-viewer-panoramic-viewer/t9n/messages.en.json +1 -0
  352. package/dist/cdn/assets/oriented-imagery-viewer-video-controls/t9n/messages.en.json +1 -0
  353. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  354. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  355. package/dist/cdn/assets/search/t9n/messages.en.json +1 -1
  356. package/dist/cdn/assets/selection-toolbar/t9n/messages.en.json +1 -0
  357. package/dist/cdn/assets/table-list-next/t9n/messages.en.json +1 -0
  358. package/dist/cdn/assets/time-bar/t9n/messages.en.json +1 -0
  359. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ar.json +1 -1
  360. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.bg.json +1 -1
  361. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.bs.json +1 -1
  362. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ca.json +1 -1
  363. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.cs.json +1 -1
  364. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.da.json +1 -1
  365. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.de.json +1 -1
  366. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.el.json +1 -1
  367. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.en.json +1 -1
  368. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.es.json +1 -1
  369. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.et.json +1 -1
  370. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.fi.json +1 -1
  371. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.fr.json +1 -1
  372. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.he.json +1 -1
  373. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.hr.json +1 -1
  374. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.hu.json +1 -1
  375. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.id.json +1 -1
  376. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.it.json +1 -1
  377. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ja.json +1 -1
  378. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ko.json +1 -1
  379. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.lt.json +1 -1
  380. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.lv.json +1 -1
  381. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.nl.json +1 -1
  382. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.no.json +1 -1
  383. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pl.json +1 -1
  384. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pt-BR.json +1 -1
  385. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.pt-PT.json +1 -1
  386. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ro.json +1 -1
  387. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.ru.json +1 -1
  388. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sk.json +1 -1
  389. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sl.json +1 -1
  390. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sr.json +1 -1
  391. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.sv.json +1 -1
  392. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.th.json +1 -1
  393. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.tr.json +1 -1
  394. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.uk.json +1 -1
  395. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.vi.json +1 -1
  396. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-CN.json +1 -1
  397. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-HK.json +1 -1
  398. package/dist/cdn/assets/unit-radio-button-group/t9n/messages.zh-TW.json +1 -1
  399. package/dist/cdn/assets/unit-select/t9n/messages.ar.json +1 -1
  400. package/dist/cdn/assets/unit-select/t9n/messages.bg.json +1 -1
  401. package/dist/cdn/assets/unit-select/t9n/messages.bs.json +1 -1
  402. package/dist/cdn/assets/unit-select/t9n/messages.ca.json +1 -1
  403. package/dist/cdn/assets/unit-select/t9n/messages.cs.json +1 -1
  404. package/dist/cdn/assets/unit-select/t9n/messages.da.json +1 -1
  405. package/dist/cdn/assets/unit-select/t9n/messages.de.json +1 -1
  406. package/dist/cdn/assets/unit-select/t9n/messages.el.json +1 -1
  407. package/dist/cdn/assets/unit-select/t9n/messages.en.json +1 -1
  408. package/dist/cdn/assets/unit-select/t9n/messages.es.json +1 -1
  409. package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
  410. package/dist/cdn/assets/unit-select/t9n/messages.fi.json +1 -1
  411. package/dist/cdn/assets/unit-select/t9n/messages.fr.json +1 -1
  412. package/dist/cdn/assets/unit-select/t9n/messages.he.json +1 -1
  413. package/dist/cdn/assets/unit-select/t9n/messages.hr.json +1 -1
  414. package/dist/cdn/assets/unit-select/t9n/messages.hu.json +1 -1
  415. package/dist/cdn/assets/unit-select/t9n/messages.id.json +1 -1
  416. package/dist/cdn/assets/unit-select/t9n/messages.it.json +1 -1
  417. package/dist/cdn/assets/unit-select/t9n/messages.ja.json +1 -1
  418. package/dist/cdn/assets/unit-select/t9n/messages.ko.json +1 -1
  419. package/dist/cdn/assets/unit-select/t9n/messages.lt.json +1 -1
  420. package/dist/cdn/assets/unit-select/t9n/messages.lv.json +1 -1
  421. package/dist/cdn/assets/unit-select/t9n/messages.nl.json +1 -1
  422. package/dist/cdn/assets/unit-select/t9n/messages.no.json +1 -1
  423. package/dist/cdn/assets/unit-select/t9n/messages.pl.json +1 -1
  424. package/dist/cdn/assets/unit-select/t9n/messages.pt-BR.json +1 -1
  425. package/dist/cdn/assets/unit-select/t9n/messages.pt-PT.json +1 -1
  426. package/dist/cdn/assets/unit-select/t9n/messages.ro.json +1 -1
  427. package/dist/cdn/assets/unit-select/t9n/messages.ru.json +1 -1
  428. package/dist/cdn/assets/unit-select/t9n/messages.sk.json +1 -1
  429. package/dist/cdn/assets/unit-select/t9n/messages.sl.json +1 -1
  430. package/dist/cdn/assets/unit-select/t9n/messages.sr.json +1 -1
  431. package/dist/cdn/assets/unit-select/t9n/messages.sv.json +1 -1
  432. package/dist/cdn/assets/unit-select/t9n/messages.th.json +1 -1
  433. package/dist/cdn/assets/unit-select/t9n/messages.tr.json +1 -1
  434. package/dist/cdn/assets/unit-select/t9n/messages.uk.json +1 -1
  435. package/dist/cdn/assets/unit-select/t9n/messages.vi.json +1 -1
  436. package/dist/cdn/assets/unit-select/t9n/messages.zh-CN.json +1 -1
  437. package/dist/cdn/assets/unit-select/t9n/messages.zh-HK.json +1 -1
  438. package/dist/cdn/assets/unit-select/t9n/messages.zh-TW.json +1 -1
  439. package/dist/cdn/assets/utility-network-aggregated-geometry-result-item/t9n/messages.en.json +1 -0
  440. package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
  441. package/dist/cdn/assets/utility-network-subnetwork-info-next/t9n/messages.en.json +1 -0
  442. package/dist/cdn/assets/utility-network-trace-analysis-next/t9n/messages.en.json +1 -0
  443. package/dist/cdn/assets/utility-network-trace-functions-result-item/t9n/messages.en.json +1 -0
  444. package/dist/cdn/assets/utility-network-trace-inputs-next/t9n/messages.en.json +1 -0
  445. package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -1
  446. package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -1
  447. package/dist/cdn/assets/utility-network-trace-location-list-next/t9n/messages.en.json +1 -0
  448. package/dist/cdn/assets/utility-network-trace-location-next/t9n/messages.en.json +1 -0
  449. package/dist/cdn/assets/utility-network-trace-results-next/t9n/messages.en.json +1 -0
  450. package/dist/cdn/assets/utility-network-validate-network-topology/t9n/messages.en.json +1 -1
  451. package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
  452. package/dist/cdn/index.js +1 -1
  453. package/dist/cdn/main.css +1 -1
  454. package/dist/chunks/AnalysisViewModel.js +3 -3
  455. package/dist/chunks/GeolocationPositioning.js +1 -1
  456. package/dist/chunks/action-utils.js +9 -9
  457. package/dist/chunks/async-utils.js +65 -53
  458. package/dist/chunks/component-utils.js +1 -1
  459. package/dist/chunks/constants.js +3 -3
  460. package/dist/chunks/constants2.js +6 -0
  461. package/dist/chunks/css.js +25 -0
  462. package/dist/chunks/dateUtils.js +128 -0
  463. package/dist/chunks/earth-utils.js +21 -0
  464. package/dist/chunks/esri-main.js +1 -1
  465. package/dist/chunks/feature-utils.js +7 -7
  466. package/dist/chunks/graphicsLayerController.js +74 -0
  467. package/dist/chunks/keyboard-utils.js +15 -0
  468. package/dist/chunks/layer-list-item.js +181 -0
  469. package/dist/chunks/layer-list-next.js +7 -0
  470. package/dist/chunks/layer-utils.js +3 -3
  471. package/dist/chunks/layer-utils2.js +46 -0
  472. package/dist/chunks/runtime.js +5 -5
  473. package/dist/chunks/slots.js +2 -2
  474. package/dist/chunks/svgUtils.js +3 -3
  475. package/dist/chunks/time-utils.js +40 -24
  476. package/dist/chunks/titleUtils.js +40 -0
  477. package/dist/chunks/useArcgisViewReadyError.js +59 -33
  478. package/dist/chunks/useViewModel.js +13 -12
  479. package/dist/chunks/utils2.js +36 -70
  480. package/dist/chunks/utils3.js +13 -45
  481. package/dist/chunks/utils4.js +51 -0
  482. package/dist/chunks/zoom.js +32 -0
  483. package/dist/components/arcgis-aggregated-features/customElement.js +63 -64
  484. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +15 -4
  485. package/dist/components/arcgis-area-measurement-2d/customElement.js +42 -42
  486. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +11 -2
  487. package/dist/components/arcgis-attachments/customElement.d.ts +10 -1
  488. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +14 -2
  489. package/dist/components/arcgis-basemap-gallery/customElement.js +33 -32
  490. package/dist/components/arcgis-basemap-gallery-item/customElement.js +21 -15
  491. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +25 -4
  492. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +799 -0
  493. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +315 -0
  494. package/dist/components/arcgis-basemap-layer-list-next/index.js +14 -0
  495. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
  496. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +17 -2
  497. package/dist/components/arcgis-basemap-toggle/customElement.js +30 -22
  498. package/dist/components/arcgis-bookmarks/customElement.d.ts +23 -7
  499. package/dist/components/arcgis-bookmarks/customElement.js +157 -146
  500. package/dist/components/arcgis-bookmarks/index.js +2 -2
  501. package/dist/components/arcgis-building-discipline-tree/customElement.js +2 -2
  502. package/dist/components/arcgis-building-explorer/customElement.d.ts +11 -2
  503. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  504. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  505. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +24 -3
  506. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +580 -0
  507. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +261 -0
  508. package/dist/components/arcgis-catalog-layer-list-next/index.js +10 -0
  509. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -0
  510. package/dist/components/arcgis-clipboard/customElement.d.ts +2 -2
  511. package/dist/components/arcgis-compass/customElement.d.ts +11 -2
  512. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +64 -114
  513. package/dist/components/arcgis-coordinate-conversion/customElement.js +198 -250
  514. package/dist/components/arcgis-coordinate-conversion/index.js +3 -12
  515. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +436 -0
  516. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +361 -0
  517. package/dist/components/arcgis-coordinate-conversion-next/index.js +19 -0
  518. package/dist/components/arcgis-coordinate-conversion-next/types.d.ts +1 -0
  519. package/dist/components/arcgis-daylight/customElement.d.ts +50 -6
  520. package/dist/components/arcgis-daylight/customElement.js +302 -292
  521. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +11 -2
  522. package/dist/components/arcgis-directional-pad/customElement.d.ts +11 -2
  523. package/dist/components/arcgis-directions/customElement.d.ts +13 -3
  524. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +11 -2
  525. package/dist/components/arcgis-editor/customElement.d.ts +95 -3
  526. package/dist/components/arcgis-editor/customElement.js +26 -14
  527. package/dist/components/arcgis-elevation-profile/customElement.d.ts +14 -2
  528. package/dist/components/arcgis-elevation-profile/customElement.js +45 -44
  529. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  530. package/dist/components/arcgis-elevation-profile-settings/customElement.js +22 -22
  531. package/dist/components/arcgis-expand/customElement.d.ts +11 -2
  532. package/dist/components/arcgis-expand/customElement.js +5 -5
  533. package/dist/components/arcgis-feature/customElement.d.ts +12 -3
  534. package/dist/components/arcgis-feature/customElement.js +1 -1
  535. package/dist/components/arcgis-feature-attachments/customElement.js +33 -33
  536. package/dist/components/arcgis-feature-content/customElement.js +6 -6
  537. package/dist/components/arcgis-feature-expression/customElement.js +56 -53
  538. package/dist/components/arcgis-feature-form/customElement.d.ts +10 -1
  539. package/dist/components/arcgis-feature-media/customElement.js +46 -45
  540. package/dist/components/arcgis-feature-next/customElement.d.ts +31 -3
  541. package/dist/components/arcgis-feature-next/customElement.js +52 -52
  542. package/dist/components/arcgis-feature-relationship/customElement.js +36 -33
  543. package/dist/components/arcgis-feature-table/customElement.d.ts +19 -10
  544. package/dist/components/arcgis-feature-table/customElement.js +66 -46
  545. package/dist/components/arcgis-feature-templates/customElement.d.ts +18 -2
  546. package/dist/components/arcgis-feature-templates/customElement.js +4 -4
  547. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +11 -2
  548. package/dist/components/arcgis-feature-title/customElement.js +7 -6
  549. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  550. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +97 -104
  551. package/dist/components/arcgis-features/customElement.d.ts +36 -3
  552. package/dist/components/arcgis-features/customElement.js +75 -64
  553. package/dist/components/arcgis-features-next/customElement.d.ts +54 -10
  554. package/dist/components/arcgis-features-next/customElement.js +166 -130
  555. package/dist/components/arcgis-features-next/index.js +0 -1
  556. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -3
  557. package/dist/components/arcgis-floor-filter/customElement.js +3 -3
  558. package/dist/components/arcgis-fullscreen/customElement.d.ts +2 -2
  559. package/dist/components/arcgis-grid-controls/customElement.d.ts +11 -2
  560. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  561. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -0
  562. package/dist/components/arcgis-home/customElement.d.ts +11 -2
  563. package/dist/components/arcgis-labeled-switch/customElement.js +5 -5
  564. package/dist/components/arcgis-layer-list/customElement.d.ts +21 -3
  565. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  566. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +51 -9
  567. package/dist/components/arcgis-layer-list-item-panel/customElement.js +8 -8
  568. package/dist/components/arcgis-layer-list-next/customElement.d.ts +303 -149
  569. package/dist/components/arcgis-layer-list-next/customElement.js +142 -105
  570. package/dist/components/arcgis-layer-list-next/index.js +2 -2
  571. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +10 -153
  572. package/dist/components/arcgis-layer-list-next/types.d.ts +56 -0
  573. package/dist/components/arcgis-legend/customElement.d.ts +13 -4
  574. package/dist/components/arcgis-legend/customElement.js +34 -33
  575. package/dist/components/arcgis-legend-card-element/customElement.js +34 -33
  576. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +11 -11
  577. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
  578. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  579. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +15 -15
  580. package/dist/components/arcgis-legend-classic-element/customElement.js +39 -35
  581. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +5 -4
  582. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +6 -6
  583. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +3 -3
  584. package/dist/components/arcgis-legend-classic-view/customElement.js +41 -18
  585. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +11 -11
  586. package/dist/components/arcgis-legend-spike-ramp/customElement.js +13 -13
  587. package/dist/components/arcgis-line-of-sight/customElement.d.ts +11 -2
  588. package/dist/components/arcgis-line-of-sight/customElement.js +5 -5
  589. package/dist/components/arcgis-link-chart/customElement.d.ts +22 -7
  590. package/dist/components/arcgis-link-chart/customElement.js +25 -19
  591. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +11 -2
  592. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +11 -2
  593. package/dist/components/arcgis-locate/customElement.d.ts +12 -3
  594. package/dist/components/arcgis-locate/customElement.js +9 -9
  595. package/dist/components/arcgis-map/customElement.d.ts +149 -113
  596. package/dist/components/arcgis-map/customElement.js +20 -14
  597. package/dist/components/arcgis-measurement/customElement.d.ts +11 -2
  598. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +34 -10
  599. package/dist/components/arcgis-multi-feature-form/customElement.js +98 -21
  600. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +11 -2
  601. package/dist/components/arcgis-navigation-toggle/customElement.js +45 -26
  602. package/dist/components/arcgis-navigation-toggle/index.js +1 -0
  603. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +11 -2
  604. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +9 -9
  605. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.d.ts +48 -0
  606. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +410 -0
  607. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/index.js +5 -0
  608. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/support/NonPanoramicMedia.d.ts +34 -0
  609. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.d.ts +51 -0
  610. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1005 -0
  611. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/index.js +5 -0
  612. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicMedia.d.ts +49 -0
  613. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTilePlanner.d.ts +18 -0
  614. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/support/PanoramicTileSource.d.ts +36 -0
  615. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +100 -0
  616. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +93 -0
  617. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/index.js +2 -0
  618. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.d.ts +34 -0
  619. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +61 -0
  620. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/index.js +5 -0
  621. package/dist/components/arcgis-paste/PasteViewModel.d.ts +3 -1
  622. package/dist/components/arcgis-paste/customElement.d.ts +17 -2
  623. package/dist/components/arcgis-paste/customElement.js +240 -234
  624. package/dist/components/arcgis-popup/customElement.d.ts +33 -24
  625. package/dist/components/arcgis-popup/customElement.js +47 -49
  626. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +10 -1
  627. package/dist/components/arcgis-presentation/customElement.d.ts +41 -5
  628. package/dist/components/arcgis-presentation/customElement.js +261 -203
  629. package/dist/components/arcgis-presentation/index.js +2 -0
  630. package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
  631. package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
  632. package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
  633. package/dist/components/arcgis-print/customElement.d.ts +16 -4
  634. package/dist/components/arcgis-print/customElement.js +10 -4
  635. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +74 -0
  636. package/dist/components/arcgis-print-datum-transformation-input/index.js +3 -0
  637. package/dist/components/arcgis-print-dpi-input/customElement.js +22 -14
  638. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  639. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  640. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +36 -31
  641. package/dist/components/arcgis-print-layout-advanced-options/index.js +1 -0
  642. package/dist/components/arcgis-print-layout-panel/customElement.js +19 -16
  643. package/dist/components/arcgis-print-main-panel/customElement.js +28 -21
  644. package/dist/components/arcgis-print-template-select/customElement.js +24 -21
  645. package/dist/components/arcgis-print-template-selector/customElement.js +15 -15
  646. package/dist/components/arcgis-scale-bar/customElement.d.ts +11 -2
  647. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +11 -2
  648. package/dist/components/arcgis-scene/customElement.d.ts +24 -8
  649. package/dist/components/arcgis-scene/customElement.js +22 -16
  650. package/dist/components/arcgis-search/customElement.d.ts +23 -15
  651. package/dist/components/arcgis-search/customElement.js +5 -5
  652. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +10 -2
  653. package/dist/components/arcgis-search-result-renderer/customElement.js +22 -36
  654. package/dist/components/arcgis-search-result-renderer/index.js +0 -1
  655. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +398 -0
  656. package/dist/components/arcgis-selection-toolbar/customElement.js +195 -0
  657. package/dist/components/arcgis-selection-toolbar/index.js +10 -0
  658. package/dist/components/arcgis-shadow-cast/customElement.d.ts +12 -3
  659. package/dist/components/arcgis-shadow-cast/customElement.js +96 -85
  660. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  661. package/dist/components/arcgis-sketch/customElement.d.ts +116 -3
  662. package/dist/components/arcgis-sketch/customElement.js +41 -25
  663. package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +6 -0
  664. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  665. package/dist/components/arcgis-slice/customElement.d.ts +11 -2
  666. package/dist/components/arcgis-slice/customElement.js +7 -7
  667. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +9 -0
  668. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +9 -0
  669. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +9 -0
  670. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +9 -0
  671. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +9 -0
  672. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +9 -0
  673. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +9 -0
  674. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +15 -7
  675. package/dist/components/arcgis-slider-scale-range/customElement.js +69 -56
  676. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +9 -0
  677. package/dist/components/arcgis-snapping-controls/customElement.d.ts +11 -2
  678. package/dist/components/arcgis-swipe/customElement.d.ts +11 -2
  679. package/dist/components/arcgis-table-list/customElement.d.ts +96 -18
  680. package/dist/components/arcgis-table-list-next/customElement.d.ts +512 -0
  681. package/dist/components/arcgis-table-list-next/customElement.js +181 -0
  682. package/dist/components/arcgis-table-list-next/index.d.ts +1 -0
  683. package/dist/components/arcgis-table-list-next/index.js +7 -0
  684. package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
  685. package/dist/components/arcgis-template-image/customElement.js +0 -1
  686. package/dist/components/arcgis-time-bar/TimeBarViewModel.d.ts +71 -0
  687. package/dist/components/arcgis-time-bar/customElement.d.ts +1015 -0
  688. package/dist/components/arcgis-time-bar/customElement.js +587 -0
  689. package/dist/components/arcgis-time-bar/index.d.ts +1 -0
  690. package/dist/components/arcgis-time-bar/index.js +7 -0
  691. package/dist/components/arcgis-time-bar/types.d.ts +45 -0
  692. package/dist/components/arcgis-time-bar-date/customElement.js +37 -0
  693. package/dist/components/arcgis-time-bar-date/index.js +1 -0
  694. package/dist/components/arcgis-time-bar-extent/customElement.js +30 -0
  695. package/dist/components/arcgis-time-bar-extent/index.js +2 -0
  696. package/dist/components/arcgis-time-bar-settings/customElement.js +352 -0
  697. package/dist/components/arcgis-time-bar-settings/index.js +18 -0
  698. package/dist/components/arcgis-time-bar-slider/customElement.d.ts +181 -0
  699. package/dist/components/arcgis-time-bar-slider/customElement.js +150 -0
  700. package/dist/components/arcgis-time-bar-slider/index.d.ts +1 -0
  701. package/dist/components/arcgis-time-bar-slider/index.js +5 -0
  702. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  703. package/dist/components/arcgis-time-slider/customElement.d.ts +17 -8
  704. package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -2
  705. package/dist/components/arcgis-track/customElement.d.ts +13 -4
  706. package/dist/components/arcgis-track/customElement.js +1 -1
  707. package/dist/components/arcgis-unit-radio-button-group/customElement.js +8 -8
  708. package/dist/components/arcgis-unit-select/customElement.js +3 -3
  709. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +9 -2
  710. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +59 -56
  711. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +114 -0
  712. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +125 -0
  713. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/index.d.ts +1 -0
  714. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/index.js +5 -0
  715. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +11 -2
  716. package/dist/components/arcgis-utility-network-picker/customElement.d.ts +56 -0
  717. package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
  718. package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
  719. package/dist/components/arcgis-utility-network-picker/index.js +7 -0
  720. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +1 -1
  721. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +18 -18
  722. package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.d.ts +29 -0
  723. package/dist/components/arcgis-utility-network-subnetwork-info-next/customElement.js +35 -0
  724. package/dist/components/arcgis-utility-network-subnetwork-info-next/index.d.ts +1 -0
  725. package/dist/components/arcgis-utility-network-subnetwork-info-next/index.js +1 -0
  726. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +11 -2
  727. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +13 -4
  728. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +116 -107
  729. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +398 -0
  730. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +185 -0
  731. package/dist/components/arcgis-utility-network-trace-analysis-next/index.d.ts +1 -0
  732. package/dist/components/arcgis-utility-network-trace-analysis-next/index.js +11 -0
  733. package/dist/components/arcgis-utility-network-trace-analysis-next/types.d.ts +27 -0
  734. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.d.ts +30 -0
  735. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +34 -0
  736. package/dist/components/arcgis-utility-network-trace-functions-result-item/index.d.ts +1 -0
  737. package/dist/components/arcgis-utility-network-trace-functions-result-item/index.js +4 -0
  738. package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +26 -9
  739. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +220 -205
  740. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +206 -0
  741. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +384 -0
  742. package/dist/components/arcgis-utility-network-trace-inputs-next/index.d.ts +1 -0
  743. package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +17 -0
  744. package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +43 -29
  745. package/dist/components/arcgis-utility-network-trace-location/customElement.js +180 -184
  746. package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +6 -4
  747. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +37 -38
  748. package/dist/components/arcgis-utility-network-trace-location-list-next/customElement.d.ts +43 -0
  749. package/dist/components/arcgis-utility-network-trace-location-list-next/customElement.js +70 -0
  750. package/dist/components/arcgis-utility-network-trace-location-list-next/index.d.ts +1 -0
  751. package/dist/components/arcgis-utility-network-trace-location-list-next/index.js +9 -0
  752. package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +168 -0
  753. package/dist/components/arcgis-utility-network-trace-location-next/customElement.js +292 -0
  754. package/dist/components/arcgis-utility-network-trace-location-next/index.d.ts +1 -0
  755. package/dist/components/arcgis-utility-network-trace-location-next/index.js +4 -0
  756. package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +21 -10
  757. package/dist/components/arcgis-utility-network-trace-results/customElement.js +125 -104
  758. package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +179 -0
  759. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +201 -0
  760. package/dist/components/arcgis-utility-network-trace-results-next/index.d.ts +1 -0
  761. package/dist/components/arcgis-utility-network-trace-results-next/index.js +10 -0
  762. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +20 -1
  763. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +129 -88
  764. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +11 -2
  765. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +9 -0
  766. package/dist/components/arcgis-version-management/customElement.d.ts +123 -94
  767. package/dist/components/arcgis-version-management/customElement.js +164 -176
  768. package/dist/components/arcgis-version-management/index.js +3 -4
  769. package/dist/components/arcgis-version-management-service-item/customElement.js +24 -39
  770. package/dist/components/arcgis-version-management-service-item/index.js +0 -1
  771. package/dist/components/arcgis-version-management-version-list/customElement.js +43 -70
  772. package/dist/components/arcgis-version-management-version-list/index.js +5 -6
  773. package/dist/components/arcgis-version-management-version-list-item/customElement.js +44 -0
  774. package/dist/components/arcgis-version-management-version-list-item/index.js +5 -0
  775. package/dist/components/arcgis-version-management-version-properties/customElement.js +80 -67
  776. package/dist/components/arcgis-version-management-version-properties/index.js +3 -4
  777. package/dist/components/arcgis-video/customElement.d.ts +15 -4
  778. package/dist/components/arcgis-video-player/customElement.d.ts +11 -2
  779. package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
  780. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  781. package/dist/components/arcgis-volume-measurement/customElement.d.ts +22 -3
  782. package/dist/components/arcgis-weather/customElement.d.ts +12 -3
  783. package/dist/components/arcgis-weather/customElement.js +105 -110
  784. package/dist/components/arcgis-zoom/customElement.d.ts +11 -2
  785. package/dist/components/arcgis-zoom/customElement.js +21 -45
  786. package/dist/components/types.d.ts +3 -2
  787. package/dist/controllers/useT9n.d.ts +3 -0
  788. package/dist/docs/api.json +1 -1
  789. package/dist/docs/docs.json +1 -1
  790. package/dist/docs/vscode.html-custom-data.json +1 -1
  791. package/dist/docs/web-types.json +1 -1
  792. package/dist/index.d.ts +152 -48
  793. package/dist/loader.js +52 -32
  794. package/dist/support/time-utils.d.ts +7 -0
  795. package/dist/types/lumina.d.ts +175 -54
  796. package/dist/types/preact.d.ts +195 -60
  797. package/dist/types/react.d.ts +215 -66
  798. package/dist/types/stencil.d.ts +177 -56
  799. package/dist/utils/layer-list-utils.d.ts +14 -4
  800. package/package.json +8 -8
  801. package/dist/cdn/247JB6HC.js +0 -2
  802. package/dist/cdn/24UHFJSD.js +0 -2
  803. package/dist/cdn/2EOQ5G2R.js +0 -2
  804. package/dist/cdn/2IHSVTUV.js +0 -2
  805. package/dist/cdn/2LRS7XSQ.js +0 -2
  806. package/dist/cdn/2MJTTQRU.js +0 -2
  807. package/dist/cdn/2UUNYEUN.js +0 -2
  808. package/dist/cdn/2VO54ZCF.js +0 -2
  809. package/dist/cdn/2W65DCE5.js +0 -2
  810. package/dist/cdn/36WOQXAG.js +0 -2
  811. package/dist/cdn/3AEIX7N2.js +0 -2
  812. package/dist/cdn/3AEP2FXT.js +0 -2
  813. package/dist/cdn/3AZCF2P5.js +0 -2
  814. package/dist/cdn/3IR6UCFP.js +0 -2
  815. package/dist/cdn/3WUFMA2I.js +0 -2
  816. package/dist/cdn/43Q3TUPX.js +0 -2
  817. package/dist/cdn/462X4ZCG.js +0 -2
  818. package/dist/cdn/4C2T7LDD.js +0 -2
  819. package/dist/cdn/4FZ4IAPL.js +0 -2
  820. package/dist/cdn/4KS4DINK.js +0 -2
  821. package/dist/cdn/4OTJYTTQ.js +0 -2
  822. package/dist/cdn/4UMLJTUD.js +0 -2
  823. package/dist/cdn/4XXFAFOW.js +0 -2
  824. package/dist/cdn/4Z7PBRIH.js +0 -2
  825. package/dist/cdn/52XUYHPM.js +0 -2
  826. package/dist/cdn/55JA345T.js +0 -2
  827. package/dist/cdn/5DX23PKC.js +0 -2
  828. package/dist/cdn/5EZWKZFY.js +0 -2
  829. package/dist/cdn/5G3WPEKE.js +0 -2
  830. package/dist/cdn/5HLB5EA2.js +0 -2
  831. package/dist/cdn/5J4YSRUG.js +0 -2
  832. package/dist/cdn/5K2CCSSV.js +0 -2
  833. package/dist/cdn/5MIR5GO7.js +0 -2
  834. package/dist/cdn/5UUUR4LF.js +0 -2
  835. package/dist/cdn/5YLWFVCR.js +0 -2
  836. package/dist/cdn/646E35Z7.js +0 -2
  837. package/dist/cdn/65KVOBE6.js +0 -2
  838. package/dist/cdn/677ZJV57.js +0 -2
  839. package/dist/cdn/6B3LWOSR.js +0 -2
  840. package/dist/cdn/6DIRMUKS.js +0 -2
  841. package/dist/cdn/6DVVJ6UQ.js +0 -2
  842. package/dist/cdn/6FLKFYZS.js +0 -2
  843. package/dist/cdn/6RVCU3XX.js +0 -2
  844. package/dist/cdn/6UZE2NMX.js +0 -2
  845. package/dist/cdn/6WJC22XL.js +0 -2
  846. package/dist/cdn/72HGJS7F.js +0 -2
  847. package/dist/cdn/72IUGDSR.js +0 -2
  848. package/dist/cdn/7EDIRSB6.js +0 -2
  849. package/dist/cdn/A2HZCAZE.js +0 -2
  850. package/dist/cdn/A5ST5PJ5.js +0 -2
  851. package/dist/cdn/A5XIQWD5.js +0 -2
  852. package/dist/cdn/ABGIEQOM.js +0 -2
  853. package/dist/cdn/AC4VLUR7.js +0 -2
  854. package/dist/cdn/ACYXIGDC.js +0 -2
  855. package/dist/cdn/AD3PXUFR.js +0 -2
  856. package/dist/cdn/AEV7DYPK.js +0 -2
  857. package/dist/cdn/AH342SCZ.js +0 -2
  858. package/dist/cdn/AHLQEQK2.js +0 -2
  859. package/dist/cdn/AJJQYWT2.js +0 -2
  860. package/dist/cdn/AOIJ5WKT.js +0 -2
  861. package/dist/cdn/AU2KKQT7.js +0 -2
  862. package/dist/cdn/AZBJOEWG.js +0 -2
  863. package/dist/cdn/B3FETUUC.js +0 -2
  864. package/dist/cdn/BHPWS2QK.js +0 -2
  865. package/dist/cdn/BIOHRZG4.js +0 -2
  866. package/dist/cdn/BJF74GDX.js +0 -2
  867. package/dist/cdn/BMQSD7CZ.js +0 -2
  868. package/dist/cdn/C53XXDLL.js +0 -2
  869. package/dist/cdn/CEX3HFS5.js +0 -2
  870. package/dist/cdn/CFFGEFFG.js +0 -2
  871. package/dist/cdn/CIPWHULA.js +0 -2
  872. package/dist/cdn/CK4PHS32.js +0 -2
  873. package/dist/cdn/CLRULE43.js +0 -2
  874. package/dist/cdn/CN43LFSC.js +0 -2
  875. package/dist/cdn/CW7J5L5W.js +0 -2
  876. package/dist/cdn/CXBJTCMX.js +0 -2
  877. package/dist/cdn/CXQMHOIE.js +0 -2
  878. package/dist/cdn/CZXCSL3K.js +0 -2
  879. package/dist/cdn/D2JUQOOB.js +0 -2
  880. package/dist/cdn/DITXUZMH.js +0 -2
  881. package/dist/cdn/DQVQA34C.js +0 -2
  882. package/dist/cdn/DTCM4F4D.js +0 -2
  883. package/dist/cdn/E6YUUO2H.js +0 -2
  884. package/dist/cdn/EHWHV3TW.js +0 -2
  885. package/dist/cdn/EJT4UYVM.js +0 -2
  886. package/dist/cdn/ELZUFCOE.js +0 -2
  887. package/dist/cdn/ENVZLZTN.js +0 -2
  888. package/dist/cdn/ENZYELFC.js +0 -2
  889. package/dist/cdn/EWYSBOXF.js +0 -2
  890. package/dist/cdn/FGSOMLKL.js +0 -2
  891. package/dist/cdn/FMAUG4J6.js +0 -2
  892. package/dist/cdn/FMV55CW5.js +0 -2
  893. package/dist/cdn/FSX5CR3Y.js +0 -2
  894. package/dist/cdn/GBFRPLDY.js +0 -2
  895. package/dist/cdn/GDYHCLUR.js +0 -2
  896. package/dist/cdn/GFALET66.js +0 -2
  897. package/dist/cdn/GHWKTOPC.js +0 -2
  898. package/dist/cdn/GPBHLYUN.js +0 -2
  899. package/dist/cdn/GSXZL5BA.js +0 -2
  900. package/dist/cdn/GV4HF2GT.js +0 -2
  901. package/dist/cdn/GVOCIBLC.js +0 -2
  902. package/dist/cdn/GX45UPO4.js +0 -2
  903. package/dist/cdn/H6ZQZLZH.js +0 -2
  904. package/dist/cdn/HEXBGK66.js +0 -2
  905. package/dist/cdn/HKRVIYSV.js +0 -2
  906. package/dist/cdn/HXDS4O7D.js +0 -2
  907. package/dist/cdn/HXHMU23F.js +0 -2
  908. package/dist/cdn/HZ5Z3AFP.js +0 -2
  909. package/dist/cdn/ICPGYJTW.js +0 -2
  910. package/dist/cdn/IG4R2XLP.js +0 -2
  911. package/dist/cdn/IZ23ZAMR.js +0 -2
  912. package/dist/cdn/J2IWIVXJ.js +0 -2
  913. package/dist/cdn/JAANZHBL.js +0 -2
  914. package/dist/cdn/JBJLMUHX.js +0 -2
  915. package/dist/cdn/JBRTOHPW.js +0 -2
  916. package/dist/cdn/JBWWGDI5.js +0 -2
  917. package/dist/cdn/JK33HXYG.js +0 -2
  918. package/dist/cdn/JR7WLCS2.js +0 -2
  919. package/dist/cdn/K5NKFHWA.js +0 -2
  920. package/dist/cdn/KZH3Q5MI.js +0 -2
  921. package/dist/cdn/L5DJYP26.js +0 -2
  922. package/dist/cdn/L5SSZOSL.js +0 -2
  923. package/dist/cdn/LA4S2O5W.js +0 -2
  924. package/dist/cdn/LDM5UMZM.js +0 -2
  925. package/dist/cdn/LID7GFUT.js +0 -2
  926. package/dist/cdn/LIUWARHG.js +0 -2
  927. package/dist/cdn/LM56QFP5.js +0 -2
  928. package/dist/cdn/LOLYJZFX.js +0 -2
  929. package/dist/cdn/LS7VVK2A.js +0 -2
  930. package/dist/cdn/M3U7I4H6.js +0 -2
  931. package/dist/cdn/M6KJCZWB.js +0 -2
  932. package/dist/cdn/M7XQTF3M.js +0 -2
  933. package/dist/cdn/MH6OJCJ6.js +0 -2
  934. package/dist/cdn/MHA3J3XD.js +0 -2
  935. package/dist/cdn/MVJ7QDW6.js +0 -2
  936. package/dist/cdn/NEJ3H2LB.js +0 -2
  937. package/dist/cdn/NGJHKJQX.js +0 -2
  938. package/dist/cdn/NL4JYQA4.js +0 -5
  939. package/dist/cdn/NOHLNRB4.js +0 -2
  940. package/dist/cdn/NPXSQGJZ.js +0 -2
  941. package/dist/cdn/NTGB5SHW.js +0 -2
  942. package/dist/cdn/O33Q3AY4.js +0 -2
  943. package/dist/cdn/O7FJMEMD.js +0 -2
  944. package/dist/cdn/OAUNPVAN.js +0 -2
  945. package/dist/cdn/OF5Q7FRP.js +0 -2
  946. package/dist/cdn/OMUMDPCJ.js +0 -2
  947. package/dist/cdn/OO3T24WP.js +0 -2
  948. package/dist/cdn/OUW4GHOA.js +0 -2
  949. package/dist/cdn/OVESZKUR.js +0 -2
  950. package/dist/cdn/OYGDLBCN.js +0 -2
  951. package/dist/cdn/P2YOSZ4V.js +0 -2
  952. package/dist/cdn/P7JISRFX.js +0 -2
  953. package/dist/cdn/PB2LBPTM.js +0 -2
  954. package/dist/cdn/PECOFR7Q.js +0 -2
  955. package/dist/cdn/PHYOOMR5.js +0 -2
  956. package/dist/cdn/PRZ7EKB7.js +0 -2
  957. package/dist/cdn/PSILIICR.js +0 -2
  958. package/dist/cdn/PYZZBY6S.js +0 -2
  959. package/dist/cdn/QAX5TDE3.js +0 -2
  960. package/dist/cdn/QFRHNDZH.js +0 -2
  961. package/dist/cdn/QHO6KMH2.js +0 -2
  962. package/dist/cdn/QIFQVRMB.js +0 -2
  963. package/dist/cdn/QV5MMPOA.js +0 -2
  964. package/dist/cdn/QZB3WXJH.js +0 -3
  965. package/dist/cdn/QZF3RIPB.js +0 -2
  966. package/dist/cdn/RCBNPAHR.js +0 -2
  967. package/dist/cdn/ROQ6HC6T.js +0 -2
  968. package/dist/cdn/RPVITNNA.js +0 -2
  969. package/dist/cdn/RRK7J2RX.js +0 -2
  970. package/dist/cdn/RVM3LW65.js +0 -2
  971. package/dist/cdn/RYYSU4TL.js +0 -2
  972. package/dist/cdn/S37FED24.js +0 -2
  973. package/dist/cdn/S3NXWPEX.js +0 -2
  974. package/dist/cdn/S4S5GDLG.js +0 -2
  975. package/dist/cdn/SHTOPWTQ.js +0 -2
  976. package/dist/cdn/SNPNJWEW.js +0 -2
  977. package/dist/cdn/SWOFXLPC.js +0 -2
  978. package/dist/cdn/SZUSZJBL.js +0 -2
  979. package/dist/cdn/T4E43QYP.js +0 -2
  980. package/dist/cdn/T7FEVYI7.js +0 -2
  981. package/dist/cdn/TAHZPDRF.js +0 -2
  982. package/dist/cdn/TCLL6YSI.js +0 -2
  983. package/dist/cdn/THRRGHTM.js +0 -2
  984. package/dist/cdn/TJCT3W5Z.js +0 -2
  985. package/dist/cdn/TLCRVU3X.js +0 -2
  986. package/dist/cdn/TMDT3QFH.js +0 -2
  987. package/dist/cdn/TNILH7D7.js +0 -2
  988. package/dist/cdn/TOKXAMIO.js +0 -2
  989. package/dist/cdn/TQUEVR5G.js +0 -2
  990. package/dist/cdn/TQYGI7O4.js +0 -4
  991. package/dist/cdn/TVSYOLCW.js +0 -2
  992. package/dist/cdn/U5FGCB62.js +0 -2
  993. package/dist/cdn/U6FG3DCW.js +0 -2
  994. package/dist/cdn/UADZMW3G.js +0 -2
  995. package/dist/cdn/UBAD7GRA.js +0 -2
  996. package/dist/cdn/UC4ZZXFO.js +0 -2
  997. package/dist/cdn/UCJP5KDQ.js +0 -2
  998. package/dist/cdn/UGIPDM5B.js +0 -2
  999. package/dist/cdn/UNGXK2Y7.js +0 -2
  1000. package/dist/cdn/URMAKTOH.js +0 -4
  1001. package/dist/cdn/VBNK3ASO.js +0 -2
  1002. package/dist/cdn/VBWKWSWH.js +0 -2
  1003. package/dist/cdn/VGUSINO2.js +0 -2
  1004. package/dist/cdn/VGY3SY4N.js +0 -2
  1005. package/dist/cdn/VVJL7DHA.js +0 -2
  1006. package/dist/cdn/W2ANYMK4.js +0 -2
  1007. package/dist/cdn/W42XLSER.js +0 -2
  1008. package/dist/cdn/WA7IUOYU.js +0 -2
  1009. package/dist/cdn/WIWQH44O.js +0 -2
  1010. package/dist/cdn/WL5U5CAI.js +0 -2
  1011. package/dist/cdn/WMH7TCIP.js +0 -2
  1012. package/dist/cdn/WNQPFJIY.js +0 -2
  1013. package/dist/cdn/WQ24YPHK.js +0 -2
  1014. package/dist/cdn/WQDUJLSY.js +0 -2
  1015. package/dist/cdn/WSAN54E7.js +0 -2
  1016. package/dist/cdn/WXEWBXRA.js +0 -2
  1017. package/dist/cdn/XDPTVNYI.js +0 -2
  1018. package/dist/cdn/XF5VBSRX.js +0 -2
  1019. package/dist/cdn/XMYIWNY6.js +0 -2
  1020. package/dist/cdn/XRTJ3EUO.js +0 -2
  1021. package/dist/cdn/XUDFNAMR.js +0 -2
  1022. package/dist/cdn/XUPZR2SQ.js +0 -2
  1023. package/dist/cdn/YJDTB6TD.js +0 -2
  1024. package/dist/cdn/Z2I526XO.js +0 -2
  1025. package/dist/cdn/Z3X2EWHT.js +0 -8
  1026. package/dist/cdn/ZBKRBSVS.js +0 -2
  1027. package/dist/cdn/ZF7CLHYV.js +0 -2
  1028. package/dist/cdn/ZSI6JMCS.js +0 -2
  1029. package/dist/cdn/ZVLADMN6.js +0 -2
  1030. package/dist/cdn/assets/home/t9n/messages.home.json +0 -1
  1031. package/dist/cdn/assets/slider-scale-range/t9n/messages.ScaleRangeSlider.json +0 -1
  1032. package/dist/cdn/assets/swipe/t9n/messages.swipe.json +0 -1
  1033. package/dist/cdn/assets/value-picker/t9n/messages.ar.json +0 -1
  1034. package/dist/cdn/assets/value-picker/t9n/messages.bg.json +0 -1
  1035. package/dist/cdn/assets/value-picker/t9n/messages.bs.json +0 -1
  1036. package/dist/cdn/assets/value-picker/t9n/messages.ca.json +0 -1
  1037. package/dist/cdn/assets/value-picker/t9n/messages.cs.json +0 -1
  1038. package/dist/cdn/assets/value-picker/t9n/messages.da.json +0 -1
  1039. package/dist/cdn/assets/value-picker/t9n/messages.de.json +0 -1
  1040. package/dist/cdn/assets/value-picker/t9n/messages.el.json +0 -1
  1041. package/dist/cdn/assets/value-picker/t9n/messages.en.json +0 -1
  1042. package/dist/cdn/assets/value-picker/t9n/messages.es.json +0 -1
  1043. package/dist/cdn/assets/value-picker/t9n/messages.et.json +0 -1
  1044. package/dist/cdn/assets/value-picker/t9n/messages.fi.json +0 -1
  1045. package/dist/cdn/assets/value-picker/t9n/messages.fr.json +0 -1
  1046. package/dist/cdn/assets/value-picker/t9n/messages.he.json +0 -1
  1047. package/dist/cdn/assets/value-picker/t9n/messages.hr.json +0 -1
  1048. package/dist/cdn/assets/value-picker/t9n/messages.hu.json +0 -1
  1049. package/dist/cdn/assets/value-picker/t9n/messages.id.json +0 -1
  1050. package/dist/cdn/assets/value-picker/t9n/messages.it.json +0 -1
  1051. package/dist/cdn/assets/value-picker/t9n/messages.ja.json +0 -1
  1052. package/dist/cdn/assets/value-picker/t9n/messages.ko.json +0 -1
  1053. package/dist/cdn/assets/value-picker/t9n/messages.lt.json +0 -1
  1054. package/dist/cdn/assets/value-picker/t9n/messages.lv.json +0 -1
  1055. package/dist/cdn/assets/value-picker/t9n/messages.nl.json +0 -1
  1056. package/dist/cdn/assets/value-picker/t9n/messages.no.json +0 -1
  1057. package/dist/cdn/assets/value-picker/t9n/messages.pl.json +0 -1
  1058. package/dist/cdn/assets/value-picker/t9n/messages.pt-BR.json +0 -1
  1059. package/dist/cdn/assets/value-picker/t9n/messages.pt-PT.json +0 -1
  1060. package/dist/cdn/assets/value-picker/t9n/messages.ro.json +0 -1
  1061. package/dist/cdn/assets/value-picker/t9n/messages.ru.json +0 -1
  1062. package/dist/cdn/assets/value-picker/t9n/messages.sk.json +0 -1
  1063. package/dist/cdn/assets/value-picker/t9n/messages.sl.json +0 -1
  1064. package/dist/cdn/assets/value-picker/t9n/messages.sr.json +0 -1
  1065. package/dist/cdn/assets/value-picker/t9n/messages.sv.json +0 -1
  1066. package/dist/cdn/assets/value-picker/t9n/messages.th.json +0 -1
  1067. package/dist/cdn/assets/value-picker/t9n/messages.tr.json +0 -1
  1068. package/dist/cdn/assets/value-picker/t9n/messages.uk.json +0 -1
  1069. package/dist/cdn/assets/value-picker/t9n/messages.vi.json +0 -1
  1070. package/dist/cdn/assets/value-picker/t9n/messages.zh-CN.json +0 -1
  1071. package/dist/cdn/assets/value-picker/t9n/messages.zh-HK.json +0 -1
  1072. package/dist/cdn/assets/value-picker/t9n/messages.zh-TW.json +0 -1
  1073. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ar.json +0 -1
  1074. package/dist/cdn/assets/value-picker-combobox/t9n/messages.bg.json +0 -1
  1075. package/dist/cdn/assets/value-picker-combobox/t9n/messages.bs.json +0 -1
  1076. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ca.json +0 -1
  1077. package/dist/cdn/assets/value-picker-combobox/t9n/messages.cs.json +0 -1
  1078. package/dist/cdn/assets/value-picker-combobox/t9n/messages.da.json +0 -1
  1079. package/dist/cdn/assets/value-picker-combobox/t9n/messages.de.json +0 -1
  1080. package/dist/cdn/assets/value-picker-combobox/t9n/messages.el.json +0 -1
  1081. package/dist/cdn/assets/value-picker-combobox/t9n/messages.en.json +0 -1
  1082. package/dist/cdn/assets/value-picker-combobox/t9n/messages.es.json +0 -1
  1083. package/dist/cdn/assets/value-picker-combobox/t9n/messages.et.json +0 -1
  1084. package/dist/cdn/assets/value-picker-combobox/t9n/messages.fi.json +0 -1
  1085. package/dist/cdn/assets/value-picker-combobox/t9n/messages.fr.json +0 -1
  1086. package/dist/cdn/assets/value-picker-combobox/t9n/messages.he.json +0 -1
  1087. package/dist/cdn/assets/value-picker-combobox/t9n/messages.hr.json +0 -1
  1088. package/dist/cdn/assets/value-picker-combobox/t9n/messages.hu.json +0 -1
  1089. package/dist/cdn/assets/value-picker-combobox/t9n/messages.id.json +0 -1
  1090. package/dist/cdn/assets/value-picker-combobox/t9n/messages.it.json +0 -1
  1091. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ja.json +0 -1
  1092. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ko.json +0 -1
  1093. package/dist/cdn/assets/value-picker-combobox/t9n/messages.lt.json +0 -1
  1094. package/dist/cdn/assets/value-picker-combobox/t9n/messages.lv.json +0 -1
  1095. package/dist/cdn/assets/value-picker-combobox/t9n/messages.nl.json +0 -1
  1096. package/dist/cdn/assets/value-picker-combobox/t9n/messages.no.json +0 -1
  1097. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pl.json +0 -1
  1098. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-BR.json +0 -1
  1099. package/dist/cdn/assets/value-picker-combobox/t9n/messages.pt-PT.json +0 -1
  1100. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ro.json +0 -1
  1101. package/dist/cdn/assets/value-picker-combobox/t9n/messages.ru.json +0 -1
  1102. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sk.json +0 -1
  1103. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sl.json +0 -1
  1104. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sr.json +0 -1
  1105. package/dist/cdn/assets/value-picker-combobox/t9n/messages.sv.json +0 -1
  1106. package/dist/cdn/assets/value-picker-combobox/t9n/messages.th.json +0 -1
  1107. package/dist/cdn/assets/value-picker-combobox/t9n/messages.tr.json +0 -1
  1108. package/dist/cdn/assets/value-picker-combobox/t9n/messages.uk.json +0 -1
  1109. package/dist/cdn/assets/value-picker-combobox/t9n/messages.vi.json +0 -1
  1110. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-CN.json +0 -1
  1111. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-HK.json +0 -1
  1112. package/dist/cdn/assets/value-picker-combobox/t9n/messages.zh-TW.json +0 -1
  1113. package/dist/chunks/building-layer-utils.js +0 -46
  1114. package/dist/chunks/layer-list-item-indicator.js +0 -74
  1115. package/dist/chunks/useHandles.js +0 -207
  1116. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.d.ts +0 -41
  1117. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/customElement.js +0 -299
  1118. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/index.js +0 -4
  1119. package/dist/components/arcgis-oriented-imagery-viewer-image-viewer/support/NonPanoramicMedia.d.ts +0 -25
  1120. package/dist/components/arcgis-value-picker/customElement.d.ts +0 -393
  1121. package/dist/components/arcgis-value-picker/customElement.js +0 -82
  1122. package/dist/components/arcgis-value-picker/index.js +0 -3
  1123. package/dist/components/arcgis-value-picker/types.d.ts +0 -65
  1124. package/dist/components/arcgis-value-picker-collection/customElement.d.ts +0 -113
  1125. package/dist/components/arcgis-value-picker-collection/customElement.js +0 -43
  1126. package/dist/components/arcgis-value-picker-combobox/customElement.d.ts +0 -90
  1127. package/dist/components/arcgis-value-picker-combobox/customElement.js +0 -55
  1128. package/dist/components/arcgis-value-picker-combobox/index.js +0 -3
  1129. package/dist/components/arcgis-value-picker-label/customElement.d.ts +0 -81
  1130. package/dist/components/arcgis-value-picker-label/customElement.js +0 -51
  1131. package/dist/components/arcgis-value-picker-slider/customElement.d.ts +0 -173
  1132. package/dist/components/arcgis-value-picker-slider/customElement.js +0 -60
  1133. package/dist/components/arcgis-value-picker-slider/index.js +0 -3
  1134. /package/dist/cdn/{VKIVTDAN.js → 2EDZ2LNR.js} +0 -0
  1135. /package/dist/cdn/{MOJH7XEP.js → 3ZXNGXHC.js} +0 -0
  1136. /package/dist/cdn/{F7DW6VHH.js → 4AEFZEGM.js} +0 -0
  1137. /package/dist/cdn/{HQZQCK6J.js → 4GIRSQMC.js} +0 -0
  1138. /package/dist/cdn/{2YXRZJMN.js → 4KYPBCNM.js} +0 -0
  1139. /package/dist/cdn/{2KJOV5HK.js → 4WURS3DM.js} +0 -0
  1140. /package/dist/cdn/{WBNMJ4VE.js → 5CB7FWG6.js} +0 -0
  1141. /package/dist/cdn/{LM6ZA4HA.js → 5EU3QVP7.js} +0 -0
  1142. /package/dist/cdn/{LXZ2GZTN.js → 6URW6H47.js} +0 -0
  1143. /package/dist/cdn/{4XU4I5VY.js → 7427KHVF.js} +0 -0
  1144. /package/dist/cdn/{EFUEICKE.js → 77ZD2RFI.js} +0 -0
  1145. /package/dist/cdn/{O263Z4SH.js → AZWQWNTK.js} +0 -0
  1146. /package/dist/cdn/{B4A4RH4L.js → B4RNNO6A.js} +0 -0
  1147. /package/dist/cdn/{C436KPG7.js → BIKEUMV7.js} +0 -0
  1148. /package/dist/cdn/{UJA6BLTS.js → BU5HRIOW.js} +0 -0
  1149. /package/dist/cdn/{FBXUEXNZ.js → BV52G5DA.js} +0 -0
  1150. /package/dist/cdn/{WGGJPXPR.js → ESYSNSNH.js} +0 -0
  1151. /package/dist/cdn/{6CGHMQTL.js → FV7FUSTO.js} +0 -0
  1152. /package/dist/cdn/{B5D6OPEJ.js → G42D353L.js} +0 -0
  1153. /package/dist/cdn/{FZYHVESP.js → GLKTAVV5.js} +0 -0
  1154. /package/dist/cdn/{DJ3VJDLN.js → HW5YYDPC.js} +0 -0
  1155. /package/dist/cdn/{DF5Q25A7.js → IHWFNEBS.js} +0 -0
  1156. /package/dist/cdn/{5UPND3OG.js → J4VKIBXE.js} +0 -0
  1157. /package/dist/cdn/{UUCYWMS2.js → KG3HVAZY.js} +0 -0
  1158. /package/dist/cdn/{AQB6HLVS.js → KMNELKA3.js} +0 -0
  1159. /package/dist/cdn/{DVZKG2WC.js → KYWZUC6M.js} +0 -0
  1160. /package/dist/cdn/{DIZDIIUN.js → LGNLLGA6.js} +0 -0
  1161. /package/dist/cdn/{CGISH4NH.js → MGILHYX4.js} +0 -0
  1162. /package/dist/cdn/{4GKDVLBA.js → NDWLSQ4W.js} +0 -0
  1163. /package/dist/cdn/{C3LA23CB.js → NGQUETWM.js} +0 -0
  1164. /package/dist/cdn/{2SUHVYCI.js → O3SPKYBG.js} +0 -0
  1165. /package/dist/cdn/{5DCYVSSO.js → OJOQP2IU.js} +0 -0
  1166. /package/dist/cdn/{L3L24SIA.js → QU5PA5MZ.js} +0 -0
  1167. /package/dist/cdn/{EPLP4YMK.js → QZHFPTSI.js} +0 -0
  1168. /package/dist/cdn/{YLLLSHFK.js → SNX6WY7J.js} +0 -0
  1169. /package/dist/cdn/{3JMCA4ZR.js → W2UZH6QI.js} +0 -0
  1170. /package/dist/cdn/{PU6QKY7I.js → W2YB27M6.js} +0 -0
  1171. /package/dist/cdn/{ELJCC3WK.js → WKBILCAY.js} +0 -0
  1172. /package/dist/cdn/{2IJFHZMD.js → WRKX7F2G.js} +0 -0
  1173. /package/dist/cdn/{ECNI2A4K.js → XEK22IDA.js} +0 -0
  1174. /package/dist/cdn/{O4PQUMJR.js → XYRTRBXU.js} +0 -0
  1175. /package/dist/cdn/{HAADLXJX.js → YFM2SKWI.js} +0 -0
  1176. /package/dist/cdn/{TW24OEJB.js → ZOGRVFHK.js} +0 -0
  1177. /package/dist/cdn/{YJMFI5UV.js → ZXEH6MEU.js} +0 -0
  1178. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ar.json +0 -0
  1179. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.bg.json +0 -0
  1180. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.bs.json +0 -0
  1181. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ca.json +0 -0
  1182. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.cs.json +0 -0
  1183. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.da.json +0 -0
  1184. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.de.json +0 -0
  1185. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.el.json +0 -0
  1186. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.en.json +0 -0
  1187. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.es.json +0 -0
  1188. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.et.json +0 -0
  1189. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.fi.json +0 -0
  1190. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.fr.json +0 -0
  1191. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.he.json +0 -0
  1192. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.hr.json +0 -0
  1193. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.hu.json +0 -0
  1194. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.id.json +0 -0
  1195. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.it.json +0 -0
  1196. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ja.json +0 -0
  1197. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ko.json +0 -0
  1198. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.lt.json +0 -0
  1199. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.lv.json +0 -0
  1200. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.nl.json +0 -0
  1201. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.no.json +0 -0
  1202. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pl.json +0 -0
  1203. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pt-BR.json +0 -0
  1204. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.pt-PT.json +0 -0
  1205. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ro.json +0 -0
  1206. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.ru.json +0 -0
  1207. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sk.json +0 -0
  1208. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sl.json +0 -0
  1209. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sr.json +0 -0
  1210. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.sv.json +0 -0
  1211. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.th.json +0 -0
  1212. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.tr.json +0 -0
  1213. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.uk.json +0 -0
  1214. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.vi.json +0 -0
  1215. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-CN.json +0 -0
  1216. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-HK.json +0 -0
  1217. /package/dist/cdn/assets/{oriented-imagery-viewer-image-viewer → oriented-imagery-viewer-non-panoramic-viewer}/t9n/messages.zh-TW.json +0 -0
  1218. /package/dist/components/{arcgis-oriented-imagery-viewer-image-viewer → arcgis-basemap-layer-list-next}/index.d.ts +0 -0
  1219. /package/dist/components/{arcgis-value-picker-collection → arcgis-catalog-layer-list-next}/index.d.ts +0 -0
  1220. /package/dist/components/{arcgis-value-picker-combobox → arcgis-coordinate-conversion-next}/index.d.ts +0 -0
  1221. /package/dist/components/{arcgis-value-picker-label → arcgis-oriented-imagery-viewer-non-panoramic-viewer}/index.d.ts +0 -0
  1222. /package/dist/components/{arcgis-value-picker → arcgis-oriented-imagery-viewer-panoramic-viewer}/index.d.ts +0 -0
  1223. /package/dist/components/{arcgis-value-picker-slider → arcgis-oriented-imagery-viewer-panoramic-viewer-zoom}/index.d.ts +0 -0
  1224. /package/dist/components/{arcgis-value-picker-collection/index.js → arcgis-oriented-imagery-viewer-video-controls/index.d.ts} +0 -0
  1225. /package/dist/components/{arcgis-value-picker-label/index.js → arcgis-selection-toolbar/index.d.ts} +0 -0
package/LICENSE.md CHANGED
@@ -1,12 +1,14 @@
1
1
  # Licensing
2
2
 
3
- COPYRIGHT © Esri
3
+ COPYRIGHT Esri
4
4
 
5
5
  All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
6
6
 
7
- This material is licensed for use under the [Esri Master License Agreement (MLA)](https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf), and is bound by the terms of that agreement.
7
+ This material is licensed for use under the Esri Master License Agreement (MLA), and is bound by the terms of that agreement.
8
8
  You may redistribute and use this code without modification, provided you adhere to the terms of the MLA and include this copyright notice.
9
9
 
10
+ See use restrictions at https://www.esri.com/content/dam/esrisites/en-us/media/legal/ma-full/ma-full.pdf.
11
+
10
12
  For additional information, contact:
11
13
  Environmental Systems Research Institute, Inc.
12
14
  Attn: Contracts and Legal Services Department
package/README.md CHANGED
@@ -27,5 +27,5 @@ Want to get started immediately? See [Get started](https://developers.arcgis.com
27
27
 
28
28
  ## License
29
29
 
30
- This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.1/LICENSE.txt.
31
- For third party notices, see https://js.arcgis.com/5.1/third-party-notices.txt.
30
+ This package is licensed under the terms described in the `LICENSE.md` file, located in the root of the package, and at https://js.arcgis.com/5.2/LICENSE.txt.
31
+ For third party notices, see https://js.arcgis.com/5.2/third-party-notices.txt.
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{L as r,M as n,N as m,T as p,b as o}from"./WTBRS6C4.js";export default $arcgis.t(([{whenOnce:d}])=>{function f(i,t){return!i||i==="all"||!!(t&&i.includes(t))}var a=class extends m{static{this.properties={showSaveAs:5,viewModel:0,messages:0,allowedFormatsForSaving:1,arcgisSaveAs:0,exportedLink:0}}#e=r();_closePopover(){this.#e.value&&(this.#e.value.open=!1)}render(){let t=this.messages,e=this.exportedLink,v=e.formattedName??"",{state:c}=e,h=this.showSaveAs&&c!=="error"&&f(this.allowedFormatsForSaving,e.extension);return c!=="pending"&&h?o`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${v}-popover-button`} scale=s ${n(this.#e)}><calcite-list label>${e.portalItem?o`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let l=e.portalItem;if(!l?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=l.itemPageUrl,s.rel="noreferrer",s.click(),this._closePopover()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:o`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{d(()=>e.portalItem).then(()=>{this.requestUpdate()}),this.arcgisSaveAs.emit(e),this._closePopover()}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item .label=${t.delete} @calciteListItemSelect=${()=>{this.viewModel.exportedLinks.remove(e),this._closePopover()}}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}};p("arcgis-print-exports-panel-item-popover",a);return{a:f,b:a}},"core/reactiveUtils")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as C}from"./XEK22IDA.js";import{a as I}from"./56KR4KYO.js";import a from"./MZWO5JYA.js";import{N as $,R as F,T as L,a as q,b as p}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{createReactiveMap:k,findUtilityNetwork:U,getOrCreateMapValue:x},{stripHTML:E},f,{ignoreAbortErrors:S},{watch:v},V,P,Q,B,{b:N,f:A}])=>{var G=q`.list-container{min-height:var(--calcite-spacing-xxxl)}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none;height:500px}`,M=100,D={assetGroup:"assetgroup",assetType:"assettype"},j="{00000000-0000-0000-0000-000000000000}",T=class extends ${constructor(){super(...arguments),this._addFlowItem=t=>{t&&this.flowItems?.push(t)},this._attachmentAssociations=new f,this._attachmentFeatureCount=0,this._cancelQuery=()=>{let{_queryAbortController:t}=this;t&&t.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:t}=this;t&&t.abort(),this._queryFeatureCountAbortController=null},this._connectivityAssociations=new f,this._connectivityFeatureCount=0,this._containerAssociations=new f,this._containerFeatureCount=0,this._contentAssociations=new f,this._contentFeatureCount=0,this._networkSourceIdsInUse=new Set,this._query=async t=>{if(!t)return;await this._loadUtiltyNetworks();let{_queryAbortController:e}=this;this._destroyAssociatedFeatureViewModels(),this._clearFeatures(),this._featureCount&&await this._queryAssociatedFeatures(t,{signal:e?.signal})},this._queryController=async t=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await S(this._query(t)),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let t=new AbortController;this._queryFeatureCountAbortController=t,await S(this._queryFeatureCount()),this._queryFeatureCountAbortController===t&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryDebounced=C(this._queryController,M),this._queryFeatureCountDebounced=C(this._queryFeatureCountController,M),this._structureAssociations=new f,this._structureFeatureCount=0,this._queryAssociationType=async()=>{this._activeAssociationType&&this._queryDebounced(this._activeAssociationType)},this._associationFeatures=k(),this._associationViewModels=k(),this._featureCount=0,this._loaded=!1,this._queryAbortController=null,this._queryFeatureCountAbortController=null,this._queryPageAbortController=null,this.associationTypes=null,this.autoDestroyDisabled=!1,this.useFeatureNextFlowItem=!1,this.flowType="feature-utility-network-associations",this.headingLevel=2,this.source="popup"}static{this.properties={_activeAssociationType:16,_associationFeatures:16,_associationViewModels:16,_canLoad:16,_canQuery:16,_featureCount:16,_loaded:16,_queryAbortController:16,_queryFeatureCountAbortController:16,_queryPageAbortController:16,_state:16,associationTypes:0,autoDestroyDisabled:5,description:1,flowItems:0,useFeatureNextFlowItem:5,flowType:1,graphic:0,heading:1,headingLevel:9,layer:0,map:0,messages:0,parentFeatureViewModel:0,referenceElement:1,source:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=G}get _globalId(){return(this._globalIdField&&this.graphic?.attributes?.[this._globalIdField])??null}get _globalIdField(){return this.layer?.globalIdField}get _objectId(){return(this._objectIdField&&this.graphic?.attributes?.[this._objectIdField])??null}get _objectIdField(){return this.layer?.objectIdField}get _supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get _utilityNetwork(){let{layer:t,map:e}=this;if(!t?.loaded||!e)return null;let s=A(t)?t.parent:t;return U(e,s)}get _canLoad(){return!!this.map}get _canQuery(){return!!this.layer?.capabilities?.query?.supportsPagination}get _state(){let{_canLoad:t,_canQuery:e,_featureCount:s,_loaded:a,_queryAbortController:i,_queryFeatureCountAbortController:r,_queryPageAbortController:o,associationTypes:l}=this;return r||t&&!a?"loading":i||o?"querying":!this._globalId||!l||!e||!s?"disabled":"ready"}get heading(){return this._heading}set heading(t){this._heading=t}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[v(()=>[this.graphic,this.layer,this.map,this.associationTypes,this._canQuery,this._objectId,this._globalId],()=>{this._queryFeatureCountDebounced(),this._queryAssociationType()},{initial:!0}),v(()=>this._activeAssociationType,t=>{this._queryDebounced(t)}),v(()=>this._associationFeatures.values(),()=>{this._setUpUtilityNetworkAssociationsViewModels()})]),this.manager.onDestroy(()=>{this._cancelQuery(),this._cancelQueryFeatureCount()})}_addAssociationTypeFlowItem(t){let e=this.useFeatureNextFlowItem?F(p`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} use-feature-next-flow-item .view=${this.view}></arcgis-feature-utility-network-association-list>`):F(p`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this._associationViewModels} .description=${this._getParentFeatureDescription()} .flowItems=${this.flowItems} .flowType=${this.flowType} .heading=${this._getAssociationTypeTitle(t)} .messages=${this.messages} .map=${this.map} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .state=${this._state} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-utility-network-association-list>`);this._addFlowItem(e)}_clearAssociations(){this._attachmentAssociations.removeAll(),this._connectivityAssociations.removeAll(),this._containerAssociations.removeAll(),this._contentAssociations.removeAll(),this._structureAssociations.removeAll()}_clearFeatures(){this._associationFeatures.forEach(t=>t.removeAll()),this._associationFeatures.clear()}_compareByFeatureTitle(t,e){return t.title.localeCompare(e.title,void 0,{numeric:!0})}async _countAssociatedFeatureCount(t,e,s,a,i){let r=this._getFeatureQueryWhereClause(t,e,s,a),o=t.createQuery();return o.where=r,o.outFields=["*"],o.returnGeometry=!1,await t.queryFeatureCount(o,{signal:i?.signal})}async _countAssociatedFeatures(t,e,s,a,i){if(!e.length)return 0;let r=await this._findLayersBySourceId(t);await this._loadLayers(r);let o=r.map(l=>this._countAssociatedFeatureCount(l,e,s,a,i));return(await Promise.all(o)).reduce((l,c)=>l+c,0)}async _createAssociationFeatureObjects(t,e,s,a,i){if(!t.length)return[];let r=new Map,o=Array.from(e.entries()).map(async([c,d])=>{let u=await this._findLayersBySourceId(c);await this._loadLayers(u);let h=u.map(m=>this._queryLayer(m,d,s,a,i));(await Promise.all(h)).forEach(m=>{m.forEach(n=>{if(this.source==="popup"?n.sourceLayer&&n.getEffectivePopupTemplate():n.sourceLayer){let _=n.layer.globalIdField??"",y=n.getAttribute(_),w=r.get(y)??[];w.push(n),r.set(y,w)}})})});await Promise.all(o);let l=[];return await Promise.all(t.toArray().map(async c=>{let{fromNetworkElement:d,toNetworkElement:u}=c,h=d.globalId===this._globalId?u:d,m=r.get(h.globalId)??[];await Promise.all(m.map(async n=>{let _=this._utilityNetwork?.getTerminalById(h?.terminalId??void 0)?.name,y=await n.sourceLayer.getFeatureTitle(n)||this._getFeatureTitle(n);l.push({title:y,feature:n,association:c,terminalName:_})}))})),l}_destroyAssociatedFeatureViewModels(){this._associationViewModels.forEach(t=>t.destroyAll())}_equals(t,e){if(t.globalId===j&&e.globalId===j){let s=function(d,u){return d.networkSourceId===u.networkSourceId&&d.globalId===u.globalId&&d.terminalId===u.terminalId&&d.firstUnit===u.firstUnit&&d.numUnits===u.numUnits},a=t.fromNetworkElement,i=t.toNetworkElement,r=e.fromNetworkElement,o=e.toNetworkElement,l=s(a,r),c=s(i,o);return l&&c&&t.associationType===e.associationType}return t.globalId!=null&&e.globalId!=null&&t.globalId===e.globalId}async _findLayersBySourceId(t){let{_utilityNetwork:e,map:s}=this;e?.loaded||await e?.load();let a=e.getLayerIdBySourceId(t),i=s.allLayers.filter(o=>!!e?.isUtilityLayer(o)&&o.layerId===a),r=s.allTables.filter(o=>!!e?.isUtilityLayer(o)&&o.layerId===a);return i.concat(r).toArray()}_getAssociationsByType(t){switch(t){case"attachment":return this._attachmentAssociations;case"structure":return this._structureAssociations;case"connectivity":return this._connectivityAssociations;case"container":return this._containerAssociations;case"content":return this._contentAssociations}}_getAssociationTypeTitle(t){let{messages:e}=this;if(t.title)return t.title;switch(t.type){case"attachment":return e?.associationsAttachments??this.messages?.noTitle??"";case"connectivity":return e?.associationsConnectivity??this.messages?.noTitle??"";case"structure":return e?.associationsStructure??this.messages?.noTitle??"";case"content":return e?.associationsContents??this.messages?.noTitle??"";case"container":return e?.associationsContainer??this.messages?.noTitle??""}}_getFeatureCountForAssociationType(t){switch(t){case"attachment":return this._attachmentFeatureCount;case"structure":return this._structureFeatureCount;case"content":return this._contentFeatureCount;case"container":return this._containerFeatureCount;case"connectivity":return this._connectivityFeatureCount}}_getFeatureQueryWhereClause(t,e,s,a){let i=t.globalIdField,r=t.fieldsIndex.get(D.assetGroup),o=t.fieldsIndex.get(D.assetType),l=s!=null,c=a!=null,d=i?V.sqlIn(i,e):null,u=l?`(${r?.name} = ${s})`:null,h=l&&c?`(${o?.name} = ${a})`:null;return[d,u,h].filter(Boolean).join(" AND ")}_getFeatureTitle(t){let e=t.attributes,s=t.sourceLayer;if(!e||!s)return"";let a="displayField"in s?s.displayField:null,i=a!=null?e[a.toString()]:null,r=i!=null?i.toString():null,o=t.getObjectId()?.toString();return r||o||""}_getParentFeatureDescription(){let{parentFeatureViewModel:t}=this;if(t){if("heading"in t)return t.heading;if("title"in t)return t.title}}async _loadUtiltyNetworks(){let t=this.map;if(!t)return;t.utilityNetworks&&await Promise.allSettled(t.utilityNetworks.map(s=>s.load()));let e=this._utilityNetwork;if(e){let s=a=>{if("layerId"in a&&e.isUtilityLayer(a)){let i=a.layerId!=null?e.getSourceIdByLayerId(a.layerId):null;i!=null&&this._networkSourceIdsInUse.add(i)}};this._networkSourceIdsInUse=new Set,t.allLayers.forEach(s),t.allTables.forEach(s)}}async _loadLayers(t){let e=t.filter(s=>!s.loaded).map(s=>s.load());e.length&&await Promise.allSettled(e)}_matchesGlobalFeature(t,e){return this._equals(t.association,e.association)}async _queryAssociatedFeatures(t,e){let{layer:s,_globalId:a,associationTypes:i,_utilityNetwork:r,_canQuery:o,_associationFeatures:l}=this;if(await Promise.allSettled([s?.load(),r?.load()]),!o||!s||!i||!r)return;let c=this._getAssociationsByType(t.type),{associatedAssetGroup:d,associatedAssetType:u}=t,h=new Map;c.forEach(n=>{let{fromNetworkElement:_,toNetworkElement:y}=n,{networkSourceId:w,elementGlobalId:b}=_.globalId===a?{networkSourceId:y.networkSourceId,elementGlobalId:y.globalId}:{networkSourceId:_.networkSourceId,elementGlobalId:_.globalId},g=h.get(w)||[];g.push(b),h.set(w,g)});let m=await this._createAssociationFeatureObjects(c,h,d,u,e);this._parseFeatureObjects(m,l)}async _queryAssociations(t){let{layer:e,_globalId:s,associationTypes:a,_utilityNetwork:i,_canQuery:r}=this;if(await Promise.allSettled([e?.load(),i?.load()]),this._clearAssociations(),!r||!e||!a||!i||!s)return;let o=A(e)?e.parent:e,l=new P({globalId:s,networkSourceId:i.getSourceIdByLayerId(o.layerId)}),c=new Set;a.forEach(n=>{switch(n.type){case"attachment":case"structure":c.add("attachment");break;case"container":case"content":c.add("containment");break;case"connectivity":c.add("connectivity"),c.add("junction-junction-connectivity"),c.add("junction-edge-from-connectivity"),c.add("junction-edge-midspan-connectivity"),c.add("junction-edge-to-connectivity");break}});let d=await i?.queryAssociations(new Q({elements:[l],types:Array.from(c)}),{signal:t?.signal}),u=new Map,h=new Map;a.forEach(n=>{h.set(n.type,n),u.set(n.type,[])}),d.forEach(n=>{let{toNetworkElement:_,fromNetworkElement:y}=n;switch(n.associationType){case"attachment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"attachment",h))break;u.get("attachment")?.push(_.globalId),this._attachmentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"structure",h))break;u.get("structure")?.push(y.globalId),this._structureAssociations.add(n)}break;case"connectivity":case"junction-edge-from-connectivity":case"junction-edge-midspan-connectivity":case"junction-edge-to-connectivity":case"junction-junction-connectivity":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"connectivity",h))break;u.get("connectivity")?.push(_.globalId)}else{if(this._shouldDiscardNetworkElement(y,"connectivity",h))break;u.get("connectivity")?.push(y.globalId)}this._connectivityAssociations.add(n);break;case"containment":if(y?.globalId===s){if(this._shouldDiscardNetworkElement(_,"content",h))break;u.get("content")?.push(_.globalId),this._contentAssociations.add(n)}else{if(this._shouldDiscardNetworkElement(y,"container",h))break;u.get("container")?.push(y.globalId),this._containerAssociations.add(n)}break}});let m=a.map(async n=>{let{associatedNetworkSourceId:_,associatedAssetGroup:y,associatedAssetType:w}=n,b=u.get(n.type),g=y!=null?await this._countAssociatedFeatures(_,b,y,w,t):b.length;switch(n.type){case"attachment":this._attachmentFeatureCount=g;break;case"connectivity":this._connectivityFeatureCount=g;break;case"container":this._containerFeatureCount=g;break;case"content":this._contentFeatureCount=g;break;case"structure":this._structureFeatureCount=g;break}});await Promise.allSettled(m)}async _queryFeatureCount(){await this._loadUtiltyNetworks();let{_queryFeatureCountAbortController:t,_canQuery:e}=this;if(!e){this._featureCount=0;return}await this._queryAssociations(t),this._featureCount=this._attachmentFeatureCount+this._connectivityFeatureCount+this._containerFeatureCount+this._contentFeatureCount+this._structureFeatureCount}async _queryLayer(t,e,s,a,i){let r=this._getFeatureQueryWhereClause(t,e,s,a),o=t.createQuery();o.where=r,o.outFields=["*"],o.returnGeometry=!1,o.cacheHint=this._supportsCacheHint;let{features:l}=await N(t,o,i);return l}_parseFeatureObjects(t,e){let s=k();t.forEach(a=>{let i=(a?.feature).sourceLayer;x(s,i,()=>new f).add(a)});for(let[a,i]of s)this._sortFeatureObjectsByTitle(i),e.set(a,i)}_selectAssociationType(t){let{flowItems:e}=this;e&&(this._activeAssociationType=t,this._setUpUtilityNetworkAssociationsViewModels(),this._addAssociationTypeFlowItem(t))}_setUpUtilityNetworkAssociationsViewModels(){this._associationViewModels.forEach((i,r)=>{let o=this._associationFeatures.get(r);o?i.forEach(l=>{o.find(c=>this._matchesGlobalFeature(l,c))||(i.remove(l),i.length||this._associationViewModels.delete(r))}):(i.removeAll(),this._associationViewModels.delete(r))});let{map:t,view:e,spatialReference:s,timeZone:a}=this;this._associationFeatures.forEach((i,r)=>{let o=this._associationViewModels.get(r)||new f;i?.filter(Boolean).forEach((l,c)=>{if(!o.some(d=>this._matchesGlobalFeature(d,l))){let{association:d,feature:u,terminalName:h,title:m}=l;o.add({title:m,association:d,featureViewModel:new B({abilities:{utilityNetworkAssociationsContent:!1},map:t,view:e,spatialReference:s,timeZone:a,graphic:u}),terminalName:h},c)}}),this._associationViewModels.set(r,o)})}_shouldDiscardNetworkElement(t,e,s){if(!t)return!1;let{networkSourceId:a}=t,i=s.get(e)?.associatedNetworkSourceId,r=this._networkSourceIdsInUse.has(a);return i!=null&&i!==a||!r}_sortFeatureObjectsByTitle(t){t.sort(this._compareByFeatureTitle)}render(){let{_state:t}=this;return p`<div class="root"><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${t==="loading"?this._renderLoading():t==="disabled"?this._renderAssociationNotFound():this._renderContent()}</div>`}_renderAssociationNotFound(){return p`<calcite-notice icon=information kind=info open scale=s width=full><div slot=message>${this.messages?.noAssociations}</div></calcite-notice>`}_renderAssociationTypeList(t){return this._getFeatureCountForAssociationType(t.type)>0?this._renderAssociationTypeListItem(t):null}_renderAssociationTypeListItem(t){let e=this._getAssociationTypeTitle(t);return I(`association-type-${t.type}`,p`<calcite-list-item .description=${E(t.description)} .label=${E(e)} .value=${t.type} @calciteListItemSelect=${()=>this._selectAssociationType(t)}><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`)}_renderContent(){let{_state:t,associationTypes:e,messages:s}=this,a=s?.associationsList??s?.noTitle??"";return I("list-container",p`<div class="list-container">${t==="ready"?p`<div><calcite-list display-mode=flat .label=${a}>${e.map(i=>this._renderAssociationTypeList(i))}</calcite-list></div>`:null}${this._renderStickyLoading()}</div>`)}_renderLoading(){return p`<div class="loading-container">${this._renderLoadingIcon()}${this._renderStickyLoading()}</div>`}_renderLoadingIcon(){return p`<calcite-loader inline label></calcite-loader>`}_renderStickyLoading(){return this._state==="querying"?p`<div class="sticky-loading-container">${this._renderLoadingIcon()}</div>`:null}};L("arcgis-feature-utility-network-associations",T);return T},"applications/Components/featureUtils","applications/Components/stringUtils","core/Collection","core/promiseUtils","core/reactiveUtils","core/sql","rest/networks/support/NetworkElement","rest/networks/support/QueryAssociationsParameters","popup/FeatureContent",a)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{E as L,F as $,P as y,R,h as x}from"./ECXHREHJ.js";import{P as b,S as V,d as D,f as E,o as G,q as P,u as w}from"./66PT52ED.js";import{a as S}from"./7427KHVF.js";import{P as M,g as m,o as B}from"./RKXHWHFR.js";var c=class extends ${_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),s=e/Math.abs(e),n=t/Math.abs(t),i=0,a=0,l=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=s*l,t-=n*l,i+=s*l/2,a+=n*l/2);let r=e,h=t;if(m(r)&&m(h)){let o=Math.min(r,h)/2,u=w(this.get("cornerRadiusTL",8),o),d=w(this.get("cornerRadiusTR",8),o),g=w(this.get("cornerRadiusBR",8),o),_=w(this.get("cornerRadiusBL",8),o),f=Math.min(Math.abs(r/2),Math.abs(h/2));u=x(u,0,f),d=x(d,0,f),g=x(g,0,f),_=x(_,0,f);let p=this._display;p.moveTo(i+u*s,a),p.lineTo(i+r-d*s,a),d>0&&p.arcTo(i+r,a,i+r,a+d*n,d),p.lineTo(i+r,a+h-g*n),g>0&&p.arcTo(i+r,a+h,i+r-g*s,a+h,g),p.lineTo(i+_*s,a+h),_>0&&p.arcTo(i,a+h,i,a+h-_*n,_),p.lineTo(i,a+u*n),u>0&&p.arcTo(i,a,i+u*s,a,u),p.closePath()}}};c.className="RoundedRectangle";c.classNames=$.classNames.concat([c.className]);var v=class extends y{_afterNew(){this._settings.themeTags=b(this._settings.themeTags,["button"]),super._afterNew(),this._setDefaultTagged("background",b(this._settings.themeTags,["background"]),()=>c.new(this._root,{})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){let e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}};v.className="Button";v.classNames=y.classNames.concat([v.className]);var T=class extends R{_afterNew(){super._afterNew();let e=this.children.push(y.new(this._root,{html:'<textarea class="am5-editable-label"></textarea>',isMeasured:!1}));e.hide(),this.setPrivate("input",e),this._setDefaultTagged("background",["editablelabel","background"],()=>c.new(this._root,{}))}_beforeChanged(){if(super._beforeChanged(),this.isDirty("editOn")){this._editOnEvents&&this._editOnEvents.dispose();let e=this.get("editOn","click");e!="none"&&(this._editOnEvents=new M([this.getPrivate("input").events.on(e,t=>{}),this.events.on(e,t=>{this.set("active",!0)})]))}}_prepareChildren(){super._prepareChildren(),this._maybeInitTextarea()}_updateChildren(){if(super._updateChildren(),this.isDirty("active")){let e=this.get("active",!1);e?this._startEditing():this._stopEditing();let t=this.get("background");t&&t.set("active",e)}this._syncText(),this._syncStyle()}_maybeInitTextarea(){if(!this._isInited()){let e=this.getPrivate("input");if(e&&e.getPrivate("htmlElement")){let s=e.getPrivate("htmlElement").querySelector(".am5-editable-label");s&&(this.setPrivate("textarea",s),s.addEventListener("input",n=>{this.get("multiLine")===!1&&(s.value=s.value.replace(/\n/g," ")),this.set("text",s.value),this._syncStyle()}),s.addEventListener("blur",n=>this.set("active",!1)),E("keyboardevents")&&this._disposers.push(D(document,"keydown",n=>{P(n)=="Escape"&&this.set("active",!1)})),this._disposers.push(D(document,"keydown",n=>{P(n)=="Enter"&&this.get("multiLine")===!1&&(n.preventDefault(),this.set("active",!1))})),this.events.dispatch("inited",{type:"inited",target:this}))}}}_isInited(){return!!this.getPrivate("textarea")}_startEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._startEditing()});return}this._text.set("opacity",0);let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.get("text","")==""&&this.set("text"," "),e.show(0),this.setTimeout(()=>{this._syncStyle(),t.focus()},100))}_stopEditing(){if(!this._isInited()){this.events.once("inited",()=>{this._stopEditing()});return}let e=this.getPrivate("input"),t=this.getPrivate("textarea");t&&(this.set("text",t.value),e.hide(0),this._text.set("opacity",1))}_syncStyle(){let e=this.getPrivate("input"),t=this.getPrivate("textarea"),s=e.getPrivate("htmlElement");if(t&&s){let n=window.getComputedStyle(t);B(n,d=>{t.style[d]="initial"}),t.style.color=this.get("fill",V(0)).toCSS(this.get("fillOpacity",1)),t.style.backgroundColor="rgba(0, 0, 0, 0)",t.style.border="none",t.style.outline="none",t.style.padding="0",t.wrap="off",t.style.resize="none",t.style.overflow="hidden";let i=this.get("maxWidth",0)-this.get("paddingLeft",0)-this.get("paddingRight",0);i>0?t.style.maxWidth=i+"px":t.style.minWidth="",t.style.height="auto",t.style.minHeight=t.scrollHeight+"px",this.get("width")&&(t.style.width=this.width()-this.get("paddingLeft",0)-this.get("paddingRight",0)+"px",t.style.minWidth="");let a=this.get("lineHeight");a?a instanceof S?t.style.lineHeight=a.value+"":m(a)&&(t.style.lineHeight=a+""):t.style.lineHeight="1.2";let l=this.get("fontFamily");l||(l=getComputedStyle(s,"font-family").getPropertyValue("font-family")),t.style.fontFamily=l;let r=this.get("fontSize");r?m(r)?r=r+"px":r=r:r=getComputedStyle(s,"font-size").getPropertyValue("font-size"),t.style.fontSize=r;let h=this.get("fontWeight");h?h=h:h=getComputedStyle(s,"font-weight").getPropertyValue("font-weight"),t.style.fontWeight=h;let o=this.get("fontStyle");o?o=o:o=getComputedStyle(s,"font-style").getPropertyValue("font-style"),t.style.fontStyle=o,this.get("oversizedBehavior")=="wrap"?t.style.whiteSpace="pre-wrap":t.style.whiteSpace="nowrap",this._root.events.on("frameended",()=>{t.style.minWidth==""&&(t.style.minWidth=t.scrollWidth+20+"px");let d=this.get("textAlign","start");d=="center"?(t.style.textAlign="center",!s.style.transform.match(/translateX/)&&!this.get("width")&&(s.style.transform+=" translateX(-50%)")):d=="end"?(t.style.textAlign="right",!s.style.transform.match(/translateX/)&&!this.get("width")&&(s.style.transform+=" translateX(-100%)")):t.style.textAlign=d})}}_syncText(){let e=this.getPrivate("textarea"),t=this.get("text","");t==" "&&(t=""),e&&(e.value=t)}};T.className="EditableLabel";T.classNames=R.classNames.concat([T.className]);var C=class extends y{constructor(){super(...arguments),this.thumb=this._makeThumb(),this.startGrip=this._makeButton(),this.endGrip=this._makeButton(),this._thumbBusy=!1,this._startDown=!1,this._endDown=!1,this._thumbDown=!1}_addOrientationClass(){this._settings.themeTags=b(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._setDefaultTagged("background",b(this._settings.themeTags,["main","background"]),()=>c.new(this._root,{}))}_makeButton(){return this.children.push(v.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:L.new(this._root,{themeTags:["icon"]})._markC("themeTags")})._markC("themeTags","icon"))}_makeThumb(){return this.children.push(c.new(this._root,{themeTags:["thumb",this.get("orientation")]})._markC("themeTags"))}_handleAnimation(e){e&&this._disposers.push(e.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let e=this.startGrip,t=this.endGrip,s=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",i=>{this.setPrivateRaw("isBusy",!0);let a=this._display.toLocal(i.point),l=this.width(),r=this.height(),h=this.get("orientation"),o;h=="vertical"?o=(a.y-s.height()/2)/r:o=(a.x-s.width()/2)/l;let u,d;h=="vertical"?(u=o*r,d="y"):(u=o*l,d="x");let g=this.get("animationDuration",0);g>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:d,to:u,duration:g,easing:this.get("animationEasing")}))):(this.thumb._setC(d,u),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(s.events.on("dblclick",i=>{if(!G(i.originalEvent,this))return;let a=this.get("animationDuration",0),l=this.get("animationEasing");this.animate({key:"start",to:0,duration:a,easing:l}),this.animate({key:"end",to:1,duration:a,easing:l})})),this._disposers.push(e.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(s.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(e.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(t.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(s.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(e.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(e.on("y",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(s.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(e._setC("x",0),t._setC("x",0),this._disposers.push(s.adapters.add("y",i=>Math.max(Math.min(Number(i),this.height()-s.height()),0))),this._disposers.push(s.adapters.add("x",i=>this.width()/2)),this._disposers.push(e.adapters.add("x",i=>this.width()/2)),this._disposers.push(t.adapters.add("x",i=>this.width()/2)),this._disposers.push(e.adapters.add("y",i=>Math.max(Math.min(Number(i),this.height()),0))),this._disposers.push(t.adapters.add("y",i=>Math.max(Math.min(Number(i),this.height()),0)))):(e._setC("y",0),t._setC("y",0),this._disposers.push(s.adapters.add("x",i=>Math.max(Math.min(Number(i),this.width()-s.width()),0))),this._disposers.push(s.adapters.add("y",i=>this.height()/2)),this._disposers.push(e.adapters.add("y",i=>this.height()/2)),this._disposers.push(t.adapters.add("y",i=>this.height()/2)),this._disposers.push(e.adapters.add("x",i=>Math.max(Math.min(Number(i),this.width()),0))),this._disposers.push(t.adapters.add("x",i=>Math.max(Math.min(Number(i),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let e="rangechanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let e="released";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}updateGrips(){let e=this.startGrip,t=this.endGrip,s=this.get("orientation"),n=this.height(),i=this.width();s=="vertical"?(e._setC("y",n*this.get("start",0)),t._setC("y",n*this.get("end",1))):(e._setC("x",i*this.get("start",0)),t._setC("x",i*this.get("end",1)));let a=this.getPrivate("positionTextFunction"),l=Math.round(this.get("start",0)*100),r=Math.round(this.get("end",0)*100),h,o;a?(h=a.call(this,this.get("start",0)),o=a.call(this,this.get("end",0))):(h=l+"%",o=r+"%"),e._setC("ariaLabel",this._t("From %1",void 0,h)),e._setC("ariaValueNow",""+l),e._setC("ariaValueText",l+"%"),e._setC("ariaValueMin","0"),e._setC("ariaValueMax","100"),t._setC("ariaLabel",this._t("To %1",void 0,o)),t._setC("ariaValueNow",""+r),t._setC("ariaValueText",r+"%"),t._setC("ariaValueMin","0"),t._setC("ariaValueMax","100")}_updateThumb(){let e=this.thumb,t=this.startGrip,s=this.endGrip,n=this.height(),i=this.width(),a=t.x(),l=s.x(),r=t.y(),h=s.y(),o=0,u=1;this.get("orientation")=="vertical"?m(r)&&m(h)&&(!this._thumbBusy&&!e.isDragging()&&(e._setC("height",h-r),e._setC("y",r)),o=r/n,u=h/n):m(a)&&m(l)&&(!this._thumbBusy&&!e.isDragging()&&(e._setC("width",l-a),e._setC("x",a)),o=a/i,u=l/i),this.getPrivate("isBusy")&&(this.get("start")!=o||this.get("end")!=u)&&(this._setC("start",o),this._setC("end",u));let d=this.getPrivate("positionTextFunction"),g=Math.round(this.get("start",0)*100),_=Math.round(this.get("end",0)*100),f,p;d?(f=d.call(this,this.get("start",0)),p=d.call(this,this.get("end",0))):(f=g+"%",p=_+"%"),e._setC("ariaLabel",this._t("From %1 to %2",void 0,f,p)),e._setC("ariaValueNow",""+g),e._setC("ariaValueText",g+"%")}_updateGripsByThumb(){let e=this.thumb,t=this.startGrip,s=this.endGrip;if(this.get("orientation")=="vertical"){let n=e.height();t._setC("y",e.y()),s._setC("y",e.y()+n)}else{let n=e.width();t._setC("x",e.x()),s._setC("x",e.x()+n)}}};C.className="Scrollbar";C.classNames=y.classNames.concat([C.className]);export{c as a,v as b,T as c,C as d};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as he,b as ce,c as me}from"./VDTRRLON.js";import c from"./3WTBTYMS.js";import b from"./Q2GU7GDS.js";import a from"./O6F37YLT.js";import"./VJVKFKSG.js";import{a as se}from"./WVGSH2QD.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{L as H,M as U,N as ie,T as oe,a as ee,b as O,o as te}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([K,ue,ye,{on:be,when:Me,watch:G},{once:Y,on:de},_e,xe,ze,Se,Te,{property:S,subclass:Ce},Ie,Pe,Ae,pe,Z,W,Le,X,{createSphere:Re},Fe,Ne,$e,{b:I,d:ae,e:re},ne,{a:le}])=>{var ke=ee`:host{height:100%;--arcgis-view-color-focus: none}`;function Be(a,e=!0){let t=((e?a:a*180/Math.PI)%360+360)%360;return e?t:t*Math.PI/180}function Ee(a,e=!0){let t=e?a:a*180/Math.PI,o=Math.max(.5,Math.min(179.5,t));return e?o:o*Math.PI/180}function Ge(a,e){return new Promise((t,o)=>{if(a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA){t();return}e(Y(a,"canplay",t)),e(Y(a,"error",o))})}function De(a){return new ue({geometry:a,symbol:new ze({symbolLayers:new _e([new xe])})})}function V({data:a,center:e=Ve(),size:t=Ke,horizonPitch:o=0,horizonYaw:i=0,horizonRoll:s=0}){let r=e.clone();r.z=-t/2;let n=Re(r,{size:t,densificationFactor:2,vertexSpace:"georeferenced",material:new Z({colorTexture:new W({data:a}),unlit:!0})});if(n.components?.at(0)?.set({trustSourceNormals:!0}),n.vertexAttributes.uv){let l=n.vertexAttributes.uv.length??0;for(let d=0;d<l;d++)n.vertexAttributes.uv[d*2+0]=1-n.vertexAttributes.uv[d*2+0]}return n.rotate(o,s,i,{origin:n.extent.center}),n.centerAt(r),n}var Ve=()=>new X({x:0,y:0,z:0,spatialReference:K.WebMercator}),Ke=1e3,Oe=114;function He(a,e,t){let o=new Map,i=Array.from(a.keys()).sort((h,u)=>h-u)[0],{maxCol:s,minCol:r,maxRow:n,minRow:l}=a.get(i),d=s-r+1,m=n-l+1,c=d*(t-1)+1;return Ue({maximumPyramidLevel:e,blockBoundary:a,baseCols:d,baseRows:m,vertexPerEdge:t,baseVertexPerRow:c},o),o}function Ue(a,e){let{maximumPyramidLevel:t,blockBoundary:o,baseCols:i,baseRows:s,vertexPerEdge:r,baseVertexPerRow:n}=a;for(let l=0;l<=t;l+=1){let{maxCol:d,minCol:m,maxRow:c,minRow:h}=o.get(l),u=d-m+1,p=c-h+1,f=i/u,v=s/p,g=r-1;Ye({minRow:h,minCol:m,numberOfRows:p,numberOfColumns:u,vertexLimit:g,rowStep:v,colStep:f,baseVertexPerRow:n,level:l},e)}}function Ye(a,e){let{minRow:t,minCol:o,numberOfRows:i,numberOfColumns:s,vertexLimit:r,rowStep:n,colStep:l,baseVertexPerRow:d,level:m}=a;for(let c=0;c<i;c+=1)for(let h=0;h<s;h+=1){let u=2*r*r,p=new Uint32Array(u*3),f=0,v=o+(s-1-h),g=t+c;for(let w=0;w<r;w+=1)for(let y=0;y<r;y+=1){let _=c*n*r+w*n,C=h*l*r+y*l,N=Math.round(_*d+C),P=Math.round(N+l),T=Math.round(N+n*d),$=Math.round(T+l);p[f++]=N,p[f++]=T,p[f++]=P,p[f++]=P,p[f++]=T,p[f++]=$}e.set(`${m}/${g}/${v}`,p)}}function Ze(a,e){let t=new Map,{lods:o,origin:i,size:[s,r]}=a,{xmin:n,ymin:l,xmax:d,ymax:m}=e;for(let{resolution:c,level:h}of o){let u=Math.floor((i.y-m)/(r*c)),p=Math.floor((i.y-l)/(r*c))-1,f=Math.floor((n-i.x)/(s*c)),v=Math.ceil((d-i.x)/(s*c))-1,g=p-u+1,w=v-f+1;if(g<=0||w<=0)continue;let y=360/w,_=180/g,C=Math.max(y/s,_/r);Number.isFinite(C)&&t.set(o.length-1-h,{minRow:u,maxRow:p,minCol:f,maxCol:v,resolution:c,pixelAngle:C})}return t}function We(a){return typeof a=="string"?Number.parseInt(a,10):a}function je(a){a.set("premultiplyAlpha",!0);let e=a.getAsRGBA();return new ImageData(e,a.width,a.height)}function qe(a,e,t){return(a*(t-1)+1)*(e*(t-1)+1)}var j=class{constructor(e){this._componentCache=new Map,this._tileAnchorMap=new Map,this._attachedComponentKeys=new Set,this._remappedFaceMap=new Map,this._levels=[],this._blockBoundaryMap=new Map,this.radius=500,this.vertexPerEdge=25,this.imageSize=[0,0],this.layer=e.layer}get _meshResolutionLevel(){let e=this._levels[0],t=Number.POSITIVE_INFINITY;for(let o of this._levels){let i=this._blockBoundaryMap.get(o);i&&i.pixelAngle<t&&(t=i.pixelAngle,e=o)}return e}get blockBoundaryMap(){return this._blockBoundaryMap}get levels(){return this._levels}get baseLevel(){let e=this._levels[0],t=Number.NEGATIVE_INFINITY;for(let o of this._levels){let i=this._blockBoundaryMap.get(o);i&&i.pixelAngle>t&&(t=i.pixelAngle,e=o)}return e}get maxLevel(){return Math.max(...this._levels)}async load(e){if(await this.layer.load(e),this._blockBoundaryMap=Ze(this.layer.tileInfo,this.layer.fullExtent),this._levels=[...this._blockBoundaryMap.keys()].sort((t,o)=>t-o),this._levels.length===0)throw new Error("No valid tile levels found for panoramic mesh generation.");return this.imageSize=[this.layer.fullExtent.width,this.layer.fullExtent.height],this._baseMesh=this._createBaseMesh(this.radius,this.vertexPerEdge),this}get baseMesh(){if(!this._baseMesh)throw new Error("Base mesh is not created yet.");return this._baseMesh}destroy(){this._faceMap?.clear(),this._remappedFaceMap.clear(),this._componentCache.clear(),this._attachedComponentKeys.clear(),this._tileAnchorMap.clear(),this._baseMesh?.destroy()}_createBaseMesh(e,t){if(!this._blockBoundaryMap.has(this._meshResolutionLevel))throw new Error(`No block boundaries found for mesh resolution level ${this._meshResolutionLevel}`);let{maxCol:o,minCol:i,maxRow:s,minRow:r}=this._blockBoundaryMap.get(this._meshResolutionLevel),n=s-r+1,l=o-i+1,d=qe(n,l,t),m=new Float64Array(d*3),c=new Float32Array(d*3),h=new Float32Array(d*2),u=l*(t-1)+1,p=l*(t-1);for(let _=0;_<d;_+=1){let C=Math.floor(_/u),N=_%u,P=1-N/(l*(t-1)),T=C/(n*(t-1)),$=180*(1-T),E=360*(P-.5),A=[Math.sin($*Math.PI/180)*Math.sin(E*Math.PI/180),Math.cos(E*Math.PI/180)*Math.sin($*Math.PI/180),-Math.cos($*Math.PI/180)];m[_*3]=e*A[0],m[_*3+1]=e*A[1],m[_*3+2]=e*A[2],c[_*3]=-A[0],c[_*3+1]=-A[1],c[_*3+2]=-A[2];let k=C*u;N===p&&(m[_*3]=m[k*3],m[_*3+1]=m[k*3+1],m[_*3+2]=m[k*3+2],c[_*3]=c[k*3],c[_*3+1]=c[k*3+1],c[_*3+2]=c[k*3+2]),h[_*2]=P,h[_*2+1]=T}this._faceMap=He(this._blockBoundaryMap,Math.max(...this._levels),t);let{remappedFaceMap:f,splitPosition:v,splitNormals:g,splitUv:w}=this._preSplitTileGeometry(m,c,h);this._remappedFaceMap=f;let y=new pe({faces:new Uint32Array([0,1,2]),name:"__placeholder__"});return y.set({trustSourceNormals:!0}),this._baseMesh=new Ae({components:[y],vertexAttributes:new Le({position:v,normal:g,uv:w}),spatialReference:{wkid:3857}}),this._baseMesh}_preSplitTileGeometry(e,t,o){let i=0;for(let c of this._faceMap.values()){let h=new Set;for(let u=0;u<c.length;u+=1)h.add(c[u]);i+=h.size}let s=new Float64Array(i*3),r=new Float32Array(i*3),n=new Float32Array(i*2),l=new Map,d=1e-8,m=0;for(let[c,h]of this._faceMap){let u=new Map,p=0,f=0,v=0,g=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY,y=Number.POSITIVE_INFINITY,_=Number.NEGATIVE_INFINITY;for(let L=0;L<h.length;L+=1){let R=h[L];if(u.has(R))continue;let x=R*2,z=o[x],F=o[x+1];z<g&&(g=z),z>w&&(w=z),F<y&&(y=F),F>_&&(_=F);let B=R*3;p+=e[B],f+=e[B+1],v+=e[B+2],u.set(R,m),m+=1}let C=w-g,N=_-y,P=Math.hypot(p,f,v),T=this.radius*1.01,[$,E]=this.layer.tileInfo?.size??[256,256],A=.5/$,k=.5/E;this._tileAnchorMap.set(c,P>0?[p/P*T,f/P*T,v/P*T]:[0,0,T]);for(let[L,R]of u){let x=L*3,z=R*3;s[z]=e[x],s[z+1]=e[x+1],s[z+2]=e[x+2],r[z]=t[x],r[z+1]=t[x+1],r[z+2]=t[x+2];let F=L*2,B=R*2,fe=o[F],ge=o[F+1],ve=C<d?.5:(fe-g)/C,we=N<d?.5:(ge-y)/N;n[B]=A+ve*(1-2*A),n[B+1]=k+we*(1-2*k)}let D=new Uint32Array(h.length);for(let L=0;L<h.length;L+=1){let R=u.get(h[L]);if(R==null)throw new Error(`Failed to remap face index for tile ${c}`);D[L]=R}l.set(c,D)}return{remappedFaceMap:l,splitPosition:s,splitNormals:r,splitUv:n}}getTileAnchor(e,t,o){let i=this._tileAnchorMap.get(`${e}/${t}/${o}`);if(!i)throw new Error(`No tile anchor found for level ${e}, row ${t}, column ${o}`);return i}loadComponent(e,t,o,i){let s=`${e}/${t}/${o}`;if(this._attachedComponentKeys.has(s))return;let r=this._componentCache.get(s);if(r)r.material=new Z({unlit:!0,colorTexture:new W({data:i})});else{let l=this._remappedFaceMap.get(s);if(!l)throw new Error(`No faces found for level ${e}, row ${t}, column ${o}`);r=new pe({faces:l,name:s,material:new Z({unlit:!0,colorTexture:new W({data:i})})}),r.set({trustSourceNormals:!0}),this._componentCache.set(`${e}/${t}/${o}`,r)}r.name=s,this.baseMesh.addComponent(r);let n=this.baseMesh.components?.find(l=>l.name==="__placeholder__");n&&this.baseMesh.removeComponent(n),this._attachedComponentKeys.add(s),this.baseMesh.vertexAttributesChanged()}getFacesForTile(e,t,o){let i=this._remappedFaceMap.get(`${e}/${t}/${o}`);if(!i)throw new Error(`No faces found for level ${e}, row ${t}, column ${o}`);return i}unloadComponent(e,t,o){let i=`${e}/${t}/${o}`,s=this._componentCache.get(i);s&&this._attachedComponentKeys.has(i)&&(this.baseMesh.removeComponent(s),this._attachedComponentKeys.delete(i),this.baseMesh.vertexAttributesChanged())}},q=class{constructor(e){this._baseLevel=e.baseLevel,this._levels=[...e.levels],this._blockBoundaryMap=e.blockBoundaryMap}plan(e,t,o){let i=this._selectLevel(e);this._lastStableLevel=i;let s=this._createHybridDesiredSet(i,e);this._retainActiveLevelDetails(s,t,i);let r=this._prioritizeDesiredKeys(s,i),n=new Set([...t,...o]),l=r.filter(c=>!n.has(c)),d=r.filter(c=>t.has(c)),m=[...t].filter(c=>!s.has(c));return{stableLevel:i,desiredKeySet:s,toFetch:l,toKeep:d,toDrop:m}}_retainActiveLevelDetails(e,t,o){if(o!==this._baseLevel)for(let i of t){let s=this._parseTileKey(i);s&&s.level===o&&e.add(i)}}_createHybridDesiredSet(e,t){let o=new Set,i=this._blockBoundaryMap.get(this._baseLevel);if(!i)return o;for(let r=i.minRow;r<=i.maxRow;r+=1)for(let n=i.minCol;n<=i.maxCol;n+=1)o.add(`${this._baseLevel}/${r}/${n}`);if(e===this._baseLevel)return o;let s=this._getViewTileKeys(e,t.heading,t.pitch,t.hfov,t.vfov);for(let r of s)o.add(r);return o}_getViewTileKeys(e,t,o,i,s){let r=this._blockBoundaryMap.get(e);if(!r)return[];let{minRow:n,maxRow:l,minCol:d,maxCol:m}=r,c=l-n+1,h=m-d+1,u=Math.max(.1,Math.min(179.9,o))-90,p=Math.max(.01,Math.min(360,i)),f=Math.max(.01,Math.min(180,s)),v=360/h,g=180/c,w=Math.min(12,v*.35),y=Math.min(8,g*.35),_=Math.min(360,p+w*2),C=Math.min(180,f+y*2),N=Math.max(-89.9,Math.min(89.9,u-C/2)),P=Math.max(-89.9,Math.min(89.9,u+C/2)),T=x=>{let z=(90-x)/180,F=Math.floor(z*c);return n+Math.max(0,Math.min(c-1,F))},$=x=>{let z=this._normalizeHeading(x)/360,F=(Math.floor(z*h)%h+h)%h;return d+F},E=this._normalizeHeading(t-_/2),A=this._normalizeHeading(t+_/2),k=Math.min(T(P),T(N)),D=Math.max(T(P),T(N)),L=_>=360?[[d,m]]:E<=A?[[$(E),$(A)]]:[[d,$(A)],[$(E),m]],R=new Set;for(let x=k;x<=D;x+=1)for(let[z,F]of L)for(let B=z;B<=F;B+=1)R.add(`${e}/${x}/${B}`);return[...R]}_normalizeHeading(e){let t=e%360;return t<0?t+360:t}_prioritizeDesiredKeys(e,t){let o=[...e],i=s=>{let r=this._parseTileKey(s);return r?r.level===t?0:r.level===this._baseLevel?2:1:Number.POSITIVE_INFINITY};return o.sort((s,r)=>{let n=i(s)-i(r);if(n!==0)return n;let l=this._parseTileKey(s),d=this._parseTileKey(r);return!l||!d?s.localeCompare(r):l.level!==d.level?l.level-d.level:l.row!==d.row?l.row-d.row:l.col-d.col}),o}_parseTileKey(e){let[t,o,i]=e.split("/"),s=Number(t),r=Number(o),n=Number(i);if(!(!Number.isFinite(s)||!Number.isFinite(r)||!Number.isFinite(n)))return{level:s,row:r,col:n}}_selectLevel(e){let[t,o]=e.viewportSize,i=Math.max(1,t),s=Math.max(1,o),r=Math.max(e.hfov/i,e.vfov/s),n=.25,l=this._levels.map(h=>({level:h,boundary:this._blockBoundaryMap.get(h)})).filter(h=>h.boundary!=null).sort((h,u)=>u.boundary.pixelAngle-h.boundary.pixelAngle);if(l.length===0)return this._baseLevel;let d=new Map;for(let h of l)d.set(h.level,r/h.boundary.pixelAngle);let m=new Map;l.forEach((h,u)=>{m.set(h.level,u)});let c=l[l.length-1].level;for(let h of l)if((d.get(h.level)??0)>=n){c=h.level;break}if(this._lastStableLevel!=null&&m.has(this._lastStableLevel)){let h=m.get(this._lastStableLevel),u=m.get(c);if(u>h&&(d.get(this._lastStableLevel)??0)>=.2)return this._lastStableLevel;if(u<h)return this._lastStableLevel}return c}},J=class{constructor(e){this._layer=e,this._inflightControllers=new Map,this._inflightSet=new Set,this._loadedSet=new Set,this.fetchTileImageData=async(t,o,i,s)=>{let r=We(t),n=s?{signal:s}:void 0,l=this._meshBuilder.blockBoundaryMap.get(r);if(!l)throw new Error(`No tile boundary found for level ${t}`);let{maxCol:d,maxRow:m,minCol:c,minRow:h}=l,u=d-c+1,p=m-h+1,f=i-c,v=o-h,g=f*this._meshBuilder.imageSize[0]/u,w=v*this._meshBuilder.imageSize[1]/p,y=Math.min((f+1)*this._meshBuilder.imageSize[0]/u,this._meshBuilder.imageSize[0]),_=Math.min((v+1)*this._meshBuilder.imageSize[1]/p,this._meshBuilder.imageSize[1]),C=await this._layer.fetchPixels(new Pe({xmin:g-.5,ymin:.5-_,xmax:y-.5,ymax:.5-w,spatialReference:this._layer.fullExtent.spatialReference}),y-g,_-w,n);return je(C.pixelBlock)},this.loadComponent=(t,o,i,s)=>this._meshBuilder.loadComponent(t,o,i,s),this.unloadComponent=(t,o,i)=>this._meshBuilder.unloadComponent(t,o,i),this._meshBuilder=new j({layer:e})}get imageSize(){return this._meshBuilder.imageSize}get baseMesh(){return this._meshBuilder.baseMesh}get currentLevel(){return this._currentLevel}getTileAnchor(e,t,o){return this._meshBuilder.getTileAnchor(e,t,o)}async load(){return await this._meshBuilder.load(),this._tilePlanner=new q({blockBoundaryMap:this._meshBuilder.blockBoundaryMap,baseLevel:this._meshBuilder.baseLevel,levels:[...this._meshBuilder.levels]}),this}destroy(){for(let e of this._inflightControllers.values())e.abort();this._inflightControllers.clear(),this._inflightSet.clear(),this._loadedSet.clear(),this._tilePlanner=void 0,this._meshBuilder.destroy()}planTiles(e){if(!this._tilePlanner)throw new Error("PanoramicTileSource is not loaded yet.");let t=this._tilePlanner.plan(e,this._loadedSet,this._inflightSet);return this._currentLevel=t.stableLevel,t}markTileInflight(e,t){this._inflightSet.add(e),this._inflightControllers.set(e,t)}markTileLoaded(e){this._inflightSet.delete(e),this._inflightControllers.delete(e),this._loadedSet.add(e)}markTileInflightResolved(e){this._inflightSet.delete(e),this._inflightControllers.delete(e)}markTileDropped(e){this._loadedSet.delete(e)}cancelStaleInflight(e){for(let t of this._inflightSet)e.has(t)||(this._inflightControllers.get(t)?.abort(),this._inflightControllers.delete(t),this._inflightSet.delete(t))}},Je=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,M=(a,e,t,o)=>{for(var i=o>1?void 0:o?Qe(e,t):e,s=a.length-1,r;s>=0;s--)(r=a[s])&&(i=(o?r(e,t,i):r(i))||i);return o&&i&&Je(e,t,i),i},Xe=0,et=0,tt=0,it=new Set(["JPG","JPEG","TIFF","TIF","MRF"]),ot=new Set(["MRF","TIFF","TIF"]),b=class extends Te{constructor(a){super(a),this._size=[0,0],this.autoLoad=!1,this.type="image",this.uiStrings={},this._resolveMedia=async e=>{let t=Promise.withResolvers(),o=e?.signal?Y(e?.signal,"abort",t.resolve):null,i=this.type==="video"?document.createElement("video"):document.createElement("img");this.type==="video"&&(i.setAttribute("playsinline","true"),i.setAttribute("muted","true"),i.setAttribute("autoplay","true")),i.crossOrigin="anonymous",i.src=this.url;let s=null,r=this.type==="video"?Ge(i,m=>this.addHandles(m)):await new Promise((m,c)=>{s=[de(i,"error",h=>{c(h)}),de(i,"load",m)]}).finally(()=>{s?.forEach(m=>m.remove()),s=null}),n=Promise.race([r,t.promise]);try{await n}finally{o?.remove()}I(e);let l=i,d=await V({data:i,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(e);return I(e),{media:l,mesh:d}}}static isPanoramicMedia(a){return!!a&&typeof a=="object"&&"declaredClass"in a&&typeof a.declaredClass=="string"&&a.declaredClass==="components.oriented-imagery-viewer-panoramic-viewer.support.PanoramicMedia"}destroy(){this._cache=void 0}get horizonPitch(){let{matrix:a}=this;return a?180*Math.asin(-a[6])/Math.PI:Xe}get horizonRoll(){let{matrix:a}=this;return a?180*Math.atan(a[7]/a[8])/Math.PI:tt}get horizonYaw(){let{matrix:a,cameraHeading:e}=this;return a?180*Math.atan2(a[3],a[0])/Math.PI:e?-e:et}get panoramicTileSource(){return this._panoramicTileSource}get element(){return this._cache}get size(){return this._size}async load(a){if(this.type==="video")return await this.loadVideoMesh(a);let e=this.extension;if(e||(e=le(this.url)),!e||!it.has(e))throw new Ie("unsupported-format",this.uiStrings["unsupported-format"]??"Unsupported image format: {extension}",{datasetFormat:e??"UNKNOWN FORMAT"});return ot.has(e)?await this.loadOptimizedImageMesh(a):await this.loadImageMesh(a)}async loadOptimizedImageMesh(a){this._panoramicTileSource?.destroy();let e=new Fe({url:this.url,datasetFormat:this.extension,skipMapInfo:!0,skipExtensions:["aux.xml","jgw"]});this._panoramicTileSource=new J(e);let{imageSize:t,baseMesh:o}=await this._panoramicTileSource.load();return I(a),{mesh:o,size:t}}async loadVideoMesh(a){if(I(a),this._cache){let o=await V({data:this._cache,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(a);return I(a),{mesh:o,size:this._size}}let e=await this._resolveMedia(a);I(a),this._cache=e.media,this._size=[this._cache.videoWidth,this._cache.videoHeight];let t=await V({data:this._cache,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(a);return I(a),{mesh:t,size:this._size}}async loadImageMesh(a){if(this._cache){let o=await V({data:this._cache,horizonPitch:this.horizonPitch,horizonRoll:this.horizonRoll,horizonYaw:this.horizonYaw}).load(a);return I(a),{mesh:o,size:this._size}}let e=await this._resolveMedia(a);I(a),this._cache=e.media;let t=e.mesh;return this._size=[e.media.width,e.media.height],{mesh:t,size:this._size}}};M([S()],b.prototype,"_size",2);M([S()],b.prototype,"_cache",2);M([S()],b.prototype,"autoLoad",2);M([S()],b.prototype,"cameraHeading",2);M([S()],b.prototype,"extension",2);M([S()],b.prototype,"horizonPitch",1);M([S()],b.prototype,"horizonRoll",1);M([S()],b.prototype,"horizonYaw",1);M([S()],b.prototype,"id",2);M([S()],b.prototype,"_panoramicTileSource",2);M([S()],b.prototype,"panoramicTileSource",1);M([S()],b.prototype,"element",1);M([S()],b.prototype,"matrix",2);M([S()],b.prototype,"size",1);M([S()],b.prototype,"type",2);M([S()],b.prototype,"uiStrings",2);M([S()],b.prototype,"url",2);b=M([Ce("components.oriented-imagery-viewer-panoramic-viewer.support.PanoramicMedia")],b);var at=()=>new ye({atmosphereEnabled:!1,starsEnabled:!1,lighting:{type:"virtual"}}),rt=()=>new Se({opacity:0,navigationConstraint:null}),st=()=>new X({x:0,y:0,z:0,spatialReference:K.WebMercator}),Q=class extends ie{constructor(){super(...arguments),this.#e=at(),this._graphicsController=new ne(this),this._ground=rt(),this._messages=se(),this._startPosition=null,this.tileCache=new Set,this._currentGraphicsStore=new _e,this._tileLabelGraphics=new Map,this._handleMouseWheel=e=>{e.detail.stopPropagation(),e.detail.deltaY<0?this._internalZoom.value?.zoomIn():this._internalZoom.value?.zoomOut()},this._handleDrag=e=>{e.stopPropagation();let{x:t,y:o,action:i}=e,s=null,r=null;switch(i){case"start":this._startPosition={x:t,y:o};break;case"update":if(!this._startPosition)return;let n=l=>{if(!this._startPosition||!this.camera)return;if(r||(r=l),l-r<16){s=requestAnimationFrame(n);return}let d=t-this._startPosition.x,m=o-this._startPosition.y,c=Be(this.camera?.heading-d*.1),h=Ee(this.camera.tilt+m*.1);this.yaw=c,this.pitch=h,this._startPosition={x:t,y:o},r=null};s=requestAnimationFrame(n);break;case"end":s!==null&&cancelAnimationFrame(s),this._startPosition=null;break}},this._internalMap=H(),this._internalZoom=H(),this._loading=!1,this.yaw=0,this.pitch=90,this.hideLoader=!1,this.hideTitle=!1,this.hideZoomControls=!1,this.hideVideoControls=!1,this.messageOverrides=this._messages._overrides}static{this.properties={_media:16,_internalMap:16,_internalZoom:16,_loading:16,_base:16,yaw:9,pitch:9,hideLoader:5,hideTitle:7,hideZoomControls:5,hideVideoControls:5,imageSize:32,media:0,messageOverrides:0,hfov:32,base:32}}static{this.styles=[ke]}#e;get view(){return this._internalMap?.value?.view}get camera(){if(!this.view?.destroyed)return this.view?.camera}set camera(e){!e||!this.view||this.view.destroyed||(e.position=st(),this.view.camera=e.clone())}get map(){return this._internalMap.value?.view?.map}get _fov(){return this.camera?.fov}set _fov(e){typeof e!="number"||!this._internalZoom.value||this._internalZoom.value?.zoomFOV(e)}get imageSize(){return this._media?.size}get media(){return this._media}set media(e){if(!e){this._mediaAbortController?.abort(),this._media=void 0,this._clearImage();return}this._media=b.isPanoramicMedia(e)?e:new b(e)}get hfov(){return this._internalZoom.value?.hfov}get base(){return this._base?.geometry}addGraphic(e){this._graphicsController.addGraphic(e)}addGraphics(e){this._graphicsController.addGraphics(e)}clearGraphics(){this._graphicsController.clearGraphics()}async mediaOnLoad(){return this._mediaPromise&&await this._mediaPromise,this._media}removeGraphic(e){this._graphicsController.removeGraphic(e)}removeGraphics(e){this._graphicsController.removeGraphics(e)}zoomIn(){this._internalZoom.value?.zoomIn()}zoomOut(){this._internalZoom.value?.zoomOut()}loaded(){this.manager.onLifecycle(()=>[be(()=>this.view,"drag",this._handleDrag),Me(()=>this.camera!=null,()=>{this.camera&&(this.camera.heading=this.yaw,this.camera.tilt=this.pitch,this._reloadCamera())}),G(()=>this.yaw,()=>{this.camera&&(this.camera.heading=this.yaw,this._reloadCamera())},{sync:!0,initial:!0}),G(()=>this.pitch,()=>{this.camera&&(this.camera.tilt=this.pitch,this._reloadCamera())},{sync:!0,initial:!0}),G(()=>this._fov,()=>{this._reloadCamera()},{sync:!0,initial:!0}),G(()=>this._media,e=>{this._mediaAbortController?.abort(),e&&(this._mediaAbortController=new AbortController,this._mediaPromise=this._loadMediaInternal(e,this._mediaAbortController))},{initial:!0,sync:!0}),G(()=>{if(!this.view?.ready||!this.base)return;let e=this._media?.panoramicTileSource;if(!e)return;let{camera:{heading:t,tilt:o,fov:i},width:s,height:r}=this.view,n=s/r;return{panoramicTileSource:e,heading:t,pitch:o,hfov:ce(i,n),vfov:me(i,n)}},e=>{e&&(this._tileUpdateDebounceHandle!=null&&clearTimeout(this._tileUpdateDebounceHandle),this._tileUpdateDebounceHandle=window.setTimeout(()=>{this._tileUpdateTask?.abort(),this._tileUpdateTask=re(async t=>{await this._updateTilesForCurrentView(e,t)}),this._tileUpdateDebounceHandle=void 0},150))},{initial:!0,sync:!0})])}_reloadCamera(){this.camera=this.camera?.clone()}_clearImage(){this._tileUpdateDebounceHandle!=null&&(clearTimeout(this._tileUpdateDebounceHandle),this._tileUpdateDebounceHandle=void 0),this._tileUpdateTask?.abort(),this._tileUpdateTask=void 0,this.tileCache.clear();for(let e of this._tileLabelGraphics.values())this.removeGraphic(e);this._tileLabelGraphics.clear(),this.clearGraphics(),this._base=void 0,this._currentGraphicsStore.removeAll()}_parseTileKey(e){let[t,o,i]=e.split("/").map(Number);return{level:t,row:o,col:i}}_createTileLabelGraphic(e,t){let{level:o,row:i,col:s}=this._parseTileKey(t),[r,n,l]=e.getTileAnchor(o,i,s);return new ue({attributes:{tileKey:t},geometry:new X({x:r,y:n,z:l,spatialReference:K.WebMercator}),symbol:new $e({color:[255,255,255,.95],font:new Ne({family:"Avenir Next",size:8,weight:"bold"}),haloColor:[0,0,0,.9],haloSize:1,horizontalAlignment:"center",text:t,verticalAlignment:"middle"})})}_attachTileLabel(e,t){if(this._tileLabelGraphics.has(t))return;let o=this._createTileLabelGraphic(e,t);this._tileLabelGraphics.set(t,o),this._currentGraphicsStore.add(o),this.addGraphic(o)}_detachTileLabel(e){let t=this._tileLabelGraphics.get(e);t&&(this.removeGraphic(t),this._currentGraphicsStore.remove(t),this._tileLabelGraphics.delete(e))}async _updateTilesForCurrentView(e,t){let{base:o}=this;if(!o)return;let{panoramicTileSource:i,heading:s,pitch:r,hfov:n,vfov:l}=e,d=[Math.max(1,this.view?.width??1),Math.max(1,this.view?.height??1)],m=i.planTiles({heading:s,pitch:r,hfov:n,vfov:l,imageSize:i.imageSize,viewportSize:d});if(I(t),i.cancelStaleInflight(m.desiredKeySet),m.toDrop.length>0){let u=new Set(m.toDrop);for(let p of u){let{level:f,row:v,col:g}=this._parseTileKey(p);i.unloadComponent(f,v,g),i.markTileDropped(p),this._detachTileLabel(p),this.tileCache.delete(p)}}let c=async u=>{if(u>=m.toFetch.length)return;let p=m.toFetch[u];if(I(t),!this.tileCache.has(p)){let{level:f,row:v,col:g}=this._parseTileKey(p),w=new AbortController,y=()=>{w.abort()};t.addEventListener("abort",y,{once:!0}),i.markTileInflight(p,w);try{let _=await i.fetchTileImageData(f,v,g,w.signal);I(t),m.desiredKeySet.has(p)&&!this.tileCache.has(p)&&(i.loadComponent(f,v,g,_),i.markTileLoaded(p),this._attachTileLabel(i,p),this.tileCache.add(p))}catch(_){ae(_)||te("error",this,"Failed loading panoramic tile component",{detail:{key:p,error:_}})}finally{t.removeEventListener("abort",y),i.markTileInflightResolved(p)}}await c(u+1)};await c(0);let h=i.planTiles({heading:s,pitch:r,hfov:n,vfov:l,imageSize:i.imageSize,viewportSize:d});if(I(t),h.toDrop.length>0){let u=new Set(h.toDrop);for(let p of u){let{level:f,row:v,col:g}=this._parseTileKey(p);i.unloadComponent(f,v,g),i.markTileDropped(p),this._detachTileLabel(p),this.tileCache.delete(p)}}}async _loadMediaInternal(e,t){if(this._loading=!0,this._clearImage(),!e)throw new Error("No media provided");let{mesh:o}=await e.load(t).finally(()=>{this._loading=!1});I(t),this._fov=he(Oe,this.el.clientWidth/this.el.clientHeight),this._base=De(o),this.addGraphic(this._base)}render(){return O`<calcite-panel .loading=${this.hideLoader?void 0:this._loading} .heading=${this.hideTitle?void 0:this._messages.title}><arcgis-scene .environment=${this.#e} hide-attribution .spatialReference=${K.WebMercator} viewing-mode=local .ground=${this._ground} @arcgisViewMouseWheel=${this._handleMouseWheel} ${U(this._internalMap)}><arcgis-oriented-imagery-viewer-panoramic-viewer-zoom .hidden=${this.hideZoomControls} slot=top-left ${U(this._internalZoom)}></arcgis-oriented-imagery-viewer-panoramic-viewer-zoom></arcgis-scene>${this.hideVideoControls||this.media?.type!=="video"?null:O`<arcgis-oriented-imagery-viewer-video-controls .videoRef=${this._media?.element}></arcgis-oriented-imagery-viewer-video-controls>`}</calcite-panel>`}};oe("arcgis-oriented-imagery-viewer-panoramic-viewer",Q);return Q},"geometry/SpatialReference","Graphic","views/3d/environment/Environment","core/reactiveUtils","applications/Components/baUtils","core/Collection","symbols/FillSymbol3DLayer","symbols/MeshSymbol3D","Ground","core/Accessor","core/accessorSupport/decorators","core/Error","geometry/Extent","geometry/Mesh","geometry/support/MeshComponent","geometry/support/MeshMaterialMetallicRoughness","geometry/support/MeshTexture","geometry/support/MeshVertexAttributes","geometry/Point","geometry/support/meshUtils","layers/ImageryTileLayer","symbols/Font","symbols/TextSymbol",a,b,c)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as m}from"./WVGSH2QD.js";import"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{N as d,T as u,a as l,b as s,o as a,q as n}from"./WTBRS6C4.js";import"./H6RQVSYM.js";var g=l`.subnetwork-details{border-radius:var(--calcite-border-radius);border:solid 1px var(--calcite-color-border-3)}.key-value-pair{padding:var(--calcite-spacing-sm)}.key-value-pair__key{font-size:var(--calcite-font-size--2);color:var(--calcite-color-text-3)}.key-value-pair__value{font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-1)}`,c=class extends d{constructor(){super(...arguments),this._messages=m({blocking:!0})}static{this.properties={namedTraceConfiguration:0}}static{this.styles=g}loaded(){this.namedTraceConfiguration||a("warn",this,n("namedTraceConfiguration"))}#e(e,r){return s`<div class="key-value-pair"><div class="key-value-pair__key">${e}</div><div class="key-value-pair__value">${r}</div></div>`}render(){let{_messages:e,namedTraceConfiguration:r}=this;if(!r?.traceConfiguration)return a("error",this,n("namedTraceConfig.traceConfiguration")),null;let{domainNetworkName:i,tierName:t,targetTierName:o}=r.traceConfiguration;return!i&&!t&&!o?(a("warn",this,"`namedTraceConfig.traceConfiguration` has no `domainNetworkName`, `tierName`, or `targetTierName`."),null):s`<div class="subnetwork-details">${i?this.#e(e.headings.domainNetwork,i):null}${t?this.#e(e.headings.tier,t):null}${o?this.#e(e.headings.targetTier,o):null}</div>`}};u("arcgis-utility-network-subnetwork-info",c);export{c as ArcgisUtilityNetworkSubnetworkInfo};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as i}from"./5DI7RMZ6.js";export default $arcgis.t(([{watch:y}])=>{function l(e,a){return i((n,d)=>(d.onLifecycle(()=>y(()=>({layerId:e.mapLayerId,viewReady:e.view?.ready}),({layerId:r,viewReady:o})=>{if(!o)return;let t=e.view;if(!r){a(void 0);return}a(t?.map?.findLayerById(r))},{initial:!0})),e.mapLayerId))}return l},"core/reactiveUtils")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{g as w}from"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{N as f,P as u,T as _,a as d,b as m}from"./WTBRS6C4.js";import"./H6RQVSYM.js";var x=d`:host{display:block;pointer-events:initial}calcite-popover{pointer-events:initial}.content{min-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-min-inline-size, 300px));max-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-max-inline-size, 400px));max-height:var( --arcgis-view-popover-content-max-height, calc(100cqh - var(--arcgis-view-popover-height-reserve, 77px)) );-webkit-user-select:none;user-select:none;overflow-y:auto}`,h=6,y=2,A=32,S=77,B=0;function z(t){let e=C(t),i=t.actionBarLayout==="vertical"?0:e;return{effectiveTailOffset:e,horizontalMargin:$(t),verticalMargin:P(t)+i+t.headerRect.height,offsetSkidding:O(t),placement:L(t)}}function C({actionBarLayout:t,actionRect:e,barRect:i,tailAttachmentAppearance:a}){let n=a==="bar"?t==="vertical"?Math.max(0,e.left-i.left):Math.max(0,e.top-i.top):0;return h+n}function $({actionBarLayout:t,barRect:{left:e,right:i},actionRect:{left:a},tailAttachmentAppearance:n,viewEdgeMargin:r}){let s=r*2;if(t==="vertical"){let l=i-e,v=n==="action"?-(a-e-h):h;return s+l+v}return s}function O(t){return t.actionBarLayout==="vertical"||b(t)==="left"?t.viewEdgeMargin:-t.viewEdgeMargin}function L(t){let{actionBarLayout:e,actionRect:i,viewRect:a}=t,n=b(t);if(e==="vertical")return n==="left"?"right-end":"left-end";let r=i.bottom-a.top<a.height/2?"bottom":"top";return n==="left"?`${r}-end`:`${r}-start`}function b({barRect:{left:t,right:e},viewRect:{left:i,right:a}}){return t-i<a-e?"left":"right"}function k({actionRect:t,viewRect:e}){return t.top-e.top>e.height/2?"bottom":"top"}function P(t){let{actionBarLayout:e,actionRect:i,attributionHeight:a,viewEdgeMargin:n,viewRect:r}=t,s=k(t),l=i.bottom-r.top,v=i.top-r.top,E=s==="top"?l:n,R=n,g=a+n,M=s==="top"?g:r.height-v;return(e==="vertical"?R+g:E+M)+y}function o(){return new DOMRect(0,0,0,0)}function c(t){return t?.getBoundingClientRect()??o()}var p=class extends f{constructor(){super(...arguments),this._handlePopoverBeforeOpen=e=>{if(e.target!==e.currentTarget)return;let i=e.currentTarget;this._headerElement=i.shadowRoot?.querySelector(".header")??void 0,this._observeMeasurementElements(),this._remeasureAndSolve()},this._handlePopoverClose=e=>{e.target===e.currentTarget&&(e.preventDefault(),this.open=!1,this._stopMeasuring())},this._viewRect=o(),this._barRect=o(),this._actionRect=o(),this._headerRect=o(),this._resizeObserver=new ResizeObserver(()=>this._remeasureAndSolve()),this._placement="bottom-end",this._effectiveTailOffset=h,this._offsetSkidding=B,this._horizontalMargin=A,this._verticalMargin=S,this.closable=!0,this.open=!1,this.maxContentWidth=400,this.minContentWidth=300,this.viewEdgeMargin=16,this.visualScale="m",this.tailAttachmentAppearance="bar",this.arcgisPropertyChange=w()("open")}static{this.properties={_placement:16,_effectiveTailOffset:16,_offsetSkidding:16,_horizontalMargin:16,_verticalMargin:16,view:0,actionBarLayout:32,actionBarElement:0,anchorElement:0,closable:5,heading:1,label:1,open:5,maxContentWidth:9,minContentWidth:9,viewEdgeMargin:9,visualScale:1,tailAttachmentAppearance:1}}static{this.styles=x}get _viewElement(){return this.view?.container??void 0}get actionBarLayout(){return this.actionBarElement?.layout==="vertical"?"vertical":"horizontal"}willUpdate(e){e.has("open")&&!this.open?this._stopMeasuring():this.open&&this._hasParameterInputChange(e)?this._remeasureAndSolve():this.open&&this._hasObservedElementChange(e)&&this._observeMeasurementElements()}disconnectedCallback(){super.disconnectedCallback(),this._stopMeasuring()}_hasObservedElementChange(e){return e.has("actionBarElement")||e.has("anchorElement")||e.has("view")}_hasParameterInputChange(e){return e.has("open")&&this.open||e.has("tailAttachmentAppearance")||e.has("viewEdgeMargin")||e.has("visualScale")}_observeMeasurementElements(){this._resizeObserver.disconnect();for(let e of[this.anchorElement,this.actionBarElement,this._viewElement,this._headerElement])e&&this._resizeObserver.observe(e);this._remeasureAndSolve()}_stopMeasuring(){this._resizeObserver.disconnect(),this._headerElement=void 0}_remeasureAndSolve(){this._actionRect=c(this.anchorElement),this._barRect=c(this.actionBarElement),this._headerRect=c(this._headerElement),this._viewRect=c(this._viewElement),this._solveLayoutAndUpdate()}_solveLayoutAndUpdate(){let{effectiveTailOffset:e,horizontalMargin:i,verticalMargin:a,offsetSkidding:n,placement:r}=z({actionBarLayout:this.actionBarLayout,actionRect:this._actionRect,attributionHeight:this.view?.attributionHeight??0,barRect:this._barRect,headerRect:this._headerRect,visualScale:this.visualScale,tailAttachmentAppearance:this.tailAttachmentAppearance,viewEdgeMargin:this.viewEdgeMargin,viewRect:this._viewRect});this._effectiveTailOffset=e,this._horizontalMargin=i,this._verticalMargin=a,this._offsetSkidding=n,this._placement=r}render(){return this.anchorElement?m`<calcite-popover .closable=${this.closable} .heading=${this.heading} .label=${this.label??""} .open=${this.open} .offsetDistance=${this._effectiveTailOffset} .offsetSkidding=${this._offsetSkidding} overlay-positioning=fixed flip-disabled .placement=${this._placement} .referenceElement=${this.anchorElement} @calcitePopoverBeforeOpen=${this._handlePopoverBeforeOpen} .scale=${this.visualScale} style=${u({"--arcgis-view-popover-max-inline-size":`${this.maxContentWidth}px`,"--arcgis-view-popover-min-inline-size":`${this.minContentWidth}px`,"--arcgis-view-popover-height-reserve":`${this._verticalMargin}px`,"--arcgis-view-popover-width-reserve":`${this._horizontalMargin}px`})} trigger-disabled @calcitePopoverClose=${this._handlePopoverClose}><div class="content"><slot></slot></div></calcite-popover>`:null}};_("arcgis-view-popover",p);export{p as ArcgisViewPopover};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import o from"./MZ2KYVWD.js";import n from"./SOOJLVZP.js";import"./JCSG35A7.js";import{a as Q}from"./JCRPP54Z.js";import"./KPOJXBNC.js";import{a as S,b as U,g as G,h as v,j as H,k as q,m as c,n as $}from"./LDDAJOTV.js";import{a as N}from"./QE6XRKDY.js";import{a as m}from"./56KR4KYO.js";import l from"./X4RJMWSU.js";import j from"./MZWO5JYA.js";import i from"./O6F37YLT.js";import"./VJVKFKSG.js";import h from"./AZYY5BTK.js";import{a as O}from"./WVGSH2QD.js";import{a as b}from"./JD74LG7K.js";import{a as k}from"./UYFMNOGK.js";import f from"./ANSNQBZW.js";import e from"./XXA7VSON.js";import{g as B}from"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import a from"./SYDGAFU5.js";import"./QUZTFUWM.js";import{d as P}from"./NCYBFT2Y.js";import{A as M,L as d,M as g,N as R,O as p,Q as _,R as w,T as A,a as C,b as r,w as y}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([se,L,{on:ae,watch:le},,,{a:x},D,,,,,{a:j,b:z,c:J,d:K}])=>{var u={...Q,section:"section",editing:"editing",editingForm:"editing-form"},re=C`:host{--arcgis-layer-list-visibility-icon: hidden}.editing-form{display:flex;height:100%}.editing{padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm)}`,V="nested",oe=".*\\S+.*",W="data-basemap-layer-type",ne=D(se),F=class extends R{constructor(){super(...arguments),this._baseListRef=d(),this._referenceListRef=d(),this._editTitleInputRef=d(),this._layerFlowItemRef=d(),this._panelFlowItemRef=d(),this._rootFlowItemRef=d(),this._editingFlowItemRef=d(),this._lastDragDetail=null,this._selectedDragItemLayerUid=null,this._rootGroupUid=`basemap-${M()}`,this._openedLayersController=null,this._focusRootFlowItem=!1,this._focusPanelFlowItem=!1,this._focusLayerFlowItem=null,this._focusEditingFlowItem=!1,this.messages=O(),this.viewModel=ne(this),this.arcgisClose=k(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,o=c(e,this._allItems);if(!o?.sortable)return!1;let l=c(t,this._allItems),n=$(t),h=c(i,this._allItems),f=$(i),I=!!n&&!!f&&n===f,Y={selected:o,from:l,to:h},Z=t.group,ee=i.group,te=l?.layer?.type??"",ie=h?.layer?.type??"",T=new Set(["map-image","catalog","knowledge-graph"]);return Z&&ee&&typeof a=="function"?a(Y):I&&!T.has(te)&&!T.has(ie)&&o.layer?.type!=="sublayer"},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer),this._focusLayerFlowItem=e.layer?.uid??null},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent),this._focusLayerFlowItem=e.layer?.uid??null},this._onPanelOpen=()=>{this._focusPanelFlowItem=!0},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(i=>i.classList?.contains(u.item));this._activeItem=c(t,this._allItems)??null},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._toggleEditingTitle=()=>{let e=!this.editingTitle;this.editingTitle=e,e?this._focusEditingFlowItem=!0:this._focusRootFlowItem=!0},this._formSubmit=e=>{e.preventDefault();let t=this._editTitleInputRef.value?.value;t?.trim()&&(this.basemapTitle=t),this._toggleEditingTitle()},this._activeItem=null,this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.openedLayerLists=new L,this.autoDestroyDisabled=!1,this.baseFilterText="",this.baseItemCreatedFunction=this.viewModel.baseItemCreatedFunction,this.basemapTitle=this.viewModel.basemapTitle,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.editingTitle=!1,this.filterPlaceholder="",this.headingLevel=2,this.hideBaseLayers=!1,this.hideCatalogLayerList=!1,this.hideHeading=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideReferenceLayers=!1,this.hideStatusIndicators=!1,this.icon="layers",this.layerTablesEnabled=new L(["knowledge-graph"]),this.listModeDisabled=this.viewModel.listModeDisabled,this.minFilterItems=U,this.openedLayers=new L,this.referenceFilterText="",this.referenceItemCreatedFunction=this.viewModel.referenceItemCreatedFunction,this.selectedItems=new L,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditTitleButton=!1,this.showErrors=!1,this.showFilter=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.view=this.viewModel.view,this.visibilityAppearance="default",this.arcgisBaseFilterChange=y(),this.arcgisOpenedLayersChange=y(),this.arcgisPropertyChange=B()("state"),this.arcgisReady=y(),this.arcgisReferenceFilterChange=y(),this.arcgisTriggerAction=x(()=>this.viewModel,"trigger-action")}static{this.properties={_activeItem:16,_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,openedLayerLists:16,_allItems:16,_visibleBaseItems:16,_visibleReferenceItems:16,_openedPanelItems:16,_totalBaseItems:16,_totalReferenceItems:16,_baseFilterEnabled:16,_referenceFilterEnabled:16,_renderedOpenLayerFlowItems:16,autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItemCreatedFunction:0,baseItems:32,basemapTitle:1,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideCatalogLayerList:5,hideHeading:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,layerTablesEnabled:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listModeDisabled:5,mapImageOptions:0,messageOverrides:0,minFilterItems:9,openedLayers:32,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:32,tableList:32,tileOptions:0,view:0,visibilityAppearance:1}}static{this.styles=[K,re,J]}get _allItems(){return this.referenceItems.concat(this.baseItems)}get _visibleBaseItems(){return this.baseItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _visibleReferenceItems(){return this.referenceItems.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleReferenceItems.concat(this._visibleBaseItems).flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _totalBaseItems(){return this.viewModel.baseItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _totalReferenceItems(){return this.viewModel.referenceItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _baseFilterEnabled(){return this._totalBaseItems>=this.minFilterItems&&this.showFilter}get _referenceFilterEnabled(){return this._totalReferenceItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){return this.openedLayers.toArray().map((e,t)=>this._renderLayerFlowItem(e,t===this.openedLayers.length-1))}get baseItems(){return this.viewModel.baseItems}get catalogLayerList(){return this._catalogLayerList}get referenceItems(){return this.viewModel.referenceItems}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[ae(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),le(()=>[this.viewModel.referenceItems.toArray(),this.viewModel.baseItems.toArray()],()=>G(this.selectedItems),{initial:!0})])}updated(){v(this._baseListRef.value,this.baseFilterPredicate,this.baseItems),v(this._referenceListRef.value,this.referenceFilterPredicate,this.referenceItems)}triggerAction(e,t){this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let i=this._layerListMap.get(e);if(i)return i;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||this._layerListMap.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let s=new AbortController,{signal:a}=s;this._openedLayersController=s,e.forEach((n,h)=>{t.includes(h)||(n?.destroy?.(),e.delete(h))});let o=await Promise.all(t.map(n=>this._createFlowList(n,a)));if(a.aborted)return;i.removeAll(),i.addMany(o);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:s,minFilterItems:a,selectionMode:o,visibilityAppearance:l,layerTablesEnabled:n}=this;return w(r`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??s} .listItemCreatedFunction=${i?.listItemCreatedFunction} .minFilterItems=${i?.minFilterItems??a} .selectionMode=${i?.selectionMode??o} .visibilityAppearance=${i?.visibilityAppearance??l} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${h=>h.stopPropagation()} .catalogLayer=${e} .layerTablesEnabled=${n} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let t=this._getTableListParams(e);return w(r`<arcgis-table-list-next .headingLevel=${t?.headingLevel??this.headingLevel} .selectionMode=${t?.selectionMode??this.selectionMode} .dragEnabled=${t?.dragEnabled??this.dragEnabled} .collapsed=${t?.collapsed} .filterPlaceholder=${t?.filterPlaceholder} .filterText=${t?.filterText} .icon=${t?.icon??void 0} .label=${t?.label??void 0} .listItemCreatedFunction=${t?.listItemCreatedFunction} .tables=${t?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${i=>i.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1,this._focusRootFlowItem=!0}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:s}){let a=c(i,this._allItems),o=e.hasAttribute("data-item")?c(e,this._allItems):null,l=t.hasAttribute("data-item")?c(t,this._allItems):null,n=X(t),h=X(e);s==null||!a||!n||!h||(this.viewModel.moveItem({targetItem:a,fromParentItem:l,toParentItem:o,newIndex:s,from:n,to:h}),j(this,a.uid,f=>f.parentElement?.closest("calcite-list")===e))}_handleCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:s,oldIndex:a}=e;if(t!==i){s.remove();return}a==null||!t||!s||t.insertBefore(s,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:o}=e,l=t?.newIndex===o&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||l)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value.layer?.uid??null;let n=s,h=i;if(n===h){let f=Array.from(s.children).filter(I=>I?.matches("calcite-list-item")).map(I=>I.value.layer?.uid??"");this._sortLayers(n,f);return}this._moveLayerFromChildList({toEl:h,fromEl:n,dragEl:a,newIndex:o})}_sortLayers(e,t){if(e===this._referenceListRef.value||e===this._baseListRef.value){let s=e===this._baseListRef.value?this.view?.map?.basemap?.baseLayers:this.view?.map?.basemap?.referenceLayers;H(s,t);return}let i=c(e,this._allItems);i&&q(i,t)}_handleCalciteListChange(e){if(this.selectionMode==="none")return;let t=e.target.selectedItems.map(i=>c(i,this._allItems)).filter(Boolean);this.selectedItems.removeAll(),this.selectedItems.addMany(t)}_focusFlowItem(e,t){return!t||!e?t:(e.setFocus(),!1)}render(){let e={[b.hidden]:this.state==="loading",[b.disabled]:this.state==="disabled"};return r`<div class=${p(P(b.widget,b.panel,e))}>${this._renderItems()}${this._renderItemTooltips()}</div>`}_renderItemTooltip(e){return e?r`<calcite-tooltip overlay-positioning=fixed .referenceElement=${this._tooltipReferenceMap.get(e.layer?.uid??"")}>${this.messages.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i));return t?.length?t:null}_renderItemTooltips(){return this._visibleReferenceItems.concat(this._visibleBaseItems).toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoLayersInfoMessage(e){return r`<div slot=message>${e}</div>`}_renderNoLayersInfo(e,t){return this.hideNoItemsNotice?null:r`<div class=${p(u.itemMessage)}>${m(t,r`<calcite-notice icon=information kind=info open width=full>${this._renderNoLayersInfoMessage(e)}</calcite-notice>`)}</div>`}_renderEditingInput(){return r`<div class=${p(u.editing)}><calcite-label>${this.messages.basemapTitle}<calcite-input .label=${this.messages.basemapTitle} name=basemaptitle .pattern=${oe} .placeholder=${this.messages.basemapTitle} required title=${this.messages.basemapTitle??_} type=text .value=${this.viewModel.basemapTitle??void 0} ${g(this._editTitleInputRef)}></calcite-input></calcite-label></div>`}_renderEditingForm(){return this.editingTitle?r`<form class=${p(u.editingForm)} @submit=${this._formSubmit}><calcite-flow-item .heading=${this.hideHeading?void 0:this.messages.basemapTitle} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemBack=${e=>{e.preventDefault(),this._toggleEditingTitle()}} ${g(this._editingFlowItemRef)}>${this._renderEditingInput()}<calcite-button appearance=outline @click=${this._toggleEditingTitle} slot=footer-actions width=full>${this.messages.cancel}</calcite-button><calcite-button slot=footer-actions type=submit width=full>${this.messages.ok}</calcite-button></calcite-flow-item></form>`:null}_renderEditTitleButton(){return this.showEditTitleButton&&!this.editingTitle?r`<calcite-action icon=pencil @click=${this._toggleEditingTitle} slot=header-actions-end .text=${this.messages.edit??""} title=${this.messages.edit??_}></calcite-action>`:null}_renderItems(){let e=[m("root-flow-item",r`<calcite-flow-item .closable=${this.showCloseButton} .closed=${this.closed} .collapsed=${this.collapsed} .collapsible=${this.showCollapseButton} .heading=${this.hideHeading?void 0:this.viewModel.basemapTitle??this.messages.componentLabel} .headingLevel=${this.headingLevel} .selected=${!this.editingTitle&&!this.openedLayers.length&&!this._openedPanelItems.length} @calciteFlowItemClose=${()=>{this.closed=!0}} ${g(this._rootFlowItemRef)}>${this._renderEditTitleButton()}${this._renderReferenceSection()}${this._renderBaseSection()}</calcite-flow-item>`),this._renderEditingForm(),this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this._focusRootFlowItem=this._focusFlowItem(this._rootFlowItemRef.value,this._focusRootFlowItem),this._focusEditingFlowItem=this._focusFlowItem(this._editingFlowItemRef.value,this._focusEditingFlowItem),this.closed?null:m("root-flow",r`<calcite-flow>${e}</calcite-flow>`)}_renderPanelFlowItems(){return N(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return this._focusPanelFlowItem=this._focusFlowItem(this._panelFlowItemRef.value,this._focusPanelFlowItem),r`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${!this.openedLayers.length&&t===this._openedPanelItems.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),a()}} ${g(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderLayerFlowItem(e,t){let i=e.title||this.messages.untitledLayer;return this._focusLayerFlowItem===e.uid&&(this._focusLayerFlowItem=this._focusFlowItem(this._layerFlowItemRef.value,!0)?e.uid:null),m(e.uid,r`<calcite-flow-item data-layer-uid=${e.uid??_} .description=${i} .heading=${this.messages[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${s=>{s.preventDefault(),this.openedLayers.pop();let a=this.openedLayers.at(-1);a?this._focusLayerFlowItem=a.uid:this._focusRootFlowItem=!0}} ${g(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderList(e,t,i){let s=t==="reference"?this._referenceFilterEnabled:this._baseFilterEnabled,a=t==="reference"?this.referenceFilterText:this.baseFilterText,o=(t==="reference"?this.messages.noReferenceLayers:this.messages.noBaseLayers)??this.messages.noItemsToDisplay??"";return m(`block-${t}`,r`<calcite-block class=${p(u.section)} collapsible expanded .heading=${t==="reference"?this.messages.referenceHeading:this.messages.baseHeading} .headingLevel=${this.headingLevel+1}>${e?.length?null:this._renderNoLayersInfo(o,t)}${m(`list-${t}`,r`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${l=>this._canMove(l,"pull")} .canPut=${l=>this._canMove(l,"put")} data-basemap-layer-type=${t??_} data-layer-type=${this._rootGroupUid??_} .displayMode=${V} .dragEnabled=${this.dragEnabled} .filterEnabled=${s} .filterPlaceholder=${this.filterPlaceholder} .filterProps=${S} .filterText=${s?a:""} .group=${this._rootGroupUid} .label=${this.messages.componentLabel??""} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=border .selectionMode=${this.selectionMode} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${l=>this._handleCalciteListDragEnd(l.detail)} @calciteListFilter=${l=>{let n=l.currentTarget?.filterText??"";this[t==="reference"?"referenceFilterText":"baseFilterText"]=n,t==="base"?this.arcgisBaseFilterChange.emit():this.arcgisReferenceFilterChange.emit()}} @calciteListOrderChange=${l=>this._onCalciteListOrderChange(l.detail)} ${g(t==="reference"?this._referenceListRef:this._baseListRef)}>${e?.toArray().map(l=>this._renderItem(l,i))}${s&&!this.hideNoFilterResultsNotice?r`<div class=${p(u.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoLayersInfoMessage(o)}</calcite-notice></div>`:null}</calcite-list>`)}</calcite-block>`)}_renderBaseSection(){return this.hideBaseLayers?null:this._renderList(this._visibleBaseItems,"base",this._visibleBaseItems.length===1)}_renderReferenceSection(){return this.hideReferenceLayers?null:this._renderList(this._visibleReferenceItems,"reference",!1)}_renderItem(e,t,i,s){return m(e.uid,z({activeItem:this._activeItem,canMove:this._canMove,css:u,displayMode:V,dragEnabled:this.dragEnabled&&!t,hideCatalogLayerList:this.hideCatalogLayerList,hideStatusIndicators:this.hideStatusIndicators,item:e,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,operationalItems:this._allItems,parent:i,parentTitles:s,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,clearActiveItem:this._clearActiveItem,showErrors:this.showErrors,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};function X(E){let e=E.closest(`[${W}]`)?.getAttribute(W);return e==="base"||e==="reference"?e:null}A("arcgis-basemap-layer-list-next",F);return F},"layers/list/BasemapItemCollection","core/Collection","core/reactiveUtils",a,e,f,h,i,j,l,n,o)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import h from"./CEUIFOR6.js";import{a as b}from"./56KR4KYO.js";import g from"./MZWO5JYA.js";import f from"./AZYY5BTK.js";import{a as oe}from"./WVGSH2QD.js";import e from"./ANSNQBZW.js";import c from"./XXA7VSON.js";import{g as se}from"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import a from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{L as V,M as D,N as ee,O as te,P as N,Q as ie,T as ae,a as Y,b as d,c as R,w as E}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{property:r,subclass:F},Z,B,{getApplicationClipboard:Fe},Ce,j,{getFullTemplate:de,isSharedTemplate:pe,getCreationAttributes:_e,isSharedTemplateOrMetadata:ue},{createApplySetModifyItem:W,createApplySet:J,createFeatureStateProvider:Q,createApplySetAddItem:q,writeApplySetToService:xe},{whenOnce:ge,watch:X},{getRendererFields:he,getFeatureEditFields:Pe},$e,{substitute:y},{createGraphicsMover:Ae},,,,le,{e:re,g:U},{a:ne,b:ce}])=>{var Ee=Y`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-paste{height:var(--arcgis-paste-height, 300px);width:var(--arcgis-paste-width, 300px);flex:1}.hidden{display:none}.flex-row{flex-direction:row}.justify-center{justify-content:center}.h-full{height:100%}.w-full{width:100%}.flex{display:flex}.text-center{text-align:center}.pad-contents{padding:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.merge-feature-form{padding-left:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-right:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-bottom:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.pad-start-end{padding-left:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-right:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md))}.gallery-content{padding-top:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));padding-bottom:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));display:flex;row-gap:var(--arcgis-paste-blocks-padding, var(--calcite-spacing-md));flex-direction:column}.chip-indent{margin-left:5px;margin-right:5px}.merge-split-view-container{display:flex;flex-direction:column;height:100%}.merge-split-view-items{flex:0 1 auto;max-height:50%;overflow-y:scroll}.merge-split-view-attributes{flex:1;overflow-y:scroll}.choose-feature{position:absolute;width:100%;max-height:100%;z-index:2;overflow-y:auto}.bau-pick{display:flex;flex-direction:row;align-items:center;gap:4px}.danger-icon-warning{--calcite-icon-color: var(--calcite-color-status-danger)}.paste-feature-templates{--arcgis-feature-templates-max-list-height: 100%}`;async function Ie(e,t={}){if(e?.type==="subtype-group"){if(!e.subtypeField)return[];let i=t[e.subtypeField];if(!ye(i))return[];let a=e.findSublayerForSubtypeCode(i);return a?a.renderer&&a.fieldsIndex?await he(a.renderer,e.fieldsIndex):[]:[]}return e?e.renderer&&e.fieldsIndex?await he(e.renderer,e.fieldsIndex):[]:[]}function ke(e,t,i,a,s,o){let l={...a},h=Se(o),p=Te(o),m="";(o.type==="subtype-group"||o.type==="subtype-sublayer")&&(m=o.subtypeField??"");let v=o.objectIdField??"";return e.forEach(u=>{if(u.name!==v&&!h.includes(u.name)&&!p.includes(u.name)&&!s.includes(u.name)&&u.type!=="global-id"&&(m===""||m!==u.name)){let w=Oe(u,t);w.match&&w.targetField&&(l[w.targetField?.name]=i[u.name])}}),l}function Se(e){return e&&"relationships"in e?(e.relationships??[]).filter(t=>t.role==="origin").map(t=>t.keyField):[]}function Te(e){return e?.type==="subtype-sublayer"&&(e=e.parent),e?Pe(e):[]}function He(e,t){if(e.type===t.type)return t.type==="string"?e.length<=t.length:!0;switch(e.type){case"small-integer":return["integer","big-integer"].includes(t.type);case"integer":return t.type==="big-integer";case"single":return t.type==="double";default:return!1}}function Oe(e,t){let i={match:!1,sourceField:null,targetField:null};for(let a of t)if(He(e,a)){let s=e.name.replace(/\s/gu,"").toLowerCase();if(a.name.replace(/\s/gu,"").toLowerCase()===s)return i.match=!0,i.sourceField=e,i.targetField=a,i}return i}async function ve(e,t,i,a){let s=!0,o={hasAsyncArcadeExpressions:!1},l=e.items.filter(h=>h.type==="add");for(let h of l){let p=h.graphic.clone(),m=Ge(h.graphic,h.layer);if(!m){s=!1;continue}let v=!await Le(t,h.graphic,m,i,o);if(o.hasAsyncArcadeExpressions&&l.length>a)return!1;let u=W({graphic:h.graphic,layer:h.layer,originalGraphic:p});if(e.push(u),!v)return!1}return s}function Ge(e,t){return t.type==="feature"||t.type==="subtype-sublayer"?t:t.findSublayerForFeature(e)||null}async function Le(e,t,i,a,s){let o=i.formTemplate,l=i.fields.filter(w=>{let z=t.attributes[w.name],Me=z===null||z===""||z===void 0;return w.editable&&!w.nullable&&Me});if(!o)return l.length!==0;let h=new Set;be(o.elements??[],h);let p=new Set;if(we(o.elements??[],p),h.size===0&&p.size===0)return l.length>0;let m=t.clone();m.layer=i,delete m.attributes[i.objectIdField],a.has(i)||a.set(i,new $e({map:e.map,editType:"INSERT"}));let v=a.get(i);if(v.features=new j([m]),await ge(()=>(v.status==="loaded"||v.status==="failed")&&!v.updating),v.hasAsyncArcadeExpressions&&(s.hasAsyncArcadeExpressions=!0),v.status==="failed")return!0;let u=v.getValues(m)??{};if(i.objectIdField&&u[i.objectIdField]!==void 0){let{[i.objectIdField]:w,...z}=u;u=z}return Object.keys(u).forEach(w=>{i.fieldsIndex.has(w)&&(t.attributes[w]=Ve(u[w],w,i.fieldsIndex))}),v.invalidFeatures.length>0}function we(e,t){for(let i of e)i.type==="group"?we(i.elements,t):i.type==="field"&&i.valueExpression&&t.add(i.fieldName)}function be(e,t){for(let i of e)i.type==="group"?be(i.elements,t):i.type==="field"&&i.requiredExpression&&t.add(i.fieldName)}function ye(e){return typeof e=="number"}function ze(e){return typeof e=="number"&&window.isFinite(e)&&Math.floor(e)===e}function Ve(e,t,i){if(e==null)return null;switch(i.get(t).type){case"big-integer":case"long":case"oid":case"integer":case"small-integer":return ze(e)?e:window.parseInt(e);case"single":case"double":return ye(e)?e:window.parseFloat(e);case"global-id":case"guid":return e===""?null:e;case"date":break;case"date-only":case"time-only":case"timestamp-offset":return e===""?null:e;case"string":return e===""?null:e}return e}function De(e){return e&&"layer"in e?e.layer:void 0}function I(e){if(!e)return null;let t=De(e.origin)??e.layer??e?.sourceLayer??null;if(t&&t.type==="subtype-sublayer")return t.parent;switch(t?.type){case"csv":case"feature":case"geojson":case"ogc-feature":case"subtype-group":case"wfs":return t;default:return null}}var Be=Object.defineProperty,je=Object.getOwnPropertyDescriptor,A=(e,t,i,a)=>{for(var s=a>1?void 0:a?je(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&Be(t,i,s),s},fe={noChangeError:"Operation has not made any changes",noSelectedError:"Operation requires a selected feature",deletesGeometryError:"Operation would result in a null geometry",noGeometryError:"The selected feature has not geometry"},g=class extends Z{constructor(e){super(e)}get mustShowOnCommandPage(){return!0}get icon(){}get id(){return""}label(e,t){return""}description(e,t){return""}get commandEnabled(){return!1}commandDisabledReason(e,t){return""}get immediate(){return!1}async initiate(e,t){}async execute(){throw new Error("arcgis-paste: Paste command does not support execute")}async runPasteCommand(e,t,i){try{this.viewModel.applying=!0;let a=await this.prepareCopy(t);if(!a||a.items.length===0){this.viewModel.lastPasteError={errorCode:"noPasteItems",errorMessage:"No items to paste",localizedErrorMessage:"noPasteItemsError"},e.onPasteError(this.viewModel.lastPasteError);return}let s=a.items.length>this.viewModel.maximumFeatureCount||this.viewModel.alwaysShowFeatureForm||i?.showFeatureForm===!0||!await ve(a,this.viewModel.view,this.viewModel.formViewModelMap,this.viewModel.maximumFeatureCountWithComplexForms);if(this.viewModel.alwaysShowFeatureForm||s||i?.showFeatureForm===!0)this.viewModel.bauActiveFeatureIndex=0,this.viewModel.bauApplySet=a,this.viewModel.activeCommand=t,this.viewModel.bauOriginalGraphics=a.items.map(o=>o.type==="add"?{layer:o.layer,graphic:o.graphic}:null).filter(o=>o!==null),this.viewModel.bauFeatures=new j,this.viewModel.activeFlowPage="form-page",await new Promise(o=>{setTimeout(o,100)}),this.viewModel.bauFeatures=new j(this.viewModel.bauOriginalGraphics.map(o=>{if(re(o.layer)){let l=o.layer.findSublayerForFeature(o.graphic);if(l)return o.graphic.layer=l,o.graphic}return o.graphic.layer=o.layer,o.graphic})),this.viewModel.updateIndividualMultiFeatureFormHighlight();else try{let o=await e.onApply({command:"paste",applySet:a});if(o.success){this.viewModel.resetHome(),this.viewModel.closeOnApply&&e.closeAfterApply();return}this.viewModel.handleApplyError(o,e.onPasteError)}catch(o){this.viewModel.lastPasteError={errorCode:"unexpectedError",errorMessage:o.message,localizedErrorMessage:"unexpectedError"},e.onPasteError(this.viewModel.lastPasteError);return}finally{a?.featureState?.clearAll()}}finally{this.viewModel.applying=!1}}async prepareCopy(e){let t=e==="paste"||e==="paste-as"&&this.viewModel.pasteWithAttributes||e==="paste-merge"&&this.viewModel.pasteWithAttributes,i=t&&e==="paste-merge"?this.viewModel.clipboard.items.getItemAt(this.viewModel.selectedClipboardItemIndex):null,a=J();if(a.featureState=Q(this.viewModel.view),e==="paste-merge"){let s=this.viewModel.pasteTemplate?.template?await de(this.viewModel.view,this.viewModel.pasteTemplate.template):null;if(!s)return null;let o=pe(this.viewModel.pasteTemplate.template)?s.layer:this.viewModel.pasteTemplate.layer,l=await this.createMergedClipboardGeom(),h=await this.constructFeatureAttributesCopy(s,o,i),p=new B({geometry:l,attributes:h});this.removeGraphicIdentifierFields(p,o),a.push(q({graphic:p,layer:o}))}else if(e==="paste")for(let s of this.viewModel.clipboardFeatures){let o=s.graphic.clone();this.removeGraphicIdentifierFields(o,s.layer),a.push(q({graphic:o,layer:s.layer}))}else if(e==="paste-as"){let s=this.viewModel.pasteTemplate?.template?await de(this.viewModel.view,this.viewModel.pasteTemplate.template):null;if(!s)return null;let o=pe(s)?s.layer:this.viewModel.pasteTemplate.layer;for(let l of this.viewModel.clipboardFeatures){let h=await this.constructFeatureAttributesCopy(s,o,t?l:null),p=new B({geometry:l.graphic?.geometry?.clone()??null,attributes:h});this.removeGraphicIdentifierFields(p,o),a.push(q({graphic:p,layer:o}))}}return a}async constructFeatureAttributesCopy(e,t,i){let a=_e(e,{});if(i){let s=i.layer?.fields;if(s){let o=t.fields,l=i.graphic.attributes??{},h=await Ie(t,a);a=ke(s,o,l,a,h,t)}}return a}async createMergedClipboardGeom(){let e=this.viewModel.clipboardFeatures.map(t=>t.graphic?.geometry).filter(t=>t!=null).toArray();return e.length===0?null:e.length===1?e[0].clone():(await $arcgis.t(m=>m[0],"geometry/operators/unionOperator")).executeMany(e)??null}removeGraphicIdentifierFields(e,t){t.objectIdField&&delete e.attributes[t.objectIdField],t.globalIdField&&delete e.attributes[t.globalIdField]}};A([r()],g.prototype,"viewModel",2);A([r()],g.prototype,"mustShowOnCommandPage",1);A([r()],g.prototype,"icon",1);A([r()],g.prototype,"id",1);A([r()],g.prototype,"commandEnabled",1);A([r()],g.prototype,"commandDisabledReason",1);A([r()],g.prototype,"immediate",1);g=A([F("components.paste.commands.PasteCommand")],g);var We=Object.defineProperty,Re=Object.getOwnPropertyDescriptor,T=(e,t,i,a)=>{for(var s=a>1?void 0:a?Re(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&We(t,i,s),s},C=class extends g{get id(){return"paste-append"}get icon(){return"reshape-add-geometry"}get immediate(){return!0}get mustShowOnCommandPage(){return!0}get commandEnabled(){return this.viewModel.clipboardFeatures.length>0&&this.viewModel.selectedFeature!==void 0&&this.viewModel.layerPermissionsCheck.canUpdate(I(this.viewModel.selectedFeature))&&this.viewModel.selectedFeature?.geometry!==null&&(this.viewModel.selectedFeature?.geometry?.type==="multipoint"||this.viewModel.selectedFeature?.geometry?.type==="polyline"||this.viewModel.selectedFeature?.geometry?.type==="polygon")&&this.viewModel.clipboard.singleGeometryType===this.viewModel.selectedFeature?.geometry?.type}async initiate(e){let t=null;try{this.viewModel.applying=!0;let i=await this.prepareAppend();if(i.applySet&&(t=i.applySet),!i.success){this.viewModel.lastPasteError={errorCode:i.failReason,errorMessage:fe[i.failReason],localizedErrorMessage:i.failReason},e.onPasteError(this.viewModel.lastPasteError);return}let a=await e.onApply({command:"paste-append",applySet:i.applySet});if(a.success){this.viewModel.resetHome(),this.viewModel.closeOnApply&&e.closeAfterApply();return}this.viewModel.handleApplyError(a,e.onPasteError)}catch(i){this.viewModel.lastPasteError={errorCode:"unexpectedError",errorMessage:i.message,localizedErrorMessage:"unexpectedError"},e.onPasteError(this.viewModel.lastPasteError);return}finally{this.viewModel.applying=!1,t&&(t.featureState?.clearAll(),t.featureState=null)}}async execute(){let e=await this.prepareAppend();if(!e.success)throw new Error(`arcgis-paste: Paste append failed. ${e.failReason}`);return{success:!0,userInputRequired:!1,applySet:e.applySet}}async prepareAppend(){let e=J();if(e.featureState=Q(this.viewModel.view),!this.viewModel.selectedFeature)return{success:!1,failReason:"noSelectedError"};let[t,i]=await Promise.all([$arcgis.t(m=>m[0],"geometry/operators/unionOperator"),$arcgis.t(m=>m[0],"geometry/operators/equalsOperator")]),a=this.viewModel.selectedFeature.geometry,s=!1;for(let l of this.viewModel.clipboardFeatures){let h=l?.graphic?.geometry??null;if(!h)continue;if(a===null){a=l?.graphic?.geometry??null,a&&(a=a.clone(),s=!0);continue}let p=t.execute(a,h);i.execute(a,p)||(a=p,s=!0)}if(!s)return{success:!1,failReason:"noChangeError"};let o=this.viewModel.selectedFeature.clone();return o.geometry=a,e.push(W({graphic:o,layer:I(this.viewModel.selectedFeature),originalGraphic:this.viewModel.selectedFeature})),{success:!0,applySet:e}}description(e,t){return e.pasteAppendDesc}label(e,t){return e.pasteAppendTitle}};T([r()],C.prototype,"id",1);T([r()],C.prototype,"icon",1);T([r()],C.prototype,"immediate",1);T([r()],C.prototype,"mustShowOnCommandPage",1);T([r()],C.prototype,"commandEnabled",1);C=T([F("components.paste.commands.PasteAppendCommand")],C);var Ne=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,H=(e,t,i,a)=>{for(var s=a>1?void 0:a?Ue(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&Ne(t,i,s),s},_=class extends g{get id(){return"paste-subtract"}get icon(){return"reshape-subtract-geometry"}get immediate(){return!0}get mustShowOnCommandPage(){return!0}get commandEnabled(){return this.viewModel.clipboardFeatures.length>0&&this.viewModel.selectedFeature!==void 0&&this.viewModel.layerPermissionsCheck.canUpdate(I(this.viewModel.selectedFeature))&&this.viewModel.selectedFeature?.geometry!==null&&(this.viewModel.selectedFeature?.geometry?.type==="multipoint"||this.viewModel.selectedFeature?.geometry?.type==="polyline"||this.viewModel.selectedFeature?.geometry?.type==="polygon")&&(this.viewModel.clipboard.singleGeometryType===this.viewModel.selectedFeature?.geometry?.type||this.viewModel.clipboard.singleGeometryType==="polygon")}async prepareSubtract(){let e=J();if(e.featureState=Q(this.viewModel.view),!this.viewModel.selectedFeature)return{success:!1,failReason:"noSelectedError",applySet:e};let[t,i]=await Promise.all([$arcgis.t(m=>m[0],"geometry/operators/differenceOperator"),$arcgis.t(m=>m[0],"geometry/operators/equalsOperator")]),a=this.viewModel.selectedFeature.geometry;if(!a)return{success:!1,failReason:"noGeometryError",applySet:e};let s=!1;for(let l of this.viewModel.clipboardFeatures){let h=l?.graphic?.geometry;if(!h)continue;let p=t.execute(a,h);if(!p)return{success:!1,failReason:"deletesGeometryError",applySet:e};i.execute(a,p)||(a=p,s=!0)}if(!s)return{success:!1,failReason:"noChangeError",applySet:e};let o=this.viewModel.selectedFeature.clone();return o.geometry=a,e.push(W({graphic:o,layer:I(this.viewModel.selectedFeature),originalGraphic:this.viewModel.selectedFeature})),{success:!0,applySet:e}}async execute(){let e=await this.prepareSubtract();if(!e.success)throw new Error(`arcgis-paste: Paste subtract failed. ${e.failReason}`);return{success:!0,userInputRequired:!1,applySet:e.applySet}}async initiate(e){let t=null;try{this.viewModel.applying=!0;let i=await this.prepareSubtract();if(i.applySet&&(t=i.applySet),!i.success){this.viewModel.lastPasteError={errorCode:i.failReason,errorMessage:fe[i.failReason],localizedErrorMessage:i.failReason},e.onPasteError(this.viewModel.lastPasteError);return}let a=await e.onApply({command:"paste-subtract",applySet:i.applySet});if(a.success){this.viewModel.resetHome(),this.viewModel.closeOnApply&&e.closeAfterApply();return}this.viewModel.handleApplyError(a,e.onPasteError)}catch(i){this.viewModel.lastPasteError={errorCode:"unexpectedError",errorMessage:i.message,localizedErrorMessage:"unexpectedError"},e.onPasteError(this.viewModel.lastPasteError);return}finally{this.viewModel.applying=!1,t&&(t.featureState?.clearAll(),t.featureState=null)}}description(e,t){return e.pasteSubtractDesc}label(e,t){return e.pasteSubtractTitle}};H([r()],_.prototype,"id",1);H([r()],_.prototype,"icon",1);H([r()],_.prototype,"immediate",1);H([r()],_.prototype,"mustShowOnCommandPage",1);H([r()],_.prototype,"commandEnabled",1);_=H([F("components.paste.commands.PasteSubtractCommand")],_);var qe=Object.defineProperty,Xe=Object.getOwnPropertyDescriptor,O=(e,t,i,a)=>{for(var s=a>1?void 0:a?Xe(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&qe(t,i,s),s},x=class extends g{get id(){return"paste-as"}get icon(){return"templates"}get immediate(){return!1}get mustShowOnCommandPage(){return!1}get commandEnabled(){return(this.viewModel.clipboardFeatures.length===1||this.viewModel.clipboardFeatures.length>0&&this.viewModel.pasteWithMultipleFeaturesEnabled)&&this.viewModel.clipboard.singleGeometryType!==void 0}async initiate(e){this.viewModel.activeFlowPage="gallery-page",this.viewModel.activeCommand="paste-as"}description(e,t){return e.pasteAsDesc}label(e,t){return e.pasteAsTitle}};O([r()],x.prototype,"id",1);O([r()],x.prototype,"icon",1);O([r()],x.prototype,"immediate",1);O([r()],x.prototype,"mustShowOnCommandPage",1);O([r()],x.prototype,"commandEnabled",1);x=O([F("components.paste.commands.PasteAsCommand")],x);var Ke=Object.defineProperty,Ze=Object.getOwnPropertyDescriptor,G=(e,t,i,a)=>{for(var s=a>1?void 0:a?Ze(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&Ke(t,i,s),s},P=class extends g{get id(){return"paste"}get icon(){return"duplicate"}get immediate(){return!0}get mustShowOnCommandPage(){return!0}get commandEnabled(){let e=this.viewModel.clipboardFeatures.length===1,t=this.viewModel.clipboardFeatures.length>0&&this.viewModel.clipboardItemLayers.length===1&&this.viewModel.pasteWithMultipleFeaturesEnabled,i=this.viewModel.clipboardFeatures.length>0&&this.viewModel.pasteWithMultipleFeaturesEnabled&&this.viewModel.pasteWithMultipleLayersEnabled;return this.viewModel.clipboardFeatures.length>0&&this.viewModel.canCreateOnAllLayers&&(e||t||i)}async initiate(e,t){await this.runPasteCommand(e,"paste",t)}async execute(){let e=await this.prepareCopy("paste");if(!e||e.items.length===0)throw new Error("arcgis-paste: No items to paste");return e.items.length>this.viewModel.maximumFeatureCount||!await ve(e,this.viewModel.view,this.viewModel.formViewModelMap,this.viewModel.maximumFeatureCountWithComplexForms)?{success:!1,userInputRequired:!0}:{success:!0,userInputRequired:!1,applySet:e}}description(e,t){return e.pasteDesc}label(e,t){return e.pasteTitle}};G([r()],P.prototype,"id",1);G([r()],P.prototype,"icon",1);G([r()],P.prototype,"immediate",1);G([r()],P.prototype,"mustShowOnCommandPage",1);G([r()],P.prototype,"commandEnabled",1);P=G([F("components.paste.commands.PasteSetCommand")],P);var Je=Object.defineProperty,Qe=Object.getOwnPropertyDescriptor,L=(e,t,i,a)=>{for(var s=a>1?void 0:a?Qe(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&Je(t,i,s),s},$=class extends g{get id(){return"paste-merge"}get icon(){return"merge"}get immediate(){return!1}get mustShowOnCommandPage(){return!0}get commandEnabled(){return this.viewModel.clipboardFeatures.length>1&&this.viewModel.clipboard.singleGeometryType!==void 0}async initiate(e){this.viewModel.activeFlowPage="gallery-page",this.viewModel.activeCommand="paste-merge";for(let t=0;t<this.viewModel.clipboard.items.length;t++)if(this.viewModel.clipboard.items.getItemAt(t).type==="feature"){this.viewModel.selectedClipboardItemIndex=t;break}}description(e,t){return e.pasteMergeDesc}label(e,t){return e.pasteMergeTitle}};L([r()],$.prototype,"id",1);L([r()],$.prototype,"icon",1);L([r()],$.prototype,"immediate",1);L([r()],$.prototype,"mustShowOnCommandPage",1);L([r()],$.prototype,"commandEnabled",1);$=L([F("components.paste.commands.PasteMergeCommand")],$);var Ye=Object.defineProperty,et=Object.getOwnPropertyDescriptor,k=(e,t,i,a)=>{for(var s=a>1?void 0:a?et(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&Ye(t,i,s),s},f=class extends g{constructor(e){super(e)}get id(){return this.customCommand.id}get icon(){return this.customCommand.icon}get immediate(){return!0}get mustShowOnCommandPage(){return!0}get commandEnabled(){return this.customCommand.commandEnabled(this.viewModel.clipboard,this.viewModel.selectedFeature)}async initiate(e){try{this.viewModel.applying=!0;let t=await e.onApply({command:this.id});if(t.success){this.viewModel.resetHome(),this.viewModel.closeOnApply&&e.closeAfterApply();return}this.viewModel.handleApplyError(t,e.onPasteError)}catch(t){this.viewModel.lastPasteError={errorCode:"unexpectedError",errorMessage:t.message,localizedErrorMessage:"unexpectedError"},e.onPasteError(this.viewModel.lastPasteError);return}finally{this.viewModel.applying=!1}}description(e,t){return this.customCommand.description(e,t)}label(e,t){return this.customCommand.label(e,t)}};k([r()],f.prototype,"customCommand",2);k([r()],f.prototype,"id",1);k([r()],f.prototype,"icon",1);k([r()],f.prototype,"immediate",1);k([r()],f.prototype,"mustShowOnCommandPage",1);k([r()],f.prototype,"commandEnabled",1);f=k([F("components.paste.commands.PasteCustomCommand")],f);var tt=Object.defineProperty,it=Object.getOwnPropertyDescriptor,c=(e,t,i,a)=>{for(var s=a>1?void 0:a?it(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&tt(t,i,s),s};function me(e){return!ue(e)||e.type==="feature"}var n=class extends Z{constructor(e){super(e),this.customPasteCommands=new j,this.bauInvalidFeatures=[],this.bauFormValid=!0,this.bauFormUpdating=!1,this.bauActiveFeatureIndex=-1,this.bauHasTooManyFeatures=!1,this.bauHasTooManyComplexFeatures=!1,this.bauOriginalGraphics=[],this.formViewModelMap=new Map,this.supportedCommands=["paste-append","paste-as","paste-subtract","paste","paste-merge"],this.pasteWithMultipleLayersEnabled=!1,this.pasteWithMultipleFeaturesEnabled=!1,this.alwaysShowFeatureForm=!1,this.selectedClipboardItemIndex=-1,this.pasteWithAttributes=!0,this.closeOnApply=!1,this.currentPasteOperation="",this.disableTemplatesMode="never",this._activeFlowPage="commands-page",this.showClipboardItems=!1,this.hideTooltips=!1,this.hideFooter=!1,this.hideFooterCancelButton=!1,this.hideHeaderCloseButton=!1,this.hideViewClipboard=!1,this.hideErrorNotice=!1,this.highlightGroup="temporary",this._hoverHighlightHandle=null,this.maximumFeatureCount=200,this.maximumFeatureCountWithComplexForms=50,this.layerPermissionsCheck={canCreate:t=>t?!!t.effectiveCapabilities?.operations.supportsAdd:!1,canUpdate:t=>{if(!t)return!1;let i=t.effectiveCapabilities,a=!!i?.operations.supportsUpdate,s=!!i?.editing.supportsGeometryUpdate&&a;return!t.isTable&&!s?!1:a}},this.applying=!1}get bauActiveGraphic(){return this.bauActiveFeatureIndex===-1?void 0:this.bauFeatures?.getItemAt(this.bauActiveFeatureIndex)}get hasTooManyPasteCreateFeatures(){return this.clipboardFeatures.length>this.maximumFeatureCount&&["paste","paste-as"].includes(this.activeCommand??"")}get bauActiveLayer(){if(this.bauActiveFeatureIndex!==-1&&this.bauFeatures)return I(this.bauFeatures.getItemAt(this.bauActiveFeatureIndex))??void 0}get pasteTemplateIsValid(){return this.pasteTemplate?this.pasteTemplate.layer?!!this.workingLayers.includes(this.pasteTemplate.layer.type==="subtype-sublayer"?this.pasteTemplate.layer.parent:this.pasteTemplate.layer):!1:!0}get clipboardAndTemplateSupportAttributes(){if(this.clipboardFeatures.length===0||!this.pasteTemplate?.layer)return!1;let e=this.pasteTemplate.template;if(!me(e))return!1;for(let t of this.clipboardFeatures){let i=t.layer;if(!i)return!1;let a=i.type==="subtype-sublayer"?i.parent:i;if(a.type==="subtype-group"){let s=a.fieldsIndex.get(a.subtypeField).name,o=e.prototype?.[s];if(o==null||o!==t.graphic.attributes[s])return!1}}return!0}get hasClipboardItemMatchingTemplate(){let e=this.pasteTemplate?.layer;if(!e||this.clipboardFeatures.length===0)return!1;let t=this.pasteTemplate.template;if(!me(t))return!1;for(let i of this.clipboardFeatures){let a=i.layer;if(!a)return!1;let s=a.type==="subtype-sublayer"?a.parent:a;if(e===a){if(s.type==="subtype-group"){let o=s.fieldsIndex.get(s.subtypeField).name,l=t.prototype?.[o];if(l==null||l!==i.graphic.attributes[o])continue}return!0}}return!1}get activeFlowPage(){return this._activeFlowPage}set activeFlowPage(e){e==="clipboard"&&this.beforeClipboard===void 0?this.beforeClipboard=this.activeFlowPage:e!=="clipboard"&&(this.beforeClipboard=void 0),e==="form-page"&&this.beforeForm===void 0?this.beforeForm=this.activeFlowPage:e!=="form-page"&&(this.beforeForm=void 0),this._activeFlowPage=e,this.checkAndSuspendMove()}get updating(){return this.applying}formFeatureValuesChanged(e,t){if(!t)return;let i=e.graphic.clone();for(let s of Object.keys(t))i.attributes[s]=t[s];let a=W({graphic:i,originalGraphic:e.graphic.clone(),layer:e.layer});this.bauApplySet?.push(a)}highlightSelectedGraphicOnMap(e){if(this.clearHighlightSelectedGraphic(),!e.graphic?.geometry||!this.view)return;let t=new B({geometry:e.graphic.geometry,symbol:ce(e.graphic.geometry.type)});this.view.graphics.add(t),this._hoverHighlightHandle={remove:()=>{this.view.graphics.remove(t)}}}clearHighlightSelectedGraphic(){this._hoverHighlightHandle?.remove(),this._hoverHighlightHandle=null}updateIndividualMultiFeatureFormHighlight(){if(this.activeFlowPage!=="form-page"){this.clearIndividualFeatureFormHighlight();return}if(this.view)if(this.bauActiveGraphic&&this.bauActiveLayer){if(this.bauIndividualHighlight?.graphic!==this.bauActiveGraphic&&this.clearIndividualFeatureFormHighlight(),!this.bauIndividualHighlight){let e=U(this.view,this.bauActiveLayer);if(!e)return;this.bauIndividualHighlight={graphic:this.bauActiveGraphic,handle:e.highlight(this.bauActiveGraphic,{name:this.highlightGroup})}}}else this.clearIndividualFeatureFormHighlight()}clearIndividualFeatureFormHighlight(){this.bauIndividualHighlight?.handle?.remove(),this.bauIndividualHighlight=void 0}highlightMultiFeatureFormFeature(e,t){this.bauHighlight&&this.clearMultiFeatureFormHighlights();let i=this.view?U(this.view,e.layer):void 0;i&&(this.bauHighlight=i.highlight(e,{name:this.highlightGroup}))}clearMultiFeatureFormHighlights(){this.bauHighlight?.remove(),this.bauHighlight=void 0}updateClipboardGraphicsLayer(){if(!this.showClipboardItems){if(this.clipboardMover?.cancel(),this.clipboardMover=void 0,this.clipboardGraphicsLayer&&this.view)try{this.view.map?.remove(this.clipboardGraphicsLayer),this.clipboardGraphicsLayer=void 0}catch{}return}if(this.showClipboardItems&&this.view){this.clipboardGraphicsLayer||(this.clipboardGraphicsLayer=new Ce({listMode:"hide"}),this.view.map?.layers.add(this.clipboardGraphicsLayer));let e=this.clipboard.items;this.clipboardGraphicsLayer.removeAll();let t=-1;for(let i of e){if(t++,i.type!=="feature"||!i.graphic.geometry)continue;let a=new B({geometry:i.graphic.geometry.clone(),attributes:{clipboardIdx:t},symbol:ne(i.graphic.geometry.type)});this.clipboardGraphicsLayer.add(a)}}else if(!this.showClipboardItems&&this.view&&this.clipboardGraphicsLayer)try{this.view.map?.remove(this.clipboardGraphicsLayer),this.clipboardGraphicsLayer=void 0}catch{}this.checkAndSuspendMove()}checkAndSuspendMove(){let e=this.activeFlowPage==="form-page";this.clipboardGraphicsLayer&&(this.clipboardGraphicsLayer.visible=!e),this.clipboardMover&&(this.clipboardMover.suspended=e)}get clipboard(){return Fe()}get clipboardFeatures(){return this.clipboard.items.filter(e=>e.type==="feature")}get hasPasteCommandsPage(){return this.availableCommands.length>1||!!this.availableCommands.at(0)?.mustShowOnCommandPage}_clearActiveCommand(){this.activeCommand=void 0,this.lastPasteError=void 0}resetHome(){let e=this.activeFlowPage;this.hasPasteCommandsPage?(e="commands-page",this._clearActiveCommand(),this.selectedClipboardItemIndex=-1):this.clipboard.items.length===0?(e="clipboard-empty-page",this._clearActiveCommand(),this.selectedClipboardItemIndex=-1):this.availableCommands.length===0?(e="no-command-page",this._clearActiveCommand()):this.availableCommands[0].commandEnabled?(e="gallery-page",this.activeCommand=this.availableCommands[0].id,this.lastPasteError=void 0):(e="no-command-page",this._clearActiveCommand(),this.selectedClipboardItemIndex=-1),this.activeFlowPage==="clipboard"&&this.hideViewClipboard?(this.activeFlowPage=e,this.beforeClipboard=void 0):this.activeFlowPage==="clipboard"&&!this.hideViewClipboard?this.beforeClipboard=e:(this.activeFlowPage=e,this.beforeClipboard=void 0),this.resetFormPage()}get workingLayers(){return(this.view?.map?.allLayers?.toArray()??[]).filter(e=>e.type==="feature"||e.type==="subtype-group").filter(e=>{let t=this.clipboard.singleGeometryType;return this.activeCommand==="paste-merge"&&this.clipboard.singleGeometryType==="point"&&(t="multipoint"),!(e.geometryType!==t||!this.layerPermissionsCheck.canCreate(e))}).slice(0).reverse()}get clipboardItemLayers(){let e=new Set;for(let t of this.clipboard.items)t.layer&&e.add(t.layer.type==="subtype-sublayer"?t.layer.parent:t.layer);return[...e]}get canCreateOnAllLayers(){if(this.clipboardItemLayers.length===0)return!1;for(let e of this.clipboardItemLayers)if(!e||!this.layerPermissionsCheck.canCreate(e))return!1;return!0}get availableCommands(){let e=new Set(this.supportedCommands);return this.allCommands.filter(t=>e.has(t.id))}get allCommands(){let e=[];e.push(...[P,x,$,C,_].map(t=>new t({viewModel:this})));for(let t of this.customPasteCommands)e.push(new f({viewModel:this,customCommand:t}));return e}get pasteCommandsState(){return this.allCommands.map(e=>({id:e.id,disabled:!e.commandEnabled,available:this.supportedCommands.includes(e.id)}))}nextActiveFeature(){this.bauActiveFeatureIndex++,this.updateIndividualMultiFeatureFormHighlight()}previousActiveFeature(){this.bauActiveFeatureIndex--,this.updateIndividualMultiFeatureFormHighlight()}resetFormPage(){this.bauApplySet?.featureState?.clearAll(),this.bauApplySet=void 0,this.clearIndividualFeatureFormHighlight(),this.clearMultiFeatureFormHighlights(),this.bauFeatures=void 0,this.bauOriginalGraphics=[]}getPasteCommandById(e){return this.allCommands.find(t=>t.id===e)}async runPasteFormCommand(e){try{this.applying=!0;let t=this.bauApplySet,i=await e.onApply({command:this.activeCommand,applySet:t});if(i.success){this.resetHome(),this.closeOnApply&&e.closeAfterApply();return}this.handleApplyError(i,e.onPasteError)}catch(t){this.lastPasteError={errorCode:"unexpectedError",errorMessage:t.message,localizedErrorMessage:"unexpectedError"},e.onPasteError(this.lastPasteError);return}finally{this.applying=!1}}handleApplyError(e,t){e.success||e.errorCode!=="cancelled"&&(this.lastPasteError={errorCode:e.errorCode??"unexpectedError",errorMessage:e.errorMessage??"",localizedErrorMessage:e.errorMessage?void 0:"unexpectedError"},t(this.lastPasteError))}async writeChanges(e){return await xe(e,this.view)}};c([r()],n.prototype,"customPasteCommands",2);c([r()],n.prototype,"bauInvalidFeatures",2);c([r()],n.prototype,"bauFormValid",2);c([r()],n.prototype,"bauFormUpdating",2);c([r()],n.prototype,"bauActiveFeatureIndex",2);c([r()],n.prototype,"bauHasTooManyFeatures",2);c([r()],n.prototype,"bauHasTooManyComplexFeatures",2);c([r()],n.prototype,"bauActiveGraphic",1);c([r()],n.prototype,"hasTooManyPasteCreateFeatures",1);c([r()],n.prototype,"bauActiveLayer",1);c([r()],n.prototype,"bauFeatures",2);c([r()],n.prototype,"bauApplySet",2);c([r()],n.prototype,"bauOriginalGraphics",2);c([r()],n.prototype,"formViewModelMap",2);c([r()],n.prototype,"bauHighlight",2);c([r()],n.prototype,"bauIndividualHighlight",2);c([r()],n.prototype,"view",2);c([r()],n.prototype,"supportedCommands",2);c([r()],n.prototype,"selectedFeature",2);c([r()],n.prototype,"pasteWithMultipleLayersEnabled",2);c([r()],n.prototype,"pasteWithMultipleFeaturesEnabled",2);c([r()],n.prototype,"alwaysShowFeatureForm",2);c([r()],n.prototype,"pasteTemplate",2);c([r()],n.prototype,"pasteTemplateIsValid",1);c([r()],n.prototype,"selectedClipboardItemIndex",2);c([r()],n.prototype,"clipboardAndTemplateSupportAttributes",1);c([r()],n.prototype,"hasClipboardItemMatchingTemplate",1);c([r()],n.prototype,"pasteWithAttributes",2);c([r()],n.prototype,"closeOnApply",2);c([r()],n.prototype,"currentPasteOperation",2);c([r()],n.prototype,"disableTemplatesMode",2);c([r()],n.prototype,"activeFlowPage",1);c([r()],n.prototype,"_activeFlowPage",2);c([r()],n.prototype,"beforeClipboard",2);c([r()],n.prototype,"beforeForm",2);c([r()],n.prototype,"showClipboardItems",2);c([r()],n.prototype,"updating",1);c([r()],n.prototype,"hideTooltips",2);c([r()],n.prototype,"hideFooter",2);c([r()],n.prototype,"hideFooterCancelButton",2);c([r()],n.prototype,"hideHeaderCloseButton",2);c([r()],n.prototype,"hideViewClipboard",2);c([r()],n.prototype,"hideErrorNotice",2);c([r()],n.prototype,"clipboardGraphicsLayer",2);c([r()],n.prototype,"clipboardMover",2);c([r()],n.prototype,"highlightGroup",2);c([r()],n.prototype,"clipboard",1);c([r()],n.prototype,"clipboardFeatures",1);c([r()],n.prototype,"hasPasteCommandsPage",1);c([r()],n.prototype,"activeCommand",2);c([r()],n.prototype,"maximumFeatureCount",2);c([r()],n.prototype,"maximumFeatureCountWithComplexForms",2);c([r()],n.prototype,"workingLayers",1);c([r()],n.prototype,"layerPermissionsCheck",2);c([r()],n.prototype,"clipboardItemLayers",1);c([r()],n.prototype,"canCreateOnAllLayers",1);c([r()],n.prototype,"applying",2);c([r()],n.prototype,"lastPasteError",2);c([r()],n.prototype,"availableCommands",1);c([r()],n.prototype,"allCommands",1);c([r()],n.prototype,"pasteCommandsState",1);n=c([F("components.paste.PasteViewModel")],n);var at=Object.defineProperty,st=Object.getOwnPropertyDescriptor,S=(e,t,i,a)=>{for(var s=a>1?void 0:a?st(t,i):t,o=e.length-1,l;o>=0;o--)(l=e[o])&&(s=(a?l(t,i,s):l(s))||s);return a&&s&&at(t,i,s),s},M=class extends Z{constructor(){super(...arguments),this.continuous=!1,this._mover=null,this.stateChanged=null,this._suspended=!1}clipboardContentsChanged(){this._destroyMover(),this.stateChanged?.("clipboard-contents-changed"),this.continuous&&this.start()}start(){this._destroyMover(),this._mover=Ae({view:this.view,graphics:this.graphicsLayer.graphics.toArray(),indicatorsEnabled:!0,highlightsEnabled:!0,enableMoveAllGraphics:!0,callbacks:{onGraphicPointerOver:()=>{"cursor"in this.view&&(this.view.cursor="move")},onGraphicPointerOut:()=>{"cursor"in this.view&&(this.view.cursor="default")},onGraphicMoveStop:async()=>{"cursor"in this.view&&(this.view.cursor="default");for(let e of this.graphicsLayer.graphics)this.clipboard.items.getItemAt(e.attributes.clipboardIdx).graphic.geometry=e.geometry;this._destroyMover(),this.stateChanged?.("contents-moved"),this.continuous&&setTimeout(()=>{this.start()},100)}}})}cancel(){this.continuous=!1,this._destroyMover(),this.stateChanged?.("completed")}get suspended(){return this._suspended}set suspended(e){e!==this._suspended&&(e?(this._destroyMover(),this.stateChanged?.("suspended")):(this.start(),this.stateChanged?.("suspended")),this._suspended=e)}_destroyMover(){this._mover?.destroy(),this._mover=null}};S([r()],M.prototype,"view",2);S([r()],M.prototype,"continuous",2);S([r()],M.prototype,"clipboard",2);S([r()],M.prototype,"graphicsLayer",2);S([r()],M.prototype,"suspended",1);S([r()],M.prototype,"_suspended",2);M=S([F("components.paste.ClipboardMove")],M);var rt=le(n),K=class extends ee{constructor(){super(),this._featureFormElement=V(),this._floatingChoiceContainer=V(),this._bauForm=V(),this._templateGallery=V(),this._messages=oe(),this.viewModel=rt(this),this.hasPasteCommandsPage=this.viewModel.hasPasteCommandsPage,this.activeCommand=this.viewModel.activeCommand,this.availableCommands=this.viewModel.availableCommands,this._showFloatingChoice=!1,this.activeFlowPage=this.viewModel.activeFlowPage,this.autoDestroyDisabled=!1,this.view=this.viewModel.view,this.selectedFeature=this.viewModel.selectedFeature,this.closed=!1,this.highlightGroup=this.viewModel.highlightGroup,this.pasteWithMultipleLayersEnabled=this.viewModel.pasteWithMultipleLayersEnabled,this.pasteWithMultipleFeaturesEnabled=this.viewModel.pasteWithMultipleFeaturesEnabled,this.alwaysShowFeatureForm=this.viewModel.alwaysShowFeatureForm,this.closeOnApply=this.viewModel.closeOnApply,this.hideErrorNotice=this.viewModel.hideErrorNotice,this.hideFooterCancelButton=this.viewModel.hideFooterCancelButton,this.hideFooter=this.viewModel.hideFooter,this.hideHeaderCloseButton=this.viewModel.hideHeaderCloseButton,this.hideTooltips=this.viewModel.hideTooltips,this.hideViewClipboard=this.viewModel.hideViewClipboard,this.maximumFeatureCount=this.viewModel.maximumFeatureCount,this.maximumFeatureCountWithComplexForms=this.viewModel.maximumFeatureCountWithComplexForms,this.layerPermissionsCheck=this.viewModel.layerPermissionsCheck,this.pasteCommandsState=this.viewModel.pasteCommandsState,this.disableTemplatesMode=this.viewModel.disableTemplatesMode,this.arcgisApplyPasteCommand=E(),this.arcgisApplyPasteError=E(),this.arcgisBeforeClipboardMove=E(),this.arcgisClipboardMoveStateChanged=E(),this.arcgisClose=E(),this.arcgisPropertyChange=se()("pasteCommandsState","activeFlowPage"),this.arcgisReady=E(),this.listenOn(window,"click",this._handleClickAway),this.listenOn(window,"keydown",this._handleKeyDown)}static{this.properties={hasPasteCommandsPage:16,activeCommand:16,availableCommands:16,_showFloatingChoice:16,activeFlowPage:32,autoDestroyDisabled:5,referenceElement:1,view:0,selectedFeature:0,closed:7,highlightGroup:1,supportedCommands:1,pasteWithMultipleLayersEnabled:5,pasteWithMultipleFeaturesEnabled:5,alwaysShowFeatureForm:5,beforeApply:0,clipboard:32,closeOnApply:5,hideErrorNotice:5,hideFooterCancelButton:5,hideFooter:5,hideHeaderCloseButton:5,hideTooltips:5,hideViewClipboard:5,maximumFeatureCount:9,maximumFeatureCountWithComplexForms:9,layerPermissionsCheck:0,pasteCommandsState:0,disableTemplatesMode:1}}static{this.styles=Ee}get supportedCommands(){return this.viewModel.supportedCommands}set supportedCommands(t){if(!Array.isArray(t)){this.viewModel.supportedCommands=t.split(",");return}this.viewModel.supportedCommands=t.slice(0)}get clipboard(){return this.viewModel.clipboard}async cancelMoveClipboard(){this.viewModel.clipboardMover?.cancel(),this.viewModel.clipboardMover=void 0}async destroy(){await this.manager.destroy()}async executePasteCommand(t,i){let a=this.viewModel.getPasteCommandById(t);if(!a)throw new Error("arcgis-paste: Paste command not found");if(!a.commandEnabled)throw new Error("arcgis-paste: Paste command is not enabled");if(!i?.silent){if(!this.availableCommands.includes(a))throw new Error("arcgis-paste: Paste command is not available");return this.viewModel.resetHome(),await this._runPasteCommand(a,i),{userInputRequired:!1,success:!0}}return await a.execute()}async registerPasteCommand(t){this.viewModel.customPasteCommands.add(t)}async reset(){this.viewModel.activeFlowPage==="clipboard"&&(this.viewModel.activeFlowPage=this.viewModel.beforeClipboard),this.viewModel.resetHome()}async showClipboardItems(t){this.viewModel.showClipboardItems=t,this.viewModel.updateClipboardGraphicsLayer()}async startMoveClipboard(t){if(!this.viewModel.showClipboardItems)throw new Error("arcgis-paste: Cannot move clipboard. Clipboard items must be visible first.");this.arcgisBeforeClipboardMove.emit().defaultPrevented||(this.viewModel.clipboardMover&&(this.viewModel.clipboardMover.stateChanged=null,this.viewModel.clipboardMover.cancel(),this.viewModel.clipboardMover=void 0),this.viewModel.clipboardMover=new M({view:this.view,continuous:t,clipboard:this.clipboard,graphicsLayer:this.viewModel.clipboardGraphicsLayer,stateChanged:i=>{i==="contents-moved"&&this.viewModel.updateClipboardGraphicsLayer(),this.arcgisClipboardMoveStateChanged.emit({change:i})}}),this.viewModel.clipboardMover.start())}async writeChanges(t){return await this.viewModel.writeChanges(t)}updated(){this._featureFormElement.value&&(this._featureFormElement.value.hideReadOnlyNotice=!0,this._featureFormElement.value.disabled=!0),this._checkAndUpdateInitialPasteTemplate()}loaded(){this.manager.onLifecycle(()=>[this.viewModel.clipboard.items.on("change",()=>{this.viewModel.updateClipboardGraphicsLayer(),this.activeFlowPage==="form-page"&&this.viewModel.resetHome()}),X(()=>this.clipboard.version,()=>{this.viewModel.resetHome(),this.viewModel.updateClipboardGraphicsLayer(),this.viewModel.clipboardMover?.clipboardContentsChanged()}),X(()=>this.closed,()=>{this.closed&&this.viewModel.formViewModelMap.clear(),this.viewModel.updateClipboardGraphicsLayer()}),X(()=>[this.viewModel?.supportedCommands.join(","),this.pasteWithMultipleFeaturesEnabled,this.viewModel?.hideViewClipboard,this.pasteWithMultipleLayersEnabled].join(","),()=>{this.viewModel.resetHome()},{initial:!0})])}_handleCloseAfterApply(){this.closed=!0,this.arcgisClose.emit()}_updateBauViewModelFields(t){this.viewModel.bauActiveFeatureIndex=t.activeFeatureIndex,this.viewModel.bauInvalidFeatures=t.invalidFeatures,this.viewModel.bauFormValid=t.valid,this.viewModel.bauFormUpdating=t.updating,this.viewModel.bauHasTooManyComplexFeatures=t.hasTooManyComplexFeatures,this.viewModel.bauHasTooManyFeatures=t.hasTooManyFeatures}_copyAcrossValidMultiFormFieldValues(){try{if(this._bauForm.value?.status!=="loaded")return;let t=this._bauForm.value,i=0;for(let a of this.viewModel.bauFeatures?.toArray()??[]){let s=this.viewModel.bauOriginalGraphics[i];this.viewModel.formFeatureValuesChanged(s,t.getValues(a)),i++}}catch{}}_handleClickAway(t){!this._showFloatingChoice||!this._floatingChoiceContainer.value||t.composedPath().find(i=>i===this._floatingChoiceContainer.value)||(this._showFloatingChoice=!1)}_handleKeyDown(t){!this._showFloatingChoice||!this._floatingChoiceContainer.value||t.composedPath().find(i=>i===this._floatingChoiceContainer.value)||(this._showFloatingChoice=!1)}async _runPasteCommand(t,i){try{this.viewModel.lastPasteError=void 0,await t.initiate({closeAfterApply:()=>{this._handleCloseAfterApply()},onPasteError:a=>{this.arcgisApplyPasteError.emit({command:t.id,errorMessage:a.errorMessage,errorCode:a.errorCode})},onApply:async a=>{try{await this.beforeApply?.();let s={...a};return this.arcgisApplyPasteCommand.emit(s).defaultPrevented?{success:!1,errorCode:"cancelled"}:s.completionCallback?await s.completionCallback??{success:!0}:{success:!0}}catch{return{success:!1}}}},i)}catch{}}_checkAndUpdateInitialPasteTemplate(){requestAnimationFrame(()=>{if(!this._templateGallery.value||this.viewModel.activeFlowPage!=="gallery-page")return;let t=this._templateGallery.value;if(this.viewModel.pasteTemplateIsValid||(this.viewModel.pasteTemplate=void 0),this.viewModel.pasteTemplate!==void 0){t.selectedTemplateId!==this.viewModel.pasteTemplate.id&&(t.selectedTemplateId=this.viewModel.pasteTemplate.id);return}if(t.effectiveTemplates?.length===0)return;let i=t.effectiveTemplates?.[0].templates[0];i&&(this.viewModel.pasteTemplate=i,t.selectedTemplateId=i.id)})}_renderFlowCommandStart(t){return t?d`<slot name=home-header-actions-start slot=header-actions-start></slot>`:null}_renderCloseCommand(t){return d`${this.hideHeaderCloseButton?null:d`<calcite-action slot=header-actions-end icon=x .text=${this._messages.close??""} @click=${()=>{this.reset(),this.closed=!0,this.arcgisClose.emit()}}></calcite-action>`}${t?d`<slot name=header-actions-end slot=header-actions-end></slot>`:null}`}_renderClipboardCommand(t){return d`<calcite-action slot=header-actions-end icon=clipboard .hidden=${this.viewModel.hideViewClipboard} .text=${this._messages.clipboardTooltip??""} .id=${`arcgis-clipboard-show-${t}`} .disabled=${this.viewModel.updating} @click=${()=>{this.viewModel.activeFlowPage="clipboard"}}>${this.hideTooltips?null:d`<calcite-tooltip .referenceElement=${`arcgis-clipboard-show-${t}`} placement=bottom><span>${this._messages.clipboardTooltip}</span></calcite-tooltip>`}</calcite-action>`}_renderNoClipboardData(t){return b("no-data",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${i=>{i.preventDefault()}}>${this._renderClipboardCommand("no-data")}${this._renderCloseCommand(t)}<calcite-panel><div class="pad-contents"><div class="flex flex-row justify-center"><svg xmlns=http://www.w3.org/2000/svg height=92 width=92 style=${N({strokeWidth:"0.1px",fill:"var(--calcite-color-text-2)"})} viewBox="0 0 64 64">${R`<path d="M21 18h-1v-3h1zm24-3h-1v3h1zm0 5h-1v3h1zm-24 0h-1v3h1zm9.84 13.71l.3.954 3.02-.954-.3-.953zm-6.04 1.908l.3.953 3.02-.953-.3-.953zm-3.8 1.2V35h-1v3.182l2.08-.657-.3-.953zM21 30h-1v3h1zm0-5h-1v3h1zm27.816 5.896l-4.746.015 2.294 4.575-3.071 1.535-2.358-4.668-2.835 3.886V23.036zm-6.04-.78l3.607-.012-7.483-5.49v9.17l2.16-2.96 2.587 5.126 1.643-.821zM60.9 10.874v41.25a1.777 1.777 0 0 1-1.775 1.775H4.875A1.777 1.777 0 0 1 3.1 52.125v-41.25A1.777 1.777 0 0 1 4.875 9.1h54.25a1.777 1.777 0 0 1 1.775 1.775zm-.8 24.54l-24.2 7.641V53.1h23.225a.976.976 0 0 0 .975-.975zm0-24.54a.976.976 0 0 0-.975-.975H45V13h-1V9.9H21V13h-1V9.9H4.875a.976.976 0 0 0-.975.975V32.1H18v.8H3.9v19.225a.976.976 0 0 0 .975.975H35.1V35.51l.8-.252v6.96l24.2-7.643z" />`}</svg></div><p class="text-center">${this._messages.noClipboardData}</p></div></calcite-panel></calcite-flow-item>`)}_renderNoCommandPage(t){let i=this._messages.noPasteCommandsAvailable,a=this.availableCommands.at(0);return a?.commandDisabledReason&&(i=a.commandDisabledReason(this._messages,this._messages._lang),i||(i=this._messages.noPasteCommandsAvailable)),b("no-command",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${s=>{s.preventDefault()}}>${this._renderClipboardCommand("no-command")}${this._renderCloseCommand(t)}<calcite-panel><div class="pad-contents"><div class="flex flex-row justify-center"><svg xmlns=http://www.w3.org/2000/svg height=92 width=92 style=${N({strokeWidth:"0.1px",fill:"var(--calcite-color-text-2)"})} viewBox="0 0 64 64">${R`<path d="M21 18h-1v-3h1zm24-3h-1v3h1zm0 5h-1v3h1zm-24 0h-1v3h1zm9.84 13.71l.3.954 3.02-.954-.3-.953zm-6.04 1.908l.3.953 3.02-.953-.3-.953zm-3.8 1.2V35h-1v3.182l2.08-.657-.3-.953zM21 30h-1v3h1zm0-5h-1v3h1zm27.816 5.896l-4.746.015 2.294 4.575-3.071 1.535-2.358-4.668-2.835 3.886V23.036zm-6.04-.78l3.607-.012-7.483-5.49v9.17l2.16-2.96 2.587 5.126 1.643-.821zM60.9 10.874v41.25a1.777 1.777 0 0 1-1.775 1.775H4.875A1.777 1.777 0 0 1 3.1 52.125v-41.25A1.777 1.777 0 0 1 4.875 9.1h54.25a1.777 1.777 0 0 1 1.775 1.775zm-.8 24.54l-24.2 7.641V53.1h23.225a.976.976 0 0 0 .975-.975zm0-24.54a.976.976 0 0 0-.975-.975H45V13h-1V9.9H21V13h-1V9.9H4.875a.976.976 0 0 0-.975.975V32.1H18v.8H3.9v19.225a.976.976 0 0 0 .975.975H35.1V35.51l.8-.252v6.96l24.2-7.643z" />`}</svg></div><p class="text-center">${i}</p></div></calcite-panel></calcite-flow-item>`)}_renderAttributeCheckbox(t){return d`<calcite-label class="bold">${this._messages.attributesSubtitle}</calcite-label><calcite-label layout=inline><calcite-checkbox .disabled=${t} .checked=${this.viewModel.pasteWithAttributes} @calciteCheckboxChange=${i=>{this.viewModel.pasteWithAttributes=i.target.checked}}></calcite-checkbox>${this._messages.pasteWithAttributesLabel}</calcite-label>`}_renderFlowPasteAs(t){return t?b("paste-gallery",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${i=>{i.preventDefault(),this.viewModel.hasPasteCommandsPage&&(this.viewModel.activeFlowPage="commands-page")}}>${this._renderFlowCommandStart(!this.viewModel.hasPasteCommandsPage)}${this._renderClipboardCommand("paste-as")}${this._renderCloseCommand(t)}<calcite-panel>${this.hideFooter?null:d`<div class="w-full" slot=footer><div class="w-full flex"><calcite-button .disabled=${this.viewModel.updating} width=half .hidden=${this.viewModel.hideFooterCancelButton} kind=brand appearance=outline @click=${()=>{this.viewModel.resetHome(),this.closed=!0,this.arcgisClose.emit()}}>${this._messages.cancel}</calcite-button><calcite-button .disabled=${this.viewModel.updating||!this.viewModel.pasteTemplate||this.viewModel.hasTooManyPasteCreateFeatures} kind=brand appearance=solid .width=${this.viewModel.hideFooterCancelButton?"full":"half"} @click=${()=>{try{this.viewModel.lastPasteError=void 0,this.viewModel.getPasteCommandById(this.viewModel.activeCommand).runPasteCommand({closeAfterApply:()=>{this._handleCloseAfterApply()},onPasteError:i=>{this.arcgisApplyPasteError.emit({command:this.activeCommand??"paste-as",errorMessage:i.errorMessage,errorCode:i.errorCode})},onApply:async i=>{try{await this.beforeApply?.();let a={...i};return this.arcgisApplyPasteCommand.emit(a).defaultPrevented?{success:!1,errorCode:"cancelled"}:a.completionCallback?await a.completionCallback??{success:!0}:{success:!0}}catch{return{success:!1}}}},this.viewModel.activeCommand??"paste-as")}catch{}}}>${this.viewModel.alwaysShowFeatureForm?this._messages.next:(this.viewModel.clipboardFeatures.length??0)>1&&this.activeCommand!=="paste-merge"?y(this._messages.pasteMany??"",{num:this.viewModel.clipboardFeatures.length}):this._messages.paste}</calcite-button></div></div>`}${this.viewModel.hasTooManyPasteCreateFeatures?d`<div class="pad-start-end gallery-content"><calcite-notice open icon=exclamation-point kind=warning><div slot=message>${y(this._messages.tooManyCreateFeatures??"",{num:this.maximumFeatureCount})}</div></calcite-notice></div>`:null}<slot name=gallery-page-message></slot><div class="pad-start-end gallery-content"><div>${!this.viewModel.clipboardAndTemplateSupportAttributes&&this.viewModel.pasteTemplate?d`<div class="pad-contents"><calcite-notice open icon=exclamation-point kind=info><div slot=message>${this._messages.attributesNotCopied}</div>${this.activeCommand==="paste-merge"&&this.viewModel.hasClipboardItemMatchingTemplate?d`<calcite-link slot=link @click=${()=>{this.viewModel.activeFlowPage="merge-page"}} title=${this._messages.seeMergeOptions??ie}>${this._messages.seeMergeOptions}</calcite-link>`:null}</calcite-notice></div>`:null}${this.viewModel.clipboardAndTemplateSupportAttributes&&this.viewModel.pasteTemplate?this._renderAttributeCheckbox(!this.viewModel.clipboardAndTemplateSupportAttributes):null}${this.viewModel.clipboardAndTemplateSupportAttributes?null:this._renderAttributeCheckbox(!1)}</div><calcite-list .hidden=${this.viewModel.activeCommand!=="paste-merge"} .label=${this._messages.pasteCommandChoices??""} selection-mode=none selection-appearance=border><calcite-list-item .label=${this._messages.mergeOptionsTitle} .description=${this._messages.mergeOptionsDesc} .disabled=${this.viewModel.updating} @click=${()=>{this.viewModel.activeFlowPage="merge-page"}}><calcite-icon slot=content-start icon=configure></calcite-icon><calcite-icon slot=content-end icon=chevron-right></calcite-icon></calcite-list-item></calcite-list><div>${this.viewModel.workingLayers.length>0?d`<arcgis-feature-templates show-filter template-sort-by=system .disableTemplatesMode=${this.disableTemplatesMode} .applicationDisabledFunction=${i=>!!(i.template&&ue(i.template)&&i.template.type!=="feature")} class="paste-feature-templates" .layers=${this.viewModel.workingLayers} @arcgisTemplatesChanged=${()=>{this._checkAndUpdateInitialPasteTemplate()}} @arcgisSelectTemplate=${i=>{this.viewModel.pasteTemplate=i.detail.template}} .view=${this.viewModel.view} .referenceElement=${this.referenceElement} ${D(this._templateGallery)}></arcgis-feature-templates>`:d`<calcite-notice open icon=exclamation-point kind=warning><div slot=message>${y(this._messages.noMatchingEditableLayers??"",{num:this.maximumFeatureCount})}</div></calcite-notice>`}</div></div></calcite-panel>${this._renderApplying()}</calcite-flow-item>`):b("paste-gallery",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${i=>{i.preventDefault(),this.viewModel.hasPasteCommandsPage&&(this.viewModel.activeFlowPage="commands-page")}}>${this._renderFlowCommandStart(!this.viewModel.hasPasteCommandsPage)}</calcite-flow-item>`)}_renderFlowPasteMerge(t){if(!t)return b("paste-merge",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${a=>{a.preventDefault(),this.viewModel.activeFlowPage="gallery-page"}}></calcite-flow-item>`);let i=this.viewModel.selectedClipboardItemIndex===-1?null:this.viewModel.clipboard.items.getItemAt(this.viewModel.selectedClipboardItemIndex);return b("paste-merge",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${a=>{a.preventDefault(),this.viewModel.activeFlowPage="gallery-page"}}>${this._renderClipboardCommand("merge")}${this._renderCloseCommand(t)}<calcite-panel><div class="merge-split-view-container"><div class="pad-contents merge-split-view-items"><calcite-label>${this._messages.selectionLabel}<calcite-list .label=${this._messages.features??""} selection-mode=single selection-appearance=border>${this.clipboard.items.toArray().map((a,s)=>({id:s,item:a})).filter(a=>a.item.type==="feature"&&a.item.layer&&a.item.graphic).map(a=>d`<calcite-list-item .disabled=${this.viewModel.updating} .selected=${a.id===this.viewModel.selectedClipboardItemIndex} @calciteListItemSelect=${()=>{this.viewModel.selectedClipboardItemIndex=a.id}} @pointerenter=${s=>{this.viewModel.highlightSelectedGraphicOnMap(a.item),s.target.classList.add("hovering")}} @pointerleave=${s=>{s.target.classList.remove("hovering"),this.viewModel.clearHighlightSelectedGraphic()}} .value=${a.id}><arcgis-feature-title slot=content .graphic=${a.item.graphic} .layer=${a.item.layer}></arcgis-feature-title><arcgis-feature-image width-in-pixels=16 height-in-pixels=16 use-true-shape slot=content-start .graphic=${a.item.graphic} .layer=${a.item.layer}></arcgis-feature-image>${this.viewModel.selectedClipboardItemIndex!==a.id?d`<calcite-chip slot=content-end .label=${this._messages.preservethis??""} class="chip-indent only-on-hover item-candidate" scale=s .value=${a.id}>${this._messages.preservethis??""}</calcite-chip>`:""}${this.viewModel.selectedClipboardItemIndex===a.id?d`<calcite-chip icon=check .label=${this._messages.preserved??""} class="item-preserved chip-indent" scale=s slot=content-end .value=${a.id}>${this._messages.preserved}</calcite-chip>`:""}</calcite-list-item>`)}</calcite-list></calcite-label></div><div class="merge-split-view-attributes">${this.viewModel.selectedClipboardItemIndex===-1?d`<div></div>`:d`<div class="merge-feature-form"><arcgis-feature-form heading-level=5 .feature=${i.graphic} .formTemplate=${i.layer.formTemplate?i.layer.formTemplate:null} .layer=${i.layer} ${D(this._featureFormElement)}></arcgis-feature-form></div>`}</div></div></calcite-panel>${this._renderApplying()}</calcite-flow-item>`)}_renderFlowPasteForm(t){if(!t)return b("paste-form",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${p=>{p.preventDefault(),this.viewModel.activeFlowPage=this.viewModel.beforeForm,this.viewModel.resetFormPage()}}></calcite-flow-item>`);let i=(this.viewModel.bauFeatures?.length??0)>1&&!this.viewModel.bauHasTooManyFeatures&&!this.viewModel.bauHasTooManyComplexFeatures,a=this.viewModel.updating,s=this.viewModel.bauActiveFeatureIndex>0,o=this.viewModel.bauActiveFeatureIndex!==-1&&this.viewModel.bauActiveFeatureIndex<(this.viewModel.bauFeatures?.length??0)-1,l=this.viewModel.bauActiveFeatureIndex===-1?y(this._messages.multipleFeaturesX??"",{total:this.viewModel.bauFeatures?.length??0}):y(this._messages.range??"",{current:this.viewModel.bauActiveFeatureIndex+1,total:this.viewModel.bauFeatures?.length??0}),h=(this.viewModel.bauInvalidFeatures?.length??0)>0;return b("paste-form",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${p=>{p.preventDefault(),this.viewModel.activeFlowPage=this.viewModel.beforeForm,this.viewModel.resetFormPage()}}>${this._renderCloseCommand(t)}<calcite-panel>${this.hideFooter?null:d`<div class="w-full" slot=footer><div class="w-full flex"><calcite-button .disabled=${this.viewModel.updating} width=half .hidden=${this.viewModel.hideFooterCancelButton} kind=brand appearance=outline @click=${()=>{this.viewModel.resetHome(),this.closed=!0,this.arcgisClose.emit()}}>${this._messages.cancel}</calcite-button><calcite-button .disabled=${this.viewModel.updating||this.viewModel.bauFormUpdating||this.viewModel.bauHasTooManyFeatures||this.viewModel.bauHasTooManyComplexFeatures} kind=brand appearance=solid .width=${this.viewModel.hideFooterCancelButton?"full":"half"} @click=${async()=>{try{if(await ge(()=>!this.viewModel.bauFormUpdating),!this.viewModel.bauFormValid){this._bauForm.value?.goToFirstError();return}this._copyAcrossValidMultiFormFieldValues(),this.viewModel.lastPasteError=void 0,this.viewModel.runPasteFormCommand({closeAfterApply:()=>{this._handleCloseAfterApply()},onPasteError:p=>{this.arcgisApplyPasteError.emit({command:this.activeCommand??"paste-as",errorMessage:p.errorMessage,errorCode:p.errorCode})},onApply:async p=>{try{await this.beforeApply?.();let m={...p};return this.arcgisApplyPasteCommand.emit(m).defaultPrevented?{success:!1,errorCode:"cancelled"}:m.completionCallback?await m.completionCallback??{success:!0}:{success:!0}}catch{return{success:!1}}}})}catch{}}}>${(this.viewModel.bauFeatures?.length??0)>1?y(this._messages.pasteMany??"",{num:this.viewModel.bauFeatures.length}):this._messages.paste}</calcite-button></div></div>`}${i?d`<calcite-action-bar overflow-actions-disabled slot=action-bar layout=horizontal scale=s expand-disabled class="carousel-bar"><calcite-button .disabled=${this.viewModel.updating} @click=${p=>{this._showFloatingChoice=!this._showFloatingChoice,p.stopPropagation()}} scale=s appearance=transparent icon-start=legend icon-end=chevron-down kind=neutral><span class="bau-pick">${l}${h?d`<calcite-icon scale=s icon=exclamation-mark-triangle class="danger-icon-warning"></calcite-icon>`:""}</span></calcite-button><calcite-action slot=actions-end icon=chevron-left icon-flip-rtl scale=s .text=${this._messages.back??""} .disabled=${!s||a||!i} @click=${()=>{this.viewModel.previousActiveFeature()}}></calcite-action><calcite-action slot=actions-end icon=chevron-right icon-flip-rtl scale=s .text=${this._messages.next??""} .disabled=${!o||a||!i} @click=${()=>{this.viewModel.nextActiveFeature()}}></calcite-action></calcite-action-bar>${this._renderFloatingUIChoice(i)}`:""}<div class=${te(this.viewModel.bauHasTooManyComplexFeatures||this.viewModel.bauHasTooManyFeatures?"hidden":void 0)}>${this._renderPasteFormBreadcrumb()}<arcgis-multi-feature-form edit-type=INSERT submit-has-been-attempted .view=${this.view} .referenceElement=${this.referenceElement} .hidden=${this.viewModel.bauHasTooManyComplexFeatures||this.viewModel.bauHasTooManyFeatures} .disabled=${this.viewModel.updating} .maximumFeatureCount=${this.maximumFeatureCount} .maximumFeatureCountWithComplexForms=${this.maximumFeatureCountWithComplexForms} .features=${this.viewModel.bauFeatures} .activeFeatureIndex=${this.viewModel.bauActiveFeatureIndex} @arcgisPropertyChange=${p=>{this._updateBauViewModelFields(p.target),p.detail.name==="status"&&p.target.status==="loaded"&&this._copyAcrossValidMultiFormFieldValues()}} @arcgisValueChange=${p=>{let m=0;for(let v of this.viewModel.bauFeatures?.toArray()??[]){let u=this.viewModel.bauOriginalGraphics[m];this.viewModel.formFeatureValuesChanged(u,p.target.getValues(v)),m++}}} ${D(this._bauForm)}></arcgis-multi-feature-form></div>${this.viewModel.bauHasTooManyComplexFeatures||this.viewModel.bauHasTooManyFeatures?d`<div class="pad-start-end gallery-content"><calcite-notice open icon=exclamation-point kind=warning><div slot=message>${this.viewModel.bauHasTooManyFeatures?y(this._messages.tooManyCreateFeatures??"",{num:this.maximumFeatureCount}):y(this._messages.tooManyCreateComplexFeatures??"",{num:this.maximumFeatureCountWithComplexForms})}</div></calcite-notice></div>`:null}</calcite-panel>${this.renderPasteErrorFooter()}${this._renderApplying()}</calcite-flow-item>`)}_renderPasteFormBreadcrumb(){return d`<calcite-list .label=${this._messages.breadcrumb??""} selection-appearance=border scale=s selection-mode=none><calcite-list-item>${this.viewModel.bauActiveFeatureIndex===-1?d`<calcite-icon scale=s slot=content-start icon=group-form></calcite-icon>`:I(this.viewModel.bauActiveGraphic)?.isTable?d`<calcite-icon scale=s slot=content-start icon=table></calcite-icon>`:d`<arcgis-feature-image width-in-pixels=16 height-in-pixels=16 use-true-shape slot=content-start .graphic=${this.viewModel.bauActiveGraphic} .layer=${this.viewModel.bauActiveLayer}></arcgis-feature-image>`}${this.viewModel.bauActiveFeatureIndex===-1?d`<span slot=content>${y(this._messages.multipleFeaturesX??"",{total:this.viewModel.bauFeatures?.length??0})}</span>`:d`<arcgis-feature-title is-new-feature slot=content .graphic=${this.viewModel.bauActiveGraphic} .layer=${this.viewModel.bauActiveLayer}></arcgis-feature-title>`}</calcite-list-item></calcite-list>`}_renderFloatingUIChoice(t){if(!this._showFloatingChoice||!t)return d`<div></div>`;let i=!1;this.viewModel.bauInvalidFeatures.length>0&&(i=!0);let a=new Set(this.viewModel.bauInvalidFeatures);return d`<div class="choose-feature" slot=action-bar ${D(this._floatingChoiceContainer)}><calcite-list .label=${this._messages.choosefeature??""} selection-mode=single selection-appearance=border><calcite-list-item .disabled=${this.viewModel.updating} @calciteListItemSelect=${s=>{this.viewModel.bauActiveFeatureIndex!==-1&&(this.viewModel.bauActiveFeatureIndex=-1,this.viewModel.updateIndividualMultiFeatureFormHighlight()),this.viewModel.clearMultiFeatureFormHighlights(),this._showFloatingChoice=!1}} .label=${y(this._messages.multipleFeaturesX??"",{total:this.viewModel.bauFeatures.length})} .selected=${this.viewModel.bauActiveFeatureIndex===-1} value=shared><calcite-icon scale=s icon=group-form class="feature-choose-listitem" slot=content-start></calcite-icon></calcite-list-item>${this.viewModel.bauFeatures.map((s,o)=>d`<calcite-list-item .disabled=${this.viewModel.updating} @pointerenter=${l=>{this.viewModel.highlightMultiFeatureFormFeature(s,o)}} @pointerleave=${l=>{this.viewModel.clearMultiFeatureFormHighlights()}} .selected=${this.viewModel.bauActiveFeatureIndex===o} @calciteListItemSelect=${l=>{let h=window.parseInt(l.currentTarget.value);this.viewModel.bauActiveFeatureIndex=h,this.viewModel.updateIndividualMultiFeatureFormHighlight(),this.viewModel.clearMultiFeatureFormHighlights(),this._showFloatingChoice=!1}} .value=${o}><arcgis-feature-title is-new-feature slot=content .graphic=${s} .layer=${s.layer}></arcgis-feature-title>${I(s)?.isTable?d`<calcite-icon scale=s icon=table slot=content-start class="feature-choose-listitem"></calcite-icon>`:d`<arcgis-feature-image slot=content-start class="feature-choose-listitem" .graphic=${s} width-in-pixels=16 height-in-pixels=16 use-true-shape .layer=${s.layer}></arcgis-feature-image>`}${a.has(s)&&i?d`<calcite-icon slot=content-end icon=exclamation-mark-triangle scale=s class="danger-icon-warning"></calcite-icon>`:""}</calcite-list-item>`)}</calcite-list></div>`}_renderClipboard(t){return t?b("paste-form",d`<calcite-flow-item .selected=${t} .heading=${this._messages.clipboardContents} @calciteFlowItemBack=${i=>{i.preventDefault(),this.viewModel.activeFlowPage=this.viewModel.beforeClipboard}}>${this._renderCloseCommand(t)}<calcite-panel><arcgis-clipboard .view=${this.view} .referenceElement=${this.referenceElement} .hideTooltips=${this.hideTooltips}></arcgis-clipboard></calcite-panel></calcite-flow-item>`):b("paste-form",d`<calcite-flow-item .selected=${t} .heading=${this._messages.clipboardContents} @calciteFlowItemBack=${i=>{i.preventDefault(),this.viewModel.activeFlowPage=this.viewModel.beforeClipboard}}></calcite-flow-item>`)}_renderPasteCommands(t){if(!t)return b("paste-commands",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${a=>{a.preventDefault(),this.viewModel.activeFlowPage="commands-page"}}>${this._renderFlowCommandStart(this.viewModel.hasPasteCommandsPage)}</calcite-flow-item>`);let i=this.viewModel.clipboard.items.length===0?this._messages.clipboardEmpty??"":this.viewModel.clipboard.items.length>1?y(this._messages.clipboardContentsMany??"",{num:this.viewModel.clipboard.items.length}):this._messages.clipboardContentsSingle??"";return b("paste-commands",d`<calcite-flow-item .selected=${t} .heading=${this._messages.componentLabel} @calciteFlowItemBack=${a=>{a.preventDefault(),this.viewModel.activeFlowPage="commands-page"}}>${this._renderFlowCommandStart(this.viewModel.hasPasteCommandsPage)}${this._renderClipboardCommand("commands")}${this._renderCloseCommand(t)}<calcite-panel><calcite-list .label=${this._messages.clipboardContents??""} selection-mode=none selection-appearance=border><calcite-list-item .description=${i}></calcite-list-item></calcite-list><slot name=commands-page-message></slot><div class="pad-contents"><calcite-list .label=${this._messages.pasteCommandChoices??""} selection-mode=none selection-appearance=border>${this.availableCommands.map(a=>d`<calcite-list-item .label=${a.label(this._messages,this._messages._lang)} .description=${a.description(this._messages,this._messages._lang)} .value=${a.id} .disabled=${!a.commandEnabled||this.viewModel.updating} @click=${async()=>{await this._runPasteCommand(a)}}><calcite-icon slot=content-start .icon=${a.icon}></calcite-icon>${a.immediate?"":d`<calcite-icon slot=content-end icon=chevron-right flip-rtl></calcite-icon>`}</calcite-list-item>`)}</calcite-list></div></calcite-panel>${this.renderPasteErrorFooter()}${this._renderApplying()}</calcite-flow-item>`)}renderPasteErrorFooter(){return!this.viewModel.lastPasteError||this.viewModel.hideErrorNotice?null:d`<calcite-notice slot=footer open kind=danger icon=exclamation-mark-triangle closable @calciteNoticeClose=${()=>{this.viewModel.lastPasteError=void 0}}><div slot=title>${this._messages.errorNoticeTitle??""}</div><div slot=message>${this.viewModel.lastPasteError.localizedErrorMessage?this._messages[this.viewModel.lastPasteError.localizedErrorMessage]:this._messages.errorNoticeMessage??""}</div></calcite-notice>`}_renderApplying(){return this.viewModel.applying?d`<calcite-scrim><calcite-loader scale=s .label=${this._messages.updating??""}></calcite-loader></calcite-scrim>`:""}render(){return this.activeFlowPage==="clipboard-empty-page"?d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this._renderNoClipboardData(this.activeFlowPage==="clipboard-empty-page")}</calcite-flow>`:this.activeFlowPage==="no-command-page"?d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this._renderNoCommandPage(this.activeFlowPage==="no-command-page")}</calcite-flow>`:d`<calcite-flow class="arcgis-paste" .hidden=${this.closed}>${this.hasPasteCommandsPage&&this._renderPasteCommands(this.activeFlowPage==="commands-page")||""}${this._renderFlowPasteAs(this.activeFlowPage==="gallery-page")}${this._renderFlowPasteMerge(this.activeFlowPage==="merge-page")}${this._renderFlowPasteForm(this.activeFlowPage==="form-page")}${this._renderClipboard(this.activeFlowPage==="clipboard")}</calcite-flow>`}};ae("arcgis-paste",K);return K},"core/accessorSupport/decorators","core/Accessor","Graphic","applications/Components/clipboard","layers/GraphicsLayer","core/Collection","applications/Components/templateUtils","applications/Components/applySetUtils","core/reactiveUtils","layers/support/fieldUtils","widgets/BatchAttributeForm/BatchAttributeFormViewModel","intl","applications/Components/editUtils",a,c,e,f,g,h)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./STWRT3F7.js";import"./56KR4KYO.js";import"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([a])=>{return a},a)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as M}from"./IDKRMHDS.js";import{a as v}from"./GU3M4JMW.js";import{a as k}from"./QE6XRKDY.js";import{a as w}from"./56KR4KYO.js";import{L as P,M as L,N as $,O as c,P as u,Q as h,T as y,a as b,b as l,w as x}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:B}])=>{var a=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,i),i);var H;function C(t){return(e,i)=>a(e,i,{get(){return(this.renderRoot??(H??=document.createDocumentFragment())).querySelectorAll(t)}})}var W=b`:host{transition:max-height .25s ease-in-out;--esri-widget-padding: 12px 15px;--level-picker-padding: var(--calcite-spacing-md);--level-label-color: var(--calcite-color-text-1);--level-label-color--empty: var(--calcite-color-text-2);--level-label-color--active: var(--calcite-color-brand);--level-border-width: 2px;--level-border-color: var(--calcite-color-border-2);--level-border-color--hover: var(--calcite-color-brand);--level-border-color--active: var(--calcite-color-brand);--level-background-color: rgb(from var(--calcite-color-foreground-1) r g b / 70%);--level-background-color--hover: rgb(from var(--calcite-color-foreground-1) r g b / 90%);--level-background-color--active: var(--calcite-color-brand);--focus-outline-width: 2px;--focus-outline-color: var(--calcite-color-brand);--focus-outline-offset: 2px}.container{height:max-content;display:flex;flex-direction:row;align-items:center;&.no-level{display:none}>*{height:max-content}}.clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.label-container{--width: 90px;--height: 40px;flex-direction:column;justify-content:space-between;align-items:center;width:50%;margin-inline-end:var(--calcite-spacing-md);display:flex;&.active{color:var(--calcite-color-brand)}&.empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}&:focus{outline:none}&:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus)}}.level-label{position:relative;text-align:center;>span{pointer-events:none}&.active{font-size:var(--height);line-height:calc(var(--height) + 6px);>.clear-button{display:inline-block}}}.tiles-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transform:rotate(180deg);cursor:pointer;padding:20px 0;width:50%}.tiles-inner-container{transition:margin .3s}`,j=Object.defineProperty,F=(t,e,i,n)=>{for(var r=void 0,o=t.length-1,s;o>=0;o--)(s=t[o])&&(r=s(e,i,r)||r);return r&&j(e,i,r),r},d=class extends ${constructor(){super(...arguments),this.hovering=!1,this.onPointerMove=e=>{if(!this.hovering)return!1;if(window.getSelection()?.removeAllRanges(),this.containerPosTop!=null){let i=this.containerPosTop,n=40,r=this.expandedLevelsMargin,o=this.levelsHeight,s=i+n+r,m=this.levelHeight/2;s+=m,o-=m;let f=(e.clientY-s)/o;f+=.035,this.normalizedPointerPosition=f}return!1},this.onPointerEnter=()=>{let e=this.levelsContainer.value;this.hovering||e==null||(this.hovering=!0,this.containerPosTop=e.getBoundingClientRect().top??0)},this.levelsContainer=P(),this.onPointerLeave=()=>{if(this.hovering){window.getSelection()?.removeAllRanges();for(let e of this.levelItems)e.width=void 0;this.normalizedPointerPosition=0,this.hoveredLevel=null,this.hovering=!1}},this.onPointerUp=()=>{window.getSelection()?.removeAllRanges();let e=this.level;this.hoveredLevel==null||e==null||this.#o()},this.expandedLevelsHeight=void 0,this.normalizedPointerPosition=0,this.hoveredLevel=null,this.arcgisBuildingLevelChange=x({bubbles:!0,composed:!0})}static{this.properties={expandedLevelsHeight:16,normalizedPointerPosition:16,hoveredLevel:16,messages:0,level:0,numberOfLevels:32,levelHeight:32,levelsHeight:32}}static{this.styles=W}get levels(){return this.level?.allowedValues??[]}get levelWidth(){let{levelWidthNominator:e,levelWidthConstant:i}=M,n=e/Math.sqrt(this.numberOfLevels)+i;return Math.round(v(n,30,80))}get _gaussianFactor(){let e=this.numberOfLevels;return e/Math.log(30*e)*10}get expandedLevelsMargin(){return Math.round(((this.expandedLevelsHeight??0)-this.levelsHeight)/2)}get levelClosestToPointer(){if(!this.hovering)return null;let e=this.numberOfLevels-1,i=this.clampedNormalizedPointerPosition;return e>=0&&i!=null?this.levels[Math.round((1-i)*e)]:null}get clampedNormalizedPointerPosition(){return v(this.normalizedPointerPosition,0,1)}get numberOfLevels(){return this.levels.length}get levelHeight(){let e=14,i=e*2/Math.sqrt(this.numberOfLevels);return Math.round(v(i,2,e))}get levelsHeight(){return Math.round(this.levelHeight*this.numberOfLevels)}async loaded(){this.listen("keydown",this.#n.bind(this)),this.manager.onLifecycle(()=>[B(()=>[this.normalizedPointerPosition,this.hovering],()=>this.onPointerPositionChange(),{initial:!0})])}onPointerPositionChange(){let e=0;this.levelItems.forEach((n,r)=>{let{width:o,height:s}=this.getLevelWidgetSize(r);n.height=s,n.width=o,e+=s}),this.hoveredLevel=this.levelClosestToPointer;let i=this.expandedLevelsHeight;(i==null||Math.abs(i-e)>30)&&(this.expandedLevelsHeight=e)}getLevelWidgetSize(e){let i={width:this.levelWidth,height:this.levelHeight};if(this.hovering){let n=this.getGaussianFactor(e,this.clampedNormalizedPointerPosition);i.width+=20*n,i.height+=30*n}return i}getGaussianFactor(e,i){let n=this.numberOfLevels-1,r=(n-e)/n,o=this._gaussianFactor*(r-i);return Math.exp(-(o**2))}#n(e){switch(e.key){case"ArrowDown":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),this.#i(),this.#e();break;case"ArrowUp":case"ArrowRight":e.preventDefault(),e.stopPropagation(),this.#t(),this.#e();break}}#e(){Array.from(this.levelItems).find(e=>e.level===this.level?.value)?.focus()}#t(){this.level&&(this.level.next(),this.arcgisBuildingLevelChange.emit())}#i(){this.level&&(this.level.previous(),this.arcgisBuildingLevelChange.emit())}#o(){this.level==null||this.hoveredLevel==null||(this.level.value===this.hoveredLevel&&!this.level.disabled?this.#r():(this.level.select(this.hoveredLevel),this.arcgisBuildingLevelChange.emit()))}#r(){this.level&&!this.level.disabled&&(this.level.clear(),this.arcgisBuildingLevelChange.emit())}render(){if(!this.messages)return null;let e=this.level;e?.value;let i=e&&!e.disabled,n=this.numberOfLevels>1?k(this.levels,r=>r,r=>l`<arcgis-building-level-item .level=${r} .baseWidth=${this.levelWidth} .hovered=${this.hoveredLevel===r} .active=${e&&!e.disabled&&e.value===r} class=${c({"animate-level":!this.hovering})} .messages=${this.messages}></arcgis-building-level-item>`):null;return l`<div class=${c({container:!0,"no-level":this.numberOfLevels<2,"animate-level":this.hovering})}>${T({messages:this.messages,active:i,hasNext:e?.hasNext,hasPrevious:e?.hasPrevious,onNext:()=>this.#t(),onPrevious:()=>this.#i(),children:U({messages:this.messages,level:this.hoveredLevel??e?.value,active:i,onClear:()=>this.#r()})})}${D({ref:this.levelsContainer,expandedLevelsMargin:this.expandedLevelsMargin,levelsHeight:this.levelsHeight,onPointerEnter:this.onPointerEnter,onPointerMove:this.onPointerMove,onPointerLeave:this.onPointerLeave,onPointerUp:this.onPointerUp,children:n})}</div>`}};F([C("arcgis-building-level-item")],d.prototype,"levelItems");function T(t){return l`<div class=${c({"label-container":!0,empty:!t.active,active:!0,hover:!0})} title=${t.messages.selectLevel??h} tabindex=0><calcite-action icon=chevron-up appearance=transparent .text=${t.messages.nextLevel} @click=${t.onNext} .disabled=${!t.hasNext}></calcite-action>${t.children}<calcite-action icon=chevron-down appearance=transparent .text=${t.messages.previousLevel} @click=${t.onPrevious} .disabled=${!t.hasPrevious}></calcite-action></div>`}function U(t){let e=t.messages;return l`<div aria-label=${e.clearLevel??h} class=${c({"level-label":!0,active:t.active&&t.level!=null})} @click=${t.onClear} title=${e.clearLevel??h}>${t.active?l`<span>${t.level}</span>${w("clear-button",l`<calcite-fab appearance=outline-fill class="clear-button" icon=x kind=neutral @click=${t.onClear} scale=s></calcite-fab>`)}`:l`<span>${e.selectLevel}</span>`}</div>`}function D(t){let e=40,i=-e/2,n=t.levelsHeight,r=n+e*2;return l`<div class="tiles-container" @pointerenter=${t.onPointerEnter} @pointerover=${t.onPointerEnter} @pointermove=${t.onPointerMove} @pointerleave=${t.onPointerLeave} @pointerup=${t.onPointerUp} @click=${t.onClick} style=${u({height:`${r}px`,marginBlockStart:`${i}px`,marginBlockEnd:`${i}px`})} ${L(t.ref)}><div class="tiles-inner-container" style=${u({height:`${n}px`,margin:"0",marginBlockStart:`${20-t.expandedLevelsMargin}px`})}>${t.children}</div></div>`}y("arcgis-building-level-picker",d);return d},"core/reactiveUtils")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ function t(r){return r==="ArrowDown"||r==="ArrowLeft"||r==="ArrowRight"||r==="ArrowUp"}function w(r,o="ltr"){return o==="rtl"?r==="ArrowLeft"||r==="ArrowUp":r==="ArrowDown"||r==="ArrowRight"}function A(r,o="ltr"){return o==="rtl"?r==="ArrowDown"||r==="ArrowRight":r==="ArrowLeft"||r==="ArrowUp"}export{t as a,w as b,A as c};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as x,c as R}from"./32XG4IQO.js";import{a as M}from"./WVGSH2QD.js";import{a as w}from"./JD74LG7K.js";import c from"./XXA7VSON.js";import{e as _,g as $}from"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import a from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{M as d,N as m,O as y,Q as g,T as b,a as u,b as v,w as f}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([{when:k},,{a:A}])=>{var D=u`.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);calcite-button{--calcite-offset-invert-focus: 1}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{display:flex;inline-size:fit-content;block-size:fit-content}.root{--calcite-internal-action-bar-padding: 0;--calcite-internal-action-bar-gap: 0;--calcite-action-corner-radius: 0}calcite-action-group{--calcite-internal-action-group-gap: 0}`,r={pan:"move",rotate:"rotate"},h=Object.keys(r),p=class extends m{constructor(){super(...arguments),this._messages=M(),this._actions=new Map,this._direction=_(),this._state="disabled",this.autoDestroyDisabled=!1,this.view=A(this),this.icon=r.pan,this.layout="vertical",this.navigationMode="pan",this.visualScale="m",this.arcgisPropertyChange=$()("layout","state"),this.arcgisReady=f()}static{this.properties={_state:16,autoDestroyDisabled:5,view:0,icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,referenceElement:1,state:32,visualScale:1}}static{this.styles=D}get state(){return this._state}async destroy(){await this.manager.destroy()}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[k(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),k(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this._state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onActionGroupChange({target:t}){let a=t.selectedActions.at(0)?.dataset.navigationMode;a&&(this.navigationMode=a)}_onActionKeyDown(t){let{key:a}=t,n=x(a,this._direction),l=R(a,this._direction);if(!n&&!l)return;t.preventDefault();let s=h.indexOf(this.navigationMode),i=h.length,o=n?(s+1)%i:(s-1+i)%i,c=h[o];this.navigationMode=c;let e=this._actions.get(c);e&&(e.setFocus(),e.click())}_setPanActionRef(t){this._setActionRef("pan",t)}_setRotateActionRef(t){this._setActionRef("rotate",t)}_setActionRef(t,a){a?this._actions.set(t,a):this._actions.delete(t)}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,label:a,navigationMode:n,state:l}=this,s=a??t.componentLabel??"",i=t.pan??"",o=t.rotate??"",c=l==="disabled",e=n==="pan";return v`<calcite-action-bar class=${y({root:!0,[w.disabled]:c})} expand-disabled .layout=${this.layout} @keydown=${this._onActionKeyDown}><calcite-action-group .label=${s} @calciteActionGroupChange=${this._onActionGroupChange} selection-mode=single-persist><calcite-action .active=${e} data-navigation-mode=pan .icon=${r.pan} .label=${i} .scale=${this.visualScale} .text=${i} title=${i??g} ${d(this._setPanActionRef)}></calcite-action><calcite-action .active=${!e} data-navigation-mode=rotate .icon=${r.rotate} .label=${o} .scale=${this.visualScale} .text=${o} title=${o??g} ${d(this._setRotateActionRef)}></calcite-action></calcite-action-group></calcite-action-bar>`}};b("arcgis-navigation-toggle",p);return p},"core/reactiveUtils",a,c)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as t}from"./POKO37D3.js";import{a as o}from"./LVUQ55Y3.js";import{a as r}from"./JD74LG7K.js";import{O as i,Q as l,b as e}from"./WTBRS6C4.js";function $(a){let{children:n,hideHeader:d,headingLevel:m=2,label:c,title:s}=a;return e`<div aria-label=${c??l} class=${i({...typeof a.class=="string"?{[a.class]:!0}:a.class,[r.widget]:!0,[r.panel]:!0})} role=presentation>${t({hidden:d||!s,children:o({level:m,children:s})})}${n}</div>`}export{$ as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import d from"./VK2AQNZW.js";import c from"./ANSNQBZW.js";import b from"./XXA7VSON.js";import{g as n}from"./5DI7RMZ6.js";import"./Q7SMGP5R.js";import a from"./SYDGAFU5.js";import"./QUZTFUWM.js";import"./NCYBFT2Y.js";import{N as r,T as o,a as i,w as t}from"./WTBRS6C4.js";import"./H6RQVSYM.js";export default $arcgis.t(([a,,,,l])=>{var s=i`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}calcite-block>.esri-grid-controls{background:0 0;padding:0}.esri-grid-controls{-webkit-user-select:none;user-select:none;padding:var(--arcgis-internal-padding);flex-flow:column wrap;display:flex;calcite-label.esri-labeled-switch__label{margin-block-end:var(--calcite-spacing-sm, .5rem)}}.esri-grid-controls__switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1)}.esri-grid-controls__container{gap:var(--calcite-spacing-sm);flex-direction:column;flex:auto;display:flex}.esri-grid-controls__tilegroup{column-gap:var(--calcite-spacing-sm);align-items:start;display:flex;flex-wrap:wrap}.esri-grid-controls__tile__content{row-gap:var(--calcite-spacing-md);padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2);flex-direction:column;align-items:center;display:flex}.esri-grid-controls__tile__content calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}.esri-grid-controls__tile{position:relative}.esri-grid-controls__tile:focus-within{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.esri-grid-controls__tile--disabled{opacity:var(--calcite-opacity-disabled)}.esri-grid-controls__tile input[type=radio]{appearance:none;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;position:absolute;inset:0}.esri-grid-controls__tile input[type=radio]:checked+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}.esri-grid-controls__tile input[type=radio]+.esri-grid-controls__tile__content{border:var(--calcite-spacing-px) solid transparent}.esri-grid-controls__numeric-inputs__container{gap:var(--calcite-spacing-sm);grid-auto-columns:1fr;grid-auto-flow:column;display:grid}.esri-grid-controls__inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}.esri-labeled-switch__label{--calcite-label-margin-bottom: 0}.esri-labeled-switch__label-content{text-wrap:balance;flex:1;align-items:center;gap:7px;display:flex}.esri-labeled-switch__label-content>div{flex-grow:1}.esri-labeled-switch__icon{margin-top:-1px}.esri-labeled-switch__icon_info{color:var(--calcite-color-status-info)}.esri-labeled-switch__icon_warning{color:var(--calcite-color-status-warning)}.esri-labeled-switch__tooltip{text-wrap:wrap}.esri-sketch-tooltip-controls__block{border-block-end:none;margin:0}.esri-sketch-tooltip-controls__block-content{flex-direction:column;gap:6px;display:flex}.esri-sketch-tooltip-controls calcite-label:last-child{--calcite-label-margin-bottom: 0}.esri-snapping-controls__toggle-block{min-width:100%;margin:0}.esri-snapping-controls__layer-list-block{border-bottom:none;min-width:225px}.esri-snapping-controls__layer-list-block[open]{margin-block:0}.esri-snapping-controls__layer-list{overflow:auto}.esri-snapping-controls__layer-list__filter{margin-bottom:10px}.esri-snapping-controls__layer-list__button{margin-bottom:6px}.esri-snapping-controls__layer-list__item calcite-accordion-item calcite-icon,.esri-snapping-controls__layer-list__item calcite-action calcite-icon{margin-inline-start:0}.esri-snapping-controls__layer-list__item calcite-icon{color:var(--calcite-color-brand);margin-inline-start:var(--calcite-list-item-spacing-indent, 1em)}.esri-snapping-controls{flex-flow:column wrap;display:flex}.esri-snapping-controls__container{flex-direction:column;flex:auto;display:flex}.esri-snapping-controls__container :only-child{border-block-end:none}.esri-snapping-controls__panel{width:320px}.esri-snapping-controls__item{border:1px solid #adadad4d;cursor:pointer;background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-border-1);border-radius:2px;justify-content:space-between;margin:3px 0;padding:3px;transition:border-color .125s ease-in-out;display:flex;box-shadow:0 1px #adadad4d}.esri-snapping-controls__item-action-icon{flex:0 0 16px;width:16px;height:16px;margin-top:.1em;font-size:var(--calcite-font-size-md);display:inline-block}.esri-snapping-controls__action-toggle{opacity:1;cursor:pointer;border:1px solid var(--calcite-color-border-1);flex-flow:row-reverse;justify-content:space-between;align-items:flex-start;width:100%;margin:0;padding:6px 15px;font-size:var(--calcite-font-size-sm);transition:opacity .25s ease-in-out .25s,background-color .25s ease-in-out;display:flex}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-title{margin-left:0}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);border-radius:16px;flex:0 0 28px;width:16px;height:16px;padding:0;transition:background-color .125s ease-in-out;position:relative;overflow:hidden;box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle .esri-snapping-controls__item-action-icon:before{content:"";background-color:var(--calcite-color-foreground-2);border-radius:100%;width:12px;height:12px;margin:2px;transition:background-color .125s ease-in-out,left .125s ease-in-out;display:block;position:absolute;top:0;left:0;box-shadow:0 0 0 1px #242424}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px #adadad}.esri-snapping-controls__action-toggle--on .esri-snapping-controls__item-action-icon:before{background-color:var(--calcite-color-foreground-3);left:12px}.esri-snapping-controls__nested-container{flex-direction:column;gap:6px;display:flex}.esri-snapping-controls__nested-container:not(:empty){padding-top:6px;padding-inline-start:1em}`,c=l(a),e=class extends r{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.hideEnabledToggle=this.widget.visibleElements.enabledToggle,this.hideFeatureEnabledToggle=this.widget.visibleElements.featureEnabledToggle,this.hideGridControls=this.widget.visibleElements.gridControls,this.hideGridControlsElementsColorSelection=this.widget.visibleElements.gridControlsElements.colorSelection,this.hideGridControlsElementsDynamicScaleToggle=this.widget.visibleElements.gridControlsElements.dynamicScaleToggle,this.hideGridControlsElementsLineIntervalInput=this.widget.visibleElements.gridControlsElements.lineIntervalInput,this.hideGridControlsElementsNumericInputs=this.widget.visibleElements.gridControlsElements.numericInputs,this.hideGridControlsElementsOutOfScaleWarning=this.widget.visibleElements.gridControlsElements.outOfScaleWarning,this.hideGridControlsElementsPlacementButtons=this.widget.visibleElements.gridControlsElements.placementButtons,this.hideGridControlsElementsRotateWithMapToggle=this.widget.visibleElements.gridControlsElements.rotateWithMapToggle,this.showHeader=this.widget.visibleElements.header,this.showGridControlsElementsGridEnabledToggle=this.widget.visibleElements.gridControlsElements.gridEnabledToggle,this.hideLayerList=this.widget.visibleElements.layerList,this.hideSelfEnabledToggle=this.widget.visibleElements.selfEnabledToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.arcgisPropertyChange=n()("snappingOptions","state"),this.arcgisReady=t()}static{this.properties={view:0,autoDestroyDisabled:5,hideEnabledToggle:5,hideFeatureEnabledToggle:5,hideGridControls:5,hideGridControlsElementsColorSelection:5,hideGridControlsElementsDynamicScaleToggle:5,hideGridControlsElementsLineIntervalInput:5,hideGridControlsElementsNumericInputs:5,hideGridControlsElementsOutOfScaleWarning:5,hideGridControlsElementsPlacementButtons:5,hideGridControlsElementsRotateWithMapToggle:5,showHeader:5,showGridControlsElementsGridEnabledToggle:5,hideLayerList:5,hideSelfEnabledToggle:5,icon:1,label:1,referenceElement:1,snappingOptions:0,state:35}}static{this.styles=s}async destroy(){await this.manager.destroy()}};o("arcgis-snapping-controls",e);return e},"widgets/support/SnappingControls",a,b,c,d)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./4FVOBVTD.js";import"./Y56FOEA4.js";import"./2JLMOWRT.js";import"./ECXHREHJ.js";import{S as o}from"./66PT52ED.js";import"./7427KHVF.js";import"./RKXHWHFR.js";import"./H6RQVSYM.js";var t=["#2888B8","#EB7028","#48A375","#9370B1","#e55035","#3d9ccc","#DC7B04","#b87bb0","#3fa681","#EE6386"],c=t.map(r=>o(r));export{c as esriChartColorSet};