@esri/solutions-components 1.1.0-next.20250826 → 1.1.0-next.20250828

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 (584) hide show
  1. package/dist/cdn/{LOF2BMSE.js → 226QGSSE.js} +2 -2
  2. package/dist/cdn/25HUIZA4.js +4 -0
  3. package/dist/cdn/{EEGEIRR2.js → 27VLTU5A.js} +2 -2
  4. package/dist/cdn/{R5SQAHFB.js → 2EUXOCEX.js} +2 -2
  5. package/dist/cdn/{MD2QARDT.js → 2GWICTFG.js} +2 -2
  6. package/dist/cdn/{FLAGXSCM.js → 2MVD3YNU.js} +2 -2
  7. package/dist/cdn/{WXBHYF4L.js → 2QJUMLXI.js} +2 -2
  8. package/dist/cdn/{CSNXXJH5.js → 2RDE6TEB.js} +2 -2
  9. package/dist/cdn/{YVHJ3LVP.js → 2SFUHQ6X.js} +2 -2
  10. package/dist/cdn/{MPXUH2HB.js → 2WRYPENH.js} +2 -2
  11. package/dist/cdn/{BIVMHAFD.js → 2XFGTOP6.js} +2 -2
  12. package/dist/cdn/2YIAFORL.js +4 -0
  13. package/dist/cdn/{R6FBI25Z.js → 3574ZP6N.js} +2 -2
  14. package/dist/cdn/{TWFVFZ5A.js → 3BTPCUS2.js} +1 -1
  15. package/dist/cdn/{FBFOKWDQ.js → 3LJA2KLW.js} +2 -2
  16. package/dist/cdn/{54R5LUQH.js → 3NGSKAVB.js} +1 -1
  17. package/dist/cdn/{H4KEZYK2.js → 3NQBUYLZ.js} +2 -2
  18. package/dist/cdn/{2AMXPHHX.js → 3RB3RDC5.js} +2 -2
  19. package/dist/cdn/{SDULPVKZ.js → 3UUSTTNP.js} +2 -2
  20. package/dist/cdn/3V62ASGS.js +18 -0
  21. package/dist/cdn/{LYMUUDCW.js → 42UTT3QJ.js} +2 -2
  22. package/dist/cdn/{VLNSPHER.js → 44GZVSVC.js} +1 -1
  23. package/dist/cdn/{G23KTK5A.js → 466YND5P.js} +2 -2
  24. package/dist/cdn/{FAX54Y5C.js → 4ANMXM6Y.js} +2 -2
  25. package/dist/cdn/4BQTR7KV.js +21 -0
  26. package/dist/cdn/{Y5MZCCVE.js → 4JQO2KRL.js} +1 -1
  27. package/dist/cdn/4L5D4PU4.js +4 -0
  28. package/dist/cdn/{JCABTBLO.js → 4SQ4NCJE.js} +2 -2
  29. package/dist/cdn/{4UOPGK7V.js → 4U7FWGAN.js} +2 -2
  30. package/dist/cdn/{52UCTVB3.js → 4UMY7KAN.js} +2 -2
  31. package/dist/cdn/{VWS4G2XX.js → 4VKRNNLU.js} +2 -2
  32. package/dist/cdn/{W6GVGNNW.js → 4XGWADP2.js} +1 -1
  33. package/dist/cdn/{O4ZH4ZGW.js → 4XO7QZ5G.js} +2 -2
  34. package/dist/cdn/{NHLK4FEX.js → 5C4PTSCP.js} +2 -2
  35. package/dist/cdn/{X2FC55H5.js → 5HEHRHFZ.js} +1 -1
  36. package/dist/cdn/{2FZGBCJQ.js → 5HEQNNZ7.js} +3 -3
  37. package/dist/cdn/{CWNTBMBK.js → 5HIOGP26.js} +2 -2
  38. package/dist/cdn/{DMBW3HAP.js → 5HVMUH4B.js} +2 -2
  39. package/dist/cdn/{DHKJKQHC.js → 5IV4O7PP.js} +2 -2
  40. package/dist/cdn/{NCP2W4A2.js → 5JMXLP5R.js} +1 -1
  41. package/dist/cdn/{QOOQJCQE.js → 5KWFFKUR.js} +2 -2
  42. package/dist/cdn/{RQZPJ2TJ.js → 5LBMMACR.js} +2 -2
  43. package/dist/cdn/{7IHTABDL.js → 5QTI6BJY.js} +2 -2
  44. package/dist/cdn/{PEZGB3X3.js → 5VCVBSP5.js} +2 -2
  45. package/dist/cdn/{F377R4OA.js → 5VQGHQGD.js} +2 -2
  46. package/dist/cdn/{L2AMCW4E.js → 63BSUV4F.js} +2 -2
  47. package/dist/cdn/{EQTKEAOQ.js → 6DVHPGNU.js} +2 -2
  48. package/dist/cdn/{D4PCQURF.js → 6GOYQXOO.js} +2 -2
  49. package/dist/cdn/{7O5T5LCZ.js → 6NWBS6SL.js} +2 -2
  50. package/dist/cdn/{3UQLN2VT.js → 6QFD3CIJ.js} +2 -2
  51. package/dist/cdn/{7UFKERXN.js → 6ZSIJXTF.js} +1 -1
  52. package/dist/cdn/{GK2JF7J5.js → 772C34UX.js} +2 -2
  53. package/dist/cdn/{YIE2HZUW.js → 775D3UWY.js} +1 -1
  54. package/dist/cdn/{ISTCUZTA.js → 7B3VVFHV.js} +2 -2
  55. package/dist/cdn/{IJHA4MS7.js → 7DM4YSPQ.js} +2 -2
  56. package/dist/cdn/{L2I4RYOY.js → 7DPLS5X7.js} +2 -2
  57. package/dist/cdn/{OKUL3LUH.js → 7KMVZIUS.js} +2 -2
  58. package/dist/cdn/{O6HX2S4M.js → 7LB33GTE.js} +2 -2
  59. package/dist/cdn/{HK4VX5UZ.js → 7LLXICAU.js} +2 -2
  60. package/dist/cdn/{J7FQVJB6.js → 7QBAKAAP.js} +1 -1
  61. package/dist/cdn/{B6EOTZHP.js → A3UF6KXG.js} +2 -2
  62. package/dist/cdn/{ACH5WCXR.js → A3XRWJOX.js} +1 -1
  63. package/dist/cdn/{SRMGTY37.js → A463MFDX.js} +2 -2
  64. package/dist/cdn/{N2RLGUSU.js → AEDCRS34.js} +2 -2
  65. package/dist/cdn/{R4YFWV57.js → AIL4F46K.js} +2 -2
  66. package/dist/cdn/{US4ZKYQ7.js → AKF64ZKG.js} +2 -2
  67. package/dist/cdn/{FY5RJUTK.js → ALUTY67B.js} +2 -2
  68. package/dist/cdn/{2GB35O3F.js → AM2P5WWJ.js} +1 -1
  69. package/dist/cdn/{X6RNPBRK.js → AMSEELTG.js} +2 -2
  70. package/dist/cdn/{242G4FIK.js → AQ4E6Z6L.js} +1 -1
  71. package/dist/cdn/{2QVVTFCT.js → ARJDPDDZ.js} +2 -2
  72. package/dist/cdn/{OHGCDYXS.js → BCHKYHQE.js} +2 -2
  73. package/dist/cdn/{NY7VWJCV.js → BEOI2CT5.js} +2 -2
  74. package/dist/cdn/{DRSCQIX3.js → BFQCYQFO.js} +2 -2
  75. package/dist/cdn/{WGWCSWTR.js → BIPXL4KE.js} +1 -1
  76. package/dist/cdn/{FNHPSIKW.js → BJMZ6V7L.js} +2 -2
  77. package/dist/cdn/{O5HI3WPM.js → BSFFEDDB.js} +2 -2
  78. package/dist/cdn/{3D4IC4XG.js → BSV4H4QV.js} +2 -2
  79. package/dist/cdn/{RWJWQMWT.js → BTOD6L6H.js} +2 -2
  80. package/dist/cdn/{EFIENZSD.js → BTSS3LBI.js} +2 -2
  81. package/dist/cdn/{NORFBSBW.js → BY52IW4J.js} +2 -2
  82. package/dist/cdn/{T2ZOTMLQ.js → C6OFTWG5.js} +2 -2
  83. package/dist/cdn/{DZSCQLVQ.js → CIYHY3JZ.js} +2 -2
  84. package/dist/cdn/{4U3SUMGG.js → CMHM4AU3.js} +2 -2
  85. package/dist/cdn/{SB6APGG4.js → CNL7M4K7.js} +2 -2
  86. package/dist/cdn/{R2SLR6CV.js → CPJ47BBO.js} +2 -2
  87. package/dist/cdn/{3OP7XH4K.js → CQCP5INR.js} +2 -2
  88. package/dist/cdn/{PTJTHM4G.js → CS234YFY.js} +2 -2
  89. package/dist/cdn/{PTWG3YLV.js → CUXGTYWR.js} +2 -2
  90. package/dist/cdn/{OYAEHQYD.js → CZA4CCF2.js} +1 -1
  91. package/dist/cdn/{JZ47PARH.js → DDK5IIMB.js} +2 -2
  92. package/dist/cdn/{F7PGOPSH.js → DI7GBSSF.js} +2 -2
  93. package/dist/cdn/DJ7D6QIV.js +4 -0
  94. package/dist/cdn/{T4PUB3CF.js → DL6W2BEO.js} +2 -2
  95. package/dist/cdn/{NL7UUBVT.js → DMNUFLEY.js} +2 -2
  96. package/dist/cdn/{4PRNNH5K.js → DOJSJN7F.js} +2 -2
  97. package/dist/cdn/{HFHX4BN7.js → DOWDGUKX.js} +2 -2
  98. package/dist/cdn/{6DAHGVQK.js → DPH4W2B2.js} +2 -2
  99. package/dist/cdn/{PB2NJN2R.js → DWZIABEQ.js} +2 -2
  100. package/dist/cdn/{T23FUKWQ.js → E5LREUSI.js} +2 -2
  101. package/dist/cdn/{2XXJ32UZ.js → EEOFZ5EC.js} +2 -2
  102. package/dist/cdn/{M6A3X5OL.js → EH5OXTTD.js} +2 -2
  103. package/dist/cdn/EI7UNT3L.js +18 -0
  104. package/dist/cdn/{O35U4TMJ.js → EIHE5YP2.js} +2 -2
  105. package/dist/cdn/{R6ZRMGI4.js → EK2PZNV6.js} +2 -2
  106. package/dist/cdn/{KNPOUAAW.js → EKWS4PP6.js} +2 -2
  107. package/dist/cdn/{FVSTGESG.js → EM63FLQD.js} +1 -1
  108. package/dist/cdn/{3FGIPNFX.js → EMFC7JJF.js} +2 -2
  109. package/dist/cdn/{KBYC5Z55.js → EOFV6GEH.js} +2 -2
  110. package/dist/cdn/{VCBXMK3E.js → EPFFPUHV.js} +2 -2
  111. package/dist/cdn/{GZPM3R5V.js → ESIZWQ5K.js} +2 -2
  112. package/dist/cdn/{JKEWODTA.js → EVBTDN6G.js} +2 -2
  113. package/dist/cdn/{ITM5HGFE.js → EWDEQPK7.js} +2 -2
  114. package/dist/cdn/{SM27LL5D.js → EXCHA4EE.js} +2 -2
  115. package/dist/cdn/{MAPY2R5O.js → EYLJVJDM.js} +1 -1
  116. package/dist/cdn/{VNNF74QU.js → F5ZMWFE7.js} +2 -2
  117. package/dist/cdn/{NZXXKGRK.js → FD7W2RAW.js} +2 -2
  118. package/dist/cdn/{AKRCONMH.js → FDADQCSD.js} +1 -1
  119. package/dist/cdn/FIKS3EDJ.js +4 -0
  120. package/dist/cdn/{FUJ75QV7.js → FJKV655N.js} +2 -2
  121. package/dist/cdn/{RLXN46G3.js → FLU27GKB.js} +2 -2
  122. package/dist/cdn/{2TXYVXXB.js → FMZYI6QT.js} +2 -2
  123. package/dist/cdn/{EAPDPR5F.js → FP46FJBW.js} +2 -2
  124. package/dist/cdn/FR7O5LDJ.js +4 -0
  125. package/dist/cdn/{YXL6RNNI.js → FW3QZ4PP.js} +2 -2
  126. package/dist/cdn/{EWJEAHWI.js → FWTK4SPE.js} +2 -2
  127. package/dist/cdn/{VTN4CQ42.js → G6WJYEG7.js} +2 -2
  128. package/dist/cdn/{ZZPKWKYP.js → G7OB4TIP.js} +2 -2
  129. package/dist/cdn/{LFYXSNU4.js → GCD5SMQJ.js} +2 -2
  130. package/dist/cdn/GFEACDFT.js +18 -0
  131. package/dist/cdn/{YRCEVGG4.js → GFX4V3ZW.js} +2 -2
  132. package/dist/cdn/{UAN377MB.js → GFYESXYA.js} +2 -2
  133. package/dist/cdn/GHRQ5OMT.js +18 -0
  134. package/dist/cdn/{UX52X4GF.js → GJD2YHPE.js} +2 -2
  135. package/dist/cdn/{VR2ZRA3P.js → GJE6JCGQ.js} +2 -2
  136. package/dist/cdn/{MHK5AFMJ.js → GJQZMNXQ.js} +1 -1
  137. package/dist/cdn/{KFTVOUYY.js → GM2YCS6I.js} +2 -2
  138. package/dist/cdn/{D7TNTA4L.js → GMWAFSXG.js} +1 -1
  139. package/dist/cdn/{IR7ESZLK.js → GN3LYSK4.js} +2 -2
  140. package/dist/cdn/{TADXNKDR.js → GNAFPT4K.js} +2 -2
  141. package/dist/cdn/{PAUXHAKL.js → GRFYUQMC.js} +2 -2
  142. package/dist/cdn/{FFW25LGL.js → GTLDTFGM.js} +2 -2
  143. package/dist/cdn/{VAZDPQNG.js → H3RJWJ6R.js} +2 -2
  144. package/dist/cdn/{2GAG54LP.js → HBVDJ5HK.js} +2 -2
  145. package/dist/cdn/{Z5ZS3BAR.js → HDO7HWGX.js} +2 -2
  146. package/dist/cdn/{RV2Z6O5O.js → HE2ALR27.js} +1 -1
  147. package/dist/cdn/{CIIFANWW.js → HFDCGIRQ.js} +1 -1
  148. package/dist/cdn/{MINH2QEY.js → HGL2Q6AM.js} +2 -2
  149. package/dist/cdn/{XNS4IYPZ.js → HHXJHZWU.js} +2 -2
  150. package/dist/cdn/{24SITF4Q.js → HJZSNNXL.js} +2 -2
  151. package/dist/cdn/{N3UGXKP3.js → HNRINH4M.js} +2 -2
  152. package/dist/cdn/{OO6V43D6.js → HPVYJFAK.js} +2 -2
  153. package/dist/cdn/{6ZUQWDOH.js → HQ6E5W5K.js} +2 -2
  154. package/dist/cdn/{R5I5A3D2.js → HR77KJSD.js} +2 -2
  155. package/dist/cdn/{UGGIM75I.js → HWMXCHVE.js} +2 -2
  156. package/dist/cdn/{ELOWONFQ.js → HWZKM5WI.js} +2 -2
  157. package/dist/cdn/{BCWK7F55.js → I32NMVY7.js} +2 -2
  158. package/dist/cdn/{22XAX2PZ.js → I46RTMPO.js} +2 -2
  159. package/dist/cdn/{EZE2PACJ.js → I6SB6OUE.js} +2 -2
  160. package/dist/cdn/{VF7WKHKV.js → I7DNCKIP.js} +2 -2
  161. package/dist/cdn/{LZ7NJTUW.js → I7DOK2P3.js} +2 -2
  162. package/dist/cdn/{N5RRSFVT.js → IAR5VLIT.js} +2 -2
  163. package/dist/cdn/{S6VUL3PU.js → IHGPNQTM.js} +2 -2
  164. package/dist/cdn/{QEPHTKWA.js → IJAVQIQY.js} +2 -2
  165. package/dist/cdn/IJYMY6LU.js +18 -0
  166. package/dist/cdn/{DBHQBJ45.js → IKRRFKE6.js} +2 -2
  167. package/dist/cdn/{GULEBDLL.js → IL6X7BAH.js} +2 -2
  168. package/dist/cdn/{BVBW3THF.js → INMWS2AK.js} +2 -2
  169. package/dist/cdn/{D6OP5HMU.js → IV2ICUCF.js} +1 -1
  170. package/dist/cdn/{A2PGHI2Q.js → IVUZ3MTL.js} +2 -2
  171. package/dist/cdn/{LMKE6DCZ.js → IZK32GOX.js} +1 -1
  172. package/dist/cdn/{RQIY3KON.js → J25AGF6Z.js} +2 -2
  173. package/dist/cdn/{3FV7VVIE.js → J2HKOKJZ.js} +2 -2
  174. package/dist/cdn/{MPMRB2B2.js → JBHG33RN.js} +2 -2
  175. package/dist/cdn/JH3TW34C.js +4 -0
  176. package/dist/cdn/{LLFSPG2E.js → JKUOKISU.js} +2 -2
  177. package/dist/cdn/{KTBUQZKZ.js → JOVKXD5Z.js} +2 -2
  178. package/dist/cdn/{6UEKGAEF.js → JP5VAE6Y.js} +2 -2
  179. package/dist/cdn/{VZJKGNEQ.js → JTOJXBPA.js} +2 -2
  180. package/dist/cdn/{6SLNOEWR.js → JVKCIYQC.js} +2 -2
  181. package/dist/cdn/{A6DYZUSD.js → JX645F5Z.js} +1 -1
  182. package/dist/cdn/{AP5Q5KCQ.js → KDKNZUGD.js} +2 -2
  183. package/dist/cdn/{IZCQX2ZL.js → KDOGXG5T.js} +1 -1
  184. package/dist/cdn/{3I2ERSGW.js → KDWXJPBI.js} +2 -2
  185. package/dist/cdn/{T5RZ3GMK.js → KGBOZ3RU.js} +2 -2
  186. package/dist/cdn/KLDKDJBR.js +4 -0
  187. package/dist/cdn/{XHCNVDBJ.js → KLY63CSF.js} +2 -2
  188. package/dist/cdn/{JM4Z6BAF.js → KNZIJGNE.js} +2 -2
  189. package/dist/cdn/{PENPBWBF.js → KO2D2ZR7.js} +2 -2
  190. package/dist/cdn/{OXZGKLMD.js → KRM7IGDK.js} +2 -2
  191. package/dist/cdn/{PDFPYXHE.js → LCP3HDWL.js} +1 -1
  192. package/dist/cdn/{WYEG4WK2.js → LG76ITDM.js} +2 -2
  193. package/dist/cdn/{3DR5MAKO.js → LI3OJ3I2.js} +2 -2
  194. package/dist/cdn/{LHFTJJN7.js → LISV6CF3.js} +2 -2
  195. package/dist/cdn/{SH6U5M5M.js → LM3MXKQM.js} +2 -2
  196. package/dist/cdn/{7YRGBDRM.js → LMPKEDGE.js} +2 -2
  197. package/dist/cdn/{NLGBEHMQ.js → LPUL3M4W.js} +2 -2
  198. package/dist/cdn/{XUM4LM2G.js → LQ3MDUHZ.js} +2 -2
  199. package/dist/cdn/{IN7SU5RB.js → M3VQ3PZT.js} +1 -1
  200. package/dist/cdn/{DZ56J224.js → M6RMUZSR.js} +2 -2
  201. package/dist/cdn/M74PUQGW.js +4 -0
  202. package/dist/cdn/{2UVPWGS3.js → MGRHKWYD.js} +2 -2
  203. package/dist/cdn/{OE66HR32.js → MPOH52ZT.js} +2 -2
  204. package/dist/cdn/{O3UGPGKI.js → MRE4W3RZ.js} +2 -2
  205. package/dist/cdn/{B3XJVARB.js → MSFATVQR.js} +2 -2
  206. package/dist/cdn/{JPKEGK23.js → MUMAAFU6.js} +2 -2
  207. package/dist/cdn/{DVICAV4Y.js → MXDEBIVV.js} +2 -2
  208. package/dist/cdn/{TQ4TWST5.js → N2ZRCOK7.js} +2 -2
  209. package/dist/cdn/{R6256KM2.js → N46CPYK6.js} +2 -2
  210. package/dist/cdn/{WUC4ZKFM.js → NABMSVZR.js} +2 -2
  211. package/dist/cdn/{V6ONJU5E.js → NE4VEZO4.js} +2 -2
  212. package/dist/cdn/{R3FHOUB2.js → NFG4MG7R.js} +2 -2
  213. package/dist/cdn/{V5ZA2LS6.js → NKZIY75J.js} +2 -2
  214. package/dist/cdn/{J4WYSDVL.js → NTLI7MYJ.js} +2 -2
  215. package/dist/cdn/{VY6VFMKB.js → NWF3JWPU.js} +1 -1
  216. package/dist/cdn/{NWXCHS6Q.js → NY54SXCT.js} +1 -1
  217. package/dist/cdn/{EA2XVZEK.js → O2Y336VP.js} +2 -2
  218. package/dist/cdn/{SK5D7WST.js → O6G7FUHP.js} +2 -2
  219. package/dist/cdn/{GB4G3CHK.js → O7SJWTIT.js} +2 -2
  220. package/dist/cdn/{PT5MGMO3.js → OSRI4P6U.js} +2 -2
  221. package/dist/cdn/{XJUPI2NC.js → OTGX3VSB.js} +2 -2
  222. package/dist/cdn/{LI6TRFFQ.js → OUBJ5ZGX.js} +2 -2
  223. package/dist/cdn/{7GQILSCH.js → OV7DFJGX.js} +2 -2
  224. package/dist/cdn/{R22MKNUC.js → P6SEF77G.js} +2 -2
  225. package/dist/cdn/{6IVR6RFE.js → P6SZMVOM.js} +2 -2
  226. package/dist/cdn/{MD3ZUMOY.js → P7TNHA6I.js} +2 -2
  227. package/dist/cdn/{G5PX2QEX.js → PK6HXDUN.js} +2 -2
  228. package/dist/cdn/{WLXLQ5P5.js → PVV3USCI.js} +2 -2
  229. package/dist/cdn/{3FQQL7WD.js → PVZWDJJN.js} +2 -2
  230. package/dist/cdn/{INN6RSD5.js → PXTM3BXQ.js} +2 -2
  231. package/dist/cdn/{GIRLUAFF.js → Q4TNDAMB.js} +2 -2
  232. package/dist/cdn/QBUJFNVI.js +4 -0
  233. package/dist/cdn/{JMGABGCA.js → QCXYLIX7.js} +2 -2
  234. package/dist/cdn/{LTEXCNFY.js → QERQEDRX.js} +2 -2
  235. package/dist/cdn/{JGPW7EQX.js → QK53UXEM.js} +2 -2
  236. package/dist/cdn/{7ZRSIW7W.js → QM6BU3QZ.js} +2 -2
  237. package/dist/cdn/{HI4JFPJ2.js → QRDFSKLO.js} +2 -2
  238. package/dist/cdn/{UZ46N2DC.js → QTJGDEO5.js} +2 -2
  239. package/dist/cdn/{NCK5QFHW.js → QY5XBNSA.js} +2 -2
  240. package/dist/cdn/QZJM3UVY.js +4 -0
  241. package/dist/cdn/{2XMNZQFL.js → QZOYPBOO.js} +2 -2
  242. package/dist/cdn/{H66T67IM.js → R25YPLON.js} +2 -2
  243. package/dist/cdn/{TC3KBQQV.js → R5BBJHNK.js} +2 -2
  244. package/dist/cdn/{FMMMZEDD.js → R72FDXTT.js} +2 -2
  245. package/dist/cdn/{MAOAOV7F.js → RBZI6FS6.js} +2 -2
  246. package/dist/cdn/{6ZMFZUJO.js → ROGT3C4G.js} +2 -2
  247. package/dist/cdn/{7T5US4YM.js → RR4PBHNF.js} +2 -2
  248. package/dist/cdn/{ULRMAFIQ.js → RSBFMPEE.js} +2 -2
  249. package/dist/cdn/{FA543Q6E.js → RZGRORAH.js} +2 -2
  250. package/dist/cdn/{JFRAYPG5.js → SIYXXXQW.js} +2 -2
  251. package/dist/cdn/{VTEBUNUA.js → SJC3IN6H.js} +2 -2
  252. package/dist/cdn/{WU7A6GYY.js → SNDH4A3Y.js} +2 -2
  253. package/dist/cdn/{QARLBGR2.js → SNE5QBZ4.js} +2 -2
  254. package/dist/cdn/{FCTXR64D.js → SO4XHFT6.js} +2 -2
  255. package/dist/cdn/{KYNPDGNS.js → SRC6UU36.js} +2 -2
  256. package/dist/cdn/{26UZ4PGM.js → SSEJGOSJ.js} +2 -2
  257. package/dist/cdn/{SONO4PQ7.js → T3AWLN26.js} +2 -2
  258. package/dist/cdn/{D3Y3OOI4.js → T4WHSUWN.js} +2 -2
  259. package/dist/cdn/{HAAQ4OMM.js → T55VBYN6.js} +2 -2
  260. package/dist/cdn/{A2M2LRN2.js → T5FCQZWC.js} +2 -2
  261. package/dist/cdn/{UHTOD6ZU.js → T6LQV7KH.js} +2 -2
  262. package/dist/cdn/T73KSKS2.js +4 -0
  263. package/dist/cdn/{ZYVMNS6M.js → TD7V4IMR.js} +2 -2
  264. package/dist/cdn/{4FIAEIR2.js → TEAJPJG5.js} +2 -2
  265. package/dist/cdn/{PU2KSJ3F.js → THJ5I4FB.js} +1 -1
  266. package/dist/cdn/{EXX3PZSJ.js → THX32L6J.js} +2 -2
  267. package/dist/cdn/{4IBHSD5M.js → TKCEDWO6.js} +2 -2
  268. package/dist/cdn/{T32BOBVG.js → TM23OV5B.js} +2 -2
  269. package/dist/cdn/{MQRVMTMY.js → TQMUFNCU.js} +2 -2
  270. package/dist/cdn/{AG56R647.js → TQW6YSJQ.js} +2 -2
  271. package/dist/cdn/{F5NE627O.js → TU57MATG.js} +2 -2
  272. package/dist/cdn/{VQWIZPQN.js → TXGULLSL.js} +2 -2
  273. package/dist/cdn/TXOSZQCS.js +4 -0
  274. package/dist/cdn/{AUEKGKWW.js → TYFW5USV.js} +2 -2
  275. package/dist/cdn/{Y7ALJJMD.js → U4G4NDN4.js} +1 -1
  276. package/dist/cdn/{LRG2HJN7.js → U74ATJYL.js} +2 -2
  277. package/dist/cdn/{UMP3246X.js → UECILZYG.js} +2 -2
  278. package/dist/cdn/{XSJU2CHL.js → UHCN2RHJ.js} +2 -2
  279. package/dist/cdn/{QFHGUCFF.js → UIDRKO4P.js} +2 -2
  280. package/dist/cdn/{DJW7UGE5.js → ULRMOIIF.js} +2 -2
  281. package/dist/cdn/{47CZQEZ4.js → UTHLY33U.js} +2 -2
  282. package/dist/cdn/{SHW4AF5G.js → UU2SCVOU.js} +2 -2
  283. package/dist/cdn/{V6IL55PQ.js → UXVRTL47.js} +1 -1
  284. package/dist/cdn/{AT5KI5NH.js → V2CYNA53.js} +2 -2
  285. package/dist/cdn/{NLJ7PLZU.js → V476GRMI.js} +2 -2
  286. package/dist/cdn/{IRHYGPNW.js → V6PJP4IP.js} +2 -2
  287. package/dist/cdn/{OO3RBXWG.js → V73GHOGW.js} +2 -2
  288. package/dist/cdn/{TKUAFPT7.js → V7NAE7VZ.js} +2 -2
  289. package/dist/cdn/{BBC25PCV.js → VCBGJYT4.js} +2 -2
  290. package/dist/cdn/{2637QCC6.js → VMIBM6PC.js} +2 -2
  291. package/dist/cdn/{ORMFBJJR.js → VPUNNC6S.js} +2 -2
  292. package/dist/cdn/{JYZ7Y6OM.js → VQ62QZQU.js} +2 -2
  293. package/dist/cdn/{K7H2X6A6.js → VRDRHWN6.js} +2 -2
  294. package/dist/cdn/VTGMI5PO.js +18 -0
  295. package/dist/cdn/{LC54BKPJ.js → VWEXAIVT.js} +2 -2
  296. package/dist/cdn/{2ISWZ7ES.js → VXWEWJTC.js} +2 -2
  297. package/dist/cdn/{UJD6ES2E.js → W3PGRKME.js} +4 -4
  298. package/dist/cdn/{7SO3UERJ.js → W3S3EGJF.js} +2 -2
  299. package/dist/cdn/{DIAM76RF.js → W577TQI2.js} +2 -2
  300. package/dist/cdn/{HUWHQRWG.js → W5EAS3XP.js} +2 -2
  301. package/dist/cdn/{PO5EWNTP.js → WFSA5X5Y.js} +2 -2
  302. package/dist/cdn/{GOOM7OII.js → WGBZF2SU.js} +2 -2
  303. package/dist/cdn/{MK5JBDSR.js → WJIXMYFO.js} +2 -2
  304. package/dist/cdn/{BY4C3RD4.js → WPWHXT2X.js} +1 -1
  305. package/dist/cdn/{3RZ4B4KW.js → WQFHL3SI.js} +2 -2
  306. package/dist/cdn/{VFUWUXF3.js → WQHZU254.js} +2 -2
  307. package/dist/cdn/{JVEX7CJV.js → WQJONGME.js} +3 -3
  308. package/dist/cdn/{4PPD5Z74.js → WQYGHF4T.js} +2 -2
  309. package/dist/cdn/{DRO3FLJN.js → WXKKGXWR.js} +2 -2
  310. package/dist/cdn/{QHFKMDZ4.js → WY4ONAAF.js} +2 -2
  311. package/dist/cdn/{MX6KDM5S.js → X4GQFJRB.js} +2 -2
  312. package/dist/cdn/{IPBXIG4N.js → XAP3K3SC.js} +2 -2
  313. package/dist/cdn/{DS5W6LUD.js → XBKQQHEV.js} +2 -2
  314. package/dist/cdn/{BMMZR5PV.js → XFYRPLUH.js} +2 -2
  315. package/dist/cdn/{HDHR52C7.js → XH7K76V3.js} +2 -2
  316. package/dist/cdn/{R4LSNDGB.js → XLGWWA5S.js} +1 -1
  317. package/dist/cdn/{C7WELP4Y.js → XVWVDRKA.js} +2 -2
  318. package/dist/cdn/{QQDQC2XF.js → XXBHKPIC.js} +2 -2
  319. package/dist/cdn/{5AMF4HXC.js → XXZ576GX.js} +1 -1
  320. package/dist/cdn/{73GJGT52.js → Y3YKFEU7.js} +2 -2
  321. package/dist/cdn/{GJCRW3HR.js → Y4VA7U7D.js} +2 -2
  322. package/dist/cdn/{CVH6H46Y.js → Y6I2OVEZ.js} +2 -2
  323. package/dist/cdn/{DD3NLCRE.js → YC6I36VW.js} +2 -2
  324. package/dist/cdn/{U3GCP5WC.js → YGSA5NVJ.js} +2 -2
  325. package/dist/cdn/{OCWKEWRW.js → YMV43UIC.js} +2 -2
  326. package/dist/cdn/{DMNEKAQ6.js → YV35CSEF.js} +2 -2
  327. package/dist/cdn/{YOGWAUXN.js → Z2A4HO55.js} +2 -2
  328. package/dist/cdn/{JMVZIXRM.js → Z3ULYDEC.js} +2 -2
  329. package/dist/cdn/{NDZEZFPG.js → Z43BYGVU.js} +2 -2
  330. package/dist/cdn/{QSSZYKKK.js → Z774P2PS.js} +2 -2
  331. package/dist/cdn/{XSNX4B4W.js → Z7ARVIQA.js} +2 -2
  332. package/dist/cdn/{4QM63EDF.js → ZF3IIQ63.js} +2 -2
  333. package/dist/cdn/{DJZQ2UHK.js → ZMOFCR7O.js} +2 -2
  334. package/dist/cdn/{ZHDUOFRX.js → ZTNDRVXH.js} +2 -2
  335. package/dist/cdn/{2JDHXEXH.js → ZVNFQMSP.js} +2 -2
  336. package/dist/cdn/{U6QIOSBP.js → ZWW3M7TK.js} +2 -2
  337. package/dist/cdn/{T7G22PFN.js → ZXJDQSSJ.js} +1 -1
  338. package/dist/cdn/{XEHMEUMN.js → ZYWCS54R.js} +2 -2
  339. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +1 -1
  340. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +1 -1
  341. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +1 -1
  342. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +1 -1
  343. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +1 -1
  344. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +1 -1
  345. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +1 -1
  346. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +1 -1
  347. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +1 -1
  348. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +1 -1
  349. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +1 -1
  350. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +1 -1
  351. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +1 -1
  352. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +1 -1
  353. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +1 -1
  354. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +1 -1
  355. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +1 -1
  356. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +1 -1
  357. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +1 -1
  358. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +1 -1
  359. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +1 -1
  360. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +1 -1
  361. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +1 -1
  362. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +1 -1
  363. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +1 -1
  364. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +1 -1
  365. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +1 -1
  366. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +1 -1
  367. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +1 -1
  368. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +1 -1
  369. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +1 -1
  370. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +1 -1
  371. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +1 -1
  372. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +1 -1
  373. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +1 -1
  374. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +1 -1
  375. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +1 -1
  376. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +1 -1
  377. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +1 -1
  378. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ar.json +1 -0
  379. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bg.json +1 -0
  380. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.bs.json +1 -0
  381. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ca.json +1 -0
  382. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.cs.json +1 -0
  383. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.da.json +1 -0
  384. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.de.json +1 -0
  385. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.el.json +1 -0
  386. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.es.json +1 -0
  387. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.et.json +1 -0
  388. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fi.json +1 -0
  389. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.fr.json +1 -0
  390. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.he.json +1 -0
  391. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hr.json +1 -0
  392. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.hu.json +1 -0
  393. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.id.json +1 -0
  394. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.it.json +1 -0
  395. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ja.json +1 -0
  396. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ko.json +1 -0
  397. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lt.json +1 -0
  398. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.lv.json +1 -0
  399. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.nl.json +1 -0
  400. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.no.json +1 -0
  401. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pl.json +1 -0
  402. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-BR.json +1 -0
  403. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.pt-PT.json +1 -0
  404. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ro.json +1 -0
  405. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.ru.json +1 -0
  406. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sk.json +1 -0
  407. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sl.json +1 -0
  408. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sr.json +1 -0
  409. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.sv.json +1 -0
  410. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.th.json +1 -0
  411. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.tr.json +1 -0
  412. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.uk.json +1 -0
  413. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.vi.json +1 -0
  414. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-CN.json +1 -0
  415. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-HK.json +1 -0
  416. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.zh-TW.json +1 -0
  417. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ar.json +1 -1
  418. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bg.json +1 -1
  419. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.bs.json +1 -1
  420. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ca.json +1 -1
  421. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.cs.json +1 -1
  422. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.da.json +1 -1
  423. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.de.json +1 -1
  424. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.el.json +1 -1
  425. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.es.json +1 -1
  426. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.et.json +1 -1
  427. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fi.json +1 -1
  428. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.fr.json +1 -1
  429. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.he.json +1 -1
  430. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hr.json +1 -1
  431. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.hu.json +1 -1
  432. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.id.json +1 -1
  433. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.it.json +1 -1
  434. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ja.json +1 -1
  435. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ko.json +1 -1
  436. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lt.json +1 -1
  437. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.lv.json +1 -1
  438. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.nl.json +1 -1
  439. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.no.json +1 -1
  440. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pl.json +1 -1
  441. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-BR.json +1 -1
  442. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.pt-PT.json +1 -1
  443. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ro.json +1 -1
  444. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.ru.json +1 -1
  445. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sk.json +1 -1
  446. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sl.json +1 -1
  447. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sr.json +1 -1
  448. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.sv.json +1 -1
  449. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.th.json +1 -1
  450. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.tr.json +1 -1
  451. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.uk.json +1 -1
  452. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.vi.json +1 -1
  453. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-CN.json +1 -1
  454. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-HK.json +1 -1
  455. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.zh-TW.json +1 -1
  456. package/dist/cdn/index.js +2 -2
  457. package/dist/chunks/Auth.js +119 -129
  458. package/dist/chunks/CardsFetcher.js +381 -0
  459. package/dist/chunks/appConfig.js +1 -1
  460. package/dist/chunks/cardFetchingUtils.js +23 -397
  461. package/dist/chunks/common.js +1 -1
  462. package/dist/chunks/deployAppContexts.js +1 -1
  463. package/dist/chunks/downloadUtils.js +1 -1
  464. package/dist/chunks/getItemIcon.js +1 -1
  465. package/dist/chunks/helpers.js +1 -1
  466. package/dist/chunks/index.js +1 -1
  467. package/dist/chunks/interfaces.js +10 -10
  468. package/dist/chunks/loadModules.js +1 -1
  469. package/dist/chunks/mapViewUtils.js +6 -6
  470. package/dist/chunks/pciUtils.js +1 -1
  471. package/dist/chunks/popupUtils.js +1 -1
  472. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  473. package/dist/chunks/privilegeUtils.js +2 -2
  474. package/dist/chunks/publicNotificationStore.js +1 -1
  475. package/dist/chunks/queryUtils.js +1 -1
  476. package/dist/chunks/runtime.js +1 -1
  477. package/dist/chunks/solution-store.js +2 -2
  478. package/dist/chunks/templates.js +1 -1
  479. package/dist/chunks/useT9n.js +1 -1
  480. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  481. package/dist/components/basemap-gallery/customElement.js +1 -1
  482. package/dist/components/buffer-tools/customElement.js +1 -1
  483. package/dist/components/card-manager/customElement.js +1 -1
  484. package/dist/components/consent-manager/customElement.js +1 -1
  485. package/dist/components/create-feature/customElement.js +1 -1
  486. package/dist/components/create-related-feature/customElement.js +1 -1
  487. package/dist/components/crowdsource-manager/customElement.js +1 -1
  488. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  489. package/dist/components/deduct-calculator/customElement.js +1 -1
  490. package/dist/components/delete-button/customElement.js +1 -1
  491. package/dist/components/delete-dialog/customElement.js +1 -1
  492. package/dist/components/edit-card/customElement.js +1 -1
  493. package/dist/components/feature-details/customElement.js +1 -1
  494. package/dist/components/feature-list/customElement.js +1 -1
  495. package/dist/components/field-selection/customElement.js +1 -1
  496. package/dist/components/floor-filter/customElement.js +1 -1
  497. package/dist/components/info-card/customElement.js +1 -1
  498. package/dist/components/json-editor/customElement.js +1 -1
  499. package/dist/components/layer-list/customElement.js +1 -1
  500. package/dist/components/layer-table/customElement.js +1 -1
  501. package/dist/components/map-card/customElement.js +1 -1
  502. package/dist/components/map-draw-tools/customElement.js +1 -1
  503. package/dist/components/map-fullscreen/customElement.js +1 -1
  504. package/dist/components/map-layer-picker/customElement.js +1 -1
  505. package/dist/components/map-legend/customElement.js +1 -1
  506. package/dist/components/map-picker/customElement.js +1 -1
  507. package/dist/components/map-search/customElement.js +1 -1
  508. package/dist/components/map-select-tools/customElement.js +2 -2
  509. package/dist/components/map-tools/customElement.js +1 -1
  510. package/dist/components/pci-calculator/customElement.js +1 -1
  511. package/dist/components/pdf-download/customElement.js +1 -1
  512. package/dist/components/public-notification/customElement.js +2 -2
  513. package/dist/components/refine-selection/customElement.js +2 -2
  514. package/dist/components/selection-tool/customElement.js +1 -1
  515. package/dist/components/solution-article-card/customElement.js +1 -1
  516. package/dist/components/solution-configuration/customElement.js +1 -1
  517. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  518. package/dist/components/solution-configure-titles/customElement.js +1 -1
  519. package/dist/components/solution-contents/customElement.js +1 -1
  520. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  521. package/dist/components/solution-deploy-dialog/customElement.js +3 -3
  522. package/dist/components/solution-deployed-card/customElement.js +4 -4
  523. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  524. package/dist/components/solution-details-card/customElement.js +12 -12
  525. package/dist/components/solution-details-panel/customElement.js +2 -2
  526. package/dist/components/solution-item/customElement.js +1 -1
  527. package/dist/components/solution-item-accordion/customElement.js +1 -1
  528. package/dist/components/solution-item-details/customElement.js +1 -1
  529. package/dist/components/solution-item-diagram/customElement.js +1 -1
  530. package/dist/components/solution-item-icon/customElement.js +1 -1
  531. package/dist/components/solution-item-sharing/customElement.js +1 -1
  532. package/dist/components/solution-organization-variables/customElement.js +1 -1
  533. package/dist/components/solution-resource-item/customElement.js +2 -2
  534. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  535. package/dist/components/solution-social-share/customElement.js +1 -1
  536. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  537. package/dist/components/solution-template-data/customElement.js +1 -1
  538. package/dist/components/solution-variables/customElement.js +1 -1
  539. package/dist/components/solutions-all-panel/customElement.js +7 -6
  540. package/dist/components/solutions-all-shell/customElement.js +3 -3
  541. package/dist/components/solutions-article-panel/customElement.js +1 -1
  542. package/dist/components/solutions-articles/customElement.js +1 -1
  543. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  544. package/dist/components/solutions-deploy-app/customElement.d.ts +41 -2
  545. package/dist/components/solutions-deploy-app/customElement.js +65 -19
  546. package/dist/components/solutions-deploy-app/index.d.ts +0 -1
  547. package/dist/components/solutions-deploy-app/index.js +0 -1
  548. package/dist/components/solutions-deployed-panel/customElement.js +11 -10
  549. package/dist/components/solutions-deployed-shell/customElement.js +2 -2
  550. package/dist/components/solutions-filter-panel/customElement.js +2 -2
  551. package/dist/components/spatial-ref/customElement.js +1 -1
  552. package/dist/components/store-manager/customElement.js +1 -1
  553. package/dist/docs/api.json +215 -2
  554. package/dist/docs/docs.json +160 -3
  555. package/dist/docs/vscode.html-custom-data.json +48 -0
  556. package/dist/docs/web-types.json +81 -1
  557. package/dist/index.js +1 -1
  558. package/dist/loader.js +2 -2
  559. package/dist/types/lumina.d.ts +1 -1
  560. package/dist/types/preact.d.ts +1 -1
  561. package/dist/types/react.d.ts +1 -1
  562. package/dist/types/stencil.d.ts +1 -1
  563. package/dist/utils/Auth.d.ts +41 -35
  564. package/dist/utils/index.d.ts +1 -0
  565. package/package.json +6 -2
  566. package/dist/cdn/26CLO3IU.js +0 -18
  567. package/dist/cdn/4JYIR7VK.js +0 -4
  568. package/dist/cdn/4TZXG4B6.js +0 -18
  569. package/dist/cdn/7UDJQSSG.js +0 -18
  570. package/dist/cdn/7ZDSRBLM.js +0 -4
  571. package/dist/cdn/AQB6QLU7.js +0 -4
  572. package/dist/cdn/CYE3HIHR.js +0 -4
  573. package/dist/cdn/D3PM2TQY.js +0 -21
  574. package/dist/cdn/FYMOHUKA.js +0 -4
  575. package/dist/cdn/HIRTJIFT.js +0 -4
  576. package/dist/cdn/IDT52RO3.js +0 -4
  577. package/dist/cdn/JBMI3SYN.js +0 -4
  578. package/dist/cdn/KP4AVVHL.js +0 -4
  579. package/dist/cdn/QZ6O3RAM.js +0 -4
  580. package/dist/cdn/T4U7RKLJ.js +0 -4
  581. package/dist/cdn/VCK2MPDT.js +0 -4
  582. package/dist/cdn/WR4RJBA4.js +0 -18
  583. package/dist/cdn/X6F4DOFS.js +0 -18
  584. package/dist/cdn/Y3VN6KP4.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import"./J7FQVJB6.js";var e="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0645\u0627 \u064A\u0643\u0641\u064A \u0645\u0646 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A \u0644\u062A\u0646\u0641\u064A\u0630 \u0647\u0630\u0647 \u0627\u0644\u0639\u0645\u0644\u064A\u0629. \u0627\u062A\u0635\u0644 \u0628\u0645\u0633\u0624\u0648\u0644 \u0646\u0638\u0627\u0645 ArcGIS \u0644\u062F\u064A\u0643 \u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629.",a="\u062A\u0645 \u0646\u0634\u0631 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629 \u0645\u0646 \u062F\u0641\u062A\u0631 \u0645\u0644\u0627\u062D\u0638\u0627\u062A. \u062A\u0645 \u062D\u0638\u0631 \u0648\u0635\u0648\u0644 \u0645\u0624\u0633\u0633\u062A\u0643 \u0625\u0644\u0649 ArcGIS Notebooks. \u0627\u062A\u0635\u0644 \u0628\u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0644\u0636\u0628\u0637 \u0627\u0644\u0625\u0639\u062F\u0627\u062F.",r="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 ${ additionalProperty }.",t="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0637\u0627\u0628\u0642 ${ dataPath } \u0645\u0639 \u0645\u062E\u0637\u0637 \u0623\u062D\u062F \u0645\u0627 \u064A\u0644\u064A: ${ schemaOptions }.",o="\u062D\u0627\u0648\u0644 \u062D\u0641\u0638 \u0627\u0644\u062E\u0631\u064A\u0637\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",s="\u0641\u0634\u0644 \u062A\u0642\u064A\u064A\u0645 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644 \u060C \u0648\u0635\u062D\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621 \u060C \u0648\u0623\u0639\u062F \u062D\u0633\u0627\u0628 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A.",i="\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644.",l="\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${ dataPath } \u0645\u0633\u0627\u0648\u064A\u064B\u0627 \u0644\u0625\u062D\u062F\u0649 \u0627\u0644\u0642\u064A\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627: ${ allowedValues }",d="\u062A\u0639\u0630\u0631 \u062D\u0641\u0638 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644",n="\u0645\u062E\u0632\u0646 \u0627\u0644\u0633\u062C\u0644 \u0645\u0645\u062A\u0644\u0626. \u0627\u062D\u0630\u0641 \u0628\u0639\u0636 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0645\u0646 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0648\u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",c="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u062E\u062F\u0645\u0629 \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D.",m="\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621 \u0645\u0646 \u062D\u0641\u0638 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0639\u0644\u0645 \u0645\u0633\u062A\u0636\u0627\u0641\u0629.",u="\u0641\u0634\u0644 \u0641\u064A \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u062E\u0635\u0627\u0626\u0635 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",E="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0637\u0628\u0642\u0629.",h="\u0627\u0644\u0637\u0628\u0642\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629.",y="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0643\u062B\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",P="\u062D\u062F\u062B \u062E\u0637\u0623 \u0641\u064A \u0623\u062B\u0646\u0627\u0621 \u062D\u0641\u0638 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",p="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0642\u0644 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",S="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0643\u0648\u0646 ${ dataPath } \u0623\u0642\u0635\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u062D\u0631\u0648\u0641.",$="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0639\u0646\u0635\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062A\u0623\u0643\u062F \u0645\u0646 \u0648\u062C\u0648\u062F \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0648\u0645\u0646 \u0645\u0646\u062D \u0625\u0630\u0646 \u0627\u0644\u0648\u0635\u0648\u0644.",v="\u0641\u0634\u0644 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0637\u0644\u0628.",f="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0625\u0630\u0646 \u0644\u062A\u0634\u063A\u064A\u0644 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629. <calcite-link target='_blank' href='${ docLink }'>\u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646</calcite-link>",F="\u0641\u0634\u0644 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0628\u0648\u0627\u0628\u0629.",I="\u0641\u0634\u0644 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062F\u062E\u0644\u0629.",k="\u064A\u062A\u0641\u0642\u062F ${ dataPath } \u062E\u0627\u0635\u064A\u0629 \u0628\u0627\u0633\u0645 ${ missingProperty }.",T="\u062A\u0648\u062C\u062F \u0637\u0628\u0642\u0629 \u0646\u0627\u062A\u062C\u0629 \u0628\u0647\u0630\u0627 \u0627\u0644\u0627\u0633\u0645 \u0628\u0627\u0644\u0641\u0639\u0644. \u064A\u062C\u0628 \u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u0637\u0628\u0642\u0627\u062A \u0627\u0644\u0646\u0627\u062A\u062C\u0629 \u0628\u0634\u0643\u0644 \u0641\u0631\u064A\u062F \u0639\u0628\u0631 \u0627\u0644\u0645\u0624\u0633\u0633\u0629. \u064A\u0631\u062C\u0649 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0633\u0645 \u0645\u062E\u062A\u0644\u0641.",L="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u0625\u062E\u0631\u0627\u062C \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. <a href='${docLink}' target='_blank'>\u062A\u0639\u0631\u0651\u0641 \u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F.</a>",b="\u0641\u0634\u0644 \u0646\u0634\u0631 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0633\u062A\u0636\u0627\u0641\u0629 \u0628\u0633\u0628\u0628 \u0648\u062C\u0648\u062F \u062D\u0642\u0644 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D. \u0642\u0645 \u0628\u0625\u0639\u0627\u062F\u0629 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u062F\u0627\u0629 \u0644\u0625\u0646\u0634\u0627\u0621 \u0637\u0628\u0642\u0629 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u062D\u0642\u0648\u0644 \u0635\u0627\u0644\u062D\u0629.",N="\u0641\u0634\u0644 \u062A\u0642\u062F\u064A\u0645 \u0627\u0644\u0648\u0638\u064A\u0641\u0629. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644\u060C \u0648\u062A\u0635\u062D\u064A\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621\u060C \u0648\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",g="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0646 ${ dataPath } \u062D\u0631\u0641\u064B\u0627 \u0648\u0627\u062D\u062F\u064B\u0627 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 \u0644\u064A\u0633 \u0645\u0633\u0627\u0641\u0629 \u0628\u064A\u0636\u0627\u0621.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var e="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0645\u0627 \u064A\u0643\u0641\u064A \u0645\u0646 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A \u0644\u062A\u0646\u0641\u064A\u0630 \u0647\u0630\u0647 \u0627\u0644\u0639\u0645\u0644\u064A\u0629. \u0627\u062A\u0635\u0644 \u0628\u0645\u0633\u0624\u0648\u0644 \u0646\u0638\u0627\u0645 ArcGIS \u0644\u062F\u064A\u0643 \u0644\u0645\u0632\u064A\u062F \u0645\u0646 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u0629.",a="\u062A\u0645 \u0646\u0634\u0631 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629 \u0645\u0646 \u062F\u0641\u062A\u0631 \u0645\u0644\u0627\u062D\u0638\u0627\u062A. \u062A\u0645 \u062D\u0638\u0631 \u0648\u0635\u0648\u0644 \u0645\u0624\u0633\u0633\u062A\u0643 \u0625\u0644\u0649 ArcGIS Notebooks. \u0627\u062A\u0635\u0644 \u0628\u0627\u0644\u0645\u0633\u0624\u0648\u0644 \u0644\u0636\u0628\u0637 \u0627\u0644\u0625\u0639\u062F\u0627\u062F.",r="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 ${ additionalProperty }.",t="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0637\u0627\u0628\u0642 ${ dataPath } \u0645\u0639 \u0645\u062E\u0637\u0637 \u0623\u062D\u062F \u0645\u0627 \u064A\u0644\u064A: ${ schemaOptions }.",o="\u062D\u0627\u0648\u0644 \u062D\u0641\u0638 \u0627\u0644\u062E\u0631\u064A\u0637\u0629 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",s="\u0641\u0634\u0644 \u062A\u0642\u064A\u064A\u0645 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644 \u060C \u0648\u0635\u062D\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621 \u060C \u0648\u0623\u0639\u062F \u062D\u0633\u0627\u0628 \u0627\u0644\u0627\u0639\u062A\u0645\u0627\u062F\u0627\u062A.",i="\u062D\u062F\u062B \u062E\u0637\u0623 \u0623\u062B\u0646\u0627\u0621 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644.",l="\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${ dataPath } \u0645\u0633\u0627\u0648\u064A\u064B\u0627 \u0644\u0625\u062D\u062F\u0649 \u0627\u0644\u0642\u064A\u0645 \u0647\u0630\u0647 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627: ${ allowedValues }",d="\u062A\u0639\u0630\u0631 \u062D\u0641\u0638 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644",n="\u0645\u062E\u0632\u0646 \u0627\u0644\u0633\u062C\u0644 \u0645\u0645\u062A\u0644\u0626. \u0627\u062D\u0630\u0641 \u0628\u0639\u0636 \u0627\u0644\u0639\u0646\u0627\u0635\u0631 \u0645\u0646 \u0633\u062C\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0648\u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",c="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u062E\u062F\u0645\u0629 \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D.",m="\u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621 \u0645\u0646 \u062D\u0641\u0638 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0639\u0644\u0645 \u0645\u0633\u062A\u0636\u0627\u0641\u0629.",u="\u0641\u0634\u0644 \u0641\u064A \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u062E\u0635\u0627\u0626\u0635 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.",E="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0637\u0628\u0642\u0629.",h="\u0627\u0644\u0637\u0628\u0642\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629.",y="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0643\u062B\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",P="\u062D\u062F\u062B \u062E\u0637\u0623 \u0641\u064A \u0623\u062B\u0646\u0627\u0621 \u062D\u0641\u0638 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062D\u0627\u0648\u0644 \u0627\u0644\u062D\u0641\u0638 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",p="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u062D\u062A\u0648\u064A ${ dataPath } \u0639\u0644\u0649 \u0623\u0642\u0644 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u0639\u0646\u0627\u0635\u0631.",S="\u064A\u062C\u0628 \u0623\u0644\u0627 \u064A\u0643\u0648\u0646 ${ dataPath } \u0623\u0642\u0635\u0631 \u0645\u0646 ${ limit } \u0645\u0646 \u0627\u0644\u062D\u0631\u0648\u0641.",$="\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0639\u0646\u0635\u0631 \u0627\u0644\u0646\u0645\u0648\u0630\u062C. \u062A\u0623\u0643\u062F \u0645\u0646 \u0648\u062C\u0648\u062F \u0627\u0644\u0646\u0645\u0648\u0630\u062C \u0648\u0645\u0646 \u0645\u0646\u062D \u0625\u0630\u0646 \u0627\u0644\u0648\u0635\u0648\u0644.",v="\u0641\u0634\u0644 \u0625\u0643\u0645\u0627\u0644 \u0627\u0644\u0637\u0644\u0628.",f="\u0644\u064A\u0633 \u0644\u062F\u064A\u0643 \u0625\u0630\u0646 \u0644\u062A\u0634\u063A\u064A\u0644 \u0647\u0630\u0647 \u0627\u0644\u0623\u062F\u0627\u0629. <calcite-link target='_blank' href='${ docLink }'>\u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F \u0639\u0646</calcite-link>",F="\u0641\u0634\u0644 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644 \u0625\u0644\u0649 \u0627\u0644\u0628\u0648\u0627\u0628\u0629.",I="\u0641\u0634\u0644 \u0642\u0631\u0627\u0621\u0629 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062F\u062E\u0644\u0629.",k="\u064A\u062A\u0641\u0642\u062F ${ dataPath } \u062E\u0627\u0635\u064A\u0629 \u0628\u0627\u0633\u0645 ${ missingProperty }.",T="\u062A\u0648\u062C\u062F \u0637\u0628\u0642\u0629 \u0646\u0627\u062A\u062C\u0629 \u0628\u0647\u0630\u0627 \u0627\u0644\u0627\u0633\u0645 \u0628\u0627\u0644\u0641\u0639\u0644. \u064A\u062C\u0628 \u062A\u0633\u0645\u064A\u0629 \u0627\u0644\u0637\u0628\u0642\u0627\u062A \u0627\u0644\u0646\u0627\u062A\u062C\u0629 \u0628\u0634\u0643\u0644 \u0641\u0631\u064A\u062F \u0639\u0628\u0631 \u0627\u0644\u0645\u0624\u0633\u0633\u0629. \u064A\u0631\u062C\u0649 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0633\u0645 \u0645\u062E\u062A\u0644\u0641.",L="\u064A\u062D\u062A\u0648\u064A \u0627\u0633\u0645 \u0627\u0644\u0625\u062E\u0631\u0627\u062C \u0639\u0644\u0649 \u062D\u0631\u0641 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u0627\u0644\u062D. <a href='${docLink}' target='_blank'>\u062A\u0639\u0631\u0651\u0641 \u0639\u0644\u0649 \u0627\u0644\u0645\u0632\u064A\u062F.</a>",b="\u0641\u0634\u0644 \u0646\u0634\u0631 \u0627\u0644\u0637\u0628\u0642\u0629 \u0627\u0644\u0645\u0624\u0642\u062A\u0629 \u0643\u0637\u0628\u0642\u0629 \u0645\u0633\u062A\u0636\u0627\u0641\u0629 \u0628\u0633\u0628\u0628 \u0648\u062C\u0648\u062F \u062D\u0642\u0644 \u0648\u0627\u062D\u062F \u0623\u0648 \u0623\u0643\u062B\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D. \u0642\u0645 \u0628\u0625\u0639\u0627\u062F\u0629 \u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u0623\u062F\u0627\u0629 \u0644\u0625\u0646\u0634\u0627\u0621 \u0637\u0628\u0642\u0629 \u0628\u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u062D\u0642\u0648\u0644 \u0635\u0627\u0644\u062D\u0629.",N="\u0641\u0634\u0644 \u062A\u0642\u062F\u064A\u0645 \u0627\u0644\u0648\u0638\u064A\u0641\u0629. \u0642\u0645 \u0628\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0623\u0633\u0641\u0644\u060C \u0648\u062A\u0635\u062D\u064A\u062D \u0627\u0644\u0623\u062E\u0637\u0627\u0621\u060C \u0648\u062A\u0634\u063A\u064A\u0644 \u0627\u0644\u062A\u062D\u0644\u064A\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",g="\u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0646 ${ dataPath } \u062D\u0631\u0641\u064B\u0627 \u0648\u0627\u062D\u062F\u064B\u0627 \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 \u0644\u064A\u0633 \u0645\u0633\u0627\u0641\u0629 \u0628\u064A\u0636\u0627\u0621.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import e from"./6IVR6RFE.js";import b from"./TQ4TWST5.js";import"./HAAQ4OMM.js";import a from"./R5SQAHFB.js";import{a as c}from"./FUJ75QV7.js";import{a as v}from"./T4PUB3CF.js";import{c as f,t as w,u,y,z as L}from"./CVH6H46Y.js";import{b as p}from"./DJZQ2UHK.js";import"./F7PGOPSH.js";import"./4U3SUMGG.js";import{C as d,D as m,E as g,G as o,h as l,i as r}from"./VLNSPHER.js";import"./J7FQVJB6.js";export default $arcgis.t(([,{b:C},{t:_}])=>{var I=l`:host{display:block;height:100%}:host .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},h=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=d(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await f(),this.reactiveUtils=e,this.widget=await y({});let t=await w({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},i=await u(a);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}render(){let{base:e,component:t,widget:s,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,s,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(_(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${m(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,a=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};p("instant-apps-interactive-legend",h);return h},a,b,e)
3
+ v1.1.0-next.20250828 */
4
+ import e from"./P6SZMVOM.js";import b from"./N2ZRCOK7.js";import"./T55VBYN6.js";import a from"./2EUXOCEX.js";import{a as c}from"./FJKV655N.js";import{a as v}from"./DL6W2BEO.js";import{c as f,t as w,u,y,z as L}from"./Y6I2OVEZ.js";import{b as p}from"./ZMOFCR7O.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{C as d,D as m,E as g,G as o,h as l,i as r}from"./44GZVSVC.js";import"./7QBAKAAP.js";export default $arcgis.t(([,{b:C},{t:_}])=>{var I=l`:host{display:block;height:100%}:host .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},h=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=d(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await f(),this.reactiveUtils=e,this.widget=await y({});let t=await w({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},i=await u(a);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}render(){let{base:e,component:t,widget:s,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,s,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(_(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${m(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,a=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};p("instant-apps-interactive-legend",h);return h},a,b,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import{a as F}from"./D7TNTA4L.js";import{a as Y}from"./SDULPVKZ.js";import{a as w}from"./WUC4ZKFM.js";import{a as J}from"./4UOPGK7V.js";import{a as W,b as H}from"./FLAGXSCM.js";import{b as h,c as E}from"./MK5JBDSR.js";import"./NWXCHS6Q.js";import{d as N,g as B,h as V,i as X}from"./N2RLGUSU.js";import{m as u,p as T}from"./RQIY3KON.js";import"./DVICAV4Y.js";import"./R4LSNDGB.js";import{b as S,d as C,f as R}from"./TWFVFZ5A.js";import"./NCP2W4A2.js";import{i as j}from"./GK2JF7J5.js";import"./LMKE6DCZ.js";import{a as m,c as M,e as P,i as l}from"./T7G22PFN.js";import"./VY6VFMKB.js";import"./OCWKEWRW.js";import"./47CZQEZ4.js";import{a as A,b as O}from"./MPXUH2HB.js";import{s as L}from"./6UEKGAEF.js";import"./W6GVGNNW.js";import"./MAPY2R5O.js";import{a as f}from"./DHKJKQHC.js";import"./IZCQX2ZL.js";import"./YIE2HZUW.js";import{b as g}from"./A6DYZUSD.js";import"./J7FQVJB6.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
3
+ v1.1.0-next.20250828 */
4
+ import{a as F}from"./GMWAFSXG.js";import{a as Y}from"./3UUSTTNP.js";import{a as w}from"./NABMSVZR.js";import{a as J}from"./4U7FWGAN.js";import{a as W,b as H}from"./2MVD3YNU.js";import{b as h,c as E}from"./WJIXMYFO.js";import"./NY54SXCT.js";import{d as N,g as B,h as V,i as X}from"./AEDCRS34.js";import{m as u,p as T}from"./J25AGF6Z.js";import"./MXDEBIVV.js";import"./XLGWWA5S.js";import{b as S,d as C,f as R}from"./3BTPCUS2.js";import"./5JMXLP5R.js";import{i as j}from"./772C34UX.js";import"./IZK32GOX.js";import{a as m,c as M,e as P,i as l}from"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import"./YMV43UIC.js";import"./UTHLY33U.js";import{a as A,b as O}from"./2WRYPENH.js";import{s as L}from"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./EYLJVJDM.js";import{a as f}from"./5IV4O7PP.js";import"./KDOGXG5T.js";import"./775D3UWY.js";import{b as g}from"./JX645F5Z.js";import"./7QBAKAAP.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250828 */
4
+ import{a as O}from"./UXVRTL47.js";import{e as _}from"./3BTPCUS2.js";import{a as l,f as p}from"./ZXJDQSSJ.js";import"./KDOGXG5T.js";import"./7QBAKAAP.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./UIDRKO4P.js"),m={"hub:card:stat":()=>import("./OUBJ5ZGX.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./Z43BYGVU.js"),m={"hub:card:follow":()=>import("./Y4VA7U7D.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./TXGULLSL.js"),m=import("./ULRMOIIF.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./W5EAS3XP.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./7DM4YSPQ.js"),"hub:site:create":()=>import("./HNRINH4M.js"),"hub:site:followers":()=>import("./H3RJWJ6R.js"),"hub:site:discussions":()=>import("./V73GHOGW.js"),"hub:site:settings":()=>import("./CUXGTYWR.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./TEAJPJG5.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./466YND5P.js"),"hub:discussion:create":()=>import("./YGSA5NVJ.js"),"hub:discussion:settings":()=>import("./JTOJXBPA.js"),"hub:discussion:settings:discussions":()=>import("./XFYRPLUH.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./T73KSKS2.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./WXKKGXWR.js"),"hub:channel:create":()=>import("./25HUIZA4.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./DJ7D6QIV.js");r=l(n);let v=await{"hub:project:edit":()=>import("./WY4ONAAF.js"),"hub:project:create":()=>import("./KDKNZUGD.js"),"hub:project:create2":()=>import("./KNZIJGNE.js"),"hub:project:metrics":()=>import("./2XFGTOP6.js"),"hub:project:settings":()=>import("./GCD5SMQJ.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./QBUJFNVI.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./EWDEQPK7.js"),"hub:initiative:create":()=>import("./HWZKM5WI.js"),"hub:initiative:create2":()=>import("./4SQ4NCJE.js"),"hub:initiative:metrics":()=>import("./BCHKYHQE.js"),"hub:initiative:associations":()=>import("./EEOFZ5EC.js"),"hub:initiative:settings":()=>import("./LG76ITDM.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./EMFC7JJF.js");r=l(I);let D=await{"hub:page:edit":()=>import("./7B3VVFHV.js"),"hub:page:create":()=>import("./MPOH52ZT.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./5HVMUH4B.js");r=l(K);let U=await{"hub:content:edit":()=>import("./QZOYPBOO.js"),"hub:content:discussions":()=>import("./T3AWLN26.js"),"hub:content:settings":()=>import("./DWZIABEQ.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./27VLTU5A.js");r=l(y);let k=await{"hub:template:edit":()=>import("./BJMZ6V7L.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./JH3TW34C.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./DOWDGUKX.js"),"hub:group:create:association":()=>import("./NE4VEZO4.js"),"hub:group:create:view":()=>import("./KO2D2ZR7.js"),"hub:group:create:edit":()=>import("./5C4PTSCP.js"),"hub:group:create":()=>import("./VQ62QZQU.js"),"hub:group:edit":()=>import("./EH5OXTTD.js"),"hub:group:settings":()=>import("./EIHE5YP2.js"),"hub:group:discussions":()=>import("./ZTNDRVXH.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./MSFATVQR.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./FWTK4SPE.js"),"hub:survey:settings":()=>import("./TD7V4IMR.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./KLDKDJBR.js"),"hub:event:edit":()=>import("./AKF64ZKG.js"),"hub:event:registrants":()=>import("./YV35CSEF.js")}[a](),H=await{"hub:event:create":()=>import("./PXTM3BXQ.js"),"hub:event:edit":()=>import("./IVUZ3MTL.js"),"hub:event:registrants":()=>import("./EKWS4PP6.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./6QFD3CIJ.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./R5BBJHNK.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./GNAFPT4K.js");r=l(N);let P=await{"hub:user:settings":()=>import("./BTOD6L6H.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import{a as k}from"./R6FBI25Z.js";import"./ACH5WCXR.js";import{g as s}from"./HIRTJIFT.js";import{b as y}from"./X2FC55H5.js";import{a as w}from"./NLGBEHMQ.js";import"./F7PGOPSH.js";import"./4U3SUMGG.js";import{b as m}from"./3RZ4B4KW.js";import{C as n,D as p,E as g,G as o,h as c,i as l,o as a,r as d}from"./VLNSPHER.js";import"./J7FQVJB6.js";var _=c`@layer{/** @license
3
+ v1.1.0-next.20250828 */
4
+ import{a as k}from"./3574ZP6N.js";import"./A3XRWJOX.js";import{g as s}from"./TXOSZQCS.js";import{b as y}from"./5HEHRHFZ.js";import{a as w}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as m}from"./WQFHL3SI.js";import{C as n,D as p,E as g,G as o,h as c,i as l,o as a,r as d}from"./44GZVSVC.js";import"./7QBAKAAP.js";var _=c`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import{a as s}from"./IRHYGPNW.js";import"./GK2JF7J5.js";import"./LMKE6DCZ.js";import"./T7G22PFN.js";import"./VY6VFMKB.js";import{a as r,b as a}from"./GOOM7OII.js";import"./OCWKEWRW.js";import"./47CZQEZ4.js";import"./MPXUH2HB.js";import{a as o}from"./D4PCQURF.js";import{a as i}from"./SM27LL5D.js";import"./6UEKGAEF.js";import"./W6GVGNNW.js";import"./MAPY2R5O.js";import"./DHKJKQHC.js";import"./IZCQX2ZL.js";import"./SK5D7WST.js";import"./O5HI3WPM.js";import"./YIE2HZUW.js";import"./VWS4G2XX.js";import"./KYNPDGNS.js";import"./XNS4IYPZ.js";import"./NCK5QFHW.js";import"./3FQQL7WD.js";import"./D3Y3OOI4.js";import"./NZXXKGRK.js";import"./FVSTGESG.js";import"./2ISWZ7ES.js";import"./AKRCONMH.js";import"./54R5LUQH.js";import"./JZ47PARH.js";import"./KBYC5Z55.js";import"./BCWK7F55.js";import"./2GB35O3F.js";import"./MD3ZUMOY.js";import"./VTEBUNUA.js";import"./NORFBSBW.js";import"./A6DYZUSD.js";import"./Y5MZCCVE.js";import"./J7FQVJB6.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
3
+ v1.1.0-next.20250828 */
4
+ import{a as s}from"./V6PJP4IP.js";import"./772C34UX.js";import"./IZK32GOX.js";import"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import{a as r,b as a}from"./WGBZF2SU.js";import"./YMV43UIC.js";import"./UTHLY33U.js";import"./2WRYPENH.js";import{a as o}from"./6GOYQXOO.js";import{a as i}from"./EXCHA4EE.js";import"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./EYLJVJDM.js";import"./5IV4O7PP.js";import"./KDOGXG5T.js";import"./O6G7FUHP.js";import"./BSFFEDDB.js";import"./775D3UWY.js";import"./4VKRNNLU.js";import"./SRC6UU36.js";import"./HHXJHZWU.js";import"./QY5XBNSA.js";import"./PVZWDJJN.js";import"./T4WHSUWN.js";import"./FD7W2RAW.js";import"./EM63FLQD.js";import"./VXWEWJTC.js";import"./FDADQCSD.js";import"./3NGSKAVB.js";import"./DDK5IIMB.js";import"./EOFV6GEH.js";import"./I32NMVY7.js";import"./AM2P5WWJ.js";import"./P7TNHA6I.js";import"./SJC3IN6H.js";import"./BY52IW4J.js";import"./JX645F5Z.js";import"./4JQO2KRL.js";import"./7QBAKAAP.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"survey",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import c from"./6IVR6RFE.js";import b from"./TQ4TWST5.js";import"./HAAQ4OMM.js";import a from"./R5SQAHFB.js";import{a as m}from"./FUJ75QV7.js";import"./CVH6H46Y.js";import{b as h}from"./DJZQ2UHK.js";import"./4U3SUMGG.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./VLNSPHER.js";import"./J7FQVJB6.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
3
+ v1.1.0-next.20250828 */
4
+ import c from"./P6SZMVOM.js";import b from"./N2ZRCOK7.js";import"./T55VBYN6.js";import a from"./2EUXOCEX.js";import{a as m}from"./FJKV655N.js";import"./Y6I2OVEZ.js";import{b as h}from"./ZMOFCR7O.js";import"./CMHM4AU3.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./44GZVSVC.js";import"./7QBAKAAP.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import c from"./6IVR6RFE.js";import b from"./TQ4TWST5.js";import"./HAAQ4OMM.js";import a from"./R5SQAHFB.js";import{a as K}from"./FUJ75QV7.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./CVH6H46Y.js";import{b as Se}from"./DJZQ2UHK.js";import"./4U3SUMGG.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./VLNSPHER.js";import{b as st,d as lt}from"./J7FQVJB6.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
3
+ v1.1.0-next.20250828 */
4
+ import c from"./P6SZMVOM.js";import b from"./N2ZRCOK7.js";import"./T55VBYN6.js";import a from"./2EUXOCEX.js";import{a as K}from"./FJKV655N.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./Y6I2OVEZ.js";import{b as Se}from"./ZMOFCR7O.js";import"./CMHM4AU3.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./44GZVSVC.js";import{b as st,d as lt}from"./7QBAKAAP.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import"./J7FQVJB6.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250828 */
4
+ import a from"./4L5D4PU4.js";import{b as v}from"./6ZSIJXTF.js";import{a as l,c as y,d as b,e as m}from"./JVKCIYQC.js";import"./O2Y336VP.js";import"./UXVRTL47.js";import"./3UUSTTNP.js";import"./AEDCRS34.js";import"./J25AGF6Z.js";import"./MXDEBIVV.js";import"./XLGWWA5S.js";import"./3BTPCUS2.js";import"./772C34UX.js";import"./IZK32GOX.js";import"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import"./UTHLY33U.js";import"./2WRYPENH.js";import"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./EYLJVJDM.js";import"./5IV4O7PP.js";import"./KDOGXG5T.js";import"./775D3UWY.js";import{a as g}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as f}from"./WQFHL3SI.js";import{C as d,D as p,E as h,H as o,I as u,h as c,i,o as n}from"./44GZVSVC.js";import"./7QBAKAAP.js";export default $arcgis.t(([_])=>{var x=c`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-shell-panel{z-index:1}.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-3);--calcite-panel-border-color: none;--calcite-z-index-header: 0}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:1rem}.header-button-padding{padding-top:.5rem;padding-bottom:.5rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start{padding-inline-start:1rem}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-2{z-index:2}@media (max-width: 800px){.filter{display:none}.filter-button{display:block;position:absolute;top:.5rem;left:.5rem;z-index:999}}@media (min-width: 800px){.filter-button{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}`,r=class extends h{constructor(){super(),this.authentication=void 0,this.solutionsCount=0,this.sortType="created",this.useLocalAppConfig=!1,this.filterOpen=!0,this.filters=[],this.isMobile=!1,this._translations=g({name:"solutions-deployed-shell",blocking:!0}),this._solutionsDeployedPanelRef=d(),this._authContextProvider=l({context:m}),this._isMobileContextProvider=l({context:b}),this._userSessionContextProvider=l({context:y}),this.filterRemoved=n(),this.tokenRefreshed=n(),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,authentication:0,solutionsCount:9,sortType:1,useLocalAppConfig:5,filterOpen:16,filters:16,isMobile:16,_translations:16}}static{this.styles=x}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=v),this.authentication||(console.log("auth not provided in solutions-deployed-shell...loading from app config"),this.authentication=new _(this.appConfig.appId,this.appConfig.portalURL,this.appConfig.locale),await this.authentication.initialize(),this.authentication.IsSignedIn||this.authentication.signIn()),this._authContextProvider.setValue(this.authentication),this.authentication.RestUserSession&&this._userSessionContextProvider.setValue(this.authentication.RestUserSession),this._setRefreshInterval()}_mediaQueryChange(e){this.isMobile=e.matches,this._isMobileContextProvider.setValue(this.isMobile)}render(){let e=this.filterOpen?"chevron-left":"chevron-right",t=this.isMobile?"justify-content-end":"";return i`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<calcite-button appearance=outline-fill class="filter-button mock-fab z-index-2" icon-start=${e} kind=neutral @click=${this._toggleFilter} scale=m></calcite-button><calcite-panel class="border-override header-override background-override"><div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-label class="label-override">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}</div><div slot=header-actions-end>${this._renderDropdown()}</div>${this.isMobile&&this.filterOpen&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?i`<calcite-panel class="filter background-override" id=solutions-all-shell-panel-start style=${o(e)}><solutions-filter-panel class="height-100" @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel>`:i`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start slot=panel-start style=${o(e)} position=start><calcite-panel><solutions-filter-panel class="height-100" @applyFilter=${this._filterApplied}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return i`<solutions-deployed-panel .agoSolutionsGroupId=${this.appConfig.primarySolutionsGroupId} .enterpriseSolutionsGroupId=${this.appConfig.agoBasedEnterpriseSolutionsGroupId} .locale=${this.appConfig.locale||"en"} .orgUrl=${this.appConfig.portalURL} @deployedCardsFetched=${this._updateSolutionCount} .portalUrl=${this.appConfig.portalURL} .sortType=${this.sortType} style=${o(e)} ${p(this._solutionsDeployedPanelRef)}></solutions-deployed-panel>`}_renderChips(){return this.filters.length>0?this.filters.map(e=>i`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${e.displayValue} @calciteChipClose=${()=>this._chipClosed(e.displayValue)} .value=${e.displayValue}>${e.displayValue}</calcite-chip>`):void 0}_renderDropdown(){let e=[{displayValue:this._translations.sortByRelevance,sortType:"relevance"},{displayValue:this._translations.sortByTitle,sortType:"title"},{displayValue:this._translations.sortByDateDeployed,sortType:"created"}];return i`<calcite-dropdown width=m><calcite-button appearance=outline-fill class="header-button-padding" icon-start=sort-descending kind=neutral slot=trigger>${this.isMobile?"":this._getString(this.sortType)}</calcite-button><calcite-dropdown-group group-title=${this._translations.chooseSortType??u}>${e.map(t=>this._getDropdownItem(t.displayValue,t.sortType))}</calcite-dropdown-group></calcite-dropdown>`}_getDropdownItem(e,t){return this.sortType!==t?i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)}>${e}</calcite-dropdown-item>`:i`<calcite-dropdown-item @click=${()=>this._sortChanged(t)} selected>${e}</calcite-dropdown-item>`}_getString(e){let t="";switch(e){case"created":t=this._translations.sortByDateDeployed;break;case"relevance":t=this._translations.sortByRelevance;break;case"title":t=this._translations.sortByTitle;break}return t}_updateSolutionCount(e){this.solutionsCount=e.detail}_sortChanged(e){this.sortType=e,this._solutionsDeployedPanelRef.value?.searchSolutions({sortType:e})}_chipClosed(e){let t=this.filters.filter(s=>s.displayValue===e);this.filters=this.filters.filter(s=>s.displayValue!==e),this._solutionsDeployedPanelRef.value?.searchSolutions(),t.length>0&&this.filterRemoved.emit(t[0])}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){e.detail?("displayValue"in e.detail&&"type"in e.detail&&e.detail.type==="industry"&&(this.filters=this.filters.filter(t=>t.type!=="industry"),this.filters.push(e.detail)),this._solutionsDeployedPanelRef.value?.searchSolutions(e.detail)):(this.filters=[],this._solutionsDeployedPanelRef.value?.searchSolutions())}_setRefreshInterval(){let e=this._userSessionContextProvider.value,t=this._authContextProvider.value;if(e&&t){let s=(e.tokenExpires?.getTime()-Date.now())*.9;setInterval(async()=>{let a=await t?.refreshSession();if(a){this._userSessionContextProvider.setValue(a);let C=a?.token??"";this.tokenRefreshed.emit(C)}},s)}}};f("solutions-deployed-shell",r);return r},a)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import{a as v}from"./Z5ZS3BAR.js";import"./UJD6ES2E.js";import"./EA2XVZEK.js";import"./V6IL55PQ.js";import"./SDULPVKZ.js";import"./N2RLGUSU.js";import"./RQIY3KON.js";import"./DVICAV4Y.js";import"./R4LSNDGB.js";import"./TWFVFZ5A.js";import"./GK2JF7J5.js";import"./LMKE6DCZ.js";import"./T7G22PFN.js";import"./VY6VFMKB.js";import"./47CZQEZ4.js";import"./MPXUH2HB.js";import"./6UEKGAEF.js";import"./W6GVGNNW.js";import"./MAPY2R5O.js";import"./DHKJKQHC.js";import"./IZCQX2ZL.js";import"./YIE2HZUW.js";import"./RV2Z6O5O.js";import"./242G4FIK.js";import"./CIIFANWW.js";import{b}from"./X2FC55H5.js";import{a as m}from"./NLGBEHMQ.js";import"./F7PGOPSH.js";import"./4U3SUMGG.js";import{b as w}from"./3RZ4B4KW.js";import{E as g,G as i,H as f,h as p,i as s,l as u,o,r as _}from"./VLNSPHER.js";import"./J7FQVJB6.js";var E=p`@layer{/** @license
3
+ v1.1.0-next.20250828 */
4
+ import{a as v}from"./HDO7HWGX.js";import"./W3PGRKME.js";import"./O2Y336VP.js";import"./UXVRTL47.js";import"./3UUSTTNP.js";import"./AEDCRS34.js";import"./J25AGF6Z.js";import"./MXDEBIVV.js";import"./XLGWWA5S.js";import"./3BTPCUS2.js";import"./772C34UX.js";import"./IZK32GOX.js";import"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import"./UTHLY33U.js";import"./2WRYPENH.js";import"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./EYLJVJDM.js";import"./5IV4O7PP.js";import"./KDOGXG5T.js";import"./775D3UWY.js";import"./HE2ALR27.js";import"./AQ4E6Z6L.js";import"./HFDCGIRQ.js";import{b}from"./5HEHRHFZ.js";import{a as m}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as w}from"./WQFHL3SI.js";import{E as g,G as i,H as f,h as p,i as s,l as u,o,r as _}from"./44GZVSVC.js";import"./7QBAKAAP.js";var E=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import"./J7FQVJB6.js";var e="Du har ikke nok credits til \xE5 utf\xF8re denne operasjonen. Kontakt ArcGIS-systemadministratoren for \xE5 f\xE5 hjelp.",r="Dette verkt\xF8yet ble publisert fra en notisbok. Tilgang til ArcGIS Notebooks er blokkert for din organisasjon. Kontakt administratoren din for \xE5 justere innstillingen.",t="${ dataPath } kan ikke ha ${ additionalProperty }.",a="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",n="Pr\xF8v \xE5 lagre kartet p\xE5 nytt.",i="Creditestimering mislyktes. Rull nedover, korriger feilene, og estimer creditene p\xE5 nytt.",l="Det oppstod en feil under kj\xF8ring av analysen.",o="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",s="Kunne ikke lagre analysehistorikken",d="Historikklageret er fullt. Fjern noen elementer fra analysehistorikken og pr\xF8ve \xE5 lagre p\xE5 nytt.",k="Tjenestenavnet inneholder ett eller flere ugyldige tegn.",g="Lagringen av det midlertidige laget som et hostet geoobjektlag ble ikke fullf\xF8rt.",m="Kan ikke hente n\xF8kkelegenskaper.",u="Kan ikke laste inn laget.",f="Laget er ikke tilgjengelig.",c="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",p="Det oppstod en feil under lagring av modellen. Pr\xF8v \xE5 lagre p\xE5 nytt.",y="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",v="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",h="Kan ikke laste inn modellelementet. S\xF8rg for at modellen eksisterer og at tilgangstillatelser er gitt.",E="Kan ikke fullf\xF8re foresp\xF8rselen.",P="Du har ikke tilgang til \xE5 kj\xF8re dette verkt\xF8yet. <calcite-link target='_blank' href='${ docLink }'>Mer informasjon</calcite-link>",S="Kan ikke logge inn p\xE5 portalen.",b="Kan ikke lese inndata.",$="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",j="Det finnes allerede et resultatlag med dette navnet. Navn p\xE5 resultatlag m\xE5 v\xE6re unike innenfor organisasjonen. Bruk en annen tittel.",F="Utdatanavnet inneholder ett eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>L\xE6r mer.</a>",I="Publiseringen av det midlertidige laget som et hostet lag mislyktes p\xE5 grunn av ett eller flere ugyldige felter. Kj\xF8r verkt\xF8yet p\xE5 nytt for \xE5 opprette et lag med gyldige felter.",T="Jobbinnsendingen mislyktes. Rull nedover, korriger feilene, og kj\xF8r analysen p\xE5 nytt.",L="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:t,anyOfValues:a,cannotWriteToItemResource:n,creditEstimationError:i,defaultError:l,enumValues:o,failedToSaveHistory:s,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:p,minItems:y,minLength:v,modelNotFound:h,networkError:E,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:b,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:L};export{e as InsufficientCreditsError,r as accessBlocked,t as additionalProperty,a as anyOfValues,n as cannotWriteToItemResource,i as creditEstimationError,K as default,l as defaultError,o as enumValues,s as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,p as mbFailedToSave,y as minItems,v as minLength,h as modelNotFound,E as networkError,P as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var e="Du har ikke nok credits til \xE5 utf\xF8re denne operasjonen. Kontakt ArcGIS-systemadministratoren for \xE5 f\xE5 hjelp.",r="Dette verkt\xF8yet ble publisert fra en notisbok. Tilgang til ArcGIS Notebooks er blokkert for din organisasjon. Kontakt administratoren din for \xE5 justere innstillingen.",t="${ dataPath } kan ikke ha ${ additionalProperty }.",a="${ dataPath } m\xE5 samsvare med skjemaet for \xE9n av f\xF8lgende: ${ schemaOptions }.",n="Pr\xF8v \xE5 lagre kartet p\xE5 nytt.",i="Creditestimering mislyktes. Rull nedover, korriger feilene, og estimer creditene p\xE5 nytt.",l="Det oppstod en feil under kj\xF8ring av analysen.",o="${ dataPath } m\xE5 v\xE6re lik \xE9n av f\xF8lgende tillatte verdier: ${ allowedValues }.",s="Kunne ikke lagre analysehistorikken",d="Historikklageret er fullt. Fjern noen elementer fra analysehistorikken og pr\xF8ve \xE5 lagre p\xE5 nytt.",k="Tjenestenavnet inneholder ett eller flere ugyldige tegn.",g="Lagringen av det midlertidige laget som et hostet geoobjektlag ble ikke fullf\xF8rt.",m="Kan ikke hente n\xF8kkelegenskaper.",u="Kan ikke laste inn laget.",f="Laget er ikke tilgjengelig.",c="${ limit } kan ikke inneholde flere enn ${ dataPath } elementer.",p="Det oppstod en feil under lagring av modellen. Pr\xF8v \xE5 lagre p\xE5 nytt.",y="${ dataPath } kan ikke inneholde f\xE6rre enn ${ limit } elementer.",v="${ dataPath } m\xE5 ikke v\xE6re kortere enn ${ limit } tegn.",h="Kan ikke laste inn modellelementet. S\xF8rg for at modellen eksisterer og at tilgangstillatelser er gitt.",E="Kan ikke fullf\xF8re foresp\xF8rselen.",P="Du har ikke tilgang til \xE5 kj\xF8re dette verkt\xF8yet. <calcite-link target='_blank' href='${ docLink }'>Mer informasjon</calcite-link>",S="Kan ikke logge inn p\xE5 portalen.",b="Kan ikke lese inndata.",$="${ dataPath } mangler en egenskap ved navn ${ missingProperty }.",j="Det finnes allerede et resultatlag med dette navnet. Navn p\xE5 resultatlag m\xE5 v\xE6re unike innenfor organisasjonen. Bruk en annen tittel.",F="Utdatanavnet inneholder ett eller flere ugyldige tegn. <a href='${docLink}' target='_blank'>L\xE6r mer.</a>",I="Publiseringen av det midlertidige laget som et hostet lag mislyktes p\xE5 grunn av ett eller flere ugyldige felter. Kj\xF8r verkt\xF8yet p\xE5 nytt for \xE5 opprette et lag med gyldige felter.",T="Jobbinnsendingen mislyktes. Rull nedover, korriger feilene, og kj\xF8r analysen p\xE5 nytt.",L="${ dataPath } m\xE5 inneholde minst ett tegn som ikke er mellomrom.",K={InsufficientCreditsError:e,accessBlocked:r,additionalProperty:t,anyOfValues:a,cannotWriteToItemResource:n,creditEstimationError:i,defaultError:l,enumValues:o,failedToSaveHistory:s,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:g,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:f,maxItems:c,mbFailedToSave:p,minItems:y,minLength:v,modelNotFound:h,networkError:E,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:b,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:L};export{e as InsufficientCreditsError,r as accessBlocked,t as additionalProperty,a as anyOfValues,n as cannotWriteToItemResource,i as creditEstimationError,K as default,l as defaultError,o as enumValues,s as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,g as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,f as layerUnavailable,c as maxItems,p as mbFailedToSave,y as minItems,v as minLength,h as modelNotFound,E as networkError,P as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,L as whiteSpacePattern};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250828 */
4
+ import{a as u}from"./MUMAAFU6.js";import{b as l,c as p,e as m}from"./JVKCIYQC.js";import"./O2Y336VP.js";import"./UXVRTL47.js";import"./3UUSTTNP.js";import"./AEDCRS34.js";import"./J25AGF6Z.js";import"./MXDEBIVV.js";import"./XLGWWA5S.js";import"./3BTPCUS2.js";import"./772C34UX.js";import"./IZK32GOX.js";import"./ZXJDQSSJ.js";import"./NWF3JWPU.js";import"./UTHLY33U.js";import"./2WRYPENH.js";import"./JP5VAE6Y.js";import"./4XGWADP2.js";import"./EYLJVJDM.js";import"./5IV4O7PP.js";import"./KDOGXG5T.js";import"./775D3UWY.js";import{a as g}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as h}from"./WQFHL3SI.js";import{C as i,D as a,E as d,I as o,h as r,i as t,j as c}from"./44GZVSVC.js";import"./7QBAKAAP.js";var f=r`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */calcite-card{width:295px;height:100%;padding-bottom:2px}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(20%);filter:brightness(20%);-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:2px solid var(--calcite-ui-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.5s 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:1.2rem}.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: 0px}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:.5rem}.padding-bottom-1-2{padding-bottom:.5rem}.display-flex{display:flex}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-bold{font-weight:700}.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:.5rem;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}`,s=class extends d{constructor(){super(...arguments),this.allowDelete=!1,this.deployedDate="",this.description="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this._isConfigureOpen=!1,this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.templateInfoGraph=[],this._translations=g({name:"solution-deployed-card",blocking:!0}),this._authContextConsumer=l({context:m,subscribe:!0}),this._configureDialogRef=i(),this._deleteDialogRef=i(),this._diagramDialogRef=i(),this._userSessionContextConsumer=l({context:p,subscribe:!0})}static{this.properties={allowDelete:5,card:0,deployedDate:1,description:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,_isConfigureOpen:16,_isDeleteOpen:16,_isDiagramOpen:16,templateInfoGraph:16,_translations:16}}static{this.styles=f}async renderConfigureDialog(e){this._cardSelected(),this._configureDialogRef.value&&(this._configureDialogRef.value.showSuccessAlert=e)}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return this._isDiagramOpen=!0,await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}render(){return t`<calcite-card .label=${this.description} @click=${this._cardSelected}>${this._getImage()}${this._getHeader()}<p slot=description class="font-color-text-2 font-line-height font-size-size--1">${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this._getOwnerLabel()}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureDialog()}`}_getImage(){let e=this._userSessionContextConsumer.value;return t`<div class="card-image-wrap" slot=thumbnail><img class="thumbnail card-image" alt=${this.heading??o} src=${`${this.thumbnail}&token=${e?.token}`}><div class="hover-text">${this._translations.openSolution}</div></div>`}_getHeader(){return t`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`}_getOwnerLabel(){return t`<calcite-label class="font-weight-bold padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return t`<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>${c`<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>`}_getConfigureButton(){return t`<calcite-split-button appearance=outline @calciteSplitButtonPrimaryClick=${()=>{this._isConfigureOpen=!0}} @click=${e=>e.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution??o} width=full><calcite-dropdown-group selection-mode=none><calcite-dropdown-item icon-start=model @click=${this._viewDiagram}>${this._translations.viewDiagram}</calcite-dropdown-item><calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails}>${this._translations.viewItemDetails}</calcite-dropdown-item>${this.allowDelete&&t`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group></calcite-split-button>`}_renderDeleteDialog(){return this._isDeleteOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${e=>{this._isDeleteOpen=e.detail}} .open=${this._isDeleteOpen} ${a(this._deleteDialogRef)}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<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??"")??o} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled resizable scale=l width=l ${a(this._diagramDialogRef)}><solution-item-diagram .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_renderConfigureDialog(){return t`<solution-configure-dialog .card=${this.card} .cardRef=${this.el} @solutionConfigureDialogClose=${()=>{this._isConfigureOpen=!1}} .open=${this._isConfigureOpen} ${a(this._configureDialogRef)}></solution-configure-dialog>`}_cardSelected(){this._isConfigureOpen=!0}async _viewDiagram(e){e.stopPropagation(),this.card&&(this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),window.open(this.card.learnMoreUrl,"_blank")}_viewItemDetails(e){e.stopPropagation(),window.open(this.card.itemUrl,"_blank")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation();let n=this._authContextConsumer.value?.PortalSubset?.orgUrl;n&&window.open(`${n}/home/user.html`,"_blank")}async _processTemplates(e){return await u(e.id,this._userSessionContextConsumer.value)}};h("solution-deployed-card",s);export{s as SolutionDeployedCard};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import"./J7FQVJB6.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
3
+ v1.1.0-next.20250828 */
4
+ import"./7QBAKAAP.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import{a as b}from"./NLGBEHMQ.js";import"./F7PGOPSH.js";import"./4U3SUMGG.js";import{b as m}from"./3RZ4B4KW.js";import{C as n,D as r,E as g,G as w,H as i,I as h,h as f,i as e,j as p}from"./VLNSPHER.js";import"./J7FQVJB6.js";var R=f`/** @license
3
+ v1.1.0-next.20250828 */
4
+ import{a as b}from"./LPUL3M4W.js";import"./DI7GBSSF.js";import"./CMHM4AU3.js";import{b as m}from"./WQFHL3SI.js";import{C as n,D as r,E as g,G as w,H as i,I as h,h as f,i as e,j as p}from"./44GZVSVC.js";import"./7QBAKAAP.js";var R=f`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the 'License');
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
3
+ v1.1.0-next.20250828 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250826 */
4
- import e from"./6IVR6RFE.js";import c from"./TQ4TWST5.js";import"./HAAQ4OMM.js";import b from"./R5SQAHFB.js";import"./CVH6H46Y.js";import{b as o}from"./DJZQ2UHK.js";import"./4U3SUMGG.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./VLNSPHER.js";import"./J7FQVJB6.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
3
+ v1.1.0-next.20250828 */
4
+ import e from"./P6SZMVOM.js";import c from"./N2ZRCOK7.js";import"./T55VBYN6.js";import b from"./2EUXOCEX.js";import"./Y6I2OVEZ.js";import{b as o}from"./ZMOFCR7O.js";import"./CMHM4AU3.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./44GZVSVC.js";import"./7QBAKAAP.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)