@esri/solutions-components 5.1.0-next.2 → 5.1.0-next.21

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 (414) hide show
  1. package/dist/cdn/{SRDPZ2TN.js → 27G6RESZ.js} +1 -1
  2. package/dist/cdn/27JLIL6T.js +2 -0
  3. package/dist/cdn/2B6VLP3A.js +2 -0
  4. package/dist/cdn/{5DGVZVGU.js → 2H7KJUZG.js} +1 -1
  5. package/dist/cdn/2RBKFT3Q.js +2 -0
  6. package/dist/cdn/45ZS4SG7.js +2 -0
  7. package/dist/cdn/{VFSI5MUK.js → 4DFGN2VE.js} +1 -1
  8. package/dist/cdn/4GZBBPZQ.js +2 -0
  9. package/dist/cdn/{USRH3VII.js → 4NALIU6Y.js} +1 -1
  10. package/dist/cdn/5326HZ74.js +2 -0
  11. package/dist/cdn/{AJJFHJJU.js → 57DOBXD6.js} +1 -1
  12. package/dist/cdn/5PUFVAJH.js +2 -0
  13. package/dist/cdn/5QCBD6ZZ.js +2 -0
  14. package/dist/cdn/5S3WZLB5.js +2 -0
  15. package/dist/cdn/{7EZXA5FN.js → 6G7RA3PN.js} +1 -1
  16. package/dist/cdn/6NE73ZT3.js +2 -0
  17. package/dist/cdn/{OKJZS44H.js → 6UXP2Q63.js} +1 -1
  18. package/dist/cdn/{DGMH4RW7.js → 7DHQVMKX.js} +1 -1
  19. package/dist/cdn/{EOZUCQOO.js → 7J2VRW7S.js} +1 -1
  20. package/dist/cdn/7SLUGAMA.js +2 -0
  21. package/dist/cdn/{IUG77ONZ.js → 7ZMHT4SH.js} +1 -1
  22. package/dist/cdn/ABTC2V7J.js +2 -0
  23. package/dist/cdn/{D7AEFBST.js → ACF2RXCB.js} +1 -1
  24. package/dist/cdn/ALB3HUJ2.js +2 -0
  25. package/dist/cdn/{YGZRQS2J.js → ASTBVDA3.js} +1 -1
  26. package/dist/cdn/ATVUAP2X.js +2 -0
  27. package/dist/cdn/AVNCYWKK.js +2 -0
  28. package/dist/cdn/BJMKDP4O.js +2 -0
  29. package/dist/cdn/BMJN3MIR.js +2 -0
  30. package/dist/cdn/BPSXSDMN.js +2 -0
  31. package/dist/cdn/CWEEG5MA.js +2 -0
  32. package/dist/cdn/{JBAXZW3Z.js → D4QQZVLI.js} +1 -1
  33. package/dist/cdn/DJFFGBHM.js +2 -0
  34. package/dist/cdn/{HHTLWYIL.js → DZLVEIWW.js} +1 -1
  35. package/dist/cdn/{Q63OZOAM.js → E57JPXDR.js} +1 -1
  36. package/dist/cdn/E7HQ4JJ2.js +2 -0
  37. package/dist/cdn/EBU4JF4W.js +2 -0
  38. package/dist/cdn/EC6NYTSJ.js +2 -0
  39. package/dist/cdn/EDVUYJ5Q.js +2 -0
  40. package/dist/cdn/EGFXSDFS.js +2 -0
  41. package/dist/cdn/EIVJQY2S.js +2 -0
  42. package/dist/cdn/F7DLM4RF.js +50 -0
  43. package/dist/cdn/{RA43PFSB.js → FFDZB5TW.js} +1 -1
  44. package/dist/cdn/FRWN4Q5V.js +2 -0
  45. package/dist/cdn/{SG6YSE6W.js → FXHBHZKG.js} +1 -1
  46. package/dist/cdn/{X3LGQLCM.js → FZ7WJ3YG.js} +1 -1
  47. package/dist/cdn/G5MDCRT6.js +2 -0
  48. package/dist/cdn/GJFVHF5H.js +2 -0
  49. package/dist/cdn/{ABEE7A5Y.js → GN6MDWLZ.js} +1 -1
  50. package/dist/cdn/GTD4LCLX.js +2 -0
  51. package/dist/cdn/HBJZGW4L.js +2 -0
  52. package/dist/cdn/{UOEDG3M3.js → HBQN25RR.js} +1 -1
  53. package/dist/cdn/HGEF25RL.js +2 -0
  54. package/dist/cdn/HMB3LHBC.js +2 -0
  55. package/dist/cdn/HPQPI754.js +2 -0
  56. package/dist/cdn/I4PUORX4.js +2 -0
  57. package/dist/cdn/I5PBBAVM.js +2 -0
  58. package/dist/cdn/{SB3QR3SO.js → IKN5RLJ4.js} +1 -1
  59. package/dist/cdn/IMPGTDMV.js +2 -0
  60. package/dist/cdn/ITULTY6G.js +2 -0
  61. package/dist/cdn/JCDM3IJE.js +2 -0
  62. package/dist/cdn/JUXXPW6I.js +2 -0
  63. package/dist/cdn/{QUVVORHW.js → K5JYHCQ7.js} +1 -1
  64. package/dist/cdn/{VIOCT3NG.js → K7XOFXRK.js} +1 -1
  65. package/dist/cdn/KD46EE7M.js +2 -0
  66. package/dist/cdn/KPBEUIQV.js +2 -0
  67. package/dist/cdn/KRFYU445.js +2 -0
  68. package/dist/cdn/KSXW3QKP.js +2 -0
  69. package/dist/cdn/{KGALGAAM.js → LCWLPXAF.js} +1 -1
  70. package/dist/cdn/{73MLGNDP.js → LD2NUKM3.js} +1 -1
  71. package/dist/cdn/{IBNSJ46F.js → LDHJGX5G.js} +1 -1
  72. package/dist/cdn/LWUSGNUB.js +2 -0
  73. package/dist/cdn/M7YK4K5M.js +2 -0
  74. package/dist/cdn/{R6SBVSPJ.js → MFJF6OXL.js} +1 -1
  75. package/dist/cdn/{ZJ3KQ7WO.js → MWVSVTGT.js} +1 -1
  76. package/dist/cdn/MZ3QZD4K.js +2 -0
  77. package/dist/cdn/MZLEP53S.js +2 -0
  78. package/dist/cdn/N2KU5PYY.js +2 -0
  79. package/dist/cdn/{AWE3IT6O.js → N2ROUAUM.js} +1 -1
  80. package/dist/cdn/N7HJKCUK.js +2 -0
  81. package/dist/cdn/NDGFJPG7.js +2 -0
  82. package/dist/cdn/{GTDHYS64.js → NGCFEPQE.js} +1 -1
  83. package/dist/cdn/{SOHNIGAO.js → NM3YBQUM.js} +1 -1
  84. package/dist/cdn/NNCQFR7K.js +2 -0
  85. package/dist/cdn/NSITJP7B.js +2 -0
  86. package/dist/cdn/{VZPEYWYR.js → NWTG35WX.js} +1 -1
  87. package/dist/cdn/NYUVCFEV.js +2 -0
  88. package/dist/cdn/{6734MJXK.js → NZS3YVIT.js} +1 -1
  89. package/dist/cdn/{P5XWXDR2.js → OC2DD3AB.js} +1 -1
  90. package/dist/cdn/OMIISLTG.js +2 -0
  91. package/dist/cdn/OMURSGFL.js +2 -0
  92. package/dist/cdn/OQFRVQQZ.js +2 -0
  93. package/dist/cdn/P65BBQ5T.js +2 -0
  94. package/dist/cdn/P6IYN2TS.js +2 -0
  95. package/dist/cdn/POE2XE6Y.js +2 -0
  96. package/dist/cdn/PUCQJ7PY.js +2 -0
  97. package/dist/cdn/PZOAAAVI.js +2 -0
  98. package/dist/cdn/QHG54NVK.js +2 -0
  99. package/dist/cdn/{PALYMJLD.js → QMD2WK5F.js} +1 -1
  100. package/dist/cdn/QNNQGJS4.js +2 -0
  101. package/dist/cdn/{HVD4BQPK.js → QQSP7HQH.js} +1 -1
  102. package/dist/cdn/QWRM254M.js +2 -0
  103. package/dist/cdn/QZ3GHISD.js +2 -0
  104. package/dist/cdn/R3KUBISH.js +2 -0
  105. package/dist/cdn/RDXJFHLV.js +2 -0
  106. package/dist/cdn/REOO5ZGK.js +2 -0
  107. package/dist/cdn/RF7NG5JX.js +2 -0
  108. package/dist/cdn/{VDMAJ6AS.js → RNTJMF4O.js} +1 -1
  109. package/dist/cdn/RTG3SBDS.js +2 -0
  110. package/dist/cdn/SENL26AU.js +3 -0
  111. package/dist/cdn/{TJ2MW6I4.js → SIUUQBL4.js} +1 -1
  112. package/dist/cdn/SSO3AN4U.js +2 -0
  113. package/dist/cdn/STEJOS7Q.js +2 -0
  114. package/dist/cdn/{J3YWJVZZ.js → SXD7ZWLW.js} +1 -1
  115. package/dist/cdn/TH52564W.js +2 -0
  116. package/dist/cdn/THKPPH7G.js +2 -0
  117. package/dist/cdn/{OKDHN6B7.js → TP5EQUBD.js} +1 -1
  118. package/dist/cdn/TRJ6EQRD.js +2 -0
  119. package/dist/cdn/TU5GZK4M.js +2 -0
  120. package/dist/cdn/{CUTRQOEO.js → U3LEZXNT.js} +1 -1
  121. package/dist/cdn/U4MNIZYO.js +2 -0
  122. package/dist/cdn/UFJWRZWQ.js +2 -0
  123. package/dist/cdn/UQ3MLIHV.js +21 -0
  124. package/dist/cdn/{HIMUNCZ6.js → USM62FP5.js} +2 -2
  125. package/dist/cdn/UY2AFOXQ.js +2 -0
  126. package/dist/cdn/{LI4CAGAZ.js → UYYMXFYQ.js} +1 -1
  127. package/dist/cdn/{3JF5JLS4.js → V3S3BZEP.js} +1 -1
  128. package/dist/cdn/V5PIAPEA.js +2 -0
  129. package/dist/cdn/VDEFBT2N.js +2 -0
  130. package/dist/cdn/{XZXTFYPU.js → VLZNUN6G.js} +24 -24
  131. package/dist/cdn/VPTZV5YV.js +2 -0
  132. package/dist/cdn/{QW3T2SOQ.js → VRE7NUZ2.js} +1 -1
  133. package/dist/cdn/WCPWYPN2.js +2 -0
  134. package/dist/cdn/{6UJUVPK6.js → WMPUJYLT.js} +1 -1
  135. package/dist/cdn/{QXRWIAR3.js → XBR2PGVO.js} +1 -1
  136. package/dist/cdn/{PH36F6ZU.js → XC7LLCVS.js} +1 -1
  137. package/dist/cdn/{UCUGZIOM.js → XCILPMDZ.js} +1 -1
  138. package/dist/cdn/XK6Q5TUT.js +2 -0
  139. package/dist/cdn/{TVNF2O66.js → XTDFTH5X.js} +1 -1
  140. package/dist/cdn/{727EUXF6.js → XTUL7OCR.js} +1 -1
  141. package/dist/cdn/{VKG5PJNA.js → YMOLIY64.js} +1 -1
  142. package/dist/cdn/YTK4IGLJ.js +2 -0
  143. package/dist/cdn/{QXFTJVUF.js → ZCGIQK3H.js} +1 -1
  144. package/dist/cdn/{ZSZUJ3FI.js → ZDQANIMG.js} +1 -1
  145. package/dist/cdn/ZSHMK5VX.js +2 -0
  146. package/dist/cdn/assets/create-feature/t9n/messages.ar.json +1 -1
  147. package/dist/cdn/assets/create-feature/t9n/messages.bg.json +1 -1
  148. package/dist/cdn/assets/create-feature/t9n/messages.bs.json +1 -1
  149. package/dist/cdn/assets/create-feature/t9n/messages.ca.json +1 -1
  150. package/dist/cdn/assets/create-feature/t9n/messages.cs.json +1 -1
  151. package/dist/cdn/assets/create-feature/t9n/messages.da.json +1 -1
  152. package/dist/cdn/assets/create-feature/t9n/messages.de.json +1 -1
  153. package/dist/cdn/assets/create-feature/t9n/messages.el.json +1 -1
  154. package/dist/cdn/assets/create-feature/t9n/messages.es.json +1 -1
  155. package/dist/cdn/assets/create-feature/t9n/messages.et.json +1 -1
  156. package/dist/cdn/assets/create-feature/t9n/messages.fi.json +1 -1
  157. package/dist/cdn/assets/create-feature/t9n/messages.fr.json +1 -1
  158. package/dist/cdn/assets/create-feature/t9n/messages.he.json +1 -1
  159. package/dist/cdn/assets/create-feature/t9n/messages.hr.json +1 -1
  160. package/dist/cdn/assets/create-feature/t9n/messages.hu.json +1 -1
  161. package/dist/cdn/assets/create-feature/t9n/messages.id.json +1 -1
  162. package/dist/cdn/assets/create-feature/t9n/messages.it.json +1 -1
  163. package/dist/cdn/assets/create-feature/t9n/messages.ja.json +1 -1
  164. package/dist/cdn/assets/create-feature/t9n/messages.ko.json +1 -1
  165. package/dist/cdn/assets/create-feature/t9n/messages.lt.json +1 -1
  166. package/dist/cdn/assets/create-feature/t9n/messages.lv.json +1 -1
  167. package/dist/cdn/assets/create-feature/t9n/messages.nl.json +1 -1
  168. package/dist/cdn/assets/create-feature/t9n/messages.no.json +1 -1
  169. package/dist/cdn/assets/create-feature/t9n/messages.pl.json +1 -1
  170. package/dist/cdn/assets/create-feature/t9n/messages.pt-BR.json +1 -1
  171. package/dist/cdn/assets/create-feature/t9n/messages.pt-PT.json +1 -1
  172. package/dist/cdn/assets/create-feature/t9n/messages.ro.json +1 -1
  173. package/dist/cdn/assets/create-feature/t9n/messages.ru.json +1 -1
  174. package/dist/cdn/assets/create-feature/t9n/messages.sk.json +1 -1
  175. package/dist/cdn/assets/create-feature/t9n/messages.sl.json +1 -1
  176. package/dist/cdn/assets/create-feature/t9n/messages.sr.json +1 -1
  177. package/dist/cdn/assets/create-feature/t9n/messages.sv.json +1 -1
  178. package/dist/cdn/assets/create-feature/t9n/messages.th.json +1 -1
  179. package/dist/cdn/assets/create-feature/t9n/messages.tr.json +1 -1
  180. package/dist/cdn/assets/create-feature/t9n/messages.uk.json +1 -1
  181. package/dist/cdn/assets/create-feature/t9n/messages.vi.json +1 -1
  182. package/dist/cdn/assets/create-feature/t9n/messages.zh-CN.json +1 -1
  183. package/dist/cdn/assets/create-feature/t9n/messages.zh-HK.json +1 -1
  184. package/dist/cdn/assets/create-feature/t9n/messages.zh-TW.json +1 -1
  185. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ar.json +1 -1
  186. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bg.json +1 -1
  187. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.bs.json +1 -1
  188. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ca.json +1 -1
  189. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.cs.json +1 -1
  190. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.da.json +1 -1
  191. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.de.json +1 -1
  192. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.el.json +1 -1
  193. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.es.json +1 -1
  194. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.et.json +1 -1
  195. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fi.json +1 -1
  196. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.fr.json +1 -1
  197. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.he.json +1 -1
  198. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hr.json +1 -1
  199. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.hu.json +1 -1
  200. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.id.json +1 -1
  201. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.it.json +1 -1
  202. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ja.json +1 -1
  203. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ko.json +1 -1
  204. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lt.json +1 -1
  205. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.lv.json +1 -1
  206. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.nl.json +1 -1
  207. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.no.json +1 -1
  208. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pl.json +1 -1
  209. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-BR.json +1 -1
  210. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.pt-PT.json +1 -1
  211. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ro.json +1 -1
  212. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.ru.json +1 -1
  213. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sk.json +1 -1
  214. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sl.json +1 -1
  215. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sr.json +1 -1
  216. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.sv.json +1 -1
  217. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.th.json +1 -1
  218. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.tr.json +1 -1
  219. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.uk.json +1 -1
  220. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.vi.json +1 -1
  221. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-CN.json +1 -1
  222. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-HK.json +1 -1
  223. package/dist/cdn/assets/solution-deploying-dialog/t9n/messages.zh-TW.json +1 -1
  224. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ar.json +1 -1
  225. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bg.json +1 -1
  226. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.bs.json +1 -1
  227. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ca.json +1 -1
  228. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.cs.json +1 -1
  229. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.da.json +1 -1
  230. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.de.json +1 -1
  231. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.el.json +1 -1
  232. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.es.json +1 -1
  233. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.et.json +1 -1
  234. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fi.json +1 -1
  235. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.fr.json +1 -1
  236. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.he.json +1 -1
  237. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hr.json +1 -1
  238. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.hu.json +1 -1
  239. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.id.json +1 -1
  240. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.it.json +1 -1
  241. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ja.json +1 -1
  242. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ko.json +1 -1
  243. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lt.json +1 -1
  244. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.lv.json +1 -1
  245. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.nl.json +1 -1
  246. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.no.json +1 -1
  247. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pl.json +1 -1
  248. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-BR.json +1 -1
  249. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.pt-PT.json +1 -1
  250. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ro.json +1 -1
  251. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.ru.json +1 -1
  252. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sk.json +1 -1
  253. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sl.json +1 -1
  254. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sr.json +1 -1
  255. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.sv.json +1 -1
  256. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.th.json +1 -1
  257. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.tr.json +1 -1
  258. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.uk.json +1 -1
  259. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.vi.json +1 -1
  260. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-CN.json +1 -1
  261. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-HK.json +1 -1
  262. package/dist/cdn/assets/solutions-resources-shell/t9n/messages.zh-TW.json +1 -1
  263. package/dist/cdn/index.js +1 -1
  264. package/dist/chunks/Auth.js +83 -62
  265. package/dist/chunks/cardFetchingUtils.js +19 -19
  266. package/dist/chunks/cardsHelpers.js +5 -5
  267. package/dist/chunks/deployAppContexts.js +9 -0
  268. package/dist/chunks/getRelatedInfos.js +1 -1
  269. package/dist/chunks/{interfaces.js → helpers.js} +227 -228
  270. package/dist/chunks/solution-deploy-dialog.js +39 -52
  271. package/dist/chunks/solutions-deploy-app-nav.js +104 -78
  272. package/dist/components/arcgis-solutions-assistant/customElement.js +28 -27
  273. package/dist/components/consent-manager/customElement.js +3 -3
  274. package/dist/components/create-feature/customElement.js +1 -1
  275. package/dist/components/crowdsource-manager/customElement.js +3 -3
  276. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  277. package/dist/components/edit-card/customElement.js +4 -4
  278. package/dist/components/feature-details/customElement.js +1 -1
  279. package/dist/components/feature-list/customElement.js +1 -1
  280. package/dist/components/info-card/customElement.js +1 -1
  281. package/dist/components/layer-list/customElement.js +1 -1
  282. package/dist/components/layer-table/customElement.js +2 -2
  283. package/dist/components/map-card/customElement.js +1 -1
  284. package/dist/components/map-picker/customElement.js +1 -1
  285. package/dist/components/public-notification/customElement.js +28 -21
  286. package/dist/components/refine-selection/customElement.js +1 -1
  287. package/dist/components/solution-configure-titles/customElement.js +5 -4
  288. package/dist/components/solution-delete-dialog/customElement.js +47 -37
  289. package/dist/components/solution-deploy-dialog/customElement.js +4 -3
  290. package/dist/components/solution-deployed-card/customElement.js +3 -2
  291. package/dist/components/solution-deployed-card-panel/customElement.js +12 -11
  292. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  293. package/dist/components/solution-details-card/customElement.js +2 -1
  294. package/dist/components/solution-details-panel/customElement.js +105 -103
  295. package/dist/components/solution-item-accordion/customElement.js +29 -21
  296. package/dist/components/solution-item-diagram/customElement.js +1 -1
  297. package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +1 -0
  298. package/dist/components/solution-resource-card/customElement.js +7 -6
  299. package/dist/components/solution-snapshot-gallery/customElement.js +5 -4
  300. package/dist/components/solution-social-share/customElement.js +37 -36
  301. package/dist/components/solution-user-avatar/customElement.js +12 -11
  302. package/dist/components/solutions-all-panel/customElement.js +16 -12
  303. package/dist/components/solutions-all-shell/customElement.js +11 -10
  304. package/dist/components/solutions-deploy-app/customElement.js +16 -14
  305. package/dist/components/solutions-deploy-app-nav/customElement.js +4 -3
  306. package/dist/components/solutions-deployed-panel/customElement.js +3 -2
  307. package/dist/components/solutions-deployed-shell/customElement.js +8 -7
  308. package/dist/components/solutions-filter-panel/customElement.d.ts +4 -1
  309. package/dist/components/solutions-filter-panel/customElement.js +45 -36
  310. package/dist/components/solutions-resources-shell/customElement.js +38 -38
  311. package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
  312. package/dist/components/solutions-searchsort-toolbar/customElement.js +15 -10
  313. package/dist/docs/api.json +1 -1
  314. package/dist/docs/docs.json +1 -1
  315. package/dist/docs/vscode.html-custom-data.json +1 -1
  316. package/dist/docs/web-types.json +1 -1
  317. package/dist/index.js +1 -1
  318. package/dist/solutions-components_commit.txt +8 -5
  319. package/dist/types/lumina.d.ts +1 -0
  320. package/dist/types/preact.d.ts +1 -0
  321. package/dist/types/react.d.ts +1 -0
  322. package/dist/types/stencil.d.ts +1 -0
  323. package/dist/utils/Auth.d.ts +9 -1
  324. package/dist/utils/interfaces.d.ts +11 -12
  325. package/package.json +22 -22
  326. package/dist/cdn/24ADXKSX.js +0 -2
  327. package/dist/cdn/25MTK2JD.js +0 -2
  328. package/dist/cdn/2MVCIEAD.js +0 -2
  329. package/dist/cdn/2QE2HTYW.js +0 -2
  330. package/dist/cdn/3R5VOUDP.js +0 -2
  331. package/dist/cdn/43HJUBM4.js +0 -2
  332. package/dist/cdn/4LVJK3V2.js +0 -2
  333. package/dist/cdn/4VFF7AI4.js +0 -2
  334. package/dist/cdn/4X53QTF7.js +0 -2
  335. package/dist/cdn/5EKT4E6L.js +0 -2
  336. package/dist/cdn/5YSNBFO6.js +0 -2
  337. package/dist/cdn/6CHHUU33.js +0 -2
  338. package/dist/cdn/6TOLIJU5.js +0 -2
  339. package/dist/cdn/7EF56IQP.js +0 -2
  340. package/dist/cdn/7GNQSKAB.js +0 -2
  341. package/dist/cdn/7KSFAVG3.js +0 -2
  342. package/dist/cdn/ABL7HXUY.js +0 -2
  343. package/dist/cdn/AQ3TQ7PO.js +0 -2
  344. package/dist/cdn/B7XPPNVY.js +0 -2
  345. package/dist/cdn/BB3L2KIS.js +0 -2
  346. package/dist/cdn/BG55H324.js +0 -2
  347. package/dist/cdn/BUR53ZIF.js +0 -2
  348. package/dist/cdn/CHWUORRX.js +0 -2
  349. package/dist/cdn/CN7QQ3JZ.js +0 -2
  350. package/dist/cdn/CPMMNWOL.js +0 -3
  351. package/dist/cdn/CSQ77SHH.js +0 -2
  352. package/dist/cdn/DADQNPO4.js +0 -2
  353. package/dist/cdn/DHE3GFUJ.js +0 -2
  354. package/dist/cdn/DQNQ7DLH.js +0 -2
  355. package/dist/cdn/DSHJPE6S.js +0 -2
  356. package/dist/cdn/EDWOTP4V.js +0 -2
  357. package/dist/cdn/EITUC67W.js +0 -2
  358. package/dist/cdn/EYJ255MM.js +0 -2
  359. package/dist/cdn/F7OHPN7H.js +0 -2
  360. package/dist/cdn/F7R4EYDS.js +0 -2
  361. package/dist/cdn/FA44RLAZ.js +0 -2
  362. package/dist/cdn/FIWSWJTZ.js +0 -2
  363. package/dist/cdn/FUEG35TG.js +0 -21
  364. package/dist/cdn/GXICL6EL.js +0 -2
  365. package/dist/cdn/HAWNWJLR.js +0 -2
  366. package/dist/cdn/HKAZRCQE.js +0 -2
  367. package/dist/cdn/HYJ7UXOV.js +0 -2
  368. package/dist/cdn/IHP7FAGO.js +0 -2
  369. package/dist/cdn/IXSZQTPL.js +0 -2
  370. package/dist/cdn/J3PKNUNP.js +0 -2
  371. package/dist/cdn/J5VTBFGR.js +0 -2
  372. package/dist/cdn/J74DGHF3.js +0 -2
  373. package/dist/cdn/JY62CMT7.js +0 -2
  374. package/dist/cdn/KAEV4RME.js +0 -50
  375. package/dist/cdn/KWNAM7AD.js +0 -2
  376. package/dist/cdn/LNZEGAPP.js +0 -2
  377. package/dist/cdn/LW4KR4D5.js +0 -2
  378. package/dist/cdn/M7ERGA4I.js +0 -2
  379. package/dist/cdn/MI7UDIFR.js +0 -2
  380. package/dist/cdn/MSSLXF7R.js +0 -2
  381. package/dist/cdn/MTDE4K26.js +0 -2
  382. package/dist/cdn/MUM5SE3F.js +0 -2
  383. package/dist/cdn/NDSUZD6T.js +0 -2
  384. package/dist/cdn/NF3TLIP3.js +0 -2
  385. package/dist/cdn/NIUMAAOQ.js +0 -2
  386. package/dist/cdn/NXTK6OD5.js +0 -2
  387. package/dist/cdn/O44OLIT5.js +0 -2
  388. package/dist/cdn/OSPT7DNE.js +0 -2
  389. package/dist/cdn/OYQYXNHJ.js +0 -2
  390. package/dist/cdn/QYIFZ7XJ.js +0 -2
  391. package/dist/cdn/R4OPQN6O.js +0 -2
  392. package/dist/cdn/R5PY2TMY.js +0 -2
  393. package/dist/cdn/RJPRLDFE.js +0 -2
  394. package/dist/cdn/RKMY6VWP.js +0 -2
  395. package/dist/cdn/RSTX3J6D.js +0 -2
  396. package/dist/cdn/RXLJOKCX.js +0 -2
  397. package/dist/cdn/S27I4OM5.js +0 -2
  398. package/dist/cdn/SBEXUIYT.js +0 -2
  399. package/dist/cdn/SE7R7GJQ.js +0 -2
  400. package/dist/cdn/SGRKAUHN.js +0 -2
  401. package/dist/cdn/SJQW6ZDF.js +0 -2
  402. package/dist/cdn/TEXGFAKJ.js +0 -2
  403. package/dist/cdn/TG3TGRIK.js +0 -2
  404. package/dist/cdn/UFI4ZJNJ.js +0 -2
  405. package/dist/cdn/VGCXEINY.js +0 -2
  406. package/dist/cdn/VJEG4LOG.js +0 -2
  407. package/dist/cdn/VOM7CM3O.js +0 -2
  408. package/dist/cdn/VUQ25YDH.js +0 -2
  409. package/dist/cdn/VVNSX3BS.js +0 -2
  410. package/dist/cdn/WVC3NULO.js +0 -2
  411. package/dist/cdn/WYV4MD77.js +0 -2
  412. package/dist/cdn/X4Y4DHJ5.js +0 -2
  413. package/dist/cdn/XXBU3JMK.js +0 -2
  414. package/dist/cdn/YWSV24KI.js +0 -2
@@ -1,127 +1,19 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import * as m from "@esri/solution-common";
3
- import { c as C } from "./runtime.js";
4
- import { css as M, html as l, svg as x } from "lit";
5
- import { u as U } from "./useT9n.js";
6
- import { LitElement as $, createEvent as P, nothing as f, safeClassMap as G } from "@arcgis/lumina";
7
- import { useContextConsumer as E } from "@arcgis/lumina/context";
8
- import { createContext as T } from "@lit/context";
9
- import "@arcgis/lumina/controllers";
3
+ import "@arcgis/core/intl.js";
4
+ import { c as L } from "./runtime.js";
5
+ import { css as C, html as l, svg as M } from "lit";
6
+ import { u as x } from "./useT9n.js";
7
+ import { LitElement as U, createEvent as $, nothing as f, safeClassMap as P } from "@arcgis/lumina";
8
+ import { useContextConsumer as b } from "@arcgis/lumina/context";
9
+ import { c as G, i as B } from "./deployAppContexts.js";
10
+ import { createRef as E, ref as _ } from "lit-html/directives/ref.js";
10
11
  import "@arcgis/core/identity/IdentityManager.js";
11
12
  import "@arcgis/core/identity/OAuthInfo.js";
12
13
  import "@arcgis/core/portal/Portal.js";
13
- import "@arcgis/core/intl.js";
14
- import { createRef as _, ref as S } from "lit-html/directives/ref.js";
15
- const B = T("isMobile");
16
- T("localDebug");
17
- const K = T("config"), F = M`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-foreground-1);--calcite-panel-background-color: var(--calcite-color-foreground-1)}.cursor-default{cursor:default}`;
18
- function H(e) {
19
- let t = "", i = "?";
20
- return e.forEach((s) => {
21
- s.k && s.v && (t += i + s.k + "=" + s.v, i = "&");
22
- }), t;
23
- }
24
- function Re(e) {
25
- return e ? m.getVelocityUrlBase(e, {}).then((t) => Promise.resolve(!!t)) : Promise.resolve(!1);
26
- }
27
- async function W(e, t) {
28
- const i = t, s = await i.getUsername(), r = {
29
- q: new m.SearchQueryBuilder().match(e).in("title").and().match(s).in("owner"),
30
- filter: "type:Solution",
31
- authentication: i
32
- }, p = (await m.searchAllItems(r)).results.map((u) => u.title), { folders: o } = await m.getFoldersAndGroups(i), h = o.map((u) => u.title), d = [...p, ...h].map((u) => u.trim().toLowerCase()), w = e.toLowerCase(), N = d.filter((u) => u === w), L = d.filter((u) => u.startsWith(w));
33
- return { conflictingNames: N, similiarNames: L };
34
- }
35
- async function ke(e, t) {
36
- return V(e) ? { status: !1, type: "empty" } : z(e) ? { status: !1, type: "exceed length" } : Y(e, "folder") ? { status: !1, type: "special character" } : (await W(e.trim(), t)).conflictingNames.length > 0 ? { status: !1, type: "not unique" } : { status: !0, type: "" };
37
- }
38
- function V(e) {
39
- return e.length <= 0;
40
- }
41
- function z(e) {
42
- return e.length > fe;
43
- }
44
- function Y(e, t) {
45
- return (t === "item" ? /[><~`$^+=|]/u : /[/<>]/u).test(e);
46
- }
47
- function Ne(e) {
48
- if (e) {
49
- const t = e.trim();
50
- return t ? "<div>" + t + "</div>" : "";
51
- } else
52
- return "";
53
- }
54
- function q(e) {
55
- let t = "", i = "?";
56
- return e.forEach((s) => {
57
- s.k && s.v && (t += i + s.k + "=" + s.v, i = "&");
58
- }), t;
59
- }
60
- function Le(e, t, i, s) {
61
- let a = "";
62
- return t ? a = s + "/sharing/rest/content/items/" + e + "/info/" + t + q([{ k: "w", v: "400" }]) : a = i, a;
63
- }
64
- function Ce(e) {
65
- const t = e ? e.replace("https://", "").replace("www.", "") : "";
66
- return t.endsWith("devext.arcgis.com") || t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? e ?? "https://www.arcgis.com" : "https://www.arcgis.com";
67
- }
68
- function Me(e, t, i) {
69
- return t.some((s) => s.wkid === e ? (i = s.defaultExtent, !0) : !1), i;
70
- }
71
- function xe(e, t) {
72
- return O(t || e);
73
- }
74
- function Ue(e, t = "en") {
75
- return new Intl.DateTimeFormat(t, {
76
- year: "numeric",
77
- month: "long",
78
- day: "numeric"
79
- }).format(e);
80
- }
81
- function $e(e, t) {
82
- let i = "";
83
- return e.some((s) => s.startsWith(t) ? (i = s.substring(t.length), !0) : !1), i;
84
- }
85
- function O(e) {
86
- const t = e.replace("www.", "");
87
- return t.endsWith("devext.arcgis.com") ? "dev" : t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? "qa" : t === "arcgis.com" || t.endsWith(".arcgis.com") ? "prod" : "dev";
88
- }
89
- function Pe(e, t) {
90
- let i = e?.reduce((s, a) => (s.indexOf(a.id) < 0 && s.push(a.id), s), []) || [];
91
- return t ? i.sort((s, a) => t.indexOf(s) - t.indexOf(a)) : i;
92
- }
93
- function Ge(e) {
94
- return e.charAt(0).toUpperCase() + e.slice(1);
95
- }
96
- function Be(e) {
97
- return {
98
- relevance: "Relevance",
99
- title: "Title",
100
- new: "New",
101
- created: "Date deployed",
102
- updated: "Updated",
103
- suggested: "Suggested for you"
104
- }[e] || e;
105
- }
106
- function Ke(e) {
107
- if (!e)
108
- return "Unknown error";
109
- if (e.message)
110
- return e.message;
111
- try {
112
- const t = JSON.stringify(e);
113
- return t && t !== "{}" ? t : e.toString();
114
- } catch {
115
- return e.toString();
116
- }
117
- }
118
- function Fe(e) {
119
- return e ? parseFloat(((Date.now() - e) / 1e3).toFixed(2)) : 0;
120
- }
121
- function g(e, t) {
122
- (e.key === "Enter" || e.code === "NumpadEnter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), t());
123
- }
124
- async function j(e, t) {
14
+ import "@arcgis/lumina/controllers";
15
+ const K = C`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}`;
16
+ async function F(e, t) {
125
17
  const i = await m.getItemDataAsJson(e, t);
126
18
  if (!i)
127
19
  throw new Error(`Solution ${e} was not found`);
@@ -134,7 +26,8 @@ async function j(e, t) {
134
26
  type: r.item.type,
135
27
  typeKeywords: r.item.typeKeywords,
136
28
  dependencies: r.dependencies,
137
- snippet: r.item.snippet
29
+ snippet: r.item.snippet,
30
+ owner: r.item.owner
138
31
  }));
139
32
  else {
140
33
  const r = i.templates.map((o) => o.type === "Group" ? m.getGroupBase(o.itemId, t) : m.getItemBase(o.itemId, t));
@@ -147,44 +40,45 @@ async function j(e, t) {
147
40
  typeKeywords: o.typeKeywords,
148
41
  dependencies: i.templates[h].dependencies,
149
42
  snippet: o.snippet,
150
- url: `${s}/home/${d}.html?id=${o.id}`
43
+ url: `${s}/home/${d}.html?id=${o.id}`,
44
+ owner: o.owner
151
45
  };
152
46
  });
153
47
  }
154
48
  return a;
155
49
  }
156
- function He(e, t, i) {
50
+ function ve(e, t, i) {
157
51
  const s = e.templates.map((h) => h.type), a = [];
158
- a.push(ae), s.indexOf("Group") >= 0 && (a.push(A), a.push(D)), s.indexOf("Feature Service") >= 0 && a.push(I);
52
+ a.push(Q), s.indexOf("Group") >= 0 && (a.push(S), a.push(A)), s.indexOf("Feature Service") >= 0 && a.push(O);
159
53
  const r = s.indexOf("Feed") > -1;
160
- r && a.push(oe);
54
+ r && a.push(Z);
161
55
  const n = s.indexOf("Big Data Analytic") > -1;
162
- n && a.push(ne);
56
+ n && a.push(X);
163
57
  const p = s.indexOf("Real Time Analytic") > -1;
164
- p && a.push(le), (r || n || p) && a.push(ge), s.indexOf("Workflow") > -1 && (a.push(A), a.push(I), a.push(D), a.push(me)), s.indexOf("Geoprocessing Service") > -1 && (a.push(re), i.IsEnterprisePortal && a.push(de));
58
+ p && a.push(te), (r || n || p) && a.push(re), s.indexOf("Workflow") > -1 && (a.push(S), a.push(O), a.push(A), a.push(le)), s.indexOf("Geoprocessing Service") > -1 && (a.push(ee), i.IsEnterprisePortal && a.push(se));
165
59
  const o = e.templates.reduce(
166
60
  (h, d) => h.concat(d.item.typeKeywords || []),
167
61
  []
168
62
  );
169
- return Q(a, o, i), X(a, t), J(a, e), a;
63
+ return W(a, o, i), V(a, t), H(a, e), a;
170
64
  }
171
- function J(e, t) {
172
- t.templates.some((i) => i.type === "Group" && i.item?.membershipAccess === "collaboration") && e.push(se);
65
+ function H(e, t) {
66
+ t.templates.some((i) => i.type === "Group" && i.item?.membershipAccess === "collaboration") && e.push(J);
173
67
  }
174
- function Q(e, t, i) {
175
- const s = v(i), a = Z(i);
176
- ["Location Tracking View"].some((n) => t.indexOf(n) > -1) && (!s && !a ? e.push(ue) : s && !a ? e.push(pe) : !s && a && e.push(he));
68
+ function W(e, t, i) {
69
+ const s = D(i), a = z(i);
70
+ ["Location Tracking View"].some((n) => t.indexOf(n) > -1) && (!s && !a ? e.push(ae) : s && !a ? e.push(ne) : !s && a && e.push(oe));
177
71
  }
178
- function X(e, t) {
179
- ["HubPremium"].some((s) => t.indexOf(s) > -1) && e.push(ce);
72
+ function V(e, t) {
73
+ ["HubPremium"].some((s) => t.indexOf(s) > -1) && e.push(ie);
180
74
  }
181
- function v(e) {
75
+ function D(e) {
182
76
  return e.PortalUserSubset?.role === "org_admin" && !e.PortalUserSubset?.roleId;
183
77
  }
184
- function Z(e) {
78
+ function z(e) {
185
79
  return e.PortalSubset?.locationTrackingEnabled || !1;
186
80
  }
187
- function We(e, t) {
81
+ function Re(e, t) {
188
82
  let i = {
189
83
  leadingMessages: [],
190
84
  bulletedMessages: [],
@@ -222,7 +116,7 @@ function We(e, t) {
222
116
  );
223
117
  p && i.leadingMessages.push(p), t = t.filter((d) => s.indexOf(d) < 0), t.forEach((d) => {
224
118
  i.bulletedMessages.push(
225
- R(e, d)
119
+ v(e, d)
226
120
  );
227
121
  });
228
122
  let o = y(
@@ -235,9 +129,9 @@ function We(e, t) {
235
129
  ), i;
236
130
  }
237
131
  function y(e, t, i) {
238
- return t.filter((a) => a.includes(i)).length > 0 ? R(e, i) : "";
132
+ return t.filter((a) => a.includes(i)).length > 0 ? v(e, i) : "";
239
133
  }
240
- function R(e, t) {
134
+ function v(e, t) {
241
135
  const i = e.missingPrivilegesPopup.requiredPrivilegesList;
242
136
  let s = "";
243
137
  switch (t) {
@@ -298,34 +192,34 @@ function R(e, t) {
298
192
  }
299
193
  return s;
300
194
  }
301
- function Ve(e, t) {
302
- const i = k(t), s = H([{ k: "id", v: e }]) || "";
195
+ function ke(e, t) {
196
+ const i = R(t), s = de([{ k: "id", v: e }]) || "";
303
197
  return i ? `${i}/home/item.html${s}` : "";
304
198
  }
305
- function ze(e, t, i, s) {
306
- const a = s || k(i);
199
+ function Ne(e, t, i, s) {
200
+ const a = s || R(i);
307
201
  return a ? `${a}/sharing/rest/content/items/${e}/resources/${t}` : "";
308
202
  }
309
- function k(e) {
203
+ function R(e) {
310
204
  return e?.PortalSubset?.orgUrl || e?.PortalUrl || "";
311
205
  }
312
- function ee(e, t) {
206
+ function Y(e, t) {
313
207
  const i = new URL(e);
314
208
  return i.searchParams.set("token", t), i.toString();
315
209
  }
316
- class te extends $ {
210
+ class q extends U {
317
211
  constructor() {
318
- super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = U({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = E({
319
- context: K,
212
+ super(), this.deployedDate = "", this.description = "", this.diagramKey = "", this.heading = "", this.itemId = "", this.owner = "", this.thumbnail = "", this.updateAvailable = !1, this.templateInfos = [], this._isDeleteOpen = !1, this._isDiagramOpen = !1, this.isMobile = !1, this.templateInfoGraph = [], this._configureTitlesOpen = !1, this._thumbnailUrl = "", this._translations = x({ name: "solution-deployed-card", blocking: !0 }), this._configContextConsumer = b({
213
+ context: G,
320
214
  subscribe: !0,
321
215
  callback: async (t) => {
322
- t && (this._isOrgAdmin = v(t.authentication), this._thumbnailUrl = `${this.thumbnail}&token=${t.userSession?.token}`);
216
+ t && (this._isOrgAdmin = D(t.authentication), this._thumbnailUrl = `${this.thumbnail}&token=${t.userSession?.token}`);
323
217
  }
324
- }), this._deleteDialogRef = _(), this._diagramDialogRef = _(), this._isOrgAdmin = !1, this._isMobileContextConsumer = E({
218
+ }), this._deleteDialogRef = E(), this._diagramDialogRef = E(), this._isOrgAdmin = !1, this._isMobileContextConsumer = b({
325
219
  context: B,
326
220
  subscribe: !0,
327
221
  callback: (t) => this.isMobile = t
328
- }), this.deployedCardSelected = P(), this.listenOn(window, "sessionRefreshed", (t) => {
222
+ }), this.deployedCardSelected = $(), this.listenOn(window, "sessionRefreshed", (t) => {
329
223
  this._updateThumbnailToken(t.detail);
330
224
  });
331
225
  }
@@ -333,7 +227,7 @@ class te extends $ {
333
227
  this.properties = { card: 0, deployedDate: 1, description: 1, diagramKey: 1, heading: 1, itemId: 1, owner: 1, thumbnail: 1, updateAvailable: 5, templateInfos: 0, _isDeleteOpen: 16, _isDiagramOpen: 16, isMobile: 16, templateInfoGraph: 16, _configureTitlesOpen: 16, _thumbnailUrl: 16, _translations: 16 };
334
228
  }
335
229
  static {
336
- this.styles = F;
230
+ this.styles = K;
337
231
  }
338
232
  get _telemetry() {
339
233
  return this._configContextConsumer.value?.telemetrySession;
@@ -363,7 +257,7 @@ class te extends $ {
363
257
  return l`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${(t) => g(t, () => this._openUserProfile(t))}>${this.owner}</calcite-link></calcite-label>`;
364
258
  }
365
259
  _getDeployedDate() {
366
- return l`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${x`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
260
+ return l`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${M`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}", this.deployedDate)}</calcite-label></div>`;
367
261
  }
368
262
  _getConfigureButton() {
369
263
  const t = this._configContextConsumer.value?.userSession?.username, i = this._configContextConsumer.value?.authentication?.CanUpdateSolution, s = this.card?.owner === t || this._isOrgAdmin || i, a = this.card?.owner === t || this._isOrgAdmin, r = s ? "display-none" : "";
@@ -371,17 +265,17 @@ class te extends $ {
371
265
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
372
266
  }} @keydown=${(n) => g(n, async () => {
373
267
  this.templateInfos = await this._processTemplates(this.card), this._configureTitlesOpen = !0;
374
- })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && a && l`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${(n) => g(n, () => this._deleteSolution(n))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${G(r)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
268
+ })}>${this._translations.renameItems}</calcite-dropdown-item>` || ""}${!this.isMobile && a && l`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${(n) => g(n, () => this._deleteSolution(n))}>${this._translations.deleteSolution}</calcite-dropdown-item>` || ""}</calcite-dropdown-group><calcite-tooltip class=${P(r)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`;
375
269
  }
376
270
  _renderDeleteDialog() {
377
271
  return this._isDeleteOpen ? l`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${(t) => {
378
272
  this._isDeleteOpen = t.detail;
379
- }} .open=${this._isDeleteOpen} source="Card Dropdown" ${S(this._deleteDialogRef)}></solution-delete-dialog>` : "";
273
+ }} .open=${this._isDeleteOpen} source="Card Dropdown" ${_(this._deleteDialogRef)}></solution-delete-dialog>` : "";
380
274
  }
381
275
  _renderDiagramDialog() {
382
276
  return this._isDiagramOpen ? l`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "")} id=${this._translations.diagramTitle.replace("{{solution}}", this.card?.title ?? "") ?? f} modal .open=${this._isDiagramOpen} @calciteDialogClose=${() => {
383
277
  this._isDiagramOpen = !1;
384
- }} outside-close-disabled scale=m width=l ${S(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
278
+ }} outside-close-disabled scale=m width=l ${_(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>` : "";
385
279
  }
386
280
  _renderConfigureTitlesDialog() {
387
281
  return this._configureTitlesOpen ? l`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async () => {
@@ -402,7 +296,7 @@ class te extends $ {
402
296
  }
403
297
  async _viewDiagram(t) {
404
298
  t.stopPropagation(), this.card && (this._telemetry?.logEvent({
405
- category: b.DEPLOYMENTS,
299
+ category: w.DEPLOYMENTS,
406
300
  action: "View Diagram",
407
301
  dimensions: [
408
302
  this.card.title || "",
@@ -414,7 +308,7 @@ class te extends $ {
414
308
  }
415
309
  _viewDocumentation(t) {
416
310
  t.stopPropagation(), this._telemetry?.logEvent({
417
- category: b.DEPLOYMENTS,
311
+ category: w.DEPLOYMENTS,
418
312
  action: "Open Help",
419
313
  dimensions: [
420
314
  this.card?.title || "",
@@ -426,7 +320,7 @@ class te extends $ {
426
320
  }
427
321
  _viewItemDetails(t) {
428
322
  t.stopPropagation(), this._telemetry?.logEvent({
429
- category: b.DEPLOYMENTS,
323
+ category: w.DEPLOYMENTS,
430
324
  action: "Open Item Details",
431
325
  dimensions: [
432
326
  this.card?.title || "",
@@ -445,14 +339,14 @@ class te extends $ {
445
339
  i && window.open(`${i}/home/user.html?user=${this.owner}`, "_blank");
446
340
  }
447
341
  async _processTemplates(t) {
448
- return await j(t.id, this._configContextConsumer.value.userSession);
342
+ return await F(t.id, this._configContextConsumer.value.userSession);
449
343
  }
450
344
  _updateThumbnailToken(t) {
451
- this._thumbnailUrl !== "" && (this._thumbnailUrl = ee(this._thumbnailUrl, t));
345
+ this._thumbnailUrl !== "" && (this._thumbnailUrl = Y(this._thumbnailUrl, t));
452
346
  }
453
347
  }
454
- C("solution-deployed-card", te);
455
- const Ye = 500, qe = {
348
+ L("solution-deployed-card", q);
349
+ const Le = 500, Ce = {
456
350
  AEC: "Architecture, Engineering, and Construction (AEC)",
457
351
  AIRPORTPORTRAIL: "Airports, Ports, and Rails",
458
352
  BUSINESS: "Business",
@@ -466,7 +360,7 @@ const Ye = 500, qe = {
466
360
  STATEANDLOCALGOVERNMENT: "State and Local Government",
467
361
  TELECOMMUNICATIONS: "Telecommunications",
468
362
  UTILITIES: "Utilities"
469
- }, je = {
363
+ }, Me = {
470
364
  AIRPORT: "Airports",
471
365
  AGRICULTURE: "Agriculture",
472
366
  ASSESSMENTANDTAXATION: "Assessment and Taxation",
@@ -491,88 +385,193 @@ const Ye = 500, qe = {
491
385
  TRANSPORTATION: "Transportation",
492
386
  WATER: "Water Distribution"
493
387
  };
494
- var c = /* @__PURE__ */ ((e) => (e.HUBPREMIUM = "solutions:hubPremium", e.NOTEBOOK = "solutions:notebook", e.TRACKINGBASE = "solutions:locationtracking", e.TRACKING = "solutions:locationtracking:tracking", e.TRACKINGADMIN = "solutions:locationtracking:admin", e.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", e.VELOCITY = "solutions:velocity", e.WORKFLOW = "solutions:workflowManager", e))(c || {}), ie = /* @__PURE__ */ ((e) => (e.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", e.VELOCITYFEEDS = "portal:publisher:publishFeeds", e.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", e))(ie || {});
495
- const Je = '((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))', Qe = "(typekeywords:Solution,Template)", se = "portal:user:addExternalMembersToGroup", ae = "portal:user:createItem", A = "portal:user:createGroup", ne = "portal:publisher:publishBigDataAnalytics", I = "portal:publisher:publishFeatures", oe = "portal:publisher:publishFeeds", re = "portal:publisher:publishServerGPServices", le = "portal:publisher:publishRealTimeAnalytics", D = "portal:user:shareToGroup", ce = "solutions:hubPremium", de = "solutions:notebook", ue = "solutions:locationtracking:admin:tracking", pe = "solutions:locationtracking:tracking", he = "solutions:locationtracking:admin", ge = "solutions:velocity", me = "solutions:workflowManager", fe = 250, b = {
388
+ var c = /* @__PURE__ */ ((e) => (e.HUBPREMIUM = "solutions:hubPremium", e.NOTEBOOK = "solutions:notebook", e.TRACKINGBASE = "solutions:locationtracking", e.TRACKING = "solutions:locationtracking:tracking", e.TRACKINGADMIN = "solutions:locationtracking:admin", e.TRACKINGADMINANDTRACKING = "solutions:locationtracking:admin:tracking", e.VELOCITY = "solutions:velocity", e.WORKFLOW = "solutions:workflowManager", e))(c || {}), j = /* @__PURE__ */ ((e) => (e.VELOCITYBIGDATA = "portal:publisher:publishBigDataAnalytics", e.VELOCITYFEEDS = "portal:publisher:publishFeeds", e.VELOCITYREALTIME = "portal:publisher:publishRealTimeAnalytics", e))(j || {});
389
+ const xe = '((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))', Ue = "(typekeywords:Solution,Template)", J = "portal:user:addExternalMembersToGroup", Q = "portal:user:createItem", S = "portal:user:createGroup", X = "portal:publisher:publishBigDataAnalytics", O = "portal:publisher:publishFeatures", Z = "portal:publisher:publishFeeds", ee = "portal:publisher:publishServerGPServices", te = "portal:publisher:publishRealTimeAnalytics", A = "portal:user:shareToGroup", ie = "solutions:hubPremium", se = "solutions:notebook", ae = "solutions:locationtracking:admin:tracking", ne = "solutions:locationtracking:tracking", oe = "solutions:locationtracking:admin", re = "solutions:velocity", le = "solutions:workflowManager", ce = 250, w = {
496
390
  SOLUTION_DETAILS: "Solution Details",
497
391
  GLOBAL_NAVIGATION: "Global Nav",
498
392
  ALL_SOLUTIONS: "Solutions",
499
393
  DEPLOYMENTS: "Deployments",
500
394
  ASSISTANT: "Assistant",
501
395
  RESOURCES: "Resources"
502
- }, Xe = {
396
+ }, $e = {
503
397
  MINE: "My deployments",
504
398
  ORG: "Organization"
505
- }, Ze = {
399
+ }, Pe = {
506
400
  BOTH: "New,Suggested",
507
401
  NEW: "New",
508
402
  SUGGESTED: "Suggested"
509
- }, et = {
403
+ }, Ge = {
510
404
  NEW: "new",
511
405
  NUMVIEWS: "views",
512
406
  RELEVANCE: "relevance",
513
407
  SUGGESTED: "suggested",
514
408
  TITLE: "title",
515
- UPDATED: "updated"
516
- }, tt = {
409
+ UPDATED: "updated",
410
+ CREATED: "created"
411
+ }, Be = {
517
412
  DEPLOY: "deploy",
518
413
  AIOPEN: "aiOpen"
519
414
  };
415
+ function de(e) {
416
+ let t = "", i = "?";
417
+ return e.forEach((s) => {
418
+ s.k && s.v && (t += i + s.k + "=" + s.v, i = "&");
419
+ }), t;
420
+ }
421
+ function Ke(e) {
422
+ return e ? m.getVelocityUrlBase(e, {}).then((t) => Promise.resolve(!!t)) : Promise.resolve(!1);
423
+ }
424
+ async function ue(e, t) {
425
+ const i = t, s = await i.getUsername(), r = {
426
+ q: new m.SearchQueryBuilder().match(e).in("title").and().match(s).in("owner"),
427
+ filter: "type:Solution",
428
+ authentication: i
429
+ }, p = (await m.searchAllItems(r)).results.map((u) => u.title), { folders: o } = await m.getFoldersAndGroups(i), h = o.map((u) => u.title), d = [...p, ...h].map((u) => u.trim().toLowerCase()), T = e.toLowerCase(), k = d.filter((u) => u === T), N = d.filter((u) => u.startsWith(T));
430
+ return { conflictingNames: k, similiarNames: N };
431
+ }
432
+ async function Fe(e, t) {
433
+ return pe(e) ? { status: !1, type: "empty" } : he(e) ? { status: !1, type: "exceed length" } : ge(e, "folder") ? { status: !1, type: "special character" } : (await ue(e.trim(), t)).conflictingNames.length > 0 ? { status: !1, type: "not unique" } : { status: !0, type: "" };
434
+ }
435
+ function pe(e) {
436
+ return e.length <= 0;
437
+ }
438
+ function he(e) {
439
+ return e.length > ce;
440
+ }
441
+ function ge(e, t) {
442
+ return (t === "item" ? /[><~`$^+=|]/u : /[/<>]/u).test(e);
443
+ }
444
+ function He(e) {
445
+ if (e) {
446
+ const t = e.trim();
447
+ return t ? "<div>" + t + "</div>" : "";
448
+ } else
449
+ return "";
450
+ }
451
+ function me(e) {
452
+ let t = "", i = "?";
453
+ return e.forEach((s) => {
454
+ s.k && s.v && (t += i + s.k + "=" + s.v, i = "&");
455
+ }), t;
456
+ }
457
+ function We(e, t, i, s) {
458
+ let a = "";
459
+ return t ? a = s + "/sharing/rest/content/items/" + e + "/info/" + t + me([{ k: "w", v: "400" }]) : a = i, a;
460
+ }
461
+ function Ve(e) {
462
+ const t = e ? e.replace("https://", "").replace("www.", "") : "";
463
+ return t.endsWith("devext.arcgis.com") || t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? e ?? "https://www.arcgis.com" : "https://www.arcgis.com";
464
+ }
465
+ function ze(e, t, i) {
466
+ return t.some((s) => s.wkid === e ? (i = s.defaultExtent, !0) : !1), i;
467
+ }
468
+ function Ye(e, t) {
469
+ return I(t || e);
470
+ }
471
+ function qe(e, t = "en") {
472
+ return new Intl.DateTimeFormat(t, {
473
+ year: "numeric",
474
+ month: "long",
475
+ day: "numeric"
476
+ }).format(e);
477
+ }
478
+ function je(e, t) {
479
+ let i = "";
480
+ return e.some((s) => s.startsWith(t) ? (i = s.substring(t.length), !0) : !1), i;
481
+ }
482
+ function I(e) {
483
+ const t = e.replace("www.", "");
484
+ return t.endsWith("devext.arcgis.com") ? "dev" : t.endsWith("mapsqa.arcgis.com") || t.endsWith("qaext.arcgis.com") ? "qa" : t === "arcgis.com" || t.endsWith(".arcgis.com") ? "prod" : "dev";
485
+ }
486
+ function Je(e, t) {
487
+ let i = e?.reduce((s, a) => (s.indexOf(a.id) < 0 && s.push(a.id), s), []) || [];
488
+ return t ? i.sort((s, a) => t.indexOf(s) - t.indexOf(a)) : i;
489
+ }
490
+ function Qe(e) {
491
+ return e.charAt(0).toUpperCase() + e.slice(1);
492
+ }
493
+ function Xe(e) {
494
+ return {
495
+ relevance: "Relevance",
496
+ title: "Title",
497
+ new: "New",
498
+ created: "Date deployed",
499
+ updated: "Updated",
500
+ suggested: "Suggested for you"
501
+ }[e] || e;
502
+ }
503
+ function Ze(e) {
504
+ if (!e)
505
+ return "Unknown error";
506
+ if (e.message)
507
+ return e.message;
508
+ try {
509
+ const t = JSON.stringify(e);
510
+ return t && t !== "{}" ? t : e.toString();
511
+ } catch {
512
+ return e.toString();
513
+ }
514
+ }
515
+ function et(e) {
516
+ return e ? parseFloat(((Date.now() - e) / 1e3).toFixed(2)) : 0;
517
+ }
518
+ function g(e, t) {
519
+ (e.key === "Enter" || e.code === "NumpadEnter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), t());
520
+ }
520
521
  export {
521
- ke as $,
522
- K as A,
523
- Je as B,
524
- Y as C,
525
- Ve as D,
522
+ ue as $,
523
+ Je as A,
524
+ xe as B,
525
+ ge as C,
526
+ D,
526
527
  c as E,
527
- v as F,
528
- B as G,
529
- ee as H,
530
- fe as I,
531
- g as J,
532
- ze as K,
533
- Ge as L,
534
- Be as M,
535
- Ce as N,
536
- Ne as O,
537
- se as P,
538
- Ue as Q,
539
- Le as R,
540
- ce as S,
541
- b as T,
542
- q as U,
543
- Re as V,
544
- Fe as W,
545
- Ke as X,
546
- He as Y,
547
- We as Z,
548
- xe as _,
549
- Qe as a,
550
- Me as a0,
551
- W as a1,
552
- te as a2,
553
- Ye as b,
554
- Xe as c,
555
- je as d,
556
- qe as e,
557
- Ze as f,
558
- ie as g,
559
- tt as h,
560
- et as i,
561
- A as j,
562
- ae as k,
563
- ne as l,
564
- I as m,
565
- oe as n,
566
- re as o,
567
- le as p,
568
- D as q,
569
- de as r,
570
- pe as s,
571
- he as t,
572
- ue as u,
573
- ge as v,
574
- me as w,
575
- j as x,
576
- $e as y,
577
- Pe as z
528
+ ke as F,
529
+ Y as G,
530
+ g as H,
531
+ ce as I,
532
+ Ne as J,
533
+ Qe as K,
534
+ Xe as L,
535
+ He as M,
536
+ qe as N,
537
+ We as O,
538
+ J as P,
539
+ me as Q,
540
+ Ke as R,
541
+ ie as S,
542
+ w as T,
543
+ et as U,
544
+ Ze as V,
545
+ ve as W,
546
+ Re as X,
547
+ Ye as Y,
548
+ Fe as Z,
549
+ ze as _,
550
+ Ue as a,
551
+ q as a0,
552
+ Le as b,
553
+ $e as c,
554
+ Me as d,
555
+ Ce as e,
556
+ Pe as f,
557
+ j as g,
558
+ Be as h,
559
+ Ge as i,
560
+ S as j,
561
+ Q as k,
562
+ X as l,
563
+ O as m,
564
+ Z as n,
565
+ ee as o,
566
+ te as p,
567
+ A as q,
568
+ se as r,
569
+ ne as s,
570
+ oe as t,
571
+ ae as u,
572
+ re as v,
573
+ le as w,
574
+ Ve as x,
575
+ F as y,
576
+ je as z
578
577
  };