@esri/solutions-components 5.1.0-next.88 → 5.1.0-next.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/cdn/{5IIGQVJO.js → 26K4UTAF.js} +1 -1
  2. package/dist/cdn/{UWU7WKT4.js → 2AO55DUN.js} +1 -1
  3. package/dist/cdn/2HUG6L4M.js +2 -0
  4. package/dist/cdn/{5MAO5XLB.js → 2PM224B6.js} +1 -1
  5. package/dist/cdn/{O5CIRNTW.js → 32YZXXMV.js} +1 -1
  6. package/dist/cdn/{X7GJCPNX.js → 34EUIYLN.js} +1 -1
  7. package/dist/cdn/{GF4QELNV.js → 3FMOO3PJ.js} +1 -1
  8. package/dist/cdn/{YKB6256M.js → 3IHLJADI.js} +1 -1
  9. package/dist/cdn/{76PFFHQQ.js → 3JGLETSR.js} +1 -1
  10. package/dist/cdn/3PT5ULE3.js +2 -0
  11. package/dist/cdn/{ZUM2PBNR.js → 3RUGNS6K.js} +1 -1
  12. package/dist/cdn/{AJZDBHB6.js → 45M33Q5G.js} +1 -1
  13. package/dist/cdn/{5O53T3SW.js → 4HFHJOS3.js} +1 -1
  14. package/dist/cdn/{MH4GMDK7.js → 4J3ETN35.js} +1 -1
  15. package/dist/cdn/{LXI55MKX.js → 4LXH3MTT.js} +1 -1
  16. package/dist/cdn/{Y4WHK65W.js → 4QJK4LPR.js} +1 -1
  17. package/dist/cdn/{QMPT2LSN.js → 4ZKGHGGU.js} +1 -1
  18. package/dist/cdn/{MOK7GNOH.js → 55PTISQ7.js} +1 -1
  19. package/dist/cdn/{ATWINUVK.js → 5A7H4LVR.js} +1 -1
  20. package/dist/cdn/{A4NILC27.js → 5ADMCIGY.js} +1 -1
  21. package/dist/cdn/{GURBVBZQ.js → 5AVH2R6T.js} +1 -1
  22. package/dist/cdn/{RJ35WJNP.js → 5CW67X4G.js} +1 -1
  23. package/dist/cdn/{UNJV2PKC.js → 5EBHORLK.js} +1 -1
  24. package/dist/cdn/{2LBDG4TO.js → 5EYS2CH4.js} +1 -1
  25. package/dist/cdn/{ZV6TCDGB.js → 5JLXNBOA.js} +1 -1
  26. package/dist/cdn/{IZT3JCS7.js → 5NPISZEN.js} +1 -1
  27. package/dist/cdn/{QX5WB6H3.js → 5RTR3NSC.js} +1 -1
  28. package/dist/cdn/{BQVD2BBH.js → 64Y5CQSL.js} +1 -1
  29. package/dist/cdn/6DCCVJMZ.js +2 -0
  30. package/dist/cdn/{J5GPIJHD.js → 6IIMJC5D.js} +1 -1
  31. package/dist/cdn/{JNREEHT7.js → 6MP2RVUK.js} +1 -1
  32. package/dist/cdn/{JR5GBFT2.js → 6O3XSKQY.js} +1 -1
  33. package/dist/cdn/{HJJK5IEH.js → 6PFEFNQM.js} +1 -1
  34. package/dist/cdn/{GQ4DWI5G.js → 6WQK4DHL.js} +1 -1
  35. package/dist/cdn/{BSBNPUTI.js → 6XELM7OM.js} +1 -1
  36. package/dist/cdn/{DV6MFL2N.js → 73YLLTLN.js} +1 -1
  37. package/dist/cdn/{LRZBOUPX.js → 74PV6PZ3.js} +1 -1
  38. package/dist/cdn/{6SADY7KT.js → 76APML4N.js} +1 -1
  39. package/dist/cdn/{VRSBUIGV.js → 7CJQI7VH.js} +1 -1
  40. package/dist/cdn/{KG6FSDWT.js → 7EF5FK2O.js} +1 -1
  41. package/dist/cdn/{QLOWHDGX.js → 7JEVFHRJ.js} +1 -1
  42. package/dist/cdn/{C4IFGE7P.js → 7TCHZME4.js} +1 -1
  43. package/dist/cdn/A7PEA2YP.js +2 -0
  44. package/dist/cdn/{6RTR35JT.js → AFZETCUL.js} +1 -1
  45. package/dist/cdn/AIQEYNZE.js +2 -0
  46. package/dist/cdn/{FFMJQJUP.js → AL2DDBXW.js} +1 -1
  47. package/dist/cdn/{YFXSWGXE.js → ALSK2SPM.js} +1 -1
  48. package/dist/cdn/{EUPJV6QI.js → AM5URNYD.js} +1 -1
  49. package/dist/cdn/{JCQ5JRVZ.js → B67TTSQO.js} +1 -1
  50. package/dist/cdn/{5G5LMAT4.js → B7AQR2UD.js} +1 -1
  51. package/dist/cdn/BBNWDMCK.js +2 -0
  52. package/dist/cdn/{JBNWEBAG.js → BMBNSJZQ.js} +1 -1
  53. package/dist/cdn/BRQJSGIX.js +2 -0
  54. package/dist/cdn/{3OCYAA4P.js → BU5PIAGS.js} +1 -1
  55. package/dist/cdn/{CR7KUQQF.js → BVWAUO73.js} +1 -1
  56. package/dist/cdn/{FEQDFENU.js → C3ZGM4K7.js} +1 -1
  57. package/dist/cdn/{SMNWKCWR.js → CZKXDUOH.js} +1 -1
  58. package/dist/cdn/{RQRAFBVO.js → DJOOB7YP.js} +1 -1
  59. package/dist/cdn/DLH53PYM.js +7 -0
  60. package/dist/cdn/{ZJ3PH44C.js → DQWJUYMM.js} +1 -1
  61. package/dist/cdn/{ERCI6HI5.js → DUZ4KXB3.js} +1 -1
  62. package/dist/cdn/{QK5IXICV.js → DWEIHGFT.js} +1 -1
  63. package/dist/cdn/{Y3CYPNEY.js → EBRCBPEM.js} +1 -1
  64. package/dist/cdn/{B3BR2NG5.js → ELD2UQO4.js} +1 -1
  65. package/dist/cdn/{TMYE7YBP.js → ELPH6EFW.js} +1 -1
  66. package/dist/cdn/{JUCL7I6N.js → ET32EBBO.js} +3 -3
  67. package/dist/cdn/{I33PCNP7.js → FGWGYIBZ.js} +1 -1
  68. package/dist/cdn/{TJNO7ZMF.js → FMHXFW3E.js} +1 -1
  69. package/dist/cdn/{I53PAKKW.js → FN2NSVLO.js} +1 -1
  70. package/dist/cdn/{AZ4JB3M3.js → GEXLEGOL.js} +1 -1
  71. package/dist/cdn/{NPUZIHVP.js → GM772Z5U.js} +1 -1
  72. package/dist/cdn/H5E6ISYP.js +4 -0
  73. package/dist/cdn/{5MVIKBSS.js → H5TWIMN3.js} +1 -1
  74. package/dist/cdn/{SPUZEM7P.js → HKVSZTWH.js} +1 -1
  75. package/dist/cdn/{JUWJNZMD.js → HMKJYAVE.js} +1 -1
  76. package/dist/cdn/{3MEDCOT3.js → HNVWONX2.js} +1 -1
  77. package/dist/cdn/{6TCJ2NKA.js → HOLASUOX.js} +1 -1
  78. package/dist/cdn/I33B45EZ.js +2 -0
  79. package/dist/cdn/{SNR6ZHKZ.js → I6H42GYO.js} +1 -1
  80. package/dist/cdn/{UOGOGQ2H.js → IV4U4XB5.js} +1 -1
  81. package/dist/cdn/{E7Y745EK.js → J5FYHTE4.js} +1 -1
  82. package/dist/cdn/J75MHJID.js +4 -0
  83. package/dist/cdn/{XRZHHEBP.js → J7IFAEYK.js} +1 -1
  84. package/dist/cdn/{3PUFU3VY.js → JC5EXPFH.js} +1 -1
  85. package/dist/cdn/{D66IBZZA.js → JDVVMD4S.js} +1 -1
  86. package/dist/cdn/{A73LPATI.js → JDX6K42U.js} +132 -149
  87. package/dist/cdn/{3FOUGCWY.js → JMU5KKZH.js} +1 -1
  88. package/dist/cdn/{XYG3Z7ZY.js → JWGDDEVT.js} +1 -1
  89. package/dist/cdn/JZ472WDS.js +2 -0
  90. package/dist/cdn/{7UVBIBQS.js → K3DQKY7V.js} +1 -1
  91. package/dist/cdn/K6PW4IX6.js +2 -0
  92. package/dist/cdn/{63QOJNSI.js → KCEVE53E.js} +1 -1
  93. package/dist/cdn/{5Z43RSKO.js → KEZAVYJU.js} +1 -1
  94. package/dist/cdn/{3OLSNMWN.js → KHHT54BU.js} +1 -1
  95. package/dist/cdn/{JSJYFWT6.js → KIUBUHVM.js} +1 -1
  96. package/dist/cdn/{E4GB5Z4R.js → KOHVDHPZ.js} +1 -1
  97. package/dist/cdn/{LRRFLTS7.js → L33BENH7.js} +1 -1
  98. package/dist/cdn/{SGK4AMN6.js → L342GSW5.js} +1 -1
  99. package/dist/cdn/{L6QVMYXE.js → LCERYSRG.js} +1 -1
  100. package/dist/cdn/{QKKYYRVF.js → LCPWL74J.js} +1 -1
  101. package/dist/cdn/{N2XIWSCG.js → LDK4C3VJ.js} +1 -1
  102. package/dist/cdn/{SNE4DYFB.js → LNLCO244.js} +1 -1
  103. package/dist/cdn/{N2KSPEVT.js → LPBP7CBN.js} +1 -1
  104. package/dist/cdn/{KP3AJBAI.js → LPJHRY3Y.js} +1 -1
  105. package/dist/cdn/{FUAPM3ST.js → LVOTTNTF.js} +1 -1
  106. package/dist/cdn/{CQIP3CFN.js → M6HNHWAM.js} +1 -6
  107. package/dist/cdn/{BWTT7T3L.js → MBBG3S5B.js} +1 -1
  108. package/dist/cdn/{ULZKT76M.js → MKHDEHCO.js} +1 -1
  109. package/dist/cdn/{K5MMGZY2.js → MPJRP2QO.js} +1 -1
  110. package/dist/cdn/{AGMFVUEV.js → MVGX2AGG.js} +1 -1
  111. package/dist/cdn/{URLISIUW.js → MVYIHKFK.js} +1 -1
  112. package/dist/cdn/{D5Y4JMF7.js → MZY3G7B5.js} +1 -1
  113. package/dist/cdn/{JZUDCYGF.js → N3F6RUT6.js} +1 -1
  114. package/dist/cdn/{LCWGF752.js → NBQ5MMHE.js} +1 -1
  115. package/dist/cdn/{SNBTGG5B.js → NH5526ON.js} +1 -1
  116. package/dist/cdn/{OR5M4R6K.js → NP7POZTI.js} +1 -1
  117. package/dist/cdn/{ZDTDI643.js → NPOHA56R.js} +1 -1
  118. package/dist/cdn/NSJAGP7T.js +18 -0
  119. package/dist/cdn/NSKVOAA7.js +2 -0
  120. package/dist/cdn/{6GSCRFFW.js → NUD23X7L.js} +1 -1
  121. package/dist/cdn/NV3RC3FX.js +2 -0
  122. package/dist/cdn/{Q2WAWIFY.js → O2L7DY23.js} +1 -1
  123. package/dist/cdn/{WUJQ6R2U.js → O3O4EPB6.js} +1 -1
  124. package/dist/cdn/{N7CI3FRD.js → O4E54ZIL.js} +1 -1
  125. package/dist/cdn/{SQVN3YNK.js → OBKT6Y6H.js} +1 -1
  126. package/dist/cdn/{JM44ZPIE.js → OIRNHTN3.js} +1 -1
  127. package/dist/cdn/{MYPJ63EE.js → OPWB5U5Y.js} +1 -1
  128. package/dist/cdn/OV4IBBDL.js +2 -0
  129. package/dist/cdn/{C5AR5K23.js → P2YLMWCT.js} +1 -1
  130. package/dist/cdn/{ECFYA6DN.js → PAMG6BC2.js} +1 -1
  131. package/dist/cdn/{3S5XSBME.js → PHIGRQ7V.js} +1 -1
  132. package/dist/cdn/PP2SFAFD.js +2 -0
  133. package/dist/cdn/PRXFYNIG.js +19 -0
  134. package/dist/cdn/{HT55AVL4.js → QAMVNRII.js} +1 -1
  135. package/dist/cdn/{QX742MCD.js → QO2RC46D.js} +1 -1
  136. package/dist/cdn/{J72FZDMP.js → QPNIPE5H.js} +1 -1
  137. package/dist/cdn/{23CGFV6D.js → QQN472YW.js} +1 -1
  138. package/dist/cdn/QSBVJLYZ.js +2 -0
  139. package/dist/cdn/QYDGCI2P.js +2 -0
  140. package/dist/cdn/{SCZI2MJN.js → QZRJRLYA.js} +1 -1
  141. package/dist/cdn/R3TKXDOE.js +6 -0
  142. package/dist/cdn/{HO5JGUUI.js → R67EKKSL.js} +1 -1
  143. package/dist/cdn/{EWUZF57U.js → RIM6ODUZ.js} +1 -1
  144. package/dist/cdn/{TMSMQA7C.js → RJFWIPOY.js} +1 -1
  145. package/dist/cdn/{FDQE4EO7.js → RKBDZ7GR.js} +1 -1
  146. package/dist/cdn/{TW7HOOK6.js → ROKVOX7R.js} +1 -1
  147. package/dist/cdn/{XZ65OHYC.js → RUZVGWHQ.js} +1 -1
  148. package/dist/cdn/{ACINVVFD.js → RWGEJGAH.js} +1 -1
  149. package/dist/cdn/{SHAQ3O3Z.js → RX7HKQ7Y.js} +1 -1
  150. package/dist/cdn/{C5QZMZX7.js → S7MMEM3H.js} +1 -1
  151. package/dist/cdn/{QUWHB36D.js → SB3EADQF.js} +1 -1
  152. package/dist/cdn/{BXNDQ2JH.js → SBTQKPQR.js} +1 -1
  153. package/dist/cdn/{CGFMGQ3A.js → SFM524YL.js} +1 -1
  154. package/dist/cdn/{HWOOHVH5.js → SGBMDDAS.js} +1 -1
  155. package/dist/cdn/{XV7A4KNT.js → SUK3BLEW.js} +1 -1
  156. package/dist/cdn/{JTIMMQ6K.js → SWAMKTGK.js} +1 -1
  157. package/dist/cdn/SWWDYNJE.js +2 -0
  158. package/dist/cdn/SXVCHOTK.js +79 -0
  159. package/dist/cdn/{LR57LX6P.js → TILX2YPV.js} +1 -1
  160. package/dist/cdn/{JFJRHOAG.js → TM3CBSWO.js} +1 -1
  161. package/dist/cdn/{CGZDUJRA.js → TMKYG3QB.js} +1 -1
  162. package/dist/cdn/{NLOASWJ3.js → UDBUSMCV.js} +1 -1
  163. package/dist/cdn/{V52O7WYV.js → UDGR2GC5.js} +1 -1
  164. package/dist/cdn/{XY65IFHL.js → UHVJUD6J.js} +1 -1
  165. package/dist/cdn/{7D5KMJGC.js → UJLDLGTN.js} +1 -1
  166. package/dist/cdn/{MCZXYUMV.js → ULTK7DMM.js} +1 -1
  167. package/dist/cdn/{GIANH6D4.js → UYYYSJL4.js} +1 -1
  168. package/dist/cdn/V3YTRV33.js +2 -0
  169. package/dist/cdn/{WOBPKAC2.js → VHOYM5MD.js} +1 -1
  170. package/dist/cdn/{KXGN75L6.js → VPDMT4CY.js} +1 -1
  171. package/dist/cdn/{AUNFZODL.js → VWPOKKOE.js} +1 -1
  172. package/dist/cdn/{RU3J7KVD.js → W6E3DYEQ.js} +1 -1
  173. package/dist/cdn/{DPSP2HYG.js → WAW43L2Y.js} +1 -1
  174. package/dist/cdn/WDHXTOWG.js +102 -0
  175. package/dist/cdn/{AE4OV2XZ.js → WEAC3FS7.js} +2 -2
  176. package/dist/cdn/{G3CCK7KY.js → WHS5LXKB.js} +1 -1
  177. package/dist/cdn/{XMOI3PP6.js → WLXO44M4.js} +1 -1
  178. package/dist/cdn/WQGGCG6M.js +2 -0
  179. package/dist/cdn/{C2CJFQ6Q.js → WSPAWPSL.js} +1 -1
  180. package/dist/cdn/{MGAKD4WY.js → WUM5AKBT.js} +1 -1
  181. package/dist/cdn/WVZM6LEZ.js +2 -0
  182. package/dist/cdn/{2HIYREV6.js → X25OZSS4.js} +1 -1
  183. package/dist/cdn/{R4CW26PN.js → X5EABWHE.js} +1 -1
  184. package/dist/cdn/{PX2KKGLQ.js → XN2JVOOR.js} +1 -1
  185. package/dist/cdn/{GWSB6X4X.js → XPIAEAK5.js} +1 -1
  186. package/dist/cdn/{CQRK2NYK.js → XVXOCPOT.js} +1 -1
  187. package/dist/cdn/{X26QOEYN.js → XXQKFENH.js} +1 -1
  188. package/dist/cdn/{RLHHGWT4.js → XXT542UR.js} +1 -1
  189. package/dist/cdn/{RH47YGDG.js → Y2ORH4QJ.js} +1 -1
  190. package/dist/cdn/{CKNELMMH.js → YHACLWMU.js} +1 -1
  191. package/dist/cdn/{TFINIJHF.js → YKQDHR27.js} +1 -1
  192. package/dist/cdn/{U727H4NV.js → YN7SGJOG.js} +1 -1
  193. package/dist/cdn/{FWWWKZLH.js → YOAGUXW6.js} +1 -1
  194. package/dist/cdn/{IPIK53AM.js → ZBET72YB.js} +1 -1
  195. package/dist/cdn/{DVXR45DO.js → ZDLTST3A.js} +1 -1
  196. package/dist/cdn/{U3ZZOP55.js → ZKELOWSS.js} +1 -1
  197. package/dist/cdn/ZONXYZVU.js +2 -0
  198. package/dist/cdn/{BXOH6SN4.js → ZR4T2HGR.js} +1 -1
  199. package/dist/cdn/{2LV7NQMM.js → ZYCAAXQF.js} +1 -1
  200. package/dist/cdn/{TJDAE43J.js → ZYRNI524.js} +1 -1
  201. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  202. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  203. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  204. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  205. package/dist/cdn/index.js +1 -1
  206. package/dist/chunks/description.js +1 -6
  207. package/dist/chunks/designSolution.js +105 -0
  208. package/dist/chunks/findExistingSolution.js +22 -0
  209. package/dist/chunks/get-portal-url.js +345 -0
  210. package/dist/chunks/initialAssessment.js +82 -0
  211. package/dist/chunks/solution-deploy-dialog.js +7 -17
  212. package/dist/chunks/updateDesign.js +5 -0
  213. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +16 -38
  214. package/dist/components/arcgis-solutions-assistant/customElement.js +10205 -10519
  215. package/dist/components/consent-manager/customElement.js +638 -609
  216. package/dist/components/solution-builder-assistant/customElement.d.ts +12 -2
  217. package/dist/components/solution-builder-assistant/customElement.js +87 -87
  218. package/dist/components/solution-builder-assistant/index.js +0 -4
  219. package/dist/components/solution-deploy-dialog/index.js +0 -1
  220. package/dist/components/solutions-deploy-app/customElement.d.ts +7 -0
  221. package/dist/components/solutions-deploy-app/customElement.js +346 -27
  222. package/dist/docs/api.json +1 -1
  223. package/dist/docs/docs.json +1 -1
  224. package/dist/docs/vscode.html-custom-data.json +1 -1
  225. package/dist/docs/web-types.json +1 -1
  226. package/dist/loader.js +2 -2
  227. package/dist/solutions-components_commit.txt +7 -7
  228. package/dist/types/lumina.d.ts +2 -2
  229. package/dist/types/preact.d.ts +2 -2
  230. package/dist/types/react.d.ts +2 -2
  231. package/dist/types/stencil.d.ts +2 -2
  232. package/dist/utils/interfaces.d.ts +1 -0
  233. package/package.json +25 -24
  234. package/dist/cdn/46C7TV4N.js +0 -10
  235. package/dist/cdn/4TL66G66.js +0 -9
  236. package/dist/cdn/67YHFNNT.js +0 -2
  237. package/dist/cdn/7FKMQ3QO.js +0 -2
  238. package/dist/cdn/AODE5TBO.js +0 -2
  239. package/dist/cdn/B4Y2UZHO.js +0 -2
  240. package/dist/cdn/BDKWDKBM.js +0 -7
  241. package/dist/cdn/CIG6UPFZ.js +0 -35
  242. package/dist/cdn/D4VZQUOX.js +0 -2
  243. package/dist/cdn/EJQKVRSG.js +0 -2
  244. package/dist/cdn/HE2XAIDT.js +0 -4
  245. package/dist/cdn/HQE4ABPK.js +0 -53
  246. package/dist/cdn/IRRMUFW7.js +0 -2
  247. package/dist/cdn/IVFBBPSY.js +0 -2
  248. package/dist/cdn/JAITP34E.js +0 -2
  249. package/dist/cdn/JSXNTE4I.js +0 -2
  250. package/dist/cdn/KNGBLBV7.js +0 -2
  251. package/dist/cdn/KQBIVJ7H.js +0 -36
  252. package/dist/cdn/LYDP7VMM.js +0 -2
  253. package/dist/cdn/MRGCC5C4.js +0 -4
  254. package/dist/cdn/NTOQES4U.js +0 -41
  255. package/dist/cdn/NUVTCMAW.js +0 -9
  256. package/dist/cdn/NYWSGPCD.js +0 -18
  257. package/dist/cdn/O3G7OWBQ.js +0 -164
  258. package/dist/cdn/OFM2G4BH.js +0 -2
  259. package/dist/cdn/QHHYNSCP.js +0 -2
  260. package/dist/cdn/RF2W2PD4.js +0 -7
  261. package/dist/cdn/RYETW3AF.js +0 -6
  262. package/dist/cdn/SY5KYHF4.js +0 -2
  263. package/dist/cdn/TV7TG34E.js +0 -2
  264. package/dist/cdn/WFHPQFNH.js +0 -2
  265. package/dist/cdn/WROPXUSZ.js +0 -2
  266. package/dist/cdn/X7ZFLHUP.js +0 -2
  267. package/dist/cdn/XFG55QXT.js +0 -2
  268. package/dist/cdn/YSLCWEDP.js +0 -2
  269. package/dist/chunks/create_design_prompt.js +0 -5
  270. package/dist/chunks/create_user_query.js +0 -12
  271. package/dist/chunks/extract-template.js +0 -44
  272. package/dist/chunks/extract-use-case.js +0 -38
  273. package/dist/chunks/get.js +0 -387
  274. package/dist/chunks/matching_solution_prompt.js +0 -12
  275. package/dist/chunks/prompts.js +0 -13
  276. package/dist/chunks/review_use_case_prompt.js +0 -10
  277. package/dist/chunks/system_prompt.js +0 -167
  278. package/dist/chunks/valid_tempates.js +0 -39
  279. package/dist/chunks/workflow_1_step_4.js +0 -56
@@ -1,53 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./QPIMTXPL.js";var r=`System prompt:\r
3
- \r
4
- # Your Role\r
5
- \r
6
- You review a user's proposed use case for a solution-building workflow.\r
7
- \r
8
- Your task is to decide whether the use case is appropriate to support.\r
9
- \r
10
- Return one value:\r
11
- \r
12
- - \`isAppropriate\`: \`true\` if the use case is appropriate to support, otherwise \`false\`\r
13
- \r
14
- # Decision rule\r
15
- \r
16
- Return \`false\` only when the use case clearly involves harmful, abusive, exploitative, unlawful, or otherwise disallowed intent.\r
17
- \r
18
- Return \`true\` when the use case is benign, ordinary, unclear-but-not-harmful, or a normal public-sector, business, community, mapping, inspection, inventory, or information-sharing workflow.\r
19
- \r
20
- ## Return \`false\` for use cases that clearly involve\r
21
- \r
22
- - violence, physical harm, terrorism, or weapons-related wrongdoing\r
23
- - stalking, harassment, intimidation, or abuse\r
24
- - sexual exploitation or abuse\r
25
- - hateful, discriminatory, or demeaning targeting of protected groups\r
26
- - criminal activity, evasion of law enforcement, or facilitating wrongdoing\r
27
- - invasion of privacy, surveillance abuse, doxxing, or tracking people without a legitimate and respectful purpose\r
28
- - fraud, deception, impersonation, or manipulation\r
29
- - self-harm or assisting someone in harming themselves\r
30
- \r
31
- ## Return \`true\` for use cases that are\r
32
- \r
33
- - ordinary inspections, compliance checks, or maintenance workflows\r
34
- - spatial data management, asset inventories, or operational record keeping\r
35
- - sharing or managing places, facilities, landmarks, businesses, or public destinations\r
36
- - community engagement, public information, service delivery, field operations, or planning workflows\r
37
- - ambiguous or underspecified but not clearly harmful\r
38
- \r
39
- # Important constraints\r
40
- \r
41
- - Focus only on safety and appropriateness, not completeness.\r
42
- - Do not reject a use case just because it is vague or lacks detail.\r
43
- - Do not infer harmful intent unless it is reasonably clear from the user's words.\r
44
- - Treat legitimate civic, business, infrastructure, inspection, and operational workflows as appropriate by default.\r
45
- - Return only the JSON object.\r
46
- \r
47
- # Output\r
48
- \r
49
- \`\`\`json\r
50
- {\r
51
- "isAppropriate": boolean\r
52
- }\r
53
- \`\`\``;export{r as default};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- function Q(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function v(t,e){var s={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(s[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a])&&(s[n[a]]=t[n[a]]);return s}function j(t){return Object.keys(t).some(e=>{let s=t[e];if(!s)return!1;switch(s&&s.toParam&&(s=s.toParam()),s.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function A(t){let e={};return Object.keys(t).forEach(s=>{var n,a;let r=t[s];if(r&&r.toParam&&(r=r.toParam()),!r&&r!==0&&typeof r!="boolean"&&typeof r!="string")return;let o=r.constructor.name,c;switch(o){case"Array":let u=(a=(n=r[0])===null||n===void 0?void 0:n.constructor)===null||a===void 0?void 0:a.name;c=u==="Array"?r:u==="Object"?JSON.stringify(r):r.join(",");break;case"Object":c=JSON.stringify(r);break;case"Date":c=r.valueOf();break;case"Function":c=null;break;case"Boolean":c=r+"";break;default:c=r;break}(c||c===0||typeof c=="string"||Array.isArray(c))&&(e[s]=c)}),e}function C(t,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(s=>C(t,s)).join("&"):encodeURIComponent(t)+"="+encodeURIComponent(e)}function E(t){let e=A(t);return Object.keys(e).map(s=>C(s,e[s])).join("&")}var x=globalThis.FormData;function $(t,e){let s=j(t)||e,n=A(t);if(s){let a=new x;return Object.keys(n).forEach(r=>{if(typeof Blob<"u"&&n[r]instanceof Blob){let o=n.fileName||n[r].name||r;a.append(r,n[r],o)}else a.append(r,n[r])}),a}else return E(t)}var g=class extends Error{constructor(e,s,n,a,r){super(e);let o=new.target.prototype;Object.setPrototypeOf(this,o),e=e||"UNKNOWN_ERROR",s=s||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=s==="UNKNOWN_ERROR_CODE"?e:`${s}: ${e}`,this.originalMessage=e,this.code=s,this.response=n,this.url=a,this.options=r}},G={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},b="ARCGIS_REST_JS_NO_CORS";globalThis[b]||(globalThis[b]=Object.assign({},G));var h=globalThis[b];function q(t){let e=new URL(t);t=e.origin+e.pathname,e.search.includes("f=json")&&(t+="?f=json");let s=e.origin;return h.pendingNoCorsRequests[s]||(h.pendingNoCorsRequests[s]=fetch(t,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{h.noCorsDomains.indexOf(s)===-1&&h.noCorsDomains.push(s),h.crossOriginNoCorsDomains[s.toLowerCase()]=Date.now(),delete h.pendingNoCorsRequests[s]}).catch(n=>(delete h.pendingNoCorsRequests[s],Promise.reject(new Error(`no-cors request to ${s} failed`))))),h.pendingNoCorsRequests[s]}function L(t){t.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?w(e):(w("http://"+e),w("https://"+e))})}function w(t){let e=new URL(t).origin;h.noCorsDomains.indexOf(e)===-1&&h.noCorsDomains.push(e)}function N(t){let e=!1;if(h.noCorsDomains.length){let s=new URL(t).origin.toLowerCase();e=h.noCorsDomains.some(n=>s.includes(n))}return e}function W(t){let e=!1;if(N(t)){let s=new URL(t).origin.toLowerCase(),n=h.crossOriginNoCorsDomains[s]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function M(t){console&&console.warn&&console.warn.apply(console,[t])}function J(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function K(t,e){var s;if(!e&&!window||!t)return!1;{e=e||window;let n=(s=e.location)===null||s===void 0?void 0:s.origin;return t.startsWith(n)}}var H="@esri/arcgis-rest-js";function B(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var O=class extends g{constructor(e="AUTHENTICATION_ERROR",s="AUTHENTICATION_ERROR_CODE",n,a,r){super(e,s,n,a,r),this.name="ArcGISAuthError",this.message=s==="AUTHENTICATION_ERROR_CODE"?e:`${s}: ${e}`;let o=new.target.prototype;Object.setPrototypeOf(this,o)}retry(e,s=1){let n=0,a=(r,o)=>{n=n+1,e(this.url,this.options).then(c=>{let u=Object.assign(Object.assign({},this.options),{authentication:c});return S(this.url,u)}).then(c=>{r(c)}).catch(c=>{c.name==="ArcGISAuthError"&&n<s?a(r,o):c.name===this.name&&c.message===this.message&&n>=s?o(this):o(c)})};return new Promise((r,o)=>{a(r,o)})}};function z(t,e,s,n,a){if(t.code>=400){let{message:r,code:o}=t;throw new g(r,o,t,e,n)}if(t.error){let{message:r,code:o,messageCode:c}=t.error,u=c||o||"UNKNOWN_ERROR_CODE";throw o===498||o===499?a||new O(r,u,t,e,n):new g(r,u,t,e,n)}if(t.status==="failed"||t.status==="failure"){let r,o="UNKNOWN_ERROR_CODE";try{r=JSON.parse(t.statusMessage).message,o=JSON.parse(t.statusMessage).code}catch{r=t.statusMessage||t.message}throw new g(r,o,t,e,n)}return t}function S(t,e){let s=B(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},s),e),{params:Object.assign(Object.assign({},s.params),e.params),headers:Object.assign(Object.assign({},s.headers),e.headers)}),{httpMethod:a,rawResponse:r}=n,o=Object.assign({f:"json"},n.params),c=null,u={method:a,signal:n.signal,credentials:n.credentials||"same-origin"};N(t)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let p;if(typeof n.authentication=="string"){let i=n.authentication;p={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(i)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(M("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else p=n.authentication;let k=t,y=!1;typeof window<"u"&&(y=K(t));let U=!y&&W(t);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let R=Promise.resolve();return U&&(u.credentials="include",R=q(t)),R.then(()=>p?p.getToken(t).catch(i=>(i.url=t,i.options=n,c=i,Promise.resolve(""))):Promise.resolve("")).then(i=>{i.length&&(o.token=i),p&&p.getDomainCredentials&&(u.credentials=p.getDomainCredentials(t));let l={};if(u.method==="GET"){o.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${o.token}`,delete o.token);let f=E(o),m=f===""?t:`${t}?${f}`;n.maxUrlLength&&m.length>n.maxUrlLength||!n.maxUrlLength&&m.length>2e3||o.token&&n.hideToken?(u.method="POST",i.length&&n.hideToken&&(o.token=i,delete l["X-Esri-Authorization"])):t=m}let d=new RegExp("/items/.+/updateResources").test(t);return u.method==="POST"&&(u.body=$(o,d)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=H),!j(o)&&!d&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(t,u):J().then(({fetch:f})=>f(t,u))}).then(i=>{if(!i.ok)return i.json().then(l=>{let{status:d,statusText:f}=i,{message:m,details:T}=l.error,I=`${m}. ${T?T.join(" "):""}`.trim();throw new g(I,`HTTP ${d} ${f}`,l,t,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:d,statusText:f}=i;throw new g(f,`HTTP ${d}`,i,t,n)});if(r)return console.warn("rawResponse option is deprecated and will be removed in ArcGIS REST JS v5.0."),i;switch(o.f){case"json":return i.json();case"geojson":return i.json();case"html":return i.text();case"text":return i.text();default:return i.blob()}}).then(i=>{if((o.f==="json"||o.f==="geojson")&&!r){let l=z(i,k,o,n,c);if(i&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(t)&&Array.isArray(i.authorizedCrossOriginNoCorsDomains)&&L(i.authorizedCrossOriginNoCorsDomains),c){let d=t.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[d]={token:[],expires:new Date(Date.now()+86400*1e3)},c=null}return l}else return i})}function P(t,e={params:{f:"json"}}){let{request:s}=e,n=v(e,["request"]);return s?s(t,n):S(t,n).catch(a=>a instanceof O&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?a.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(a))}function F(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}function _(t={}){return t.portal?F(t.portal):t.authentication&&typeof t.authentication!="string"?t.authentication.portal:"https://www.arcgis.com/sharing/rest"}function V(t){return t.owner?Promise.resolve(t.owner):t.item&&t.item.owner?Promise.resolve(t.item.owner):t.authentication&&t.authentication.getUsername?t.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function Y(t){return Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1])}function Z(t){return t.join(",")}function X(t,e,s){if(!t)return t;let n=null;return typeof t.thumbnail=="string"&&(n=`${e}/content/items/${t.id}/info/${t.thumbnail}`,n&&t.access!=="public"&&s&&(n+=`?${s}`)),Object.assign(Object.assign({},t),n?{thumbnailUrl:n}:{})}function tt(t,e){let s=D(t,e),n=Object.assign({httpMethod:"GET"},e);return P(s,n).then(async a=>{let r=e?.portal||_(e),o;if(e?.authentication&&typeof e.authentication!="string"&&a.access!=="public")try{o=await e.authentication.getToken(s)}catch{}return X(a,r,o)})}var D=(t,e)=>`${typeof e=="string"?e:_(e)}/content/items/${t}`;function et(t,e){let s=`${D(t,e)}/data`,n=Object.assign({httpMethod:"GET",params:{}},e);return n.file&&(n.params.f=null),P(s,n).catch(a=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(a.message))throw a})}export{Q as a,v as b,M as c,P as d,_ as e,V as f,Y as g,Z as h,X as i,tt as j,et as k};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./XYG3Z7ZY.js";import b from"./RLHHGWT4.js";import a from"./R4CW26PN.js";import"./2B4SGB3I.js";import"./TFINIJHF.js";import"./HE2XAIDT.js";import"./HO5JGUUI.js";import"./CR7KUQQF.js";import"./7UVBIBQS.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./JSJYFWT6.js";import"./MRGCC5C4.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{e:o}])=>{return o},a,b,c)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import u from"./I53PAKKW.js";import t from"./QMPT2LSN.js";import s from"./TMYE7YBP.js";import r from"./QX5WB6H3.js";import q from"./5G5LMAT4.js";import o from"./O5CIRNTW.js";import"./J72FZDMP.js";import n from"./3PUFU3VY.js";import"./X7ZFLHUP.js";import m from"./NYWSGPCD.js";import"./2LV7NQMM.js";import k from"./QX742MCD.js";import j from"./ZDTDI643.js";import i from"./DV6MFL2N.js";import{a as $}from"./LRRFLTS7.js";import"./WUJQ6R2U.js";import g from"./XYG3Z7ZY.js";import e from"./RLHHGWT4.js";import c from"./R4CW26PN.js";import{a as w,b as A,c as D}from"./2B4SGB3I.js";import{a as b}from"./TFINIJHF.js";import"./HE2XAIDT.js";import{a as S}from"./HO5JGUUI.js";import"./CR7KUQQF.js";import"./7UVBIBQS.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as C}from"./JSJYFWT6.js";import{E as l,F as a,G as T,I as p,K as f,h as v,i as h,q as d}from"./MRGCC5C4.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,{c:x,g:I,k:F,l:O,n:c},,{g:P,h:M},,{b:k},,,{a:y,b:L},{a:m}])=>{var E=v`.back-color-override{background-color:var(--calcite-color-surface-3);--calcite-tab-border-color: var(--calcite-color-surface-4)}:host{--panel-edge-adjustment: 2vw;--assistant-panel-min-width: 420px;--assistant-panel-width: max(var(--assistant-panel-min-width), calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment) - 15px))}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-2);flex:1;min-height:0}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-2);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}.main-content{container-type:inline-size;display:flex;flex-direction:column;height:100%;overflow:hidden}.main-content.assistant-open{margin-right:var(--assistant-panel-width)}.assistant-open solutions-searchsort-toolbar,.assistant-open solution-details-panel,.assistant-open solutions-deployed-shell,.assistant-open solutions-all-shell,.assistant-open calcite-tab-nav,.assistant-open solution-deployed-card-panel{margin-left:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));margin-right:0;width:auto;max-width:1440px}.builder-panel{position:fixed;top:65px;left:max(var(--panel-edge-adjustment),calc((96vw - 1440px) / 2 + var(--panel-edge-adjustment)));right:var(--assistant-panel-width);bottom:0;z-index:400;display:flex;flex-direction:column;transition:transform .3s cubic-bezier(.4,0,.2,1);transform:translate(0);pointer-events:auto}.builder-panel.display-none{display:flex!important;transform:translate(100%);pointer-events:none}.builder-panel.display-none:has(~.assistant-panel.display-none){display:none!important;transition:none}.assistant-panel{position:fixed;top:65px;right:0;bottom:0;width:var(--assistant-panel-width);min-width:var(--assistant-panel-min-width);z-index:400;display:flex;flex-direction:column}@media(max-width:800px){.builder-panel{display:none!important}.assistant-panel{width:100%;box-shadow:none}.main-content.assistant-open{margin-right:0}}.assistant-fab{position:fixed;bottom:var(--calcite-spacing-xxl);right:var(--calcite-spacing-xxl);z-index:500}calcite-tooltip{--calcite-tooltip-max-size-x: 16rem}`,V={solution:{title:"Bus Stop ADA Compliance Inspections",description:"Bus Stop ADA Compliance Inspections can be used to perform routine inspections of bus stops for ADA compliance and monitor inspection progress.",tags:["Bus Stop","ADA Compliance","Inspection","Field","Monitor","ArcGIS Solutions"],strings:[{key:"inspectionsByMonth",value:"Inspections by Month",description:"Descriptive title of dashboard chart displaying the number of inspections completed by month."},{key:"inspectionsCompleted",value:"Inspections Completed",description:"Descriptive title of dashboard indicator displaying the total number of inspections completed."},{key:"assetInventory",value:"Bus Stop Inventory",description:"Descriptive title of dashboard indicator displaying the total number of bus stops."}]},items:[{id:"b21885d38b3c4924922ce36c90112737",title:"Bus Stop ADA Inspection Dashboard",description:"An ArcGIS Dashboards app used to monitor bus stop ADA compliance inspections.",type:"Dashboard"},{id:"54f69b6af00b4f06b1c1eef05e80dc93",title:"Bus Stop ADA Inspection Map",description:"A map used by the Bus Stop ADA Inspection Dashboard app to monitor inspections.",type:"Web Map"},{id:"2fc93fa4e07e42508669d02acb837a75",title:"Bus Stop ADA Inspection Field Map",description:"A map used in ArcGIS Field Maps to inspect bus stops in the field for ADA compliance.",type:"Web Map"},{id:"0bd4ecf9c95e4dcd8ff1744adc12f323",title:"BusStops_field",description:"A hosted feature layer view used to inspect bus stops for ADA compliance.",type:"Feature Layer (hosted, view)"},{id:"0bd4ecf9c95e4dcd8ff1744adc12f324",title:"BusStops_dashboard",description:"A hosted feature layer view used to monitor bus stop ADA inspections.",type:"Feature Layer (hosted, view)"},{id:"36d0bdce3a74436f8314c88c9667003e",title:"BusStops",description:"A hosted feature layer used to store bus stop and ADA inspection details.",type:"Feature Layer (hosted)"}],featureLayer:{addLayers:!0,layers:[{id:"0",type:"Point",name:"BusStops",description:"Point layer containing bus stop locations and ADA compliance information.",customFields:[{name:"stop_id",type:"string",alias:"Stop ID",description:"Identifier for the bus stop.",choiceList:null,length:255},{name:"location_description",type:"string",alias:"Location Description",description:"Description of the bus stop location.",choiceList:null,length:255},{name:"shelter_present",type:"string",alias:"Shelter Present",description:"Indicates if a waiting shelter is present at the bus stop.",choiceList:["Yes","No"],length:5},{name:"bench_present",type:"string",alias:"Bench Present",description:"Indicates if a bench is present at the bus stop.",choiceList:["Yes","No"],length:5},{name:"ada_compliant",type:"string",alias:"ADA Compliant",description:"Indicates if the bus stop meets ADA compliance requirements.",choiceList:["Yes","No"],length:5},{name:"capacity",type:"integer",alias:"Seating Capacity",description:"Number of people that can be seated at the bus stop."},{name:"distance_from_curb",type:"double",alias:"Distance from Curb (ft)",description:"Distance in feet from the curb to the shelter."},{name:"last_inspection_date",type:"date",alias:"Last Inspection Date",description:"Date of the most recent inspection."},{name:"installation_date",type:"date",alias:"Installation Date",description:"Date when the bus stop was installed."}],requiredFields:[{name:"route_number",type:"string",alias:"Route Number",description:"Number of the bus route that uses this stop.",choiceList:null,length:50},{name:"average_daily_riders",type:"integer",alias:"Average Daily Riders",description:"Average number of riders using this stop per day."}],systemFields:[{name:"objectid",type:"oid",alias:"ObjectID",description:"Unique identifier for each record in the dataset."},{name:"globalid",type:"globalid",alias:"GlobalID",description:"Globally unique identifier for the record."},{name:"created_date",type:"date",alias:"Created On",description:"Date when the record was created."},{name:"created_user",type:"string",alias:"Created By",description:"User who created the record."},{name:"last_edited_date",type:"date",alias:"Last Edited On",description:"Date when the record was last edited."},{name:"last_edited_user",type:"string",alias:"Last Edited By",description:"User who last edited the record."}]}]}},g=class extends T{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._isAssistantOpen=!1,this._builderVisible=!1,this._showFabTooltip=!0,this._activeTab="all-solutions",this._showDeployedCardFetchFailed=!1,this._globalAlerts=[],this._translations=S({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${O}`,this._allCards=[],this._allShell=l(),this._allTab=l(),this._allTabTitle=l(),this._resourcesTab=l(),this._resourcesTabTitle=l(),this._categories=[],this._configContextProvider=b({context:A}),this._delay=!1,this._deployAppNav=l(),this._deployedCardPanel=l(),this._deployCardFetchFailedMessage="",this._deployedCardTab=l(),this._deployedCardTabTitle=l(),this._detailsShell=l(),this._detailsTab=l(),this._detailsTabTitle=l(),this._forceInit=!1,this._getSuggested=!1,this._tabpanelsFixed=!1,this._solutionBuilderPanel=l(),this._builderDesignContextProvider=b({context:D}),this._isMobileContextProvider=b({context:w}),this._mainContentRef=l(),this._mySolutionsShell=l(),this._mySolutionsTab=l(),this._mySolutionsTabTitle=l(),this._sortField="relevance",this._sortOrder="desc",this._telemetryManager=new m,this.deployAppTabSelected=d(),this.deployedCardFetchFailed=d(),this.detailsCardSelected=d(),this.deployedCardSelected=d(),this.metaTagStringsReady=d(),this.sessionRefreshed=d(),this.tabChanged=d(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"displayDeployedCard",this._handleDeployedCardDisplay),this.listenOn(window,"navTabSelected",this._setActiveTab),this.listenOn(window,"forceSelectTab",t=>this.selectTab(t.detail,{})),this.listenOn(window,"showGlobalAlert",this._handleShowGlobalAlert),this.listenOn(window,"openAssistant",()=>{this._openAssistant()}),this.listenOn(window,"closeAssistant",()=>{this._isAssistantOpen=!1,this._builderVisible=!1}),this.listenOn(window,"toggleSolutionBuilder",()=>{this._builderVisible=!this._builderVisible}),this.listenOn(window,"arcgis-solution-design-update",this._solutionBuilderSelected),this._builderDesignContextProvider.value={design:V,updateDesign:t=>{this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,design:t}},isBuilderVisible:!1,setBuilderVisible:t=>{this._builderVisible=t,this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,isBuilderVisible:t}}}}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_isAssistantOpen:16,_builderVisible:16,_showFabTooltip:16,_activeTab:16,_showDeployedCardFetchFailed:16,_globalAlerts:16,_translations:16}}static{this.styles=E}get _telemetry(){return this._configContextProvider.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextProvider.value?.isEnterprise===!0&&this._configContextProvider.value?.authentication?.CanSearchArcGISOnline===!1}_openAssistant(){this._telemetry?.logEvent({category:c.ASSISTANT,action:"Open"}),this._isAssistantOpen=!0}async selectTab(t,e){if(this._isLoaded||this._forceInit){let i=this._getDefaultSearchOptions(e);switch(this._searchSortToolbar&&(this._searchSortToolbar.scope=t.tabType),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,i&&await this._allShell.value?.searchSolutions(i);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(this.authentication?.IsSignedIn){if(this._forceInit=!0,this._isLoaded=!1,this._cardFetcherDeployed&&await this._getDeployedSolution(t.tabTitleOrId),this._deployedSolutions?.cards?.length>0){let s;this._deployedSolutions.cards.some(o=>o.id===t.tabTitleOrId?(s=o,this.deployedCardSelected.emit({card:s}),!0):!1),this._isLoaded=!0,this._forceInit=!1}else return this._isLoaded=!0,this._forceInit=!1,this.selectTab({tabTitleOrId:"",tabType:"deployments"},e);break}else await this.authentication?.signIn();case"details":if(this._allCards){let s=P(this._allCards,t.tabTitleOrId);s=s||M(this._allCards,t.tabTitleOrId),s?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(s)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,this._searchSortToolbar&&i?.filter&&this._searchSortToolbar.changeOwnerFilter(i.filter!=="Organization"),i&&await this._mySolutionsShell.value?.searchSolutions(i);break}return this._builderVisible=!1,this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs(),this._showDeployedCardFetchFailed&&(this.deployedCardFetchFailed.emit({message:this._deployCardFetchFailedMessage,title:this._translations.failedToOpen}),this._showDeployedCardFetchFailed=!1),!0}else return this._initTab=t,this._initFilters=e,!1}updated(t){this._fixTabpanelFocus(),t.has("_isAssistantOpen")&&this._setScrollbarGutters(this._isAssistantOpen?"stable":"stable both-edges"),!this._resizeObserver&&this._mainContentRef.value&&(this._resizeObserver=new ResizeObserver(e=>{for(let i of e){let s=i.contentRect.width<=800;this.isMobile!==s&&(this.isMobile=s,this._isMobileContextProvider.setValue(s))}}),this._resizeObserver.observe(this._mainContentRef.value))}_fixTabpanelFocus(){if(!this._tabpanelsFixed&&this._allTab.value){let t=[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab];Promise.all(t.map(async e=>{let i=e.value;if(i&&(await i.componentOnReady?.(),i.shadowRoot)){let s=i.shadowRoot.querySelector('[role="tabpanel"]');s&&(s.tabIndex=-1)}})).then(()=>{this._tabpanelsFixed=!0,this._setupTabpanelObserver()}).catch(()=>{this._tabpanelsFixed=!0})}}_setupTabpanelObserver(){this._tabpanelObserver||(this._tabpanelObserver=new MutationObserver(t=>{t.forEach(e=>{if(e.type==="attributes"&&e.attributeName==="tabindex"){let i=e.target;i.getAttribute("role")==="tabpanel"&&i.tabIndex===0&&(i.tabIndex=-1)}})}),[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(t=>{let e=t.value;if(e?.shadowRoot){let i=e.shadowRoot.querySelector('[role="tabpanel"]');i&&this._tabpanelObserver.observe(i,{attributes:!0,attributeFilter:["tabindex"]})}}))}async load(){this.useLocalAppConfig&&(this.appConfig=k)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return h`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .assistantOpen=${this._isAssistantOpen} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${a(this._deployAppNav)}></solutions-deploy-app-nav><div class=${`main-content${this._isAssistantOpen?" assistant-open":""}`} ${a(this._mainContentRef)}>${this._isSearchToolbarShowing()&&h`<div class="border"></div>`||""}<solutions-searchsort-toolbar ${a(async i=>{i&&(await this._deployAppNav.value?.componentOnReady(),this._searchSortToolbar=i)})}></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader>${this._renderGlobalAlerts()}<calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${a(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${a(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${a(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${a(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${a(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${a(this._allTab)}><solutions-all-shell class="height-100" ${a(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${a(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._resourcesTab)}><solutions-resources-shell .assistantOpen=${this._isAssistantOpen} class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${a(this._detailsTab)}><solution-details-panel class="height-100" ${a(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${a(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${a(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></div>${!this._configContextProvider.value?.isEnterprise&&h`<div class=${`builder-panel${this._builderVisible?"":" display-none"}`}><solution-builder-assistant class="height-100" ${a(this._solutionBuilderPanel)}></solution-builder-assistant></div><div class=${`assistant-panel${this._isAssistantOpen?"":" display-none"}`}><arcgis-solutions-assistant class="height-100" .builderVisible=${this._builderVisible}></arcgis-solutions-assistant></div><calcite-fab aria-label=${this._translations.assistantFabTooltip??f} class=${`assistant-fab${this._isAssistantOpen?" display-none":""}`} icon=effects id=assistant-fab-button @click=${()=>{this._openAssistant(),this._showFabTooltip=!1}} scale=l></calcite-fab><calcite-tooltip class=${p(this._isAssistantOpen?"display-none":"")} .open=${this._showFabTooltip&&!this._isAssistantOpen} placement=leading reference-element=assistant-fab-button><span>${this._translations.assistantFabTooltip}</span></calcite-tooltip>`||""}</calcite-shell>`}loaded(){this._setScrollbarGutters()}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect(),this._tabpanelObserver?.disconnect()}_renderGlobalAlerts(){return $(this._globalAlerts,t=>t.id,t=>h`<calcite-alert .autoClose=${t.autoClose} .autoCloseDuration=${t.autoCloseDuration} .icon=${t.icon} .kind=${t.kind} .label=${t.title||""} @calciteAlertClose=${()=>this._removeGlobalAlert(t.id)} open>${t.title&&h`<div slot=title>${t.title}</div>`||""}<div slot=message>${t.message}</div></calcite-alert>`)}async _handleAuthInit(t){let e=t.detail;e.telemetrySession||(e.telemetrySession=m.getDisabledSession()),this._configContextProvider.setValue(e),e.authentication&&(this.authentication=e.authentication),this._cardFetcherDeployed=new y(e.locale,e.orgUrl,e.portalURL),this._cardsFetcher=new y(e.locale,e.orgUrl,e.portalURL),this._isDisconnectedEnvironment||await this._getSolutions(e.primarySolutionsGroupId,e.agoBasedEnterpriseSolutionsGroupId),this._configContextProvider.value.allCards=this._allCards,this._configContextProvider.value.anonAgolSession=this._cardsFetcher.anonAgolSession,this._configContextProvider.value.agolPortalUrl=this._cardsFetcher.agolPortalUrl,await this._initializeTelemetry(),this._isLoaded=!0,this._setRefreshInterval(),this._initTab?(this.selectTab(this._initTab,this._initFilters),this._logTabViewTelemetry(this._initTab.tabType),this._initTab=void 0,this._initFilters=void 0):this.authentication?.IsSignedIn&&(this.initTab==="details"||this.initTab==="deployed-card"||(this._logTabViewTelemetry(this._activeTab),this._emitMetaTagStrings(this._activeTab)))}_setActiveTab(t){let e=t.detail.tabType,i=this._activeTab!==e;switch(this._activeTab=e,i&&this._logTabViewTelemetry(e),e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}this._builderVisible=!1,e!=="details"&&e!=="deployed-card"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e),this._emitMetaTagStrings(e))}_logTabViewTelemetry(t,e){let i;switch(t){case"all-solutions":i=c.ALL_SOLUTIONS;break;case"deployments":i=c.DEPLOYMENTS;break;case"resources":i=c.RESOURCES;break;case"details":i=c.SOLUTION_DETAILS;break;case"deployed-card":i=c.DEPLOYMENTS;break}if(!((t==="details"||t==="deployed-card")&&!e)&&i){let s=[];if((t==="details"||t==="deployed-card")&&e){let n=e;s.push(n.title||""),s.push(n.deployCommonId||""),s.push(n.deployVersion||"")}let o=t==="deployed-card"?"Open":"View";this._telemetry?.logEvent({category:i,action:o,dimensions:s.length>0?s:void 0})}}_emitMetaTagStrings(t,e){let i="",s="";switch(t){case"all-solutions":i=this._translations.metaAllSolutionsTitle,s=this._translations.metaAllSolutionsDescription;break;case"deployments":case"deployed-card":i=this._translations.metaDeploymentsTitle,s=this._translations.metaDeploymentsDescription;break;case"resources":i=this._translations.metaResourcesTitle,s=this._translations.metaResourcesDescription;break;case"details":e&&(i=this._translations.metaDetailsTitle.replace("{title}",e.title),s=e.snippet);break}this.metaTagStringsReady.emit({pageType:t,title:i,description:s,detailTemplate:e})}_handleCalciteTabChanged(){this.tabChanged.emit(this._activeTab)}_detailsCardSelected(t){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail&&(this._selectedDetailsCard=t.detail),this._logTabViewTelemetry("details",this._selectedDetailsCard),this._emitMetaTagStrings("details",this._selectedDetailsCard)}_deployedCardSelected(t){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail?.card&&(this._selectedDeployedCard=t.detail.card),this._logTabViewTelemetry("deployed-card",this._selectedDeployedCard),this._emitMetaTagStrings("deployed-card")}_solutionBuilderSelected(t){t?.detail&&(this._builderVisible=!0,this._builderDesignContextProvider.value={design:t.detail,updateDesign:e=>{this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,design:e}},isBuilderVisible:!0,setBuilderVisible:e=>{this._builderVisible=e,this._builderDesignContextProvider.value={...this._builderDesignContextProvider.value,isBuilderVisible:e}}})}_handleDeployedCardDisplay(t){let{card:e,cardRef:i}=t.detail;this.deployedCardSelected.emit({card:e,cardRef:i})}_handleShowGlobalAlert(t){let e=t.detail,i=e.id||`alert-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;this._globalAlerts=[...this._globalAlerts,{...e,id:i}]}_removeGlobalAlert(t){this._globalAlerts=this._globalAlerts.filter(e=>e.id!==t)}async _initializeTelemetry(){let t=this._configContextProvider.value;if(!this.authentication||!t)return;let e=await this._telemetryManager.initializeTelemetry(this.authentication,t);this._configContextProvider.value.telemetrySession=e}async _getSolutions(t,e){if(this._isDisconnectedEnvironment)return[];this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let i=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},t,e,this._configContextProvider.value.userSession,this._configContextProvider.value.isEnterprise,this._abortController.signal,{num:1e3});return this._abortController=void 0,this._allCards.length===0&&i?.cards&&(this._allCards=i?.cards),this._allCards}async _getDeployedSolution(t){let e=this._configContextProvider.value.authentication,i=this._configContextProvider.value.userSession;if(e&&i&&e.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let s=x(e);try{let o=await L(e,i,this._cardsFetcher,this._cardFetcherDeployed,F,"created","desc",!1,[],[],this._abortControllerDeployed.signal,s?"My organization's solutions":"My solutions",t);o.cards.length===0||o.cards[0].typeKeywords.indexOf("Deployed")<0?(this._deployCardFetchFailedMessage=this._translations.failedToFetchNotSolution.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):this._deployedSolutions=o}catch(o){let n=o.message;n.indexOf("CONT_0001")>-1||n.indexOf("Item does not exist or is inaccessible.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongId.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):n.indexOf("GWM_0003")>-1||n.indexOf("You do not have permissions to access this resource or perform this operation.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):(this._showDeployedCardFetchFailed=!0,this._deployCardFetchFailedMessage=""),console.warn(o)}}}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let i=t.domain,s=t.industry==="AEC"?I.AEC:t.industry,o=t.offerType,n=t.searchTerm,R="",r=t.sortField,u=t.owner,_=t.filter;r==="suggested"&&!this.authentication?.IsSignedIn&&(r=this.sortType),e=i||s?{type:i?"domain":s?"industry":""}:void 0,i&&(e=e?{...e,domain:i}:{domain:i}),s&&(e=e?{...e,industry:s}:{industry:s}),n&&(e=e?{...e,searchTerm:n}:{searchTerm:n}),e&&(e={...e,displayValue:R}),r&&(e=e?{...e,sortType:r}:{sortType:r}),o&&(r=o.toLowerCase(),e=e?{...e,sortType:r}:{sortType:r}),u&&(e=e?{...e,owner:u}:{owner:u}),_&&(e=e?{...e,filter:_}:{filter:_})}return e}_setScrollbarGutters(t="stable both-edges"){[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(e=>{let i=e.value?.shadowRoot?.firstElementChild;i?.style&&(i.style.scrollbarGutter=t)})}_setRefreshInterval(){let{userSession:t,authentication:e}=this._configContextProvider.value;if(t&&t.tokenDuration&&e?.IsSignedIn){let i=Date.now(),s=(e.Credential?.expires-i)*.95;setInterval(async()=>{if(e.Credential&&e.Credential.expires){await e.Credential?.refreshToken();let o=new Date(e.Credential.expires);t.updateToken(e.Credential.token,o),this.sessionRefreshed.emit(t.token)}},s)}}};C("solutions-deploy-app",g);return g},"identity/IdentityManager","identity/OAuthInfo","portal/Portal","intl",c,e,g,i,j,k,m,n,o,q,r,s,t,u)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./NYWSGPCD.js";import"./2LV7NQMM.js";import a from"./R4CW26PN.js";import"./2B4SGB3I.js";import"./TFINIJHF.js";import"./HE2XAIDT.js";import"./HO5JGUUI.js";import"./CR7KUQQF.js";import"./7UVBIBQS.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./JSJYFWT6.js";import"./MRGCC5C4.js";import"./QPIMTXPL.js";export default $arcgis.t(([,{c:o}])=>{return o},a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./J72FZDMP.js";import"./WUJQ6R2U.js";import"./HO5JGUUI.js";import"./CR7KUQQF.js";import"./7UVBIBQS.js";import"./JSJYFWT6.js";import"./MRGCC5C4.js";import"./QPIMTXPL.js";export{a as SolutionDeployingDialog};
@@ -1,36 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./QPIMTXPL.js";var s=`## fieldInspections\r
3
- Use this when the user wants a solution for inspecting an asset, resource, site, service, or condition, especially when the workflow involves recording inspection results, status, compliance, deficiencies, maintenance checks, or progress over time.\r
4
- \r
5
- Examples of signals:\r
6
- - inspections\r
7
- - field checks\r
8
- - condition assessments\r
9
- - compliance checks\r
10
- - safety inspections\r
11
- - routine inspections\r
12
- - asset inspections\r
13
- - service inspections\r
14
- \r
15
- ## spatialDataManagement\r
16
- Use this when the user wants a solution for creating, maintaining, updating, organizing, or managing spatial records, assets, infrastructure, or other geographic data over time.\r
17
- \r
18
- Examples of signals:\r
19
- - inventory of assets or locations\r
20
- - manage spatial data\r
21
- - maintain records on a map\r
22
- - edit and update features\r
23
- - manage infrastructure or resources\r
24
- - track geographic assets\r
25
- \r
26
- ## pointsOfInterest\r
27
- Use this when the user wants a solution primarily for collecting, sharing, browsing, or presenting notable places such as landmarks, businesses, facilities, attractions, or destinations.\r
28
- \r
29
- Examples of signals:\r
30
- - places of interest\r
31
- - landmarks\r
32
- - facilities finder\r
33
- - business locations\r
34
- - points to visit\r
35
- - public destinations\r
36
- - places to explore`;export{s as default};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import b from"./TMYE7YBP.js";import a from"./R4CW26PN.js";import"./2B4SGB3I.js";import"./TFINIJHF.js";import"./HE2XAIDT.js";import"./HO5JGUUI.js";import"./CR7KUQQF.js";import"./7UVBIBQS.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./JSJYFWT6.js";import"./MRGCC5C4.js";import"./QPIMTXPL.js";export default $arcgis.t(([,a])=>{return a},a,b)
@@ -1,4 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},M=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var j=Symbol.for("controller"),_e=o=>typeof o=="object"&&o!==null&&(j in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),is=o=>typeof o?.then=="function";var k,O=o=>{k!==o&&(k=o,queueMicrotask(()=>k===o?k=void 0:0))},H=o=>k,w=[],It=o=>{if(o===void 0){w=[];return}let t=w.indexOf(o);w=t===-1?[...w,o]:w.slice(0,t+1),queueMicrotask(()=>w=[])},Mt=()=>w,L,as=o=>{L!==o&&(L=o,queueMicrotask(()=>L===o?L=void 0:0))},Ae=()=>{let o=L;return L=void 0,o},kt=async(o,t)=>{let e=Y(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},jt=async o=>{let t=Y(o);return await t.ready,t},Y=o=>{let e=H().manager.X(o);if(e!==void 0)return e;if(_e(o))return o;let s=Ae();if(s!==void 0)return s},J=!1,cs=o=>{J=!0;try{return o()}finally{J=!1}};var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),Ht=new WeakMap,z=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(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Ht.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Ht.set(e,t))}return t}toString(){return this.cssText}},zt=o=>new z(typeof o=="string"?o:o+"",void 0,yt),Ce=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,n)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[n+1],o[0]);return new z(e,o,yt)},Vt=(o,t)=>{if(X)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},gt=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return zt(e)})(o):o;var{is:we,defineProperty:Oe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:Se,getOwnPropertySymbols:Pe,getPrototypeOf:Ne}=Object,et=globalThis,Bt=et.trustedTypes,De=Bt?Bt.emptyScript:"",xe=et.reactiveElementPolyfillSupport,V=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?De: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}},B=(o,t)=>!we(o,t),Wt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:B};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Wt){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&&Oe(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:n}=Te(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:r,set(i){let a=r?.call(this);n?.call(this,i),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Wt}static _$Ei(){if(this.hasOwnProperty(V("elementProperties")))return;let t=Ne(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(V("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(V("properties"))){let e=this.properties,s=[...Se(e),...Pe(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 Vt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let n=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=s.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:tt;this._$Em=r;let a=i.fromAttribute(e,n.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s,r=!1,n){if(t!==void 0){let i=this.constructor;if(r===!1&&(n=this[t]),s??=i.getPropertyOptions(t),!((s.hasChanged??B)(n,e)||s.useDefault&&s.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:n},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),n!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,n]of s){let{wrapped:i}=n,a=this[r];i!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,n,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[V("elementProperties")]=new Map,_[V("finalized")]=new Map,xe?.({ReactiveElement:_}),(et.reactiveElementVersions??=[]).push("2.1.2");var Et=globalThis,Ft=o=>o,st=Et.trustedTypes,qt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,$t="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+A,Le=`<${bt}>`,P=document,F=()=>P.createComment(""),q=o=>o===null||typeof o!="object"&&typeof o!="function",_t=Array.isArray,Zt=o=>_t(o)||typeof o?.[Symbol.iterator]=="function",vt=`[
3
- \f\r]`,W=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Gt=/-->/g,Kt=/>/g,T=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Qt=/'/g,Jt=/"/g,Xt=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),fs=At(1),ms=At(2),ys=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Yt=new WeakMap,S=P.createTreeWalker(P,129);function te(o,t){if(!_t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return qt!==void 0?qt.createHTML(t):t}var ee=(o,t)=>{let e=o.length-1,s=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=W;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===W?u[1]==="!--"?i=Gt:u[1]!==void 0?i=Kt:u[2]!==void 0?(Xt.test(u[2])&&(r=RegExp("</"+u[2],"g")),i=T):u[3]!==void 0&&(i=T):i===T?u[0]===">"?(i=r??W,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?T:u[3]==='"'?Jt:Qt):i===Jt||i===Qt?i=T:i===Gt||i===Kt?i=W:(i=T,r=void 0);let v=i===T&&o[a+1].startsWith("/>")?" ":"";n+=i===W?c+Le:h>=0?(s.push(l),c.slice(0,h)+$t+c.slice(h)+A+v):c+A+(h===-2?a:v)}return[te(o,n+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},G=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let n=0,i=0,a=t.length-1,c=this.parts,[l,u]=ee(t,e);if(this.el=o.createElement(l,s),S.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=S.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith($t)){let m=u[i++],v=r.getAttribute(h).split(A),C=/([.?@])?(.*)/.exec(m);c.push({type:1,index:n,name:C[2],strings:v,ctor:C[1]==="."?rt:C[1]==="?"?nt:C[1]==="@"?it:D}),r.removeAttribute(h)}else h.startsWith(A)&&(c.push({type:6,index:n}),r.removeAttribute(h));if(Xt.test(r.tagName)){let h=r.textContent.split(A),m=h.length-1;if(m>0){r.textContent=st?st.emptyScript:"";for(let v=0;v<m;v++)r.append(h[v],F()),S.nextNode(),c.push({type:2,index:++n});r.append(h[m],F())}}}else if(r.nodeType===8)if(r.data===bt)c.push({type:2,index:n});else{let h=-1;for(;(h=r.data.indexOf(A,h+1))!==-1;)c.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,e){let s=P.createElement("template");return s.innerHTML=t,s}};function N(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,n=q(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=N(o,r._$AS(o,t.values),r,s)),t}var ot=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??P).importNode(e,!0);S.currentNode=r;let n=S.nextNode(),i=0,a=0,c=s[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new U(n,n.nextSibling,this,t):c.type===1?l=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(l=new at(n,this,t)),this._$AV.push(l),c=s[++a]}i!==c?.index&&(n=S.nextNode(),i++)}return S.currentNode=P,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=N(this,t,e),q(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):Zt(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&&q(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.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=G.createElement(te(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let n=new ot(r,this),i=n.u(this.options);n.p(e),this.T(i),this._$AH=n}}_$AC(t){let e=Yt.get(t.strings);return e===void 0&&Yt.set(t.strings,e=new G(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let n of t)r===e.length?e.push(s=new o(this.O(F()),this.O(F()),this,this.options)):s=e[r],s._$AI(n),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=Ft(t).nextSibling;Ft(t).remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},D=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let n=this.strings,i=!1;if(n===void 0)t=N(this,t,e,0),i=!q(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=n[0],c=0;c<n.length-1;c++)l=N(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),i||=!q(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+n[c+1]),this._$AH[c]=l}i&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends D{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},nt=class extends D{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends D{constructor(t,e,s,r,n){super(t,e,s,r,n),this.type=5}_$AI(t,e=this){if((t=N(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},at=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){N(this,t)}},se={M:$t,P:A,A:bt,C:1,L:ee,R:ot,D:Zt,V:N,I:U,H:D,N:nt,U:it,B:rt,F:at},Ue=Et.litHtmlPolyfillSupport;Ue?.(G,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 n=e?.renderBefore??null;s._$litPart$=r=new U(t.insertBefore(F(),n),n,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,E=class extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,wt.litElementHydrateSupport?.({LitElement:E});var Re=wt.litElementPolyfillSupport;Re?.({LitElement:E});(wt.litElementVersions??=[]).push("4.2.2");var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},oe=(o,t)=>{let e=t>Ie?Me:t/ke,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Ie=4e3,Me=2e3,ke=4;var re=new Set,ne;var ie=o=>typeof o=="string"?o:"el"in o?o.el.localName:"localName"in o?o.localName:o.declaredClass,Ns=(o,t,e,s)=>{let r=ie(t);if(s?.once){let i=`${o}${r}${e}`;if(re.has(i))return;re.add(i)}let n;if(s?.detail){n={};for(let[i,a]of Object.entries(s.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(n,i,{get(){return c.deref()}})}else n[i]=a;ne?.log.interceptors?.forEach(i=>i(o,r,e,n)),console[o](`[${r}]: ${e}`,n)}else ne?.log.interceptors?.forEach(i=>i(o,r,e)),console[o](`[${r}]: ${e}`)},ae=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 je=(o,t,e)=>{let s=Object.keys(o),r=s.length;R===void 0&&queueMicrotask(I),R??=new Map;let n=R.get(o);return n===void 0&&(n={callbacks:[],keyCount:r},R.set(o,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(s)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},R,I=()=>{R?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),R=void 0},He=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,n)=>p(t,void 0,e===n?r:void 0)),e},ze=(o=[H(),...Mt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,n=i=>{r-=1,i!==void 0&&(r=Math.min(r,0)),r===0&&t(i)};s.forEach(i=>je(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&i.manager.component===i){He(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Ve=(o="",t={},e=H())=>{let s={emit:r=>{o===""&&I();let n=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(n),n}};return o===""&&ze(void 0,r=>o=r.key,s),s},Be=Ve.bind(null,""),he;he=j;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#n=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[he]=!0,this.#h=[];let e=this,s=t??H(new.target.name);e.#o=s,e.ready=e.P.promise,e.#a=le(e),e.component=s,e.#o.addController(e),e.#o.manager===void 0||(It(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#n;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ae(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?le(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return O(this.#o),kt}get useRef(){return O(this.#o),jt}get useRefSync(){return O(this.#o),Y}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await M(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(M)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#n.forEach(ce,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(ce,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){O(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#i.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#i.push(r.remove)})}};function ce(o){p(o,void 0,this)}var de=Ot,le=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,n){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,n)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(We,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),We=/[A-Z]+(?![a-z])|[A-Z]/gu;var js="randomUUID"in crypto;var St=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},Pt={};function Nt(){}function Dt(o){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;o.prototype["f"+e]=async function(...s){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:s}))}}}var Fe=(o,t)=>function(s,r){if(!globalThis.customElements)return;let i=(r??s??{}).resourcesUrl;i&&o.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,v]=l.split(";"),C=h?h?.split(",").map(qe):void 0,mt=C?.map(([x])=>x),Q=class extends Tt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,x])=>x).filter(x=>x!=="")}static{this.C=mt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=o}constructor(){!Q.B&&(Q.B=c(),Q.F()),super()}};customElements.define(a,Q)}},lt=Object.defineProperty,qe=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},Ge=globalThis.HTMLElement??Nt,Tt=class extends Ge{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??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(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??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{Dt(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=St(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,s=e.L,r=this.#e,n=Object.values(t).find(h=>h.L===s),i=`${s}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Qe(a),!e.A&&(e.A=n,customElements.define(i,n)),n.N=this;let l=document.createElement(i);n.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(Ke,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function Ke([o,t]){this[o]=t}var Qe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,n){e.setAttribute.call(this.el,r,n)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},t.hasAttribute=function(r){return e.hasAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=o=>(...t)=>({_$litDirective$:o,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Je}=se,ue=o=>o;var ht=o=>o.strings===void 0,fe=()=>document.createComment(""),Qs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let n=s.insertBefore(fe(),r),i=s.insertBefore(fe(),r);e=new Je(n,i,o,o.options)}else{let n=e._$AB.nextSibling,i=e._$AM,a=i!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==i._$AU&&e._$AP(c)}if(n!==r||a){let c=e._$AA;for(;c!==n;){let l=ue(c).nextSibling;ue(s).insertBefore(c,r),c=l}}}return e},Js=(o,t,e=o)=>(o._$AI(t,e),o),Ye={},me=(o,t=Ye)=>o._$AH=t,Ys=o=>o._$AH,Zs=o=>{o._$AR(),o._$AA.remove()};var Ze=$(class extends g{constructor(o){if(super(o),o.type!==y.PROPERTY&&o.type!==y.ATTRIBUTE&&o.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===y.PROPERTY){if(t===e[s])return f}else if(o.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===y.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return me(o),t}});var K=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),K(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ye=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),es(t)}};function Xe(o){this._$AN!==void 0?(dt(this),this._$AM=o,ye(this)):this._$AM=o}function ts(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let n=e;n<s.length;n++)K(s[n],!1),dt(s[n]);else s!=null&&(K(s,!1),dt(s));else K(this,o)}var es=o=>{o.type==y.CHILD&&(o._$AP??=ts,o._$AQ??=Xe)},pt=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ye(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),dt(this))}setValue(t){if(ht(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 mo=()=>new Lt,Lt=class{},xt=new WeakMap,Ut=$(class extends pt{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=xt.get(t);e===void 0&&(e=new WeakMap,xt.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"?xt.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 ut=class extends de{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=ft in t&&typeof t.destroy=="function",E.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${ft} 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),O(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=oe(t,os)}}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)}},os=1e3,ft="autoDestroyDisabled";var ge=$(class extends g{constructor(o){if(super(o),o.type!==y.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var ve="important",rs=" !"+ve,Ee=$(class extends g{constructor(o){if(super(o),o.type!==y.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let n=typeof r=="string"&&r.endsWith(rs);s.includes("-")||n?e.setProperty(s,n?r.slice(0,-11):r,n?ve:""):e[s]=r}}return f}});var $e=class o extends E{constructor(){super(),this.M=[],this.manager=new ut(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,n=o.prototype.shouldUpdate;t.#r=s?.H??new b,t.I=s?.I??new b,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Nt,t.shouldUpdate!==n&&(t.#e=t.shouldUpdate,t.shouldUpdate=n),r&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,n=r?.hasChanged??B,i={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),useDefault:!!(s&128),c:!1,...r,hasChanged(a,c){let l=n(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,s){let r=this.K,n=super.getPropertyDescriptor(t,e,s);return s.d=n,{...n,get(){return r.t?.(this.#t.get(t)),n.get?.call(this)},set(i){let a=this.manager;if(s.readOnly&&!J&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);n.set.call(this,i??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,i))}}}static{this.lumina=!0}static{Dt(this)}#t;#e;#s;#r;#n;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=e;let s=!this.manager.connectedCalled;t&&super.connectedCallback(),s?queueMicrotask(()=>this.#i().catch(r=>{this.#r.reject(r),setTimeout(()=>{throw r})})):e&&this.requestUpdate()}#d(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,n=t??(s===Pt?this.el:this.el.attachShadow(s));if(t)return this.manager.connectedCalled||this.#l(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async#i(){let t=this.el.G??St(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(M(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(ft)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#d(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let n=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(j in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var Ar=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:e,customElement(r,n){n.K=s,n.L=r,customElements.get(r)||customElements.define(r,n)}};return e(o.defaultAssetPath),s};var Cr=o=>typeof o=="object"&&o!=null?ge(o):o,wr=o=>typeof o=="object"&&o!=null?Ee(o):o;var Rt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Ut(this.#e)):Ut(t)}},Or=$(Rt);var Tr=d;export{is as a,O as b,H as c,It as d,Mt as e,as as f,cs as g,Ce as h,fs as i,ms as j,f as k,d as l,Ns as m,He as n,ze as o,Ve as p,Be as q,Ot as r,de as s,Pt as t,Fe as u,y as v,$ as w,g as x,Qs as y,Js as z,me as A,Ys as B,Zs as C,Ze as D,mo as E,Ut as F,$e as G,Ar as H,Cr as I,wr as J,Tr as K};
@@ -1,41 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./QPIMTXPL.js";var e=`# Your Role\r
3
- You classify a user's initial request for a solution-building workflow.\r
4
- \r
5
- Extract one key value from the user's message:\r
6
- \r
7
- - \`templateId\`: the id of the best matching template, or \`null\`\r
8
- \r
9
- # Available templates\r
10
- \r
11
- Only return a template if it is a strong match.\r
12
- \r
13
- {{validTemplates}}\r
14
- \r
15
- # Rules\r
16
- \r
17
- ## Template\r
18
- Return a template only when the user's request clearly indicates:\r
19
- - what kind of workflow they want to perform\r
20
- - enough detail to distinguish that workflow from other plausible templates\r
21
- \r
22
- Return \`null\` for \`template\` when:\r
23
- - the request is vague\r
24
- - multiple templates are plausible\r
25
- - the message names only a subject, place, audience, or asset without saying what the solution should do\r
26
- - the message is about discovery, evaluation, explanation, or general ArcGIS Solutions help rather than building a solution\r
27
- \r
28
- ## Extraction behavior\r
29
- - Preserve the user's wording as much as possible.\r
30
- - Remove only conversational filler.\r
31
- - Do not add assumptions.\r
32
- - Do not guess.\r
33
- - Return only the JSON object.\r
34
- \r
35
- # Output\r
36
- \r
37
- \`\`\`json\r
38
- {{\r
39
- "templateId": string | null\r
40
- }}\r
41
- \`\`\``;export{e as default};
@@ -1,9 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import"./QPIMTXPL.js";var t=`You are an assistant that decides whether an existing ArcGIS solution matches a requested template and use case.\r
3
- \r
4
- Input:\r
5
- - template: {TEMPLATE}\r
6
- - useCase: {USECASE}\r
7
- - candidates: {CANDIDATES}\r
8
- \r
9
- Analyze whether any candidate is a strong match to the user request. Return a JSON object with a 'solutionMatch' field containing the title of the matching solution, or null if no strong match exists. No additional text.`;export{t as default};