@esri/solutions-components 1.2.0-next.61 → 1.2.0-next.62

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 (445) hide show
  1. package/dist/cdn/{5NLTO3PR.js → 22JVEJ5Q.js} +2 -2
  2. package/dist/cdn/22NCE237.js +4 -0
  3. package/dist/cdn/{2P2YESFX.js → 22PAFNIS.js} +1 -1
  4. package/dist/cdn/{KEWPVUIZ.js → 236NYJJU.js} +2 -2
  5. package/dist/cdn/23YDHQTC.js +4 -0
  6. package/dist/cdn/253F2A32.js +4 -0
  7. package/dist/cdn/{2KUBOJR6.js → 2GSMLN5P.js} +2 -2
  8. package/dist/cdn/2HJI2XXY.js +99 -0
  9. package/dist/cdn/{5EWASS5Y.js → 2PLJEDPA.js} +2 -2
  10. package/dist/cdn/{Y5Z6SQWV.js → 2S7HZF7M.js} +2 -2
  11. package/dist/cdn/{MVZ36ZHD.js → 32CAHGJ5.js} +2 -2
  12. package/dist/cdn/37ABMKIT.js +4 -0
  13. package/dist/cdn/{FIMVJEAW.js → 3GS5C3NN.js} +2 -2
  14. package/dist/cdn/{KMGP5TOD.js → 3HWVOIZJ.js} +2 -2
  15. package/dist/cdn/{N2SUT7FJ.js → 3X3W65RV.js} +2 -2
  16. package/dist/cdn/{QK32UHKA.js → 43XNXLYA.js} +1 -1
  17. package/dist/cdn/45XVYTNF.js +4 -0
  18. package/dist/cdn/{GUBWX2WB.js → 4DEQWZVP.js} +2 -2
  19. package/dist/cdn/{PFYTP7QM.js → 4IVBY5EY.js} +2 -2
  20. package/dist/cdn/{HRISF5DG.js → 4LZ6CQRP.js} +2 -2
  21. package/dist/cdn/{IUBHGF2N.js → 4MMEN7ON.js} +1 -1
  22. package/dist/cdn/{GAOKI2BY.js → 4UIXAAHB.js} +2 -2
  23. package/dist/cdn/{E5KFUJOK.js → 4XIOAYVM.js} +2 -2
  24. package/dist/cdn/{YXOC3RVO.js → 4XVPHNUD.js} +2 -2
  25. package/dist/cdn/{IOEQU6RW.js → 52LPF2VM.js} +2 -2
  26. package/dist/cdn/{7F6WLIL6.js → 54CECDRX.js} +3 -3
  27. package/dist/cdn/{E2CGQDSH.js → 554VYCGW.js} +2 -2
  28. package/dist/cdn/{T5LGXZ6I.js → 57XJMKLA.js} +2 -2
  29. package/dist/cdn/{X3DGKM76.js → 5APMCLL6.js} +2 -2
  30. package/dist/cdn/{UHC2PSZO.js → 5D5B7JGO.js} +2 -2
  31. package/dist/cdn/{K4EMRK2P.js → 5FMIL22Q.js} +2 -2
  32. package/dist/cdn/{TXXIYMC6.js → 5KQ5Q26R.js} +2 -2
  33. package/dist/cdn/{DWLP7FVH.js → 5M6DOBGP.js} +2 -2
  34. package/dist/cdn/{7XBFX5YB.js → 5T5TBQ6T.js} +2 -2
  35. package/dist/cdn/{WOV556RO.js → 5TSB7GTX.js} +1 -1
  36. package/dist/cdn/{AMGDTZAY.js → 62DGAPEO.js} +2 -2
  37. package/dist/cdn/{GUVTOQ5L.js → 62ZCP7VD.js} +2 -2
  38. package/dist/cdn/{FOUBW7TI.js → 63OPMGEP.js} +1 -1
  39. package/dist/cdn/{5TCTFJWQ.js → 64QSZHAO.js} +2 -2
  40. package/dist/cdn/{IOSETLM7.js → 6CU2WRF6.js} +2 -2
  41. package/dist/cdn/{TJ3BCTHU.js → 6IIEGCHC.js} +1 -1
  42. package/dist/cdn/{KFYIXGQ4.js → 6NJA65DE.js} +2 -2
  43. package/dist/cdn/{74MUDU3T.js → 6PW6R74H.js} +2 -2
  44. package/dist/cdn/{O4MIVQW2.js → 726JATVV.js} +2 -2
  45. package/dist/cdn/7GUJY2LR.js +4 -0
  46. package/dist/cdn/{YRXDCRD5.js → 7IGDME5U.js} +2 -2
  47. package/dist/cdn/{QZUDTUL4.js → 7R442J7P.js} +2 -2
  48. package/dist/cdn/{G5RSCNV7.js → 7RMDHBJB.js} +2 -2
  49. package/dist/cdn/{33ZIAGPE.js → 7Y3KZNR2.js} +2 -2
  50. package/dist/cdn/{QRTITFJW.js → A24UTMFY.js} +2 -2
  51. package/dist/cdn/{2VC52E6A.js → A4UPSJJE.js} +2 -2
  52. package/dist/cdn/{Z5FJEEOQ.js → A6VN4V55.js} +2 -2
  53. package/dist/cdn/{BPGYGOGE.js → A7DAUWF2.js} +2 -2
  54. package/dist/cdn/{EC3ZB4EV.js → ADPIMKQF.js} +2 -2
  55. package/dist/cdn/{HKC4DOUE.js → AGA3QECA.js} +2 -2
  56. package/dist/cdn/{2XWNFKLG.js → AI4YPMS2.js} +2 -2
  57. package/dist/cdn/{VZEXIREU.js → AKIG2SOT.js} +2 -2
  58. package/dist/cdn/{V63MM3HQ.js → ALPA4YMT.js} +2 -2
  59. package/dist/cdn/{YAIF3EAU.js → AMPKI3ZS.js} +2 -2
  60. package/dist/cdn/{YWFNYLHW.js → APXUHBE6.js} +2 -2
  61. package/dist/cdn/{EC446DZP.js → ARVI4H2Q.js} +2 -2
  62. package/dist/cdn/{SPAE66AK.js → ASIRLW76.js} +2 -2
  63. package/dist/cdn/AVOVSN7I.js +4 -0
  64. package/dist/cdn/{W3S4KP2W.js → AYBCSY7S.js} +1 -1
  65. package/dist/cdn/{LSJUMURC.js → B325AODH.js} +2 -2
  66. package/dist/cdn/{2VREYY62.js → B34U5BOQ.js} +2 -2
  67. package/dist/cdn/{M5PBCFVC.js → B5HFPNLU.js} +2 -2
  68. package/dist/cdn/B6AW4EWR.js +4 -0
  69. package/dist/cdn/{O3PPPBNQ.js → B7SKJJP3.js} +2 -2
  70. package/dist/cdn/{N7VLWHNA.js → BAMGFCWQ.js} +2 -2
  71. package/dist/cdn/{NLQYJY3Y.js → BBVT6UMT.js} +1 -1
  72. package/dist/cdn/{AC6U7VHK.js → BIXSBFWC.js} +2 -2
  73. package/dist/cdn/{KKLCJ7G6.js → BK4RW3VQ.js} +2 -2
  74. package/dist/cdn/{ASMCIIQQ.js → BKAHIMJS.js} +2 -2
  75. package/dist/cdn/{JTUKW55P.js → BNJCN3PG.js} +2 -2
  76. package/dist/cdn/{E655IBST.js → BZDZ3UJ6.js} +2 -2
  77. package/dist/cdn/{72XFODRX.js → C5VOK3FJ.js} +2 -2
  78. package/dist/cdn/{CUYQTJFU.js → C6IB2AKM.js} +2 -2
  79. package/dist/cdn/{BTNDZYSA.js → C6JSF4KJ.js} +2 -2
  80. package/dist/cdn/{7ZJKMLGT.js → CACE6JPT.js} +2 -2
  81. package/dist/cdn/CGH4Y5QV.js +4 -0
  82. package/dist/cdn/{QSCOANTT.js → CNVT4KW2.js} +2 -2
  83. package/dist/cdn/{4U5HZVBY.js → CUCGCLEY.js} +2 -2
  84. package/dist/cdn/{4RSHHJ4Y.js → CUEWTRE6.js} +2 -2
  85. package/dist/cdn/{IVWWMUTU.js → D3FDZ2UO.js} +2 -2
  86. package/dist/cdn/{VZO4FNSJ.js → D7AKN3FL.js} +2 -2
  87. package/dist/cdn/{TTMLJD3R.js → DADOAOGK.js} +2 -2
  88. package/dist/cdn/{AACZXF33.js → DBJEWRVF.js} +2 -2
  89. package/dist/cdn/{C3ZPPW4E.js → DBQK233J.js} +2 -2
  90. package/dist/cdn/{SVBXPTEC.js → DHGDH6TY.js} +2 -2
  91. package/dist/cdn/{XTTVLQHV.js → DIUGFURH.js} +2 -2
  92. package/dist/cdn/{XNIWSIVJ.js → DJQJX7XN.js} +2 -2
  93. package/dist/cdn/{F2GOV2LM.js → DKENTSZS.js} +2 -2
  94. package/dist/cdn/{I5ICGT74.js → DMBX6WDE.js} +2 -2
  95. package/dist/cdn/{QBFLPL3H.js → DNQXEBRM.js} +1 -1
  96. package/dist/cdn/{PNA5TAPP.js → DOUCTK4Y.js} +2 -2
  97. package/dist/cdn/{SW6HTS4W.js → DQ56YCHP.js} +2 -2
  98. package/dist/cdn/{G275NPKZ.js → DY6XHIHX.js} +2 -2
  99. package/dist/cdn/{EJOQBJEG.js → DYTPNPZ6.js} +2 -2
  100. package/dist/cdn/{S63HTRIQ.js → E4CBAFDM.js} +2 -2
  101. package/dist/cdn/{LL2DC5FJ.js → E4GKMLY7.js} +1 -1
  102. package/dist/cdn/{W4AED5XB.js → E4MHP3D6.js} +2 -2
  103. package/dist/cdn/{K3WLDI57.js → E5TKEWBV.js} +2 -2
  104. package/dist/cdn/{TEDBS3IP.js → EAEVZCHH.js} +2 -2
  105. package/dist/cdn/{H72745YU.js → EARAW6MW.js} +2 -2
  106. package/dist/cdn/{RZBDTEMW.js → EGFNOBOA.js} +2 -2
  107. package/dist/cdn/{7S7C334Z.js → ERMUBMJN.js} +3 -3
  108. package/dist/cdn/{U2IPPMM4.js → ET3OO6ME.js} +2 -2
  109. package/dist/cdn/{PAWHH43E.js → EVD3PK7T.js} +2 -2
  110. package/dist/cdn/{Z2TSSAC6.js → EWAAPXCJ.js} +2 -2
  111. package/dist/cdn/{WOP4PDSB.js → EWXIH5IA.js} +1 -1
  112. package/dist/cdn/{QXR4PIXQ.js → EZEU4P7C.js} +2 -2
  113. package/dist/cdn/{7QIYL4NV.js → F3G2SMGH.js} +2 -2
  114. package/dist/cdn/{MSTVHU7I.js → F4O75RZP.js} +2 -2
  115. package/dist/cdn/{RD423PZS.js → F5JAPR6B.js} +2 -2
  116. package/dist/cdn/{CXYLIV2Q.js → FNQ2L2DM.js} +2 -2
  117. package/dist/cdn/{N4UPS6UJ.js → FP5D2SZA.js} +2 -2
  118. package/dist/cdn/{YJIB4Y3F.js → FPZEMX4B.js} +2 -2
  119. package/dist/cdn/{2Q2UIIGY.js → FTRDBT4T.js} +1 -1
  120. package/dist/cdn/{BTKJFFR4.js → FZJHK5CF.js} +2 -2
  121. package/dist/cdn/{72SOLDRJ.js → FZLUKWFG.js} +2 -2
  122. package/dist/cdn/{JJWGVOLU.js → G2AIEDH5.js} +2 -2
  123. package/dist/cdn/{NQFZ7BDB.js → G2WHRDRB.js} +2 -2
  124. package/dist/cdn/{WCFBD5RR.js → G5HIPUSK.js} +2 -2
  125. package/dist/cdn/{6MFGJWPB.js → GC4O5APO.js} +2 -2
  126. package/dist/cdn/{YUH4EAMP.js → GEIREK7Z.js} +2 -2
  127. package/dist/cdn/{SBN2L5NX.js → GJFCLYAN.js} +2 -2
  128. package/dist/cdn/{JV6V3HHU.js → GKEZI3PT.js} +2 -2
  129. package/dist/cdn/{F2DO4TJL.js → GNV3ZQMC.js} +2 -2
  130. package/dist/cdn/{OY6L3W2Y.js → GQ2XFFMS.js} +2 -2
  131. package/dist/cdn/{QCHTYOMH.js → GUNQEMBA.js} +2 -2
  132. package/dist/cdn/{VT6KVQP2.js → GVHW3DLW.js} +2 -2
  133. package/dist/cdn/{PRASXEUN.js → H2OY3T5X.js} +2 -2
  134. package/dist/cdn/{67W5QUHZ.js → H55LL3JW.js} +2 -2
  135. package/dist/cdn/{UHS75MT5.js → H5CJXI25.js} +2 -2
  136. package/dist/cdn/{FN4EUS3M.js → HDZR66W4.js} +2 -2
  137. package/dist/cdn/HFAKSY2S.js +4 -0
  138. package/dist/cdn/{NVSFHLTL.js → HGL4EETI.js} +2 -2
  139. package/dist/cdn/{IOAOXSTZ.js → HGORRSQH.js} +2 -2
  140. package/dist/cdn/{JXV6VWAC.js → HHTFAIXB.js} +2 -2
  141. package/dist/cdn/{KK2KCKMU.js → HMRGYX5P.js} +2 -2
  142. package/dist/cdn/{65Q2WFD6.js → HP5QJTNI.js} +2 -2
  143. package/dist/cdn/{253RNXBF.js → HUGBK2U5.js} +2 -2
  144. package/dist/cdn/{I2XGORZH.js → HV67SLIL.js} +2 -2
  145. package/dist/cdn/{T5DWKLEN.js → HZ6I4XIB.js} +2 -2
  146. package/dist/cdn/{SUOVHYZB.js → IAYBBBQT.js} +2 -2
  147. package/dist/cdn/{2HGM3S4H.js → IFZPP6SX.js} +2 -2
  148. package/dist/cdn/{VQSSXCIB.js → IHPRKZ6H.js} +2 -2
  149. package/dist/cdn/{ZA4WM6SU.js → IHYUEJMC.js} +2 -2
  150. package/dist/cdn/{MIARN2ON.js → IJQDG7IP.js} +1 -1
  151. package/dist/cdn/{2KXBQAJW.js → INSM2YOC.js} +1 -1
  152. package/dist/cdn/{ZWFGE4SE.js → IPK2F5FY.js} +2 -2
  153. package/dist/cdn/{UAFG6I6N.js → IULSZB52.js} +2 -2
  154. package/dist/cdn/{4RJSBWD3.js → IWA7DA43.js} +2 -2
  155. package/dist/cdn/{JZVTSNGA.js → IWCAJBZW.js} +2 -2
  156. package/dist/cdn/{JE5LYMSR.js → IXXHXXXL.js} +2 -2
  157. package/dist/cdn/J2GHMMFS.js +4 -0
  158. package/dist/cdn/{TB7KH2C7.js → J3UFVX3S.js} +2 -2
  159. package/dist/cdn/{QM6NH6VR.js → J63NAMCW.js} +2 -2
  160. package/dist/cdn/{EJBHWF54.js → JC7RDCAK.js} +1 -1
  161. package/dist/cdn/{HRAGHKCQ.js → JFF52LZP.js} +2 -2
  162. package/dist/cdn/{DJWFUXLO.js → JFSGS5OC.js} +2 -2
  163. package/dist/cdn/{BCQENLR7.js → JHLUVV4N.js} +2 -2
  164. package/dist/cdn/{XJN5V4KW.js → JIJ63VQQ.js} +2 -2
  165. package/dist/cdn/{SN5WNNQ5.js → JIWFE5LY.js} +2 -2
  166. package/dist/cdn/{GVFIYM23.js → JLLGVKZ3.js} +2 -2
  167. package/dist/cdn/{P4RFQ7SQ.js → JOKQH5HY.js} +2 -2
  168. package/dist/cdn/{4CHUCN2Z.js → JQUL7FKM.js} +2 -2
  169. package/dist/cdn/JRR6TOXN.js +4 -0
  170. package/dist/cdn/{OAYNPATX.js → JVKAKNFS.js} +2 -2
  171. package/dist/cdn/{L2PXDXZ3.js → K3AJABNT.js} +2 -2
  172. package/dist/cdn/K4AQW7JU.js +4 -0
  173. package/dist/cdn/{6OK4QGOG.js → K5PP5PS3.js} +2 -2
  174. package/dist/cdn/{5AEHA2S7.js → K5XSI7EQ.js} +2 -2
  175. package/dist/cdn/{YA7YZCDB.js → KB4RIKZC.js} +2 -2
  176. package/dist/cdn/{YEPUWT4K.js → KD3N253K.js} +2 -2
  177. package/dist/cdn/{2FCQYSQR.js → KDYFZUTB.js} +2 -2
  178. package/dist/cdn/{4BPWBJER.js → KG6ZXBS3.js} +2 -2
  179. package/dist/cdn/{BOV6NXRD.js → KK7FYLJQ.js} +2 -2
  180. package/dist/cdn/{4MQ7CZCO.js → KMZFQSAO.js} +2 -2
  181. package/dist/cdn/{LJ2SBS2G.js → KTC723NZ.js} +2 -2
  182. package/dist/cdn/{6KSUL7MO.js → KX5MJZBS.js} +2 -2
  183. package/dist/cdn/{DQKUJ4FE.js → KXKGISFI.js} +2 -2
  184. package/dist/cdn/{22HYHLHN.js → KXM4MDPA.js} +1 -1
  185. package/dist/cdn/L3X5KHYY.js +4 -0
  186. package/dist/cdn/{O2BPA4V7.js → L4WWTSVG.js} +1 -1
  187. package/dist/cdn/{Y6KQQXHW.js → L6TD54I2.js} +2 -2
  188. package/dist/cdn/{UYYTMD45.js → LEQFLWZJ.js} +2 -2
  189. package/dist/cdn/{FOJIKFHL.js → LF6GOWP7.js} +2 -2
  190. package/dist/cdn/{FFJAKABB.js → LFZ3JTH2.js} +2 -2
  191. package/dist/cdn/LYOK3PYB.js +4 -0
  192. package/dist/cdn/{P6W2BHCC.js → M3NVL5WO.js} +2 -2
  193. package/dist/cdn/M3S3NPNI.js +4 -0
  194. package/dist/cdn/{3UYOYGTS.js → MBZ2CBF3.js} +2 -2
  195. package/dist/cdn/{VADP3QUO.js → MCTC2Q7E.js} +4 -4
  196. package/dist/cdn/{QRGOX3X3.js → MGYSZD74.js} +2 -2
  197. package/dist/cdn/{QXN2LHOP.js → MIBMK3NI.js} +2 -2
  198. package/dist/cdn/MJXQ54VH.js +4 -0
  199. package/dist/cdn/{6LEKXV2O.js → MNKJFLXG.js} +2 -2
  200. package/dist/cdn/{VFPLAMGY.js → MPWXNEN5.js} +2 -2
  201. package/dist/cdn/{LVSUN7XL.js → MR2LK44L.js} +2 -2
  202. package/dist/cdn/{6GBG5NTN.js → MS5LO6DW.js} +2 -2
  203. package/dist/cdn/{F3UOUFRO.js → MUGJVLFI.js} +2 -2
  204. package/dist/cdn/{HQBUH6CP.js → MWZHS3D4.js} +2 -2
  205. package/dist/cdn/{BHUYCAVR.js → MX5P2FVF.js} +2 -2
  206. package/dist/cdn/{IYA6MXY3.js → MXLQXZPF.js} +2 -2
  207. package/dist/cdn/{PB54RSUS.js → N3WZI64X.js} +2 -2
  208. package/dist/cdn/{NTPTDDMB.js → N4UDOCET.js} +2 -2
  209. package/dist/cdn/{FFW3O2HK.js → N6VBAVNA.js} +2 -2
  210. package/dist/cdn/{UTSPKJHP.js → N7B4ODMG.js} +1 -1
  211. package/dist/cdn/{HAZAWSKY.js → NDRCKJQN.js} +1 -1
  212. package/dist/cdn/{JOGLCI7L.js → NGBAJJ6D.js} +2 -2
  213. package/dist/cdn/{ZOSVEKXW.js → NH3EQDO5.js} +1 -1
  214. package/dist/cdn/{T7MHQ327.js → NHCQYVJM.js} +2 -2
  215. package/dist/cdn/{TPWZ5VSB.js → NLYW2WAM.js} +2 -2
  216. package/dist/cdn/{BYDTC7F2.js → NO3GNFZC.js} +2 -2
  217. package/dist/cdn/{J3PAYUNS.js → NPJZFC4M.js} +2 -2
  218. package/dist/cdn/{FRIROEJG.js → NTD7CHVT.js} +2 -2
  219. package/dist/cdn/{M5ZKBFJG.js → NW7OFXKC.js} +2 -2
  220. package/dist/cdn/{FQ6ADWV5.js → O3P5NOM2.js} +2 -2
  221. package/dist/cdn/{I7PHK7YM.js → OA2S63FZ.js} +2 -2
  222. package/dist/cdn/{3VKMKDDC.js → OFWF4FLH.js} +1 -1
  223. package/dist/cdn/{ABEP4JVD.js → OOFFATCD.js} +2 -2
  224. package/dist/cdn/{N7Z27NQM.js → OPYKS7CX.js} +2 -2
  225. package/dist/cdn/{7FBZLDTR.js → OUAROGMB.js} +2 -2
  226. package/dist/cdn/{KVYBYT6S.js → OYOHY5WS.js} +2 -2
  227. package/dist/cdn/{HJY4KM2B.js → P2A5KXML.js} +2 -2
  228. package/dist/cdn/{2TJRLAO6.js → P3OVPYEQ.js} +2 -2
  229. package/dist/cdn/{UYHXKTBT.js → P6L7EUVQ.js} +2 -2
  230. package/dist/cdn/{WTKMR5UY.js → P6SI3ZH2.js} +1 -1
  231. package/dist/cdn/{S47HFMCK.js → PBORVLXJ.js} +2 -2
  232. package/dist/cdn/{LXHG5NDC.js → PHODD4Z6.js} +1 -1
  233. package/dist/cdn/{YIL2K7VK.js → PJQAZKQO.js} +2 -2
  234. package/dist/cdn/{3NINBJYJ.js → PTLVWRGF.js} +2 -2
  235. package/dist/cdn/{EHYJGYQT.js → PXKUIO5A.js} +1 -1
  236. package/dist/cdn/{IC4NXYTR.js → Q2WQ7T7X.js} +2 -2
  237. package/dist/cdn/{6MABMJPE.js → Q4CAV6BE.js} +1 -1
  238. package/dist/cdn/{Y3HJDMXS.js → QEYD7M5P.js} +2 -2
  239. package/dist/cdn/{MDXURHIQ.js → QL3LWZTF.js} +2 -2
  240. package/dist/cdn/{4MRVUTHZ.js → QP5YBLLN.js} +2 -2
  241. package/dist/cdn/{2BZFJQA6.js → QPKAXYA6.js} +2 -2
  242. package/dist/cdn/{NX7Z5SDJ.js → QQ272QFM.js} +2 -2
  243. package/dist/cdn/{TZHHGOBK.js → R3LWYP4G.js} +2 -2
  244. package/dist/cdn/{QI6JRQAM.js → R3P3XMLO.js} +2 -2
  245. package/dist/cdn/{HAP67XTT.js → R3RWAKZN.js} +2 -2
  246. package/dist/cdn/{R3KCYH5W.js → R3WMYDWR.js} +2 -2
  247. package/dist/cdn/{MUUINRCV.js → RFS4CVZ4.js} +2 -2
  248. package/dist/cdn/{3F27MINM.js → RID7XYT6.js} +2 -2
  249. package/dist/cdn/{FCETVVUT.js → RJMILIJO.js} +2 -2
  250. package/dist/cdn/{JW6FCTL4.js → RL5RZQ3Q.js} +2 -2
  251. package/dist/cdn/{LSJPBG7F.js → RLHTV7UW.js} +2 -2
  252. package/dist/cdn/{PSPTZCWK.js → RLPYO4Q4.js} +2 -2
  253. package/dist/cdn/{2OIIWDJB.js → RMIDYV3B.js} +2 -2
  254. package/dist/cdn/{HLU4ZUSE.js → RO3ES6UD.js} +2 -2
  255. package/dist/cdn/{Q4HNTDMI.js → RRTOIEHS.js} +2 -2
  256. package/dist/cdn/{35CUREMH.js → RTTRLG4C.js} +2 -2
  257. package/dist/cdn/{V3ILHNQJ.js → RUUYDJAI.js} +2 -2
  258. package/dist/cdn/{53QFE7JQ.js → RVOGF5GW.js} +2 -2
  259. package/dist/cdn/RXOWC3ZA.js +4 -0
  260. package/dist/cdn/{R5G5UBJR.js → RZ73JTAW.js} +2 -2
  261. package/dist/cdn/{3MHKWSCC.js → RZHJQZ7I.js} +1 -1
  262. package/dist/cdn/{AOGB6RX7.js → S3HCQON5.js} +2 -2
  263. package/dist/cdn/{QJ6VS55N.js → S4PR5QYT.js} +2 -2
  264. package/dist/cdn/{6OG7ILZC.js → S72CRXHN.js} +2 -2
  265. package/dist/cdn/{GI6HTTYJ.js → SAEYOHYV.js} +2 -2
  266. package/dist/cdn/{UVQX5FMQ.js → SDNXMJH4.js} +2 -2
  267. package/dist/cdn/{XILQXDEB.js → T56TNAF3.js} +1 -1
  268. package/dist/cdn/{ZFU6EH5A.js → TBMZRIU6.js} +2 -2
  269. package/dist/cdn/{4CO4QKQV.js → TBZMPKUE.js} +2 -2
  270. package/dist/cdn/{X32XVTAA.js → THL4LIOE.js} +2 -2
  271. package/dist/cdn/{4JMYQZGR.js → TNSW4TRC.js} +2 -2
  272. package/dist/cdn/{6PGQ7UDC.js → TUKMTW4X.js} +2 -2
  273. package/dist/cdn/TYKBDMUD.js +4 -0
  274. package/dist/cdn/{HF4QD63I.js → TYMBB7GT.js} +2 -2
  275. package/dist/cdn/{BOWNLLRC.js → TZWGA55B.js} +2 -2
  276. package/dist/cdn/{KGY42XQ4.js → U3653AAK.js} +2 -2
  277. package/dist/cdn/{P5SP66TM.js → U4TLYOFC.js} +2 -2
  278. package/dist/cdn/{GY3AMW7G.js → U5K2UMRG.js} +2 -2
  279. package/dist/cdn/{FRKMUBQW.js → U5QDQ3AE.js} +1 -1
  280. package/dist/cdn/{P4I7E7PJ.js → U5VJAOJI.js} +2 -2
  281. package/dist/cdn/{XRVUVLK7.js → U72STWZM.js} +1 -1
  282. package/dist/cdn/{3V3ARU4S.js → UA6OB7Z3.js} +1 -1
  283. package/dist/cdn/{S56TUI7H.js → UB7EJKIT.js} +1 -1
  284. package/dist/cdn/{5IW2AA7A.js → UDBS4W2F.js} +2 -2
  285. package/dist/cdn/{RD6JTK3X.js → UIXMR5OS.js} +2 -2
  286. package/dist/cdn/{MFAJRJR3.js → UK3Y26QU.js} +1 -1
  287. package/dist/cdn/{DOZS4G2O.js → URCMK5PU.js} +2 -2
  288. package/dist/cdn/{Z6SV4EJB.js → V6B7ICFF.js} +1 -1
  289. package/dist/cdn/{L3CVI6KC.js → VCX42K34.js} +2 -2
  290. package/dist/cdn/{KKGQAK4H.js → VFQZQD4U.js} +2 -2
  291. package/dist/cdn/{RGNMACS5.js → VFY3MJZR.js} +2 -2
  292. package/dist/cdn/VI5526JP.js +4 -0
  293. package/dist/cdn/{LK7INEHZ.js → VIAGSUD6.js} +2 -2
  294. package/dist/cdn/{S732ZTVO.js → VLXAVLHU.js} +2 -2
  295. package/dist/cdn/{LF44LBHN.js → VWFBOHPK.js} +2 -2
  296. package/dist/cdn/{TEMZGRBD.js → VX47PIHG.js} +2 -2
  297. package/dist/cdn/{CEBTYHFA.js → VXBXLYF2.js} +1 -1
  298. package/dist/cdn/{CBOKEM2G.js → VXFBOPP3.js} +2 -2
  299. package/dist/cdn/{UI4YSFA3.js → VYX3EYGU.js} +2 -2
  300. package/dist/cdn/VZYFBVG3.js +4 -0
  301. package/dist/cdn/{5ZXC6E3E.js → W5YSAGU7.js} +2 -2
  302. package/dist/cdn/{UI74ZNTQ.js → WF3R5HTS.js} +2 -2
  303. package/dist/cdn/{4B42RCTX.js → WGA7J4T3.js} +2 -2
  304. package/dist/cdn/{62TZFM26.js → WIXYBKC6.js} +2 -2
  305. package/dist/cdn/{KRMTXV6V.js → WKAPUSKT.js} +2 -2
  306. package/dist/cdn/{M3ONDW4E.js → WKI33GD4.js} +2 -2
  307. package/dist/cdn/{PKGSI55Q.js → WO6O4V7P.js} +2 -2
  308. package/dist/cdn/{HKY5DY62.js → WYV3XXOH.js} +2 -2
  309. package/dist/cdn/{PJK2OHT3.js → X2K7HTRW.js} +1 -1
  310. package/dist/cdn/{HHJZ4HZ6.js → X2SHXAEX.js} +2 -2
  311. package/dist/cdn/{GPG4VHYE.js → X3UWVOUF.js} +2 -2
  312. package/dist/cdn/{AMNGDLOS.js → XBNBDIQF.js} +2 -2
  313. package/dist/cdn/{OXHUFOLR.js → XIR3LIO5.js} +2 -2
  314. package/dist/cdn/{IXQOFTAB.js → XKOHRGWS.js} +2 -2
  315. package/dist/cdn/{5JBKNTRM.js → XN4ZLYC3.js} +2 -2
  316. package/dist/cdn/{IDUQIZKF.js → XWYQHMRJ.js} +2 -2
  317. package/dist/cdn/{XLHDG4FM.js → XYK3ZJ74.js} +2 -2
  318. package/dist/cdn/{SWVL5I4H.js → Y4O7BEH5.js} +2 -2
  319. package/dist/cdn/{FOYHZHWB.js → YC3C5VLU.js} +2 -2
  320. package/dist/cdn/{LLMVZTU7.js → YDNDI3GC.js} +2 -2
  321. package/dist/cdn/{UGCYPIG3.js → YGN4DTLR.js} +2 -2
  322. package/dist/cdn/{PPDXHEPT.js → YKZ4EIP4.js} +2 -2
  323. package/dist/cdn/{OEIXFB5S.js → YMEMNG2X.js} +2 -2
  324. package/dist/cdn/{SZT2IBTM.js → YN7MAH2I.js} +1 -1
  325. package/dist/cdn/{J6NCWDHN.js → YNQH4WHK.js} +2 -2
  326. package/dist/cdn/{UGNCB4PA.js → YT326XBB.js} +2 -2
  327. package/dist/cdn/{IJZIMEUA.js → Z6GXQBPV.js} +2 -2
  328. package/dist/cdn/{FGBI6PLB.js → ZIMI5N7B.js} +2 -2
  329. package/dist/cdn/{DAHW5CIV.js → ZP7YO34W.js} +2 -2
  330. package/dist/cdn/{DYI3P36O.js → ZPINCTCI.js} +1 -1
  331. package/dist/cdn/{CGLEKTNI.js → ZQOWCQMD.js} +2 -2
  332. package/dist/cdn/{3D5J3QUN.js → ZV5UJA56.js} +2 -2
  333. package/dist/cdn/{M7AB2AFS.js → ZVYEXCFN.js} +2 -2
  334. package/dist/cdn/{GP6DK5OL.js → ZX3GJIWV.js} +2 -2
  335. package/dist/cdn/index.js +2 -2
  336. package/dist/chunks/Auth.js +1 -1
  337. package/dist/chunks/appConfig.js +1 -1
  338. package/dist/chunks/cardFetchingUtils.js +2 -15
  339. package/dist/chunks/cardFetchingUtils.js.map +1 -1
  340. package/dist/chunks/cardsHelpers.js +1 -1
  341. package/dist/chunks/common.js +1 -1
  342. package/dist/chunks/deployAppContexts.js +1 -1
  343. package/dist/chunks/downloadUtils.js +1 -1
  344. package/dist/chunks/getItemIcon.js +1 -1
  345. package/dist/chunks/helpers.js +1 -1
  346. package/dist/chunks/interfaces.js +1 -1
  347. package/dist/chunks/mapViewUtils.js +1 -1
  348. package/dist/chunks/pciUtils.js +1 -1
  349. package/dist/chunks/popupUtils.js +1 -1
  350. package/dist/chunks/publicNotificationContext.js +1 -1
  351. package/dist/chunks/queryUtils.js +1 -1
  352. package/dist/chunks/runtime.js +1 -1
  353. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  354. package/dist/chunks/useT9n.js +1 -1
  355. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  356. package/dist/components/buffer-tools/customElement.js +1 -1
  357. package/dist/components/card-manager/customElement.js +1 -1
  358. package/dist/components/consent-manager/customElement.js +1 -1
  359. package/dist/components/create-feature/customElement.js +1 -1
  360. package/dist/components/create-related-feature/customElement.js +1 -1
  361. package/dist/components/crowdsource-manager/customElement.js +1 -1
  362. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  363. package/dist/components/deduct-calculator/customElement.js +1 -1
  364. package/dist/components/delete-button/customElement.js +1 -1
  365. package/dist/components/delete-dialog/customElement.js +1 -1
  366. package/dist/components/edit-card/customElement.js +1 -1
  367. package/dist/components/feature-details/customElement.js +1 -1
  368. package/dist/components/feature-list/customElement.js +1 -1
  369. package/dist/components/field-selection/customElement.js +1 -1
  370. package/dist/components/info-card/customElement.js +1 -1
  371. package/dist/components/layer-list/customElement.js +1 -1
  372. package/dist/components/layer-table/customElement.js +1 -1
  373. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  374. package/dist/components/map-card/customElement.js +1 -1
  375. package/dist/components/map-draw-tools/customElement.js +1 -1
  376. package/dist/components/map-floor-filter/customElement.js +1 -1
  377. package/dist/components/map-fullscreen/customElement.js +1 -1
  378. package/dist/components/map-layer-picker/customElement.js +1 -1
  379. package/dist/components/map-legend/customElement.js +1 -1
  380. package/dist/components/map-picker/customElement.js +1 -1
  381. package/dist/components/map-search/customElement.js +1 -1
  382. package/dist/components/map-select-tools/customElement.js +1 -1
  383. package/dist/components/map-tools/customElement.js +1 -1
  384. package/dist/components/pci-calculator/customElement.js +1 -1
  385. package/dist/components/pdf-download/customElement.js +1 -1
  386. package/dist/components/public-notification/customElement.js +1 -1
  387. package/dist/components/refine-selection/customElement.js +1 -1
  388. package/dist/components/selection-tool/customElement.js +1 -1
  389. package/dist/components/solution-configure-titles/customElement.js +1 -1
  390. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  391. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  392. package/dist/components/solution-deployed-card/customElement.js +1 -1
  393. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  394. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  395. package/dist/components/solution-details-card/customElement.js +1 -1
  396. package/dist/components/solution-details-panel/customElement.js +1 -1
  397. package/dist/components/solution-item-accordion/customElement.js +1 -1
  398. package/dist/components/solution-item-diagram/customElement.js +1 -1
  399. package/dist/components/solution-item-icon/customElement.js +1 -1
  400. package/dist/components/solution-resource-card/customElement.js +1 -1
  401. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  402. package/dist/components/solution-social-share/customElement.js +1 -1
  403. package/dist/components/solutions-all-panel/customElement.js +14 -21
  404. package/dist/components/solutions-all-panel/customElement.js.map +1 -1
  405. package/dist/components/solutions-all-shell/customElement.js +1 -1
  406. package/dist/components/solutions-deploy-app/customElement.js +14 -21
  407. package/dist/components/solutions-deploy-app/customElement.js.map +1 -1
  408. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  409. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  410. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  411. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  412. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  413. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  414. package/dist/components/solutions-resources/customElement.js +1 -1
  415. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  416. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  417. package/dist/docs/api.json +1 -1
  418. package/dist/docs/docs.json +1 -1
  419. package/dist/docs/web-types.json +1 -1
  420. package/dist/index.js +1 -1
  421. package/dist/loader.js +1 -1
  422. package/dist/utils/CardsFetcher.d.ts +1 -1
  423. package/package.json +1 -1
  424. package/dist/cdn/2H2732VO.js +0 -4
  425. package/dist/cdn/52TXKGYV.js +0 -4
  426. package/dist/cdn/5OOZELYI.js +0 -4
  427. package/dist/cdn/77APG7U3.js +0 -4
  428. package/dist/cdn/77VSL2LU.js +0 -4
  429. package/dist/cdn/AMF5XX36.js +0 -4
  430. package/dist/cdn/C74MDPRK.js +0 -4
  431. package/dist/cdn/CUBR3FSN.js +0 -4
  432. package/dist/cdn/DLPM4D5F.js +0 -4
  433. package/dist/cdn/DUNAQGU2.js +0 -99
  434. package/dist/cdn/EZOYFPK5.js +0 -4
  435. package/dist/cdn/G6ZWDEQU.js +0 -4
  436. package/dist/cdn/KZHJDYWQ.js +0 -4
  437. package/dist/cdn/LRDQVHWW.js +0 -4
  438. package/dist/cdn/MFNDNTOQ.js +0 -4
  439. package/dist/cdn/PHS66743.js +0 -4
  440. package/dist/cdn/SDXPFMHE.js +0 -4
  441. package/dist/cdn/SYGJWWZP.js +0 -4
  442. package/dist/cdn/VBIROJO3.js +0 -4
  443. package/dist/cdn/WW3ZPCO5.js +0 -4
  444. package/dist/cdn/YIZ7FHBE.js +0 -4
  445. package/dist/cdn/YYLKFRM5.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as y}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b}from"./65Q2WFD6.js";import{E as n,F as h,G as w,I as a,h as f,i as r,l as m}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([$,E])=>{var x=f`/** @license
3
+ v1.2.0-next.62 */
4
+ import{a as y}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b}from"./HP5QJTNI.js";import{E as n,F as h,G as w,I as a,h as f,i as r,l as m}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([$,E])=>{var x=f`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.62 */
4
+ import d from"./E5TKEWBV.js";import c from"./HHTFAIXB.js";import b from"./AGA3QECA.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import"./HP5QJTNI.js";import"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([,,,a])=>{return a},a,b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
3
+ v1.2.0-next.62 */
4
4
  export default $arcgis.t(([i])=>{async function J(o,y,a){let e=y?.layer;if(!o)return e?.effect?e.effect:e?.featureEffect?a==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=new i({includedEffect:o}).toJSON().includedEffect,u=n,s=e.effect,h=e.featureEffect,l=null;h?l=a==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=s;let p=l?n:null;if(!p)return i.fromJSON({includedEffect:n}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:r}=t;if(r)r.forEach((E,c)=>{E.type===d.type?r[c]=d:!t.value.find(m=>m.type===u[0].type)&&(t.value=[...t.value,...u])});else{let E=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),E&&(f=[...f,t])}})}),i.fromJSON({includedEffect:f}).includedEffect}return J},"layers/support/FeatureEffect")
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as o}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as n}from"./65Q2WFD6.js";import{G as r,K as e,h as s,i as t,q as a}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";var c=s`/** @license
3
+ v1.2.0-next.62 */
4
+ import{a as o}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as n}from"./HP5QJTNI.js";import{G as r,K as e,h as s,i as t,q as a}from"./U72STWZM.js";import"./V6B7ICFF.js";var c=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.62 */
4
+ import c from"./UDBS4W2F.js";import"./N7B4ODMG.js";import b from"./3GS5C3NN.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./6IIEGCHC.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import"./HP5QJTNI.js";import"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([,,a])=>{return a},a,b,c)
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.62 */
4
+ import f from"./3HWVOIZJ.js";import e from"./E5TKEWBV.js";import d from"./ERMUBMJN.js";import"./YN7MAH2I.js";import"./B34U5BOQ.js";import c from"./HHTFAIXB.js";import b from"./AGA3QECA.js";import"./GEIREK7Z.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import"./HP5QJTNI.js";import"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([,,,,,a])=>{return a},a,b,c,d,e,f)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as h}from"./UYHXKTBT.js";import{b as p}from"./65Q2WFD6.js";import{G as d,h as a,i as l,l as c,q as n}from"./XRVUVLK7.js";var u=a`/** @license
3
+ v1.2.0-next.62 */
4
+ import{a as h}from"./P6L7EUVQ.js";import{b as p}from"./HP5QJTNI.js";import{G as d,h as a,i as l,l as c,q as n}from"./U72STWZM.js";var u=a`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,99 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.62 */
4
+ import e from"./VI5526JP.js";import c from"./VX47PIHG.js";import b from"./AGA3QECA.js";import a from"./KTC723NZ.js";import{b as w,d as C}from"./JOKQH5HY.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{a as S}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as f}from"./HP5QJTNI.js";import{G as y,h as m,i as n,j as _,q as d}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([{m:T,n:x,p:v,q:h},,{c:I},{a:u,b:L}])=>{var D=m`/** @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
+ */
19
+
20
+ calcite-panel {
21
+ width: 100%;
22
+ height: 100%;
23
+ --calcite-panel-background-color: var(--calcite-color-foreground-2);
24
+ }
25
+
26
+ .card-group {
27
+ overflow: hidden;
28
+ padding: 0.2rem var(--calcite-spacing-md) var(--calcite-spacing-md);
29
+ }
30
+
31
+ solution-details-card{
32
+ width: calc(25% - 0.6rem);
33
+ }
34
+
35
+ @media (max-width: 1234px) {
36
+ solution-details-card {
37
+ width: calc(33.333% - 0.6rem);
38
+ }
39
+ }
40
+
41
+ @media (max-width: 1010px) {
42
+ solution-details-card {
43
+ width: calc(50% - 0.6rem);
44
+ }
45
+ }
46
+
47
+ /* We go back to 3 cards below 800 because the filter tree on the left disappears */
48
+ /* See the solutions-all-shell.css for the filter disappearing selector */
49
+ @media (max-width: 800px) {
50
+ solution-details-card {
51
+ width: calc(33.33% - 0.6rem);
52
+ }
53
+ }
54
+
55
+ @media (max-width: 680px) {
56
+ solution-details-card {
57
+ width: calc(50% - 0.6rem);
58
+ }
59
+ }
60
+
61
+ @media (max-width: 440px) {
62
+ solution-details-card {
63
+ width: calc(100% - 0.75rem);
64
+ }
65
+ }
66
+
67
+ .solutions-briefcase {
68
+ margin: auto;
69
+ padding-top: var(--calcite-spacing-xxxl);
70
+ }
71
+
72
+ .text-center {
73
+ text-align: center;
74
+ }
75
+
76
+ .leader-1 {
77
+ margin-top: var(--calcite-spacing-xxl);
78
+ }
79
+
80
+ .trailer-1 {
81
+ margin-bottom: var(--calcite-spacing-xxl);
82
+ }
83
+
84
+ .warning-text {
85
+ max-width: 35em;
86
+ margin-left: auto;
87
+ margin-right: auto;
88
+ font-size: var(--calcite-font-size-md);
89
+ }
90
+
91
+ .no-solutions {
92
+ display: flex;
93
+ flex-direction: column;
94
+ justify-content: center;
95
+ width: 100%;
96
+ height: 100%;
97
+ transform: translateY(50%);
98
+ }
99
+ `,b=5,g=class extends y{constructor(){super(),this.sortType="relevance",this._cards=[],this._isLoading=!0,this._modifiedCheckTry=0,this._translations=S({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${h}`,this._allCards=[],this._baseAgoTerms=h,this._categories=[],this._configContextConsumer=w({context:C,subscribe:!0,callback:async e=>{e&&await this._loadUpdateProcedures()}}),this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="relevance",this._sortOrder="desc",this.cardsFetched=d(),this.allCardsFetched=d(),this.searchTermSet=d(),this.sortTypeSet=d(),this.detailsCardSelected=d(),this.listenOn(window,"deployProgressEnd",()=>{this._modifiedCheckTry=b,this._loadUpdateProcedures()}),this.listenOn(window,"solutionDeleted",()=>{this._modifiedCheckTry=b,this._loadUpdateProcedures()}),this.listenOn(window,"sortTypeChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&(this.sortType=e.detail.sortType,this.sortType==="suggested"&&this._deployedSolutions?.cards.length===0?this._getDeployedSolutions().then(()=>{this.searchSolutions(e.detail)}):this.searchSolutions(e.detail))}),this.listenOn(window,"solutionIDFromAssistant",e=>{this._lookupSolutionById(e.detail)})}static{this.properties={sortType:1,_cards:[16,{},{state:!0}],_isLoading:[16,{},{state:!0}],_modifiedCheckTry:[16,{},{state:!0}],_translations:[16,{},{state:!0}]}}static{this.styles=D}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this._cards=await this._getSolutions()}async setSearchOptions(e){e&&("searchTerm"in e&&(this._textSearch(e.searchTerm),this.searchTermSet.emit({searchTerm:e.searchTerm,scope:"all-solutions"})),"sortType"in e&&(this._sortCards(e),this.sortTypeSet.emit({sortType:e.sortType,scope:"all-solutions"})))}render(){return this._isLoading||this._cards.length?n`<calcite-panel>${this._isLoading?n`<calcite-loader id=solutions-all-panel-loader .label=${this._translations.fetchingSolutions}></calcite-loader>`:n`<calcite-card-group class="card-group" .label=${this._translations.allSolutionCards}>${this._renderCards()}</calcite-card-group>`}</calcite-panel>`:n`<div class="no-solutions">${this._getMeridianSearch()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}_renderCards(){return this._cards.map(e=>n`<solution-details-card .card=${e}></solution-details-card>`)}async _getSolutions(){if(this._configContextConsumer.value){this._isLoading=!0;let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this._configContextConsumer.value?.primarySolutionsGroupId,{num:1e3}),t=e?.cards.length?e.cards:[];if(this.sortType==="new"||this.sortType==="updated"){let s="/Categories/New Release";this.sortType==="updated"&&(s="/Categories/Updated"),t.sort((a,l)=>a.categories.includes(s)&&!l.categories.includes(s)?-1:!a.categories.includes(s)&&l.categories.includes(s)?1:a.categories.includes(s)&&l.categories.includes(s)?a.categories.length-l.categories.length:0)}else if(this.sortType==="suggested"&&this._relatedSolutions.size>0&&this._deployedSolutions?.cards?.length){let s=new Map;for(let o of t){let r=s.get(o.deployCommonId),c=Number(o.deployVersion);(!r||c>r)&&s.set(o.deployCommonId,c)}let a=this._deployedSolutions.cards.filter(o=>{let r=s.get(o.deployCommonId);return r!==void 0&&Number(o.deployVersion)>=r}),l=new Set(a.map(o=>o.deployCommonId));this._relatedSolutions=new Set([...this._relatedSolutions].filter(o=>!l.has(o))),t.sort((o,r)=>{let c=this._relatedSolutions.has(o.deployCommonId),p=this._relatedSolutions.has(r.deployCommonId);return c&&!p?-1:!c&&p?1:0})}let i=t.map(s=>{let a=s.categories.indexOf("/Categories/New Release")>-1,l=s.categories.indexOf("/Categories/Updated")>-1,o=!1,r=!0;return this._deployedSolutions&&(o=this._isSolutionDeployed(s.deployCommonId),r=this._isLatestVersion(s)),s.chip=a?"new":l?"updated":o&&r?"deployed":"none",s.supportReuse=o?!!(o&&!r):!0,s});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards,this._deployedSolutions&&(this._relatedSolutions=I(this._deployedSolutions.cards,this._allCards))),this.cardsFetched.emit(i.length),this._isLoading=!1,i}else return this._isLoading=!1,[]}async _loadUpdateProcedures(){this._isLoading=!0;let e=this._configContextConsumer.value;this._cardsFetcher=new u(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcherDeployed=new u(e.locale,e.orgUrl,e.portalUrl),await this._getDeployedSolutions(),this._cards=await this._getSolutions(),this.allCardsFetched.emit(this._cards),this._isLoading=!1}async _getDeployedSolutions(){let e=this._configContextConsumer.value.authentication,t=this._configContextConsumer.value.userSession;if(e&&t&&e.IsSignedIn){let i=await L(e,t,this._cardsFetcher,this._cardsFetcherDeployed,v,"created");if(i){if(this._modifiedCheckTry>0){if(this._deployedSolutions?.cards.length===i?.cards.length)return this._modifiedCheckTry--,await this._getDeployedSolutions();this._modifiedCheckTry=0}this._deployedSolutions=i}}}_getMeridianSearch(){return n`<div class="solutions-briefcase"><svg viewBox="0 0 64 64" width=140 height=140 xmlns=http://www.w3.org/2000/svg fill=var(--calcite-color-text-3)>${_`<path d="M60.217 54.937l-15.77-15.77-1.414 1.415-3.801-3.8a19.94 19.94 0 1 0-2.451 2.45l3.802 3.802-1.413 1.415 15.767 15.767a1.739 1.739 0 0 0 2.459 0l2.82-2.821a1.742 1.742 0 0 0 0-2.458zM4.9 24A19.1 19.1 0 1 1 24 43.1 19.121 19.121 0 0 1 4.9 24zm32.474 14.693q.69-.63 1.32-1.32l3.774 3.775-1.32 1.32zM59.65 56.83l-2.82 2.82a.97.97 0 0 1-1.327 0L40.3 44.45l4.145-4.15L59.65 55.501a.939.939 0 0 1 0 1.328zM22.343 9.62l.097.795q-.31.038-.619.086a13.635 13.635 0 0 0-11.353 11.775l-.026.217-.795-.084.026-.228a14.44 14.44 0 0 1 12.022-12.47c.215-.034.431-.064.648-.09z" />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":t==="relevance"||t==="title"?(t==="title"&&(this._sortOrder="asc"),this._sortField=t):t==="updated"&&(this._sortField="relevance"),this.sortType=t}_filterCards(e){this._categories=[],e.forEach(t=>{if(t.industry){let i=this._getIndustryValue(t.industry);if(t.domain){let s=this._getDomainValue(t.domain);this._categories.push(`/Categories/${i}/${s}`)}else this._categories.push(`/Categories/${i}`)}})}_getDomainValue(e){return x[e]}_getIndustryValue(e){return e==="AEC"?"AEC":T[e]}_clearFilterCategories(){this._categories=[]}_isSolutionDeployed(e){return!!this._deployedSolutions?.cards?.some(t=>t?.typeKeywords?.some(i=>i.includes("solutionid")&&i.includes(e)))}_isLatestVersion(e){let t=this._deployedSolutions?.cards?.filter(i=>i?.typeKeywords?.some(s=>s.includes("solutionid")&&s.includes(e.deployCommonId)));return!(t&&t.length>0&&t[0].deployVersion!==e.deployVersion)}_lookupSolutionById(e){let t=this._cards.filter(i=>i.typeKeywords.includes(e));t.length>0&&this.detailsCardSelected.emit(t[0])}};f("solutions-all-panel",g);return g},a,b,c,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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import"./Z6SV4EJB.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as E}from"./IDUQIZKF.js";import{o as m,p as h,s as v}from"./XRVUVLK7.js";export default $arcgis.t(([{on:B,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},Y=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},T=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return T},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
3
+ v1.2.0-next.62 */
4
+ import{a as E}from"./XWYQHMRJ.js";import{o as m,p as h,s as v}from"./U72STWZM.js";export default $arcgis.t(([{on:B,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},Y=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},T=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return T},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as y}from"./U2IPPMM4.js";import{a as d}from"./S63HTRIQ.js";import{a as E}from"./KKGQAK4H.js";import{a as s}from"./FFJAKABB.js";import{a as n}from"./QSCOANTT.js";import{a}from"./FOJIKFHL.js";import{a as l}from"./6OK4QGOG.js";import{a as e}from"./4BPWBJER.js";import{a as v}from"./XILQXDEB.js";import{a as r}from"./53QFE7JQ.js";import{a as t}from"./XLHDG4FM.js";import{a as i}from"./4RSHHJ4Y.js";import{a as p}from"./TTMLJD3R.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.2.0-next.62 */
4
+ import{a as y}from"./ET3OO6ME.js";import{a as d}from"./E4CBAFDM.js";import{a as E}from"./VFQZQD4U.js";import{a as s}from"./LFZ3JTH2.js";import{a as n}from"./CNVT4KW2.js";import{a}from"./LF6GOWP7.js";import{a as l}from"./K5PP5PS3.js";import{a as e}from"./KG6ZXBS3.js";import{a as v}from"./T56TNAF3.js";import{a as r}from"./RVOGF5GW.js";import{a as t}from"./XYK3ZJ74.js";import{a as i}from"./CUEWTRE6.js";import{a as p}from"./DADOAOGK.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.62 */
4
+ import{a}from"./B34U5BOQ.js";import"./GEIREK7Z.js";import"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import"./HP5QJTNI.js";import"./U72STWZM.js";import"./V6B7ICFF.js";export{a as SolutionDeployingDialog};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import a from"./LJ2SBS2G.js";import{e as l}from"./TJ3BCTHU.js";export default $arcgis.t(([{i:f}])=>{async function b(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((s,n)=>((n.type==="feature"||n?.type==="subtype-group")&&(s[n.id]={name:n.title,supportsUpdate:void 0}),s),{})}),c(e,t,a)}async function m(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((s,n)=>(s[n.id]={name:n.title,supportsUpdate:void 0},s),{})}),c(e,t,a)}async function c(a,e,t){if(a){let s={},n=Object.keys(e);for(let i=0;i<n.length;i++)try{let r=n[i],o=await y(t,r);await o.load(),await o.when(),s[r]={name:e[r].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(r){console.log(r);continue}return s}else return e}async function p(a,e){let t=await y(a,e);return t?await a.whenLayerView(t):void 0}async function y(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(s=>s.id===e)}),t.length>0?t[0]:void 0}async function T(a){let e=a.map.allLayers.filter(s=>s.type==="feature").toArray().map(s=>s),t=[];return await a.when(()=>{t=e.map(s=>a.whenLayerView(s))}),await Promise.allSettled(t),e}async function I(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(s=>s.load())}),await Promise.allSettled(t),e}async function A(a,e,t,s=!1,n=0){return s&&(await h(a,e,t,!1,void 0,n),await new Promise(i=>setTimeout(i,1e3))),e.highlight(a)}async function L(a){let e=d(a);return Object.keys(e).reduce((t,s)=>{let n=e[s];return t.push(n.layerView.highlight(n.ids)),t},[])}function d(a){return a.reduce((e,t)=>{let s=t.layerView,n=s?.layer.id;return n&&Object.keys(e).indexOf(n)>-1?e[n].ids=[...new Set([...t.selectedIds,...e[n].ids])]:n&&(e[n]={layerView:s,ids:t.selectedIds}),t.workflowType===f.REFINE&&Object.keys(t.refineInfos).forEach(i=>{let r=t.refineInfos[i];Object.keys(e).indexOf(i)>-1&&(e[i].ids=[...new Set([...r.addIds,...e[i].ids])],e[i].ids=e[i].ids.filter(o=>r.removeIds.indexOf(o)<0))}),e},{})}async function u(a,e,t){let s={objectIds:a};e.featureEffect={...t,filter:s},setTimeout(()=>{e.featureEffect=void 0},1300)}async function h(a,e,t,s=!0,n,i=0){let r=await l(a,e.layer),o={target:r.extent};r.count===1&&e.layer.geometryType==="point"&&i&&(o.scale=i),await t.goTo(o),s&&await u(a,e,n)}return{a:b,b:m,c:p,d:y,e:T,f:I,g:A,h:L,i:d,j:h}},a)
3
+ v1.2.0-next.62 */
4
+ import a from"./KTC723NZ.js";import{e as l}from"./6IIEGCHC.js";export default $arcgis.t(([{i:f}])=>{async function b(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((s,n)=>((n.type==="feature"||n?.type==="subtype-group")&&(s[n.id]={name:n.title,supportsUpdate:void 0}),s),{})}),c(e,t,a)}async function m(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((s,n)=>(s[n.id]={name:n.title,supportsUpdate:void 0},s),{})}),c(e,t,a)}async function c(a,e,t){if(a){let s={},n=Object.keys(e);for(let i=0;i<n.length;i++)try{let r=n[i],o=await y(t,r);await o.load(),await o.when(),s[r]={name:e[r].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(r){console.log(r);continue}return s}else return e}async function p(a,e){let t=await y(a,e);return t?await a.whenLayerView(t):void 0}async function y(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(s=>s.id===e)}),t.length>0?t[0]:void 0}async function T(a){let e=a.map.allLayers.filter(s=>s.type==="feature").toArray().map(s=>s),t=[];return await a.when(()=>{t=e.map(s=>a.whenLayerView(s))}),await Promise.allSettled(t),e}async function I(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(s=>s.load())}),await Promise.allSettled(t),e}async function A(a,e,t,s=!1,n=0){return s&&(await h(a,e,t,!1,void 0,n),await new Promise(i=>setTimeout(i,1e3))),e.highlight(a)}async function L(a){let e=d(a);return Object.keys(e).reduce((t,s)=>{let n=e[s];return t.push(n.layerView.highlight(n.ids)),t},[])}function d(a){return a.reduce((e,t)=>{let s=t.layerView,n=s?.layer.id;return n&&Object.keys(e).indexOf(n)>-1?e[n].ids=[...new Set([...t.selectedIds,...e[n].ids])]:n&&(e[n]={layerView:s,ids:t.selectedIds}),t.workflowType===f.REFINE&&Object.keys(t.refineInfos).forEach(i=>{let r=t.refineInfos[i];Object.keys(e).indexOf(i)>-1&&(e[i].ids=[...new Set([...r.addIds,...e[i].ids])],e[i].ids=e[i].ids.filter(o=>r.removeIds.indexOf(o)<0))}),e},{})}async function u(a,e,t){let s={objectIds:a};e.featureEffect={...t,filter:s},setTimeout(()=>{e.featureEffect=void 0},1300)}async function h(a,e,t,s=!0,n,i=0){let r=await l(a,e.layer),o={target:r.extent};r.count===1&&e.layer.geometryType==="point"&&i&&(o.scale=i),await t.goTo(o),s&&await u(a,e,n)}return{a:b,b:m,c:p,d:y,e:T,f:I,g:A,h:L,i:d,j:h}},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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import e from"./7S7C334Z.js";import b from"./JXV6VWAC.js";import a from"./LJ2SBS2G.js";import{b as I,d as S}from"./P4RFQ7SQ.js";import{J as u,L as v,M as R,p as g,ra as L}from"./FN4EUS3M.js";import{k as M}from"./DOZS4G2O.js";import{a as k}from"./UYHXKTBT.js";import{b as $}from"./65Q2WFD6.js";import{E as c,F as d,G as x,I as h,J as w,K as _,h as y,i as s,q as m}from"./XRVUVLK7.js";export default $arcgis.t(([{b:A,d:E,s:f},{a:P,b:C},{a:T}])=>{var O=y`/** @license
3
+ v1.2.0-next.62 */
4
+ import e from"./ERMUBMJN.js";import b from"./HHTFAIXB.js";import a from"./KTC723NZ.js";import{b as I,d as S}from"./JOKQH5HY.js";import{J as u,L as v,M as R,p as g,ra as L}from"./HDZR66W4.js";import{k as M}from"./URCMK5PU.js";import{a as k}from"./P6L7EUVQ.js";import{b as $}from"./HP5QJTNI.js";import{E as c,F as d,G as x,I as h,J as w,K as _,h as y,i as s,q as m}from"./U72STWZM.js";export default $arcgis.t(([{b:A,d:E,s:f},{a:P,b:C},{a:T}])=>{var O=y`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as S}from"./QK32UHKA.js";import{a as x}from"./YUH4EAMP.js";import{a as L}from"./I2XGORZH.js";import{b as I}from"./3NINBJYJ.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{E as $,F as v,G as k,I as p,h as F,i as l,l as h,q as b}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([T,m])=>{var D="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",y=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(f){return f.replaceAll("'","''")}function g(f,e=!1){if(f){let t=new Date(f),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function _(f){if(f!=null){f.value=["",""];let e=f.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=F`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media(prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},C=class extends k{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=D,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=b(),this.filterUpdate=b()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=S(this.el)==="dark"?P:D,!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(_(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&_(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!y.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=g(a[`min${i}`]),t.max=g(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&y.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,E)=>u.localeCompare(E)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,E)=>u-E):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!y.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:T.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?g(Math.floor(n.getTime()),!0):void 0,o=a?g(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&y.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=m.convertDateFormatToIntlOptions("short-date-long-time");return m.formatDate(t,i)}if(e.type==="time-only"){let i=m.convertDateFormatToIntlOptions("long-time");return m.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!y.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${v(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${x("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?x(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return x(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return x("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return x(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?x(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${m.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${m.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${m.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${v(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};I("instant-apps-filter-list",C);return C},"geometry/support/jsonUtils","intl")
3
+ v1.2.0-next.62 */
4
+ import{a as S}from"./43XNXLYA.js";import{a as x}from"./GEIREK7Z.js";import{a as L}from"./HV67SLIL.js";import{b as I}from"./PTLVWRGF.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{E as $,F as v,G as k,I as p,h as F,i as l,l as h,q as b}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([T,m])=>{var D="instant-apps-filter-list calcite-mode-light",P="instant-apps-filter-list calcite-mode-dark",y=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function w(f){return f.replaceAll("'","''")}function g(f,e=!1){if(f){let t=new Date(f),i=`${t.getFullYear()}-${t.getMonth()+1}-${t.getDate()}`;if(e){let s=`${t.getHours()}:${t.getMinutes()}:${t.getSeconds()}`;return`${i} ${s}`}else return i}}function _(f){if(f!=null){f.value=["",""];let e=f.shadowRoot?.querySelectorAll("calcite-input");if(e!=null)for(let t of e)t.value=""}}var O=F`:host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:400}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height: 24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__time-picker-input-container{display:grid;grid-template-columns:auto 32px;width:100%}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:first-child{grid-column:1;grid-row:1}.instant-apps-filter-list__time-picker-input-container calcite-input-time-picker:last-child{grid-column:1;grid-row:2}.instant-apps-filter-list__time-picker-input-container calcite-action{grid-column:2;grid-row:1/span 2;height:64px;width:33px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:400;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1: 12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1: 16px}@media(prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor: 2;--calcite-internal-animation-timing-slow: .6s }}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}`,d={filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",timeInputContainer:"instant-apps-filter-list__time-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description"},C=class extends k{constructor(){super(...arguments),this._messages=L({name:"instant-apps-filter-list",blocking:!0}),this.resetBtnEl=$(),this.panelEl=$(),this.isLayerExpUpdated=!1,this.isInitUpdateComplete=!1,this.baseClass=D,this.autoUpdateUrl=!1,this.closeBtn=!1,this.comboboxOverlayPositioning="absolute",this.openFilters=!1,this.extentSelector=!1,this.filterCount=0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.filterListReset=b(),this.filterUpdate=b()}static{this.properties={loading:16,filterLayerExpressions:16,baseClass:16,initDefExpressions:16,initMapImageExpressions:16,initPointCloudFilters:16,layerExpressions:0,autoUpdateUrl:5,closeBtn:5,closeBtnOnClick:0,comboboxOverlayPositioning:1,closeBtnText:1,openFilters:5,extentSelector:5,extentSelectorConfig:0,urlParams:0,filterCount:9,view:0,zoomBtn:5,resetBtn:5,resetFiltersOnDisconnect:5}}static{this.styles=O}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(s=>s.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(s=>{let n=i.expressions?.find(a=>a.id===s.id);n!=null&&(s.name=n.name)}))}),await Promise.resolve(!0))}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}connectedCallback(){super.connectedCallback(),!(this.layerExpressions==null&&this.view==null)&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.isInitUpdateComplete=!1,this.handleLayerExpressionsUpdate())}async load(){this.baseClass=S(this.el)==="dark"?P:D,!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}willUpdate(e){e.has("view")&&this.handleWhenView(),e.has("layerExpressions")&&(this.isInitUpdateComplete=!1,this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}updated(){this.resetBtnEl.value!=null&&(this.resetBtnEl.value.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){super.disconnectedCallback(),this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l`<calcite-block class=${p(d.operatorDesc)} .heading=${this._messages[t]} expanded>${i}${this.renderFilter(this.filterLayerExpressions[0])}</calcite-block>`}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}handleResetDatePicker(e,t){let i=this.panelEl.value?.querySelector(`[id='${e.id}']`);i&&(_(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t))}handleResetTimePicker(e,t){this.resetTimePicker(e),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}resetTimePicker(e){let t=this.panelEl.value?.querySelector(`[id='${e.id}-min']`),i=this.panelEl.value?.querySelector(`[id='${e.id}-max']`);!t||!i||(t.value=e.min,i.value=e.max)}initInput(e,t){let{type:i,numDisplayOption:s,displayOption:n}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t);if(i==="time-only")return this.renderTimePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:s,displayOption:n}=t,a="";i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date"||i==="time-only")&&(s==="drop-down"||n==="drop-down")?a="combobox":i==="date"?a="datePicker":i==="number"||i==="range"?a="numberRange":i==="time-only"&&(a="timePicker"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&Array.from(s.children).forEach(n=>{n.selected=!1});break}case"datePicker":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&_(s);break}case"numberRange":{t.range=void 0;let s=this.panelEl.value?.querySelector(`[id='${i}']`);s&&(s.minValue=t.min,s.maxValue=t.max);break}case"timePicker":t.range=void 0,this.resetTimePicker(t)}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.value?.querySelector(`[id='${t}']`);i&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables.toArray()??[])?.forEach(e=>{if(!y.includes(e.type))return;let t=e;if(t.type==="point-cloud"){if(!this.initPointCloudFilters)return;t.filters=this.initPointCloudFilters[t.id]}else if(t.type==="map-image")t.allSublayers.forEach(i=>{i.definitionExpression=this.initMapImageExpressions?.[t.id]?.[i.id]??""});else{if(this.initDefExpressions==null)return;t.definitionExpression=this.initDefExpressions[t.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return i?(await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:i})=>i===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${w(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e);if(!i)return!1;let{field:s}=t;if(s!=null)if(this.setExpressionFormat(i,t,s),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let n=(await this.calculateMinMaxStatistics(i,s))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(n[`min${s}`],t.format.places),t.max=this.roundMaxNumberUp(n[`max${s}`],t.format.places)):(t.min=n[`min${s}`],t.max=n[`max${s}`]),t?.range&&Object.keys(t.range).length){let{min:a,max:r}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${a} AND ${r}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=g(a[`min${i}`]),t.max=g(a[`max${i}`]),s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r=r?.replace("+"," "),o=o?.replace("+"," "),r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} '${r??o}'`:t.definitionExpression=`${i} BETWEEN '${r}' AND '${o}'`,!0}}return!1}async updateTimeExpression(e,t){let{field:i,range:s}=t,n=this.findFilterLayer(e);if(!n)return!1;let a=(await this.calculateMinMaxStatistics(n,i))?.[0]?.attributes;if(t.min=a[`min${i}`],t.max=a[`max${i}`],s!=null&&(s?.max!=null||s?.min!=null)){let{min:r,max:o}=s;if(r||o){let c=o&&!r?"<":!o&&r?">":null;return c?t.definitionExpression=`${i} ${c} TIME '${r??o}'`:t.definitionExpression=`${i} BETWEEN TIME '${r}' AND TIME '${o}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let s=this.findFilterLayer(e);if(!s)return!1;await this.getFeatureAttributes(s,t);let n=i.domain.codedValues.reduce((a,{code:r,name:o})=>(a[r]=o,a),{});if(t.codedValues=n,this.sortCodedValues(t),t.selectedFields?.length){let a=t.selectedFields.map(r=>typeof r=="number"?r:`'${w(r)}'`).join(",");return t.definitionExpression=`${t.field} IN (${a})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:s}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,s&&Object.keys(s).length?(e.definitionExpression=`${i} BETWEEN ${s.min} AND ${s.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:s,supportsMaxRecordCountFactor:n}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(s,a,n)&&this.handlePagination(i,r,s,n,a,t)}isLayerSupported(e){return e&&y.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let s=t?.field;if(s){let n=this.getInitDefExprFromLayer(e);i.where=n||"1=1",i.outFields=[s],i.orderByFields=[`${s} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let s=await this.queryForFeatures(e,t,t.outFields[0]);s?.length&&(i.fields=[...new Set(s)],i.type==="string"?i.fields=i.fields.sort((n,a)=>n.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((n,a)=>n-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let s=this.getQueryCount(e,i);return e!=null&&t>s}async handlePagination(e,t,i,s,n,a){let r=this.getQueryCount(i,s),o=[];for(let c=r;c<n;c+=r){let u=t.clone();u.num=i,u.start=c,o.push(this.queryForFeatures(e,u,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(u=>{u?.length&&a.fields&&a.fields.push(...u)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((u,E)=>u.localeCompare(E)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((u,E)=>u-E):a.type==="coded-value"&&a.codedValues?this.sortCodedValues(a):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(s=>{let n=s.attributes?.[i];return n!=null&&n!==""})?.map(s=>s.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!y.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}.geometry;if(s){let n="extent"in s?s:T.fromJSON(s);if(n?.type==="extent"||n?.type==="polygon")return n}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let s=i.fields?.find(({name:a})=>a===t.field),n=s?.domain?.type;t.type=n==="coded-value"||n==="range"?n:t.type,await this.updateExpression(e,t,s)}))}async updateExpression(e,t,i){let s=await this.handleExpressionType(e,t,i);this.requestUpdate(),s&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"time-only":return await this.updateTimeExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateTimeExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateTimeExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,s){let n=this.getInitDefExprFromLayerExpression(t);(s||s===0)&&(i||i===0)&&(s===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=n?`(${n}) AND ${e?.field} BETWEEN ${s} AND ${i}`:`${e?.field} BETWEEN ${s} AND ${i}`,e.active=!0)),e.range={min:s,max:i}}handleCheckboxChange(e,t,i){let s=i.target;t.active=s.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:s,minValue:n}=i.target;this.updateRangeExpressions(e,t,s,n),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:n,type:a}=e;if(e.selectedFields=s.map(({value:r})=>r),s.length){let r=s.map(({value:o})=>typeof o=="number"?o:`'${w(o)}'`);e.definitionExpression=a==="date"?r.map(o=>this.buildDateExpression(o,n)).join(" OR "):a==="time-only"?`${n} IN (${r.map(o=>`TIME ${o}`).join(",")})`:`${n} IN (${r.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let s=i.target,[n,a]=s.valueAsDate,r=n?g(Math.floor(n.getTime()),!0):void 0,o=a?g(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}handleTimePickerRangeChange(e,t,i,s){let n=s.target,a=n.value;e.range==null&&(e.range={min:void 0,max:void 0}),i?e.max&&a>e.max?(e.range.min=e.max,n.value=e.range.min):e.min&&a<e.min?(e.range.min=e.min,n.value=e.range.min):e.range.min=a:e.max&&a>e.max?(e.range.max=e.max,n.value=e.range.max):e.min&&a<e.min?(e.range.max=e.min,n.value=e.range.max):e.range.max=a,(e.range.min||e.range.max)&&(e.definitionExpression=this.constructTimeDefinitionExpression(e.field,e.range.min,e.range.max),e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}constructTimeDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN TIME '${t}' AND TIME '${i}'`:`${e} > TIME '${t}'`:`${e} < TIME '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(document.location.search).get("filter");if(!e){this.filterCount=0;return}let t=e.split(";").map(i=>JSON.parse(i));this.filterCount=this.applyFilters(t)}applyFilters(e){let t=0;return e.forEach(i=>{let s=this.filterLayerExpressions?.find(n=>n.id===i.layerId);s&&s.expressions?.forEach(n=>{n.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(n,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:s,selectedFields:n,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:n}:a==="number"||a==="range"||a==="date"||a==="time-only"?{type:"range",layerId:e.id,expressionId:i.toString(),range:s}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(s=>s.active).map(s=>JSON.stringify(this.createURLParamExpression(i,s)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:s}=e,n=this.view.map?.findLayerById(s)??this.view.map?.findTableById(s);if(n!=null)if(n.type==="point-cloud")this.updateFilterLayerPCLFilter(n,i);else if(n.type==="map-image"){let a=n.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(n,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:s}=i,n=this.getInitDefExprFromLayer(e),a=t?.length>0&&n!=null&&n!==""?`(${t.join(s)}) AND (${n})`:t.length>0?t.join(s):n;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){this.view!=null&&(await this.view.map.loadAll(),await this.handleLayerExpressionsUpdate())}async handleLayerExpressionsUpdate(){this.isInitUpdateComplete||!this.view?.ready||(this.updateInitExpressions(),this.handleURLParams(),this.initExpressions())}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.value?.querySelector(t),s=(n,a)=>{i&&(i.loading=n,i.disabled=a)};if(s(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let n=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(n)}s(!1,!1)}async getZoomToExtent(e){let t=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,i=t.type==="map-image"?t.findSublayerById(e.sublayerId):t;if(i&&i.type!=="point-cloud"&&y.includes(i?.type)){let s=await this.getQueryLayer(i),n=s.createQuery();n.where=s.definitionExpression??"1=1";let a=await s.queryExtent(n);this.zoomToExtent={...a,type:s.geometryType}}}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let s of e.expressions){let{active:n,definitionExpression:a,pointCloudFilters:r}=s;n&&a&&t.push(`(${a})`),n&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let s;if(!String(e).includes("e"))s=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[n,a]=String(e).split("e").map(o=>Number(o)),r=a+t;s=Math[i](+`${n}e${r}`)*Math.pow(10,-t)}return+s.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let s=e?.popupTemplate.fieldInfos?.find(({fieldName:n})=>n===i);s?.format&&(t.format=s.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let t=this.view.map?.allLayers.concat(this.view.map?.allTables.toArray()??[])?.find(({id:i})=>i===e.id);return t?.type==="map-image"?t?.findSublayerById(e.sublayerId):t}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=m.convertDateFormatToIntlOptions("short-date-long-time");return m.formatDate(t,i)}if(e.type==="time-only"){let i=m.convertDateFormatToIntlOptions("long-time");return m.formatTimeOnly(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),s=new Date(e),n=new Date(s.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${n.getHours()}:${n.getMinutes()}:${n.getSeconds()}`,c=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(!this.view?.map)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables.toArray()??[]).forEach(t=>{if(!y.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((s,n)=>(s[n.id]=n.definitionExpression??"",s),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}}),this.isInitUpdateComplete=!0}sortCodedValues(e){typeof e.fields?.[0]=="number"?e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s-n}):e.fields=[...new Set(e.fields)].sort((t,i)=>{let s=e.codedValues?.[t],n=e.codedValues?.[i];return s.localeCompare(n)})}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l`<calcite-panel class=${p(this.baseClass)} ${v(this.panelEl)}><slot slot=header-content name=filter-header-content></slot><slot slot=header-actions-end name=filter-header-actions-end></slot>${x("filter-container",l`<div class=${p(d.filterContainer)}>${e}${t}</div>`)}</calcite-panel>`}renderLoading(){return l`<calcite-loader label="Loading filters..."></calcite-loader>`}renderFilter(e){let{id:t}=e;return e.expressions.map((i,s)=>i.type==="checkbox"||i.type==null?x(`${t}-${s}`,l`<div class=${p(d.filterItemContainer)}><div class=${p(d.filterItemTitle)}><p>${i.name}</p></div><div class=${p(d.checkboxContainer)}><calcite-checkbox id=${i.id.toString()??h} scale=l .checked=${i?.active} @calciteCheckboxChange=${this.handleCheckboxChange.bind(this,e,i)}></calcite-checkbox></div></div>`):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,s=i?.trim()==="OR"?"orOperator":"andOperator",n=this.renderZoomTo(e);return x(e.id,l`<calcite-block .heading=${e.title} .description=${this._messages[s]} .expanded=${this.openFilters?!0:void 0} collapsible>${n}${t}</calcite-block>`)}renderCombobox(e,t){return x("combo-select",l`<label class=${p(d.filterUIItemContainer)}><span>${t.name}</span><calcite-combobox id=${t.id.toString()??h} @calciteComboboxChange=${this.handleComboSelect.bind(this,t,e)} .label=${t.name} .placeholder=${t.placeholder} selection-mode=multiple max-items=6 scale=s .overlayPositioning=${this.comboboxOverlayPositioning}>${t.fields?.map((i,s)=>this.renderComboboxItem(t,i,s))}</calcite-combobox></label>`)}renderComboboxItem(e,t,i){let s=this.createLabel(e,t),n=e?.selectedFields?.includes(t)??!1;return x(`${s}-${i}`,l`<calcite-combobox-item .value=${t} .heading=${`${s}`} .selected=${n}></calcite-combobox-item>`)}renderNumberSlider(e,t){let i=t?.min,s=t?.max,n=t?.step?t.step:1,a=i!=null&&s!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:s,u=[o,c];return a?x(t?.id.toString(),l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.numberInputContainer)}><calcite-slider id=${t?.id.toString()??h} @calciteSliderChange=${this.handleSliderChange.bind(this,t,e)} .min=${i} .max=${s} .minValue=${i} .maxValue=${s} .minLabel=${this._messages.minSlider?.replace("{field}",r)} .maxLabel=${this._messages.maxSlider?.replace("{field}",r)} .step=${n} label-handles snap .value=${u} .groupSeparator=${t?.format?.digitSeparator} precise></calcite-slider></div></label>`):void 0}renderDatePicker(e,t){let{min:i,max:s}=t,n=[t?.range?.min,t?.range?.max];return i!=null&&s!=null?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.dateInputContainer)}><calcite-input-date-picker id=${t?.id.toString()??h} @calciteInputDatePickerChange=${this.handleDatePickerRangeChange.bind(this,t,e)} .min=${i} .max=${s} calendars=1 overlay-positioning=fixed lang=${m.getLocale()??"en"??h} layout=vertical .value=${n} range></calcite-input-date-picker><calcite-action @click=${this.handleResetDatePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetDatePicker} title=${this._messages.resetDatePicker??h} scale=s></calcite-action></div></label>`:void 0}renderTimePicker(e,t){let{min:i,max:s,range:n}=t,a=i!=null&&s!=null,r=n?.min!=null?n.min:i,o=n?.max!=null?n.max:s;return a?l`<label class=${p(d.filterUIItemContainer)}><span>${t?.name}</span><div class=${p(d.timeInputContainer)}><calcite-input-time-picker .id=${`${t?.id.toString()}-min`} .value=${r} overlay-positioning=fixed lang=${m.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!0)}></calcite-input-time-picker><calcite-input-time-picker .id=${`${t?.id.toString()}-max`} .value=${o} overlay-positioning=fixed lang=${m.getLocale()??"en"??h} @calciteInputTimePickerChange=${this.handleTimePickerRangeChange.bind(this,t,e,!1)}></calcite-input-time-picker><calcite-action @click=${this.handleResetTimePicker.bind(this,t,e)} icon=reset .text=${this._messages.resetTimePicker} title=${this._messages.resetTimePicker??h} scale=s></calcite-action></div></label>`:void 0}renderFooter(){let e=this.closeBtnText??this._messages.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l`<div class=${p(d.footer)} slot=footer>${this.resetBtn?l`<calcite-button appearance=outline .width=${t} @click=${this.handleResetFilter} ${v(this.resetBtnEl)}>${this._messages.resetFilter}</calcite-button>`:void 0}${this.closeBtn?l`<calcite-button appearance=solid .width=${t} kind=brand @click=${this.closeBtnOnClick}>${e}</calcite-button>`:void 0}</div>`}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l`<calcite-action id=${t??h} slot=actions-end appearance=transparent .text=${this._messages.zoomTo} title=${this._messages.zoomTo??h} scale=s icon=magnifying-glass-plus @click=${this.handleZoomTo.bind(this,e)}></calcite-action>`:void 0}};I("instant-apps-filter-list",C);return C},"geometry/support/jsonUtils","intl")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
3
+ v1.2.0-next.62 */
4
4
  var s="calcite-mode-light",c="calcite-mode-dark";function a(e){let t=e?.closest(`.${c}, .${s}`);return t==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t?.classList.contains(c)?"dark":"light"}export{a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.62 */
4
+ import c from"./5D5B7JGO.js";import b from"./GUNQEMBA.js";import"./YN7MAH2I.js";import"./ASIRLW76.js";import"./GEIREK7Z.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import"./HP5QJTNI.js";import"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([,,a])=>{return a},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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as F}from"./HAZAWSKY.js";import{a as Y}from"./MUUINRCV.js";import{a as w}from"./L3CVI6KC.js";import{a as J}from"./2FCQYSQR.js";import{a as W,b as H}from"./2HGM3S4H.js";import{b as h,c as E}from"./RD6JTK3X.js";import"./MIARN2ON.js";import{d as N,g as B,h as V,i as X}from"./BCQENLR7.js";import{m as u,p as T}from"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import{b as S,d as C,f as R}from"./2Q2UIIGY.js";import"./ZOSVEKXW.js";import{i as j}from"./OY6L3W2Y.js";import"./EJBHWF54.js";import{a as m,c as M,e as P,i as l}from"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./O4MIVQW2.js";import"./YAIF3EAU.js";import{a as A,b as O}from"./4B42RCTX.js";import{s as L}from"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import{a as f}from"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{b as g}from"./FRKMUBQW.js";import"./Z6SV4EJB.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.2.0-next.62 */
4
+ import{a as F}from"./NDRCKJQN.js";import{a as Y}from"./RFS4CVZ4.js";import{a as w}from"./VCX42K34.js";import{a as J}from"./KDYFZUTB.js";import{a as W,b as H}from"./IFZPP6SX.js";import{b as h,c as E}from"./UIXMR5OS.js";import"./IJQDG7IP.js";import{d as N,g as B,h as V,i as X}from"./JHLUVV4N.js";import{m as u,p as T}from"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import{b as S,d as C,f as R}from"./FTRDBT4T.js";import"./NH3EQDO5.js";import{i as j}from"./GQ2XFFMS.js";import"./JC7RDCAK.js";import{a as m,c as M,e as P,i as l}from"./63OPMGEP.js";import"./X2K7HTRW.js";import"./726JATVV.js";import"./AMPKI3ZS.js";import{a as A,b as O}from"./WGA7J4T3.js";import{s as L}from"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import{a as f}from"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{b as g}from"./U5QDQ3AE.js";import"./V6B7ICFF.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};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import c from"./7FBZLDTR.js";import a from"./VADP3QUO.js";import"./WTKMR5UY.js";import"./MFAJRJR3.js";import"./TJ3BCTHU.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as m}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as w}from"./65Q2WFD6.js";import{G as g,I as i,J as b,h as u,i as s,l as _,q as l,t as f}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([E,o,,y])=>{var F=u`@layer{
3
+ v1.2.0-next.62 */
4
+ import c from"./OUAROGMB.js";import a from"./MCTC2Q7E.js";import"./P6SI3ZH2.js";import"./UK3Y26QU.js";import"./6IIEGCHC.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{a as m}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as w}from"./HP5QJTNI.js";import{G as g,I as i,J as b,h as u,i as s,l as _,q as l,t as f}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([E,o,,y])=>{var F=u`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import"./Z6SV4EJB.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.2.0-next.62 */
4
+ import"./V6B7ICFF.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
3
+ v1.2.0-next.62 */
4
4
  var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as x}from"./4CHUCN2Z.js";import"./3NINBJYJ.js";import c from"./FIMVJEAW.js";import a from"./LJ2SBS2G.js";import"./P4RFQ7SQ.js";import"./TJ3BCTHU.js";import"./FN4EUS3M.js";import"./2KXBQAJW.js";import"./MUUINRCV.js";import"./BCQENLR7.js";import"./HLU4ZUSE.js";import"./GPG4VHYE.js";import"./WOP4PDSB.js";import"./2Q2UIIGY.js";import"./OY6L3W2Y.js";import"./EJBHWF54.js";import"./FOUBW7TI.js";import"./PJK2OHT3.js";import"./YAIF3EAU.js";import"./4B42RCTX.js";import"./DOZS4G2O.js";import"./3V3ARU4S.js";import"./EHYJGYQT.js";import"./2VC52E6A.js";import"./IUBHGF2N.js";import"./S56TUI7H.js";import{a as L}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as C}from"./65Q2WFD6.js";import{E as r,F as h,G as v,I as d,J as $,h as g,i as l,l as y,q as b,t as w}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";export default $arcgis.t(([{f:s},{d:I}])=>{var V=g`@layer{
3
+ v1.2.0-next.62 */
4
+ import{a as x}from"./JQUL7FKM.js";import"./PTLVWRGF.js";import c from"./3GS5C3NN.js";import a from"./KTC723NZ.js";import"./JOKQH5HY.js";import"./6IIEGCHC.js";import"./HDZR66W4.js";import"./INSM2YOC.js";import"./RFS4CVZ4.js";import"./JHLUVV4N.js";import"./RO3ES6UD.js";import"./X3UWVOUF.js";import"./EWXIH5IA.js";import"./FTRDBT4T.js";import"./GQ2XFFMS.js";import"./JC7RDCAK.js";import"./63OPMGEP.js";import"./X2K7HTRW.js";import"./AMPKI3ZS.js";import"./WGA7J4T3.js";import"./URCMK5PU.js";import"./UA6OB7Z3.js";import"./PXKUIO5A.js";import"./A4UPSJJE.js";import"./4MMEN7ON.js";import"./UB7EJKIT.js";import{a as L}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as C}from"./HP5QJTNI.js";import{E as r,F as h,G as v,I as d,J as $,h as g,i as l,l as y,q as b,t as w}from"./U72STWZM.js";import"./V6B7ICFF.js";export default $arcgis.t(([{f:s},{d:I}])=>{var V=g`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a as e,b as t}from"./6MABMJPE.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
3
+ v1.2.0-next.62 */
4
+ import{a as e,b as t}from"./Q4CAV6BE.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.61 */
4
- import{a}from"./UYHXKTBT.js";import"./N7Z27NQM.js";import"./IDUQIZKF.js";import{b as l}from"./65Q2WFD6.js";import{G as n,h as i,i as t,q as s}from"./XRVUVLK7.js";import"./Z6SV4EJB.js";var r=i`/** @license
3
+ v1.2.0-next.62 */
4
+ import{a}from"./P6L7EUVQ.js";import"./OPYKS7CX.js";import"./XWYQHMRJ.js";import{b as l}from"./HP5QJTNI.js";import{G as n,h as i,i as t,q as s}from"./U72STWZM.js";import"./V6B7ICFF.js";var r=i`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");