@arcgis/ai-components 5.1.0-next.7 → 5.1.0-next.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/24MYCR6F.js +3 -0
- package/dist/cdn/276ERLGQ.js +2 -0
- package/dist/cdn/2MLMI2OK.js +2 -0
- package/dist/cdn/3D2FSGMT.js +75 -0
- package/dist/cdn/3M7XAZRH.js +2 -0
- package/dist/cdn/{ZYQ6U2YH.js → 5PT7ZFXF.js} +46 -6
- package/dist/cdn/7CRP5WU6.js +2 -0
- package/dist/cdn/{LTBEINKG.js → ABCHVJTB.js} +13 -1
- package/dist/cdn/B4DEC7PH.js +2 -0
- package/dist/cdn/B66A2V6H.js +2 -0
- package/dist/cdn/BUO7QQDY.js +2 -0
- package/dist/cdn/C5BYUKXO.js +72 -0
- package/dist/cdn/DR56NDCW.js +2 -0
- package/dist/cdn/{62K6RJZZ.js → ESTSYVJP.js} +15 -2
- package/dist/cdn/FEBQMS6F.js +2 -0
- package/dist/cdn/GY6V3KIF.js +2 -0
- package/dist/cdn/IHZ6MKIF.js +2 -0
- package/dist/cdn/IR3YHQ5A.js +225 -0
- package/dist/cdn/JG7SOQYZ.js +2 -0
- package/dist/cdn/{UY4FI7AP.js → KADK7ZYA.js} +1 -1
- package/dist/cdn/KVH3PDVW.js +2 -0
- package/dist/cdn/KWBMH7LU.js +61 -0
- package/dist/cdn/L7YTPHKQ.js +349 -0
- package/dist/cdn/MZBTKGRF.js +2 -0
- package/dist/cdn/MZJGADGH.js +122 -0
- package/dist/cdn/OLR6WPCR.js +2 -0
- package/dist/cdn/OQNCJHHX.js +2 -0
- package/dist/cdn/RFTAJAJW.js +2 -0
- package/dist/cdn/RMM7LKZF.js +3 -0
- package/dist/cdn/SGGBOB5K.js +4 -0
- package/dist/cdn/SN2JIWIP.js +2 -0
- package/dist/cdn/TD3EJQQF.js +2 -0
- package/dist/cdn/WH52UBDS.js +2 -0
- package/dist/cdn/WPWVMXUE.js +2 -0
- package/dist/cdn/Y4YK5Q2F.js +2 -0
- package/dist/cdn/{WBSNYWJJ.js → YGW7TUNX.js} +1 -1
- package/dist/cdn/ZDEYVBH7.js +44 -0
- package/dist/cdn/assets/assistant/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/assistant/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/assistant-chat-entry/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/assistant-interrupt/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/assistant-message-feedback/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/assistant-message-footer/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/assistant-message-read-aloud/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/assistant-suggested-prompts/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/converterUtils.js +117 -0
- package/dist/chunks/utils.js +16 -14
- package/dist/chunks/utils2.js +8 -3
- package/dist/components/arcgis-assistant/customElement.d.ts +342 -27
- package/dist/components/arcgis-assistant/customElement.js +216 -147
- package/dist/components/arcgis-assistant/index.js +9 -2
- package/dist/components/arcgis-assistant/types.d.ts +136 -0
- package/dist/components/arcgis-assistant-agent/customElement.d.ts +22 -8
- package/dist/components/arcgis-assistant-agent/customElement.js +7 -7
- package/dist/components/arcgis-assistant-chat/customElement.d.ts +2 -9
- package/dist/components/arcgis-assistant-chat/customElement.js +13 -13
- package/dist/components/arcgis-assistant-chat/index.js +0 -1
- package/dist/components/arcgis-assistant-chat-entry/customElement.d.ts +15 -12
- package/dist/components/arcgis-assistant-chat-entry/customElement.js +59 -25
- package/dist/components/arcgis-assistant-chat-entry/index.js +1 -2
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.d.ts +73 -6
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +5 -5
- package/dist/components/arcgis-assistant-help-agent/customElement.d.ts +73 -0
- package/dist/components/arcgis-assistant-help-agent/customElement.js +26 -0
- package/dist/components/arcgis-assistant-interrupt/customElement.d.ts +1 -1
- package/dist/components/arcgis-assistant-interrupt/customElement.js +8 -8
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +6 -6
- package/dist/components/arcgis-assistant-message/customElement.d.ts +18 -0
- package/dist/components/arcgis-assistant-message/customElement.js +29 -0
- package/dist/components/arcgis-assistant-message/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-message/index.js +4 -0
- package/dist/components/arcgis-assistant-message-block/customElement.d.ts +8 -0
- package/dist/components/arcgis-assistant-message-block/customElement.js +29 -0
- package/dist/components/arcgis-assistant-message-block/index.js +2 -0
- package/dist/components/arcgis-assistant-message-content/customElement.d.ts +12 -0
- package/dist/components/arcgis-assistant-message-content/customElement.js +62 -0
- package/dist/components/arcgis-assistant-message-content/index.js +4 -0
- package/dist/components/arcgis-assistant-message-feedback/customElement.d.ts +23 -0
- package/dist/components/arcgis-assistant-message-feedback/customElement.js +36 -0
- package/dist/components/arcgis-assistant-message-feedback/index.js +3 -0
- package/dist/components/arcgis-assistant-message-footer/customElement.d.ts +25 -0
- package/dist/components/arcgis-assistant-message-footer/customElement.js +62 -0
- package/dist/components/arcgis-assistant-message-footer/index.js +6 -0
- package/dist/components/arcgis-assistant-message-loading/customElement.d.ts +10 -0
- package/dist/components/arcgis-assistant-message-loading/customElement.js +23 -0
- package/dist/components/arcgis-assistant-message-loading/index.js +4 -0
- package/dist/components/arcgis-assistant-message-log/customElement.d.ts +11 -0
- package/dist/components/arcgis-assistant-message-log/customElement.js +29 -0
- package/dist/components/arcgis-assistant-message-log/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-message-log/index.js +3 -0
- package/dist/components/arcgis-assistant-message-read-aloud/customElement.d.ts +19 -0
- package/dist/components/arcgis-assistant-message-read-aloud/customElement.js +104 -0
- package/dist/components/arcgis-assistant-message-read-aloud/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-message-read-aloud/index.js +3 -0
- package/dist/components/arcgis-assistant-message-text/customElement.d.ts +7 -0
- package/dist/components/arcgis-assistant-message-text/customElement.js +22 -0
- package/dist/components/arcgis-assistant-message-text/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-message-text/index.js +1 -0
- package/dist/components/arcgis-assistant-navigation-agent/customElement.d.ts +53 -6
- package/dist/components/arcgis-assistant-navigation-agent/customElement.js +5 -5
- package/dist/components/arcgis-assistant-speech-input/customElement.d.ts +31 -0
- package/dist/components/arcgis-assistant-speech-input/customElement.js +488 -0
- package/dist/components/arcgis-assistant-speech-input/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-speech-input/index.js +2 -0
- package/dist/components/arcgis-assistant-speech-input/support/types.d.ts +20 -0
- package/dist/components/arcgis-assistant-suggested-prompts/customElement.d.ts +16 -0
- package/dist/components/arcgis-assistant-suggested-prompts/customElement.js +27 -0
- package/dist/components/arcgis-assistant-suggested-prompts/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-suggested-prompts/index.js +3 -0
- package/dist/components/arcgis-assistant-user-message/customElement.d.ts +10 -0
- package/dist/components/arcgis-assistant-user-message/customElement.js +23 -0
- package/dist/components/arcgis-assistant-user-message/index.d.ts +1 -0
- package/dist/components/arcgis-assistant-user-message/index.js +2 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +78 -22
- package/dist/loader.js +19 -11
- package/dist/types/lumina.d.ts +83 -26
- package/dist/types/preact.d.ts +96 -31
- package/dist/types/react.d.ts +109 -36
- package/dist/types/stencil.d.ts +83 -26
- package/dist/utils/index.d.ts +305 -0
- package/dist/utils/index.js +13 -0
- package/package.json +15 -8
- package/dist/cdn/26V7SXDR.js +0 -4
- package/dist/cdn/2PLHSU7P.js +0 -271
- package/dist/cdn/4Y73V2HU.js +0 -2
- package/dist/cdn/6T2EIYO4.js +0 -59
- package/dist/cdn/AIAY4NON.js +0 -245
- package/dist/cdn/CN6VFVA2.js +0 -19
- package/dist/cdn/GCFT45CD.js +0 -2
- package/dist/cdn/GN2HYJJX.js +0 -4
- package/dist/cdn/HN2HMAMX.js +0 -28
- package/dist/cdn/I22GHLAO.js +0 -2
- package/dist/cdn/IFSNQY7L.js +0 -2
- package/dist/cdn/IFWK7P7O.js +0 -2
- package/dist/cdn/J35M7O4J.js +0 -2
- package/dist/cdn/JABDBJPC.js +0 -2
- package/dist/cdn/KJZARHAM.js +0 -2
- package/dist/cdn/M672SFG6.js +0 -2
- package/dist/cdn/M7XUI5KY.js +0 -77
- package/dist/cdn/NKNUZCLA.js +0 -17
- package/dist/cdn/Q674OE2M.js +0 -2
- package/dist/cdn/SOWNHB7F.js +0 -30
- package/dist/cdn/VUHDKXFM.js +0 -2
- package/dist/cdn/X7WF7TCS.js +0 -2
- package/dist/cdn/XGVAPO3I.js +0 -2
- package/dist/cdn/XVUE27HC.js +0 -2
- package/dist/cdn/Y7UZYXEV.js +0 -2
- package/dist/cdn/ZF7JAW4Z.js +0 -2
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/assistant-chat-card/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/assistant-shell/t9n/messages.zh-TW.json +0 -1
- package/dist/components/arcgis-assistant-chat-card/customElement.d.ts +0 -32
- package/dist/components/arcgis-assistant-chat-card/customElement.js +0 -53
- package/dist/components/arcgis-assistant-chat-card/index.js +0 -6
- package/dist/components/arcgis-assistant-chat-card-content/customElement.d.ts +0 -12
- package/dist/components/arcgis-assistant-chat-card-content/customElement.js +0 -40
- package/dist/components/arcgis-assistant-chat-card-content/index.js +0 -2
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.d.ts +0 -8
- package/dist/components/arcgis-assistant-layer-filter-agent/customElement.js +0 -26
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.d.ts +0 -8
- package/dist/components/arcgis-assistant-layer-query-agent/customElement.js +0 -26
- package/dist/components/arcgis-assistant-shell/customElement.d.ts +0 -37
- package/dist/components/arcgis-assistant-shell/customElement.js +0 -27
- package/dist/components/arcgis-assistant-shell/index.js +0 -6
- /package/dist/components/{arcgis-assistant-chat-card-content → arcgis-assistant-help-agent}/index.d.ts +0 -0
- /package/dist/components/{arcgis-assistant-layer-filter-agent → arcgis-assistant-help-agent}/index.js +0 -0
- /package/dist/components/{arcgis-assistant-chat-card → arcgis-assistant-message-block}/index.d.ts +0 -0
- /package/dist/components/{arcgis-assistant-layer-filter-agent → arcgis-assistant-message-content}/index.d.ts +0 -0
- /package/dist/components/{arcgis-assistant-layer-query-agent → arcgis-assistant-message-feedback}/index.d.ts +0 -0
- /package/dist/components/{arcgis-assistant-shell → arcgis-assistant-message-footer}/index.d.ts +0 -0
- /package/dist/components/{arcgis-assistant-layer-query-agent/index.js → arcgis-assistant-message-loading/index.d.ts} +0 -0
package/dist/types/stencil.d.ts
CHANGED
|
@@ -2,20 +2,37 @@
|
|
|
2
2
|
import type { ArcgisAssistant } from "../components/arcgis-assistant/customElement.js";
|
|
3
3
|
import type { ArcgisAssistantAgent } from "../components/arcgis-assistant-agent/customElement.js";
|
|
4
4
|
import type { ArcgisAssistantDataExplorationAgent } from "../components/arcgis-assistant-data-exploration-agent/customElement.js";
|
|
5
|
-
import type {
|
|
6
|
-
import type { ArcgisAssistantLayerQueryAgent } from "../components/arcgis-assistant-layer-query-agent/customElement.js";
|
|
5
|
+
import type { ArcgisAssistantHelpAgent } from "../components/arcgis-assistant-help-agent/customElement.js";
|
|
7
6
|
import type { ArcgisAssistantLayerStylingAgent } from "../components/arcgis-assistant-layer-styling-agent/customElement.js";
|
|
8
7
|
import type { ArcgisAssistantNavigationAgent } from "../components/arcgis-assistant-navigation-agent/customElement.js";
|
|
9
8
|
import type { ArcgisAssistantChat } from "../components/arcgis-assistant-chat/customElement.js";
|
|
10
|
-
import type { ArcgisAssistantChatCard } from "../components/arcgis-assistant-chat-card/customElement.js";
|
|
11
|
-
import type { ArcgisAssistantChatCardContent } from "../components/arcgis-assistant-chat-card-content/customElement.js";
|
|
12
9
|
import type { ArcgisAssistantChatEntry } from "../components/arcgis-assistant-chat-entry/customElement.js";
|
|
13
10
|
import type { ArcgisAssistantInterrupt } from "../components/arcgis-assistant-interrupt/customElement.js";
|
|
14
|
-
import type {
|
|
11
|
+
import type { ArcgisAssistantMessage } from "../components/arcgis-assistant-message/customElement.js";
|
|
12
|
+
import type { ArcgisAssistantMessageBlock } from "../components/arcgis-assistant-message-block/customElement.js";
|
|
13
|
+
import type { ArcgisAssistantMessageContent } from "../components/arcgis-assistant-message-content/customElement.js";
|
|
14
|
+
import type { ArcgisAssistantMessageFeedback } from "../components/arcgis-assistant-message-feedback/customElement.js";
|
|
15
|
+
import type { ArcgisAssistantMessageFooter } from "../components/arcgis-assistant-message-footer/customElement.js";
|
|
16
|
+
import type { ArcgisAssistantMessageLoading } from "../components/arcgis-assistant-message-loading/customElement.js";
|
|
17
|
+
import type { ArcgisAssistantMessageLog } from "../components/arcgis-assistant-message-log/customElement.js";
|
|
18
|
+
import type { ArcgisAssistantMessageReadAloud } from "../components/arcgis-assistant-message-read-aloud/customElement.js";
|
|
19
|
+
import type { ArcgisAssistantMessageText } from "../components/arcgis-assistant-message-text/customElement.js";
|
|
20
|
+
import type { ArcgisAssistantSpeechInput } from "../components/arcgis-assistant-speech-input/customElement.js";
|
|
21
|
+
import type { ArcgisAssistantSuggestedPrompts } from "../components/arcgis-assistant-suggested-prompts/customElement.js";
|
|
22
|
+
import type { ArcgisAssistantUserMessage } from "../components/arcgis-assistant-user-message/customElement.js";
|
|
15
23
|
import { JSXBase as StencilJsx } from "@stencil/core/internal";
|
|
16
24
|
import type { EventHandler } from "@arcgis/lumina";
|
|
17
25
|
|
|
18
|
-
interface StencilArcgisAssistant extends Partial<Pick<ArcgisAssistant, "description" | "entryMessage" | "heading" | "
|
|
26
|
+
interface StencilArcgisAssistant extends Partial<Pick<ArcgisAssistant, "copyEnabled" | "description" | "entryMessage" | "feedbackEnabled" | "heading" | "keepSuggestedPrompts" | "logEnabled" | "messages" | "readAloudEnabled" | "referenceElement" | "suggestedPrompts" | "voiceInputEnabled">>, StencilJsx.HTMLAttributes<ArcgisAssistant> {
|
|
27
|
+
onArcgisCancel?: EventHandler<ArcgisAssistant["arcgisCancel"]>;
|
|
28
|
+
onArcgisError?: EventHandler<ArcgisAssistant["arcgisError"]>;
|
|
29
|
+
onArcgisFeedback?: EventHandler<ArcgisAssistant["arcgisFeedback"]>;
|
|
30
|
+
onArcgisInterrupt?: EventHandler<ArcgisAssistant["arcgisInterrupt"]>;
|
|
31
|
+
onArcgisInterruptCancel?: EventHandler<ArcgisAssistant["arcgisInterruptCancel"]>;
|
|
32
|
+
onArcgisInterruptSubmit?: EventHandler<ArcgisAssistant["arcgisInterruptSubmit"]>;
|
|
33
|
+
onArcgisPromptSelect?: EventHandler<ArcgisAssistant["arcgisPromptSelect"]>;
|
|
34
|
+
onArcgisReady?: EventHandler<ArcgisAssistant["arcgisReady"]>;
|
|
35
|
+
onArcgisSubmit?: EventHandler<ArcgisAssistant["arcgisSubmit"]>;
|
|
19
36
|
}
|
|
20
37
|
|
|
21
38
|
interface StencilArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent, "agent">>, Partial<Pick<ArcgisAssistantAgent, "context">>, StencilJsx.HTMLAttributes<ArcgisAssistantAgent> {
|
|
@@ -24,10 +41,7 @@ interface StencilArcgisAssistantAgent extends Required<Pick<ArcgisAssistantAgent
|
|
|
24
41
|
interface StencilArcgisAssistantDataExplorationAgent extends Partial<Pick<ArcgisAssistantDataExplorationAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantDataExplorationAgent> {
|
|
25
42
|
}
|
|
26
43
|
|
|
27
|
-
interface
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
interface StencilArcgisAssistantLayerQueryAgent extends Partial<Pick<ArcgisAssistantLayerQueryAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantLayerQueryAgent> {
|
|
44
|
+
interface StencilArcgisAssistantHelpAgent extends Partial<Pick<ArcgisAssistantHelpAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantHelpAgent> {
|
|
31
45
|
}
|
|
32
46
|
|
|
33
47
|
interface StencilArcgisAssistantLayerStylingAgent extends Partial<Pick<ArcgisAssistantLayerStylingAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantLayerStylingAgent> {
|
|
@@ -36,16 +50,10 @@ interface StencilArcgisAssistantLayerStylingAgent extends Partial<Pick<ArcgisAss
|
|
|
36
50
|
interface StencilArcgisAssistantNavigationAgent extends Partial<Pick<ArcgisAssistantNavigationAgent, "referenceElement">>, StencilJsx.HTMLAttributes<ArcgisAssistantNavigationAgent> {
|
|
37
51
|
}
|
|
38
52
|
|
|
39
|
-
interface StencilArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "loading" | "
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
interface StencilArcgisAssistantChatCard extends Partial<Pick<ArcgisAssistantChatCard, "content" | "error" | "feedbackDisabled" | "loading" | "loadingMessage" | "log" | "timestampDisabled" | "type" | "user">>, StencilJsx.HTMLAttributes<ArcgisAssistantChatCard> {
|
|
53
|
+
interface StencilArcgisAssistantChat extends Partial<Pick<ArcgisAssistantChat, "loading" | "messages">>, StencilJsx.HTMLAttributes<ArcgisAssistantChat> {
|
|
43
54
|
}
|
|
44
55
|
|
|
45
|
-
interface
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
interface StencilArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "enterKeySubmits" | "entryPlaceholder" | "inputValue" | "status">>, StencilJsx.HTMLAttributes<ArcgisAssistantChatEntry> {
|
|
56
|
+
interface StencilArcgisAssistantChatEntry extends Partial<Pick<ArcgisAssistantChatEntry, "awaitingResponse" | "entryPlaceholder" | "inputValue" | "keyboardShortcutsDisabled" | "messages" | "status" | "voiceInputEnabled">>, StencilJsx.HTMLAttributes<ArcgisAssistantChatEntry> {
|
|
49
57
|
onArcgisCancel?: EventHandler<ArcgisAssistantChatEntry["arcgisCancel"]>;
|
|
50
58
|
onArcgisSubmit?: EventHandler<ArcgisAssistantChatEntry["arcgisSubmit"]>;
|
|
51
59
|
}
|
|
@@ -55,25 +63,74 @@ interface StencilArcgisAssistantInterrupt extends Partial<Pick<ArcgisAssistantIn
|
|
|
55
63
|
onArcgisSubmit?: EventHandler<ArcgisAssistantInterrupt["arcgisSubmit"]>;
|
|
56
64
|
}
|
|
57
65
|
|
|
58
|
-
interface
|
|
59
|
-
|
|
60
|
-
|
|
66
|
+
interface StencilArcgisAssistantMessage extends Partial<Pick<ArcgisAssistantMessage, "copyEnabled" | "feedbackEnabled" | "footerDisabled" | "logEnabled" | "message" | "readAloudEnabled">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessage> {
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
interface StencilArcgisAssistantMessageBlock extends Partial<Pick<ArcgisAssistantMessageBlock, "block">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageBlock> {
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
interface StencilArcgisAssistantMessageContent extends Partial<Pick<ArcgisAssistantMessageContent, "message">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageContent> {
|
|
73
|
+
onArcgisSlottableRequest?: EventHandler<ArcgisAssistantMessageContent["arcgisSlottableRequest"]>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
interface StencilArcgisAssistantMessageFeedback extends Partial<Pick<ArcgisAssistantMessageFeedback, "feedbackEnabled" | "message">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageFeedback> {
|
|
77
|
+
onArcgisFeedback?: EventHandler<ArcgisAssistantMessageFeedback["arcgisFeedback"]>;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface StencilArcgisAssistantMessageFooter extends Partial<Pick<ArcgisAssistantMessageFooter, "copyEnabled" | "feedbackEnabled" | "logEnabled" | "message" | "readAloudEnabled">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageFooter> {
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface StencilArcgisAssistantMessageLoading extends Partial<Pick<ArcgisAssistantMessageLoading, "loading" | "loadingMessage">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageLoading> {
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
interface StencilArcgisAssistantMessageLog extends Partial<Pick<ArcgisAssistantMessageLog, "log" | "logEnabled" | "showLog">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageLog> {
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
interface StencilArcgisAssistantMessageReadAloud extends Partial<Pick<ArcgisAssistantMessageReadAloud, "message" | "readAloudEnabled">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageReadAloud> {
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
interface StencilArcgisAssistantMessageText extends Partial<Pick<ArcgisAssistantMessageText, "content">>, StencilJsx.HTMLAttributes<ArcgisAssistantMessageText> {
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
interface StencilArcgisAssistantSpeechInput extends Partial<Pick<ArcgisAssistantSpeechInput, "awaitingResponse" | "inputValue" | "language" | "mode">>, StencilJsx.HTMLAttributes<ArcgisAssistantSpeechInput> {
|
|
96
|
+
onArcgisVoiceInputDraftChange?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputDraftChange"]>;
|
|
97
|
+
onArcgisVoiceInputError?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputError"]>;
|
|
98
|
+
onArcgisVoiceInputInterimTranscription?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputInterimTranscription"]>;
|
|
99
|
+
onArcgisVoiceInputStart?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputStart"]>;
|
|
100
|
+
onArcgisVoiceInputStop?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputStop"]>;
|
|
101
|
+
onArcgisVoiceInputTranscription?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputTranscription"]>;
|
|
102
|
+
onArcgisVoiceInputTranscriptionStreamChunk?: EventHandler<ArcgisAssistantSpeechInput["arcgisVoiceInputTranscriptionStreamChunk"]>;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
interface StencilArcgisAssistantSuggestedPrompts extends Partial<Pick<ArcgisAssistantSuggestedPrompts, "label" | "prompts">>, StencilJsx.HTMLAttributes<ArcgisAssistantSuggestedPrompts> {
|
|
106
|
+
onArcgisPromptSelect?: EventHandler<ArcgisAssistantSuggestedPrompts["arcgisPromptSelect"]>;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
interface StencilArcgisAssistantUserMessage extends Partial<Pick<ArcgisAssistantUserMessage, "content" | "message" | "user">>, StencilJsx.HTMLAttributes<ArcgisAssistantUserMessage> {
|
|
61
110
|
}
|
|
62
111
|
|
|
63
112
|
interface ExposedElements {
|
|
64
113
|
"arcgis-assistant": StencilArcgisAssistant;
|
|
65
114
|
"arcgis-assistant-agent": StencilArcgisAssistantAgent;
|
|
66
115
|
"arcgis-assistant-data-exploration-agent": StencilArcgisAssistantDataExplorationAgent;
|
|
67
|
-
"arcgis-assistant-
|
|
68
|
-
"arcgis-assistant-layer-query-agent": StencilArcgisAssistantLayerQueryAgent;
|
|
116
|
+
"arcgis-assistant-help-agent": StencilArcgisAssistantHelpAgent;
|
|
69
117
|
"arcgis-assistant-layer-styling-agent": StencilArcgisAssistantLayerStylingAgent;
|
|
70
118
|
"arcgis-assistant-navigation-agent": StencilArcgisAssistantNavigationAgent;
|
|
71
119
|
"arcgis-assistant-chat": StencilArcgisAssistantChat;
|
|
72
|
-
"arcgis-assistant-chat-card": StencilArcgisAssistantChatCard;
|
|
73
|
-
"arcgis-assistant-chat-card-content": StencilArcgisAssistantChatCardContent;
|
|
74
120
|
"arcgis-assistant-chat-entry": StencilArcgisAssistantChatEntry;
|
|
75
121
|
"arcgis-assistant-interrupt": StencilArcgisAssistantInterrupt;
|
|
76
|
-
"arcgis-assistant-
|
|
122
|
+
"arcgis-assistant-message": StencilArcgisAssistantMessage;
|
|
123
|
+
"arcgis-assistant-message-block": StencilArcgisAssistantMessageBlock;
|
|
124
|
+
"arcgis-assistant-message-content": StencilArcgisAssistantMessageContent;
|
|
125
|
+
"arcgis-assistant-message-feedback": StencilArcgisAssistantMessageFeedback;
|
|
126
|
+
"arcgis-assistant-message-footer": StencilArcgisAssistantMessageFooter;
|
|
127
|
+
"arcgis-assistant-message-loading": StencilArcgisAssistantMessageLoading;
|
|
128
|
+
"arcgis-assistant-message-log": StencilArcgisAssistantMessageLog;
|
|
129
|
+
"arcgis-assistant-message-read-aloud": StencilArcgisAssistantMessageReadAloud;
|
|
130
|
+
"arcgis-assistant-message-text": StencilArcgisAssistantMessageText;
|
|
131
|
+
"arcgis-assistant-speech-input": StencilArcgisAssistantSpeechInput;
|
|
132
|
+
"arcgis-assistant-suggested-prompts": StencilArcgisAssistantSuggestedPrompts;
|
|
133
|
+
"arcgis-assistant-user-message": StencilArcgisAssistantUserMessage;
|
|
77
134
|
}
|
|
78
135
|
|
|
79
136
|
export namespace JSX {
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import type z from "zod";
|
|
2
|
+
import type { ChatHistory } from "@arcgis/ai-orchestrator";
|
|
3
|
+
import type { AIMessage } from "@langchain/core/messages";
|
|
4
|
+
import type { RunnableConfig } from "@langchain/core/runnables";
|
|
5
|
+
import type { StructuredToolInterface } from "@langchain/core/tools";
|
|
6
|
+
import type { AnnotationRoot, StateGraph } from "@langchain/langgraph/web";
|
|
7
|
+
|
|
8
|
+
export { type ChatHistory } from "@arcgis/ai-orchestrator";
|
|
9
|
+
export { type CustomConfigurableType } from "@arcgis/ai-orchestrator";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Represents a user-facing interruption emitted by an agent that requires
|
|
13
|
+
* input before execution can continue. This is used to implement human-in-the-loop workflows where
|
|
14
|
+
* the agent needs to ask the user for clarification, confirmation, or additional information
|
|
15
|
+
* before proceeding with its tasks.
|
|
16
|
+
*
|
|
17
|
+
* Used to pause an agent flow and request clarification, confirmation,
|
|
18
|
+
* or additional information from the user.
|
|
19
|
+
*
|
|
20
|
+
* @since 5.0
|
|
21
|
+
*/
|
|
22
|
+
export interface UiInterrupt {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for this interrupt instance. This is used to associate the interrupt with a
|
|
25
|
+
* specific message or action in the agent's workflow, allowing the system to track and manage the
|
|
26
|
+
* interrupt effectively.
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* Identifier of the agent requesting input (e.g. "navigation", "myCustomAgent", etc.).
|
|
31
|
+
* This is used to associate the interrupt with the specific agent that emitted it, which
|
|
32
|
+
* can be helpful for debugging, logging, and providing context to the user about which agent
|
|
33
|
+
* is requesting input.
|
|
34
|
+
*/
|
|
35
|
+
agentId: string;
|
|
36
|
+
/**
|
|
37
|
+
* The type of input being requested. See the list below for the currently supported input types. This is used
|
|
38
|
+
* to determine how to render the interrupt in the user interface and what kind of input to expect from the user.
|
|
39
|
+
*
|
|
40
|
+
* - `booleanChoice` - Presents the user with a yes or no option. This is typically used for confirmation
|
|
41
|
+
* prompts where the agent needs to confirm an action with the user before proceeding. For example, some actions
|
|
42
|
+
* may have a high risk of being destructive, such as applying an edit, submitting a form, or deleting data.
|
|
43
|
+
* In these cases, the agent might ask for confirmation before proceeding.
|
|
44
|
+
* - `multipleSelection` - Presents the user with multiple options that the user may choose from in a checkbox
|
|
45
|
+
* interface.
|
|
46
|
+
* - `singleSelection` - Presents the user with a list of options in a radio button interface, prompting the user
|
|
47
|
+
* to select a single option from a list.
|
|
48
|
+
* - `textInput` - Prompts the user to enter free-form text before proceeding. This is a flexible input
|
|
49
|
+
* type that can be used for a wide variety of purposes, such as asking the user for more details about
|
|
50
|
+
* a request, requesting specific information needed to complete a task, or allowing the user to
|
|
51
|
+
* provide feedback or additional context.
|
|
52
|
+
*/
|
|
53
|
+
kind: "booleanChoice" | "multipleSelection" | "singleSelection" | "textInput";
|
|
54
|
+
/**
|
|
55
|
+
* The message shown to the user when prompting for input. This should provide clear instructions or
|
|
56
|
+
* questions related to the interrupt, guiding the user on what information is needed or what action
|
|
57
|
+
* they should take in response to the prompt.
|
|
58
|
+
*/
|
|
59
|
+
message?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Additional data required to render or handle the interrupt. This is typically an array of strings
|
|
62
|
+
* representing options for selection when the `kind` is `multipleSelection` or `singleSelection`.
|
|
63
|
+
* For `booleanChoice`, the options are implicitly "Yes" and "No" and do not need to be provided.
|
|
64
|
+
* For `textInput`, options are not applicable and should be omitted.
|
|
65
|
+
*/
|
|
66
|
+
metadata?: unknown;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Definition of a client-side agent to register to the [arcgis-assistant-agent](https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant-agent/) component.
|
|
71
|
+
* To construct an agent, you must build a state graph using LangGraph that defines the agent's
|
|
72
|
+
* nodes, edges, workspace variables, and tools.
|
|
73
|
+
*
|
|
74
|
+
* @see [LangGraph documentation](https://docs.langchain.com/oss/javascript/langgraph/overview)
|
|
75
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
76
|
+
* @beta
|
|
77
|
+
* @since 5.0
|
|
78
|
+
*/
|
|
79
|
+
export interface AgentRegistration {
|
|
80
|
+
/** A unique identifier for the agent. */
|
|
81
|
+
id: string;
|
|
82
|
+
/** A human-readable name for the agent. This must be unique, but also be semantically meaningful. */
|
|
83
|
+
name: string;
|
|
84
|
+
/**
|
|
85
|
+
* A brief description of the agent's purpose and functionality. This is required for the agent to be
|
|
86
|
+
* discoverable in the orchestration of the [arcgis-assistant](https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant/). It should provide enough information
|
|
87
|
+
* for the Assistant component and users to understand when to use this agent and what it can do.
|
|
88
|
+
* This description should provide examples of user prompts that would indicate this agent should be used.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```js
|
|
92
|
+
* agentRegistration.description = "This agent calculates service areas for a given location.
|
|
93
|
+
* Use this agent when users ask questions about drive or walk times from a specific location, or when they
|
|
94
|
+
* ask for areas reachable within a certain time frame from a location.";
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
description: string;
|
|
98
|
+
/**
|
|
99
|
+
* A function that creates and returns the agent's state graph. This graph defines the agent's behavior,
|
|
100
|
+
* including how it processes inputs, makes decisions, and produces outputs. The graph consists of nodes and edges
|
|
101
|
+
* that represent the agent's deterministic logic and flow. This is a structure defined using LangGraph's StateGraph.
|
|
102
|
+
*
|
|
103
|
+
* @see [LangGraph documentation](https://docs.langchain.com/oss/javascript/langgraph/overview)
|
|
104
|
+
* @see [StateGraph documentation](https://langchain-ai.github.io/langgraphjs/reference/classes/langgraph.StateGraph.html)
|
|
105
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
106
|
+
*/
|
|
107
|
+
createGraph: () => StateGraph<unknown>;
|
|
108
|
+
/**
|
|
109
|
+
* The workspace variables or context required by the agent's graph. This includes messages, results,
|
|
110
|
+
* and any other relevant data required by the LLM to make decisions and determine parameters for function calls.
|
|
111
|
+
* This is a structure defined using LangGraph's AnnotationRoot.
|
|
112
|
+
*
|
|
113
|
+
* @see [LangGraph documentation](https://docs.langchain.com/oss/javascript/langgraph/overview)
|
|
114
|
+
* @see [AnnotationRoot documentation](https://langchain-ai.github.io/langgraphjs/reference/modules/langgraph.Annotation.html)
|
|
115
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
116
|
+
*/
|
|
117
|
+
workspace: AnnotationRoot<any>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Options for sending a prompt to an LLM.
|
|
122
|
+
*
|
|
123
|
+
* @since 5.0
|
|
124
|
+
*/
|
|
125
|
+
export type ArcgisPromptOptions = {
|
|
126
|
+
/** The input prompt text to send to the model. */
|
|
127
|
+
promptText: string;
|
|
128
|
+
/**
|
|
129
|
+
* The model tier to use. See the following options:
|
|
130
|
+
*
|
|
131
|
+
* - `default` - The default model tier, which provides a balance of performance and cost.
|
|
132
|
+
* This is suitable for most general-purpose use cases. At JS SDK v5.0, this model
|
|
133
|
+
* tier corresponds to GPT-5 mini model.
|
|
134
|
+
* - `advanced` - An advanced model tier that may provide improved accuracy or capabilities compared to
|
|
135
|
+
* the default tier. However, it may also come with increased cost and slower performance. At
|
|
136
|
+
* JS SDK v5.0, this model tier corresponds to GPT-5.2 model.
|
|
137
|
+
*
|
|
138
|
+
* The specific models available in each tier may evolve over time as new models are released and existing
|
|
139
|
+
* models are retired. The dates models are retired depends on the model provider and therefore may not
|
|
140
|
+
* align with the semantic versioning rules of the JS SDK. Therefore, the user experience of apps may break
|
|
141
|
+
* in a minor version update of the JS SDK. It is important to keep your implementation flexible and test your prompts
|
|
142
|
+
* regularly to ensure they continue to perform as expected, especially when updating the JS SDK version or
|
|
143
|
+
* when new models are released.
|
|
144
|
+
*
|
|
145
|
+
* Note that the same prompt will not necessarily produce the same results across different
|
|
146
|
+
* models. As models are updated, you will need to re-evaluate the prompts you send to the LLM, including
|
|
147
|
+
* agent descriptions and tool node descriptions to
|
|
148
|
+
* ensure they still return the expected responses. You should adjust your implementation as needed.
|
|
149
|
+
*/
|
|
150
|
+
modelTier?: "advanced" | "default";
|
|
151
|
+
/**
|
|
152
|
+
* The temperature to use for the model (a number between 0 and 1). Higher values will result in more
|
|
153
|
+
* creative and varied responses, while lower values will produce more focused and deterministic responses.
|
|
154
|
+
*/
|
|
155
|
+
temperature?: number;
|
|
156
|
+
/**
|
|
157
|
+
* The chat history used to provide context for the prompt. This should include the recent messages
|
|
158
|
+
* exchanged between the user and the assistant that are necessary for the model to generate an
|
|
159
|
+
* informed response. Providing chat history can help the model understand the conversation context
|
|
160
|
+
* and produce more accurate and relevant responses.
|
|
161
|
+
*/
|
|
162
|
+
messages?: ChatHistory;
|
|
163
|
+
/**
|
|
164
|
+
* Input variables for the prompt. This can include any relevant variables related to the context
|
|
165
|
+
* provided to the agent. This may be necessary for determining tool parameters or for providing additional
|
|
166
|
+
* context to the model when generating a response.
|
|
167
|
+
*/
|
|
168
|
+
inputVariables?: Record<string, unknown>;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Options when sending a prompt to an LLM that expects a structured response validated against a Zod schema.
|
|
173
|
+
*
|
|
174
|
+
* @since 5.0
|
|
175
|
+
*/
|
|
176
|
+
export type ArcgisStructuredPromptOptions<T> = ArcgisPromptOptions
|
|
177
|
+
& {
|
|
178
|
+
/**
|
|
179
|
+
* A Zod schema that defines the expected structure of the model's response. For example, if the expected
|
|
180
|
+
* result from a prompt sent to an LLM is parameters for a tool function that executes specific JS SDK core
|
|
181
|
+
* API calls, the schema should define the structure of those parameters. This allows the response from the model
|
|
182
|
+
* to be validated and parsed according to the defined schema, ensuring type safety and consistency.
|
|
183
|
+
*
|
|
184
|
+
* @see [Zod documentation](https://zod.dev/api)
|
|
185
|
+
*/
|
|
186
|
+
schema: z.ZodType<T>;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Options when sending a prompt to an LLM when the node is expected to invoke tools (e.g. functions defined
|
|
191
|
+
* in the client). This includes the array of tools that the model can choose to invoke in response to the prompt.
|
|
192
|
+
*
|
|
193
|
+
* @since 5.0
|
|
194
|
+
*/
|
|
195
|
+
export type ArcgisToolPromptOptions = ArcgisPromptOptions
|
|
196
|
+
& {
|
|
197
|
+
/**
|
|
198
|
+
* An array of tools that the model can choose to invoke in response to the prompt.
|
|
199
|
+
*
|
|
200
|
+
* @see [StructuredToolInterface documentation](https://reference.langchain.com/javascript/interfaces/_langchain_core.tools.StructuredToolInterface.html)
|
|
201
|
+
*/
|
|
202
|
+
tools: StructuredToolInterface[];
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Data structure for trace messages emitted by agents during graph execution.
|
|
207
|
+
* This is used to send trace messages to the log in the chat interface, allowing users to see the
|
|
208
|
+
* intermediate steps and thought processes of the agent as it executes its graph.
|
|
209
|
+
* This log will only be visible if the [ArcGISAssistant](https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant/#logEnabled) property is set to `true`.
|
|
210
|
+
*
|
|
211
|
+
* @since 5.0
|
|
212
|
+
* @see [ArcGISAssistant](https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant/#logEnabled)
|
|
213
|
+
*/
|
|
214
|
+
export interface TraceEventData {
|
|
215
|
+
/**
|
|
216
|
+
* The text content of the trace message. This should provide information about the agent's current state,
|
|
217
|
+
* the actions it is taking, the decisions it is making, or any other relevant details that can help users
|
|
218
|
+
* understand the agent's behavior and thought process.
|
|
219
|
+
*/
|
|
220
|
+
text: string;
|
|
221
|
+
/**
|
|
222
|
+
* The name of the agent associated with this trace message. This can help provide
|
|
223
|
+
* additional context to users about which agent is emitting the trace message, especially in scenarios
|
|
224
|
+
* where multiple agents are involved in a conversation or workflow.
|
|
225
|
+
*/
|
|
226
|
+
agentName?: string;
|
|
227
|
+
/**
|
|
228
|
+
* The name of the tool associated with the trace message. This can help provide
|
|
229
|
+
* additional context to users about which tool (e.g. function defined in the client) is being invoked or
|
|
230
|
+
* referenced in the trace message, especially when the agent is using multiple tools in its workflow.
|
|
231
|
+
*/
|
|
232
|
+
toolName?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Sends a prompt to an LLM and returns a plain text response. This function should be used when you expect
|
|
237
|
+
* a simple text response from the model without the need for structured parsing or tool invocation.
|
|
238
|
+
*
|
|
239
|
+
* @param options - Options for the prompt, including the prompt text, model tier,
|
|
240
|
+
* temperature, chat history, and input variables.
|
|
241
|
+
* @returns The model response.
|
|
242
|
+
* @since 5.0
|
|
243
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
244
|
+
*/
|
|
245
|
+
export function invokeTextPrompt(options: ArcgisPromptOptions): Promise<string>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Sends a prompt to an LLM and returns a structured response validated against a Zod schema.
|
|
249
|
+
*
|
|
250
|
+
* @param options - Prompt options, including a Zod schema for response validation.
|
|
251
|
+
* @returns The model response parsed into the structure defined by the provided Zod schema.
|
|
252
|
+
* @see [Zod documentation](https://zod.dev/api)
|
|
253
|
+
* @since 5.0
|
|
254
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
255
|
+
*/
|
|
256
|
+
export function invokeStructuredPrompt<T>(options: ArcgisStructuredPromptOptions<T>): Promise<T>;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Invokes a prompt with tools enabled and returns the model's tool call response.
|
|
260
|
+
*
|
|
261
|
+
* @param options - Prompt options, including an array of tools the model can invoke.
|
|
262
|
+
* @returns Resolves to the model's response as an AIMessage as defined in LangChain.
|
|
263
|
+
* @since 5.0
|
|
264
|
+
* @see [AIMessage documentation](https://reference.langchain.com/javascript/classes/_langchain_core.messages.AIMessage.html)
|
|
265
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
266
|
+
*/
|
|
267
|
+
export function invokeToolPrompt(options: ArcgisToolPromptOptions): Promise<AIMessage>;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Dispatches a graph trace message to the log in the chat interface. This allows agents to emit trace
|
|
271
|
+
* messages during graph execution, providing users with insights into the intermediate steps, decisions,
|
|
272
|
+
* and actions taken by the agent. These trace messages can help users understand the agent's thought
|
|
273
|
+
* process and behavior as it executes its graph. It can also be useful for debugging and
|
|
274
|
+
* transparency purposes.
|
|
275
|
+
*
|
|
276
|
+
* @param data - Trace event data to display in the chat log, including the message, agent, and tool if applicable.
|
|
277
|
+
* @param config - Optional runnable configuration
|
|
278
|
+
* [as defined in LangChain](https://reference.langchain.com/javascript/interfaces/_langchain_core.runnables.RunnableConfig.html),
|
|
279
|
+
* which can include additional context or variables to associate with the trace message.
|
|
280
|
+
* @returns A promise that resolves once the event has been dispatched.
|
|
281
|
+
* @since 5.0
|
|
282
|
+
* @see [ArcGISAssistant](https://developers.arcgis.com/javascript/latest/references/ai-components/components/arcgis-assistant/#logEnabled)
|
|
283
|
+
* @see [RunnableConfig documentation](https://reference.langchain.com/javascript/interfaces/_langchain_core.runnables.RunnableConfig.html)
|
|
284
|
+
* @see [Custom agents guide](https://developers.arcgis.com/javascript/latest/agentic-apps/ai-custom-agents/)
|
|
285
|
+
*/
|
|
286
|
+
export function sendTraceMessage(data: TraceEventData, config?: RunnableConfig): Promise<void>;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Generates vector embeddings for an array of strings.
|
|
290
|
+
*
|
|
291
|
+
* @param inputs - An array of text strings to be embedded.
|
|
292
|
+
* @returns A promise that resolves to an array of embedding vectors.
|
|
293
|
+
*/
|
|
294
|
+
export function getEmbeddings(inputs: string[]): Promise<number[][]>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Calculates the cosine similarity between two numeric vectors. This is used to measure the similarity
|
|
298
|
+
* between two embedding vectors, where a score of 1 indicates identical vectors, 0 indicates orthogonal
|
|
299
|
+
* vectors, and -1 indicates opposite vectors.
|
|
300
|
+
*
|
|
301
|
+
* @param vectorA - The first vector array.
|
|
302
|
+
* @param vectorB - The second vector array.
|
|
303
|
+
* @returns A similarity score from -1 (opposite) to 1 (identical).
|
|
304
|
+
*/
|
|
305
|
+
export function cosineSimilarity(vectorA: number[], vectorB: number[]): number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import { cosineSimilarity as o, getEmbeddings as e, invokeStructuredPrompt as t, invokeTextPrompt as i, invokeToolPrompt as s, sendTraceMessage as r } from "@arcgis/ai-orchestrator";
|
|
3
|
+
import "@langchain/langgraph/web";
|
|
4
|
+
import "zod";
|
|
5
|
+
const c = i, p = t, d = s, g = r, k = e, v = o;
|
|
6
|
+
export {
|
|
7
|
+
v as cosineSimilarity,
|
|
8
|
+
k as getEmbeddings,
|
|
9
|
+
p as invokeStructuredPrompt,
|
|
10
|
+
c as invokeTextPrompt,
|
|
11
|
+
d as invokeToolPrompt,
|
|
12
|
+
g as sendTraceMessage
|
|
13
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/ai-components",
|
|
3
|
-
"version": "5.1.0-next.
|
|
3
|
+
"version": "5.1.0-next.71",
|
|
4
|
+
"description": "ArcGIS AI Components",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"module": "dist/index.js",
|
|
@@ -8,6 +9,7 @@
|
|
|
8
9
|
"exports": {
|
|
9
10
|
".": "./dist/index.js",
|
|
10
11
|
"./loader": "./dist/loader.js",
|
|
12
|
+
"./utils/index.js": "./dist/utils/index.js",
|
|
11
13
|
"./package.json": "./package.json",
|
|
12
14
|
"./components/*/customElement": "./dist/components/*/customElement.js",
|
|
13
15
|
"./components/*": "./dist/components/*/index.js",
|
|
@@ -21,17 +23,22 @@
|
|
|
21
23
|
],
|
|
22
24
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
23
25
|
"dependencies": {
|
|
26
|
+
"@esri/arcgis-html-sanitizer": "~4.1.0",
|
|
27
|
+
"@langchain/core": "^1.1.34",
|
|
28
|
+
"@langchain/langgraph": "^1.2.5",
|
|
24
29
|
"lit": "^3.3.0",
|
|
30
|
+
"marked": "~18.0.0",
|
|
25
31
|
"tslib": "^2.8.1",
|
|
26
|
-
"
|
|
27
|
-
"@arcgis/ai-
|
|
28
|
-
"@arcgis/lumina": "5.1.0-next.
|
|
29
|
-
"@arcgis/
|
|
30
|
-
"@arcgis/toolkit": "5.1.0-next.
|
|
32
|
+
"zod": "^4.3.6",
|
|
33
|
+
"@arcgis/ai-agents": "5.1.0-next.71",
|
|
34
|
+
"@arcgis/lumina": "5.1.0-next.71",
|
|
35
|
+
"@arcgis/ai-orchestrator": "5.1.0-next.71",
|
|
36
|
+
"@arcgis/toolkit": "5.1.0-next.71"
|
|
31
37
|
},
|
|
32
38
|
"peerDependencies": {
|
|
33
|
-
"@arcgis/core": "^5.
|
|
34
|
-
"@esri/calcite-components": "^5.0.
|
|
39
|
+
"@arcgis/core": "^5.1.0-next",
|
|
40
|
+
"@esri/calcite-components": "^5.0.2",
|
|
41
|
+
"@arcgis/map-components": "~5.1.0-next.71"
|
|
35
42
|
},
|
|
36
43
|
"css.customData": [
|
|
37
44
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/26V7SXDR.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),Rt=new WeakMap,k=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)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=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Rt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new k(typeof o=="string"?o:o+"",void 0,yt),ve=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new k(e,o,yt)},It=(o,t)=>{if(Z)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Y.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},gt=Z?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:Ee,defineProperty:$e,getOwnPropertyDescriptor:be,getOwnPropertyNames:_e,getOwnPropertySymbols:Ae,getPrototypeOf:Ce}=Object,tt=globalThis,kt=tt.trustedTypes,we=kt?kt.emptyScript:"",Oe=tt.reactiveElementPolyfillSupport,j=(o,t)=>o,X={toAttribute(o,t){switch(t){case Boolean:o=o?we: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}},H=(o,t)=>!Ee(o,t),jt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),tt.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=jt){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&&$e(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=be(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(j("elementProperties")))return;let t=Ce(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(j("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(j("properties"))){let e=this.properties,s=[..._e(e),...Ae(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(gt(r))}else t!==void 0&&e.push(gt(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:X).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:X;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s,r=!1,i){if(t!==void 0){let n=this.constructor;if(r===!1&&(i=this[t]),s??=n.getPropertyOptions(t),!((s.hasChanged??H)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==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,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,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"},_[j("elementProperties")]=new Map,_[j("finalized")]=new Map,Oe?.({ReactiveElement:_}),(tt.reactiveElementVersions??=[]).push("2.1.2");var Et=globalThis,Ht=o=>o,et=Et.trustedTypes,Vt=et?et.createPolicy("lit-html",{createHTML:o=>o}):void 0,$t="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+A,Te=`<${bt}>`,T=document,z=()=>T.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",_t=Array.isArray,Gt=o=>_t(o)||typeof o?.[Symbol.iterator]=="function",vt=`[
|
|
3
|
-
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zt=/-->/g,Bt=/>/g,w=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Wt=/'/g,Ft=/"/g,Kt=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),hs=At(1),ds=At(2),ps=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),qt=new WeakMap,O=T.createTreeWalker(T,129);function Qt(o,t){if(!_t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vt!==void 0?Vt.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=V;for(let a=0;a<e;a++){let c=o[a],h,u,l=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===V?u[1]==="!--"?n=zt:u[1]!==void 0?n=Bt:u[2]!==void 0?(Kt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??V,l=-1):u[1]===void 0?l=-2:(l=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?w:u[3]==='"'?Ft:Wt):n===Ft||n===Wt?n=w:n===zt||n===Bt?n=V:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===V?c+Te:l>=0?(s.push(h),c.slice(0,l)+$t+c.slice(l)+A+g):c+A+(l===-2?a:g)}return[Qt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},W=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[h,u]=Jt(t,e);if(this.el=o.createElement(h,s),O.currentNode=this.el.content,e===2||e===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let l of r.getAttributeNames())if(l.endsWith($t)){let y=u[n++],g=r.getAttribute(l).split(A),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?it:P}),r.removeAttribute(l)}else l.startsWith(A)&&(c.push({type:6,index:i}),r.removeAttribute(l));if(Kt.test(r.tagName)){let l=r.textContent.split(A),y=l.length-1;if(y>0){r.textContent=et?et.emptyScript:"";for(let g=0;g<y;g++)r.append(l[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(l[y],z())}}}else if(r.nodeType===8)if(r.data===bt)c.push({type:2,index:i});else{let l=-1;for(;(l=r.data.indexOf(A,l+1))!==-1;)c.push({type:7,index:i}),l+=A.length-1}i++}}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,i=B(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(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 st=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 i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let h;c.type===2?h=new U(i,i.nextSibling,this,t):c.type===1?h=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(h=new nt(i,this,t)),this._$AV.push(h),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}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++}},U=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),B(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):Gt(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&&B(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=W.createElement(Qt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new st(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=qt.get(t.strings);return e===void 0&&qt.set(t.strings,e=new W(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),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=Ht(t).nextSibling;Ht(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,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,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 i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!B(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,h;for(t=i[0],c=0;c<i.length-1;c++)h=S(this,a[s+c],e,c),h===f&&(h=this._$AH[c]),n||=!B(h)||h!==this._$AH[c],h===d?t=d:t!==d&&(t+=(h??"")+i[c+1]),this._$AH[c]=h}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=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,i){super(t,e,s,r,i),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,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},nt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Yt={M:$t,P:A,A:bt,C:1,L:Jt,R:st,D:Gt,V:S,I:U,H:P,N:rt,U:it,B:ot,F:nt},Se=Et.litHtmlPolyfillSupport;Se?.(W,U),(Et.litHtmlVersions??=[]).push("3.3.2");var Ct=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new U(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,$=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};$._$litElement$=!0,$.finalized=!0,wt.litElementHydrateSupport?.({LitElement:$});var Pe=wt.litElementPolyfillSupport;Pe?.({LitElement:$});(wt.litElementVersions??=[]).push("4.2.2");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},F=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var G=Symbol.for("controller"),Ne=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Os=o=>typeof o?.then=="function";var q,D=o=>{q!==o&&(q=o,queueMicrotask(()=>q===o?q=void 0:0))},K=o=>q,N=[],Zt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Xt=()=>N,R,Ts=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},De=()=>{let o=R;return R=void 0,o},te=async(o,t)=>{let e=ct(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},ee=async o=>{let t=ct(o);return await t.ready,t},ct=o=>{let e=K().manager.X(o);if(e!==void 0)return e;if(Ne(o))return o;let s=De();if(s!==void 0)return s},at=!1,Ss=o=>{at=!0;try{return o()}finally{at=!1}};var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},se=(o,t)=>{let e=t>xe?Le:t/Ue,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},xe=4e3,Le=2e3,Ue=4;var oe=new Set,re;var ie=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Ds=(o,t,e,s)=>{let r=ie(t);if(s?.once){let n=`${o}${r}${e}`;if(oe.has(n))return;oe.add(n)}let i;if(s?.detail){i={};for(let[n,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(i,n,{get(){return c.deref()}})}else i[n]=a;re?.log.interceptors?.forEach(n=>n(o,r,e,i)),console[o](`[${r}]: ${e}`,i)}else re?.log.interceptors?.forEach(n=>n(o,r,e)),console[o](`[${r}]: ${e}`)},ne=o=>{let t=`[${ie(o)}] `;return e=>{let s=e instanceof Error&&e.message?e:new Error(String(e));s.message=`${t}${s.message}`,setTimeout(()=>{throw e})}};var Re=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(I),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=h=>p(t,null,h),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,I=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Me=(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,i)=>p(t,void 0,e===i?r:void 0)),e},Ie=(o=[K(),...Xt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Re(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Me(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},ke=(o="",t={},e=K())=>{let s={emit:r=>{o===""&&I();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Ie(void 0,r=>o=r.key,s),s},je=ke.bind(null,""),le;le=G;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[le]=!0,this.#a=[];let e=this,s=t??K(new.target.name);e.#o=s,e.ready=e.P.promise,e.#n=ce(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(Zt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#i;#c;#l;#p;#h;#d;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ne(this.#o))}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ce(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return D(this.#o),te}get useRef(){return D(this.#o),ee}get useRefSync(){return D(this.#o),ct}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.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.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.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await F(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(F)),this.P.resolve(this.#n)}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.#i.forEach(ae,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ae,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){D(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function ae(o){p(o,void 0,this)}var he=Ot,ce=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){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,i)}},e=new Proxy(o,t);return e};var{I:Vs}=Yt;var lt=o=>o.strings===void 0;var He={},de=(o,t=He)=>o._$AH=t;var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=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 Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},ht=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=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),Be(t)}};function Ve(o){this._$AN!==void 0?(ht(this),this._$AM=o,pe(this)):this._$AM=o}function ze(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 i=e;i<s.length;i++)Q(s[i],!1),ht(s[i]);else s!=null&&(Q(s,!1),ht(s));else Q(this,o)}var Be=o=>{o.type==m.CHILD&&(o._$AP??=ze,o._$AQ??=Ve)},dt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),ht(this))}setValue(t){if(lt(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 Ys=()=>new St,St=class{},Tt=new WeakMap,Pt=E(class extends dt{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=Tt.get(t);e===void 0&&(e=new WeakMap,Tt.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"?Tt.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 pt=o=>o.replace(Fe,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Fe=/[A-Z]+(?![a-z])|[A-Z]/gu;var ho="randomUUID"in crypto;var Dt=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},xt={};function Lt(){}var qe=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,h=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,l,y]=h.split(";"),g=u?u?.split(",").map(Ge):void 0,C=g?.map(([L])=>L),x=class extends Nt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=l?l?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!x.B&&(x.B=c(),x.F()),super()}};customElements.define(a,x)}},ut=Object.defineProperty,Ge=o=>{let t=o.split(":");return t.length===1?[t[0],pt(t[0])]:t},Ke=globalThis.HTMLElement??Lt,Nt=class extends Ke{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??[])ut(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])ut(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??[])ut(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Dt(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,i=Object.values(t).find(l=>l.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Je(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let h=document.createElement(n);i.N=void 0,this.#t=h,this.#e=h,this.#s.forEach(l=>h.attributeChangedCallback(l,null,this.getAttribute(l))),Object.entries(r).forEach(Qe,h);let u=this.isConnected;(u||this.G)&&(h.connectedCallback?.(),u||h.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Qe([o,t]){this[o]=t}var Je=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},ut(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var ft=class extends he{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=mt in t&&typeof t.destroy=="function",$.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 ${mt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();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),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=()=>void this.#e.destroy();this.#t=se(t,Ye)}}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)}},Ye=1e3,mt="autoDestroyDisabled";var fe=E(class extends v{constructor(o){if(super(o),o.type!==m.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 me="important",Ze=" !"+me,Xe=E(class extends v{constructor(o){if(super(o),o.type!==m.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 i=typeof r=="string"&&r.endsWith(Ze);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?me:""):e[s]=r}}return f}});var ts=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!lt(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===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var ye=class o extends ${constructor(){super(),this.M=[],this.manager=new ft(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=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=Lt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===xt;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,i=r?.hasChanged??H,n={attribute:s&1&&typeof t=="string"?pt(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let h=i(a,c);return n.c=h,h}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!at&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#r;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#r.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===xt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Dt(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(F(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(mt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();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.#i?this.#c(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 i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var ge=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var $r=o=>typeof o=="object"&&o!=null?fe(o):o;var Ut=class extends v{#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,Pt(this.#e)):Pt(t)}},br=E(Ut);var _r=d;var J=ge({defaultAssetPath:"https://jsdev.arcgis.com/5.1.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{Os as a,D as b,Zt as c,Xt as d,Ts as e,Ss as f,ve as g,hs as h,Ds as i,Ie as j,je as k,Ot as l,qe as m,Ys as n,Pt as o,ye as p,$r as q,_r as r,J as s,Tr as t,Sr as u};
|