@esri/solutions-components 1.1.0-next.20250925 → 1.1.0-next.20250930

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 (475) hide show
  1. package/dist/cdn/{2OPURCY3.js → 22BLGFPB.js} +2 -2
  2. package/dist/cdn/{XKVPLHFY.js → 23IEP3SP.js} +2 -2
  3. package/dist/cdn/{D5Q6B25A.js → 24EBO2H6.js} +2 -2
  4. package/dist/cdn/25QXZCP2.js +18 -0
  5. package/dist/cdn/{YTO75MV2.js → 266WRGZQ.js} +2 -2
  6. package/dist/cdn/{AYZSOCD5.js → 2D2O46SR.js} +2 -2
  7. package/dist/cdn/{HCP2V3UU.js → 2ECABYID.js} +2 -2
  8. package/dist/cdn/{THJHFKQV.js → 2FCWGGEI.js} +1 -1
  9. package/dist/cdn/{LPXLHBPX.js → 2GADU3E5.js} +2 -2
  10. package/dist/cdn/{JWO5QIYY.js → 2HQSAHOD.js} +2 -2
  11. package/dist/cdn/{AAUCK7LH.js → 2IB23QVE.js} +2 -2
  12. package/dist/cdn/{UYF2NNBB.js → 2JOPI5SJ.js} +2 -2
  13. package/dist/cdn/2NFLDAR7.js +4 -0
  14. package/dist/cdn/{Q6TJGV2D.js → 2NMPWU7Q.js} +1 -1
  15. package/dist/cdn/{SUXFN2X6.js → 2ON3WOE6.js} +1 -1
  16. package/dist/cdn/{65OMZCAP.js → 2PUIOUZY.js} +1 -1
  17. package/dist/cdn/{ZF6AQYFE.js → 2RY5SB6Y.js} +2 -2
  18. package/dist/cdn/{FM5VRWXF.js → 2ZKQYZDQ.js} +2 -2
  19. package/dist/cdn/{BHA4XTDN.js → 2ZVLBM4A.js} +2 -2
  20. package/dist/cdn/{TWGZAHIH.js → 323WPFRO.js} +2 -2
  21. package/dist/cdn/{VI62OQOH.js → 356AFTQR.js} +2 -2
  22. package/dist/cdn/{U46QNBND.js → 35H4EZVY.js} +1 -1
  23. package/dist/cdn/{ZT2CE7NP.js → 3DC5SNKZ.js} +2 -2
  24. package/dist/cdn/{R73ZGYHF.js → 3EF4NDDW.js} +2 -2
  25. package/dist/cdn/{XFMDSFW7.js → 3EM7OIRO.js} +2 -2
  26. package/dist/cdn/{H6GH7IOT.js → 3HBEYVFM.js} +2 -2
  27. package/dist/cdn/{MWKNWUIW.js → 3NYMMGYV.js} +2 -2
  28. package/dist/cdn/{UQPU366W.js → 3RGKQEJS.js} +2 -2
  29. package/dist/cdn/{LGVP5INX.js → 3SG23KIT.js} +2 -2
  30. package/dist/cdn/{LO7MRNGB.js → 3TLKP5NH.js} +2 -2
  31. package/dist/cdn/{GF4XCPBZ.js → 3VDNW4LC.js} +1 -1
  32. package/dist/cdn/{TXVRQ5PZ.js → 3YBYVFJK.js} +2 -2
  33. package/dist/cdn/{SSTYILQA.js → 3ZCKP3OS.js} +2 -2
  34. package/dist/cdn/{NOVKOM57.js → 43UI7OSH.js} +2 -2
  35. package/dist/cdn/{VMQ6BQAB.js → 47RIZZKK.js} +2 -2
  36. package/dist/cdn/{DNNYXYMB.js → 4AICO5JP.js} +2 -2
  37. package/dist/cdn/{C7WHKGC3.js → 4ALM45BU.js} +2 -2
  38. package/dist/cdn/{U77WXORN.js → 4AZI5XWG.js} +2 -2
  39. package/dist/cdn/4DDYEFGY.js +6 -0
  40. package/dist/cdn/{6XJFJMJQ.js → 4NHVP7UY.js} +2 -2
  41. package/dist/cdn/{GH7EGFT6.js → 4OFJQO4X.js} +2 -2
  42. package/dist/cdn/{YHMMK2FG.js → 4UQ74FNF.js} +2 -2
  43. package/dist/cdn/{X5CXVGZF.js → 4WW2TEWD.js} +2 -2
  44. package/dist/cdn/{FEHKEJZD.js → 4XYSVDJW.js} +1 -1
  45. package/dist/cdn/{W5IBV76O.js → 54HOPFOW.js} +2 -2
  46. package/dist/cdn/{BV5STBSZ.js → 5HHF4NUO.js} +2 -2
  47. package/dist/cdn/5MFKIF3Q.js +4 -0
  48. package/dist/cdn/{USJR4B76.js → 5O7I76T3.js} +2 -2
  49. package/dist/cdn/{YA54WNBU.js → 5PNHMHFU.js} +2 -2
  50. package/dist/cdn/{LXDMBT5O.js → 5URSIH5U.js} +2 -2
  51. package/dist/cdn/{MXWYSH3O.js → 5V4ZBDFW.js} +2 -2
  52. package/dist/cdn/{5WADHR5N.js → 5VL5INMQ.js} +2 -2
  53. package/dist/cdn/{ETBTTZNA.js → 5YEGEQZS.js} +2 -2
  54. package/dist/cdn/{KHXSICQE.js → 65WVLWXY.js} +2 -2
  55. package/dist/cdn/{EBIRS27O.js → 67P3IFEK.js} +2 -2
  56. package/dist/cdn/{KFF4AJDE.js → 6DVNASY7.js} +2 -2
  57. package/dist/cdn/{NQIJKYWM.js → 6F5OGR7C.js} +2 -2
  58. package/dist/cdn/{YQ2TKW7R.js → 6GNS7GKM.js} +2 -2
  59. package/dist/cdn/{VEDQ6C5V.js → 6H5CYZBQ.js} +2 -2
  60. package/dist/cdn/{3MLUZIHQ.js → 6LUI7ZT2.js} +2 -2
  61. package/dist/cdn/{RY3PLDSP.js → 6RCQYQNI.js} +2 -2
  62. package/dist/cdn/{5BALCZTO.js → 6TMWINTR.js} +1 -1
  63. package/dist/cdn/{JBUK53GU.js → 6WF2GYYC.js} +2 -2
  64. package/dist/cdn/{PSSYHWBH.js → 74ESN34B.js} +2 -2
  65. package/dist/cdn/{TXTXSTLS.js → 75K5SRLH.js} +2 -2
  66. package/dist/cdn/{WYRAGGNP.js → 75R3MO43.js} +2 -2
  67. package/dist/cdn/{R6HH3ODD.js → 7CO73YLK.js} +2 -2
  68. package/dist/cdn/{QK4JQJUW.js → 7DZ74HXF.js} +2 -2
  69. package/dist/cdn/{CIJJVEVF.js → 7KET45PO.js} +2 -2
  70. package/dist/cdn/{KMZWBDXN.js → 7KQZYJLA.js} +2 -2
  71. package/dist/cdn/7VLVF2BS.js +4 -0
  72. package/dist/cdn/{P3CL4EMR.js → 7WJXXENF.js} +2 -2
  73. package/dist/cdn/{BTSXOO2M.js → 7YTPXNRD.js} +2 -2
  74. package/dist/cdn/{QRZTW7BU.js → A2IV3Z6Z.js} +2 -2
  75. package/dist/cdn/{ATOYGIHH.js → AADVJRE6.js} +2 -2
  76. package/dist/cdn/{N24O4QQI.js → ACA37DMT.js} +2 -2
  77. package/dist/cdn/{EF5JL2VQ.js → AFDUDC2N.js} +2 -2
  78. package/dist/cdn/{XVGFKPLI.js → AGDV2LAI.js} +2 -2
  79. package/dist/cdn/{P3JXP6RB.js → AHK6ZG3A.js} +2 -2
  80. package/dist/cdn/{QEAKPZQP.js → AIEFXSLN.js} +2 -2
  81. package/dist/cdn/{473QHOPM.js → ASBD7AC3.js} +2 -2
  82. package/dist/cdn/{MNLNPPRU.js → AVRS6THA.js} +2 -2
  83. package/dist/cdn/{JLK6R26T.js → AWCFBWHQ.js} +2 -2
  84. package/dist/cdn/{S2LSR4AS.js → AYJTAPI7.js} +2 -2
  85. package/dist/cdn/{FNSY7LO2.js → B4FEQLMG.js} +2 -2
  86. package/dist/cdn/{MXZZNY4F.js → B4IGWR3F.js} +2 -2
  87. package/dist/cdn/{DEZFQJNZ.js → B5C365S4.js} +2 -2
  88. package/dist/cdn/{S2RBXS2V.js → BA4S5XKJ.js} +2 -2
  89. package/dist/cdn/{VE37PUTE.js → BASKHVNL.js} +2 -2
  90. package/dist/cdn/{2OP7BHUA.js → BCADRR3Q.js} +2 -2
  91. package/dist/cdn/{UTIDNCRT.js → BDDAYVOQ.js} +1 -1
  92. package/dist/cdn/{FFZUA5X4.js → BDNVVUIT.js} +2 -2
  93. package/dist/cdn/{2VMWXHN3.js → BGIBTCAX.js} +2 -2
  94. package/dist/cdn/{XTGQKRQA.js → BGIMI6AA.js} +2 -2
  95. package/dist/cdn/{LNJPYNGK.js → BIEQ7KK2.js} +2 -2
  96. package/dist/cdn/{GMNC7X6H.js → BNPX242D.js} +2 -2
  97. package/dist/cdn/{XVWWKYTO.js → BQR4BIXL.js} +2 -2
  98. package/dist/cdn/{FQYW2U4R.js → BR6ACL7P.js} +2 -2
  99. package/dist/cdn/{AFYTT5PZ.js → C2OYBD5D.js} +2 -2
  100. package/dist/cdn/{WR74D3JQ.js → CD7X2MST.js} +2 -2
  101. package/dist/cdn/{KAVW3QCR.js → CDKD6UKE.js} +2 -2
  102. package/dist/cdn/{S5VYS4SB.js → CRHUJGHY.js} +2 -2
  103. package/dist/cdn/{J3NBJJ74.js → CTARUCKT.js} +2 -2
  104. package/dist/cdn/{L45RDDBK.js → CTODW2AG.js} +2 -2
  105. package/dist/cdn/{BZF3B6LY.js → CUOOBR5E.js} +2 -2
  106. package/dist/cdn/{6HHPO62F.js → D75MT2IG.js} +2 -2
  107. package/dist/cdn/{NYQEWR7X.js → DCK7KGNM.js} +1 -1
  108. package/dist/cdn/{HT645HS7.js → DD3OHYXF.js} +2 -2
  109. package/dist/cdn/{5563BFJZ.js → DEOGFJUI.js} +2 -2
  110. package/dist/cdn/{QWIT76LO.js → DJZVV3PM.js} +2 -2
  111. package/dist/cdn/{GZTZVBO5.js → DKRLKIUR.js} +2 -2
  112. package/dist/cdn/{3RHWJV4W.js → DRR2OKOF.js} +2 -2
  113. package/dist/cdn/{M6OOLFCJ.js → DXH6Q7YD.js} +1 -1
  114. package/dist/cdn/{LSMRGUCM.js → DY3JTLBU.js} +2 -2
  115. package/dist/cdn/{CEGWELML.js → E3L5SMJR.js} +2 -2
  116. package/dist/cdn/{KR6VTFJA.js → E3N2636B.js} +2 -2
  117. package/dist/cdn/{RV6DRTTP.js → E4E2FO7E.js} +2 -2
  118. package/dist/cdn/{QZDH24N7.js → E4S3Q5OW.js} +1 -1
  119. package/dist/cdn/{GAHL3SYV.js → E5SEEOIV.js} +2 -2
  120. package/dist/cdn/{OLVFU265.js → EAEPH2DK.js} +1 -1
  121. package/dist/cdn/{MIRZHYKN.js → EGQS26KS.js} +2 -2
  122. package/dist/cdn/{OROYLFVP.js → EMWDRQ3S.js} +1 -1
  123. package/dist/cdn/{AFQPOT74.js → EO55S6RD.js} +1 -1
  124. package/dist/cdn/{KGL2ZJHJ.js → EQV6RRR6.js} +2 -2
  125. package/dist/cdn/{KBC6DIJZ.js → ETKNUPUS.js} +2 -2
  126. package/dist/cdn/{BAYOM6SI.js → EU5DRFMT.js} +2 -2
  127. package/dist/cdn/{PBM57FIT.js → EVDDGPFB.js} +2 -2
  128. package/dist/cdn/EVJGDIYM.js +20 -0
  129. package/dist/cdn/{ZAET6YPI.js → F2AFMRUH.js} +2 -2
  130. package/dist/cdn/{HZE3LXEE.js → F2LWDBNQ.js} +2 -2
  131. package/dist/cdn/{ZYR3HZEK.js → F524Q2NJ.js} +2 -2
  132. package/dist/cdn/{E4Y6GVNV.js → FBNVLSMN.js} +2 -2
  133. package/dist/cdn/{MTIRZAK6.js → FDBSY5EH.js} +2 -2
  134. package/dist/cdn/{ISXJUGGA.js → FILH23FI.js} +2 -2
  135. package/dist/cdn/{LFBG4JZ7.js → FPS2Q5WP.js} +2 -2
  136. package/dist/cdn/{WWDAOW57.js → FSTOIVGE.js} +2 -2
  137. package/dist/cdn/{6PBSS6FB.js → FWAAVZFS.js} +2 -2
  138. package/dist/cdn/{M4LYPHMX.js → FWIK3P4X.js} +2 -2
  139. package/dist/cdn/{POV7XSHA.js → G2TY7BDV.js} +2 -2
  140. package/dist/cdn/{W34C5H2W.js → G3GOC3N7.js} +2 -2
  141. package/dist/cdn/G7DLAUBZ.js +4 -0
  142. package/dist/cdn/GF5XGNO5.js +18 -0
  143. package/dist/cdn/{CVG5RATD.js → GGR6HRVV.js} +2 -2
  144. package/dist/cdn/{WWEDQX52.js → GGUFYXRM.js} +2 -2
  145. package/dist/cdn/{HXM7W2BW.js → GHZTGAZM.js} +2 -2
  146. package/dist/cdn/{TPVOMX5N.js → GLMQSHFB.js} +2 -2
  147. package/dist/cdn/{WHEEVELQ.js → GPEQY3RN.js} +2 -2
  148. package/dist/cdn/GWDC4SZF.js +4 -0
  149. package/dist/cdn/{JC7ZAYKG.js → GZDDP456.js} +2 -2
  150. package/dist/cdn/{FBSD5IXJ.js → H2W4MY6J.js} +2 -2
  151. package/dist/cdn/{EWUDMX32.js → H3VGOXNI.js} +2 -2
  152. package/dist/cdn/{BQ6S5XKL.js → H6HYWSBZ.js} +2 -2
  153. package/dist/cdn/{MW2FGYGV.js → HBYY3KDT.js} +1 -1
  154. package/dist/cdn/{Z4WEZVOA.js → HE4NOXJ3.js} +2 -2
  155. package/dist/cdn/{NGRBGHVV.js → HF3PUWXF.js} +2 -2
  156. package/dist/cdn/{KJRI7DRU.js → HGY2UKNC.js} +2 -2
  157. package/dist/cdn/{6LDOG2ME.js → HJJYOSIJ.js} +2 -2
  158. package/dist/cdn/{Y7K3POJH.js → HKAUWMMG.js} +2 -2
  159. package/dist/cdn/{GZKHYIAT.js → HNNI5WAM.js} +2 -2
  160. package/dist/cdn/{N3JGY53P.js → HQTF75WO.js} +1 -1
  161. package/dist/cdn/{YEX5UXGV.js → HWIHJHFL.js} +4 -4
  162. package/dist/cdn/{WQPXVA5A.js → I4BGIYMI.js} +2 -2
  163. package/dist/cdn/{77HTAQZE.js → I6MZEZ56.js} +2 -2
  164. package/dist/cdn/{KFCB3T26.js → I6ZDBAQP.js} +2 -2
  165. package/dist/cdn/{I7ESEAUO.js → IBKI675K.js} +2 -2
  166. package/dist/cdn/{73DDXQ7N.js → IEKRWN5D.js} +2 -2
  167. package/dist/cdn/{ZBPUYD75.js → IELLQPVZ.js} +2 -2
  168. package/dist/cdn/{HLETUGG3.js → IISGJ6DA.js} +2 -2
  169. package/dist/cdn/{KYNEIKUT.js → IIVKUMB4.js} +2 -2
  170. package/dist/cdn/{2DLRU2VG.js → IQ2S7K55.js} +1 -1
  171. package/dist/cdn/{N5KQGDLL.js → IQQ7HCCI.js} +2 -2
  172. package/dist/cdn/{SCZM2XR2.js → JC4JL4ZX.js} +2 -2
  173. package/dist/cdn/{BUSDCGM3.js → JHB73LZI.js} +2 -2
  174. package/dist/cdn/{WWVGMEQR.js → JM3GUS6L.js} +2 -2
  175. package/dist/cdn/{ZSMGY5JQ.js → JP56IADL.js} +2 -2
  176. package/dist/cdn/{UH4UKCGX.js → K4Q2SQTZ.js} +2 -2
  177. package/dist/cdn/{XBUOOEYY.js → K5SJYGVE.js} +2 -2
  178. package/dist/cdn/{26EMEDKL.js → KCE6C64B.js} +2 -2
  179. package/dist/cdn/{55PXWNYE.js → KHWPXZDE.js} +2 -2
  180. package/dist/cdn/{65PMMLC3.js → KQ5K4TDN.js} +2 -2
  181. package/dist/cdn/{GIGNYRHN.js → L6F7MKSZ.js} +2 -2
  182. package/dist/cdn/{R6LB7MHN.js → L7BFIWS6.js} +1 -1
  183. package/dist/cdn/{VU5ZSX7O.js → L7JOASPG.js} +2 -2
  184. package/dist/cdn/{2FHCNAX7.js → LAMHNBCE.js} +2 -2
  185. package/dist/cdn/LANEMFHC.js +18 -0
  186. package/dist/cdn/{X6NND7S3.js → LARQGETS.js} +1 -1
  187. package/dist/cdn/LBUL7KNM.js +4 -0
  188. package/dist/cdn/{WXSOWA6A.js → LDGWGH6X.js} +1 -1
  189. package/dist/cdn/{RUD5AGHP.js → LDPR3VUK.js} +2 -2
  190. package/dist/cdn/{FB4FWUNL.js → LNGL6TXH.js} +2 -2
  191. package/dist/cdn/{PHRHUP64.js → LNZSLBZP.js} +2 -2
  192. package/dist/cdn/{ER3ZLRLV.js → LO2TFJEI.js} +2 -2
  193. package/dist/cdn/{ZTPF724K.js → LQUOYKPE.js} +1 -1
  194. package/dist/cdn/{IWGOA46T.js → LTBQ7RL6.js} +1 -1
  195. package/dist/cdn/{MKCIYBPT.js → LWXY7EKZ.js} +2 -2
  196. package/dist/cdn/{GVZUTXR2.js → LXKKRNKX.js} +2 -2
  197. package/dist/cdn/{IJ6HSCOY.js → M22WBW5C.js} +2 -2
  198. package/dist/cdn/{J7RAPNOH.js → M2THGRZD.js} +1 -1
  199. package/dist/cdn/{PX2QGVS3.js → M5FFDZZD.js} +2 -2
  200. package/dist/cdn/{D7LR22CF.js → M6IH4MUH.js} +2 -2
  201. package/dist/cdn/{FU7BP62B.js → ME6JSTRV.js} +2 -2
  202. package/dist/cdn/{DAMW3REA.js → MEWGZTOS.js} +2 -2
  203. package/dist/cdn/{MFFFCOFR.js → MFDBUB7P.js} +2 -2
  204. package/dist/cdn/{H7PPVWDR.js → MGVREFJR.js} +2 -2
  205. package/dist/cdn/{QTPV3FTX.js → MQX2K2YB.js} +2 -2
  206. package/dist/cdn/{QU7KXVDR.js → MQZRCC3R.js} +2 -2
  207. package/dist/cdn/{A6HUHBMQ.js → MSFVJZS4.js} +2 -2
  208. package/dist/cdn/{R5RRAWEB.js → MYGI6G62.js} +2 -2
  209. package/dist/cdn/{R7U46D5B.js → N4KFWOVF.js} +2 -2
  210. package/dist/cdn/{2HAO3FHD.js → N4RQSTOH.js} +2 -2
  211. package/dist/cdn/{UNJMGUK2.js → N4XF3SDK.js} +1 -1
  212. package/dist/cdn/{OGMM2WEY.js → N72WSNJD.js} +2 -2
  213. package/dist/cdn/{N6QDTGLW.js → NAR4WZYN.js} +2 -2
  214. package/dist/cdn/{IWQSRGSD.js → NDELA7DW.js} +2 -2
  215. package/dist/cdn/{NYXX2G4A.js → NDHK32YT.js} +2 -2
  216. package/dist/cdn/{IABCWEOV.js → NGOSIDLM.js} +2 -2
  217. package/dist/cdn/{NKZ3BLZ2.js → NK66SUU6.js} +2 -2
  218. package/dist/cdn/{SBE4AVXM.js → NNHTS2OV.js} +2 -2
  219. package/dist/cdn/{ORWR25WB.js → NWP4FTID.js} +2 -2
  220. package/dist/cdn/{36R7NQXN.js → NZ3244T3.js} +2 -2
  221. package/dist/cdn/{SLVNYZVX.js → O3IIFUQS.js} +2 -2
  222. package/dist/cdn/{EXU6PQ54.js → O4DCTBMS.js} +2 -2
  223. package/dist/cdn/{C2KR5VLL.js → OAACLYHW.js} +2 -2
  224. package/dist/cdn/{SHNBY54H.js → OBA32KSF.js} +2 -2
  225. package/dist/cdn/{NRQ6MMGP.js → OGUKW7UF.js} +2 -2
  226. package/dist/cdn/{SHUUBUII.js → OOAYP65P.js} +2 -2
  227. package/dist/cdn/{UGU56XUK.js → OQ2XNLUJ.js} +2 -2
  228. package/dist/cdn/{D5HHTQN4.js → OQWW5GOD.js} +2 -2
  229. package/dist/cdn/{XWSJEPAY.js → OXWHG2JJ.js} +1 -1
  230. package/dist/cdn/P3DANCNA.js +18 -0
  231. package/dist/cdn/{JI65BR4X.js → P56PKYKW.js} +2 -2
  232. package/dist/cdn/{CLKCQTML.js → P7BVRBAM.js} +2 -2
  233. package/dist/cdn/{PIHX5ITU.js → PEEESAGD.js} +2 -2
  234. package/dist/cdn/{IYWOPTG3.js → PKYF5QVD.js} +2 -2
  235. package/dist/cdn/{IKCRST7G.js → PMX7R4AD.js} +2 -2
  236. package/dist/cdn/{NMFAADJX.js → PP4EUCLU.js} +2 -2
  237. package/dist/cdn/{HNMRLRJW.js → PSUDABII.js} +2 -2
  238. package/dist/cdn/{3BOYXWN3.js → PTHCQMPY.js} +2 -2
  239. package/dist/cdn/{V64TTKSX.js → PWBZGGXP.js} +2 -2
  240. package/dist/cdn/{BVIUDIGF.js → PZMZZ5CN.js} +2 -2
  241. package/dist/cdn/{OPLNE5ST.js → QF55UWLV.js} +1 -1
  242. package/dist/cdn/{OP4WGZFL.js → QIUJXUOE.js} +2 -2
  243. package/dist/cdn/{K5OZT7T2.js → QLICRMB2.js} +2 -2
  244. package/dist/cdn/{U2GNUOU3.js → QPOWVOQW.js} +2 -2
  245. package/dist/cdn/{XC4FJ5WE.js → QXWVQS3F.js} +2 -2
  246. package/dist/cdn/{CQLA56QO.js → R5Z6D6M7.js} +2 -2
  247. package/dist/cdn/{2JHNJNS2.js → RAFQZUOI.js} +2 -2
  248. package/dist/cdn/{WBVC3BG2.js → RBIHPCO4.js} +2 -2
  249. package/dist/cdn/{WNCVTLXA.js → RDBOZN6J.js} +2 -2
  250. package/dist/cdn/{MDNB4YJA.js → RELLGPSE.js} +2 -2
  251. package/dist/cdn/{UBSZGRAH.js → RFUWQMF7.js} +2 -2
  252. package/dist/cdn/{RX4UKFIW.js → RGGLFJVZ.js} +2 -2
  253. package/dist/cdn/{QS7CTP67.js → RHBPBF7Z.js} +2 -2
  254. package/dist/cdn/{2T54TXDG.js → RRKP5CIH.js} +2 -2
  255. package/dist/cdn/{JWYZYDY4.js → RT77N3UL.js} +2 -2
  256. package/dist/cdn/{JGLVXEV4.js → RUNLAPNP.js} +2 -2
  257. package/dist/cdn/{SKJFZS7G.js → RWAQFBTM.js} +2 -2
  258. package/dist/cdn/{HSCLCBHG.js → RZC3IYH5.js} +2 -2
  259. package/dist/cdn/{P2ILALBS.js → RZPVM54I.js} +2 -2
  260. package/dist/cdn/{7FTAFCJ2.js → SLANTCAC.js} +2 -2
  261. package/dist/cdn/{K5JXAIFM.js → SLJDD3FS.js} +2 -2
  262. package/dist/cdn/{VRKYLQUQ.js → SQCMB2UB.js} +2 -2
  263. package/dist/cdn/{JUWOEYDX.js → SSUPBLSO.js} +2 -2
  264. package/dist/cdn/{KXYU5IR5.js → SY3W6JNJ.js} +2 -2
  265. package/dist/cdn/{MTCLLVL7.js → T26V7ODN.js} +2 -2
  266. package/dist/cdn/{QHTCEAXV.js → T2EWH5IQ.js} +2 -2
  267. package/dist/cdn/{G2GWPSGO.js → T2YJUKUD.js} +1 -1
  268. package/dist/cdn/{ULQENDE6.js → T6WKLJYO.js} +2 -2
  269. package/dist/cdn/{YKAQDT2U.js → TCRDYPS5.js} +2 -2
  270. package/dist/cdn/{RRHTLAAA.js → TF2UOA54.js} +2 -2
  271. package/dist/cdn/{BT7CLLDK.js → TGDRLQ4O.js} +2 -2
  272. package/dist/cdn/{KMYGQXSV.js → TWRCCC3K.js} +2 -2
  273. package/dist/cdn/{RQAOJXPS.js → TX447FTE.js} +2 -2
  274. package/dist/cdn/{3JBVAHK6.js → TZ4G5I43.js} +2 -2
  275. package/dist/cdn/{24BXIQZ7.js → U25THAWD.js} +2 -2
  276. package/dist/cdn/{PV3NLPFG.js → U5KP66P2.js} +2 -2
  277. package/dist/cdn/{JARW5IVD.js → UCBSVUJO.js} +2 -2
  278. package/dist/cdn/{D3E4SX3O.js → UDLU5BLH.js} +2 -2
  279. package/dist/cdn/{VKN5M2H2.js → UKKF6ICH.js} +1 -1
  280. package/dist/cdn/{KS4RKS4M.js → UL7UNFT6.js} +2 -2
  281. package/dist/cdn/{4HI6FZUO.js → UOTNYMKC.js} +2 -2
  282. package/dist/cdn/{TEHFWJ7C.js → UQ7DAXP2.js} +2 -2
  283. package/dist/cdn/{EFJAP4WK.js → URDIYJDY.js} +2 -2
  284. package/dist/cdn/UVECELIA.js +4 -0
  285. package/dist/cdn/{EJ4R77EB.js → UW5ESZP6.js} +1 -1
  286. package/dist/cdn/{Q3BLS33D.js → UZAJZ5TS.js} +1 -1
  287. package/dist/cdn/{42AGDBE4.js → UZJHE7WR.js} +2 -2
  288. package/dist/cdn/{WZRONVJZ.js → VDNNFT35.js} +2 -2
  289. package/dist/cdn/{YTMOSPLG.js → VEKUCF54.js} +2 -2
  290. package/dist/cdn/{K33ORAXO.js → VPPGQP3F.js} +2 -2
  291. package/dist/cdn/{XDQL3NIY.js → VTI3VKW3.js} +2 -2
  292. package/dist/cdn/{AISYSTZW.js → VYPAVTBZ.js} +6 -6
  293. package/dist/cdn/{2L7PQ47G.js → VZLLG5ZN.js} +2 -2
  294. package/dist/cdn/{Z6AH4R75.js → W2CYN36L.js} +1 -1
  295. package/dist/cdn/{5FLGUC57.js → W4DUSPLY.js} +2 -2
  296. package/dist/cdn/{RNVVUHUQ.js → W4W2UWW4.js} +1 -1
  297. package/dist/cdn/{DMJ7ZB4K.js → W63MB7VH.js} +2 -2
  298. package/dist/cdn/{BGSHIX7G.js → W7NRHWGE.js} +2 -2
  299. package/dist/cdn/{K7RLU4Y2.js → WD2JLYA6.js} +2 -2
  300. package/dist/cdn/{AGBENW6G.js → WDUF3ELA.js} +2 -2
  301. package/dist/cdn/{EK43Y7Z2.js → WI4YHLNP.js} +2 -2
  302. package/dist/cdn/{MX6RTOQG.js → WJQKMHJZ.js} +2 -2
  303. package/dist/cdn/{DAWEZ3PP.js → WL54FYOU.js} +2 -2
  304. package/dist/cdn/{G2LCRPWW.js → WLYCBHJY.js} +1 -1
  305. package/dist/cdn/{O2FICKKC.js → WMGMAARS.js} +2 -2
  306. package/dist/cdn/{NZNYZUTU.js → WW6MD4TF.js} +1 -1
  307. package/dist/cdn/{WFP5XXEK.js → WY3ISXXZ.js} +2 -2
  308. package/dist/cdn/{KUMMPXMH.js → WZERQSJW.js} +2 -2
  309. package/dist/cdn/{LUWFREHJ.js → WZSZLETN.js} +2 -2
  310. package/dist/cdn/{HX3WF3FR.js → X3W3ZXNH.js} +2 -2
  311. package/dist/cdn/{PD35GUHM.js → X3YQSK4M.js} +1 -1
  312. package/dist/cdn/{Z323EBNW.js → X5V263ZF.js} +2 -2
  313. package/dist/cdn/{2OPQXTH4.js → XDZ5DQ73.js} +2 -2
  314. package/dist/cdn/{LFU5MJCP.js → XH2M7SON.js} +2 -2
  315. package/dist/cdn/{ZA6O5D72.js → XKS62AFO.js} +2 -2
  316. package/dist/cdn/{3BSRG4G7.js → XOYRZBAP.js} +2 -2
  317. package/dist/cdn/{LDVVWQGY.js → XPADHCD4.js} +2 -2
  318. package/dist/cdn/{KEBHA3QD.js → XPF6NERF.js} +1 -1
  319. package/dist/cdn/{YSXDW4ET.js → XPOTXEEC.js} +2 -2
  320. package/dist/cdn/XR6HLBKK.js +4 -0
  321. package/dist/cdn/{245NPYHN.js → XR7PKWLI.js} +2 -2
  322. package/dist/cdn/{37GUPKRX.js → XSR4VHUZ.js} +2 -2
  323. package/dist/cdn/{WEXUAI5Q.js → XTAYZWYY.js} +2 -2
  324. package/dist/cdn/XVOCJN6U.js +18 -0
  325. package/dist/cdn/{GQA6YR5I.js → XZ5IZIPG.js} +2 -2
  326. package/dist/cdn/{PQQYPDWQ.js → Y4DBLHQP.js} +1 -1
  327. package/dist/cdn/{RHTJZXBZ.js → Y4ILHAXC.js} +2 -2
  328. package/dist/cdn/{UGWV4TWD.js → YDI3MX2A.js} +2 -2
  329. package/dist/cdn/{KKWPB4UB.js → YIWKP4HK.js} +2 -2
  330. package/dist/cdn/{WL6IYRDK.js → YJE446FB.js} +2 -2
  331. package/dist/cdn/{IMDXMWOJ.js → YS7H6RST.js} +2 -2
  332. package/dist/cdn/{ARN35KP2.js → YVC4WJCU.js} +2 -2
  333. package/dist/cdn/{7ZU4SW7Z.js → YYCPQK2C.js} +2 -2
  334. package/dist/cdn/{YBN33CFC.js → Z4T6IBAY.js} +2 -2
  335. package/dist/cdn/{X55WNPTN.js → Z4VUH3B5.js} +2 -2
  336. package/dist/cdn/{EV6FIS7V.js → ZDYMKGAY.js} +2 -2
  337. package/dist/cdn/ZIOUWJO5.js +4 -0
  338. package/dist/cdn/{WE65DJBN.js → ZNHB4XXK.js} +2 -2
  339. package/dist/cdn/{OKMWCFIQ.js → ZPA7ULN3.js} +2 -2
  340. package/dist/cdn/{VHHNWHEK.js → ZVPXDTBR.js} +2 -2
  341. package/dist/cdn/{5DH5RGM3.js → ZX6DNUC7.js} +2 -2
  342. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -0
  343. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -0
  344. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -0
  345. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -0
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/cdn/main.css +1 -1
  348. package/dist/chunks/Auth.js +1 -1
  349. package/dist/chunks/CardsFetcher.js +1 -1
  350. package/dist/chunks/appConfig.js +1 -1
  351. package/dist/chunks/cardFetchingUtils.js +1 -1
  352. package/dist/chunks/cardsHelpers.js +1 -1
  353. package/dist/chunks/common.js +1 -1
  354. package/dist/chunks/deployAppContexts.js +1 -1
  355. package/dist/chunks/downloadUtils.js +1 -1
  356. package/dist/chunks/getItemIcon.js +1 -1
  357. package/dist/chunks/helpers.js +1 -1
  358. package/dist/chunks/interfaces.js +1 -1
  359. package/dist/chunks/loadModules.js +1 -1
  360. package/dist/chunks/mapViewUtils.js +1 -1
  361. package/dist/chunks/pciUtils.js +1 -1
  362. package/dist/chunks/popupUtils.js +1 -1
  363. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  364. package/dist/chunks/privilegeUtils.js +1 -1
  365. package/dist/chunks/publicNotificationContext.js +1 -1
  366. package/dist/chunks/queryUtils.js +1 -1
  367. package/dist/chunks/runtime.js +1 -1
  368. package/dist/chunks/solution-store.js +1 -1
  369. package/dist/chunks/templates.js +1 -1
  370. package/dist/chunks/useT9n.js +1 -1
  371. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  372. package/dist/components/basemap-gallery/customElement.js +1 -1
  373. package/dist/components/buffer-tools/customElement.js +1 -1
  374. package/dist/components/card-manager/customElement.js +1 -1
  375. package/dist/components/consent-manager/customElement.js +1 -1
  376. package/dist/components/create-feature/customElement.js +1 -1
  377. package/dist/components/create-related-feature/customElement.js +1 -1
  378. package/dist/components/crowdsource-manager/customElement.js +1 -1
  379. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  380. package/dist/components/deduct-calculator/customElement.js +1 -1
  381. package/dist/components/delete-button/customElement.js +1 -1
  382. package/dist/components/delete-dialog/customElement.js +1 -1
  383. package/dist/components/edit-card/customElement.js +1 -1
  384. package/dist/components/feature-details/customElement.js +1 -1
  385. package/dist/components/feature-list/customElement.js +1 -1
  386. package/dist/components/field-selection/customElement.js +56 -38
  387. package/dist/components/floor-filter/customElement.js +1 -1
  388. package/dist/components/info-card/customElement.js +1 -1
  389. package/dist/components/json-editor/customElement.js +1 -1
  390. package/dist/components/layer-list/customElement.js +1 -1
  391. package/dist/components/layer-table/customElement.js +1 -1
  392. package/dist/components/map-card/customElement.js +1 -1
  393. package/dist/components/map-draw-tools/customElement.js +1 -1
  394. package/dist/components/map-fullscreen/customElement.js +1 -1
  395. package/dist/components/map-layer-picker/customElement.js +1 -1
  396. package/dist/components/map-legend/customElement.js +1 -1
  397. package/dist/components/map-picker/customElement.js +1 -1
  398. package/dist/components/map-search/customElement.js +1 -1
  399. package/dist/components/map-select-tools/customElement.js +1 -1
  400. package/dist/components/map-tools/customElement.js +1 -1
  401. package/dist/components/pci-calculator/customElement.js +1 -1
  402. package/dist/components/pdf-download/customElement.js +1 -1
  403. package/dist/components/public-notification/customElement.js +1 -1
  404. package/dist/components/refine-selection/customElement.js +1 -1
  405. package/dist/components/selection-tool/customElement.js +1 -1
  406. package/dist/components/solution-article-card/customElement.js +1 -1
  407. package/dist/components/solution-configuration/customElement.js +1 -1
  408. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  409. package/dist/components/solution-configure-titles/customElement.js +1 -1
  410. package/dist/components/solution-contents/customElement.js +1 -1
  411. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  412. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  413. package/dist/components/solution-deployed-card/customElement.js +1 -1
  414. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  415. package/dist/components/solution-details-card/customElement.js +1 -1
  416. package/dist/components/solution-details-panel/customElement.js +1 -1
  417. package/dist/components/solution-item/customElement.js +1 -1
  418. package/dist/components/solution-item-accordion/customElement.js +1 -1
  419. package/dist/components/solution-item-details/customElement.js +1 -1
  420. package/dist/components/solution-item-diagram/customElement.js +1 -1
  421. package/dist/components/solution-item-icon/customElement.js +1 -1
  422. package/dist/components/solution-item-sharing/customElement.js +1 -1
  423. package/dist/components/solution-organization-variables/customElement.js +1 -1
  424. package/dist/components/solution-resource-item/customElement.js +1 -1
  425. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  426. package/dist/components/solution-social-share/customElement.js +1 -1
  427. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  428. package/dist/components/solution-template-data/customElement.js +1 -1
  429. package/dist/components/solution-variables/customElement.js +1 -1
  430. package/dist/components/solutions-all-panel/customElement.js +1 -1
  431. package/dist/components/solutions-all-shell/customElement.d.ts +2 -0
  432. package/dist/components/solutions-all-shell/customElement.js +10 -10
  433. package/dist/components/solutions-article-panel/customElement.js +1 -1
  434. package/dist/components/solutions-articles/customElement.js +1 -1
  435. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  436. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  437. package/dist/components/solutions-deploy-app-nav/customElement.d.ts +5 -0
  438. package/dist/components/solutions-deploy-app-nav/customElement.js +68 -0
  439. package/dist/components/solutions-deploy-app-nav/index.d.ts +1 -0
  440. package/dist/components/solutions-deploy-app-nav/index.js +1 -0
  441. package/dist/components/solutions-deployed-filter-panel/customElement.js +26 -22
  442. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  443. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  444. package/dist/components/solutions-filter-panel/customElement.js +31 -27
  445. package/dist/components/spatial-ref/customElement.js +1 -1
  446. package/dist/components/store-manager/customElement.js +1 -1
  447. package/dist/docs/api.json +97 -2
  448. package/dist/docs/docs.json +74 -2
  449. package/dist/docs/vscode.html-custom-data.json +7 -1
  450. package/dist/docs/web-types.json +22 -2
  451. package/dist/index.d.ts +6 -0
  452. package/dist/index.js +1 -1
  453. package/dist/loader.js +2 -1
  454. package/dist/solutions-components_commit.txt +10 -0
  455. package/dist/types/lumina.d.ts +6 -0
  456. package/dist/types/preact.d.ts +7 -0
  457. package/dist/types/preact10.d.ts +8 -0
  458. package/dist/types/react.d.ts +8 -0
  459. package/dist/types/stencil.d.ts +6 -0
  460. package/package.json +1 -1
  461. package/dist/cdn/2WZRC5GT.js +0 -18
  462. package/dist/cdn/4EWRLUR4.js +0 -4
  463. package/dist/cdn/74FAOYDJ.js +0 -4
  464. package/dist/cdn/7QAOC7IR.js +0 -4
  465. package/dist/cdn/BOFE4H2M.js +0 -18
  466. package/dist/cdn/FCD4WDE3.js +0 -20
  467. package/dist/cdn/HMIBT73Y.js +0 -4
  468. package/dist/cdn/LO2XE6HZ.js +0 -18
  469. package/dist/cdn/M24WWAVV.js +0 -4
  470. package/dist/cdn/MN6AFYEX.js +0 -6
  471. package/dist/cdn/NS5LEAZO.js +0 -18
  472. package/dist/cdn/NSFPTAFA.js +0 -4
  473. package/dist/cdn/RWOR2UOA.js +0 -4
  474. package/dist/cdn/XSWOWJXM.js +0 -4
  475. package/dist/cdn/ZNJ7ME6U.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import"./FEHKEJZD.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
3
+ v1.1.0-next.20250930 */
4
+ import"./4XYSVDJW.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{b as c}from"./PD35GUHM.js";import{a as u}from"./D5HHTQN4.js";import"./BT7CLLDK.js";import"./SKJFZS7G.js";import{b as o}from"./LNJPYNGK.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./OLVFU265.js";import"./FEHKEJZD.js";var m=n`/** @license
3
+ v1.1.0-next.20250930 */
4
+ import{b as c}from"./X3YQSK4M.js";import{a as u}from"./OQWW5GOD.js";import"./TGDRLQ4O.js";import"./RWAQFBTM.js";import{b as o}from"./BIEQ7KK2.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./EAEPH2DK.js";import"./4XYSVDJW.js";var m=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
3
+ v1.1.0-next.20250930 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import c from"./ISXJUGGA.js";import b from"./VEDQ6C5V.js";import"./NGRBGHVV.js";import a from"./K5OZT7T2.js";import{a as K}from"./CLKCQTML.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./W34C5H2W.js";import{b as Se}from"./NKZ3BLZ2.js";import"./SKJFZS7G.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./OLVFU265.js";import{b as st,d as lt}from"./FEHKEJZD.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
3
+ v1.1.0-next.20250930 */
4
+ import c from"./FILH23FI.js";import b from"./6H5CYZBQ.js";import"./HF3PUWXF.js";import a from"./QLICRMB2.js";import{a as K}from"./P7BVRBAM.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./G3GOC3N7.js";import{b as Se}from"./NK66SUU6.js";import"./RWAQFBTM.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./EAEPH2DK.js";import{b as st,d as lt}from"./4XYSVDJW.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{b as l}from"./PD35GUHM.js";import{b as m}from"./LNJPYNGK.js";import{C as p,D as o,E as n,h as t,i as r}from"./OLVFU265.js";import"./FEHKEJZD.js";var h=t`/** @license
3
+ v1.1.0-next.20250930 */
4
+ import{b as l}from"./X3YQSK4M.js";import{b as m}from"./BIEQ7KK2.js";import{C as p,D as o,E as n,h as t,i as r}from"./EAEPH2DK.js";import"./4XYSVDJW.js";var h=t`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import b from"./JUWOEYDX.js";import{a as $,b as k,e as B,f as U}from"./PIHX5ITU.js";import a from"./K5OZT7T2.js";import{a as T}from"./EF5JL2VQ.js";import{a as _}from"./CLKCQTML.js";import{a as L}from"./RUD5AGHP.js";import{C as D}from"./W34C5H2W.js";import{b as w}from"./NKZ3BLZ2.js";import"./BT7CLLDK.js";import"./SKJFZS7G.js";import{E as C,G as r,h as S,i as n,o as I}from"./OLVFU265.js";import"./FEHKEJZD.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:P,h:m,j:b,l:E,m:f}])=>{var R=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){E()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([D()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=P(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await U(this.portalItem);e.set("portalItemResource",t);let a=await B(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=m(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=k(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return T(a,o=>`translated-lang-option-${o}`,o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return n`<calcite-option .value=${o}>${h}</calcite-option>`})}renderUIData(){if(!u?.uiData)return;let t=m();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return _(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?_("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
3
+ v1.1.0-next.20250930 */
4
+ import b from"./SSUPBLSO.js";import{a as $,b as k,e as B,f as U}from"./PEEESAGD.js";import a from"./QLICRMB2.js";import{a as T}from"./AFDUDC2N.js";import{a as _}from"./P7BVRBAM.js";import{a as L}from"./LDPR3VUK.js";import{C as D}from"./G3GOC3N7.js";import{b as w}from"./NK66SUU6.js";import"./TGDRLQ4O.js";import"./RWAQFBTM.js";import{E as C,G as r,h as S,i as n,o as I}from"./EAEPH2DK.js";import"./4XYSVDJW.js";export default $arcgis.t(([,{c:v,e:u,f:e,g:P,h:m,j:b,l:E,m:f}])=>{var R=S`:host{display:block}:host calcite-modal{--calcite-modal-content-padding: 0}:host .instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}:host .instant-apps-language-translator__header-text{font-size:18px}:host .instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}:host .instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}:host .instant-apps-language-translator__close-button{width:175px}:host .instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}:host .instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}:host .instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}:host .instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}:host .instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}:host .instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}:host .instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}:host .instant-apps-language-translator__primary-content{display:flex;align-items:center}:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,lastItem:`${l}--last-item`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},y=class extends C{constructor(){super(),this._messages=L({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=I(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],g={type:"application/json"},p=new Blob(o,g);return await a.update(p),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){E()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([D()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=P(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await U(this.portalItem);e.set("portalItemResource",t);let a=await B(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(u.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(u.uiData),o=m(),g=p=>{let c=s.get(p);if(p===a){c.selected=!0;return}c.selected=!1};o.forEach(g),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${v.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){let t=b(this.locales);return n`<div>${this.renderTopBar()}${t?.length>0?this.renderUIData():this.renderNotice()}</div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=k(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${v.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=b(t),s=Object.keys($.partial);return T(a,o=>`translated-lang-option-${o}`,o=>{let g=s.includes(o)?"partial":"full",p=$[g],{language:c,translated:d}=p[o],h=`${c} - ${d}`;return n`<calcite-option .value=${o}>${h}</calcite-option>`})}renderUIData(){if(!u?.uiData)return;let t=m();return n`<div>${t?.map((a,s)=>this.renderUIDataItem(a,s,t.length))}</div>`}renderNotice(){let t=this._messages.noLanguage;return n`<calcite-notice open icon=exclamation-mark-triangle kind=warning><div slot=title>${t?.title}</div><div slot=message>${t?.message}</div></calcite-notice>`}renderUIDataItem(t,a,s){let o=this.appSettings?.translatedLanguageLabels?.[u.currentLanguage],g=a===s-1?i.lastItem:"",p=this.appSettings.content.find(c=>c.id===t);return _(`${t}-${a}`,n`<instant-apps-language-translator-item class=${r(g)} .fieldName=${t} .translatedLanguageLabels=${o} .setting=${p} .userLocaleInputOnChangeCallback=${async(c,d)=>{try{await this.userLocaleInputOnChangeCallback(c,d);let h=e.get("portalItemResource");f(h)}catch{}}} .translatedLocaleInputOnChangeCallback=${async(c,d,h,x)=>{try{await this.translatedLocaleInputOnChangeCallback(c,d,h,x),f(x)}catch{}}}></instant-apps-language-translator-item>`)}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?_("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};w("instant-apps-language-translator",y);return y},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a,b}from"./RY3PLDSP.js";import"./HCP2V3UU.js";import"./VKN5M2H2.js";import"./Q3BLS33D.js";import"./FEHKEJZD.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.0-next.20250930 */
4
+ import{a,b}from"./6RCQYQNI.js";import"./2ECABYID.js";import"./UKKF6ICH.js";import"./UZAJZ5TS.js";import"./4XYSVDJW.js";export{a as PageEditorTypes,b as PageSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as d}from"./VU5ZSX7O.js";import{a as u,b as t,c as h}from"./NYQEWR7X.js";import"./KGL2ZJHJ.js";import{a as w}from"./ZTPF724K.js";import"./FEHKEJZD.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.1.0-next.20250930 */
4
+ import{a as d}from"./L7JOASPG.js";import{a as u,b as t,c as h}from"./DCK7KGNM.js";import"./EQV6RRR6.js";import{a as w}from"./LQUOYKPE.js";import"./4XYSVDJW.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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import{a as E}from"./EK43Y7Z2.js";import"./NKZ3BLZ2.js";import{a as S,c as m,d,e as _,f,g as x}from"./JI65BR4X.js";import"./NZNYZUTU.js";import{b as C}from"./MW2FGYGV.js";import{b as $}from"./PD35GUHM.js";import{a as v}from"./D5HHTQN4.js";import"./BT7CLLDK.js";import"./SKJFZS7G.js";import{b as I}from"./LNJPYNGK.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./OLVFU265.js";import"./FEHKEJZD.js";var V=y`@layer{/** @license
3
+ v1.1.0-next.20250930 */
4
+ import{a as E}from"./WI4YHLNP.js";import"./NK66SUU6.js";import{a as S,c as m,d,e as _,f,g as x}from"./P56PKYKW.js";import"./WW6MD4TF.js";import{b as C}from"./HBYY3KDT.js";import{b as $}from"./X3YQSK4M.js";import{a as v}from"./OQWW5GOD.js";import"./TGDRLQ4O.js";import"./RWAQFBTM.js";import{b as I}from"./BIEQ7KK2.js";import{C as c,D as o,E as F,G as u,h as y,i as l,l as p,o as b,r as L}from"./EAEPH2DK.js";import"./4XYSVDJW.js";var V=y`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250925 */
4
- import"./FEHKEJZD.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.1.0-next.20250930 */
4
+ import"./4XYSVDJW.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};