@arcgis/ai-components 5.2.0-next.12 → 5.2.0-next.120

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 (583) hide show
  1. package/LICENSE.md +4 -2
  2. package/README.md +2 -2
  3. package/dist/agent-utils/LLMAgent.d.ts +9 -7
  4. package/dist/agent-utils/LLMAgent.js +90 -62
  5. package/dist/agent-utils/WorkflowAgent.js +14 -15
  6. package/dist/agent-utils/index.d.ts +78 -0
  7. package/dist/agent-utils/index.js +116 -97
  8. package/dist/agent-utils/middlewares/trace.d.ts +2 -0
  9. package/dist/agent-utils/middlewares/trace.js +5 -5
  10. package/dist/agent-utils/types.d.ts +28 -15
  11. package/dist/agentic-workflow/AgenticWorkflowRuntime.d.ts +24 -0
  12. package/dist/agentic-workflow/Edge.d.ts +16 -0
  13. package/dist/agentic-workflow/WebAgent.d.ts +39 -0
  14. package/dist/agentic-workflow/jsonTypes.d.ts +223 -0
  15. package/dist/agentic-workflow/nodes/AgentNode.d.ts +28 -0
  16. package/dist/agentic-workflow/nodes/BaseNode.d.ts +35 -0
  17. package/dist/agentic-workflow/nodes/EndMessageNode.d.ts +25 -0
  18. package/dist/agentic-workflow/nodes/HumanInTheLoopNode.d.ts +37 -0
  19. package/dist/agentic-workflow/nodes/StartNode.d.ts +21 -0
  20. package/dist/agentic-workflow/nodes/tools/ArcgisTool.d.ts +21 -0
  21. package/dist/agentic-workflow/types.d.ts +29 -0
  22. package/dist/agents/runtime/skill/createSkillAgent.d.ts +28 -0
  23. package/dist/agents/runtime/skill/createSkillAgent.js +286 -0
  24. package/dist/agents/runtime/skill/loadAgentSkills.d.ts +16 -0
  25. package/dist/agents/runtime/skill/types.d.ts +20 -0
  26. package/dist/{cdn/WNS5ZUF5.js → agents/runtime/skill/types.js} +1 -1
  27. package/dist/agents/tools/filter/clearFilters/adapter.d.ts +8 -0
  28. package/dist/agents/tools/filter/clearFilters/adapter.js +22 -0
  29. package/dist/agents/tools/filter/resetMap/adapter.d.ts +8 -0
  30. package/dist/agents/tools/filter/resetMap/adapter.js +22 -0
  31. package/dist/agents/tools/filter/setFeatureEffect/adapter.d.ts +8 -0
  32. package/dist/agents/tools/filter/setFeatureEffect/adapter.js +122 -0
  33. package/dist/agents/tools/help/listFields/adapter.d.ts +11 -0
  34. package/dist/agents/tools/help/listFields/adapter.js +30 -0
  35. package/dist/agents/tools/navigation/goToAddress/adapter.d.ts +10 -0
  36. package/dist/agents/tools/navigation/goToAddress/adapter.js +60 -0
  37. package/dist/agents/tools/navigation/goToBookmark/adapter.d.ts +8 -0
  38. package/dist/agents/tools/navigation/goToBookmark/adapter.js +30 -0
  39. package/dist/agents/tools/navigation/goToFeatures/adapter.d.ts +8 -0
  40. package/dist/agents/tools/navigation/goToFeatures/adapter.js +50 -0
  41. package/dist/agents/tools/navigation/goToFullExtent/adapter.d.ts +8 -0
  42. package/dist/agents/tools/navigation/goToFullExtent/adapter.js +27 -0
  43. package/dist/agents/tools/navigation/goToHomeExtent/adapter.d.ts +8 -0
  44. package/dist/agents/tools/navigation/goToHomeExtent/adapter.js +24 -0
  45. package/dist/agents/tools/navigation/goToLayer/adapter.d.ts +8 -0
  46. package/dist/agents/tools/navigation/goToLayer/adapter.js +26 -0
  47. package/dist/agents/tools/navigation/goToScale/adapter.d.ts +8 -0
  48. package/dist/agents/tools/navigation/goToScale/adapter.js +21 -0
  49. package/dist/agents/tools/navigation/goToViewpoint/adapter.d.ts +8 -0
  50. package/dist/agents/tools/navigation/goToViewpoint/adapter.js +42 -0
  51. package/dist/agents/tools/navigation/goToZoom/adapter.d.ts +8 -0
  52. package/dist/agents/tools/navigation/goToZoom/adapter.js +21 -0
  53. package/dist/agents/tools/query/getAttribute/adapter.d.ts +8 -0
  54. package/dist/agents/tools/query/getAttribute/adapter.js +40 -0
  55. package/dist/agents/tools/query/getStatistics/adapter.d.ts +8 -0
  56. package/dist/agents/tools/query/getStatistics/adapter.js +158 -0
  57. package/dist/agents/tools/query/getTopFeatures/adapter.d.ts +8 -0
  58. package/dist/agents/tools/query/getTopFeatures/adapter.js +145 -0
  59. package/dist/agents/tools/query/queryFeatures/adapter.d.ts +8 -0
  60. package/dist/agents/tools/query/queryFeatures/adapter.js +131 -0
  61. package/dist/agents/tools/search/findRelevantFields/adapter.d.ts +8 -0
  62. package/dist/agents/tools/search/findRelevantFields/adapter.js +57 -0
  63. package/dist/agents/tools/search/findRelevantLayers/adapter.d.ts +8 -0
  64. package/dist/agents/tools/search/findRelevantLayers/adapter.js +38 -0
  65. package/dist/agents/tools/shared/resolveToolArtifact.d.ts +22 -0
  66. package/dist/agents/tools/shared/resolveToolArtifact.js +20 -0
  67. package/dist/agents/tools/shared/types.d.ts +22 -0
  68. package/dist/agents/tools/shared/types.js +6 -0
  69. package/dist/cdn/2BNQ6A6J.js +2 -0
  70. package/dist/cdn/2I2FHPHR.js +72 -0
  71. package/dist/cdn/2NODROJN.js +50 -0
  72. package/dist/cdn/34O57OGV.js +2 -0
  73. package/dist/cdn/4PKMJMND.js +2 -0
  74. package/dist/cdn/5BBXNT75.js +66 -0
  75. package/dist/cdn/5HBAJ57P.js +2 -0
  76. package/dist/cdn/5MK44FNO.js +2 -0
  77. package/dist/cdn/5Q2XRQS6.js +2 -0
  78. package/dist/cdn/6ECRQVHY.js +2 -0
  79. package/dist/cdn/6OUIUXAJ.js +2 -0
  80. package/dist/cdn/6XZYQ74A.js +6 -0
  81. package/dist/cdn/73TMZQI5.js +2 -0
  82. package/dist/cdn/74CVYM72.js +19 -0
  83. package/dist/cdn/{5CV7R5IS.js → 7W7KWR5O.js} +5 -5
  84. package/dist/cdn/{ZS2TZ6BF.js → AOVJ34QE.js} +1 -1
  85. package/dist/cdn/{Q7TL5Q5N.js → APFZY4PI.js} +1 -1
  86. package/dist/cdn/AUDVUNF3.js +2 -0
  87. package/dist/cdn/AVRS6UCQ.js +2 -0
  88. package/dist/cdn/AXTQU5YL.js +56 -0
  89. package/dist/cdn/BFZ5S7NF.js +2 -0
  90. package/dist/cdn/BJUX4AYP.js +2 -0
  91. package/dist/cdn/BN7CIVBD.js +2 -0
  92. package/dist/cdn/C2W6MBDB.js +2 -0
  93. package/dist/cdn/CA3RNGPN.js +2 -0
  94. package/dist/cdn/CCC6LBMY.js +2 -0
  95. package/dist/cdn/{5ZZGKP7N.js → CEKOEHB3.js} +1 -1
  96. package/dist/cdn/CF2V3NER.js +177 -0
  97. package/dist/cdn/CFAC4FN3.js +2 -0
  98. package/dist/cdn/CLTV27HJ.js +2 -0
  99. package/dist/cdn/COH3QXWG.js +4 -0
  100. package/dist/cdn/CPQGLQGY.js +2 -0
  101. package/dist/cdn/CT2ZOYNX.js +2 -0
  102. package/dist/cdn/DB2TFPIO.js +2 -0
  103. package/dist/cdn/DKA6PSYN.js +2 -0
  104. package/dist/cdn/DNV3L5M6.js +2 -0
  105. package/dist/cdn/EDVH3G5A.js +2 -0
  106. package/dist/cdn/EIZR3Q5O.js +2 -0
  107. package/dist/cdn/EJ7QJLUE.js +2 -0
  108. package/dist/cdn/ES54NWOB.js +11 -0
  109. package/dist/cdn/FCI6M62J.js +2 -0
  110. package/dist/cdn/FDOMMK2M.js +2 -0
  111. package/dist/cdn/FYIZOGHC.js +2 -0
  112. package/dist/cdn/{T537PKP4.js → FYZATVB3.js} +1 -1
  113. package/dist/cdn/FZTNWDOU.js +2 -0
  114. package/dist/cdn/GKWMAWFZ.js +2 -0
  115. package/dist/cdn/HFHRMM6Q.js +2 -0
  116. package/dist/cdn/HIAQARIQ.js +2 -0
  117. package/dist/cdn/HR6GWPKX.js +2 -0
  118. package/dist/cdn/HSILCMAR.js +2 -0
  119. package/dist/cdn/HTB76P2C.js +14 -0
  120. package/dist/cdn/HWGAJ4WN.js +2 -0
  121. package/dist/cdn/{FX7UOGHP.js → ICBIUFK7.js} +1 -1
  122. package/dist/cdn/IHP25JWI.js +99 -0
  123. package/dist/cdn/IHRX74QJ.js +2 -0
  124. package/dist/cdn/IMRIVNHX.js +2 -0
  125. package/dist/cdn/ITCZC2VY.js +2 -0
  126. package/dist/cdn/IYLFJCJ2.js +181 -0
  127. package/dist/cdn/{5W7S2RS4.js → J4YHT55S.js} +1 -1
  128. package/dist/cdn/J6A4AS7E.js +22 -0
  129. package/dist/cdn/{NE7E52YR.js → JEBRN3EU.js} +9 -3
  130. package/dist/cdn/JNOH4PD5.js +2 -0
  131. package/dist/cdn/JTEY4E7E.js +2 -0
  132. package/dist/cdn/K5JVB6FU.js +2 -0
  133. package/dist/cdn/K7BUBCK7.js +2 -0
  134. package/dist/cdn/K7XWGSLN.js +2 -0
  135. package/dist/cdn/K7YQIJFT.js +2 -0
  136. package/dist/cdn/KA3S22NQ.js +2 -0
  137. package/dist/cdn/KH4V4I3W.js +2 -0
  138. package/dist/cdn/KMLJS2VW.js +2 -0
  139. package/dist/cdn/LDIUJUI7.js +2 -0
  140. package/dist/cdn/{7RCQFLPP.js → LK7ZIQW6.js} +1 -1
  141. package/dist/cdn/LOQ2PKV5.js +208 -0
  142. package/dist/cdn/LRH2ZPVW.js +2 -0
  143. package/dist/cdn/LXPGQNXQ.js +5 -0
  144. package/dist/cdn/MJSIYEWN.js +2 -0
  145. package/dist/cdn/{ZEYIBYSF.js → MWYBF3F3.js} +1 -1
  146. package/dist/cdn/NEV6OZN3.js +71 -0
  147. package/dist/cdn/{23EQTPO3.js → OKVLGJAG.js} +1 -1
  148. package/dist/cdn/ONQ6JSBJ.js +2 -0
  149. package/dist/cdn/{6ZW7Z36F.js → OT5ECP4V.js} +5 -3
  150. package/dist/cdn/OTOQL3QM.js +3 -0
  151. package/dist/cdn/OZAZ277H.js +2 -0
  152. package/dist/cdn/P4XZMBU5.js +2 -0
  153. package/dist/cdn/{LQ6R5YRN.js → PQ2DPOFM.js} +1 -1
  154. package/dist/cdn/{DXVU45KM.js → QRMRID2M.js} +1 -1
  155. package/dist/cdn/QUZTFUWM.js +1 -0
  156. package/dist/cdn/QZL4SAYR.js +6 -0
  157. package/dist/cdn/R74ZHFA6.js +2 -0
  158. package/dist/cdn/RGOCE3QN.js +2 -0
  159. package/dist/cdn/RGVC76RW.js +2 -0
  160. package/dist/cdn/RHYNE5OE.js +2 -0
  161. package/dist/cdn/RIN3RP7D.js +3 -0
  162. package/dist/cdn/{X2ZDYHCG.js → SDWWUWAF.js} +10 -5
  163. package/dist/cdn/SLD4ZVT6.js +2 -0
  164. package/dist/cdn/SLR75R32.js +9 -0
  165. package/dist/cdn/STHBRTTD.js +2 -0
  166. package/dist/cdn/SWVRA77H.js +2 -0
  167. package/dist/cdn/TLQ75QXG.js +2 -0
  168. package/dist/cdn/TPF5Z277.js +3 -0
  169. package/dist/cdn/TPULIO6I.js +34 -0
  170. package/dist/cdn/TVEEQSMF.js +2 -0
  171. package/dist/cdn/UCTC4JN4.js +3 -0
  172. package/dist/cdn/{6YMR4QSD.js → UHEYPSOR.js} +1 -1
  173. package/dist/cdn/UIIVUHXL.js +2 -0
  174. package/dist/cdn/UO5PBOQR.js +2 -0
  175. package/dist/cdn/UT6JA4TK.js +14 -0
  176. package/dist/cdn/UWZQWGZP.js +2 -0
  177. package/dist/cdn/UXYYH6XF.js +2 -0
  178. package/dist/cdn/UZLQALHY.js +2 -0
  179. package/dist/cdn/{P7DG5T3Z.js → V7Y22FRP.js} +1 -1
  180. package/dist/cdn/VAXH6RUQ.js +134 -0
  181. package/dist/cdn/VF4BIBQT.js +2 -0
  182. package/dist/cdn/VR3CF3ZY.js +2 -0
  183. package/dist/cdn/VWP2B4LB.js +2 -0
  184. package/dist/cdn/VXFQANGJ.js +2 -0
  185. package/dist/cdn/WKZHFSH3.js +2 -0
  186. package/dist/cdn/WVP73XWD.js +2 -0
  187. package/dist/cdn/WXQ26G5Q.js +2 -0
  188. package/dist/cdn/XQ3NBBQ3.js +2 -0
  189. package/dist/cdn/XUYARLRP.js +2 -0
  190. package/dist/cdn/XV3DHHYJ.js +2 -0
  191. package/dist/cdn/Y2BCEVV6.js +2 -0
  192. package/dist/cdn/{7CYGX4F4.js → YHWYTHID.js} +1 -1
  193. package/dist/cdn/YIZ7PR2G.js +2 -0
  194. package/dist/cdn/YJ4MZOVC.js +2 -0
  195. package/dist/cdn/YXIPCGGP.js +2 -0
  196. package/dist/cdn/YYFKFPSN.js +2 -0
  197. package/dist/cdn/Z5XQLSYH.js +2 -0
  198. package/dist/cdn/ZA2WIUWH.js +2 -0
  199. package/dist/cdn/ZCFYGCCV.js +2 -0
  200. package/dist/cdn/ZGZX7GR5.js +2 -0
  201. package/dist/cdn/{ZTBA5PM7.js → ZU2FHVNK.js} +1 -1
  202. package/dist/cdn/agent-utils/index.js +1 -1
  203. package/dist/cdn/agent-utils/middlewares/humanInTheLoop.js +1 -2
  204. package/dist/cdn/agent-utils/middlewares/middleware.js +1 -1
  205. package/dist/cdn/agent-utils/middlewares/trace.js +1 -1
  206. package/dist/cdn/assets/agents/t9n/messages.en.json +1 -0
  207. package/dist/cdn/assets/assistant/t9n/messages.ar.json +1 -1
  208. package/dist/cdn/assets/assistant/t9n/messages.bg.json +1 -1
  209. package/dist/cdn/assets/assistant/t9n/messages.bs.json +1 -1
  210. package/dist/cdn/assets/assistant/t9n/messages.ca.json +1 -1
  211. package/dist/cdn/assets/assistant/t9n/messages.cs.json +1 -1
  212. package/dist/cdn/assets/assistant/t9n/messages.da.json +1 -1
  213. package/dist/cdn/assets/assistant/t9n/messages.de.json +1 -1
  214. package/dist/cdn/assets/assistant/t9n/messages.el.json +1 -1
  215. package/dist/cdn/assets/assistant/t9n/messages.en.json +1 -1
  216. package/dist/cdn/assets/assistant/t9n/messages.es.json +1 -1
  217. package/dist/cdn/assets/assistant/t9n/messages.et.json +1 -1
  218. package/dist/cdn/assets/assistant/t9n/messages.fi.json +1 -1
  219. package/dist/cdn/assets/assistant/t9n/messages.fr.json +1 -1
  220. package/dist/cdn/assets/assistant/t9n/messages.he.json +1 -1
  221. package/dist/cdn/assets/assistant/t9n/messages.hr.json +1 -1
  222. package/dist/cdn/assets/assistant/t9n/messages.hu.json +1 -1
  223. package/dist/cdn/assets/assistant/t9n/messages.id.json +1 -1
  224. package/dist/cdn/assets/assistant/t9n/messages.it.json +1 -1
  225. package/dist/cdn/assets/assistant/t9n/messages.ja.json +1 -1
  226. package/dist/cdn/assets/assistant/t9n/messages.ko.json +1 -1
  227. package/dist/cdn/assets/assistant/t9n/messages.lt.json +1 -1
  228. package/dist/cdn/assets/assistant/t9n/messages.lv.json +1 -1
  229. package/dist/cdn/assets/assistant/t9n/messages.nl.json +1 -1
  230. package/dist/cdn/assets/assistant/t9n/messages.no.json +1 -1
  231. package/dist/cdn/assets/assistant/t9n/messages.pl.json +1 -1
  232. package/dist/cdn/assets/assistant/t9n/messages.pt-BR.json +1 -1
  233. package/dist/cdn/assets/assistant/t9n/messages.pt-PT.json +1 -1
  234. package/dist/cdn/assets/assistant/t9n/messages.ro.json +1 -1
  235. package/dist/cdn/assets/assistant/t9n/messages.ru.json +1 -1
  236. package/dist/cdn/assets/assistant/t9n/messages.sk.json +1 -1
  237. package/dist/cdn/assets/assistant/t9n/messages.sl.json +1 -1
  238. package/dist/cdn/assets/assistant/t9n/messages.sr.json +1 -1
  239. package/dist/cdn/assets/assistant/t9n/messages.sv.json +1 -1
  240. package/dist/cdn/assets/assistant/t9n/messages.th.json +1 -1
  241. package/dist/cdn/assets/assistant/t9n/messages.tr.json +1 -1
  242. package/dist/cdn/assets/assistant/t9n/messages.uk.json +1 -1
  243. package/dist/cdn/assets/assistant/t9n/messages.vi.json +1 -1
  244. package/dist/cdn/assets/assistant/t9n/messages.zh-CN.json +1 -1
  245. package/dist/cdn/assets/assistant/t9n/messages.zh-HK.json +1 -1
  246. package/dist/cdn/assets/assistant/t9n/messages.zh-TW.json +1 -1
  247. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ar.json +1 -1
  248. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.bg.json +1 -1
  249. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.bs.json +1 -1
  250. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ca.json +1 -1
  251. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.cs.json +1 -1
  252. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.da.json +1 -1
  253. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.de.json +1 -1
  254. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.el.json +1 -1
  255. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.en.json +1 -1
  256. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.es.json +1 -1
  257. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.et.json +1 -1
  258. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.fi.json +1 -1
  259. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.fr.json +1 -1
  260. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.he.json +1 -1
  261. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.hr.json +1 -1
  262. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.hu.json +1 -1
  263. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.id.json +1 -1
  264. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.it.json +1 -1
  265. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ja.json +1 -1
  266. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ko.json +1 -1
  267. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.lt.json +1 -1
  268. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.lv.json +1 -1
  269. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.nl.json +1 -1
  270. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.no.json +1 -1
  271. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.pl.json +1 -1
  272. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.pt-BR.json +1 -1
  273. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.pt-PT.json +1 -1
  274. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ro.json +1 -1
  275. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ru.json +1 -1
  276. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sk.json +1 -1
  277. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sl.json +1 -1
  278. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sr.json +1 -1
  279. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sv.json +1 -1
  280. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.th.json +1 -1
  281. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.tr.json +1 -1
  282. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.uk.json +1 -1
  283. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.vi.json +1 -1
  284. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.zh-CN.json +1 -1
  285. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.zh-HK.json +1 -1
  286. package/dist/cdn/assets/assistant-chat-entry/t9n/messages.zh-TW.json +1 -1
  287. package/dist/cdn/assets/assistant-interrupt/t9n/messages.ar.json +1 -1
  288. package/dist/cdn/assets/assistant-interrupt/t9n/messages.bg.json +1 -1
  289. package/dist/cdn/assets/assistant-interrupt/t9n/messages.bs.json +1 -1
  290. package/dist/cdn/assets/assistant-interrupt/t9n/messages.ca.json +1 -1
  291. package/dist/cdn/assets/assistant-interrupt/t9n/messages.cs.json +1 -1
  292. package/dist/cdn/assets/assistant-interrupt/t9n/messages.da.json +1 -1
  293. package/dist/cdn/assets/assistant-interrupt/t9n/messages.de.json +1 -1
  294. package/dist/cdn/assets/assistant-interrupt/t9n/messages.el.json +1 -1
  295. package/dist/cdn/assets/assistant-interrupt/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/assistant-interrupt/t9n/messages.es.json +1 -1
  297. package/dist/cdn/assets/assistant-interrupt/t9n/messages.et.json +1 -1
  298. package/dist/cdn/assets/assistant-interrupt/t9n/messages.fi.json +1 -1
  299. package/dist/cdn/assets/assistant-interrupt/t9n/messages.fr.json +1 -1
  300. package/dist/cdn/assets/assistant-interrupt/t9n/messages.he.json +1 -1
  301. package/dist/cdn/assets/assistant-interrupt/t9n/messages.hr.json +1 -1
  302. package/dist/cdn/assets/assistant-interrupt/t9n/messages.hu.json +1 -1
  303. package/dist/cdn/assets/assistant-interrupt/t9n/messages.id.json +1 -1
  304. package/dist/cdn/assets/assistant-interrupt/t9n/messages.it.json +1 -1
  305. package/dist/cdn/assets/assistant-interrupt/t9n/messages.ja.json +1 -1
  306. package/dist/cdn/assets/assistant-interrupt/t9n/messages.ko.json +1 -1
  307. package/dist/cdn/assets/assistant-interrupt/t9n/messages.lt.json +1 -1
  308. package/dist/cdn/assets/assistant-interrupt/t9n/messages.lv.json +1 -1
  309. package/dist/cdn/assets/assistant-interrupt/t9n/messages.nl.json +1 -1
  310. package/dist/cdn/assets/assistant-interrupt/t9n/messages.no.json +1 -1
  311. package/dist/cdn/assets/assistant-interrupt/t9n/messages.pl.json +1 -1
  312. package/dist/cdn/assets/assistant-interrupt/t9n/messages.pt-BR.json +1 -1
  313. package/dist/cdn/assets/assistant-interrupt/t9n/messages.pt-PT.json +1 -1
  314. package/dist/cdn/assets/assistant-interrupt/t9n/messages.ro.json +1 -1
  315. package/dist/cdn/assets/assistant-interrupt/t9n/messages.ru.json +1 -1
  316. package/dist/cdn/assets/assistant-interrupt/t9n/messages.sk.json +1 -1
  317. package/dist/cdn/assets/assistant-interrupt/t9n/messages.sl.json +1 -1
  318. package/dist/cdn/assets/assistant-interrupt/t9n/messages.sr.json +1 -1
  319. package/dist/cdn/assets/assistant-interrupt/t9n/messages.sv.json +1 -1
  320. package/dist/cdn/assets/assistant-interrupt/t9n/messages.th.json +1 -1
  321. package/dist/cdn/assets/assistant-interrupt/t9n/messages.tr.json +1 -1
  322. package/dist/cdn/assets/assistant-interrupt/t9n/messages.uk.json +1 -1
  323. package/dist/cdn/assets/assistant-interrupt/t9n/messages.vi.json +1 -1
  324. package/dist/cdn/assets/assistant-interrupt/t9n/messages.zh-CN.json +1 -1
  325. package/dist/cdn/assets/assistant-interrupt/t9n/messages.zh-HK.json +1 -1
  326. package/dist/cdn/assets/assistant-interrupt/t9n/messages.zh-TW.json +1 -1
  327. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.ar.json +1 -0
  328. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.bg.json +1 -0
  329. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.bs.json +1 -0
  330. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.ca.json +1 -0
  331. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.cs.json +1 -0
  332. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.da.json +1 -0
  333. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.de.json +1 -0
  334. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.el.json +1 -0
  335. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.en.json +1 -0
  336. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.es.json +1 -0
  337. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.et.json +1 -0
  338. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.fi.json +1 -0
  339. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.fr.json +1 -0
  340. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.he.json +1 -0
  341. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.hr.json +1 -0
  342. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.hu.json +1 -0
  343. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.id.json +1 -0
  344. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.it.json +1 -0
  345. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.ja.json +1 -0
  346. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.ko.json +1 -0
  347. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.lt.json +1 -0
  348. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.lv.json +1 -0
  349. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.nl.json +1 -0
  350. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.no.json +1 -0
  351. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.pl.json +1 -0
  352. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.pt-BR.json +1 -0
  353. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.pt-PT.json +1 -0
  354. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.ro.json +1 -0
  355. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.ru.json +1 -0
  356. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.sk.json +1 -0
  357. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.sl.json +1 -0
  358. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.sr.json +1 -0
  359. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.sv.json +1 -0
  360. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.th.json +1 -0
  361. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.tr.json +1 -0
  362. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.uk.json +1 -0
  363. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.vi.json +1 -0
  364. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.zh-CN.json +1 -0
  365. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.zh-HK.json +1 -0
  366. package/dist/cdn/assets/assistant-interrupt-preview/t9n/messages.zh-TW.json +1 -0
  367. package/dist/cdn/assets/assistant-message/t9n/messages.ar.json +1 -0
  368. package/dist/cdn/assets/assistant-message/t9n/messages.bg.json +1 -0
  369. package/dist/cdn/assets/assistant-message/t9n/messages.bs.json +1 -0
  370. package/dist/cdn/assets/assistant-message/t9n/messages.ca.json +1 -0
  371. package/dist/cdn/assets/assistant-message/t9n/messages.cs.json +1 -0
  372. package/dist/cdn/assets/assistant-message/t9n/messages.da.json +1 -0
  373. package/dist/cdn/assets/assistant-message/t9n/messages.de.json +1 -0
  374. package/dist/cdn/assets/assistant-message/t9n/messages.el.json +1 -0
  375. package/dist/cdn/assets/assistant-message/t9n/messages.en.json +1 -0
  376. package/dist/cdn/assets/assistant-message/t9n/messages.es.json +1 -0
  377. package/dist/cdn/assets/assistant-message/t9n/messages.et.json +1 -0
  378. package/dist/cdn/assets/assistant-message/t9n/messages.fi.json +1 -0
  379. package/dist/cdn/assets/assistant-message/t9n/messages.fr.json +1 -0
  380. package/dist/cdn/assets/assistant-message/t9n/messages.he.json +1 -0
  381. package/dist/cdn/assets/assistant-message/t9n/messages.hr.json +1 -0
  382. package/dist/cdn/assets/assistant-message/t9n/messages.hu.json +1 -0
  383. package/dist/cdn/assets/assistant-message/t9n/messages.id.json +1 -0
  384. package/dist/cdn/assets/assistant-message/t9n/messages.it.json +1 -0
  385. package/dist/cdn/assets/assistant-message/t9n/messages.ja.json +1 -0
  386. package/dist/cdn/assets/assistant-message/t9n/messages.ko.json +1 -0
  387. package/dist/cdn/assets/assistant-message/t9n/messages.lt.json +1 -0
  388. package/dist/cdn/assets/assistant-message/t9n/messages.lv.json +1 -0
  389. package/dist/cdn/assets/assistant-message/t9n/messages.nl.json +1 -0
  390. package/dist/cdn/assets/assistant-message/t9n/messages.no.json +1 -0
  391. package/dist/cdn/assets/assistant-message/t9n/messages.pl.json +1 -0
  392. package/dist/cdn/assets/assistant-message/t9n/messages.pt-BR.json +1 -0
  393. package/dist/cdn/assets/assistant-message/t9n/messages.pt-PT.json +1 -0
  394. package/dist/cdn/assets/assistant-message/t9n/messages.ro.json +1 -0
  395. package/dist/cdn/assets/assistant-message/t9n/messages.ru.json +1 -0
  396. package/dist/cdn/assets/assistant-message/t9n/messages.sk.json +1 -0
  397. package/dist/cdn/assets/assistant-message/t9n/messages.sl.json +1 -0
  398. package/dist/cdn/assets/assistant-message/t9n/messages.sr.json +1 -0
  399. package/dist/cdn/assets/assistant-message/t9n/messages.sv.json +1 -0
  400. package/dist/cdn/assets/assistant-message/t9n/messages.th.json +1 -0
  401. package/dist/cdn/assets/assistant-message/t9n/messages.tr.json +1 -0
  402. package/dist/cdn/assets/assistant-message/t9n/messages.uk.json +1 -0
  403. package/dist/cdn/assets/assistant-message/t9n/messages.vi.json +1 -0
  404. package/dist/cdn/assets/assistant-message/t9n/messages.zh-CN.json +1 -0
  405. package/dist/cdn/assets/assistant-message/t9n/messages.zh-HK.json +1 -0
  406. package/dist/cdn/assets/assistant-message/t9n/messages.zh-TW.json +1 -0
  407. package/dist/cdn/assets/assistant-message-loading/t9n/messages.ar.json +1 -0
  408. package/dist/cdn/assets/assistant-message-loading/t9n/messages.bg.json +1 -0
  409. package/dist/cdn/assets/assistant-message-loading/t9n/messages.bs.json +1 -0
  410. package/dist/cdn/assets/assistant-message-loading/t9n/messages.ca.json +1 -0
  411. package/dist/cdn/assets/assistant-message-loading/t9n/messages.cs.json +1 -0
  412. package/dist/cdn/assets/assistant-message-loading/t9n/messages.da.json +1 -0
  413. package/dist/cdn/assets/assistant-message-loading/t9n/messages.de.json +1 -0
  414. package/dist/cdn/assets/assistant-message-loading/t9n/messages.el.json +1 -0
  415. package/dist/cdn/assets/assistant-message-loading/t9n/messages.en.json +1 -0
  416. package/dist/cdn/assets/assistant-message-loading/t9n/messages.es.json +1 -0
  417. package/dist/cdn/assets/assistant-message-loading/t9n/messages.et.json +1 -0
  418. package/dist/cdn/assets/assistant-message-loading/t9n/messages.fi.json +1 -0
  419. package/dist/cdn/assets/assistant-message-loading/t9n/messages.fr.json +1 -0
  420. package/dist/cdn/assets/assistant-message-loading/t9n/messages.he.json +1 -0
  421. package/dist/cdn/assets/assistant-message-loading/t9n/messages.hr.json +1 -0
  422. package/dist/cdn/assets/assistant-message-loading/t9n/messages.hu.json +1 -0
  423. package/dist/cdn/assets/assistant-message-loading/t9n/messages.id.json +1 -0
  424. package/dist/cdn/assets/assistant-message-loading/t9n/messages.it.json +1 -0
  425. package/dist/cdn/assets/assistant-message-loading/t9n/messages.ja.json +1 -0
  426. package/dist/cdn/assets/assistant-message-loading/t9n/messages.ko.json +1 -0
  427. package/dist/cdn/assets/assistant-message-loading/t9n/messages.lt.json +1 -0
  428. package/dist/cdn/assets/assistant-message-loading/t9n/messages.lv.json +1 -0
  429. package/dist/cdn/assets/assistant-message-loading/t9n/messages.nl.json +1 -0
  430. package/dist/cdn/assets/assistant-message-loading/t9n/messages.no.json +1 -0
  431. package/dist/cdn/assets/assistant-message-loading/t9n/messages.pl.json +1 -0
  432. package/dist/cdn/assets/assistant-message-loading/t9n/messages.pt-BR.json +1 -0
  433. package/dist/cdn/assets/assistant-message-loading/t9n/messages.pt-PT.json +1 -0
  434. package/dist/cdn/assets/assistant-message-loading/t9n/messages.ro.json +1 -0
  435. package/dist/cdn/assets/assistant-message-loading/t9n/messages.ru.json +1 -0
  436. package/dist/cdn/assets/assistant-message-loading/t9n/messages.sk.json +1 -0
  437. package/dist/cdn/assets/assistant-message-loading/t9n/messages.sl.json +1 -0
  438. package/dist/cdn/assets/assistant-message-loading/t9n/messages.sr.json +1 -0
  439. package/dist/cdn/assets/assistant-message-loading/t9n/messages.sv.json +1 -0
  440. package/dist/cdn/assets/assistant-message-loading/t9n/messages.th.json +1 -0
  441. package/dist/cdn/assets/assistant-message-loading/t9n/messages.tr.json +1 -0
  442. package/dist/cdn/assets/assistant-message-loading/t9n/messages.uk.json +1 -0
  443. package/dist/cdn/assets/assistant-message-loading/t9n/messages.vi.json +1 -0
  444. package/dist/cdn/assets/assistant-message-loading/t9n/messages.zh-CN.json +1 -0
  445. package/dist/cdn/assets/assistant-message-loading/t9n/messages.zh-HK.json +1 -0
  446. package/dist/cdn/assets/assistant-message-loading/t9n/messages.zh-TW.json +1 -0
  447. package/dist/cdn/index.js +1 -1
  448. package/dist/chunks/SKILL.js +5 -0
  449. package/dist/chunks/SKILL2.js +5 -0
  450. package/dist/chunks/SKILL3.js +22 -0
  451. package/dist/chunks/SKILL4.js +5 -0
  452. package/dist/chunks/adapter.js +1126 -2010
  453. package/dist/chunks/aiFactory.js +100 -0
  454. package/dist/chunks/arcgisKnowledgeGraph.js +96 -76
  455. package/dist/chunks/arcgisToolRegistry.js +88 -0
  456. package/dist/chunks/arcgis_knowledge_current_lc_context.js +19 -2
  457. package/dist/chunks/arcgis_knowledge_current_map_context.js +31 -2
  458. package/dist/chunks/arcgis_knowledge_cypher_query_prompt.js +102 -0
  459. package/dist/chunks/arcgis_knowledge_summarize_result_prompt.js +116 -27
  460. package/dist/chunks/baseAgentState.js +59 -0
  461. package/dist/chunks/converterUtils.js +66 -41
  462. package/dist/chunks/dataExplorationAgent.js +17 -0
  463. package/dist/chunks/data_explore_query_prompt.js +9 -4
  464. package/dist/chunks/fetchAgentContext.js +13 -0
  465. package/dist/chunks/fetchService.js +10 -0
  466. package/dist/chunks/fieldStatistics.js +79 -0
  467. package/dist/chunks/formatFeatureAttributes.js +132 -0
  468. package/dist/chunks/generateLayerDescriptions.js +183 -307
  469. package/dist/chunks/helpAgent.js +32 -0
  470. package/dist/chunks/help_prompt.js +34 -17
  471. package/dist/chunks/intent_prompt.js +4 -2
  472. package/dist/chunks/layerStylingGraph.js +101 -83
  473. package/dist/chunks/mergeWhereClauses.js +15 -0
  474. package/dist/chunks/navigationAgent.js +25 -0
  475. package/dist/chunks/navigation_intent_prompt.js +8 -2
  476. package/dist/chunks/orchestrator.js +450 -235
  477. package/dist/chunks/requireAgentServices.js +11 -0
  478. package/dist/chunks/resolveGeometryFilter.js +149 -0
  479. package/dist/chunks/state.js +33 -28
  480. package/dist/chunks/utils2.js +11 -11
  481. package/dist/components/arcgis-assistant/customElement.d.ts +131 -4
  482. package/dist/components/arcgis-assistant/customElement.js +398 -212
  483. package/dist/components/arcgis-assistant/types.d.ts +108 -0
  484. package/dist/components/arcgis-assistant-agent/customElement.d.ts +13 -1
  485. package/dist/components/arcgis-assistant-agent/customElement.js +674 -10
  486. package/dist/components/arcgis-assistant-chat/customElement.js +22 -17
  487. package/dist/components/arcgis-assistant-chat-entry/customElement.d.ts +15 -4
  488. package/dist/components/arcgis-assistant-chat-entry/customElement.js +344 -45
  489. package/dist/components/arcgis-assistant-chat-entry/index.js +3 -0
  490. package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +34 -8
  491. package/dist/components/arcgis-assistant-help-agent/customElement.js +31 -8
  492. package/dist/components/arcgis-assistant-interrupt/customElement.d.ts +8 -2
  493. package/dist/components/arcgis-assistant-interrupt/customElement.js +48 -15
  494. package/dist/components/arcgis-assistant-interrupt/index.js +1 -1
  495. package/dist/components/arcgis-assistant-interrupt-preview/customElement.js +12 -8
  496. package/dist/components/arcgis-assistant-knowledge-agent/customElement.d.ts +1 -1
  497. package/dist/components/arcgis-assistant-knowledge-agent/customElement.js +40 -16
  498. package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +30 -7
  499. package/dist/components/arcgis-assistant-message/customElement.d.ts +3 -0
  500. package/dist/components/arcgis-assistant-message/customElement.js +9 -8
  501. package/dist/components/arcgis-assistant-message-block/customElement.js +1 -1
  502. package/dist/components/arcgis-assistant-message-loading/customElement.d.ts +3 -0
  503. package/dist/components/arcgis-assistant-message-loading/customElement.js +11 -10
  504. package/dist/components/arcgis-assistant-message-log/customElement.js +4 -4
  505. package/dist/components/arcgis-assistant-message-text/customElement.d.ts +1 -0
  506. package/dist/components/arcgis-assistant-message-text/customElement.js +12 -12
  507. package/dist/components/arcgis-assistant-navigation-agent/customElement.js +33 -9
  508. package/dist/components/arcgis-assistant-speech-input/customElement.js +34 -52
  509. package/dist/components/arcgis-assistant-user-message/customElement.d.ts +2 -0
  510. package/dist/components/arcgis-assistant-user-message/customElement.js +15 -10
  511. package/dist/docs/api.json +1 -1
  512. package/dist/docs/docs.json +1 -1
  513. package/dist/docs/vscode.html-custom-data.json +1 -1
  514. package/dist/docs/web-types.json +1 -1
  515. package/dist/loader.js +9 -9
  516. package/dist/oauth-callback.html +1 -1
  517. package/dist/orchestrator/models/types.d.ts +1 -0
  518. package/dist/orchestrator/orchestrator/orchestratorEvents.d.ts +78 -0
  519. package/dist/orchestrator/providers/arcgis/aiFactory.d.ts +15 -0
  520. package/dist/orchestrator/types/types.d.ts +17 -0
  521. package/dist/types/lumina.d.ts +6 -5
  522. package/dist/types/preact.d.ts +6 -5
  523. package/dist/types/react.d.ts +6 -5
  524. package/dist/types/stencil.d.ts +8 -7
  525. package/dist/utils/index.d.ts +95 -39
  526. package/dist/utils/index.js +707 -83
  527. package/package.json +35 -12
  528. package/dist/cdn/24QNMEFG.js +0 -2
  529. package/dist/cdn/34SG44C3.js +0 -72
  530. package/dist/cdn/3JGWGKT6.js +0 -2
  531. package/dist/cdn/3NBDVZ2I.js +0 -2
  532. package/dist/cdn/3VOQD2MR.js +0 -2
  533. package/dist/cdn/53NTYC4I.js +0 -2
  534. package/dist/cdn/5QAHYX7Y.js +0 -5
  535. package/dist/cdn/AXDZBBNL.js +0 -45
  536. package/dist/cdn/AZGGTNA3.js +0 -2
  537. package/dist/cdn/B7WJFBOZ.js +0 -2
  538. package/dist/cdn/BX7FSMUU.js +0 -56
  539. package/dist/cdn/CHPQM77M.js +0 -181
  540. package/dist/cdn/DHKUXLU3.js +0 -179
  541. package/dist/cdn/DQSEBKOX.js +0 -2
  542. package/dist/cdn/DZ2QWNUA.js +0 -3
  543. package/dist/cdn/EBISDZ5H.js +0 -2
  544. package/dist/cdn/ERL2CB2Y.js +0 -14
  545. package/dist/cdn/F2AHA4GB.js +0 -54
  546. package/dist/cdn/F6QHMKF5.js +0 -2
  547. package/dist/cdn/FUIGPHBH.js +0 -2
  548. package/dist/cdn/H2CHHGGH.js +0 -2
  549. package/dist/cdn/HWKDNS4K.js +0 -4
  550. package/dist/cdn/IMQ4TVHF.js +0 -16
  551. package/dist/cdn/IOD3GDA7.js +0 -2
  552. package/dist/cdn/IR7PTESF.js +0 -2
  553. package/dist/cdn/IRZDTYO2.js +0 -2
  554. package/dist/cdn/JIWK6QK6.js +0 -2
  555. package/dist/cdn/JLKGS6Y5.js +0 -36
  556. package/dist/cdn/K3JCH4XW.js +0 -2
  557. package/dist/cdn/KHXUWZHB.js +0 -2
  558. package/dist/cdn/KMQ3SP4I.js +0 -5
  559. package/dist/cdn/LIFK3QSD.js +0 -2
  560. package/dist/cdn/NXKKG5TK.js +0 -2
  561. package/dist/cdn/O3EN27N5.js +0 -2
  562. package/dist/cdn/O3RFFPU3.js +0 -6
  563. package/dist/cdn/PBO6FZN6.js +0 -2
  564. package/dist/cdn/Q3ZW4FYA.js +0 -3
  565. package/dist/cdn/Q6LRANX6.js +0 -2
  566. package/dist/cdn/QCSN44H4.js +0 -2
  567. package/dist/cdn/R56X6ZKR.js +0 -161
  568. package/dist/cdn/RUURNLTP.js +0 -2
  569. package/dist/cdn/T43LEBBE.js +0 -47
  570. package/dist/cdn/TR4GFL7X.js +0 -2
  571. package/dist/cdn/UPEEHMSY.js +0 -2
  572. package/dist/cdn/WAIFKDR3.js +0 -2
  573. package/dist/cdn/X4XY5HIE.js +0 -2
  574. package/dist/cdn/XOH56EQ2.js +0 -2
  575. package/dist/cdn/XON27U6U.js +0 -2
  576. package/dist/cdn/YIMNOUTF.js +0 -2
  577. package/dist/cdn/YLN2BZ5J.js +0 -2
  578. package/dist/cdn/YUKR4AZW.js +0 -2
  579. package/dist/cdn/Z2G7MP5L.js +0 -22
  580. package/dist/chunks/dataExplorationGraph.js +0 -310
  581. package/dist/chunks/helpGraph.js +0 -126
  582. package/dist/chunks/navigationGraph.js +0 -270
  583. package/dist/chunks/toolCallResponse.js +0 -31
@@ -0,0 +1,4 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as Y}from"./R74ZHFA6.js";var X=globalThis,Z=X.ShadowRoot&&(X.ShadyCSS===void 0||X.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,vt=Symbol(),kt=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==vt)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}},jt=o=>new I(typeof o=="string"?o:o+"",void 0,vt),be=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,n)=>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.")})(r)+o[n+1],o[0]);return new I(e,o,vt)},Ht=(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"),r=X.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},Et=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var{is:_e,defineProperty:Ae,getOwnPropertyDescriptor:Ce,getOwnPropertyNames:we,getOwnPropertySymbols:Oe,getPrototypeOf:Te}=Object,et=globalThis,Vt=et.trustedTypes,Se=Vt?Vt.emptyScript:"",Pe=et.reactiveElementPolyfillSupport,k=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?Se: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}},j=(o,t)=>!_e(o,t),zt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),et.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=zt){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(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&Ae(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:n}=Ce(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:r,set(i){let a=r?.call(this);n?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Te(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...we(e),...Oe(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,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 r of s)e.unshift(Et(r))}else t!==void 0&&e.push(Et(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 Ht(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),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let n=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=s.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:tt;this._$Em=r;let a=i.fromAttribute(e,n.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s,r=!1,n){if(t!==void 0){let i=this.constructor;if(r===!1&&(n=this[t]),s??=i.getPropertyOptions(t),!((s.hasChanged??j)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:n},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),n!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!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[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,n]of s){let{wrapped:i}=n,a=this[r];i!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,n,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"},_[k("elementProperties")]=new Map,_[k("finalized")]=new Map,Pe?.({ReactiveElement:_}),(et.reactiveElementVersions??=[]).push("2.1.2");var bt=globalThis,Bt=o=>o,st=bt.trustedTypes,Wt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,_t="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,At="?"+A,Ne=`<${At}>`,T=document,V=()=>T.createComment(""),z=o=>o===null||typeof o!="object"&&typeof o!="function",Ct=Array.isArray,Qt=o=>Ct(o)||typeof o?.[Symbol.iterator]=="function",$t=`[
3
+ \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,qt=/>/g,w=RegExp(`>|${$t}(?:([^\\s"'>=/]+)(${$t}*=${$t}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Kt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,wt=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ds=wt(1),ps=wt(2),us=wt(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,O=T.createTreeWalker(T,129);function Xt(o,t){if(!Ct(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wt!==void 0?Wt.createHTML(t):t}var Zt=(o,t)=>{let e=o.length-1,s=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let l=o[a],h,u,c=-1,m=0;for(;m<l.length&&(i.lastIndex=m,u=i.exec(l),u!==null);)m=i.lastIndex,i===H?u[1]==="!--"?i=Ft:u[1]!==void 0?i=qt:u[2]!==void 0?(Yt.test(u[2])&&(r=RegExp("</"+u[2],"g")),i=w):u[3]!==void 0&&(i=w):i===w?u[0]===">"?(i=r??H,c=-1):u[1]===void 0?c=-2:(c=i.lastIndex-u[2].length,h=u[1],i=u[3]===void 0?w:u[3]==='"'?Kt:Gt):i===Kt||i===Gt?i=w:i===Ft||i===qt?i=H:(i=w,r=void 0);let v=i===w&&o[a+1].startsWith("/>")?" ":"";n+=i===H?l+Ne:c>=0?(s.push(h),l.slice(0,c)+_t+l.slice(c)+A+v):l+A+(c===-2?a:v)}return[Xt(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let n=0,i=0,a=t.length-1,l=this.parts,[h,u]=Zt(t,e);if(this.el=o.createElement(h,s),O.currentNode=this.el.content,e===2||e===3){let c=this.el.content.firstChild;c.replaceWith(...c.childNodes)}for(;(r=O.nextNode())!==null&&l.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let c of r.getAttributeNames())if(c.endsWith(_t)){let m=u[i++],v=r.getAttribute(c).split(A),C=/([.?@])?(.*)/.exec(m);l.push({type:1,index:n,name:C[2],strings:v,ctor:C[1]==="."?rt:C[1]==="?"?nt:C[1]==="@"?it:P}),r.removeAttribute(c)}else c.startsWith(A)&&(l.push({type:6,index:n}),r.removeAttribute(c));if(Yt.test(r.tagName)){let c=r.textContent.split(A),m=c.length-1;if(m>0){r.textContent=st?st.emptyScript:"";for(let v=0;v<m;v++)r.append(c[v],V()),O.nextNode(),l.push({type:2,index:++n});r.append(c[m],V())}}}else if(r.nodeType===8)if(r.data===At)l.push({type:2,index:n});else{let c=-1;for(;(c=r.data.indexOf(A,c+1))!==-1;)l.push({type:7,index:n}),c+=A.length-1}n++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,n=z(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var ot=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,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let n=O.nextNode(),i=0,a=0,l=s[0];for(;l!==void 0;){if(i===l.index){let h;l.type===2?h=new L(n,n.nextSibling,this,t):l.type===1?h=new l.ctor(n,l.name,l.strings,this,t):l.type===6&&(h=new at(n,this,t)),this._$AV.push(h),l=s[++a]}i!==l?.index&&(n=O.nextNode(),i++)}return O.currentNode=T,r}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++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.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=S(this,t,e),z(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):Qt(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&&z(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Xt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let n=new ot(r,this),i=n.u(this.options);n.p(e),this.T(i),this._$AH=n}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new B(t)),e}k(t){Ct(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let n of t)r===e.length?e.push(s=new o(this.O(V()),this.O(V()),this,this.options)):s=e[r],s._$AI(n),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=Bt(t).nextSibling;Bt(t).remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,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,r){let n=this.strings,i=!1;if(n===void 0)t=S(this,t,e,0),i=!z(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,l,h;for(t=n[0],l=0;l<n.length-1;l++)h=S(this,a[s+l],e,l),h===f&&(h=this._$AH[l]),i||=!z(h)||h!==this._$AH[l],h===d?t=d:t!==d&&(t+=(h??"")+n[l+1]),this._$AH[l]=h}i&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},nt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,r,n){super(t,e,s,r,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),n&&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)}},at=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){S(this,t)}},te={M:_t,P:A,A:At,C:1,L:Zt,R:ot,D:Qt,V:S,I:L,H:P,N:nt,U:it,B:rt,F:at},De=bt.litHtmlPolyfillSupport;De?.(B,L),(bt.litHtmlVersions??=[]).push("3.3.2");var Ot=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let n=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(V(),n),n,void 0,e??{})}return r._$AI(o),r};var Tt=globalThis,E=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=Ot(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,Tt.litElementHydrateSupport?.({LitElement:E});var xe=Tt.litElementPolyfillSupport;xe?.({LitElement:E});(Tt.litElementVersions??=[]).push("4.2.2");var ee=new Set,se;var oe=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Os=(o,t,e,s)=>{let r=oe(t);if(s?.once){let i=`${o}${r}${e}`;if(ee.has(i))return;ee.add(i)}let n;if(s?.detail){n={};for(let[i,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let l=new WeakRef(a);Object.defineProperty(n,i,{enumerable:!0,get(){return l.deref()}})}else n[i]=a;se?.log.interceptors?.forEach(i=>i(o,r,e,n)),console[o](`[${r}]: ${e}`,n)}else se?.log.interceptors?.forEach(i=>i(o,r,e)),console[o](`[${r}]: ${e}`)},re=o=>{let t=`[${oe(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}};var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),Le=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ps=o=>typeof o?.then=="function";var F,D=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,N=[],ct=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},ne=()=>N,U,Ns=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},Ue=()=>{let o=U;return U=void 0,o},ie=async(o,t)=>{let e=ht(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},ae=async o=>{let t=ht(o);return await t.ready,t},ht=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(Le(o))return o;let s=Ue();if(s!==void 0)return s},lt=!1,Ds=o=>{lt=!0;try{return o()}finally{lt=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};var le=(o,t)=>{let e=t>Re?Me:t/Ie,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Re=4e3,Me=2e3,Ie=4;var ke=(o,t,e)=>{let s=Object.keys(o),r=s.length;R===void 0&&queueMicrotask(M),R??=new Map;let n=R.get(o);return n===void 0&&(n={callbacks:[],keyCount:r},R.set(o,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(s)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=h=>p(t,null,h),l=i[r];l===void 0?a(void 0):o[l]===e?a(l):a(void 0)}),e},R,M=()=>{R?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),R=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((r,n)=>p(t,void 0,e===n?r:void 0)),e},He=(o=[G(),...ne()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,n=i=>{r-=1,i!==void 0&&(r=Math.min(r,0)),r===0&&t(i)};s.forEach(i=>ke(i,a=>n(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=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ve=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&M();let n=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(n),n}};return o===""&&He(void 0,r=>o=r.key,s),s},ze=Ve.bind(null,""),de;de=q;var St=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#n=[],this.#l=[],this.#c=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[de]=!0,this.#h=[];let e=this,s=t??G(new.target.name);e.#o=s,e.ready=e.P.promise,e.#a=he(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(ct(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#n;#l;#c;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(re(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?he(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return D(this.#o),ie}get useRef(){return D(this.#o),ae}get useRefSync(){return D(this.#o),ht}controllerRemoved(){this.#o.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.#r.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#l.push(t)}onDestroy(t){this.#c.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#n.forEach(ce,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#l.forEach(ce,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#c.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){D(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#i.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#i.push(r.remove)})}};function ce(o){p(o,void 0,this)}var he=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,n){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,n)}},e=new Proxy(o,t);return e};var pe=St;var{I:zs}=te;var dt=o=>o.strings===void 0;var Be={},ue=(o,t=Be)=>o._$AH=t;var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=o=>(...t)=>({_$litDirective$:o,values:t}),g=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 K=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),K(s,t);return!0},pt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},fe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),qe(t)}};function We(o){this._$AN!==void 0?(pt(this),this._$AM=o,fe(this)):this._$AM=o}function Fe(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let n=e;n<s.length;n++)K(s[n],!1),pt(s[n]);else s!=null&&(K(s,!1),pt(s));else K(this,o)}var qe=o=>{o.type==y.CHILD&&(o._$AP??=Fe,o._$AQ??=We)},ut=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),fe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),pt(this))}setValue(t){if(dt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Xs=()=>new Nt,Nt=class{},Pt=new WeakMap,Dt=$(class extends ut{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Lt=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},Ut={};function Rt(){}function Mt(o){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;o.prototype["f"+e]=async function(...s){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:s}))}}}var Ke=(o,t)=>function(s,r){if(!globalThis.customElements)return;let i=(r??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[l,h="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[c,m,v]=h.split(";"),C=c?c?.split(",").map(Je):void 0,gt=C?.map(([x])=>x),Q=class extends xt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,x])=>x).filter(x=>x!=="")}static{this.C=gt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=o}constructor(){!Q.B&&(Q.B=l(),Q.F()),super()}};customElements.define(a,Q)}},ft=Object.defineProperty,Je=o=>{let t=o.split(":");return t.length===1?[t[0],Y(t[0])]:t},Qe=globalThis.HTMLElement??Rt,xt=class extends Qe{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,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.#r({a:e.A}):e.B.then(async s=>{await e.K.p,t.#r(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])ft(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ft(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??[])ft(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{Mt(this)}#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=Lt(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,s=e.L,r=this.#e,n=Object.values(t).find(c=>c.L===s),i=`${s}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Xe(a),!e.A&&(e.A=n,customElements.define(i,n)),n.N=this;let h=document.createElement(i);n.N=void 0,this.#t=h,this.#e=h,this.#s.forEach(c=>h.attributeChangedCallback(c,null,this.getAttribute(c))),Object.entries(r).forEach(Ye,h);let u=this.isConnected;(u||this.G)&&(h.connectedCallback?.(),u||h.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Ye([o,t]){this[o]=t}var Xe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,n){e.setAttribute.call(this.el,r,n)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},t.hasAttribute=function(r){return e.hasAttribute.call(this.el,r)},ft(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var mt=class extends pe{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=yt in t&&typeof t.destroy=="function",E.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 ${yt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),M();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),ct(void 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():p(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=()=>{this.#e.destroy()};this.#t=le(t,Ze)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(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)}},Ze=1e3,yt="autoDestroyDisabled";var ye=$(class extends g{constructor(o){if(super(o),o.type!==y.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 r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ge="important",ts=" !"+ge,es=$(class extends g{constructor(o){if(super(o),o.type!==y.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 r=t[s];if(r!=null){this.ft.add(s);let n=typeof r=="string"&&r.endsWith(ts);s.includes("-")||n?e.setProperty(s,n?r.slice(0,-11):r,n?ge:""):e[s]=r}}return f}});var ss=$(class extends g{constructor(o){if(super(o),o.type!==y.PROPERTY&&o.type!==y.ATTRIBUTE&&o.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!dt(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===y.PROPERTY){if(t===e[s])return f}else if(o.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===y.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var ve=class o extends E{constructor(){super(),this.M=[],this.manager=new mt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,n=o.prototype.shouldUpdate;t.#r=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Rt,t.shouldUpdate!==n&&(t.#e=t.shouldUpdate,t.shouldUpdate=n),r&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Ut;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,r=Array.isArray(e)?e[1]:void 0,n=r?.hasChanged??j,i={attribute:s&1&&typeof t=="string"?Y(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),useDefault:!!(s&128),c:!1,...r,hasChanged(a,l){let h=n(a,l);return i.c=h,h}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let r=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return r.t?.(this.#t.get(t)),n.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!lt&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);n.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(M(),a?.S(t,i))}}}static{this.lumina=!0}static{Mt(this)}#t;#e;#s;#r;#n;#l;get elementInternals(){return this.#l??=this.el.attachInternals(),this.#l}connectedCallback(){this.hasAttribute("defer-hydration")||this.#c(!0)}#c(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=e;let s=!this.manager.connectedCalled;t&&super.connectedCallback(),s?queueMicrotask(()=>this.#i().catch(r=>{this.#r.reject(r),setTimeout(()=>{throw r})})):e&&this.requestUpdate()}#d(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,n=t??(s===Ut?this.el:this.el.attachShadow(s));if(t)return this.manager.connectedCalled||this.#c(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async#i(){let t=this.el.G??Lt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(yt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#d(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let n=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var $e=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:e,customElement(r,n){n.K=s,n.L=r,customElements.get(r)||customElements.define(r,n)}};return e(o.defaultAssetPath),s};var $r=o=>typeof o=="object"&&o!=null?ye(o):o;var It=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Dt(this.#e)):Dt(t)}},br=$(It);var _r=d;var J=$e({defaultAssetPath:"https://jsdev.arcgis.com/5.2.0-next/ai-components/",hydratedAttribute:"hydrated"}),{customElement:Tr,getAssetPath:Sr,setAssetPath:Pr}=J;J.t=void 0;J.o=void 0;J.c=void 0;J.r=void 0;export{Ps as a,D as b,ct as c,ne as d,Ns as e,Ds as f,be as g,ds as h,f as i,d as j,Os as k,re as l,He as m,ze as n,St as o,Ke as p,y as q,$ as r,g as s,Xs as t,Dt as u,ve as v,$r as w,_r as x,J as y,Tr as z,Sr as A};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import n from"./UXYYH6XF.js";import m from"./CF2V3NER.js";import{a as o,c as p}from"./K7BUBCK7.js";import"./4PKMJMND.js";import l from"./VWP2B4LB.js";import"./5Q2XRQS6.js";import k from"./K7YQIJFT.js";import j from"./UT6JA4TK.js";import h from"./CA3RNGPN.js";import g from"./ES54NWOB.js";import f from"./CCC6LBMY.js";import"./34O57OGV.js";import"./LXPGQNXQ.js";import"./FDOMMK2M.js";import e from"./WVP73XWD.js";import"./Z5XQLSYH.js";import"./OZAZ277H.js";import d from"./AVRS6UCQ.js";import"./K5JVB6FU.js";import"./FCI6M62J.js";import"./BFZ5S7NF.js";import"./HWGAJ4WN.js";import"./J4YHT55S.js";import"./QUZTFUWM.js";import"./SWVRA77H.js";import c from"./2NODROJN.js";import"./QZL4SAYR.js";import"./WXQ26G5Q.js";import"./MJSIYEWN.js";import b from"./JNOH4PD5.js";import a from"./KA3S22NQ.js";import"./ONQ6JSBJ.js";import{v as i,z as r}from"./COH3QXWG.js";import"./R74ZHFA6.js";import"./V7Y22FRP.js";import"./AXTQU5YL.js";import"./LOQ2PKV5.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,,,m])=>{var t=class extends i{constructor(){super(...arguments),this.agent=m}static{this.properties={referenceElement:1}}#t;#i;getContext(){if(!this.#t)throw new Error("arcgis-assistant-data-exploration-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=o(this,"arcgis-assistant-data-exploration-agent"),this.#i=p(this)}disconnectedCallback(){this.#i?.unregister(this.agent.id),super.disconnectedCallback()}};r("arcgis-assistant-data-exploration-agent",t);return t},"identity/IdentityManager","portal/Portal","request","config","core/reactiveUtils","layers/FeatureLayer","intl","smartMapping/statistics/summaryStatistics","smartMapping/statistics/uniqueValues","rest/knowledgeGraphService",a,b,c,d,e,f,g,h,j,k,l,m,n)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as c}from"./EIZR3Q5O.js";import"./HWGAJ4WN.js";import"./QUZTFUWM.js";import"./SWVRA77H.js";import{g as i,h as s,n as r,v as a,z as p}from"./COH3QXWG.js";import"./R74ZHFA6.js";import"./UZLQALHY.js";var l=i`:host{display:block;max-width:100%}.group{max-width:100%}.prompt{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-style:normal;cursor:pointer;font-weight:var(--calcite-font-weight-regular)}calcite-chip{max-width:100%}`,e=class extends a{constructor(){super(...arguments),this._messages=c({blocking:!0}),this.prompts=[],this.arcgisPromptSelect=r()}static{this.properties={label:1,prompts:0}}static{this.styles=l}_emitPromptSelect(t){this.arcgisPromptSelect.emit({prompt:t})}render(){return this.prompts.length?s`<calcite-chip-group class="group" .label=${this.label??this._messages.suggestedPromptsLabel}>${this.prompts.map(t=>s`<calcite-chip .value=${t} .label=${t} appearance=outline-fill kind=brand @calciteChipSelect=${()=>this._emitPromptSelect(t)}><div class="prompt">${t}</div></calcite-chip>`)}</calcite-chip-group>`:null}};p("arcgis-assistant-suggested-prompts",e);export{e as ArcgisAssistantSuggestedPrompts};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import b from"./RHYNE5OE.js";import{a as t}from"./FDOMMK2M.js";import{a as l}from"./ONQ6JSBJ.js";import{Dc as d}from"./IYLFJCJ2.js";import{a}from"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([o])=>{var g=.7,b=10;async function S(i){let{query:e,layerIds:s,includeSummaryStatistics:r=!1,fieldSearch:c,layersAndFieldsRegistry:m,embeddingCache:y,mapView:u,minScore:f=g,topResults:h=b}=i,n=await c.searchFields({text:e,layerIds:s,minScore:f,topResults:h,embeddingCache:y}),p=await o(n,m,u,r);return{matches:n,...p}}var v=a.object({query:a.string().describe("A concise semantic description of the fields relevant to the user's task."),layerIds:a.array(a.string()).min(1).describe("Layer IDs returned by findRelevantLayers, restricted to layers relevant to the current task."),includeSummaryStatistics:a.boolean().optional().default(!1).describe("Set to true only when the task directly asks for numeric summaries such as average, minimum, maximum, total, variance, or range.")});async function w(i,e){let{mapView:s}=l(e,["mapView"]),r=await S({...i,fieldSearch:t(e,"fieldSearch"),layersAndFieldsRegistry:t(e,"layersAndFieldsRegistry"),embeddingCache:t(e,"embeddingCache"),mapView:s});return JSON.stringify(r,null,2)}var A=d(w,{name:"findRelevantFields",description:"Finds relevant fields within candidate layers. Returns ranked matches, field metadata, categorical values, and optional numeric summary statistics. Call findRelevantLayers first when layer IDs are not already known.",schema:v});return A},b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a}from"./FCI6M62J.js";import"./ONQ6JSBJ.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export{a as goToLayerTool};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as n}from"./EIZR3Q5O.js";import"./HWGAJ4WN.js";import"./QUZTFUWM.js";import"./SWVRA77H.js";import{g as e,h as i,v as r,z as a}from"./COH3QXWG.js";import"./R74ZHFA6.js";import"./UZLQALHY.js";var c=e`.interrupt-details{word-wrap:break-word}.interrupt-details ul{margin-block:var(--calcite-spacing-xxs) 0;padding-inline-start:var(--calcite-spacing-xxl)}.interrupt-details li{margin-block:0}.interrupts-container{display:flex;flex-direction:column;gap:var(--calcite-spacing-lg)}`,t=class extends r{constructor(){super(...arguments),this._messages=n({blocking:!0})}static{this.properties={interrupts:0}}static{this.styles=c}render(){return this.interrupts?.length?i`<calcite-block expandable expanded .heading=${this._messages.assistantQuestions}><div class="interrupts-container">${this.interrupts?.map(({interrupt:l,response:s})=>i`<div class="interrupt-details"><div>Q: ${l.message}</div><ul>${Array.isArray(s)?s.length?s.map(p=>i`<li>${p}</li>`):i`<li>${this._messages.questionSkipped}</li>`:i`<li>${s!=null?String(s):this._messages.questionSkipped}</li>`}</ul></div>`)}</div></calcite-block>`:null}};a("arcgis-assistant-interrupt-preview",t);export{t as ArcgisAssistantInterruptPreview};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import p from"./HTB76P2C.js";import"./XQ3NBBQ3.js";import n from"./CF2V3NER.js";import{a as o,c as m}from"./K7BUBCK7.js";import"./4PKMJMND.js";import l from"./VWP2B4LB.js";import"./5Q2XRQS6.js";import k from"./K7YQIJFT.js";import j from"./UT6JA4TK.js";import h from"./CA3RNGPN.js";import g from"./ES54NWOB.js";import f from"./CCC6LBMY.js";import"./34O57OGV.js";import"./LXPGQNXQ.js";import"./FDOMMK2M.js";import e from"./WVP73XWD.js";import"./Z5XQLSYH.js";import"./OZAZ277H.js";import d from"./AVRS6UCQ.js";import"./K5JVB6FU.js";import"./FCI6M62J.js";import"./BFZ5S7NF.js";import"./HWGAJ4WN.js";import"./J4YHT55S.js";import"./QUZTFUWM.js";import"./SWVRA77H.js";import c from"./2NODROJN.js";import"./QZL4SAYR.js";import"./WXQ26G5Q.js";import"./MJSIYEWN.js";import b from"./JNOH4PD5.js";import a from"./KA3S22NQ.js";import"./ONQ6JSBJ.js";import{v as i,z as r}from"./COH3QXWG.js";import"./R74ZHFA6.js";import"./V7Y22FRP.js";import"./AXTQU5YL.js";import"./LOQ2PKV5.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,,,{b:p}])=>{var t=class extends i{constructor(){super(...arguments),this.agent=p}static{this.properties={referenceElement:1}}#t;#i;getContext(){if(!this.#t)throw new Error("arcgis-assistant-layer-styling-agent requires a mapView");return{mapView:this.#t}}load(){this.#t=o(this,"arcgis-assistant-layer-styling-agent"),this.#i=m(this)}disconnectedCallback(){this.#i?.unregister(this.agent.id),super.disconnectedCallback()}};r("arcgis-assistant-layer-styling-agent",t);return t},"identity/IdentityManager","portal/Portal","request","config","core/reactiveUtils","layers/FeatureLayer","intl","smartMapping/statistics/summaryStatistics","smartMapping/statistics/uniqueValues","rest/knowledgeGraphService",a,b,c,d,e,f,g,h,j,k,l,n,p)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as w,b as L}from"./HWGAJ4WN.js";import{A as O,a as b,b as E,c as u,d as h,e as y,f as x,m as f,n as C,o as P}from"./COH3QXWG.js";var _=e=>(...n)=>{let t=h(),o=new e(...n),s=o.exports;u(t.at(-1));let r=o.component.manager;r.W(o,s),o.watchExports(r.W.bind(r,o)),y(o);let i=[o.component,...t].reverse();return f(i,a=>a===void 0?void 0:M(o,a,s),s)},M=(e,{host:n,key:t,isReactive:o},s)=>{let r=n,i=r[t]!==e.exports,a=r[t]!==s,p=s!==e.exports;if(i&&!a&&p&&(r[t]=e.exports),n===e.component){if(o){let l=e.component.manager;a&&l.W(e,r[t]),e.onUpdate(m=>{if(m.has(t)){let g=r[t];g!==e.exports&&l.W(e,g)}})}e.O=o?void 0:t}let c=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{r[t]!==e.exports&&(c?x(()=>{r[t]=e.exports}):r[t]=e.exports)})};var D=e=>R(void 0,e);var v=class extends P{constructor(n,t){super(n);let o=this.exports;try{E(this.component);let s=t(this.component,this),r=this.exports!==o;if(b(s)){r||this.setProvisionalExports(s);let i=s.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a)});this.onLoad(async()=>await i)}else(!r||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s)}}catchUpLifecycle(){}},R=_(v);var S=(e,n,t)=>D((o,s)=>{let r=n,i=C({bubbles:!1,composed:!1});return s.onUpdated(a=>{if(!r.some(c=>a.has(c)))return;let p=t(A(e,r,a)),d=t(A(e,r));p.forEach((c,l)=>{d.has(l)||i.emit({...c,data:void 0})}),d.forEach((c,l)=>{let m=p.get(l);(!m||!N(m,c))&&i.emit(c)})}),i});function A(e,n,t){let o={};return n.forEach(s=>{o[s]=t?.has(s)?t.get(s):e[s]}),o}function N(e,n){if(e===n)return!0;if(!e||!n||typeof e!="object"||typeof n!="object"||Array.isArray(e)||Array.isArray(n))return!1;let t=Object.entries(e),o=Object.entries(n);return t.length!==o.length?!1:t.every(([s,r])=>N(r,n[s]))}var V=e=>(n={})=>D((t,o)=>{let s=w(t.el),r={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=t;o.onLifecycle(()=>L(t.el,()=>e("./assets"),({t9nLocale:p,t9nStrings:d,lang:c})=>{let l={...d,_lang:c,_t9nLocale:p,_loading:!1};o.exports=l;let m=d.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),a(i.messageOverrides)},n.name));let a=p=>{let d=o.exports,c=d._original??d,l=j(c,p);p&&(l._original=c),o.exports=l};return"messageOverrides"in i&&o.onUpdate(p=>{p.has("messageOverrides")&&a(i.messageOverrides)}),n.blocking?(o.setProvisionalExports(r,!1),o.ready):r}),j=(e,n)=>{if(!n)return e;let t={...e};return Object.entries(n).forEach(([o,s])=>{e[o]!==void 0&&(typeof s=="object"?t[o]=j(e[o],s):t[o]=s??e[o])}),t};var X=V(O);export{S as a,X as b};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./UZLQALHY.js";var e='---\nname: query\ndescription: Answers questions about feature-layer data, including counts, matching records, field values, aggregates, rankings, and spatially constrained results. Use when the user asks to inspect or summarize map data.\nallowed-tools: findRelevantLayers findRelevantFields getAttribute getStatistics getTopFeatures queryFeatures\n---\n\n# Query\n\n- When the task refers to geometry produced by an earlier agent, call `listSharedResources` with `point`, `polyline` and `polygon` as the requested kinds. If a resource description clearly matches, pass its exact ID as `geometryFilter.sharedResourceId` and use `where: "1=1"` unless the user requests an additional attribute filter. If no resource clearly matches, state that the spatial constraint is unavailable and do not guess geometry.\n- Start with `findRelevantLayers` unless a previous tool result from this run explicitly identifies the relevant layer ID. Use the assigned task as the semantic query.\n- If no relevant layers are returned, explain that no matching map layer was found and stop. Never invent a layer ID.\n- Before querying, call `findRelevantFields` with only relevant layer IDs. Use only the exact field names and categorical values returned by `findRelevantFields`.\n- Set `includeSummaryStatistics` to true when the requested answer directly depends on whole-layer numeric summary statistics such as average, minimum, maximum, sum, variance, standard deviation, null count, or range. Otherwise leave it false and use `getStatistics` later if analysis requires statistics under an attribute or spatial constraint.\n- Use statistics returned by `findRelevantFields` when they directly answer an unfiltered whole-layer question. Use `getStatistics` when a where clause or spatial constraint must be applied.\n- Use `queryFeatures` to count, find, or list matching features. It is the default query tool.\n- Use `getTopFeatures` for highest, lowest, first, last, or top-N records ranked by an existing field.\n- Use `getAttribute` only when retrieving a particular attribute from a specifically identified feature.\n- Use real field names rather than aliases in SQL-92 where clauses. Use `1=1` when no attribute filter is requested.\n- Set `useCurrentExtent` only when the user explicitly refers to the current view or visible map area.\n- If the request asks to visually show, display, highlight, map, filter, reveal, emphasize, hide, include, or exclude matching features, preserve the information needed for a visual operation in the working context: layer ID, where clause, geometry filter, `useCurrentExtent`, object IDs when available, and count. Preserve the exact values returned or used by tools so another skill can reuse them without repeating discovery.\n- Only answer requests about the current map\'s layers, features, fields, spatial relationships, or supported map actions. Do not use general model knowledge to answer unrelated requests, even when the assigned task or user asks for it. For an unsupported request, respond only: "I can help with questions about the data and features in this map."\n- Answer the assigned question directly. Do not provide unsolicited recommendations about dataset design, publishing, classification, grouping, future analysis, or alternate workflows.\n- Ask for clarification only when the requested result is genuinely ambiguous or cannot be computed reliably from the available layers and fields.\n- Base the final answer only on returned tool data. State failures or empty results directly and do not fabricate values.\n';export{e as default};
@@ -0,0 +1,11 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import b from"./CCC6LBMY.js";import{a as x,b as O}from"./34O57OGV.js";import a from"./KA3S22NQ.js";import{a as L}from"./ONQ6JSBJ.js";import{Dc as T}from"./IYLFJCJ2.js";import{a as e}from"./VXFQANGJ.js";export default $arcgis.t(([{a:p,b:g,c:b,d:v,e:R,f:j},{d:N}])=>{var w=25,k=i=>i.flatMap(r=>r.split(",")).map(r=>r.trim()).map(r=>r.split(/\s+/u)[0]?.replace(/^"|"$/gu,"")).filter(r=>!!r),E=async(i,r,t,l)=>{let s=r.map?.allLayers.find(u=>u.id===i.layerId),d=await r.whenLayerView(s),f=s.title??i.layerId,h;if(t){let u=await v(t,r);if("error"in u){let o={error:u.error};if(b(t)){let c=r.map?.allLayers.find(m=>m.id===t.layerId);o.geometryLayerName=c?.title??c?.id,o.geometryLayerId=t.layerId,o.geometryWhere=t.where}else g(t)&&(o.point=t.point);return{tool:"queryFeatures",layerName:f,summary:"Geometry lookup failed",details:o}}if(!u.geometry){let o={};if(b(t)){let c=r.map?.allLayers.find(m=>m.id===t.layerId);o.error=`No features found matching: ${t.where}`,o.geometryLayerName=c?.title??c?.id,o.geometryLayerId=t.layerId,o.geometryWhere=t.where}else g(t)&&(o.error="Failed to create point geometry",o.point=t.point);return{tool:"queryFeatures",layerName:f,summary:"No features found for geometry filter",details:o}}h=u.geometry}else l&&(h=r.extent.clone());let C=[...new Set([...i.outFields,...k(i.orderByFields)])],F=x(d,C,l??!1),I=s.objectIdField,a=s.createQuery();a.where=O(s.definitionExpression,i.where||"1=1"),a.outFields=i.outFields.includes("*")?["*"]:[...new Set([...i.outFields,I])],a.orderByFields=i.orderByFields,h&&(a.geometry=h,a.spatialRelationship="intersects"),t?.distance&&(a.distance=t.distance),t?.units&&(a.units=t.units),a.outSpatialReference=r.spatialReference;let n,y;try{n=F?await d.queryFeatureCount(a):await s.queryFeatureCount(a),n>0&&n<=w&&(y=F?await d.queryFeatures(a):await s.queryFeatures(a))}catch(u){console.warn("Client-side query failed, falling back to server:",u),n=await s.queryFeatureCount(a),n>0&&n<=w&&(y=await s.queryFeatures(a))}let{objectIds:q,attributes:S}=y?N(s,y,r.timeZone):{objectIds:void 0,attributes:void 0};return{tool:"queryFeatures",layerName:f,summary:`${n} features found`,details:{totalCount:n,where:i.where,orderByFields:i.orderByFields,outFields:i.outFields,...q&&{objectIds:q,objectIdField:I},...S&&{attributes:S},...n>w&&{note:`${n} features found.`}}}};async function W({targetLayer:i,geometryFilter:r,useCurrentExtent:t},l){let{mapView:s}=L(l,["mapView"]),d=j(r,l.state?.agentExecutionContext?.sharedResources),f=await E(i,s,d,t);return JSON.stringify(f,null,2)}var B=e.object({layerId:e.string().describe("The layerId of the layer containing the geometry by which to filter."),where:e.string().describe("The SQL-92 where clause representing the features from which to filter."),distance:e.number().optional().describe("The buffer distance around the geometry."),units:p.optional().describe("The units for the distance buffer.")}),U=e.object({point:e.object({x:e.number().describe("X coordinate (longitude) from navigation result"),y:e.number().describe("Y coordinate (latitude) from navigation result"),spatialReference:e.object({wkid:e.number().describe("Spatial reference WKID (e.g., 4326 for WGS84)")}).optional().describe("Spatial reference. Defaults to map's spatial reference if not provided.")}).describe("Point coordinates from a previous navigation/geocoding result"),distance:e.number().optional().describe("Optional buffer distance around the point."),units:p.optional().describe("The units for the distance buffer.")}),D=e.object({targetLayer:e.object({layerId:e.string().describe("The layerId of the layer containing the field from which to get a value."),where:e.string().describe("SQL-92 where clause. IMPORTANT: When using geometryFilter.point or geometryFilter.sharedResourceId for point-in-polygon queries, set this to '1=1' to return all features that intersect the point. Only add attribute filters if the user specifically requests them in addition to the spatial query."),orderByFields:e.array(e.string().describe("The field(s) and order for which to sort the resulting features.")),outFields:e.array(e.string().describe('The fields to include in the output that will be presented to the user. This should include identifying information about the resulting features, like a name or id, along with the values desired in the output. If unsure, choose all fields ("*").').default("*"))}),geometryFilter:e.union([B,U,R]).optional().describe("Geometry filter for spatial queries. Use 'sharedResourceId' with an ID from listSharedResources for a previously geocoded location. Use 'point' for inline coordinates or 'layerId/where' for features from another layer."),useCurrentExtent:e.boolean().optional().describe("Set to true ONLY when user explicitly asks about features 'in my view', 'on my map', 'I am looking at', OR when the user refers back to features previously identified using the current extent (e.g. 'these', 'those', 'them', 'the same ones'). Default is false (queries entire layer).")}),H=T(W,{name:"queryFeatures",description:`Queries features from a layer. Returns the total count of matching features, plus individual feature attributes if \u226425 features match.
3
+
4
+ USE THIS TOOL FOR:
5
+ - "Show / display / list features where..." \u2014 finding and listing features
6
+ - "How many X are Y?" \u2014 counting features that match a condition
7
+ - "Which features..." / "Find features..." \u2014 identifying specific features
8
+ - Spatial queries \u2014 finding features near/within/intersecting other features
9
+ - Any question where the user wants to SEE or COUNT matching features
10
+
11
+ This is the DEFAULT tool for most queries. When in doubt, use this tool.`,schema:D});return H},a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as i}from"./ONQ6JSBJ.js";import{Dc as n}from"./IYLFJCJ2.js";import{Dd as r}from"./MWYBF3F3.js";async function s(a,t){await t.when();let e=t.map?.allLayers.find(l=>l.id===a);if(!e)return console.warn(`[goToLayer] No matching FeatureLayer found for: ${a}`),{text:`Could not find layer for: ${a}`};let o;return(e.type==="link-chart"||e.type==="knowledge-graph-sublayer")&&t.map?.activeLinkChartLayer?o=t.map.diagramNodesExtent:o=e.fullExtent,o?(await t.goTo(o),e.visible=!0,{text:`Successfully zoomed to: ${e.title??""}`}):{text:"Layer has no defined extent. Cannot zoom to layer."}}async function m({layerId:a},t){let{mapView:e}=i(t,["mapView"]);return await s(a,e)}var c=r.object({layerId:r.string().describe("The id of the layer to navigate to")}),p=n(m,{name:"goToLayer",description:"Zooms the map view to the full extent of the top matching layer.",schema:c});export{p as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ var s=(n,r)=>{let i=n?.configurable?.services?.[r];if(i==null)throw new Error(`${r} missing in config.configurable.services`);return i};export{s as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import b from"./JNOH4PD5.js";import a from"./KA3S22NQ.js";import"./ONQ6JSBJ.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([,a])=>{return a},a,b)
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import"./YIMNOUTF.js";var e=`## Task: Summarize Geographic Features
2
+ import"./UZLQALHY.js";var e=`## Task: Summarize Geographic Features
3
3
 
4
4
  You are given features from ArcGIS Feature layer for multiple layers:
5
5
  {queryResponse}
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import c from"./ES54NWOB.js";import b from"./CCC6LBMY.js";import"./34O57OGV.js";import a from"./KA3S22NQ.js";import"./ONQ6JSBJ.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import b from"./CF2V3NER.js";import{a}from"./ONQ6JSBJ.js";export default $arcgis.t(([{a:o}])=>{var n=({config:t})=>{let{mapView:e}=a(t,["mapView"]),r=e.map,i=Number.isFinite(e.zoom)?e.zoom:void 0;return JSON.stringify({availableBookmarks:r.bookmarks?.map(({name:s})=>s).filter(Boolean)??[],currentZoom:i},null,2)},l=[async()=>(await import("./CFAC4FN3.js")).default],c=o({id:"navigation",name:"Navigation Agent",description:"Navigates the map for explicit zoom, center, address, bookmark, layer, feature, extent, scale, and viewpoint requests. Use for questions asking where a place is or to resolve an address or place as a reusable spatial anchor for a proximity request. Resolves only the location; it does not query, display, filter, or highlight feature data.",skillLoaders:l,modelTier:"default",systemPrompt:"You are an ArcGIS map navigation agent.",runtimeContextLoader:n});return c},b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{c as i,e as c}from"./ZA2WIUWH.js";export default $arcgis.t(([m,{subclass:p}])=>{function a(t){return t?Object.keys(t.shape??{}):[]}function d(t){let e={};for(let n of t)for(let s of a(n))e[s]=void 0;return e}function g(t,e){return Object.fromEntries(e.filter(n=>Object.hasOwn(t,n)).map(n=>[n,t[n]]))}function l(t,e){return`${t.id}_${e}`}function h(t,e){let n=e.inputSchema;return n?{...g(t,a(n)),agentExecutionContext:t.agentExecutionContext,outputMessage:t.outputMessage,status:void 0,summary:""}:{...t,status:void 0,summary:""}}function x(t,e){return t.outputSchema?g(e,a(t.outputSchema)):{}}function y(t){let e={outputMessage:t.outputMessage,status:t.status,summary:t.summary};return t.agentExecutionContext&&(e.agentExecutionContext=t.agentExecutionContext),e}function v(t,e){return async(n,s)=>{let o=await t.run(h(n,t),s),r=x(t,o);return e||o.status==="failed"?{...r,...y(o)}:{...r,outputMessage:o.outputMessage}}}var w=Object.getOwnPropertyDescriptor,E=(t,e,n,s)=>{for(var o=s>1?void 0:s?w(e,n):e,r=t.length-1,u;r>=0;r--)(u=t[r])&&(o=u(o)||o);return o},f=class extends m{generate(){let t=this.getAgents();this.validateAgents(t);for(let r of t)r.generate();let e=d(t.flatMap(r=>r.getSchemas())),n=i(e),s=this.buildNodes(t),o=this.buildEdges(t);return{workspace:n,createGraph:()=>c(s,o,n,{entryNode:this.getEntryNode(t)})}}buildNodes(t){let e={};for(let[n,s]of t.entries())e[l(s,n)]=v(s,this.isTerminalAgent(t,n));return e}validateAgents(t){if(!t.length)throw new Error("Workflow requires at least one agent.")}};f=E([p("BaseWorkflow")],f);return{a:a,b:d,c:l,d:f}},"core/Accessor","core/accessorSupport/decorators")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a}from"./MJSIYEWN.js";import"./ONQ6JSBJ.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export{a as resetMapTool};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a}from"./LXPGQNXQ.js";import"./FDOMMK2M.js";import"./IYLFJCJ2.js";import"./VXFQANGJ.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export{a as listLayerFieldsTool};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./HFHRMM6Q.js";import"./ZA2WIUWH.js";import"./QZL4SAYR.js";import"./LOQ2PKV5.js";import"./IYLFJCJ2.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([{property:g,subclass:p},{c:d,d:u}])=>{var f=Object.defineProperty,w=Object.getOwnPropertyDescriptor,c=(e,r,n,o)=>{for(var t=o>1?void 0:o?w(r,n):r,i=e.length-1,a;i>=0;i--)(a=e[i])&&(t=(o?a(r,n,t):a(t))||t);return o&&t&&f(r,n,t),t},s=class extends u{constructor(e){super(e)}getAgents(){return this.agents}buildNodes(e){let r=super.buildNodes(e);return r[l]=()=>({}),r}buildEdges(e){let r=this.condition;if(!r)throw new Error("ConditionalWorkflow requires a condition.");let n=d(e[0],0),o=d(e[1],1);return[{from:l,decide:async(t,i)=>await Promise.resolve(r(t,i))?n:o}]}getEntryNode(){return l}isTerminalAgent(){return!0}validateAgents(e){if(super.validateAgents(e),e.length!==2)throw new Error(`ConditionalWorkflow requires exactly 2 agents; received ${e.length}.`)}};c([g()],s.prototype,"condition",2);c([g()],s.prototype,"agents",2);s=c([p("ConditionalWorkflow")],s);var l="__conditional_decide";return s},"core/accessorSupport/decorators",a)
@@ -0,0 +1,14 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as A}from"./XQ3NBBQ3.js";import b from"./CF2V3NER.js";import{a as y}from"./FDOMMK2M.js";import a from"./2NODROJN.js";import{a as i}from"./V7Y22FRP.js";import{J as f,Ya as S,r as u,s as p}from"./LOQ2PKV5.js";export default $arcgis.t(([,,,,,,{p:x},{b:w,d:E,j:I,k:L,l:v,m:F,n:$,o:C,p:N,q:R,r:T,s:_,t:b,u:h}])=>{var M=async(t,a)=>{let e=t.tool_calls??[];if(e.length===0){await i({text:`LLM did not request any tool calls: ${String(t?.content)}`},a);return}await Promise.all(e.map(async r=>await i({text:`LLM invoked ${r.name} tool with arguments: ${JSON.stringify(r.args,null,2)}`},a)))},k=.7,P=10,z=async(t,a)=>{try{await i({text:"Similarity search to find fields"},a);let e=y(a,"fieldSearch"),r=y(a,"layersAndFieldsRegistry"),n=y(a,"embeddingCache"),o=await e.searchFields({text:t.agentExecutionContext.assignedTask,layerIds:t.vectorSearchLayerIds,minScore:k,topResults:P,embeddingCache:n}),m=o.map(({layerId:c,results:d})=>{let g=d.map(s=>` - ${s.name} (${s.score.toFixed(2)})`).join(`
3
+ `);return`${r.get(c)?.layerItem.name??c}:
4
+ ${g}`}).join(`
5
+ `),l;return o.length>0?l=`Vector search completed. Matching layers and fields with scores:
6
+ ${m}`:l=`No vector search results found for score over ${k}.`,await i({text:l},a),{...t,vectorSearchFieldResults:o}}catch(e){throw await i({text:`Error during vector search: ${e instanceof Error?e.message:String(e)}`},a),new Error(`Vector search failed: ${e instanceof Error?e.message:String(e)}`)}},D=.7,G=async(t,a)=>{try{await i({text:`Similarity search to find layers: ${t.agentExecutionContext.assignedTask}`},a);let e=y(a,"layerSearch"),r=y(a,"layersAndFieldsRegistry"),n=await e.searchLayers({text:t.agentExecutionContext.assignedTask,minScore:D}),o=n.map(c=>c.id),m=n.map(({id:c,score:d})=>`${r.get(c)?.layerItem.name??c} (${d.toFixed(2)})`).join(`
7
+ `),l;return o.length>0?l=`Vector search completed. Matching layers with scores:
8
+ ${m}`:l="Vector search completed. No matching layers found.",await i({text:l},a),{...t,vectorSearchLayerIds:o}}catch(e){throw await i({text:`Error during vector search: ${e instanceof Error?e.message:String(e)}`},a),new Error(`Vector search failed: ${e instanceof Error?e.message:String(e)}`)}},j=[I,L,v,F,$,C,N,R,T,_,b],V=(t,a=3)=>{let e=t.map((n,o)=>n.type==="human"?o:-1).filter(n=>n!==-1);if(e.length===0)return[];let r=e.length>a?e[e.length-a]:e[0];return t.slice(r)},H=async(t,a)=>{await i({text:"Requesting LLM for layer query results"},a);let e=await E("navigation_intent_prompt");if(!a?.configurable)throw new Error("config.configurable is required for layer query tools");let r={layerFieldInfo:t.layerFieldInfo},n=await x({promptText:e,modelTier:"advanced",config:a,messages:V(t.agentExecutionContext.messages),inputVariables:r,tools:j});return await M(n,a),{...t,agentExecutionContext:{...t.agentExecutionContext,messages:[...t.agentExecutionContext.messages,n]}}};async function B(t,a){let e=await new w(j,{handleToolErrors:!1}).invoke({messages:V(t.agentExecutionContext.messages)},a),r=e.messages.map(o=>o.text).join(`
9
+ `);await i({text:`Finished executing layer filter tool: ${r}`},a);let n=e.messages.map(o=>o.text).join(`
10
+ `);return{...t,outputMessage:n}}var J=async(t,a)=>(await i({text:"Exiting Layer Styling agent"},a),t),O=async(t,a)=>{try{await i({text:"Populating layer and field info"},a);let e=[];for(let r of t.vectorSearchFieldResults){let n=function(g){let s=l.get(g)?.layerItem;return s?[s.name&&`Name: ${s.name}`,s.title&&`Title: ${s.title}`,s.description&&`Description: ${s.description}`].filter(Boolean).join(" | "):g},{layerId:o,results:m}=r,l=y(a,"layersAndFieldsRegistry"),c=l.get(o)?.fieldRegistry;if(!c)continue;let d=e.find(g=>g.layerId===o);d||(d={layerId:o,layerSummary:n(o),fieldInfos:[]},e.push(d));for(let g of m){let s=c.get(g.name);s&&d.fieldInfos.push(s)}}return await i({text:"Populated layerFieldInfo"},a),{...t,layerFieldInfo:e}}catch(e){throw await i({text:"Error populating layerFieldInfo"},a),new Error(`Error populating layerFieldInfo: ${e instanceof Error?e.message:String(e)}`)}},U=(t,a)=>{let e=t.vectorSearchLayerIds??[];if(e.length<=1)return{...t,selectedLayerId:t.vectorSearchLayerIds[0]};let{hitlResponse:r}=a.configurable;if(r?.agentId!==q.id||r.id!=="reviewLayerSelection"){let o={agentId:q.id,id:"reviewLayerSelection",kind:"singleSelection",message:"Choose a layer to apply the styles.",metadata:[...e]};throw new f(o)}let n=null;return Array.isArray(r.payload)&&r.payload.length>0&&(n=r.payload[0]),{...t,selectedLayerId:n??t.vectorSearchLayerIds[0]}},K=(t,a)=>A(["layerSearch","fieldSearch","layersAndFieldsRegistry"],"Layer Styling Agent")(t,a),Q=()=>new S(h).addNode("requireLayerStylingServices",K).addNode("vectorSearchLayers",G).addNode("layerSelectionHITL",U).addNode("vectorSearchFields",z).addNode("populateLayerFieldInfo",O).addNode("agent",H).addNode("tools",B).addNode("earlyExit",J).addEdge(u,"requireLayerStylingServices").addEdge("requireLayerStylingServices","vectorSearchLayers").addConditionalEdges("layerSelectionHITL",t=>t.vectorSearchLayerIds.length?"vectorSearchFields":"earlyExit").addConditionalEdges("vectorSearchFields",t=>t.vectorSearchFieldResults.length?"populateLayerFieldInfo":"earlyExit").addEdge("populateLayerFieldInfo","agent").addEdge("agent","tools").addEdge("tools",p).addEdge("earlyExit",p),W=String.raw`- **layerStyling** — User wants to change how features are drawn or styled on the map based on their data, such as applying color, size, transparency, symbols, or charts according to field values.
11
+ _Example: “Color points by sales amount”_
12
+ _Example: “Show population density with a color gradient”_
13
+ _Example: “Create a relationship map between height and depth”_
14
+ _Example: “Vary circle sizes according to population”_`,q={id:"layerStyling",name:"Layer Styling Agent",description:W,createGraph:Q,workspace:h};return{a:M,b:q}},"identity/IdentityManager","portal/Portal","request","config","core/reactiveUtils","layers/FeatureLayer",a,b)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as i,c as g}from"./SWVRA77H.js";import{k as l}from"./COH3QXWG.js";var h=n=>{let o=g(n,"lang",globalThis.navigator?.language||c);return{lang:o,t9nLocale:d(o)}},C=(n,o,r,e)=>{let t,s=()=>L(n,o(),e).then(a=>{(t?.lang!==a.lang||t.t9nLocale!==a.t9nLocale||t.t9nStrings!==a.t9nStrings)&&r(a),t=a}).catch(a=>{l("error","intl","Error updating component locale state",{detail:{error:a}})});return queueMicrotask(s),i(n,["lang"],s)},L=async(n,o,r=n.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:t}=h(n),s=`${o}/${r}/t9n`,f=r===null?{}:await m(t,s,"messages.");return{lang:e,t9nLocale:t,t9nStrings:f}};var $="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(","),b=new Set($),c="en",v={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},m=async(n,o,r="")=>{let e=`${o}/${r}`,t=`${e}${n}.json`;return u[t]??=p(n,e),await u[t]},u={},p=async(n,o)=>{let r=`${o}${n}.json`;try{let e=await fetch(r);if(e.ok)return await e.json()}catch(e){return l("error","intl",`An unknown error occurred while fetching localization strings at ${r}`,{detail:{error:e}}),{}}return n===c?{}:await p(c,o)},d=n=>{let[o,r]=n.split("-"),e=o.toLowerCase(),t=e;return r&&(t=`${e}-${r.toUpperCase()}`),t=v[t]??t,b.has(t)?t:r?d(e):c};export{h as a,C as b,m as c};
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import"./YIMNOUTF.js";var e=`# ArcGIS Online Map Viewer \u2014 Smart Mapping Assistant
2
+ import"./UZLQALHY.js";var e=`# ArcGIS Online Map Viewer \u2014 Smart Mapping Assistant
3
3
 
4
4
  You are a Smart Mapping Assistant for ArcGIS Online Map Viewer.
5
5
 
@@ -0,0 +1,99 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./UZLQALHY.js";var e=`# ArcGIS Knowledge Graph Cypher Rules
3
+
4
+ ## GOAL
5
+
6
+ Generate a Cypher query that answers the user\u2019s request and conforms to the data model.
7
+
8
+ ---
9
+
10
+ ## 1. USER OVERRIDES (HIGHEST PRIORITY)
11
+
12
+ If the user specifies any of the following, ALWAYS follow their instructions over defaults:
13
+
14
+ - LIMIT (or no limit)
15
+ - Output columns / data model
16
+ - Inclusion/exclusion of globalid
17
+ - Ordering, grouping, filtering, projection
18
+
19
+ ---
20
+
21
+ ## 2. DATA MODEL CONFORMANCE (NON-NEGOTIABLE)
22
+
23
+ Use ONLY valid data model elements.
24
+
25
+ ### Required
26
+
27
+ - Use only valid entity types, relationship types, and properties
28
+ - Ensure relationships connect valid entity types
29
+ - infer direction from user prompt. if not clear use the least restrictive valid form supported by the model.
30
+
31
+ ### VALIDATION RULES (STRICT)
32
+
33
+ - Enforce exact schema match: all entities, relationships, and properties must exist exactly in the data model
34
+ - Validate relationship integrity: types, source\u2192target pairing, and direction must match schema
35
+ - Enforce field correctness: properties and filters must exist on the referenced type and use valid data types
36
+ - Ensure alias consistency: each alias maps to one type only and cannot change meaning
37
+ - Apply strict failure: if any component is invalid, do NOT generate the query and do NOT infer or repair
38
+
39
+ ## 4. PATH RESOLUTION
40
+
41
+ - First attempt a direct relationship
42
+ - If none exists \u2192 use a valid multi-hop path
43
+ - Each hop MUST be valid in the data model
44
+ - Max path length: 3 (unless user requests more)
45
+
46
+ ### Path selection
47
+
48
+ - Prefer shortest valid path
49
+ - If multiple valid paths exist \u2192 choose best match to user intent
50
+ - If no valid path exists \u2192 do not speculate
51
+
52
+ ---
53
+
54
+ ## 5. PERFORMANCE
55
+
56
+ - Use the minimal number of entities and relationships
57
+ - Prefer shortest valid path
58
+ - Avoid unnecessary patterns or complexity
59
+
60
+ ---
61
+
62
+ ## 6. CYPHER RULES
63
+
64
+ - UNION queries must return identical columns
65
+ - Apply LIMIT only after UNION (not inside subqueries)
66
+ - Do NOT use: OVER, REDUCE()
67
+ - Do NOT use reserved keywords as variables (call, match, return, as etc.)
68
+ - Use only valid openCypher syntax
69
+ - After OPTIONAL MATCH, always add:
70
+ WITH ...
71
+ WHERE var IS NOT NULL
72
+ before using var in any MATCH or relationship pattern.
73
+
74
+ ---
75
+
76
+ ## 7. SPATIAL RULES
77
+
78
+ - Prefer graph relationships over spatial functions
79
+ - Use spatial functions only when necessary
80
+ - Always ensure geometry is not null if using spatial functions
81
+ - for example: WHERE n.shape IS NOT NULL
82
+
83
+ ---
84
+
85
+ ## 9. DEFAULT OUTPUT (IF NOT SPECIFIED)
86
+
87
+ - Add LIMIT 50 unless results are clearly small
88
+ - Use descriptive aliases with AS
89
+ - ALWAYS Return full entities and relationships unless user requests specific properties
90
+
91
+ ---
92
+
93
+ ## 11. OUTPUT FORMAT
94
+
95
+ - Valid \u2192 return ONLY Cypher query
96
+ - No explanation
97
+
98
+ ---
99
+ `;export{e as default};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{b as g}from"./EIZR3Q5O.js";import"./HWGAJ4WN.js";import"./QUZTFUWM.js";import"./SWVRA77H.js";import{h as u,v as c,z as h}from"./COH3QXWG.js";import"./R74ZHFA6.js";import"./UZLQALHY.js";export default $arcgis.t(([{watch:_},y,{property:m,subclass:f}])=>{var A=Object.defineProperty,S=Object.getOwnPropertyDescriptor,p=(e,s,i,a)=>{for(var r=a>1?void 0:a?S(s,i):s,t=e.length-1,n;t>=0;t--)(n=e[t])&&(r=(a?n(s,i,r):n(r))||r);return a&&r&&A(s,i,r),r};function l(){return typeof window>"u"?null:window}var o=class extends y{constructor(){super(...arguments),this._utterance=null,this.state="idle",this.supported=o.isSupported()}destroy(){this.stop(),super.destroy()}start(e){let s=e.trim(),i=l(),a=i?.SpeechSynthesisUtterance,r=i?.speechSynthesis;if(this._set("supported",o.isSupported(i)),!s||!a||!r)return;this.stop();let t=new a(s);t.rate=.9,t.pitch=1.1,t.volume=1,t.onend=()=>{this._utterance===t&&this._reset()},t.onerror=()=>{this._utterance===t&&this._reset()};try{r.speak(t),this._utterance=t,this._set("state","playing")}catch{t.onend=null,t.onerror=null,this._reset()}}stop(){let e=l(),s=e?.speechSynthesis;if(this._set("supported",o.isSupported(e)),s)try{(s.speaking||s.pending)&&s.cancel()}catch{}this._reset()}toggle(e){if(this.state==="playing"){this.stop();return}this.start(e)}static isSupported(e=l()){return!!e?.speechSynthesis&&typeof e.SpeechSynthesisUtterance=="function"}_reset(){this._utterance&&(this._utterance.onend=null,this._utterance.onerror=null),this._utterance=null,this._set("state","idle")}};p([m({readOnly:!0})],o.prototype,"state",2);p([m({readOnly:!0})],o.prototype,"supported",2);o=p([f("ReadAloudController")],o);var d=class extends c{constructor(){super(...arguments),this._messages=g({blocking:!0}),this._readAloudController=new o,this.readAloudEnabled=!1}static{this.properties={readAloudEnabled:5,message:0}}loaded(){this.manager.onLifecycle(()=>[_(()=>this._readAloudController.state,()=>this.requestUpdate(),{initial:!0}),{remove:()=>{this._readAloudController.stop()}}])}_toggleReadAloud(){this._readAloudController.toggle(this.message?.content??"")}render(){return this.readAloudEnabled&&!this.message?.error&&this.message?.content?.trim()&&this._readAloudController.supported?u`<calcite-action id=action-read-aloud .icon=${this._readAloudController.state==="playing"?"sound-off":"sound"} scale=s .active=${this._readAloudController.state==="playing"} @click=${()=>this._toggleReadAloud()} text></calcite-action><calcite-tooltip reference-element=action-read-aloud overlay-positioning=fixed placement=bottom><span>${this._readAloudController.state==="playing"?this._messages.stopReadingButtonLabel:this._messages.readAloudButtonLabel}</span></calcite-tooltip>`:null}};h("arcgis-assistant-message-read-aloud",d);return d},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators")
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./UZLQALHY.js";var e='---\nname: filter\ndescription: Changes feature emphasis on the map by including, excluding, highlighting, dimming, or clearing filtered features. Use when the user asks to visually filter feature-layer data.\nallowed-tools: findRelevantLayers findRelevantFields setFeatureEffect resetMap clearFilters\n---\n\n# Filter\n\n- Use `clearFilters` when the user asks only to remove feature filters or effects. Use `resetMap` only when the user asks to reset the broader map state.\n- Reuse a preceding query result from this run whenever it contains the layer ID and filtering criteria needed for the visual operation. Do not repeat layer or field discovery in that case.\n- A preceding query result may provide the layer ID, where clause, geometry filter, `useCurrentExtent`, object IDs, and count. Preserve and reuse those values rather than reconstructing them.\n- When the task refers to geometry produced by an earlier agent, call `listSharedResources` with `point`, `polyline` and `polygon` as the requested kinds. If a resource description clearly matches the referenced geometry, pass its exact ID as `geometryFilter.sharedResourceId` and use `where: "1=1"` unless the user requests an additional attribute filter. If no resource clearly matches, state that the spatial constraint is unavailable and do not guess geometry.\n- If no usable preceding query result exists, start with `findRelevantLayers`. Use the assigned task as the semantic query. If no relevant layers are returned, explain that no matching map layer was found and stop. Never invent a layer ID.\n- When discovery is required, call `findRelevantFields` with only relevant layer IDs before constructing a filter. Use only the exact field names and categorical values returned by `findRelevantFields`.\n- Leave `includeSummaryStatistics` false unless the filter criteria explicitly depend on a requested numeric summary.\n- Use real field names rather than aliases in SQL-92 where clauses. Use `1=1` when no attribute filter is requested.\n- For highlight, show, include, exclude, or other visual-filter requests with feature criteria, call `setFeatureEffect` using the same layer ID, where clause, geometry filter, and `useCurrentExtent` value determined by the preceding query or discovery steps.\n- If a preceding query returned object IDs for ranked, top-N, or otherwise selected records, pass those object IDs to `setFeatureEffect` instead of rebuilding the selection using only a where clause.\n- Prefer the default feature effects unless the user explicitly requests a particular visual treatment.\n- Set `useCurrentExtent` only when the user explicitly refers to the current view or visible map area.\n- When available, use the preceding query result for feature counts or attribute details in the final response.\n- Report the `setFeatureEffect` outcome faithfully. Do not claim that a map effect was applied when the tool failed or no matching layer or field was found.\n';export{e as default};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./ZCFYGCCV.js";import{e as l}from"./ZA2WIUWH.js";import"./QZL4SAYR.js";import"./LOQ2PKV5.js";import"./IYLFJCJ2.js";import"./MWYBF3F3.js";import"./UZLQALHY.js";export default $arcgis.t(([{property:p,subclass:m},{watch:w},c])=>{var d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,n=(e,r,s,o)=>{for(var t=o>1?void 0:o?f(r,s):r,i=e.length-1,a;i>=0;i--)(a=e[i])&&(t=(o?a(r,s,t):a(t))||t);return o&&t&&d(r,s,t),t},h=class extends c{constructor(e){super(e)}initialize(){this.addHandles(w(()=>[this.name,this.description,this.inputSchema,this.outputSchema,this.workflow],()=>this.generate(),{initial:!0,sync:!0}))}getSchemas(){return[this.inputSchema,...this.workflow.getAgents().flatMap(e=>e.getSchemas()),this.outputSchema].filter(Boolean)}generate(){let{workspace:e,createGraph:r}=this.workflow.generate();if(this._set("workspace",e),!this.middlewares?.length)this._set("createGraph",r);else{let s=this.id,o={[s]:async(i,a)=>await r().compile().invoke(i,a)},t=[{from:s,decide:()=>{}}];this._set("createGraph",()=>l(o,t,e,{agent:this,entryNode:s,middlewares:this.middlewares}))}}};n([p()],h.prototype,"workflow",2);n([p()],h.prototype,"inputSchema",2);n([p()],h.prototype,"outputSchema",2);h=n([m("WorkflowAgent")],h);return h},"core/accessorSupport/decorators","core/reactiveUtils",a)