@arcgis/map-components 4.34.0-next.7 → 4.34.0-next.71

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 (655) hide show
  1. package/dist/cdn/22X7STGS.js +4 -0
  2. package/dist/cdn/265TCEJW.js +4 -0
  3. package/dist/cdn/{7MLMQPS2.js → 2FSODJ3U.js} +1 -1
  4. package/dist/cdn/2OI3FE6A.js +4 -0
  5. package/dist/cdn/2VBF7LQX.js +4 -0
  6. package/dist/cdn/{TD3FQAZG.js → 35SXAPH2.js} +1 -1
  7. package/dist/cdn/3NLDEMKW.js +4 -0
  8. package/dist/cdn/3NSWX5SC.js +4 -0
  9. package/dist/cdn/3PDR7LMU.js +4 -0
  10. package/dist/cdn/3TXTKPTE.js +4 -0
  11. package/dist/cdn/43XZ7D76.js +4 -0
  12. package/dist/cdn/{73246WZV.js → 47F2WFRU.js} +2 -2
  13. package/dist/cdn/{QAP64MEA.js → 47SSWVOY.js} +1 -1
  14. package/dist/cdn/4CYQA32L.js +4 -0
  15. package/dist/cdn/4MHQTJS3.js +4 -0
  16. package/dist/cdn/4MVZJW57.js +4 -0
  17. package/dist/cdn/4R5UNHP6.js +4 -0
  18. package/dist/cdn/4XZXNS7R.js +4 -0
  19. package/dist/cdn/4ZLIUYSY.js +4 -0
  20. package/dist/cdn/527WINZ2.js +4 -0
  21. package/dist/cdn/5FQAWKJJ.js +4 -0
  22. package/dist/cdn/5HYMBWIX.js +4 -0
  23. package/dist/cdn/5J2LKM2H.js +4 -0
  24. package/dist/cdn/5MMPGU63.js +4 -0
  25. package/dist/cdn/5XTGVILB.js +4 -0
  26. package/dist/cdn/{LUASKWWP.js → 6IUHASSR.js} +2 -2
  27. package/dist/cdn/6SIRAA5V.js +4 -0
  28. package/dist/cdn/76ED2DMX.js +4 -0
  29. package/dist/cdn/7L6HE6DW.js +4 -0
  30. package/dist/cdn/7NFC4TNM.js +4 -0
  31. package/dist/cdn/7PR3L2OV.js +4 -0
  32. package/dist/cdn/7WEQOTVL.js +4 -0
  33. package/dist/cdn/ADTMB5TC.js +4 -0
  34. package/dist/cdn/AFM7S5A3.js +4 -0
  35. package/dist/cdn/AFNEYDRV.js +4 -0
  36. package/dist/cdn/{B7KN6YTQ.js → AI6OUQKC.js} +2 -2
  37. package/dist/cdn/B47TJSXZ.js +4 -0
  38. package/dist/cdn/BHVCTAUP.js +4 -0
  39. package/dist/cdn/BLT2HI4R.js +4 -0
  40. package/dist/cdn/BW63M57P.js +4 -0
  41. package/dist/cdn/C5R2OWCM.js +4 -0
  42. package/dist/cdn/CIOLPG7A.js +4 -0
  43. package/dist/cdn/CJ3R6CHO.js +4 -0
  44. package/dist/cdn/CNI6MBVU.js +5 -0
  45. package/dist/cdn/D22G7OKP.js +4 -0
  46. package/dist/cdn/DC6MKJ4B.js +4 -0
  47. package/dist/cdn/DCZG5RWR.js +4 -0
  48. package/dist/cdn/DDK4Z6FU.js +4 -0
  49. package/dist/cdn/{BKCPYV3Y.js → DFSRHIJR.js} +1 -1
  50. package/dist/cdn/DW27FAIG.js +4 -0
  51. package/dist/cdn/DZYD65XX.js +4 -0
  52. package/dist/cdn/E4PSGDQ6.js +4 -0
  53. package/dist/cdn/E6SVKT36.js +4 -0
  54. package/dist/cdn/EGRNM3I2.js +4 -0
  55. package/dist/cdn/EHNDFVDW.js +4 -0
  56. package/dist/cdn/EIF4XQRG.js +4 -0
  57. package/dist/cdn/ENUEOUXF.js +4 -0
  58. package/dist/cdn/ETTUZLRW.js +4 -0
  59. package/dist/cdn/EUP574Z6.js +4 -0
  60. package/dist/cdn/F4XCZYR2.js +4 -0
  61. package/dist/cdn/F7X3EMOC.js +4 -0
  62. package/dist/cdn/FAHZ7GBF.js +4 -0
  63. package/dist/cdn/FDLYT5BL.js +4 -0
  64. package/dist/cdn/FHE6FKBH.js +4 -0
  65. package/dist/cdn/FIA4WYAT.js +4 -0
  66. package/dist/cdn/FV2NSC2M.js +4 -0
  67. package/dist/cdn/{62NV7NFZ.js → GGHSRKPD.js} +2 -2
  68. package/dist/cdn/H2MNGVXP.js +4 -0
  69. package/dist/cdn/HAOAM42I.js +4 -0
  70. package/dist/cdn/HME3GEPD.js +4 -0
  71. package/dist/cdn/{DDSDEOST.js → HOGUDQUS.js} +2 -2
  72. package/dist/cdn/HXPU2PJA.js +4 -0
  73. package/dist/cdn/HXZF7WPI.js +4 -0
  74. package/dist/cdn/HZSLL2N5.js +4 -0
  75. package/dist/cdn/II62D2B2.js +4 -0
  76. package/dist/cdn/IK6XIUZS.js +4 -0
  77. package/dist/cdn/IT6F22UE.js +4 -0
  78. package/dist/cdn/IVFIS2ZY.js +4 -0
  79. package/dist/cdn/IWOZRWG5.js +4 -0
  80. package/dist/cdn/J373HHAG.js +4 -0
  81. package/dist/cdn/JB5DOYCK.js +4 -0
  82. package/dist/cdn/JEQL6W5F.js +4 -0
  83. package/dist/cdn/JN5WH5UO.js +4 -0
  84. package/dist/cdn/JOJ5HWTU.js +4 -0
  85. package/dist/cdn/JSLZTVLT.js +4 -0
  86. package/dist/cdn/JYXCD6K6.js +4 -0
  87. package/dist/cdn/K5JFIJYY.js +4 -0
  88. package/dist/cdn/KA7RTGZF.js +4 -0
  89. package/dist/cdn/KDXAJ2PF.js +4 -0
  90. package/dist/cdn/{576TH74N.js → KFU4FBPI.js} +2 -2
  91. package/dist/cdn/KNYAUQLT.js +4 -0
  92. package/dist/cdn/KV7BE32J.js +4 -0
  93. package/dist/cdn/{EAVGPD6R.js → KWPQQSWJ.js} +1 -1
  94. package/dist/cdn/L3TZXE7U.js +4 -0
  95. package/dist/cdn/L3UPIUSP.js +4 -0
  96. package/dist/cdn/L64TZAYM.js +4 -0
  97. package/dist/cdn/LUZFWSLE.js +4 -0
  98. package/dist/cdn/M2CQVZZQ.js +4 -0
  99. package/dist/cdn/MF2UZ4DS.js +4 -0
  100. package/dist/cdn/MQRVQSQO.js +4 -0
  101. package/dist/cdn/MTM5YXKA.js +4 -0
  102. package/dist/cdn/MYEUYNZG.js +4 -0
  103. package/dist/cdn/N3DOEQLW.js +4 -0
  104. package/dist/cdn/NI2EMAJK.js +4 -0
  105. package/dist/cdn/O45EQXMY.js +4 -0
  106. package/dist/cdn/O5XKNA2L.js +4 -0
  107. package/dist/cdn/{EF5ADWHS.js → OAUIDKTP.js} +2 -2
  108. package/dist/cdn/OENOZGUO.js +4 -0
  109. package/dist/cdn/OGZ5IQI2.js +4 -0
  110. package/dist/cdn/OHLL7HZ4.js +4 -0
  111. package/dist/cdn/ONEKKLUN.js +4 -0
  112. package/dist/cdn/OOEL7QRQ.js +4 -0
  113. package/dist/cdn/OTFS7I2S.js +4 -0
  114. package/dist/cdn/{42FXNNW7.js → OTNCYF7D.js} +2 -2
  115. package/dist/cdn/OVIDLFD3.js +4 -0
  116. package/dist/cdn/OWLBDSIW.js +4 -0
  117. package/dist/cdn/P3XN27OY.js +4 -0
  118. package/dist/cdn/PGLET25S.js +4 -0
  119. package/dist/cdn/PJJZJI7M.js +4 -0
  120. package/dist/cdn/PZDGEZBM.js +4 -0
  121. package/dist/cdn/Q4RO35KE.js +4 -0
  122. package/dist/cdn/QASLBTBE.js +4 -0
  123. package/dist/cdn/{JSWLDDUC.js → QAWJU2QZ.js} +2 -2
  124. package/dist/cdn/QLJTAQZR.js +4 -0
  125. package/dist/cdn/QNQGIIJ4.js +4 -0
  126. package/dist/cdn/QZZI4SSK.js +4 -0
  127. package/dist/cdn/RCXJRTX5.js +4 -0
  128. package/dist/cdn/RNGVIEDV.js +4 -0
  129. package/dist/cdn/RUTMKSSP.js +4 -0
  130. package/dist/cdn/RUZSHIBF.js +4 -0
  131. package/dist/cdn/{4SFJ5GIR.js → RVGB6BNP.js} +1 -1
  132. package/dist/cdn/RYV524NG.js +4 -0
  133. package/dist/cdn/RZ7L4GPL.js +4 -0
  134. package/dist/cdn/S2LQP7SU.js +4 -0
  135. package/dist/cdn/S2VZKVYR.js +4 -0
  136. package/dist/cdn/SCQ5NIO7.js +4 -0
  137. package/dist/cdn/SIGPGXCA.js +4 -0
  138. package/dist/cdn/T4QINXNP.js +4 -0
  139. package/dist/cdn/T4ZBPEFI.js +4 -0
  140. package/dist/cdn/T5ZEEMCI.js +4 -0
  141. package/dist/cdn/TCVYA3VV.js +4 -0
  142. package/dist/cdn/TO263CW6.js +4 -0
  143. package/dist/cdn/UE4A5S34.js +4 -0
  144. package/dist/cdn/UHJMZJAE.js +4 -0
  145. package/dist/cdn/UHPYLOGM.js +4 -0
  146. package/dist/cdn/UHQ353FB.js +4 -0
  147. package/dist/cdn/URQZQ3LP.js +4 -0
  148. package/dist/cdn/UWADOIHL.js +4 -0
  149. package/dist/cdn/V74QKMUM.js +4 -0
  150. package/dist/cdn/VDFYBG6F.js +4 -0
  151. package/dist/cdn/VHCING2F.js +4 -0
  152. package/dist/cdn/VJZBYWG4.js +4 -0
  153. package/dist/cdn/{IN5MEX7L.js → VNLCD6TK.js} +2 -2
  154. package/dist/cdn/VRWNISAC.js +4 -0
  155. package/dist/cdn/WERYCZML.js +4 -0
  156. package/dist/cdn/WHNVCVG3.js +4 -0
  157. package/dist/cdn/WKVJFH6H.js +4 -0
  158. package/dist/cdn/WNL7632P.js +4 -0
  159. package/dist/cdn/WTYPZRFL.js +4 -0
  160. package/dist/cdn/X4XPFXRS.js +4 -0
  161. package/dist/cdn/XAT5AY2U.js +4 -0
  162. package/dist/cdn/{ECQIBBNZ.js → XFC6AOZZ.js} +2 -2
  163. package/dist/cdn/XGXLEYTE.js +4 -0
  164. package/dist/cdn/XHCCMEFB.js +4 -0
  165. package/dist/cdn/{KXFOXBSW.js → XLQS7KD2.js} +1 -1
  166. package/dist/cdn/XLXT24WY.js +4 -0
  167. package/dist/cdn/XNWZSDE4.js +4 -0
  168. package/dist/cdn/XOUITREH.js +4 -0
  169. package/dist/cdn/XTB5AY2U.js +4 -0
  170. package/dist/cdn/XTCWV4PB.js +4 -0
  171. package/dist/cdn/Y3RWBZE2.js +4 -0
  172. package/dist/cdn/Y3VSPTZ3.js +4 -0
  173. package/dist/cdn/YCAWVYSX.js +4 -0
  174. package/dist/cdn/YEJ4M5TX.js +4 -0
  175. package/dist/cdn/YFJYUNP3.js +4 -0
  176. package/dist/cdn/YGKAQOWJ.js +6 -0
  177. package/dist/cdn/YK5TO43F.js +4 -0
  178. package/dist/cdn/YY2FXBYX.js +4 -0
  179. package/dist/cdn/Z3K7YNWF.js +4 -0
  180. package/dist/cdn/ZFJ6UVXS.js +4 -0
  181. package/dist/cdn/ZLUAXOY2.js +4 -0
  182. package/dist/cdn/ZPG7H3IY.js +4 -0
  183. package/dist/cdn/{FAJWL466.js → ZTQLAO3A.js} +2 -2
  184. package/dist/cdn/ZXLJ7HYQ.js +4 -0
  185. package/dist/cdn/ZXPA2E6M.js +4 -0
  186. package/dist/cdn/ZZ66XDQV.js +4 -0
  187. package/dist/cdn/assets/bookmarks/t9n/messages.ar.json +1 -0
  188. package/dist/cdn/assets/bookmarks/t9n/messages.bg.json +1 -0
  189. package/dist/cdn/assets/bookmarks/t9n/messages.bs.json +1 -0
  190. package/dist/cdn/assets/bookmarks/t9n/messages.ca.json +1 -0
  191. package/dist/cdn/assets/bookmarks/t9n/messages.cs.json +1 -0
  192. package/dist/cdn/assets/bookmarks/t9n/messages.da.json +1 -0
  193. package/dist/cdn/assets/bookmarks/t9n/messages.de.json +1 -0
  194. package/dist/cdn/assets/bookmarks/t9n/messages.el.json +1 -0
  195. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -0
  196. package/dist/cdn/assets/bookmarks/t9n/messages.es.json +1 -0
  197. package/dist/cdn/assets/bookmarks/t9n/messages.et.json +1 -0
  198. package/dist/cdn/assets/bookmarks/t9n/messages.fi.json +1 -0
  199. package/dist/cdn/assets/bookmarks/t9n/messages.fr.json +1 -0
  200. package/dist/cdn/assets/bookmarks/t9n/messages.he.json +1 -0
  201. package/dist/cdn/assets/bookmarks/t9n/messages.hr.json +1 -0
  202. package/dist/cdn/assets/bookmarks/t9n/messages.hu.json +1 -0
  203. package/dist/cdn/assets/bookmarks/t9n/messages.id.json +1 -0
  204. package/dist/cdn/assets/bookmarks/t9n/messages.it.json +1 -0
  205. package/dist/cdn/assets/bookmarks/t9n/messages.ja.json +1 -0
  206. package/dist/cdn/assets/bookmarks/t9n/messages.ko.json +1 -0
  207. package/dist/cdn/assets/bookmarks/t9n/messages.lt.json +1 -0
  208. package/dist/cdn/assets/bookmarks/t9n/messages.lv.json +1 -0
  209. package/dist/cdn/assets/bookmarks/t9n/messages.nl.json +1 -0
  210. package/dist/cdn/assets/bookmarks/t9n/messages.no.json +1 -0
  211. package/dist/cdn/assets/bookmarks/t9n/messages.pl.json +1 -0
  212. package/dist/cdn/assets/bookmarks/t9n/messages.pt-BR.json +1 -0
  213. package/dist/cdn/assets/bookmarks/t9n/messages.pt-PT.json +1 -0
  214. package/dist/cdn/assets/bookmarks/t9n/messages.ro.json +1 -0
  215. package/dist/cdn/assets/bookmarks/t9n/messages.ru.json +1 -0
  216. package/dist/cdn/assets/bookmarks/t9n/messages.sk.json +1 -0
  217. package/dist/cdn/assets/bookmarks/t9n/messages.sl.json +1 -0
  218. package/dist/cdn/assets/bookmarks/t9n/messages.sr.json +1 -0
  219. package/dist/cdn/assets/bookmarks/t9n/messages.sv.json +1 -0
  220. package/dist/cdn/assets/bookmarks/t9n/messages.th.json +1 -0
  221. package/dist/cdn/assets/bookmarks/t9n/messages.tr.json +1 -0
  222. package/dist/cdn/assets/bookmarks/t9n/messages.uk.json +1 -0
  223. package/dist/cdn/assets/bookmarks/t9n/messages.vi.json +1 -0
  224. package/dist/cdn/assets/bookmarks/t9n/messages.zh-CN.json +1 -0
  225. package/dist/cdn/assets/bookmarks/t9n/messages.zh-HK.json +1 -0
  226. package/dist/cdn/assets/bookmarks/t9n/messages.zh-TW.json +1 -0
  227. package/dist/cdn/assets/feature/t9n/messages.ar.json +1 -0
  228. package/dist/cdn/assets/feature/t9n/messages.bg.json +1 -0
  229. package/dist/cdn/assets/feature/t9n/messages.bs.json +1 -0
  230. package/dist/cdn/assets/feature/t9n/messages.ca.json +1 -0
  231. package/dist/cdn/assets/feature/t9n/messages.cs.json +1 -0
  232. package/dist/cdn/assets/feature/t9n/messages.da.json +1 -0
  233. package/dist/cdn/assets/feature/t9n/messages.de.json +1 -0
  234. package/dist/cdn/assets/feature/t9n/messages.el.json +1 -0
  235. package/dist/cdn/assets/feature/t9n/messages.en.json +1 -0
  236. package/dist/cdn/assets/feature/t9n/messages.es.json +1 -0
  237. package/dist/cdn/assets/feature/t9n/messages.et.json +1 -0
  238. package/dist/cdn/assets/feature/t9n/messages.fi.json +1 -0
  239. package/dist/cdn/assets/feature/t9n/messages.fr.json +1 -0
  240. package/dist/cdn/assets/feature/t9n/messages.he.json +1 -0
  241. package/dist/cdn/assets/feature/t9n/messages.hr.json +1 -0
  242. package/dist/cdn/assets/feature/t9n/messages.hu.json +1 -0
  243. package/dist/cdn/assets/feature/t9n/messages.id.json +1 -0
  244. package/dist/cdn/assets/feature/t9n/messages.it.json +1 -0
  245. package/dist/cdn/assets/feature/t9n/messages.ja.json +1 -0
  246. package/dist/cdn/assets/feature/t9n/messages.ko.json +1 -0
  247. package/dist/cdn/assets/feature/t9n/messages.lt.json +1 -0
  248. package/dist/cdn/assets/feature/t9n/messages.lv.json +1 -0
  249. package/dist/cdn/assets/feature/t9n/messages.nl.json +1 -0
  250. package/dist/cdn/assets/feature/t9n/messages.no.json +1 -0
  251. package/dist/cdn/assets/feature/t9n/messages.pl.json +1 -0
  252. package/dist/cdn/assets/feature/t9n/messages.pt-BR.json +1 -0
  253. package/dist/cdn/assets/feature/t9n/messages.pt-PT.json +1 -0
  254. package/dist/cdn/assets/feature/t9n/messages.ro.json +1 -0
  255. package/dist/cdn/assets/feature/t9n/messages.ru.json +1 -0
  256. package/dist/cdn/assets/feature/t9n/messages.sk.json +1 -0
  257. package/dist/cdn/assets/feature/t9n/messages.sl.json +1 -0
  258. package/dist/cdn/assets/feature/t9n/messages.sr.json +1 -0
  259. package/dist/cdn/assets/feature/t9n/messages.sv.json +1 -0
  260. package/dist/cdn/assets/feature/t9n/messages.th.json +1 -0
  261. package/dist/cdn/assets/feature/t9n/messages.tr.json +1 -0
  262. package/dist/cdn/assets/feature/t9n/messages.uk.json +1 -0
  263. package/dist/cdn/assets/feature/t9n/messages.vi.json +1 -0
  264. package/dist/cdn/assets/feature/t9n/messages.zh-CN.json +1 -0
  265. package/dist/cdn/assets/feature/t9n/messages.zh-HK.json +1 -0
  266. package/dist/cdn/assets/feature/t9n/messages.zh-TW.json +1 -0
  267. package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
  268. package/dist/cdn/index.js +2 -2
  269. package/dist/cdn/main.css +1 -1
  270. package/dist/chunks/AnalysisViewModel.js +4 -4
  271. package/dist/chunks/async-utils.js +3 -3
  272. package/dist/chunks/basemap-gallery-resources.js +1 -1
  273. package/dist/chunks/chart-utils.js +66 -0
  274. package/dist/chunks/chartCommon.js +19 -0
  275. package/dist/chunks/component-utils.js +1 -1
  276. package/dist/chunks/createCloseEvent.js +1 -1
  277. package/dist/chunks/feature-utils.js +178 -0
  278. package/dist/chunks/globalCss.js +1 -1
  279. package/dist/chunks/heading.js +13 -13
  280. package/dist/chunks/layer-list.js +2 -2
  281. package/dist/chunks/legacyIcon.js +1 -1
  282. package/dist/chunks/maybe.js +1 -1
  283. package/dist/chunks/measurementUtils.js +1 -1
  284. package/dist/chunks/runtime.js +1 -1
  285. package/dist/chunks/useHandles.js +4 -4
  286. package/dist/chunks/useT9n.js +1 -1
  287. package/dist/chunks/useView.js +1 -1
  288. package/dist/chunks/useViewModel.js +2 -2
  289. package/dist/chunks/useWidget.js +2 -2
  290. package/dist/chunks/utils.js +1 -1
  291. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -5
  292. package/dist/components/arcgis-area-measurement-2d/customElement.js +2 -2
  293. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +113 -11
  294. package/dist/components/arcgis-area-measurement-3d/customElement.js +19 -23
  295. package/dist/components/arcgis-attachments/customElement.d.ts +16 -5
  296. package/dist/components/arcgis-attachments/customElement.js +8 -8
  297. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +13 -4
  298. package/dist/components/arcgis-basemap-gallery/customElement.js +31 -29
  299. package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +1 -1
  300. package/dist/components/arcgis-basemap-gallery-item/customElement.js +2 -2
  301. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +10 -5
  302. package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
  303. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +13 -4
  304. package/dist/components/arcgis-basemap-toggle/customElement.js +17 -18
  305. package/dist/components/arcgis-bookmarks/css.d.ts +22 -0
  306. package/dist/components/arcgis-bookmarks/customElement.d.ts +241 -84
  307. package/dist/components/arcgis-bookmarks/customElement.js +457 -17
  308. package/dist/components/arcgis-bookmarks/index.d.ts +21 -0
  309. package/dist/components/arcgis-bookmarks/index.js +21 -0
  310. package/dist/components/arcgis-bookmarks/interfaces.d.ts +12 -0
  311. package/dist/components/arcgis-bookmarks/user-state.d.ts +26 -0
  312. package/dist/components/arcgis-building-explorer/customElement.d.ts +30 -18
  313. package/dist/components/arcgis-building-explorer/customElement.js +2 -2
  314. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +10 -5
  315. package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
  316. package/dist/components/arcgis-compass/customElement.d.ts +12 -3
  317. package/dist/components/arcgis-compass/customElement.js +15 -16
  318. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -5
  319. package/dist/components/arcgis-coordinate-conversion/customElement.js +4 -4
  320. package/dist/components/arcgis-daylight/customElement.d.ts +36 -18
  321. package/dist/components/arcgis-daylight/customElement.js +2 -2
  322. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +114 -11
  323. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +13 -17
  324. package/dist/components/arcgis-directional-pad/customElement.d.ts +12 -3
  325. package/dist/components/arcgis-directional-pad/customElement.js +20 -21
  326. package/dist/components/arcgis-directional-pad/utils.d.ts +2 -2
  327. package/dist/components/arcgis-directions/customElement.d.ts +11 -6
  328. package/dist/components/arcgis-directions/customElement.js +2 -2
  329. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -5
  330. package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
  331. package/dist/components/arcgis-editor/customElement.d.ts +10 -5
  332. package/dist/components/arcgis-editor/customElement.js +2 -2
  333. package/dist/components/arcgis-elevation-profile/customElement.d.ts +34 -26
  334. package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
  335. package/dist/components/arcgis-expand/customElement.d.ts +14 -8
  336. package/dist/components/arcgis-expand/customElement.js +2 -2
  337. package/dist/components/arcgis-feature/customElement.d.ts +200 -86
  338. package/dist/components/arcgis-feature/customElement.js +208 -21
  339. package/dist/components/arcgis-feature/index.d.ts +8 -0
  340. package/dist/components/arcgis-feature/index.js +8 -0
  341. package/dist/components/arcgis-feature-attachments/customElement.d.ts +17 -0
  342. package/dist/components/arcgis-feature-attachments/customElement.js +37 -0
  343. package/dist/components/arcgis-feature-attachments/index.d.ts +3 -0
  344. package/dist/components/arcgis-feature-attachments/index.js +3 -0
  345. package/dist/components/arcgis-feature-content/customElement.d.ts +11 -0
  346. package/dist/components/arcgis-feature-content/customElement.js +65 -0
  347. package/dist/components/arcgis-feature-content/index.d.ts +2 -0
  348. package/dist/components/arcgis-feature-content/index.js +2 -0
  349. package/dist/components/arcgis-feature-element-info/customElement.d.ts +11 -0
  350. package/dist/components/arcgis-feature-element-info/customElement.js +42 -0
  351. package/dist/components/arcgis-feature-element-info/index.d.ts +1 -0
  352. package/dist/components/arcgis-feature-element-info/index.js +1 -0
  353. package/dist/components/arcgis-feature-expression/customElement.d.ts +21 -0
  354. package/dist/components/arcgis-feature-expression/customElement.js +248 -0
  355. package/dist/components/arcgis-feature-expression/index.d.ts +5 -0
  356. package/dist/components/arcgis-feature-expression/index.js +5 -0
  357. package/dist/components/arcgis-feature-fields/customElement.d.ts +17 -0
  358. package/dist/components/arcgis-feature-fields/customElement.js +142 -0
  359. package/dist/components/arcgis-feature-fields/index.d.ts +2 -0
  360. package/dist/components/arcgis-feature-fields/index.js +2 -0
  361. package/dist/components/arcgis-feature-form/customElement.d.ts +11 -6
  362. package/dist/components/arcgis-feature-form/customElement.js +2 -2
  363. package/dist/components/arcgis-feature-media/chartCommon.d.ts +1 -0
  364. package/dist/components/arcgis-feature-media/customElement.d.ts +36 -0
  365. package/dist/components/arcgis-feature-media/customElement.js +571 -0
  366. package/dist/components/arcgis-feature-media/index.d.ts +3 -0
  367. package/dist/components/arcgis-feature-media/index.js +3 -0
  368. package/dist/components/arcgis-feature-relationship/customElement.d.ts +86 -0
  369. package/dist/components/arcgis-feature-relationship/customElement.js +402 -0
  370. package/dist/components/arcgis-feature-relationship/index.d.ts +10 -0
  371. package/dist/components/arcgis-feature-relationship/index.js +10 -0
  372. package/dist/components/arcgis-feature-table/customElement.d.ts +11 -5
  373. package/dist/components/arcgis-feature-table/customElement.js +2 -2
  374. package/dist/components/arcgis-feature-templates/customElement.d.ts +12 -5
  375. package/dist/components/arcgis-feature-templates/customElement.js +2 -2
  376. package/dist/components/arcgis-features/customElement.d.ts +9 -4
  377. package/dist/components/arcgis-features/customElement.js +2 -2
  378. package/dist/components/arcgis-floor-filter/customElement.d.ts +12 -5
  379. package/dist/components/arcgis-floor-filter/customElement.js +2 -2
  380. package/dist/components/arcgis-fullscreen/customElement.d.ts +23 -4
  381. package/dist/components/arcgis-fullscreen/customElement.js +32 -19
  382. package/dist/components/arcgis-grid-controls/customElement.d.ts +16 -7
  383. package/dist/components/arcgis-grid-controls/customElement.js +16 -16
  384. package/dist/components/arcgis-grid-controls/gridUtils.d.ts +6 -6
  385. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +9 -4
  386. package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
  387. package/dist/components/arcgis-home/customElement.d.ts +31 -10
  388. package/dist/components/arcgis-home/customElement.js +14 -15
  389. package/dist/components/arcgis-labeled-switch/customElement.d.ts +1 -1
  390. package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
  391. package/dist/components/arcgis-layer-list/customElement.d.ts +14 -6
  392. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  393. package/dist/components/arcgis-layer-list-item/customElement.d.ts +1 -1
  394. package/dist/components/arcgis-layer-list-item/customElement.js +3 -3
  395. package/dist/components/arcgis-legend/customElement.d.ts +9 -4
  396. package/dist/components/arcgis-legend/customElement.js +2 -2
  397. package/dist/components/arcgis-line-of-sight/customElement.d.ts +77 -21
  398. package/dist/components/arcgis-line-of-sight/customElement.js +19 -23
  399. package/dist/components/arcgis-link-chart/customElement.d.ts +26 -16
  400. package/dist/components/arcgis-link-chart/customElement.js +20 -9
  401. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +13 -3
  402. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +25 -27
  403. package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +1 -2
  404. package/dist/components/arcgis-link-chart-layout-switcher/index.js +1 -2
  405. package/dist/components/arcgis-locate/LocateViewModel.d.ts +4 -5
  406. package/dist/components/arcgis-locate/customElement.d.ts +19 -7
  407. package/dist/components/arcgis-locate/customElement.js +115 -113
  408. package/dist/components/arcgis-locate/index.d.ts +0 -1
  409. package/dist/components/arcgis-locate/index.js +0 -1
  410. package/dist/components/arcgis-map/customElement.d.ts +33 -20
  411. package/dist/components/arcgis-map/customElement.js +26 -15
  412. package/dist/components/arcgis-measurement/customElement.d.ts +11 -6
  413. package/dist/components/arcgis-measurement/customElement.js +2 -2
  414. package/dist/components/arcgis-measurement-content/customElement.d.ts +1 -1
  415. package/dist/components/arcgis-measurement-content/customElement.js +12 -13
  416. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +19 -15
  417. package/dist/components/arcgis-navigation-toggle/customElement.js +17 -15
  418. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +9 -4
  419. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
  420. package/dist/components/arcgis-placement/customElement.d.ts +7 -2
  421. package/dist/components/arcgis-placement/customElement.js +2 -2
  422. package/dist/components/arcgis-print/customElement.d.ts +57 -43
  423. package/dist/components/arcgis-print/customElement.js +38 -33
  424. package/dist/components/arcgis-print/types.d.ts +40 -0
  425. package/dist/components/arcgis-print/utils.d.ts +6 -6
  426. package/dist/components/arcgis-print-custom-text-elements/customElement.d.ts +1 -1
  427. package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
  428. package/dist/components/arcgis-print-dpi-input/customElement.d.ts +1 -1
  429. package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
  430. package/dist/components/arcgis-print-export-button/customElement.d.ts +2 -8
  431. package/dist/components/arcgis-print-export-button/customElement.js +4 -5
  432. package/dist/components/arcgis-print-exported-link/customElement.d.ts +2 -2
  433. package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
  434. package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
  435. package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
  436. package/dist/components/arcgis-print-format-select/customElement.d.ts +2 -2
  437. package/dist/components/arcgis-print-format-select/customElement.js +3 -3
  438. package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +1 -1
  439. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
  440. package/dist/components/arcgis-print-layout-panel/customElement.d.ts +2 -8
  441. package/dist/components/arcgis-print-layout-panel/customElement.js +14 -15
  442. package/dist/components/arcgis-print-main-panel/customElement.d.ts +3 -9
  443. package/dist/components/arcgis-print-main-panel/customElement.js +12 -13
  444. package/dist/components/arcgis-print-map-only-advanced-options/customElement.d.ts +1 -1
  445. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
  446. package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -8
  447. package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -23
  448. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.d.ts +1 -1
  449. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +26 -22
  450. package/dist/components/arcgis-print-preview-input/customElement.d.ts +1 -1
  451. package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
  452. package/dist/components/arcgis-print-scale-section/customElement.d.ts +2 -2
  453. package/dist/components/arcgis-print-scale-section/customElement.js +26 -20
  454. package/dist/components/arcgis-print-template-select/customElement.d.ts +1 -1
  455. package/dist/components/arcgis-print-template-select/customElement.js +11 -12
  456. package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -1
  457. package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
  458. package/dist/components/arcgis-scale-bar/customElement.d.ts +13 -4
  459. package/dist/components/arcgis-scale-bar/customElement.js +66 -65
  460. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +9 -4
  461. package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
  462. package/dist/components/arcgis-scene/customElement.d.ts +158 -95
  463. package/dist/components/arcgis-scene/customElement.js +28 -17
  464. package/dist/components/arcgis-search/customElement.d.ts +59 -27
  465. package/dist/components/arcgis-search/customElement.js +42 -39
  466. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -2
  467. package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
  468. package/dist/components/arcgis-shadow-cast/customElement.d.ts +97 -34
  469. package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
  470. package/dist/components/arcgis-sketch/customElement.d.ts +13 -8
  471. package/dist/components/arcgis-sketch/customElement.js +27 -19
  472. package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -1
  473. package/dist/components/arcgis-slice/customElement.d.ts +109 -23
  474. package/dist/components/arcgis-slice/customElement.js +32 -41
  475. package/dist/components/arcgis-slider/customElement.d.ts +11 -6
  476. package/dist/components/arcgis-slider/customElement.js +2 -2
  477. package/dist/components/arcgis-swipe/customElement.d.ts +31 -5
  478. package/dist/components/arcgis-swipe/customElement.js +44 -45
  479. package/dist/components/arcgis-table-list/customElement.d.ts +10 -5
  480. package/dist/components/arcgis-table-list/customElement.js +2 -2
  481. package/dist/components/arcgis-time-slider/customElement.d.ts +9 -4
  482. package/dist/components/arcgis-time-slider/customElement.js +2 -2
  483. package/dist/components/arcgis-time-zone-label/customElement.d.ts +5 -3
  484. package/dist/components/arcgis-time-zone-label/customElement.js +11 -12
  485. package/dist/components/arcgis-track/customElement.d.ts +28 -11
  486. package/dist/components/arcgis-track/customElement.js +14 -15
  487. package/dist/components/arcgis-unit-select/customElement.d.ts +7 -3
  488. package/dist/components/arcgis-unit-select/customElement.js +22 -16
  489. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +20 -17
  490. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  491. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -5
  492. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  493. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +12 -5
  494. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  495. package/dist/components/arcgis-value-picker/customElement.d.ts +10 -5
  496. package/dist/components/arcgis-value-picker/customElement.js +2 -2
  497. package/dist/components/arcgis-version-management/customElement.d.ts +16 -9
  498. package/dist/components/arcgis-version-management/customElement.js +49 -51
  499. package/dist/components/arcgis-version-management-service-item/customElement.d.ts +3 -4
  500. package/dist/components/arcgis-version-management-service-item/customElement.js +19 -20
  501. package/dist/components/arcgis-version-management-version-item/customElement.d.ts +1 -2
  502. package/dist/components/arcgis-version-management-version-item/customElement.js +12 -12
  503. package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -2
  504. package/dist/components/arcgis-version-management-version-list/customElement.js +18 -22
  505. package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +1 -2
  506. package/dist/components/arcgis-version-management-version-properties/customElement.js +43 -44
  507. package/dist/components/arcgis-video/customElement.d.ts +28 -11
  508. package/dist/components/arcgis-video/customElement.js +15 -24
  509. package/dist/components/arcgis-video-player/customElement.d.ts +23 -7
  510. package/dist/components/arcgis-video-player/customElement.js +39 -33
  511. package/dist/components/arcgis-video-player-action-bar/customElement.d.ts +1 -1
  512. package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
  513. package/dist/components/arcgis-video-player-actions-group/customElement.d.ts +1 -1
  514. package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
  515. package/dist/components/arcgis-video-player-controls-group/customElement.d.ts +1 -1
  516. package/dist/components/arcgis-video-player-controls-group/customElement.js +13 -13
  517. package/dist/components/arcgis-video-player-metadata/customElement.d.ts +1 -1
  518. package/dist/components/arcgis-video-player-metadata/customElement.js +10 -11
  519. package/dist/components/arcgis-video-player-settings/customElement.d.ts +1 -1
  520. package/dist/components/arcgis-video-player-settings/customElement.js +8 -9
  521. package/dist/components/arcgis-video-player-slider/customElement.d.ts +1 -1
  522. package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
  523. package/dist/components/arcgis-weather/WeatherViewModel.d.ts +1 -1
  524. package/dist/components/arcgis-weather/customElement.d.ts +54 -5
  525. package/dist/components/arcgis-weather/customElement.js +17 -18
  526. package/dist/components/arcgis-zoom/customElement.d.ts +12 -3
  527. package/dist/components/arcgis-zoom/customElement.js +12 -13
  528. package/dist/controllers/Handles.d.ts +4 -4
  529. package/dist/controllers/useHandles.d.ts +5 -5
  530. package/dist/controllers/useView.d.ts +3 -3
  531. package/dist/controllers/useViewModel.d.ts +4 -4
  532. package/dist/controllers/useWidget.d.ts +9 -9
  533. package/dist/docs/api.json +3785 -1107
  534. package/dist/docs/docs.json +2854 -925
  535. package/dist/docs/vscode.html-custom-data.json +467 -174
  536. package/dist/docs/web-types.json +1076 -488
  537. package/dist/geolocation/GeolocationPositioning.d.ts +5 -6
  538. package/dist/index.d.ts +12 -3
  539. package/dist/index.js +1 -1
  540. package/dist/loader.js +27 -20
  541. package/dist/support/heading.d.ts +2 -1
  542. package/dist/support/maybe.d.ts +3 -3
  543. package/dist/types/lumina.d.ts +28 -18
  544. package/dist/types/preact.d.ts +29 -18
  545. package/dist/types/react.d.ts +30 -18
  546. package/dist/types/stencil.d.ts +28 -18
  547. package/dist/utils/async-utils.d.ts +7 -7
  548. package/dist/utils/chart-utils.d.ts +6 -0
  549. package/dist/utils/component-utils.d.ts +9 -9
  550. package/dist/utils/feature-form-utils.d.ts +6 -0
  551. package/dist/utils/feature-utils.d.ts +33 -0
  552. package/dist/utils/layer-list-utils.d.ts +17 -17
  553. package/dist/utils/related-feature-utils.d.ts +6 -0
  554. package/dist/utils/uri-utils.d.ts +4 -0
  555. package/package.json +7 -5
  556. package/dist/cdn/3CVTJ6IR.js +0 -4
  557. package/dist/cdn/3K4LQ5ZH.js +0 -4
  558. package/dist/cdn/3NYGB5KC.js +0 -4
  559. package/dist/cdn/3V7IRFXL.js +0 -4
  560. package/dist/cdn/43IJVAZP.js +0 -4
  561. package/dist/cdn/4QHWO73K.js +0 -4
  562. package/dist/cdn/4V2M77YV.js +0 -4
  563. package/dist/cdn/5FZJ2H3A.js +0 -4
  564. package/dist/cdn/5H7D7TSV.js +0 -4
  565. package/dist/cdn/5KK3XQQZ.js +0 -4
  566. package/dist/cdn/5LHNWCSF.js +0 -4
  567. package/dist/cdn/5N4BVYD2.js +0 -4
  568. package/dist/cdn/5ZJSJBH7.js +0 -4
  569. package/dist/cdn/6DLNCYNJ.js +0 -4
  570. package/dist/cdn/6EUTPSR3.js +0 -4
  571. package/dist/cdn/6JC3X4DH.js +0 -4
  572. package/dist/cdn/6VMYCMSX.js +0 -4
  573. package/dist/cdn/7DA7Y4DS.js +0 -4
  574. package/dist/cdn/7S7U4ABF.js +0 -4
  575. package/dist/cdn/AGNZOUXO.js +0 -4
  576. package/dist/cdn/APM7HWPV.js +0 -4
  577. package/dist/cdn/AXC7MHUY.js +0 -6
  578. package/dist/cdn/B7YWZFHG.js +0 -4
  579. package/dist/cdn/BGL6T3KT.js +0 -4
  580. package/dist/cdn/BIDDZ56Y.js +0 -4
  581. package/dist/cdn/BNXSE33Y.js +0 -4
  582. package/dist/cdn/BTMPB2XP.js +0 -4
  583. package/dist/cdn/BWZL65MZ.js +0 -4
  584. package/dist/cdn/C3JX4XWF.js +0 -4
  585. package/dist/cdn/C4TSJEJH.js +0 -4
  586. package/dist/cdn/C5Y2CFYN.js +0 -4
  587. package/dist/cdn/CPW7VJRT.js +0 -4
  588. package/dist/cdn/CTEALHBJ.js +0 -4
  589. package/dist/cdn/CXJCTNJJ.js +0 -4
  590. package/dist/cdn/CXVJEZRT.js +0 -4
  591. package/dist/cdn/DMKGED3D.js +0 -4
  592. package/dist/cdn/DZRQ3FJN.js +0 -4
  593. package/dist/cdn/EGXWFLZ6.js +0 -4
  594. package/dist/cdn/ESO25JEU.js +0 -4
  595. package/dist/cdn/FEHLXR64.js +0 -4
  596. package/dist/cdn/FOZYNPTO.js +0 -4
  597. package/dist/cdn/FUIIOE5K.js +0 -4
  598. package/dist/cdn/G6V7COIW.js +0 -4
  599. package/dist/cdn/GXHWA464.js +0 -4
  600. package/dist/cdn/HLUINBW7.js +0 -4
  601. package/dist/cdn/I3YONNOJ.js +0 -4
  602. package/dist/cdn/IFU5E2LC.js +0 -4
  603. package/dist/cdn/IKGGVPEL.js +0 -4
  604. package/dist/cdn/ITWSP5JU.js +0 -4
  605. package/dist/cdn/JCV3FTL7.js +0 -4
  606. package/dist/cdn/JP5OTXJX.js +0 -4
  607. package/dist/cdn/JZ6AB7NM.js +0 -4
  608. package/dist/cdn/JZO3ICTU.js +0 -4
  609. package/dist/cdn/KGJHCOZ4.js +0 -4
  610. package/dist/cdn/KHCCACST.js +0 -4
  611. package/dist/cdn/KPKM24HM.js +0 -4
  612. package/dist/cdn/L7LDYNLW.js +0 -4
  613. package/dist/cdn/LHUB6IIZ.js +0 -4
  614. package/dist/cdn/LJC6WRCS.js +0 -4
  615. package/dist/cdn/LJSRLQJH.js +0 -4
  616. package/dist/cdn/LTOXWTO6.js +0 -4
  617. package/dist/cdn/MHERALSB.js +0 -4
  618. package/dist/cdn/N2HYKSZN.js +0 -4
  619. package/dist/cdn/N3UCR7B4.js +0 -4
  620. package/dist/cdn/N7QZNEIJ.js +0 -4
  621. package/dist/cdn/NAGYELAG.js +0 -4
  622. package/dist/cdn/NH4L7TUF.js +0 -4
  623. package/dist/cdn/PITGRP5J.js +0 -4
  624. package/dist/cdn/Q4LEDOCN.js +0 -4
  625. package/dist/cdn/QGSP733R.js +0 -4
  626. package/dist/cdn/QX4PFK5W.js +0 -4
  627. package/dist/cdn/R4OCIRWR.js +0 -4
  628. package/dist/cdn/RR5F3SPW.js +0 -4
  629. package/dist/cdn/RTEPILHE.js +0 -4
  630. package/dist/cdn/RYH4JLMG.js +0 -4
  631. package/dist/cdn/SVIUUV22.js +0 -4
  632. package/dist/cdn/T4FMPBKP.js +0 -4
  633. package/dist/cdn/T7AW36YP.js +0 -4
  634. package/dist/cdn/TC2TTTMU.js +0 -4
  635. package/dist/cdn/TE3QJZJW.js +0 -4
  636. package/dist/cdn/TQV4YCGY.js +0 -4
  637. package/dist/cdn/TUT5QPQJ.js +0 -4
  638. package/dist/cdn/TY2YZASD.js +0 -4
  639. package/dist/cdn/UOH2BTYV.js +0 -4
  640. package/dist/cdn/UQXB5REP.js +0 -4
  641. package/dist/cdn/UV5D3ZXY.js +0 -4
  642. package/dist/cdn/VENK34O7.js +0 -4
  643. package/dist/cdn/VGV6LYWI.js +0 -4
  644. package/dist/cdn/VRTJXWFO.js +0 -4
  645. package/dist/cdn/VT73N5VK.js +0 -4
  646. package/dist/cdn/VZX6PQA2.js +0 -4
  647. package/dist/cdn/W2EA6D3X.js +0 -4
  648. package/dist/cdn/WFTKJB4P.js +0 -4
  649. package/dist/cdn/WOY7XX7B.js +0 -4
  650. package/dist/cdn/XGXYIF65.js +0 -4
  651. package/dist/cdn/XJ6BZ6DU.js +0 -4
  652. package/dist/cdn/XV6MSZ6U.js +0 -4
  653. package/dist/cdn/YTBQINZ7.js +0 -4
  654. package/dist/cdn/ZEROK655.js +0 -4
  655. package/dist/cdn/ZH4LI6ZS.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as u}from"./4SFJ5GIR.js";import d from"./JSWLDDUC.js";import{a as C}from"./ECQIBBNZ.js";import{a as _}from"./7MLMQPS2.js";import c from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as P}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as b,D as x,O as $,P as p,Q as w,R as y,T as D,a as v,i as f,j as g}from"./AXC7MHUY.js";export default $arcgis.t(([L,,,M])=>{var H=f`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),m=class extends ${constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=P()("state"),this.arcgisReady=b()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=x}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??y} touch-action=none>${h}</div>`}};D("arcgis-swipe",m);return m},"widgets/Swipe/SwipeViewModel",a,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import d from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as n}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as s,D as o,O as a,T as l,i}from"./AXC7MHUY.js";export default $arcgis.t(([g,,,r])=>{var d=i`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends a{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=n()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};l("arcgis-editor",t);return t},"widgets/Editor",b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{t as c,u as m,v as d,w as C,y as f}from"./AXC7MHUY.js";var P=t=>(...p)=>{let s=m(),e=new t(...p),o=e.exports;c(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let i=[e.component,...s].reverse();return f(i,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,i=n[s]!==t.exports,a=n[s]!==o,h=o!==t.exports;if(i&&!a&&h&&(n[s]=t.exports),p===t.component){if(e){let r=t.component.manager;a&&r.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&r.W(t,x)}})}t.O=e?void 0:s}let g=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(g?C(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{O as p,P as a,T as d,i as r,j as o}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:u}])=>{var m=r`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`,l="arcgis-print",c={scaleInfoContainer:`${l}__scale-info-container`,scaleInputContainer:`${l}__scale-input-container`,scaleInput:`${l}__scale-input`},n=class extends p{constructor(){super(...arguments),this._scale=0,this._scaleEnabled=!1}static{this.properties={_scale:16,_scaleEnabled:16,viewModel:0,messages:0}}static{this.styles=m}loaded(){this.manager.onLifecycle(()=>[u(()=>[this.viewModel.templateOptions.scale,this.viewModel.templateOptions.scaleEnabled],()=>{let{scale:e,scaleEnabled:t}=this.viewModel.templateOptions;this._scale=e,this._scaleEnabled=t},{initial:!0}),u(()=>this.viewModel.view?.scale,e=>{e&&(!this.viewModel.templateOptions.scaleEnabled||!this.viewModel.templateOptions.scale)&&(this.viewModel.templateOptions.scale=e)},{initial:!0})])}_resetToCurrentScale(){this.viewModel.templateOptions.scale=this.viewModel.view?.scale}render(){let{messages:e,_scale:t,_scaleEnabled:i}=this;return o`<div class=${a(c.scaleInfoContainer)}><calcite-label layout=inline><calcite-checkbox .checked=${i} @calciteCheckboxChange=${s=>{this.viewModel.templateOptions.scaleEnabled=s.target.checked,this._resetToCurrentScale()}}></calcite-checkbox>${e.scale}</calcite-label><div class=${a(c.scaleInputContainer)}><calcite-input-number .ariaLabel=${e.scaleLabel} .ariaValueNow=${`${t}`} class=${a(c.scaleInput)} .disabled=${!i} .value=${`${t}`} @calciteInputNumberInput=${s=>this.viewModel.templateOptions.scale=Number(s.currentTarget.value)}></calcite-input-number><calcite-button appearance=outline .ariaLabel=${e.reset} .disabled=${!i} icon-start=refresh kind=neutral @click=${()=>this._resetToCurrentScale()}></calcite-button></div></div>`}};d("arcgis-print-scale-section",n);return n},"core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as d}from"./LUASKWWP.js";import c from"./42FXNNW7.js";import b from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as r}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as i,D as s,O as o,T as l,i as e}from"./AXC7MHUY.js";export default $arcgis.t(([n,,{a:a},h])=>{var m=e`@layer{arcgis-table-list{display:block}}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}static{this.styles=m}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};l("arcgis-table-list",t);return t},"widgets/TableList",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as l,b as c}from"./BIDDZ56Y.js";import{A as o,O as v,T as I,i as u,j as s}from"./AXC7MHUY.js";var N=u`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends v{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=o(),this.arcgisFlowItemClose=o(),this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:V,currentUser:$,currentVersionIdentifier:d,executionError:g,hasAdvEditingUte:f,heading:_,isVersionAdministrator:E,isVersioningApiAvailable:m,pageSize:r,serviceName:w,serviceUrl:a,state:b,strings:{headers:p},strings:n,versionInfos:x}}=this,P=s`<calcite-block .heading=${p.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:a})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let C=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,F=this._paginate(this._paginatedVersionInfos,r,1).map(y=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:$,currentVersionIdentifier:d,isCurrentVersionCard:!1,hasAdvEditingUte:f,isVersionAdministrator:E,isVersioningApiAvailable:m,serviceUrl:a,strings:n,versionInfo:y}}></arcgis-version-management-version-item>`),L=x.length>r?s`<calcite-block heading .label=${p.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,U=s`<calcite-list .label=${n.labels.versionList}>${F}</calcite-list>`,B=m&&f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:a})}></calcite-fab>`:void 0,A=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${V} .description=${w} .heading=${_} .selected=${i} .showBackButton=${t} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${c(this._flowItemElement)}><calcite-panel .loading=${b==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${L}${U}${B}</calcite-panel>${C}${A}</calcite-panel></calcite-flow-item>`}};I("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import d from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as o}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as t,D as s,O as a,T as l,i}from"./AXC7MHUY.js";export default $arcgis.t(([c,,,r])=>{var n=i`@layer{arcgis-scale-range-slider{display:block}}`,h=r(c),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=o()("state","minScale","maxScale"),this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:0,state:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}};l("arcgis-scale-range-slider",e);return e},"widgets/ScaleRangeSlider",b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as P,b as N}from"./BIDDZ56Y.js";import c from"./JSWLDDUC.js";import{a as C}from"./ECQIBBNZ.js";import b from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as f,D as E,O as S,P as L,T as _,i as w,j as d,o as V}from"./AXC7MHUY.js";export default $arcgis.t(([{once:$,watch:U},T,,,y])=>{var O=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,R=y(T),k="map-components:version-management",u=class extends S{constructor(){super(...arguments),this.flowElement=P(),this.messages=C({blocking:!0}),this.viewModel=R(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=O}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){$(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[U(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:s}=this,t=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){t&&this._removeVersionPropertiesFlowItem(i),s&&this._removeVersionListFlowItem(i);return}s&&(s.versionListElementProps={...s.versionListElementProps,executionError:this.viewModel.executionError},s.versionListElementProps={...s.versionListElementProps,state:e}),t&&(t.versionPropertiesElementProps={...t.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:s,viewModel:t,viewModel:{state:n}}=this,o={closable:s,currentUser:t.userLookup.get(e),hasAdvEditingUte:t.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:t.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:s}=this,{alterVersionParameters:t}=e.detail;await s.alterVersion(t).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:t.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:s}=this,{createVersionParameters:t,switchToVersion:n}=e.detail;s.createVersion(t).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)}),n&&await this.viewModel.changeVersion(t.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:s.versioningStateLookup.get(t.featureServerUrl)})}),await this._refreshVersionList(t.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:s}=this,{url:t,name:n}=e,o=s.versioningStateLookup.get(t);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${k} - no versioning state found for feature service ${t}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(t,!0),new Error(`${k} - version ${n} not found in the versioning state for feature service ${t}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&s.changeVersion(t,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:s,versionInfo:t}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(s).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(s,t.versionIdentifier.name,t.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:n.versioningStateLookup.get(s)}),await this._refreshVersionList(s)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(s,t);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:s,viewModel:t}=this;if(i){let n=await t.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});s&&(s.versionListElementProps={...s.versionListElementProps,currentVersionIdentifier:t.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:s},initialVersionInfos:t,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,F=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),b=m!=="disabled"?F.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:s,hasAdvEditingUte:v.advancedEditingUserTypeExtensionLookup.get(l.url),heading:o,initialVersionInfos:t,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{s&&(this._removeVersionListFlowItem(s),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,A=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${L(this.mode==="dialog"?"":"component-container-flow")} ${N(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${A}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${b}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};_("arcgis-version-management",u);return u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as d}from"./LUASKWWP.js";import f from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as r}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as i,D as s,O as o,T as a,i as e}from"./AXC7MHUY.js";export default $arcgis.t(([c,,{a:l},h])=>{var n=e`@layer{arcgis-catalog-layer-list{display:block}}`,g=h(c),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.closed=!1,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,closed:5,collapsed:7,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);return t},"widgets/CatalogLayerList",b,c,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{O as s,P as n,T as a,i,j as e}from"./AXC7MHUY.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{D as o,O as r,T as l,j as a}from"./AXC7MHUY.js";var s=class extends r{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0,arcgisSubmit:0,arcgisComplete:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){let{link:t,promise:e}=this.viewModel.export(this.fileName||this.messages.untitled);this.arcgisSubmit.emit({link:t}),e.then(i=>this.arcgisComplete.emit({link:i})),this.selectExportsTab()}render(){let{messages:t}=this,{layout:e,layoutItem:i,format:n}=this.viewModel.templateOptions,m=this.viewModel.state!=="ready"||!(e||i);return a`<div><calcite-button .ariaLabel=${t.exportDescription} .disabled=${m||!(e||i?.id)&&!n} @click=${this._handlePrintMap} scale=l width=full>${t.export}</calcite-button></div>`}};l("arcgis-print-export-button",s);export{s as PrintExportButton};
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- var Cs=(...o)=>{let t=[];for(let s=0;s<o.length;s++){let n=o[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let e=t.join(" ");return t.length=0,e},v=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},fe=(o,t)=>{let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},me=(o,t,e)=>{let s=ye(t).subscribe;return s(n=>{n.some(i=>fe(o,i.target))&&e()})},ut={},ye=o=>{let t=o.join(","),e=ut[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(a=>a(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe:i=>(s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),ut[t]=void 0)})};return ut[t]=r,r},ge=(o,t)=>{let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null};var ve=(o,t,e)=>ge(o,`[${t}]`)?.getAttribute(t)??e;var be=o=>typeof o.setFocus=="function";var As=async o=>{o!=null&&(be(o)?await o.setFocus():o.focus())};var u=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},I=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}},M=o=>{let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t},_s=()=>[M(2),M(1),M(1),M(1),M(3)].join("-"),Ee="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),$e=new Set(Ee),J="en",Ce={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},Ae=async(o,t,e="")=>{let s=`${t}/${e}`,n=`${s}${o}.json`;return pt[n]??(pt[n]=Rt(o,s)),await pt[n]},pt={},Rt=async(o,t)=>{let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===J?{}:await Rt(J,t)},_e=o=>{let t=ve(o,"lang",globalThis.navigator?.language||J);return{lang:t,t9nLocale:Dt(t)}},Dt=o=>{let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=Ce[n]??n,$e.has(n)?n:e?Dt(s):J},ws=(o,t,e,s)=>{let n,r=()=>we(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),me(o,["lang"],r)},we=async(o,t,e=o.localName.split("-").slice(1).join("-"))=>{let{lang:s,t9nLocale:n}=_e(o),r=`${t}/${e}/t9n`,a=e===null?{}:await Ae(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:a}};var Q=o=>o.replace(xe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),xe=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ut=(o,t)=>{let e=t>Oe?Te:t/Se,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n},Oe=4e3,Te=2e3,Se=4;var xs=(o,t,e=!1)=>{if(!o||!t)return!1;let s=new URL(o),n=new URL(t);return!e&&s.protocol!==n.protocol||s.host==null||n.host==null?!1:s.host.toLowerCase()===n.host.toLowerCase()&&s.port===n.port};var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ft=Symbol(),kt=new WeakMap,j=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ft)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=kt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&kt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new j(typeof o=="string"?o:o+"",void 0,ft),Pe=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new j(e,o,ft)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Y.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},mt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var gt=globalThis,X=gt.trustedTypes,jt=X?X.createPolicy("lit-html",{createHTML:o=>o}):void 0,vt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+E,Ne=`<${bt}>`,x=document,z=()=>x.createComment(""),H=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,Ft=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",yt=`[
5
- \f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,zt=/>/g,_=RegExp(`>|${yt}(?:([^\\s"'>=/]+)(${yt}*=${yt}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ht=/'/g,qt=/"/g,Wt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Ss=$t(1),Ps=$t(2),Ns=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,w=x.createTreeWalker(x,129);function Kt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return jt!==void 0?jt.createHTML(t):t}var Gt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=V;for(let a=0;a<e;a++){let c=o[a],l,p,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,p=i.exec(c),p!==null);)m=i.lastIndex,i===V?p[1]==="!--"?i=Vt:p[1]!==void 0?i=zt:p[2]!==void 0?(Wt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=_):p[3]!==void 0&&(i=_):i===_?p[0]===">"?(i=n??V,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?_:p[3]==='"'?qt:Ht):i===qt||i===Ht?i=_:i===Vt||i===zt?i=V:(i=_,n=void 0);let y=i===_&&o[a+1].startsWith("/>")?" ":"";r+=i===V?c+Ne:h>=0?(s.push(l),c.slice(0,h)+vt+c.slice(h)+E+y):c+E+(h===-2?a:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},q=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,a=t.length-1,c=this.parts,[l,p]=Gt(t,e);if(this.el=o.createElement(l,s),w.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=w.nextNode())!==null&&c.length<a;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(vt)){let m=p[i++],y=n.getAttribute(h).split(E),A=/([.?@])?(.*)/.exec(m);c.push({type:1,index:r,name:A[2],strings:y,ctor:A[1]==="."?et:A[1]==="?"?st:A[1]==="@"?ot:T}),n.removeAttribute(h)}else h.startsWith(E)&&(c.push({type:6,index:r}),n.removeAttribute(h));if(Wt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=X?X.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],z()),w.nextNode(),c.push({type:2,index:++r});n.append(h[m],z())}}}else if(n.nodeType===8)if(n.data===bt)c.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)c.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=x.createElement("template");return s.innerHTML=t,s}};function O(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=H(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=O(o,n._$AS(o,t.values),n,s)),t}var tt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??x).importNode(e,!0);w.currentNode=n;let r=w.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new R(r,r.nextSibling,this,t):c.type===1?l=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(l=new nt(r,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(r=w.nextNode(),i++)}return w.currentNode=x,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=O(this,t,e),H(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Ft(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(x.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=q.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new tt(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new q(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},T=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=O(this,t,e,0),i=!H(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=r[0],c=0;c<r.length-1;c++)l=O(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),i||=!H(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+r[c+1]),this._$AH[c]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},et=class extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},st=class extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},ot=class extends T{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=O(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){O(this,t)}},Jt={M:vt,P:E,A:bt,C:1,L:Gt,R:tt,D:Ft,V:O,I:R,H:T,N:st,U:ot,B:et,F:nt},Le=gt.litHtmlPolyfillSupport;Le?.(q,R),(gt.litHtmlVersions??=[]).push("3.3.0");var Ct=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new R(t.insertBefore(z(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:Re,defineProperty:De,getOwnPropertyDescriptor:Ue,getOwnPropertyNames:ke,getOwnPropertySymbols:Me,getPrototypeOf:Ie}=Object,it=globalThis,Qt=it.trustedTypes,je=Qt?Qt.emptyScript:"",Ve=it.reactiveElementPolyfillSupport,B=(o,t)=>o,rt={toAttribute(o,t){switch(t){case Boolean:o=o?je:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},F=(o,t)=>!Re(o,t),Yt={attribute:!0,type:String,converter:rt,reflect:!1,useDefault:!1,hasChanged:F};Symbol.metadata??=Symbol("metadata"),it.litPropertyMetadata??=new WeakMap;var $=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Yt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&De(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ue(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let a=n?.call(this);r?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Yt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=Ie(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,s=[...ke(e),...Me(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(mt(n))}else t!==void 0&&e.push(mt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:rt).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:rt;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??F)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,a=this[n];i!==!0||this._$AL.has(n)||a===void 0||this.C(n,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[B("elementProperties")]=new Map,$[B("finalized")]=new Map,Ve?.({ReactiveElement:$}),(it.reactiveElementVersions??=[]).push("2.1.0");var At=globalThis,b=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,At.litElementHydrateSupport?.({LitElement:b});var ze=At.litElementPolyfillSupport;ze?.({LitElement:b});(At.litElementVersions??=[]).push("4.2.0");var ct=Symbol.for("controller"),He=o=>typeof o=="object"&&o!==null&&(ct in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Qs=o=>typeof o?.then=="function",Ys=o=>o.M.length,W,D=o=>{W!==o&&(W=o,queueMicrotask(()=>W===o?W=void 0:0))},K=o=>W,S=[],qe=o=>{if(o===void 0){S=[];return}let t=S.indexOf(o);S=t===-1?[...S,o]:S.slice(0,t+1),queueMicrotask(()=>S=[])},Be=()=>S,U,Zs=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},Fe=()=>{let o=U;return U=void 0,o},We=async(o,t)=>{let e=wt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Ke=async o=>{let t=wt(o);return await t.ready,t},wt=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(He(o))return o;let s=Fe();if(s!==void 0)return s},at=!1,Xs=o=>{at=!0;try{return o()}finally{at=!1}};var Ge=(o,t,e)=>{let s=Object.keys(o),n=s.length;k===void 0&&queueMicrotask(lt),k??=new Map;let r=k.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},k.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let a=l=>u(t,null,l),c=i[n];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},k,lt=()=>{k?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),k=void 0},Je=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((n,r)=>u(t,void 0,e===r?n:void 0)),e},Qe=(o=[K(),...Be()],t,e)=>{let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ge(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&i.manager.component===i){Je(i,a=>r(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ye=(o="",t={},e=K())=>{let s={emit:n=>{o===""&&lt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>o=n.key,s),s},Ze=Ye.bind(null,""),te;te=ct;var _t=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#n=[],this.#c=[],this.#l=[],this.#u=[],this.#h=[],this.#d=!1,this.P=new v,this.connectedCalled=!1,this.loadedCalled=!1,this[te]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#r=s,e.ready=e.P.promise,e.#i=Xt(e),e.component=s,e.#r.addController(e),e.#r.manager===void 0||(qe(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#n;#c;#l;#u;#h;#d;#r;catchUpLifecycle(){let{manager:t}=this.#r;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#i;get exports(){return this.#i}set exports(t){let e=this.#i;e!==t&&(this.#i=t,this.#a.forEach(u),this.connectedCalled&&this.O!==!1&&this.#r.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#i=e?Xt(t):t,this.#a.forEach(u)}#a;watchExports(t){let e=()=>t(this.#i);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return D(this.#r),We}get useRef(){return D(this.#r),Ke}get useRefSync(){return D(this.#r),wt}controllerRemoved(){this.#r.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#u.push(t),this.connectedCalled&&this.#r.el.isConnected&&this.#p(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),t.#t.forEach(u),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),t.#e.forEach(u),t.#h.forEach(u),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await I(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(I)),this.P.resolve(this.#i)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&u(this.hostLoaded,this),this.#o.forEach(u),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&u(this.hostUpdate,this,t),this.#n.forEach(Zt,t)}triggerUpdated(t){this.hostUpdated&&u(this.hostUpdated,this,t),this.#c.forEach(Zt,t)}triggerDestroy(){this.hostDestroy&&u(this.hostDestroy,this),this.#l.forEach(u)}triggerLifecycle(){this.hostLifecycle&&this.#p(()=>this.hostLifecycle()),this.#u.forEach(this.#p,this)}#p(t){D(this.#r);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this.#h.push(n):typeof n=="object"&&typeof n.remove=="function"&&this.#h.push(n.remove)})}};function Zt(o){u(o,void 0,this)}var ee=_t,Xt=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,n,r){if(!((n==="exports"||n==="_exports")&&n in s&&s[n]===e)&&(n in s||n in Promise.prototype||typeof n=="symbol"))return typeof s=="function"?s[n]:Reflect.get(s,n,r)}},e=new Proxy(o,t);return e};var se=";",ht=",",oe=":";var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var Xe=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[p,h,m]=l.split(se),y=p?p?.split(ht).map(ts):void 0,A=y?.map(([L])=>L),N=class extends xt{static{this.observedAttributes=y?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=A}static{this.E=h?h?.split(ht):void 0}static{this.D=m?.split(ht)}static{this.L=a}static{this.K=o}constructor(){!N.B&&(N.B=c(),N.F()),super()}};customElements.define(a,N)}},dt=Object.defineProperty,ts=o=>{let t=o.split(oe);return t.length===1?[t[0],Q(t[0])]:t},es=globalThis.HTMLElement??St,xt=class extends es{constructor(){super(),this.#e={},this.#s=[],this.I=new v,this.H=new v,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(n=>typeof n=="function"?{a:n}:n)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])dt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])dt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])dt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,n=this.#e,r=Object.values(t).find(h=>h.L===s),i=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);os(a),!e.A&&(e.A=r,customElements.define(i,r)),r.N=this;let l=document.createElement(i);r.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(n).forEach(ss,l);let p=this.isConnected;(p||this.G)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ss([o,t]){this[o]=t}var os=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},dt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var g={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),C=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ie=P(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ae="important",rs=" !"+ae,ce=P(class extends C{constructor(o){if(super(o),o.type!==g.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(rs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?ae:""):e[s]=n}}return f}});var{I:is}=Jt;var he=o=>o.strings===void 0,le=()=>document.createComment(""),Yo=(o,t,e)=>{let s=o._$AA.parentNode,n=t===void 0?o._$AB:t._$AA;if(e===void 0){let r=s.insertBefore(le(),n),i=s.insertBefore(le(),n);e=new is(r,i,o,o.options)}else{let r=e._$AB.nextSibling,i=e._$AM,a=i!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==i._$AU&&e._$AP(c)}if(r!==n||a){let c=e._$AA;for(;c!==r;){let l=c.nextSibling;s.insertBefore(c,n),c=l}}}return e},Zo=(o,t,e=o)=>(o._$AI(t,e),o),as={},de=(o,t=as)=>o._$AH=t,Xo=o=>o._$AH,tn=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var cs=P(class extends C{constructor(o){if(super(o),o.type!==g.PROPERTY&&o.type!==g.ATTRIBUTE&&o.type!==g.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!he(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===g.PROPERTY){if(t===e[s])return f}else if(o.type===g.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===g.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Nt=class extends ee{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Lt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),lt();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):u(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):u(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),D(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=Ut(t,gs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(n=>n(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},gs=1e3,Lt="autoDestroyDisabled",ue=class o extends b{constructor(){super(),this.M=[],this.manager=new Nt(this);let t=this,e=t.constructor,s=e.N,n=e.K.o,r=o.prototype.shouldUpdate;t.#o=s?.H??new v,t.I=s?.I??new v,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),n&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,n()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0,r=n?.hasChanged??F,i={attribute:s&1&&typeof t=="string"?Q(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...n,hasChanged(a,c){let l=r(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let n=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return n.t?.(this.#t.get(t)),r.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);r.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&a?.S(t,i)}}}static{this.lumina=!0}#t;#e;#s;#o;#n;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Tt?this.el:this.el.attachShadow(s));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let n of this.M)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(I(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Lt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let n of this.M)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#c(t):super.update(t)}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(ct in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},pe=o=>{let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.K=s,r.L=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s};var xn=o=>typeof o=="object"&&o!=null?ie(o):o,On=o=>typeof o=="object"&&o!=null?ce(o):o;var Tn=d;var G=pe({defaultAssetPath:"https://jsdev.arcgis.com/next/map-components/",hydratedAttribute:"hydrated"}),{customElement:Rn,getAssetPath:Dn,setAssetPath:Un}=G;G.t=void 0;G.o=void 0;G.c=void 0;G.r=void 0;export{Cs as a,me as b,ve as c,As as d,_s as e,_e as f,ws as g,xs as h,Pe as i,Ss as j,Ps as k,Ns as l,f as m,d as n,Ct as o,Qs as p,Ys as q,D as r,K as s,qe as t,Be as u,Zs as v,Xs as w,Je as x,Qe as y,Ye as z,Ze as A,_t as B,ee as C,Tt as D,Xe as E,g as F,P as G,C as H,he as I,Yo as J,Zo as K,de as L,Xo as M,tn as N,ue as O,xn as P,On as Q,Tn as R,G as S,Rn as T,Dn as U};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{O as c,P as e,T as n,i as t,j as l}from"./AXC7MHUY.js";export default $arcgis.t(([{formatDate:p}])=>{var g=t`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`,o="arcgis-video-player",r={playerControlsGroup:`${o}__controls-group`,playerTimecode:`${o}__timecode`,playerToolbar:`${o}__toolbar`};function d(i){return p(Math.round(i)*1e3,{minute:"2-digit",second:"2-digit"})}var a=class extends c{static{this.properties={viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0}}static{this.styles=g}render(){let{messages:s}=this;return l`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${s} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${d(this.currentTime)} / ${d(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${s} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`}};n("arcgis-video-player-action-bar",a);return a},"intl")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{b}from"./BIDDZ56Y.js";import d from"./JSWLDDUC.js";import{a as E}from"./ECQIBBNZ.js";import{a as _}from"./7MLMQPS2.js";import c from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as T}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as w,D as C,O as I,P as s,R as m,T as M,a as h,e as y,i as S,j as n}from"./AXC7MHUY.js";export default $arcgis.t(([R,p,{substitute:D},{watch:L},B,,,x])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(k(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:k(Math.trunc(e),360)-180}function k(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=S`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=y(),this._messages=E({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=w()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:1,customColor:[3,{converter:P}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:P}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let t=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=t?.theme?.accentColor??new R().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[L(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${s(h(c.base,_.widget,_.panel))}><div class=${s(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:o,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,o?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,o=i!=null&&i!==t;return n`<div class=${s(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${o?n`<calcite-icon class=${s(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${o&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${D(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${s(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${o=>{o.stopPropagation(),this.dynamicScaling=o.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${s(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${s(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],o=`${this._labelUid}--theme_tile_${a}`,d=`${o}__label`,g=u.gridTheme[a];return n`<div class=${s(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${o??m} .name=${`${this._labelUid}--theme`} @change=${O=>{this.theme=a,O.currentTarget.focus()}} tabindex=0 type=radio><div class=${s(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${o} id=${d??m}>${r}</calcite-label></div></div>`}};M("arcgis-grid-controls",$);return $},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{F as $,G as d,H as f,I as A,n as c}from"./AXC7MHUY.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as L}from"./B7KN6YTQ.js";import{a as v,b as f}from"./BIDDZ56Y.js";import"./EF5ADWHS.js";import{a as S}from"./ECQIBBNZ.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import{j as M}from"./BKCPYV3Y.js";import{D as C,O as T,P as h,Q as A,R as o,T as w,a as y,j as r}from"./AXC7MHUY.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import b from"./KXFOXBSW.js";import{a as _}from"./DDSDEOST.js";import{a as l}from"./73246WZV.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import{O as o,P as a,T as n,i as r,j as t}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:g},{b:m,c:p,d:d,e:h}])=>{var $=r`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s="arcgis-print",i={templateSelectContainer:`${s}__template-select-container`,templateSelectError:`${s}__template-select-error`,templateSelectArrow:`${s}__template-select-arrow`},c=class extends o{constructor(){super(...arguments),this._handles=_("disconnect"),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[g(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e)??void 0:void 0,this._handles.addHandles(g(()=>this._selectedTemplate?.state,S=>this._templateState=S??"not-loaded",{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<calcite-block class=${a(i.templateSelectContainer)} .description=${p(this._selectedTemplate)} .heading=${this._selectedTemplate?d(this._selectedTemplate,this.messages):this.messages.selectTemplate} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${e=>{(e.key==="Enter"||e.key===" ")&&this.showTemplateSelector()}} tabindex=0>${l("template-select-icon",t`<calcite-icon .icon=${(this._selectedTemplate?.layout?h(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>`)}${this._templateState==="error"?l("template-select-error",t`<calcite-icon class=${a(i.templateSelectError)} icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`):null}${l("template-select-arrow",t`<calcite-icon class=${a(i.templateSelectArrow)} .icon=${m()?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon>`)}</calcite-block>`}};n("arcgis-print-template-select",c);return c},"core/reactiveUtils",b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as O}from"./5ZJSJBH7.js";import{B as L,b as m,c as f,f as v,g,p as y,r as E,s as b,t as C,u as x,z as P}from"./AXC7MHUY.js";var w=r=>_(void 0,r),J=r=>o=>_(o,r),d=class extends L{constructor(o,e){super(o);let t=this.exports;try{E(this.component);let s=e(this.component,this),n=this.exports!==t;if(y(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s),console.error(s)}}catchUpLifecycle(){}},_=O(d);var Q=r=>(...o)=>{let e=x(),t=new r(...o);return C(e.at(-1)),t};var k="ltr",X=()=>w((r,o)=>{o.exports=k,o.onLifecycle(()=>{let e=()=>{let t=f(r.el,"dir",k);o.exports=t==="rtl"?"rtl":"ltr"};return e(),m(r.el,["dir"],e)})}),Y=r=>(o={})=>w((e,t)=>{let s=v(e.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=e;t.onLifecycle(()=>g(e.el,()=>r("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let h={...l,_lang:p,_t9nLocale:c,_loading:!1};t.exports=h;let u=l.componentLabel;typeof u=="string"&&"label"in e&&e.label==null&&(e.label??=u),i(a.messageOverrides)},o.name));let i=c=>{let l=t.exports,p=l._original??l,h=N(p,c);c&&(h._original=p),t.exports=h};return"messageOverrides"in a&&t.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),o.blocking?(t.setProvisionalExports(n,!1),t.ready):n}),N=(r,o)=>{if(!o)return r;let e={...r};return Object.entries(o).forEach(([t,s])=>{typeof s=="object"?e[t]=N(r[t],s):e[t]=s??r[t]}),e},Z=r=>M,D="arcgisPropertyChange",M=(...r)=>{let o=b(),e=P(D,void 0,o),t=!0;return o.manager.onUpdated(s=>{if(t||!o.el.isConnected){t=!1;return}for(let n of r)s.has(n)&&e.emit({name:n})}),e};export{J as a,Q as b,X as c,Y as d,Z as e};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{O as n,P as t,T as c,a as r,i as l,j as e}from"./AXC7MHUY.js";var x=l`.arcgis-print__export-section--centered{text-align:center}.esri-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}`,i="arcgis-print",s={exportSection:`${i}__export-section`,panelContainer:`${i}__panel-container`,exportedFilesEmpty:`${i}__exported-files-empty`,exportedFilesTitle:`${i}__export-title`,exportSectionCentered:`${i}__export-section--centered`},o=class extends n{static{this.properties={saveAsButtonCallback:0,viewModel:0,messages:0,allowedFormatsForSaving:1}}static{this.styles=x}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let a=this.viewModel.exportedLinks,p={[s.exportSectionCentered]:!a.length};return e`<section class=${t(r(s.exportSection,p))} role=tabpanel><div class=${t(s.panelContainer)}>${a.length===0?e`<div class=${t(s.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${t(s.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:e`<calcite-list .filterEnabled=${a.length>10} .label=${this.messages.exportedLinksList}>${a.map(d=>e`<arcgis-print-exported-link .exportedLink=${d} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`}};c("arcgis-print-exports-panel",o);export{o as PrintExportsPanel};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as S}from"./RR5F3SPW.js";import"./EF5ADWHS.js";import d from"./JSWLDDUC.js";import{a as T}from"./ECQIBBNZ.js";import{a as w}from"./7MLMQPS2.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as O}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as f,D as $,O as C,P as u,Q as M,R as y,T as x,a as v,i as _,j as a}from"./AXC7MHUY.js";export default $arcgis.t(([R,{property:h,subclass:j},{watch:A},W,E,k,H,L,,,B])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=_`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:L,cloudy:W,rainy:k,snowy:H,foggy:E},D=Object.keys(I),n=class extends R{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new L,cloudy:new W,rainy:new k,snowy:new H,foggy:new E}}initialize(){this.addHandles([A(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!D.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([j("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),G={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${D.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${G[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);return m},"core/Accessor","core/accessorSupport/decorators","core/reactiveUtils","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import a from"./JZO3ICTU.js";import"./5ZJSJBH7.js";import{e as v,f as l}from"./BKCPYV3Y.js";import{A as s,D as o,O as w,T as c,i as n}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:r},m,g,{a:e,b:a,f:p}])=>{var d=n`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,y=a(g,{}),u=a(m,{}),h=class extends w{constructor(){super(),this._map=y(this),this.view=u(this),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:4,viewpoint:0,zoom:9}}static{this.shadowRootOptions=o}static{this.styles=d}get center(){return this.view.center}set center(i){let t=l(i,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(i){this.extent?.equals(i)||(this.view.extent=i)}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){p(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,t){this.map.add(i,t)}async addLayers(i,t){this.map.addMany(i,t)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view.goTo(i,t)}async openPopup(i){await this.view.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view.whenLayerView(i)}async viewOnReady(i,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(t)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[r(()=>this.map,()=>this._map=this.map,{initial:!0,sync:!0}),r(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),r(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}};c("arcgis-link-chart",h);return h},"core/reactiveUtils","views/LinkChartView","WebLinkChart",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{b as R}from"./BIDDZ56Y.js";import e from"./JSWLDDUC.js";import{a as L}from"./ECQIBBNZ.js";import{a as v}from"./7MLMQPS2.js";import b from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as C,D as y,O as g,P as r,Q as _,T as w,a as d,j as c}from"./AXC7MHUY.js";export default $arcgis.t(([{getDefaultUnitForView:U},{watch:D},{formatNumber:S},x,,,B])=>{function M($=0,e=0){return{x:$,y:e}}var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=B(x),f=class extends g{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this._scaleComputedFrom=M(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=C()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=y}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>D(()=>{let e=this.viewModel.view;return{defaultUnit:e?U(e):void 0,stationary:e?.stationary,center:e?.center,scale:e?.scale,zoom:e?.zoom}},({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,i=this.el.getBoundingClientRect(),s=i.left+window.pageXOffset,l=i.top+window.pageYOffset,o=M(s,l);(o.x!==e.x||o.y!==e.y)&&(this._scaleComputedFrom=o)}_formatDistance(e,i){return S(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[v.disabled]:e},s,l;if(!e){let{unit:o,barStyle:u}=this,b=o==="imperial"||o==="dual",p=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":u;if(b){let n=this.viewModel.getScaleBarProperties(m,"imperial");n&&(l=h==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(m,"metric");n&&(s=h==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${r(d(t.base,v.widget,i))} ${R(this._handleContainerRef)}>${s}${l}</div>`}_renderRuler(e){let{length:i,unit:s,value:l}=e,o=Math.round(i),u=this._formatDistance(l,s);return c`<div class=${r(d(t.barContainer,t.rulerBarContainer))}><div class=${r(t.ruler)} style=${_({width:`${o}px`})}><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div></div><div class=${r(d(t.labelContainer,t.rulerLabelContainer))}><div class=${r(t.label)}>0</div><div class=${r(t.label)}>${u}</div></div></div>`}_renderLine(e,i){let{length:s,unit:l,value:o}=e,u=Math.round(s),b=this._formatDistance(o,l),p={[t.topLabelContainer]:i==="top",[t.bottomLabelContainer]:i==="bottom"},m=c`<div class=${r(d(t.labelContainer,t.lineLabelContainer,p))}><div class=${r(t.label)}>${b}</div></div>`,h={[t.topLine]:i==="top",[t.bottomLine]:i==="bottom"},n=c`<div class=${r(d(t.line,h))} style=${_({width:`${u}px`})}></div>`;return c`<div class=${r(d(t.barContainer,t.lineBarContainer))}>${[n,m]}</div>`}};w("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import a from"./KXFOXBSW.js";import{a as f}from"./73246WZV.js";import{D as m,O as r,T as c,j as i}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:h},{f:n}])=>{var l=class extends r{constructor(){super(...arguments),this._formats=[]}static{this.properties={_formats:16,viewModel:0,messages:0}}static{this.shadowRootOptions=m}loaded(){this.manager.onLifecycle(()=>[h(()=>[this.viewModel.templateOptions.format,this.viewModel.templatesInfo?.format],()=>{let t=this.viewModel.templatesInfo;if(!t)return;if(this._formats.length!==t.format.choiceList.length){let o=[...n.values()];this._formats=t.format.choiceList.map(e=>{let s=o.find(p=>new RegExp(`\\b${p}\\b`,"iu").test(e))??e;return{value:s,label:e===s?e.toUpperCase():e}}).sort((e,s)=>e.label.localeCompare(s.label))}let a=this._formats.some(({value:o})=>new RegExp(`\\b${o}\\b`,"iu").test(this.viewModel.templateOptions.format));if(t.format.defaultValue&&!a){let o=this._formats.find(({value:e})=>new RegExp(`\\b${e}\\b`,"iu").test(t.format.defaultValue))?.value;o&&(this.viewModel.templateOptions.format=o);return}},{initial:!0})])}render(){return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({currentTarget:t})=>{let a=t.selectedItems[0]?.value;this.viewModel.templateOptions.format=a??"pdf"}}>${this._formats.map(({value:t,label:a},o)=>f(`file-format-${o}`,i`<calcite-combobox-item .heading=${a} .selected=${t===this.viewModel.templateOptions.format} .value=${t}></calcite-combobox-item>`))}</calcite-combobox></calcite-label></div>`}};c("arcgis-print-format-select",l);return l},"core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import e from"./576TH74N.js";import d from"./62NV7NFZ.js";import"./EAVGPD6R.js";import c from"./JSWLDDUC.js";import{a as $}from"./ECQIBBNZ.js";import{a as p}from"./7MLMQPS2.js";import b from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as w}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as m,D as f,O as v,P as i,T as _,i as y,j as l}from"./AXC7MHUY.js";export default $arcgis.t(([A,{property:O,subclass:C},,,b,,x])=>{var k=y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,r="arcgis-line-of-sight",n={base:r,actions:`${r}__actions`,container:`${r}__container`,error:`${r}__error`,hint:`${r}__hint`,hintText:`${r}__hint-text`,newAnalysisButton:`${r}__new-analysis-button`},D=Object.defineProperty,S=Object.getOwnPropertyDescriptor,M=(t,s,a,o)=>{for(var e=o>1?void 0:o?S(s,a):s,d=t.length-1,h;d>=0;d--)(h=t[d])&&(e=(o?h(s,a,e):h(e))||e);return o&&e&&D(s,a,e),e},c=class extends x{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new A}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(t){return await this.analysisView?.place(t)}};M([O({readOnly:!0})],c.prototype,"state",1);c=M([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var L=b(c),u=class extends v{constructor(){super(...arguments),this.viewModel=L(this),this._messages=$({blocking:!0}),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=w()("analysis","state"),this.arcgisReady=m()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,state:32,_supported:16}}static{this.shadowRootOptions=f}static{this.styles=k}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}render(){return l`<div class=${i({[n.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${i(n.error)}><p>${this._messages.unsupported}</p></div>`;let s=this.viewModel.state,a=s==="creating";return l`<div class=${i(n.container)}>${a?l`<div class=${i(n.hint)}><p class=${i(n.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${i(n.actions)}>${s==="creating"?g({onClick:()=>{this.stop()},children:this._messages.done}):null}${s==="created"?g({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${g({className:n.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:s==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function g({className:t,onClick:s,primary:a,disabled:o,children:e}){return l`<calcite-button .appearance=${a?"solid":"outline-fill"} class=${i(t)} .disabled=${o} @click=${s}>${e}</calcite-button>`}_("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,b,c,d,e)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as d}from"./B7KN6YTQ.js";import{a as h}from"./LUASKWWP.js";import f from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as o}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as e,D as i,O as s,T as a}from"./AXC7MHUY.js";export default $arcgis.t(([c,,{a:r},l])=>{var w=l(c),t=class extends s{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=h(this),this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=i}static{this.styles=d}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(n,g){this.widget?.triggerAction(n,g)}};a("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import d from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as r}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as i,D as e,O as a,T as o,i as s}from"./AXC7MHUY.js";export default $arcgis.t(([h,,,n])=>{var p=s`@layer{arcgis-area-measurement-2d{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,snappingOptions:0,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=p}async clear(){this.viewModel?.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel?.start()}};o("arcgis-area-measurement-2d",t);return t},"widgets/AreaMeasurement2D",b,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{D as a,O as r,T as s,j as i}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:o}])=>{var t=class extends r{constructor(){super(...arguments),this._showPrintAreaEnabled=!1}static{this.properties={_showPrintAreaEnabled:16,viewModel:0,messages:0}}static{this.shadowRootOptions=a}loaded(){this.manager.onLifecycle(()=>[o(()=>[this.viewModel.showPrintAreaEnabled],()=>{let{showPrintAreaEnabled:e}=this.viewModel;this._showPrintAreaEnabled=e},{initial:!0})])}render(){return i`<calcite-label layout=inline><calcite-switch .checked=${this._showPrintAreaEnabled} @calciteSwitchChange=${e=>{this.viewModel.showPrintAreaEnabled=!!e.currentTarget.checked}}></calcite-switch>${this.messages.printPreview}</calcite-label>`}};s("arcgis-print-preview-input",t);return t},"core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as d,c as m}from"./TD3FQAZG.js";import j from"./576TH74N.js";import i from"./62NV7NFZ.js";import"./EAVGPD6R.js";import e from"./JSWLDDUC.js";import{a as $}from"./ECQIBBNZ.js";import{a as p}from"./7MLMQPS2.js";import c from"./JZO3ICTU.js";import a from"./IN5MEX7L.js";import{e as M}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as g,D as w,O as f,P as v,R as b,T as O,i as h,j as y}from"./AXC7MHUY.js";export default $arcgis.t(([L,{getDefaultUnitForView:S},{property:o,subclass:V},{watch:_},{hasValidAreaResult:C},,,U,,A])=>{var E=h`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,P=Object.defineProperty,R=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?R(t,s):t,l=e.length-1,u;l>=0;l--)(u=e[l])&&(a=(r?u(t,s,a):u(a))||a);return r&&a&&P(t,s,a),a},i=class extends A{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Area Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(_(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.geometry==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let{analysisView:e}=this,t=e?.result,s=t?.mode??"euclidean",r=e!=null&&C(e);return{mode:s,area:m(t?.area,r),perimeter:m(t?.perimeter,r)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>d.includes(t));return e&&e.length>0?e:d.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new L}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([V("components.area-measurement-3d.AreaMeasurement3dViewModel")],i);var x="arcgis-area-measurement-3d",k={base:x},T=U(i),c=class extends f{constructor(){super(...arguments),this.viewModel=T(this),this.messages=$({blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-area",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=g()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=w}static{this.styles=E}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:u}=a;return y`<div aria-label=${t.componentLabel??b} class=${v({[k.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.area,measurement:l.area},{title:t.perimeterLength,measurement:l.perimeter}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${D=>{this.unit=D.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${u==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};O("arcgis-area-measurement-3d",c);return c},"analysis/AreaMeasurementAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,e,i,j)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{a as u}from"./ECQIBBNZ.js";import{a as b}from"./7MLMQPS2.js";import a from"./IN5MEX7L.js";import{e as y}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as d,D as g,O as h,P as m,R as e,T as v,i as l,j as p}from"./AXC7MHUY.js";export default $arcgis.t(([{when:M},{a:f}])=>{var w="arcgis-navigation-toggle",x={base:w},_=l`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`,o={pan:"move",rotate:"rotate"},s=class extends h{constructor(){super(...arguments),this.view=f(this),this._messages=u(),this.icon=o.pan,this.layout="vertical",this.navigationMode="pan",this.position="top-left",this.state="disabled",this.arcgisPropertyChange=y()("layout","state"),this.arcgisReady=d()}static{this.properties={icon:1,label:1,layout:3,messageOverrides:0,navigationMode:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=g}static{this.styles=_}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{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()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_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,navigationMode:a,state:$}=this,n=t.pan??"",c=t.rotate??"",i=$==="disabled",r=a==="pan";return p`<calcite-action-bar class=${m({[x.base]:!0,[b.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${o.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${o.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};v("arcgis-navigation-toggle",s);return s},"core/reactiveUtils",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import{O as o,T as n,i as s,j as t}from"./AXC7MHUY.js";export default $arcgis.t(([d,{watch:v}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:i,value:c})=>t`<calcite-list-item .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} open><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return t`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=void 0}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?m:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);return a},"Color","core/reactiveUtils")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import b from"./JZO3ICTU.js";import"./5ZJSJBH7.js";import{A as s,D as a,O as r,T as o,i as t}from"./AXC7MHUY.js";export default $arcgis.t(([{watch:h},d,c,{b:l}])=>{var n=t`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`,y=l(c,{omitProps:["container","navigation","scale","ui"]}),i=class extends r{constructor(){super(),this.autoDestroyDisabled=!1,this.view=y(this),this.ready=this.view.ready,this.layer=this.view.layer,this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={autoDestroyDisabled:5,view:32,ready:4,layer:0,layerUrl:3}}static{this.shadowRootOptions=a}static{this.styles=n}get layerUrl(){return this.layer?.url}set layerUrl(e){this.layer=new d({url:e})}async destroy(){await this.manager.destroy()}load(){let e=this;e.el.childElem=document.createElement("div"),e.el.append(e.el.childElem),this.view.container=e.el.childElem}loaded(){this.manager.onLifecycle(()=>[h(()=>this.layer,()=>{this.layer&&this.view&&(this.view.layer=this.layer,this.layer.loaded||this.layer.load())},{initial:!0}),h(()=>this.view.ready,()=>{this.view.ready&&this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}};o("arcgis-video",i);return i},"core/reactiveUtils","layers/VideoLayer","views/VideoView",b)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import f from"./JSWLDDUC.js";import{a as w}from"./ECQIBBNZ.js";import{a}from"./7MLMQPS2.js";import e from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as p}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as n,D as m,O as h,P as o,R as d,T as g,a as l,i as c,j as i}from"./AXC7MHUY.js";export default $arcgis.t(([u,,{a:v},f])=>{var y=c`@layer{arcgis-home{display:block}}`,M={base:"esri-home"},$=f(u),r=class extends h{constructor(){super(...arguments),this.messages=w(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=v(()=>this.viewModel,"go"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=n()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=m}static{this.styles=y}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,s=t==="going-home";return i`<div class=${o(l(M.base,a.widget))}><calcite-button class=${o(a.widgetButton)} .disabled=${t==="disabled"} .iconStart=${s?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??d}>${s?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};g("arcgis-home",r);return r},"widgets/Home/HomeViewModel",b,e,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/4.34/esri/copyright.txt for details.
3
- v4.34.0-next.7 */
4
- import e from"./42FXNNW7.js";import c from"./JZO3ICTU.js";import b from"./IN5MEX7L.js";import{e as d}from"./BWZL65MZ.js";import"./5ZJSJBH7.js";import"./BKCPYV3Y.js";import{A as s,D as a,O as n,T as o,i}from"./AXC7MHUY.js";export default $arcgis.t(([r,,,h])=>{var c=i`@layer{arcgis-feature{display:block}}`,p=h(r),e=class extends n{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideLastEditedInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideLastEditedInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);return e},"widgets/Feature",b,c,e)