@esri/solutions-components 1.0.0-next.20250530.1 → 1.0.0-next.20250603

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 (393) hide show
  1. package/dist/cdn/{FHVWZYRK.js → 2A4GEMAW.js} +2 -2
  2. package/dist/cdn/{JM6ORLVQ.js → 2FAWIR6P.js} +2 -2
  3. package/dist/cdn/{CMOLOAHQ.js → 2UN6IWSF.js} +2 -2
  4. package/dist/cdn/{472AWOX3.js → 2VM7OA5E.js} +1 -1
  5. package/dist/cdn/{3EVL4T45.js → 2ZA57CGC.js} +2 -2
  6. package/dist/cdn/{UZC6O522.js → 33FSCQFR.js} +2 -2
  7. package/dist/cdn/{MYGSYGYU.js → 33K737QJ.js} +2 -2
  8. package/dist/cdn/{223GEOHY.js → 366RGXYU.js} +2 -2
  9. package/dist/cdn/{BEBIPBJB.js → 37XXJM5S.js} +1 -1
  10. package/dist/cdn/{6ZIUZPW6.js → 3AUAAUJV.js} +2 -2
  11. package/dist/cdn/{XHQDXY4H.js → 3CMDAXPK.js} +2 -2
  12. package/dist/cdn/3FBV55H2.js +18 -0
  13. package/dist/cdn/{PHA5TYOC.js → 3FNKOWZ6.js} +1 -1
  14. package/dist/cdn/{2T7OWYJF.js → 3J7INGHN.js} +1 -1
  15. package/dist/cdn/{I5YXI6G2.js → 3MFVOQAG.js} +2 -2
  16. package/dist/cdn/{XZBB2UEX.js → 3QLFODAB.js} +1 -1
  17. package/dist/cdn/{7D7PABFH.js → 44H7S4RI.js} +2 -2
  18. package/dist/cdn/{VHCT5ETZ.js → 4A3IVB2K.js} +1 -1
  19. package/dist/cdn/{5LMXTWC2.js → 4CFJ2SMT.js} +2 -2
  20. package/dist/cdn/{H77B36RA.js → 4FJS36XM.js} +2 -2
  21. package/dist/cdn/{USUJ3LC6.js → 4GDXQTTJ.js} +2 -2
  22. package/dist/cdn/{2JM5ZUYC.js → 4GVXF3RJ.js} +2 -2
  23. package/dist/cdn/{ILUBVWJF.js → 4HXEQA7V.js} +1 -1
  24. package/dist/cdn/{YY23O533.js → 4N7K4EPV.js} +1 -1
  25. package/dist/cdn/{HCVBMJG5.js → 4N7Y4SLD.js} +2 -2
  26. package/dist/cdn/{5T6A2NT3.js → 4NEYX376.js} +2 -2
  27. package/dist/cdn/{2ED5S63G.js → 4VW6QB4P.js} +2 -2
  28. package/dist/cdn/{7P23QXUP.js → 4ZO64GTY.js} +2 -2
  29. package/dist/cdn/{KCN6JCXH.js → 52AYXYEN.js} +2 -2
  30. package/dist/cdn/{HQ4JF5OI.js → 5756YADX.js} +2 -2
  31. package/dist/cdn/{JAG5YFJB.js → 57BGJBOO.js} +2 -2
  32. package/dist/cdn/{6KYFPVWD.js → 5GKR6FQH.js} +1 -1
  33. package/dist/cdn/{2C2446YO.js → 5JNNNRPL.js} +2 -2
  34. package/dist/cdn/{P6B7MWVF.js → 5JUK3RD2.js} +2 -2
  35. package/dist/cdn/{EUKMNMGH.js → 5L7SETEA.js} +2 -2
  36. package/dist/cdn/{5A7G5CA4.js → 5PURYCNE.js} +2 -2
  37. package/dist/cdn/{UWYX3KLQ.js → 5PY2QCXV.js} +2 -2
  38. package/dist/cdn/{Z42LHLHR.js → 5PZG4WZ2.js} +1 -1
  39. package/dist/cdn/{XLMYFJTK.js → 5U3O5R7Y.js} +2 -2
  40. package/dist/cdn/{FPPXUL5B.js → 5UT6LXX2.js} +2 -2
  41. package/dist/cdn/{DZSY5JZN.js → 5X5QWLK4.js} +2 -2
  42. package/dist/cdn/{CH5PRHPR.js → 5ZXK637K.js} +2 -2
  43. package/dist/cdn/{AAQNZMHM.js → 625KI7RI.js} +2 -2
  44. package/dist/cdn/{U5GNKKAT.js → 6BNB663M.js} +2 -2
  45. package/dist/cdn/{PND2W5YW.js → 6EAMLBZU.js} +2 -2
  46. package/dist/cdn/{EL4X5ULJ.js → 6GMUYDHZ.js} +2 -2
  47. package/dist/cdn/{RVQUWOMM.js → 6GZFUPXS.js} +1 -1
  48. package/dist/cdn/{CTUHVTSA.js → 6LE4JC6W.js} +2 -2
  49. package/dist/cdn/{UY5WXQ65.js → 6O7FQOIX.js} +1 -1
  50. package/dist/cdn/{YMHHSIXK.js → 6R5LTHVO.js} +2 -2
  51. package/dist/cdn/{QF5QELVM.js → 6VGQW5MK.js} +2 -2
  52. package/dist/cdn/{6BYYEA3R.js → 6VSNZOZV.js} +2 -2
  53. package/dist/cdn/{I5VSPGGJ.js → 6Y7X5HKR.js} +2 -2
  54. package/dist/cdn/{5DFDVK6H.js → 72374WTO.js} +2 -2
  55. package/dist/cdn/{RSMTUN7I.js → 74JXQPXY.js} +2 -2
  56. package/dist/cdn/{CQFA3WBO.js → 75V45OM3.js} +2 -2
  57. package/dist/cdn/{VPRU3HQD.js → 7UK3LDOL.js} +2 -2
  58. package/dist/cdn/{GE3L6RLR.js → 7UUANWXQ.js} +2 -2
  59. package/dist/cdn/{C34H6SGK.js → 7XDQ6QJZ.js} +1 -1
  60. package/dist/cdn/{HYIN2EAD.js → A24PAMGW.js} +2 -2
  61. package/dist/cdn/{6M5LLBFV.js → A6BPCOYC.js} +2 -2
  62. package/dist/cdn/{2B4ODL4I.js → A6HBKPQC.js} +1 -1
  63. package/dist/cdn/{HQW4WYSH.js → A6LXL735.js} +2 -2
  64. package/dist/cdn/{MWA7BHLK.js → ABLJTPNB.js} +2 -2
  65. package/dist/cdn/{ZFWMGQUB.js → AEWLEC5R.js} +2 -2
  66. package/dist/cdn/{LATOYW5P.js → AIJ5IYXI.js} +1 -1
  67. package/dist/cdn/{RY37AQKX.js → AMYCKO4M.js} +2 -2
  68. package/dist/cdn/{KQCFHFAG.js → APRZLZCN.js} +2 -2
  69. package/dist/cdn/{XCCD5RBC.js → APZSVZBW.js} +2 -2
  70. package/dist/cdn/{YR5E3HFV.js → AQYHVXUQ.js} +2 -2
  71. package/dist/cdn/{V3NJ7RMG.js → ARGDR2B4.js} +1 -1
  72. package/dist/cdn/{R7OODGTN.js → ASKMOKLW.js} +2 -2
  73. package/dist/cdn/{O5IG7QMW.js → ATDAOWND.js} +2 -2
  74. package/dist/cdn/{7PDUKDDV.js → AV45F7BZ.js} +2 -2
  75. package/dist/cdn/AXFC7FMV.js +18 -0
  76. package/dist/cdn/{FDZTWT7F.js → BA6IXACI.js} +2 -2
  77. package/dist/cdn/{SGGIVA63.js → BDT7Z5VR.js} +1 -1
  78. package/dist/cdn/{EK4MS2HQ.js → BEOJ6WGN.js} +2 -2
  79. package/dist/cdn/{NNRPVDMT.js → BGXUK5SF.js} +2 -2
  80. package/dist/cdn/{VKCASX3G.js → BKUY276R.js} +2 -2
  81. package/dist/cdn/{GWV77TVF.js → BQTXWTTW.js} +2 -2
  82. package/dist/cdn/{5S33W4IV.js → BTBLSPFB.js} +2 -2
  83. package/dist/cdn/{JTDXHRQI.js → BTV6ZEWW.js} +2 -2
  84. package/dist/cdn/{3GNSS25V.js → BUVWZH45.js} +2 -2
  85. package/dist/cdn/{AX3FGYBT.js → BZDTBACE.js} +2 -2
  86. package/dist/cdn/BZJZ6IXS.js +18 -0
  87. package/dist/cdn/{MDHH56JU.js → C57X3EHF.js} +2 -2
  88. package/dist/cdn/{QSCPIFBP.js → C7LCT6L6.js} +2 -2
  89. package/dist/cdn/{TTJLCKXQ.js → CC4YYOYD.js} +2 -2
  90. package/dist/cdn/{Z3QNUQDB.js → CGOBCP3P.js} +2 -2
  91. package/dist/cdn/{VN7EOIEM.js → CI4LQLVW.js} +2 -2
  92. package/dist/cdn/{NTHWDWQ4.js → CNKJYGTH.js} +2 -2
  93. package/dist/cdn/{CCKIOTSJ.js → CSZGFTFE.js} +1 -1
  94. package/dist/cdn/{M6XUGB2Z.js → CTIVVKPV.js} +2 -2
  95. package/dist/cdn/{JFKJRB56.js → DBDPNXPQ.js} +2 -2
  96. package/dist/cdn/{F3IRPQCO.js → DBR5OOXL.js} +2 -2
  97. package/dist/cdn/{HITNOOU3.js → DFKIBEIZ.js} +2 -2
  98. package/dist/cdn/{QU3EEVJP.js → DHYY26PS.js} +2 -2
  99. package/dist/cdn/{OVK3TD4M.js → DLY245BW.js} +2 -2
  100. package/dist/cdn/{YB3XRPJ5.js → DPWTZQFE.js} +2 -2
  101. package/dist/cdn/{6DT74H27.js → DTXUMQ6N.js} +2 -2
  102. package/dist/cdn/{GJKEPLSZ.js → DUMZWQHJ.js} +1 -1
  103. package/dist/cdn/{XZEDAG2T.js → DWO237TU.js} +2 -2
  104. package/dist/cdn/{UZ7Z2JVT.js → E7CHZ6T4.js} +1 -1
  105. package/dist/cdn/{QMT7LNSC.js → EG6MMGUU.js} +2 -2
  106. package/dist/cdn/{SAQTFWRS.js → EHLYUUVS.js} +2 -2
  107. package/dist/cdn/EN7UO6LR.js +4 -0
  108. package/dist/cdn/{24TZCC7K.js → ET6AHSSP.js} +2 -2
  109. package/dist/cdn/{H3O4ORNM.js → EUPMJ7XB.js} +2 -2
  110. package/dist/cdn/{73DTRGE3.js → EXON27GM.js} +2 -2
  111. package/dist/cdn/{TIPFSDZA.js → F2J5Y7E5.js} +2 -2
  112. package/dist/cdn/{BGVLMLWE.js → F3X2BLQJ.js} +2 -2
  113. package/dist/cdn/{TWSV65O2.js → F4DJRFSB.js} +2 -2
  114. package/dist/cdn/{ORPALJYI.js → F7WITYQU.js} +2 -2
  115. package/dist/cdn/{YUAPYYIK.js → FMHPOGCM.js} +2 -2
  116. package/dist/cdn/{VF44ZDU6.js → FQ5JTH4I.js} +2 -2
  117. package/dist/cdn/{RRKWVYF6.js → FSBIFQHD.js} +2 -2
  118. package/dist/cdn/G5JN5E37.js +4 -0
  119. package/dist/cdn/{ON477UD5.js → GIVVHLJ5.js} +2 -2
  120. package/dist/cdn/{SGUBT5JB.js → GPQOLN4J.js} +2 -2
  121. package/dist/cdn/{VE4I5REF.js → GRCGJF6L.js} +1 -1
  122. package/dist/cdn/{OPHPZAWR.js → H542B5JM.js} +2 -2
  123. package/dist/cdn/{FZXH5UDA.js → H6ETAJI7.js} +2 -2
  124. package/dist/cdn/{TQM2UAMN.js → HAAZRTY4.js} +2 -2
  125. package/dist/cdn/{D6EOKX53.js → HCXLUG62.js} +2 -2
  126. package/dist/cdn/{WSDY2CHI.js → HGZ2ZRG2.js} +1 -1
  127. package/dist/cdn/HID27YYE.js +4 -0
  128. package/dist/cdn/{A5KMT3LM.js → HNMWLQ4P.js} +2 -2
  129. package/dist/cdn/{MHOAA6P3.js → HP47KQIL.js} +2 -2
  130. package/dist/cdn/{CBQHTAYP.js → HQMCVYLV.js} +2 -2
  131. package/dist/cdn/{OSW5BFUP.js → HQR4DBRY.js} +2 -2
  132. package/dist/cdn/{GDZS5JMN.js → HZZSNBS3.js} +2 -2
  133. package/dist/cdn/{EXXZSWW2.js → I65GKBFK.js} +2 -2
  134. package/dist/cdn/{3VKOIUB3.js → IH7CEDCW.js} +2 -2
  135. package/dist/cdn/{LWP7WX74.js → IHNKHDTN.js} +1 -1
  136. package/dist/cdn/{UE3MOFNO.js → IINUYE7O.js} +2 -2
  137. package/dist/cdn/{JQEVQ7FX.js → IMRODQTR.js} +2 -2
  138. package/dist/cdn/{P4QZUNYY.js → ISDGBZLI.js} +2 -2
  139. package/dist/cdn/{MNA6JCMZ.js → ISGD7DRK.js} +2 -2
  140. package/dist/cdn/{AFD4RBBU.js → IV5W2LR4.js} +2 -2
  141. package/dist/cdn/{64FZOXAN.js → J57JECBB.js} +2 -2
  142. package/dist/cdn/{BD737FGF.js → JDRWWKDW.js} +2 -2
  143. package/dist/cdn/{VMWRKCHU.js → JGJJH7WF.js} +2 -2
  144. package/dist/cdn/{WBJLCNZG.js → JOMS47IX.js} +2 -2
  145. package/dist/cdn/{7CR6HYTL.js → JSM2S2QS.js} +2 -2
  146. package/dist/cdn/{GJWN4WP3.js → JYGCMVNR.js} +2 -2
  147. package/dist/cdn/{EMCOKOZ5.js → K2VGV4UZ.js} +2 -2
  148. package/dist/cdn/{DRGQGDS6.js → K3SJYM4F.js} +2 -2
  149. package/dist/cdn/{O2HIRP5H.js → KAWZEU6O.js} +2 -2
  150. package/dist/cdn/{OPPO4362.js → KFM7WUAQ.js} +2 -2
  151. package/dist/cdn/{NEMP2EEG.js → KL7DRDW2.js} +2 -2
  152. package/dist/cdn/{QCU33RPV.js → KNCDLA4E.js} +1 -1
  153. package/dist/cdn/{RC47QK6Z.js → KRV3SETB.js} +2 -2
  154. package/dist/cdn/{HMGYITJ2.js → KSDOE35B.js} +2 -2
  155. package/dist/cdn/{7TZWE6K3.js → KW7ESGLJ.js} +2 -2
  156. package/dist/cdn/{QUVQBXCE.js → KWZCQ3VD.js} +1 -1
  157. package/dist/cdn/{WAQJ4IC3.js → KXEMWZO6.js} +2 -2
  158. package/dist/cdn/{L4KM5BWJ.js → L4ISV5RK.js} +2 -2
  159. package/dist/cdn/{T2TH26PQ.js → L6CX44Z5.js} +2 -2
  160. package/dist/cdn/LA6STTUP.js +18 -0
  161. package/dist/cdn/{YUQ2VNA6.js → LCECO72T.js} +2 -2
  162. package/dist/cdn/{NTASDALK.js → LCQZYUYU.js} +2 -2
  163. package/dist/cdn/{4TE3RTYX.js → LDHWWP3O.js} +2 -2
  164. package/dist/cdn/{ES6XKTKK.js → LLCIDIID.js} +1 -1
  165. package/dist/cdn/{OF5XRF7X.js → LQRRCB3C.js} +2 -2
  166. package/dist/cdn/{F7SKZ7TX.js → LR47QHYS.js} +2 -2
  167. package/dist/cdn/{6FUII4JI.js → LVIZMINF.js} +2 -2
  168. package/dist/cdn/{VVQFUKSX.js → LXPHCBM5.js} +2 -2
  169. package/dist/cdn/{RCFE6H7G.js → LXS2AJEK.js} +2 -2
  170. package/dist/cdn/{EDTDPGLP.js → LYFNBASL.js} +2 -2
  171. package/dist/cdn/{VFHITJHF.js → M26MNGCL.js} +2 -2
  172. package/dist/cdn/{55EBYUZN.js → M5WEVKK2.js} +2 -2
  173. package/dist/cdn/{C556IKNJ.js → M7ITS5EC.js} +1 -1
  174. package/dist/cdn/{V2CTNIEN.js → M7TM6DL5.js} +2 -2
  175. package/dist/cdn/{PDWNCQED.js → MBKEEFO3.js} +2 -2
  176. package/dist/cdn/{7LTABIRE.js → MEW36LMS.js} +2 -2
  177. package/dist/cdn/{77VHGJGG.js → MTAFSOZF.js} +1 -1
  178. package/dist/cdn/{F45IOLFK.js → MZ3C3PLC.js} +2 -2
  179. package/dist/cdn/{AOPVDS2B.js → N2TNRWJF.js} +2 -2
  180. package/dist/cdn/{CPBYDRAF.js → NB2AKH3A.js} +2 -2
  181. package/dist/cdn/NCNFBZEY.js +4 -0
  182. package/dist/cdn/{MCM7XWTF.js → NJS2CKEO.js} +2 -2
  183. package/dist/cdn/{X6MD346Y.js → NKM5PHRC.js} +2 -2
  184. package/dist/cdn/{NIXMWDPM.js → NNZZATKY.js} +1 -1
  185. package/dist/cdn/{DA5DY7HY.js → NQ4ICIBR.js} +1 -1
  186. package/dist/cdn/{GMHH44W3.js → NWZYZHBH.js} +2 -2
  187. package/dist/cdn/{UCRJGUPR.js → NZC7ZEDD.js} +2 -2
  188. package/dist/cdn/{UQ6BMBWB.js → OHOSKCFF.js} +2 -2
  189. package/dist/cdn/{C3P3IFUU.js → OOS7Q5BR.js} +2 -2
  190. package/dist/cdn/{VZJ4LWYJ.js → OPSLTU2D.js} +2 -2
  191. package/dist/cdn/{MKROWF52.js → ORS7WW2L.js} +2 -2
  192. package/dist/cdn/{GZU2CPZN.js → OXLCWOZZ.js} +1 -1
  193. package/dist/cdn/{3J33WXHY.js → OZM5FWRV.js} +2 -2
  194. package/dist/cdn/{NBHU4HTV.js → PHD2JCWF.js} +2 -2
  195. package/dist/cdn/{JSIYTPMP.js → PLHROWIR.js} +2 -2
  196. package/dist/cdn/{W6GET7ZB.js → POKUL5TH.js} +2 -2
  197. package/dist/cdn/{IDBD7LSX.js → PRAQJCBD.js} +1 -1
  198. package/dist/cdn/{BMXZA6UO.js → PWEVKIZK.js} +2 -2
  199. package/dist/cdn/{O5STABPN.js → Q56UGEXW.js} +3 -3
  200. package/dist/cdn/{45VAALBN.js → Q5NAOGAD.js} +2 -2
  201. package/dist/cdn/{2TFAMRO4.js → QH2NM2LV.js} +2 -2
  202. package/dist/cdn/{HAQYF5US.js → QNCDHG6M.js} +2 -2
  203. package/dist/cdn/{QEWSNHU7.js → QSLPNYME.js} +2 -2
  204. package/dist/cdn/{T4BAASGD.js → QUD76AE3.js} +2 -2
  205. package/dist/cdn/{TP3QX5HT.js → QXSB5XMK.js} +2 -2
  206. package/dist/cdn/QY23GFSQ.js +18 -0
  207. package/dist/cdn/{GUTIVTWX.js → QY45MM6H.js} +2 -2
  208. package/dist/cdn/{6XR6SHED.js → QZX4UFCY.js} +2 -2
  209. package/dist/cdn/{OONRY2LS.js → R53AHPX5.js} +2 -2
  210. package/dist/cdn/{7NWNTAMW.js → R6NTO3Q6.js} +2 -2
  211. package/dist/cdn/{ZXPEMYN2.js → RFHDRFGS.js} +2 -2
  212. package/dist/cdn/RFWDAEX2.js +4 -0
  213. package/dist/cdn/{I5SZYEIS.js → RGCRUPHX.js} +2 -2
  214. package/dist/cdn/{KLKHZZWM.js → RHGYSJQA.js} +2 -2
  215. package/dist/cdn/{F56VXVXX.js → RVHAU3CH.js} +2 -2
  216. package/dist/cdn/{JKNNOYXC.js → RWFF5YID.js} +2 -2
  217. package/dist/cdn/{BV76MPA5.js → RWRLALYY.js} +1 -1
  218. package/dist/cdn/{NNQEWRZP.js → S4TXVKLA.js} +2 -2
  219. package/dist/cdn/{SLLAIEW4.js → SAR7MN33.js} +2 -2
  220. package/dist/cdn/{CCBFE5GN.js → SAZR5JKX.js} +2 -2
  221. package/dist/cdn/{JI5ZRG7H.js → SDRAN3OH.js} +2 -2
  222. package/dist/cdn/{VGOCUCWJ.js → SG7ASNOB.js} +2 -2
  223. package/dist/cdn/{W6QIPNCT.js → SH3K2KFX.js} +2 -2
  224. package/dist/cdn/{CXJ53YNZ.js → SIQSKU2H.js} +2 -2
  225. package/dist/cdn/{WS4WNRNQ.js → SJTUSB4R.js} +2 -2
  226. package/dist/cdn/{YF65GC7S.js → SZFRG5K6.js} +2 -2
  227. package/dist/cdn/TALVCF4P.js +4 -0
  228. package/dist/cdn/{UFW2PO2K.js → THS6LBCN.js} +2 -2
  229. package/dist/cdn/{BOKYBROP.js → TMHRPUNK.js} +2 -2
  230. package/dist/cdn/{DV3SVW2J.js → TN5EFH2C.js} +2 -2
  231. package/dist/cdn/{MVQ6IP26.js → TOKE63N3.js} +2 -2
  232. package/dist/cdn/TQMRSAFA.js +4 -0
  233. package/dist/cdn/{N33BUUYD.js → TUAWE5EN.js} +2 -2
  234. package/dist/cdn/{RX6Y3JHB.js → TUCFY7YQ.js} +2 -2
  235. package/dist/cdn/{3YMTKEK5.js → TUHWQGYN.js} +1 -1
  236. package/dist/cdn/{46KNGUML.js → TV65JGDX.js} +2 -2
  237. package/dist/cdn/{ZKX2RDI2.js → U4GLVCNY.js} +2 -2
  238. package/dist/cdn/{NUFMCKHA.js → UHUD34X4.js} +2 -2
  239. package/dist/cdn/{IRHPLBFA.js → URYZV6SO.js} +2 -2
  240. package/dist/cdn/{J3RU5GJE.js → UUR3FD45.js} +2 -2
  241. package/dist/cdn/UWKI6HOQ.js +4 -0
  242. package/dist/cdn/{2ZIEEWZM.js → UWWBX26U.js} +2 -2
  243. package/dist/cdn/{LSMRI35A.js → V22D7OG6.js} +2 -2
  244. package/dist/cdn/{KK5SXYNF.js → V25OBM3C.js} +2 -2
  245. package/dist/cdn/{BVIFPMNY.js → VBK4PPCQ.js} +2 -2
  246. package/dist/cdn/{RHQK4LTS.js → VCDZZS27.js} +2 -2
  247. package/dist/cdn/{EJS4EUMP.js → VEQOPFAV.js} +2 -2
  248. package/dist/cdn/{FNI2QU5Z.js → VG3BBGRI.js} +2 -2
  249. package/dist/cdn/{NLJSCFKM.js → VG7H22YB.js} +2 -2
  250. package/dist/cdn/{GV3IWFPF.js → VNTYBTCD.js} +1 -1
  251. package/dist/cdn/{4NUVQZAI.js → W2CO36SV.js} +1 -1
  252. package/dist/cdn/{WSUH3PG3.js → W56TSBOM.js} +2 -2
  253. package/dist/cdn/{XVDOUKNJ.js → WDA64WDT.js} +1 -1
  254. package/dist/cdn/{Y52LUZET.js → WLKBA7CG.js} +4 -4
  255. package/dist/cdn/{RWFMDK27.js → WPNPWQ6R.js} +2 -2
  256. package/dist/cdn/{VLHN4DFG.js → WZJ3BDMJ.js} +2 -2
  257. package/dist/cdn/{NS4YKFI7.js → XBKSHO76.js} +1 -1
  258. package/dist/cdn/{JN5YR3C5.js → XEIWNXWX.js} +2 -2
  259. package/dist/cdn/{7BQXCVHW.js → XGOYCHBF.js} +2 -2
  260. package/dist/cdn/{KXIA4444.js → XPAOEXYI.js} +2 -2
  261. package/dist/cdn/{DIYKH756.js → XXG6OZIV.js} +2 -2
  262. package/dist/cdn/{WQSGEAXH.js → XY2CJESI.js} +2 -2
  263. package/dist/cdn/{K7LCWOS7.js → XZGQVKSJ.js} +2 -2
  264. package/dist/cdn/YCQOF3LL.js +18 -0
  265. package/dist/cdn/{OWDWZHMV.js → YEMJYN23.js} +2 -2
  266. package/dist/cdn/{4J4NUK33.js → YGZJNXB4.js} +2 -2
  267. package/dist/cdn/{DTXY6OOO.js → YKBIMKAF.js} +2 -2
  268. package/dist/cdn/{RTFLMETG.js → YOSKFWVD.js} +1 -1
  269. package/dist/cdn/{FAND47WD.js → YT5XHWKF.js} +2 -2
  270. package/dist/cdn/{I5QBLE4N.js → Z5DFQP25.js} +2 -2
  271. package/dist/cdn/{P5R5UYXR.js → ZA5OWP4Z.js} +2 -2
  272. package/dist/cdn/{DP5KDHDS.js → ZCGJANKZ.js} +1 -1
  273. package/dist/cdn/{WO34BPRA.js → ZE3BYAS5.js} +2 -2
  274. package/dist/cdn/{YO2OX52L.js → ZRXETQUW.js} +2 -2
  275. package/dist/cdn/{VIJEHZLK.js → ZSUMA456.js} +2 -2
  276. package/dist/cdn/{MLZ4RTHG.js → ZXH6RGBE.js} +2 -2
  277. package/dist/cdn/index.js +2 -2
  278. package/dist/chunks/Auth.js +1 -1
  279. package/dist/chunks/cardFetchingUtils.js +1 -1
  280. package/dist/chunks/common.js +1 -1
  281. package/dist/chunks/deployAppContexts.js +1 -1
  282. package/dist/chunks/downloadUtils.js +1 -1
  283. package/dist/chunks/index.js +1 -1
  284. package/dist/chunks/interfaces.js +1 -1
  285. package/dist/chunks/loadModules.js +1 -1
  286. package/dist/chunks/mapViewUtils.js +1 -1
  287. package/dist/chunks/pciUtils.js +1 -1
  288. package/dist/chunks/popupUtils.js +1 -1
  289. package/dist/chunks/publicNotificationStore.js +1 -1
  290. package/dist/chunks/queryUtils.js +1 -1
  291. package/dist/chunks/runtime.js +1 -1
  292. package/dist/chunks/solution-store.js +1 -1
  293. package/dist/chunks/templates.js +1 -1
  294. package/dist/chunks/useT9n.js +1 -1
  295. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  296. package/dist/components/basemap-gallery/customElement.js +1 -1
  297. package/dist/components/buffer-tools/customElement.js +1 -1
  298. package/dist/components/card-manager/customElement.js +1 -1
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.js +1 -1
  301. package/dist/components/create-related-feature/customElement.js +1 -1
  302. package/dist/components/crowdsource-manager/customElement.js +1 -1
  303. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  304. package/dist/components/deduct-calculator/customElement.js +1 -1
  305. package/dist/components/delete-button/customElement.js +1 -1
  306. package/dist/components/delete-dialog/customElement.js +1 -1
  307. package/dist/components/edit-card/customElement.d.ts +6 -0
  308. package/dist/components/edit-card/customElement.js +21 -27
  309. package/dist/components/feature-details/customElement.js +1 -1
  310. package/dist/components/feature-list/customElement.js +1 -1
  311. package/dist/components/field-selection/customElement.js +78 -63
  312. package/dist/components/floor-filter/customElement.js +1 -1
  313. package/dist/components/info-card/customElement.js +21 -18
  314. package/dist/components/json-editor/customElement.js +1 -1
  315. package/dist/components/layer-list/customElement.js +1 -1
  316. package/dist/components/layer-table/customElement.d.ts +2 -0
  317. package/dist/components/layer-table/customElement.js +106 -80
  318. package/dist/components/map-card/customElement.js +34 -31
  319. package/dist/components/map-card/index.d.ts +3 -1
  320. package/dist/components/map-card/index.js +3 -1
  321. package/dist/components/map-draw-tools/customElement.js +1 -1
  322. package/dist/components/map-fullscreen/customElement.js +1 -1
  323. package/dist/components/map-layer-picker/customElement.js +18 -15
  324. package/dist/components/map-legend/customElement.js +1 -1
  325. package/dist/components/map-picker/customElement.js +2 -2
  326. package/dist/components/map-search/customElement.js +1 -1
  327. package/dist/components/map-select-tools/customElement.js +1 -1
  328. package/dist/components/map-tools/customElement.js +1 -1
  329. package/dist/components/pci-calculator/customElement.js +1 -1
  330. package/dist/components/pdf-download/customElement.js +1 -1
  331. package/dist/components/public-notification/customElement.js +1 -1
  332. package/dist/components/refine-selection/customElement.js +1 -1
  333. package/dist/components/selection-tool/customElement.js +1 -1
  334. package/dist/components/solution-article-card/customElement.js +1 -1
  335. package/dist/components/solution-configuration/customElement.js +1 -1
  336. package/dist/components/solution-configure-panel/customElement.js +1 -1
  337. package/dist/components/solution-configure-titles/customElement.js +1 -1
  338. package/dist/components/solution-contents/customElement.js +1 -1
  339. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  340. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  341. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  342. package/dist/components/solution-deployed-card/customElement.js +1 -1
  343. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  344. package/dist/components/solution-details-card/customElement.js +1 -1
  345. package/dist/components/solution-details-panel/customElement.js +1 -1
  346. package/dist/components/solution-item/customElement.js +1 -1
  347. package/dist/components/solution-item-accordion/customElement.js +1 -1
  348. package/dist/components/solution-item-details/customElement.js +1 -1
  349. package/dist/components/solution-item-icon/customElement.js +1 -1
  350. package/dist/components/solution-item-sharing/customElement.js +1 -1
  351. package/dist/components/solution-items-diagram/customElement.js +1 -1
  352. package/dist/components/solution-organization-variables/customElement.js +1 -1
  353. package/dist/components/solution-resource-item/customElement.js +1 -1
  354. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  355. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  356. package/dist/components/solution-template-data/customElement.js +1 -1
  357. package/dist/components/solution-variables/customElement.js +1 -1
  358. package/dist/components/solutions-all-panel/customElement.js +1 -1
  359. package/dist/components/solutions-all-shell/customElement.js +1 -1
  360. package/dist/components/solutions-article-panel/customElement.js +1 -1
  361. package/dist/components/solutions-articles/customElement.js +1 -1
  362. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  363. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  364. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  365. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  366. package/dist/components/spatial-ref/customElement.js +1 -1
  367. package/dist/components/store-manager/customElement.js +1 -1
  368. package/dist/docs/api.json +46 -1
  369. package/dist/docs/docs.json +43 -1
  370. package/dist/docs/vscode.html-custom-data.json +6 -1
  371. package/dist/docs/web-types.json +25 -2
  372. package/dist/index.d.ts +1 -0
  373. package/dist/index.js +1 -1
  374. package/dist/loader.js +2 -2
  375. package/dist/types/lumina.d.ts +2 -1
  376. package/dist/types/preact.d.ts +2 -1
  377. package/dist/types/react.d.ts +2 -1
  378. package/dist/types/stencil.d.ts +2 -1
  379. package/package.json +1 -1
  380. package/dist/cdn/2AEJNC2Y.js +0 -4
  381. package/dist/cdn/2BATVN26.js +0 -18
  382. package/dist/cdn/2N6IKQAJ.js +0 -4
  383. package/dist/cdn/6Z5XKLIH.js +0 -4
  384. package/dist/cdn/CZCNKDL6.js +0 -4
  385. package/dist/cdn/DVMPKT5N.js +0 -4
  386. package/dist/cdn/GH3PRS32.js +0 -18
  387. package/dist/cdn/GXKAH7DD.js +0 -18
  388. package/dist/cdn/HTW2BPA3.js +0 -18
  389. package/dist/cdn/IDRORHF7.js +0 -18
  390. package/dist/cdn/L2QQ7XWU.js +0 -4
  391. package/dist/cdn/N3A5PMYA.js +0 -4
  392. package/dist/cdn/PRILEYGG.js +0 -4
  393. package/dist/cdn/UWFHS56N.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{b as ee}from"./GZU2CPZN.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./U5GNKKAT.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./KLKHZZWM.js"),"./instant-apps-control-panel.entry.js":()=>import("./HAQYF5US.js"),"./instant-apps-create.entry.js":()=>import("./ON477UD5.js"),"./instant-apps-export-views.entry.js":()=>import("./DRGQGDS6.js"),"./instant-apps-export.entry.js":()=>import("./GUTIVTWX.js"),"./instant-apps-filter-list.entry.js":()=>import("./W6GET7ZB.js"),"./instant-apps-header.entry.js":()=>import("./2C2446YO.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./HQW4WYSH.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./Z3QNUQDB.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./UZC6O522.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./H3O4ORNM.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./3GNSS25V.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./MNA6JCMZ.js"),"./instant-apps-landing-page.entry.js":()=>import("./TQM2UAMN.js"),"./instant-apps-language-switcher.entry.js":()=>import("./V2CTNIEN.js"),"./instant-apps-language-translator.entry.js":()=>import("./64FZOXAN.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./DIYKH756.js"),"./instant-apps-measurement.entry.js":()=>import("./NEMP2EEG.js"),"./instant-apps-popover.entry.js":()=>import("./RHQK4LTS.js"),"./instant-apps-popovers.entry.js":()=>import("./24TZCC7K.js"),"./instant-apps-scoreboard.entry.js":()=>import("./VZJ4LWYJ.js"),"./instant-apps-sign-in.entry.js":()=>import("./BVIFPMNY.js"),"./instant-apps-social-share.entry.js":()=>import("./XCCD5RBC.js"),"./instant-apps-splash.entry.js":()=>import("./XZEDAG2T.js"),"./instant-apps-time-filter.entry.js":()=>import("./FPPXUL5B.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
3
+ v1.0.0-next.20250603 */
4
+ import{b as ee}from"./OXLCWOZZ.js";var Ue=ee({"./instant-apps-app-guide.entry.js":()=>import("./6BNB663M.js"),"./instant-apps-ckeditor-wrapper_3.entry.js":()=>import("./RHGYSJQA.js"),"./instant-apps-control-panel.entry.js":()=>import("./QNCDHG6M.js"),"./instant-apps-create.entry.js":()=>import("./GIVVHLJ5.js"),"./instant-apps-export-views.entry.js":()=>import("./K3SJYM4F.js"),"./instant-apps-export.entry.js":()=>import("./QY45MM6H.js"),"./instant-apps-filter-list.entry.js":()=>import("./POKUL5TH.js"),"./instant-apps-header.entry.js":()=>import("./5JNNNRPL.js"),"./instant-apps-interactive-legend-classic.entry.js":()=>import("./A6LXL735.js"),"./instant-apps-interactive-legend-count_2.entry.js":()=>import("./CGOBCP3P.js"),"./instant-apps-interactive-legend-group-legend-element-caption.entry.js":()=>import("./33FSCQFR.js"),"./instant-apps-interactive-legend-group-legend-element_5.entry.js":()=>import("./EUPMJ7XB.js"),"./instant-apps-interactive-legend.entry.js":()=>import("./BUVWZH45.js"),"./instant-apps-keyboard-shortcuts.entry.js":()=>import("./ISGD7DRK.js"),"./instant-apps-landing-page.entry.js":()=>import("./HAAZRTY4.js"),"./instant-apps-language-switcher.entry.js":()=>import("./M7TM6DL5.js"),"./instant-apps-language-translator.entry.js":()=>import("./J57JECBB.js"),"./instant-apps-measurement-tool.entry.js":()=>import("./XXG6OZIV.js"),"./instant-apps-measurement.entry.js":()=>import("./KL7DRDW2.js"),"./instant-apps-popover.entry.js":()=>import("./VCDZZS27.js"),"./instant-apps-popovers.entry.js":()=>import("./ET6AHSSP.js"),"./instant-apps-scoreboard.entry.js":()=>import("./OPSLTU2D.js"),"./instant-apps-sign-in.entry.js":()=>import("./VBK4PPCQ.js"),"./instant-apps-social-share.entry.js":()=>import("./APZSVZBW.js"),"./instant-apps-splash.entry.js":()=>import("./DWO237TU.js"),"./instant-apps-time-filter.entry.js":()=>import("./5UT6LXX2.js")});var ze="instant-apps-components",P={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0,watchCallback:!0},Fe=Object.defineProperty,De=(e,t)=>{for(var s in t)Fe(e,s,{get:t[s],enumerable:!0})},K=new WeakMap,b=e=>K.get(e),Ct=(e,t)=>K.set(t.$lazyInstance$=e,t),He=(e,t)=>{let s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onInstancePromise$=new Promise(n=>s.$onInstanceResolve$=n),s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],K.set(e,s)},te=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),se=new Map,Be=(e,t,s)=>{let n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;let l=se.get(r);if(l)return l[n];return Ue(`./${r}.entry.js`).then(i=>(se.set(r,i),i[n]),w)},j=new Map,qe="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",ne="http://www.w3.org/1999/xlink",R=typeof window<"u"?window:{},m=R.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},We=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),Me=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),B=!1,re=[],he=[],Ge=(e,t)=>s=>{e.push(s),B||(B=!0,t&&g.$flags$&4?Q(q):g.raf(q))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){w(s)}e.length=0},q=()=>{le(re),le(he),(B=re.length>0)&&g.raf(q)},Q=e=>Me().then(e),Ke=Ge(he,!0),It=e=>{let t=new URL(e,g.$resourcesUrl$);return t.origin!==R.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Je=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var Ze={};De(Ze,{err:()=>ye,map:()=>Ve,ok:()=>W,unwrap:()=>et,unwrapErr:()=>tt});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function Ve(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(n=>W(n)):W(s)}if(e.isErr){let s=e.value;return ye(s)}throw"should never get here"}var et=e=>{if(e.isOk)return e.value;throw e.value},tt=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t="")=>()=>{},st=(e,t)=>()=>{},me=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,a=!1,o=[],f=d=>{for(let c=0;c<d.length;c++)n=d[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!Y(n))&&(n=String(n)),i&&a?o[o.length-1].$text$+=n:o.push(i?U(null,n):n),a=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{let d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(c=>d[c]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,lt);let $=U(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$.$name$=l,$},U=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},nt={},rt=e=>e&&e.$tag$===nt,lt={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(at)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),at=e=>{if(typeof e.vtag=="function"){let s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),me(e.vtag,s,...e.vchildren||[])}let t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},ot=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,it=e=>b(e).$hostElement$,Ot=(e,t,s)=>{let n=it(e);return{emit:r=>Se(n,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:r})}},Se=(e,t,s)=>{let n=g.ce(t,s);return e.dispatchEvent(n),n},ie=new WeakMap,$t=(e,t,s)=>{let n=j.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,j.set(e,n)},ct=(e,t,s)=>{var n;let r=be(t),l=j.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=ie.get(e),a;if(i||ie.set(e,i=new Set),!i.has(r)){{a=m.createElement("style"),a.innerHTML=l;let o=(n=g.$nonce$)!=null?n:ge(m);o!=null&&a.setAttribute("nonce",o),(!(t.$flags$&1)||t.$flags$&1&&e.nodeName!=="HEAD")&&e.insertBefore(a,e.querySelector("link"))}t.$flags$&4&&(a.innerHTML+=pe),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ft=e=>{let t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=L("attachStyles",t.$tagName$),l=ct(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&n&2&&(s["s-sc"]=l,s.classList.add(l+"-h"),n&2&&s.classList.add(l+"-s")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=te(e,t),a=t.toLowerCase();if(t==="class"){let o=e.classList,f=ce(s),$=ce(n);o.remove(...f.filter(d=>d&&!$.includes(d))),o.add(...$.filter(d=>d&&!f.includes(d)))}else if(t==="style"){for(let o in s)(!n||n[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(let o in n)(!s||n[o]!==s[o])&&(o.includes("-")?e.style.setProperty(o,n[o]):e.style[o]=n[o])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):te(R,a)?t=a.slice(2):t=a[2]+t.slice(3),s||n){let o=t.endsWith(ke);t=t.replace(ut,""),s&&g.rel(e,t,s,o),n&&g.ael(e,t,n,o)}}else{let o=Y(n);if((i||o&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{let $=n??"";t==="list"?i=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let f=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,f=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(f?e.removeAttributeNS(ne,t):e.removeAttribute(t)):(!i||l&4||r)&&!o&&(n=n===!0?"":n,f?e.setAttributeNS(ne,t,n):e.setAttribute(t,n))}}},dt=/\s/,ce=e=>e?e.split(dt):[],ke="Capture",ut=new RegExp(ke+"$"),Te=(e,t,s)=>{let n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(let i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(let i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var A,M,C,z=!1,F=!1,J=!1,S=!1,D=(e,t,s,n)=>{var r;let l=t.$children$[s],i=0,a,o,f;if(z||(J=!0,l.$tag$==="slot"&&(A&&n.classList.add(A+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)a=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)a=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),a=l.$elm$=m.createElementNS(S?Qe:Ye,!z&&P.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!a.getRootNode().querySelector("body")&&P.scoped&&Je(A)&&a["s-si"]!==A&&a.classList.add(a["s-si"]=A),V(a,n),l.$children$)for(i=0;i<l.$children$.length;++i)o=D(e,l,i,a),o&&a.appendChild(o);l.$tag$==="svg"?S=!1:a.tagName==="foreignObject"&&(S=!0)}return a["s-hn"]=C,l.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=M,a["s-sn"]=l.$name$||"",a["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,f=e&&e.$children$&&e.$children$[s],f&&f.$tag$===l.$tag$&&e.$elm$&&I(e.$elm$,!1)),a},I=(e,t)=>{g.$flags$|=1;let s=Array.from(e.childNodes);if(e["s-sr"]&&P.experimentalSlotFixes){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===C&&s.push(n)}for(let n=s.length-1;n>=0;n--){let r=s[n];r["s-hn"]!==C&&r["s-ol"]&&(E(Ee(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,J=!0),t&&I(r,t)}g.$flags$&=-2},xe=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,a;for(i.shadowRoot&&i.tagName===C&&(i=i.shadowRoot);r<=l;++r)n[r]&&(a=D(null,s,r,e),a&&(n[r].$elm$=a,E(i,a,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){let r=e[n];if(r){let l=r.$elm$;_e(r),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():I(l,!0),l.remove())}}},vt=(e,t,s,n,r=!1)=>{let l=0,i=0,a=0,o=0,f=t.length-1,$=t[0],d=t[f],c=n.length-1,u=n[0],p=n[c],h,y;for(;l<=f&&i<=c;)if($==null)$=t[++l];else if(d==null)d=t[--f];else if(u==null)u=n[++i];else if(p==null)p=n[--c];else if(N($,u,r))_($,u,r),$=t[++l],u=n[++i];else if(N(d,p,r))_(d,p,r),d=t[--f],p=n[--c];else if(N($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&I($.$elm$.parentNode,!1),_($,p,r),E(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],p=n[--c];else if(N(d,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&I(d.$elm$.parentNode,!1),_(d,u,r),E(e,d.$elm$,$.$elm$),d=t[--f],u=n[++i];else{for(a=-1,o=l;o<=f;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){a=o;break}a>=0?(y=t[a],y.$tag$!==u.$tag$?h=D(t&&t[i],s,a,e):(_(y,u,r),t[a]=void 0,h=y.$elm$),u=n[++i]):(h=D(t&&t[i],s,i,e),u=n[++i]),h&&E(Ee($.$elm$),h,Z($.$elm$))}l>f?xe(e,n[c+1]==null?null:n[c+1].$elm$,s,n,i,c):i>c&&Le(t,l,f)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,Ee=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,_=(e,t,s=!1)=>{let n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,a=t.$text$,o;a===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!z||Te(e,t,S),r!==null&&l!==null?vt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),xe(n,null,t,l,0,l.length-1)):!s&&P.updatable&&r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(o=n["s-cr"])?o.parentNode.textContent=a:e.$text$!==a&&(n.data=a)},we=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let n=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,n;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"]&&!P.experimentalSlotFixes)if(de(t,l)){let i=T.find(a=>a.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],T.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&T.map(a=>{de(a.$nodeToRelocate$,t["s-sn"])&&(i=T.find(o=>o.$nodeToRelocate$===t),i&&!a.$slotRefNode$&&(a.$slotRefNode$=i.$slotRefNode$))})}else T.some(i=>i.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}r.nodeType===1&&Ae(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},E=(e,t,s)=>{let n=e?.insertBefore(t,s);return V(t,e),n},Pe=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...Pe(e.parentElement)),t},V=(e,t,s=!1)=>{var n;if(e&&t&&e.nodeType===1){let r=new Set(Pe(t).filter(Boolean));if(r.size&&((n=e.classList)==null||n.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let l of Array.from(e.childNodes))V(l,e,!0)}},pt=(e,t,s=!1)=>{var n,r,l,i;let a=e.$hostElement$,o=e.$cmpMeta$,f=e.$vnode$||U(null,null),$=rt(t)?t:me(null,null,t);if(C=a.tagName,o.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},o.$attrsToReflect$.map(([d,c])=>$.$attrs$[c]=a[d])),s&&$.$attrs$)for(let d of Object.keys($.$attrs$))a.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=a[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=f.$elm$=a.shadowRoot||a,A=a["s-sc"],z=(o.$flags$&1)!==0,M=a["s-cr"],F=!1,_(f,$,s);{if(g.$flags$|=1,J){Ae($.$elm$);for(let d of T){let c=d.$nodeToRelocate$;if(!c["s-ol"]){let u=m.createTextNode("");u["s-nr"]=c,E(c.parentNode,c["s-ol"]=u,c)}}for(let d of T){let c=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){let p=u.parentNode,h=u.nextSibling;{let y=(n=c["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===c["s-sn"]&&p===v.parentNode){for(v=v.nextSibling;v===c||v?.["s-sr"];)v=v?.nextSibling;if(!v||!v["s-nr"]){h=v;break}}y=y.previousSibling}}(!h&&p!==c.parentNode||c.nextSibling!==h)&&c!==h&&(!c["s-hn"]&&c["s-ol"]&&(c["s-hn"]=c["s-ol"].parentNode.nodeName),E(p,c,h),c.nodeType===1&&(c.hidden=(l=c["s-ih"])!=null?l:!1)),c&&typeof u["s-rf"]=="function"&&u["s-rf"](c)}else c.nodeType===1&&(s&&(c["s-ih"]=(i=c.hidden)!=null?i:!1),c.hidden=!0)}}F&&we($.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Re=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ke(()=>ht(e,t))},ht=(e,t)=>{let s=e.$hostElement$,n=L("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t?(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,a])=>x(r,i,a)),e.$queuedListeners$=void 0),l=x(r,"componentWillLoad")):l=x(r,"componentWillUpdate"),l=ue(l,()=>x(r,"componentWillRender")),n(),ue(l,()=>yt(e,r,t))},ue=(e,t)=>gt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",yt=async(e,t,s)=>{var n;let r=e.$hostElement$,l=L("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ft(e);let a=L("render",e.$cmpMeta$.$tagName$);mt(e,t,r,s),i&&(i.map(o=>o()),r["s-rc"]=void 0),a(),l();{let o=(n=r["s-p"])!=null?n:[],f=()=>St(e);o.length===0?f():(Promise.all(o).then(f),e.$flags$|=4,o.length=0)}},X=null,mt=(e,t,s,n)=>{try{X=t,t=t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){w(r,e.$hostElement$)}return X=null,null},Nt=()=>X,St=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=L("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;x(r,"componentDidRender"),e.$flags$&64?(x(r,"componentDidUpdate"),n()):(e.$flags$|=64,Ie(s),x(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Ce()),e.$onInstanceResolve$(s),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>H(e,!1)),e.$flags$&=-517},jt=e=>{{let t=b(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&H(t,!1),s}},Ce=e=>{Ie(m.documentElement),Q(()=>Se(R,"appload",{detail:{namespace:ze}}))},x=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){w(n)}},Ie=e=>{var t;return e.classList.add((t=P.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>b(e).$instanceValues$.get(t),kt=(e,t,s,n)=>{let r=b(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);let l=r.$hostElement$,i=r.$instanceValues$.get(t),a=r.$flags$,o=r.$lazyInstance$;s=ot(s,n.$members$[t][0]);let f=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!f;if((!(a&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),o)){if(n.$watchers$&&a&128){let d=n.$watchers$[t];d&&d.map(c=>{try{o[c](s,i,t)}catch(u){w(u,l)}})}(a&18)===2&&H(r,!1)}},Oe=(e,t,s)=>{var n,r;let l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);let i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([a,[o]])=>{o&31||s&2&&o&32?Object.defineProperty(l,a,{get(){return bt(this,a)},set(f){kt(this,a,f,t)},configurable:!0,enumerable:!0}):s&1&&o&64&&Object.defineProperty(l,a,{value(...f){var $;let d=b(this);return($=d?.$onInstancePromise$)==null?void 0:$.then(()=>{var c;return(c=d.$lazyInstance$)==null?void 0:c[a](...f)})}})}),s&1){let a=new Map;l.attributeChangedCallback=function(o,f,$){g.jmp(()=>{var d;let c=a.get(o);if(this.hasOwnProperty(c))$=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==$)return;if(c==null){let u=b(this),p=u?.$flags$;if(p&&!(p&8)&&p&128&&$!==f){let h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[o];y?.forEach(v=>{h[v]!=null&&h[v].call(h,$,f,o)})}return}}this[c]=$===null&&typeof this[c]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([o,f])=>f[0]&15).map(([o,f])=>{var $;let d=f[1]||o;return a.set(d,o),f[0]&512&&(($=t.$attrsToReflect$)==null||$.push([o,d])),d})]))}}return e},Tt=async(e,t,s,n)=>{let r;if((t.$flags$&32)===0){if(t.$flags$|=32,s.$lazyBundleId$){let o=Be(s);if(o&&"then"in o){let $=st();r=await o,$()}else r=o;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Oe(r,s,2),r.isProxied=!0);let f=L("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,f(),G(t.$lazyInstance$)}else{r=e.constructor;let o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);let f=be(s);if(!j.has(f)){let $=L("registerStyles",s.$tagName$);$t(f,o,!!(s.$flags$&1)),$()}}}let l=t.$ancestorComponent$,i=()=>H(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()},G=e=>{x(e,"connectedCallback")},xt=e=>{if((g.$flags$&1)===0){let t=b(e),s=t.$cmpMeta$,n=L("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t?.$lazyInstance$?G(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>G(t.$lazyInstance$));else{t.$flags$|=1,s.$flags$&12&&Lt(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){let i=e[r];delete e[r],e[r]=i}}),Tt(e,t,s)}n()}},Lt=e=>{let t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,E(e,t,e.firstChild)},ve=e=>{x(e,"disconnectedCallback")},Et=async e=>{if((g.$flags$&1)===0){let t=b(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t?.$lazyInstance$?ve(t.$lazyInstance$):t?.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ve(t.$lazyInstance$))}},Ut=(e,t={})=>{var s;let n=L(),r=[],l=t.exclude||[],i=R.customElements,a=m.head,o=a.querySelector("meta[charset]"),f=m.createElement("style"),$=[],d,c=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var y;let v={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};v.$flags$&4&&(u=!0),v.$members$=h[2],v.$listeners$=h[3],v.$attrsToReflect$=[],v.$watchers$=(y=h[4])!=null?y:{};let O=v.$tagName$,je=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,He(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){let k=b(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),c?$.push(this):g.jmp(()=>xt(this))}disconnectedCallback(){g.jmp(()=>Et(this))}componentOnReady(){return b(this).$onReadyPromise$}};v.$lazyBundleId$=p[0],!l.includes(O)&&!i.get(O)&&(r.push(O),i.define(O,Oe(je,v,1)))})}),r.length>0&&(u&&(f.textContent+=pe),f.textContent+=r.sort()+qe,f.innerHTML.length)){f.setAttribute("data-styles","");let p=(s=g.$nonce$)!=null?s:ge(m);p!=null&&f.setAttribute("nonce",p),a.insertBefore(f,o?o.nextSibling:a.firstChild)}c=!1,$.length?$.map(p=>p.connectedCallback()):g.jmp(()=>d=setTimeout(Ce,30)),n()},zt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{let a=At(e,r),o=wt(t,i),f=_t(r);g.ael(a,l,o,f),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(a,l,o,f))})},wt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){w(r)}},At=(e,t)=>t&8?R:e,_t=e=>We?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;export{Ct as a,It as b,me as c,nt as d,it as e,Ot as f,Nt as g,jt as h,Ut as i,zt as j};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as h,b as d}from"./R7OODGTN.js";import{b as c}from"./CCKIOTSJ.js";import{D as o,I as n,c as r,d as a,o as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var m=r`/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as h,b as d}from"./ASKMOKLW.js";import{b as c}from"./CSZGFTFE.js";import{D as o,I as n,c as r,d as a,o as s}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var m=r`/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as t}from"./2T7OWYJF.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.0.0-next.20250603 */
4
+ import{a as t}from"./3J7INGHN.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as I}from"./WQSGEAXH.js";import"./5DFDVK6H.js";import{d as C}from"./WBJLCNZG.js";import{a as s}from"./6KYFPVWD.js";import"./3YMTKEK5.js";import{a as h,b as r}from"./R7OODGTN.js";import{a as x}from"./TP3QX5HT.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./RTFLMETG.js";import"./GZU2CPZN.js";var F=g`@layer{/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as I}from"./XY2CJESI.js";import"./72374WTO.js";import{d as C}from"./JOMS47IX.js";import{a as s}from"./5GKR6FQH.js";import"./TUHWQGYN.js";import{a as h,b as r}from"./ASKMOKLW.js";import{a as x}from"./QXSB5XMK.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var F=g`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as u,b as m}from"./R7OODGTN.js";import{b as g}from"./CCKIOTSJ.js";import{D as d,I as p,c as o,d as l}from"./RTFLMETG.js";import"./GZU2CPZN.js";var f=o`/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as u,b as m}from"./ASKMOKLW.js";import{b as g}from"./CSZGFTFE.js";import{D as d,I as p,c as o,d as l}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var f=o`/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
3
+ v1.0.0-next.20250603 */
4
4
  var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as e,b as t}from"./VHCT5ETZ.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.0.0-next.20250603 */
4
+ import{a as e,b as t}from"./4A3IVB2K.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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as r}from"./TP3QX5HT.js";import{D as l,G as i,I as n,c as o,d as t}from"./RTFLMETG.js";import"./GZU2CPZN.js";var s=o`/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a as r}from"./QXSB5XMK.js";import{D as l,G as i,I as n,c as o,d as t}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var s=o`/** @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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
3
+ v1.0.0-next.20250603 */
4
4
  var i=(e,t="v")=>{if(!e)return e;let n=e.indexOf("?")>-1?"&":"?";return e+=`${n}${t}=${new Date().getTime()}`,e};export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./LSMRI35A.js";import"./TTJLCKXQ.js";import"./HQ4JF5OI.js";import{C as Ce,E as ke,c as Re,z as Se}from"./PHA5TYOC.js";import{a as Me,c as g,e as Ee,h as ce}from"./5DFDVK6H.js";import"./GZU2CPZN.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
3
+ v1.0.0-next.20250603 */
4
+ import{a as E,b as B,c as Ae,d as re,f as xe,g as ze,h as ve,i as Pe,k as Te,q as le,u as $e,v as K,w as fe,x as Fe,y as Ue}from"./V22D7OG6.js";import"./CC4YYOYD.js";import"./5756YADX.js";import{C as Ce,E as ke,c as Re,z as Se}from"./3FNKOWZ6.js";import{a as Me,c as g,e as Ee,h as ce}from"./72374WTO.js";import"./OXLCWOZZ.js";var Ne=96;function N(a){return a?a/72*Ne:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},k=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,A=function(e){(e.children||[]).forEach(A),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(A),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=k(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},je=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=je,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=N(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(N(s)+oe)/2:(N(s)-N(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let k=o[L].size,R=N(k)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,k=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(N(L)/2+k/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Fe(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await ke();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",k=null,R=Te(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let A=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);A.length&&(k=g("div",{class:m.layerBody},A))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let A=a;k=this.renderLegendForRamp(A,n.opacity)}else if(P)k=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let A=a;k=this.renderPieChartRamp(A)}else if(a.type==="univariate-above-and-below-ramp"){let A=a;k=this.renderUnivariateAboveAndBelowRamp(A,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let A=a;k=this.renderUnivariateColorSizeRamp(A,n.opacity,c)}if(!k)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let A=x,$=this.getTitle(this.messages,A,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},k))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),k=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),A=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${k}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},L)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:X},A)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,k=s.infos.map((z,A)=>A===0||A===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:j},g("div",{class:m.rampContainer},b)),g("div",{style:j},g("div",{class:m.rampLabelsContainer,style:x},k)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},k={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...k}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let k=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;k=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(k=this.renderImage(a,n,R));if(!k)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,A=ze(n),$=$e(A,L);if(E.data){let W=xe(A,n,a,$,_),Y=$?$?.nestedInfos:A,q=Pe(Y);z=A?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},k),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=Ue(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await Ae(this.legendvm,l,this.reactiveUtils);if(fe({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await ve(l,a,c,this.filterMode,s):await ve(l,a,c,this.filterMode),fe({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as h}from"./WSUH3PG3.js";import{a as Y}from"./QEWSNHU7.js";import{a as R}from"./VE4I5REF.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./3VKOIUB3.js";import{c as y,f as E,l as b,m as I}from"./DZSY5JZN.js";import"./7P23QXUP.js";import"./2ED5S63G.js";import"./UY5WXQ65.js";import{a as M,c as U,e as C}from"./QCU33RPV.js";import"./RVQUWOMM.js";import{a as N,d as F}from"./V3NJ7RMG.js";import{a as g}from"./NBHU4HTV.js";import{d as j}from"./QF5QELVM.js";import"./GJKEPLSZ.js";import{a as p,b as A,c as L,e as u}from"./XZBB2UEX.js";import"./2B4ODL4I.js";import"./CQFA3WBO.js";import"./6ZIUZPW6.js";import{h as $}from"./OWDWZHMV.js";import"./DA5DY7HY.js";import"./2T7OWYJF.js";import{a as l}from"./ILUBVWJF.js";import{b as T}from"./SGGIVA63.js";import"./GZU2CPZN.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){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},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
3
+ v1.0.0-next.20250603 */
4
+ import{a as h}from"./W56TSBOM.js";import{a as Y}from"./QSLPNYME.js";import{a as R}from"./GRCGJF6L.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./IH7CEDCW.js";import{c as y,f as E,l as b,m as I}from"./5X5QWLK4.js";import"./4ZO64GTY.js";import"./4VW6QB4P.js";import"./6O7FQOIX.js";import{a as M,c as U,e as C}from"./KNCDLA4E.js";import"./6GZFUPXS.js";import{a as N,d as F}from"./ARGDR2B4.js";import{a as g}from"./PHD2JCWF.js";import{d as j}from"./6VGQW5MK.js";import"./DUMZWQHJ.js";import{a as p,b as A,c as L,e as u}from"./3QLFODAB.js";import"./A6HBKPQC.js";import"./75V45OM3.js";import"./3AUAAUJV.js";import{h as $}from"./YEMJYN23.js";import"./NQ4ICIBR.js";import"./3J7INGHN.js";import{a as l}from"./4HXEQA7V.js";import{b as T}from"./BDT7Z5VR.js";import"./OXLCWOZZ.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){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},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht 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.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a}from"./TP3QX5HT.js";import{D as n,I as o,c as t,d as i,q as s}from"./RTFLMETG.js";import"./GZU2CPZN.js";var r=t`@layer{/** @license
3
+ v1.0.0-next.20250603 */
4
+ import{a}from"./QXSB5XMK.js";import{D as n,I as o,c as t,d as i,q as s}from"./YOSKFWVD.js";import"./OXLCWOZZ.js";var r=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
3
+ v1.0.0-next.20250603 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a as d}from"./WO34BPRA.js";import{a as u,b as t,c as h}from"./ES6XKTKK.js";import"./NBHU4HTV.js";import{a as w}from"./ILUBVWJF.js";import"./GZU2CPZN.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
3
+ v1.0.0-next.20250603 */
4
+ import{a as d}from"./ZE3BYAS5.js";import{a as u,b as t,c as h}from"./LLCIDIID.js";import"./PHD2JCWF.js";import{a as w}from"./4HXEQA7V.js";import"./OXLCWOZZ.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250530.1 */
4
- import{a,b}from"./RX6Y3JHB.js";import"./NNRPVDMT.js";import"./SGGIVA63.js";import"./C556IKNJ.js";import"./GZU2CPZN.js";export{a as SiteEditorTypes,b as getSiteSchema};
3
+ v1.0.0-next.20250603 */
4
+ import{a,b}from"./TUCFY7YQ.js";import"./BGXUK5SF.js";import"./BDT7Z5VR.js";import"./M7ITS5EC.js";import"./OXLCWOZZ.js";export{a as SiteEditorTypes,b as getSiteSchema};