@esri/solutions-components 1.1.0-next.20250911.2 → 1.1.0-next.20250912

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 (569) hide show
  1. package/dist/cdn/{HWRTCJII.js → 22NHS44H.js} +2 -2
  2. package/dist/cdn/{3QPGK5W4.js → 2BTNXE5E.js} +2 -2
  3. package/dist/cdn/{HF4ZVPTQ.js → 2EZ3B6NW.js} +2 -2
  4. package/dist/cdn/{LZXSNZEG.js → 2FADKSFN.js} +2 -2
  5. package/dist/cdn/{UN5RJRL2.js → 2KLEPLUJ.js} +2 -2
  6. package/dist/cdn/{FMNW55YT.js → 2QWUHGUS.js} +2 -2
  7. package/dist/cdn/{B44OKJQC.js → 2TOTJ3E3.js} +2 -2
  8. package/dist/cdn/{UMX3ZFNX.js → 36I3XVQC.js} +2 -2
  9. package/dist/cdn/{NRRM4ZKX.js → 3Y3VAH7V.js} +2 -2
  10. package/dist/cdn/{LEA72LQK.js → 3Y73YYVM.js} +2 -2
  11. package/dist/cdn/{UL4K3TEK.js → 3ZQNMHSZ.js} +2 -2
  12. package/dist/cdn/{R6YCPKFS.js → 45GY5P5T.js} +2 -2
  13. package/dist/cdn/{SJVWZRHI.js → 4FM3MEKL.js} +2 -2
  14. package/dist/cdn/{JOJEPUUR.js → 4JT3EQZH.js} +2 -2
  15. package/dist/cdn/{HVQVHADU.js → 4NBS5SFD.js} +2 -2
  16. package/dist/cdn/{4WZM547K.js → 4S3C5FBV.js} +2 -2
  17. package/dist/cdn/{AIB25UJ5.js → 4T3GJUMG.js} +2 -2
  18. package/dist/cdn/{E5LWTUJM.js → 4THALZKF.js} +2 -2
  19. package/dist/cdn/{QZ5TADRQ.js → 4UT73IUO.js} +2 -2
  20. package/dist/cdn/{4NZC636H.js → 4WB4U3XP.js} +2 -2
  21. package/dist/cdn/{5W2FD4M5.js → 4YLAWAFP.js} +3 -3
  22. package/dist/cdn/{5PWMGYZG.js → 5BN3G24G.js} +1 -1
  23. package/dist/cdn/{LPL2LQ5B.js → 5C7G3GDI.js} +2 -2
  24. package/dist/cdn/{HK6RVKL5.js → 5GBPIBZP.js} +2 -2
  25. package/dist/cdn/{XKVQI6NZ.js → 5LWYRHCS.js} +2 -2
  26. package/dist/cdn/{652RXIXT.js → 5SADS5RA.js} +2 -2
  27. package/dist/cdn/{NBSBX63J.js → 5SJ56ZOZ.js} +2 -2
  28. package/dist/cdn/{LVIAV5QR.js → 5V3THDCW.js} +2 -2
  29. package/dist/cdn/{423XDLXY.js → 5YTRJSY3.js} +2 -2
  30. package/dist/cdn/{EVH6ZOGW.js → 63PUU7NX.js} +2 -2
  31. package/dist/cdn/{BU6CLZMJ.js → 64GW7HN7.js} +1 -1
  32. package/dist/cdn/{YX6ITC3Y.js → 6FKGI7RL.js} +2 -2
  33. package/dist/cdn/{SXRWHCQ4.js → 6HSB6WFX.js} +2 -2
  34. package/dist/cdn/{YMU6CVCY.js → 6IWWZQTS.js} +2 -2
  35. package/dist/cdn/{2GQADZED.js → 6SGFKF4K.js} +2 -2
  36. package/dist/cdn/{2L7PEA7U.js → 6X4Y5O36.js} +1 -1
  37. package/dist/cdn/{CF4XXPBR.js → 6Y2AUOBG.js} +2 -2
  38. package/dist/cdn/{U5FOT3KO.js → 736SKUVC.js} +2 -2
  39. package/dist/cdn/{EYWF2YAH.js → 75QHKBJ5.js} +2 -2
  40. package/dist/cdn/{GUDOYAJ4.js → 7B76HT6Q.js} +2 -2
  41. package/dist/cdn/{GBL74D5O.js → 7BXH4PIA.js} +2 -2
  42. package/dist/cdn/{HASJRYAV.js → 7CRQFG3W.js} +2 -2
  43. package/dist/cdn/{7B2LY6UV.js → 7DFD6TOA.js} +2 -2
  44. package/dist/cdn/{6AGEFCYB.js → 7E4RAL6T.js} +2 -2
  45. package/dist/cdn/{7MKK4E56.js → 7IPAKACD.js} +2 -2
  46. package/dist/cdn/{NRZOM7WH.js → 7JWJB34R.js} +2 -2
  47. package/dist/cdn/{AD4A4N4U.js → 7KBPMKIU.js} +2 -2
  48. package/dist/cdn/{DHLILBFE.js → 7QQ3DHLG.js} +2 -2
  49. package/dist/cdn/{6JIZ4XBP.js → 7VOCAQW6.js} +2 -2
  50. package/dist/cdn/{ZAQCMLF4.js → 7X7LYSOA.js} +2 -2
  51. package/dist/cdn/7XQ2KFXH.js +4 -0
  52. package/dist/cdn/{XMEJ6JVV.js → 7YJ7S7H3.js} +2 -2
  53. package/dist/cdn/{SJMKD3XJ.js → 7YPKXERY.js} +1 -1
  54. package/dist/cdn/{KE7B6EJ7.js → 7ZQPVXMS.js} +2 -2
  55. package/dist/cdn/{534QDBAQ.js → A7PPNASV.js} +2 -2
  56. package/dist/cdn/{YU573OZL.js → AB6HYXOD.js} +2 -2
  57. package/dist/cdn/{S4TIHVZI.js → ACJUTSLT.js} +2 -2
  58. package/dist/cdn/{L6ZAMSWA.js → ADVKMSGS.js} +2 -2
  59. package/dist/cdn/AFKENLH2.js +18 -0
  60. package/dist/cdn/{RX7FCRXL.js → AKVYWBY5.js} +2 -2
  61. package/dist/cdn/{2RMZE6TC.js → AMVIKLW2.js} +2 -2
  62. package/dist/cdn/{JCX7NDVY.js → AUU7NVPF.js} +2 -2
  63. package/dist/cdn/AZ67O6EA.js +18 -0
  64. package/dist/cdn/{SSJKYZYV.js → B4A5WIXX.js} +2 -2
  65. package/dist/cdn/{XXDDHD56.js → BBDXG4ZX.js} +2 -2
  66. package/dist/cdn/{PTTXJVNC.js → BBEYEW2M.js} +2 -2
  67. package/dist/cdn/{R6UKAFVG.js → BBX266QQ.js} +2 -2
  68. package/dist/cdn/{OQS7FURR.js → BEV4ZOLO.js} +2 -2
  69. package/dist/cdn/{AXK7QP5J.js → BHGKUVGN.js} +2 -2
  70. package/dist/cdn/{4WAESXJG.js → BKGJPNLJ.js} +2 -2
  71. package/dist/cdn/{PL2XGMQD.js → BRUDPTBE.js} +2 -2
  72. package/dist/cdn/{G763EUK4.js → BVB4QQRU.js} +3 -3
  73. package/dist/cdn/{3QUP66X5.js → C3NWFZS2.js} +2 -2
  74. package/dist/cdn/{7L4FXHUD.js → CF66RRXJ.js} +2 -2
  75. package/dist/cdn/{RSXSF7MJ.js → CGPSMMN3.js} +2 -2
  76. package/dist/cdn/{5V2TKTC3.js → CPKYYPVQ.js} +2 -2
  77. package/dist/cdn/{IOLMZX66.js → CVP6JG6Z.js} +2 -2
  78. package/dist/cdn/{MEZPIRT2.js → CW3JTNMY.js} +2 -2
  79. package/dist/cdn/{NTTQO4LF.js → D72MPDUR.js} +2 -2
  80. package/dist/cdn/D7NN4CGJ.js +4 -0
  81. package/dist/cdn/{MP2SEKNA.js → DBEPEYEY.js} +2 -2
  82. package/dist/cdn/DEL45LFD.js +4 -0
  83. package/dist/cdn/{ZGOLN2TZ.js → DK4H7THY.js} +2 -2
  84. package/dist/cdn/{R5S5NMIA.js → DNQAGLCG.js} +2 -2
  85. package/dist/cdn/{PCSVUFBN.js → DQ3ELJCK.js} +2 -2
  86. package/dist/cdn/{OF2TUOXE.js → DRUQLY33.js} +3 -3
  87. package/dist/cdn/{YAQDLWIH.js → DSU3UNRD.js} +2 -2
  88. package/dist/cdn/{ZF42G2JC.js → DTHPIOV7.js} +2 -2
  89. package/dist/cdn/DUYAXDCX.js +18 -0
  90. package/dist/cdn/{PRSEXVB4.js → DVGEFY2T.js} +2 -2
  91. package/dist/cdn/{U7CERHPP.js → DVJT2H4P.js} +6 -6
  92. package/dist/cdn/{BWJW6NOF.js → E4TJMKQE.js} +2 -2
  93. package/dist/cdn/{AR7S42BQ.js → E6LFU77X.js} +2 -2
  94. package/dist/cdn/{DG6M3ZU4.js → E7N3MN5B.js} +2 -2
  95. package/dist/cdn/{5F6FAGVF.js → EA5U4NZR.js} +2 -2
  96. package/dist/cdn/{FN75WUH2.js → EAJJXWYI.js} +2 -2
  97. package/dist/cdn/{2BTYUMLK.js → EBCLHIX4.js} +2 -2
  98. package/dist/cdn/{KQXXZPWB.js → EHPYMQPA.js} +1 -1
  99. package/dist/cdn/{X63Q5IVG.js → EIEAYHGM.js} +2 -2
  100. package/dist/cdn/{V3AZDL3Q.js → EKAM55TY.js} +2 -2
  101. package/dist/cdn/{SI2RCG3D.js → EOEG3U2H.js} +2 -2
  102. package/dist/cdn/{EIJFIHHL.js → EOREJCZG.js} +2 -2
  103. package/dist/cdn/{2DBFWM3J.js → ER7ZFU6X.js} +2 -2
  104. package/dist/cdn/{AWMWRRNB.js → ESWWFOAB.js} +2 -2
  105. package/dist/cdn/{WG2RTAQY.js → F6AXCS3G.js} +2 -2
  106. package/dist/cdn/{YDEVYMZ2.js → F6SJQYK2.js} +1 -1
  107. package/dist/cdn/{BGUPQWXL.js → FAICAYXY.js} +1 -1
  108. package/dist/cdn/{6HEFYILX.js → FAN4TIEW.js} +1 -1
  109. package/dist/cdn/{SNRZBSNS.js → FIA4I6YM.js} +2 -2
  110. package/dist/cdn/{WF3JXYL3.js → FIEQPNBQ.js} +2 -2
  111. package/dist/cdn/{OWZPVOBY.js → FNQA4XRU.js} +1 -1
  112. package/dist/cdn/{7F3GV2VG.js → FPYNQT4G.js} +2 -2
  113. package/dist/cdn/{RKCK7RBY.js → FUOFENR5.js} +2 -2
  114. package/dist/cdn/{7NH4HSMI.js → FVOKZKUP.js} +2 -2
  115. package/dist/cdn/{MW3KDKSA.js → FVTYMUC6.js} +2 -2
  116. package/dist/cdn/{DGQPGBON.js → FYTVEK3E.js} +2 -2
  117. package/dist/cdn/{4GLVTBLS.js → FZ25LBIW.js} +2 -2
  118. package/dist/cdn/{DSTSUTNU.js → G4CGZF42.js} +2 -2
  119. package/dist/cdn/{B3TNANEX.js → GA6QSRQK.js} +2 -2
  120. package/dist/cdn/{KLRHMKZS.js → GGUHKKOB.js} +2 -2
  121. package/dist/cdn/{K7M5CHTQ.js → GI2MWQGR.js} +1 -1
  122. package/dist/cdn/{VP7WLWWE.js → GIRXHUEO.js} +3 -3
  123. package/dist/cdn/{P4OEWYQH.js → GSBQHEWB.js} +2 -2
  124. package/dist/cdn/{YKFCUCEU.js → GU4JVRBJ.js} +2 -2
  125. package/dist/cdn/{LOYE4TGK.js → GUFFPOLF.js} +2 -2
  126. package/dist/cdn/{JWBPC5LQ.js → GWNBLUBZ.js} +2 -2
  127. package/dist/cdn/{AWZ2L6P4.js → GXQ3W7XY.js} +2 -2
  128. package/dist/cdn/{WFZT3XAI.js → GZBZNA6S.js} +2 -2
  129. package/dist/cdn/{SCVZQMZ5.js → GZI4ZO7D.js} +2 -2
  130. package/dist/cdn/{C7LU5E2N.js → H2MQDCE5.js} +2 -2
  131. package/dist/cdn/{AS4N6LTM.js → H2Q4LLBT.js} +2 -2
  132. package/dist/cdn/{YLSDC4BQ.js → H3VFZQEE.js} +2 -2
  133. package/dist/cdn/{ZHBZCVEI.js → HALOKDRQ.js} +2 -2
  134. package/dist/cdn/{IF7UHJAR.js → HH3PXRPH.js} +1 -1
  135. package/dist/cdn/{JU4FWB4Y.js → HK7HP64C.js} +2 -2
  136. package/dist/cdn/{ZFMWIEGQ.js → HMN3YVEG.js} +1 -1
  137. package/dist/cdn/{ZVEIDXJX.js → HQYAU6FI.js} +2 -2
  138. package/dist/cdn/{QOAI6EA2.js → HRR6TK2F.js} +2 -2
  139. package/dist/cdn/{O724AAAL.js → HVSSPMAF.js} +1 -1
  140. package/dist/cdn/{NLAFKJ2E.js → HZNM5O4N.js} +2 -2
  141. package/dist/cdn/{7EYIHL3E.js → IJ3MMFCI.js} +2 -2
  142. package/dist/cdn/{ET7BFDTD.js → IRZFW6LQ.js} +1 -1
  143. package/dist/cdn/{W57M64Z5.js → IV2XVHOG.js} +2 -2
  144. package/dist/cdn/IVIIR22L.js +4 -0
  145. package/dist/cdn/{GGUV3WL7.js → J3OVUIXL.js} +2 -2
  146. package/dist/cdn/{FUJF2Z35.js → J3YTI6XE.js} +2 -2
  147. package/dist/cdn/{XTWIZPJI.js → JHJY7OAV.js} +2 -2
  148. package/dist/cdn/{CTUSQXMB.js → JJZDDJ47.js} +2 -2
  149. package/dist/cdn/{5MDH25UU.js → JKV54XCC.js} +1 -1
  150. package/dist/cdn/{UQFPIFA7.js → JLNJ3WZX.js} +2 -2
  151. package/dist/cdn/JNJEXLVV.js +4 -0
  152. package/dist/cdn/{LXTE5TEF.js → JNOF2OWL.js} +2 -2
  153. package/dist/cdn/{X4FO5WY5.js → JOCYM5CR.js} +2 -2
  154. package/dist/cdn/{FVW6IAZX.js → JTMIZ77S.js} +2 -2
  155. package/dist/cdn/{6EAV5JJ4.js → JY777NZN.js} +2 -2
  156. package/dist/cdn/{2C7SCE4V.js → JYEAMIYY.js} +2 -2
  157. package/dist/cdn/K2UIOHIB.js +4 -0
  158. package/dist/cdn/K3FDIGWM.js +4 -0
  159. package/dist/cdn/{OFLFBFEA.js → KA5TX7WG.js} +2 -2
  160. package/dist/cdn/{4G6R7HJV.js → KBKIL32T.js} +2 -2
  161. package/dist/cdn/{J2RSNIGV.js → KIB4QCMF.js} +2 -2
  162. package/dist/cdn/{7JJ55RBG.js → KMODBXK2.js} +2 -2
  163. package/dist/cdn/{NFIBYZAV.js → KOJ5RMMY.js} +2 -2
  164. package/dist/cdn/{O6UST32T.js → KOLDWQCD.js} +2 -2
  165. package/dist/cdn/{KNPOCWWF.js → KRZNPHDE.js} +2 -2
  166. package/dist/cdn/{RYE2NS44.js → KWCW33YI.js} +1 -1
  167. package/dist/cdn/{SCY6BW5I.js → KYHFLAUO.js} +2 -2
  168. package/dist/cdn/{XEB4CP6T.js → KYWUHOR3.js} +2 -2
  169. package/dist/cdn/{QGW2FJDB.js → KZN645S3.js} +2 -2
  170. package/dist/cdn/{QZLIH56L.js → L2G2B77M.js} +2 -2
  171. package/dist/cdn/{ZYLLH7BH.js → L5PYE2FI.js} +2 -2
  172. package/dist/cdn/{TD3XU55Q.js → L7INMJXZ.js} +1 -1
  173. package/dist/cdn/{YH5LZKSP.js → LBP43MQ6.js} +1 -1
  174. package/dist/cdn/{KJVRMIBD.js → LGRFJTPU.js} +2 -2
  175. package/dist/cdn/{Y52HMXKU.js → LIGXWQA2.js} +2 -2
  176. package/dist/cdn/{SCMDZPD5.js → LJ5JNIIG.js} +2 -2
  177. package/dist/cdn/{OKIDHS5M.js → LLCPSWPE.js} +2 -2
  178. package/dist/cdn/{JQJTOKRA.js → LNBCZ5HJ.js} +2 -2
  179. package/dist/cdn/{EXUFMUTQ.js → LSCHTTTQ.js} +2 -2
  180. package/dist/cdn/{P7YRW4KH.js → LSOCKX4S.js} +2 -2
  181. package/dist/cdn/{S4SYUQWF.js → LW6YJGZO.js} +2 -2
  182. package/dist/cdn/{BE4VGAQ6.js → LWNF2QWG.js} +2 -2
  183. package/dist/cdn/{IABTIHGI.js → M3P2NAX6.js} +2 -2
  184. package/dist/cdn/{M33KJNWN.js → MDGBZAHP.js} +2 -2
  185. package/dist/cdn/{625F6UTS.js → MH6Z2VRR.js} +2 -2
  186. package/dist/cdn/{4Q57777R.js → MJ4XJN7M.js} +1 -1
  187. package/dist/cdn/{IYIXMAGT.js → MM5ESRQ5.js} +2 -2
  188. package/dist/cdn/{V5WZRUNS.js → MR3RCMKN.js} +2 -2
  189. package/dist/cdn/{M7CHTU5E.js → MXTMJ2VV.js} +2 -2
  190. package/dist/cdn/{GB6MUB2B.js → MZHE5XEH.js} +2 -2
  191. package/dist/cdn/{LSBH2RQL.js → MZYH35AQ.js} +2 -2
  192. package/dist/cdn/{SW6PCDQR.js → N2C7AXIX.js} +2 -2
  193. package/dist/cdn/{ZMNVUH2F.js → N2XRLJAG.js} +2 -2
  194. package/dist/cdn/{VNIUIIFM.js → N4YLRLD7.js} +2 -2
  195. package/dist/cdn/{TCFCLE53.js → N5UOXTC4.js} +2 -2
  196. package/dist/cdn/{XGGTGACU.js → N6EPWKMS.js} +2 -2
  197. package/dist/cdn/{MRIJEWVG.js → N6K6TCGJ.js} +2 -2
  198. package/dist/cdn/{C5X2ZRMN.js → N7C3LETR.js} +2 -2
  199. package/dist/cdn/{S3T6DKUX.js → N7WLNRYY.js} +2 -2
  200. package/dist/cdn/{GUZFVIC6.js → NCRYOMBL.js} +2 -2
  201. package/dist/cdn/{HM7C4ICO.js → NEUG37HQ.js} +2 -2
  202. package/dist/cdn/{MCPYVHWV.js → NFAJNT2D.js} +2 -2
  203. package/dist/cdn/{V7R32KZG.js → NFANCV5U.js} +1 -1
  204. package/dist/cdn/{YVSHOV3G.js → NFQDTPG5.js} +3 -3
  205. package/dist/cdn/{TEVDJQRA.js → NFTPD6FN.js} +1 -1
  206. package/dist/cdn/{4EIOWWRF.js → NJIJX36O.js} +2 -2
  207. package/dist/cdn/{DTLIRFON.js → NQBYOAM2.js} +2 -2
  208. package/dist/cdn/{4FXTY4UZ.js → NR4JQXSI.js} +1 -1
  209. package/dist/cdn/{O5SXHKPM.js → NWPCFSF2.js} +2 -2
  210. package/dist/cdn/{F2BWJE75.js → NZSNBU4F.js} +2 -2
  211. package/dist/cdn/{4LG3PE5J.js → OA5RHTML.js} +1 -1
  212. package/dist/cdn/{YPTI53FA.js → OCICPG4K.js} +2 -2
  213. package/dist/cdn/{PEFVFAUS.js → OESAI56N.js} +2 -2
  214. package/dist/cdn/{DJIVAYXP.js → OH4GGL3L.js} +4 -4
  215. package/dist/cdn/{VQ5K2ZRH.js → OP7ETUIC.js} +2 -2
  216. package/dist/cdn/{VKWASFD4.js → OTWGJFBW.js} +2 -2
  217. package/dist/cdn/{4XEBKLU2.js → OXKT3KOC.js} +2 -2
  218. package/dist/cdn/{3VW7GINP.js → OXLDC3MO.js} +2 -2
  219. package/dist/cdn/{XCAWHB7I.js → P27PCPFE.js} +1 -1
  220. package/dist/cdn/{3H2ONS2E.js → P3LB5MOJ.js} +2 -2
  221. package/dist/cdn/P6WYHICU.js +4 -0
  222. package/dist/cdn/{GWPT2ICC.js → PBBHSHEB.js} +2 -2
  223. package/dist/cdn/PBUD7XAX.js +18 -0
  224. package/dist/cdn/{IVUTQ2WB.js → PGHMNNXU.js} +2 -2
  225. package/dist/cdn/{HGB2ZKH5.js → PJQQN64C.js} +1 -1
  226. package/dist/cdn/{SHYRK7HE.js → PLWLLMA4.js} +1 -1
  227. package/dist/cdn/{5FYALSB7.js → PNIEPK5E.js} +2 -2
  228. package/dist/cdn/{Y4M5C6YU.js → PP2UZNKA.js} +2 -2
  229. package/dist/cdn/{UJRSZU3W.js → PWTJDEOO.js} +2 -2
  230. package/dist/cdn/{23T25PXM.js → PZYSY6A6.js} +2 -2
  231. package/dist/cdn/{A7KL7OUO.js → Q2UDMSEM.js} +2 -2
  232. package/dist/cdn/QBVY5MLK.js +4 -0
  233. package/dist/cdn/{HAGL5MC2.js → QE7VCOQU.js} +2 -2
  234. package/dist/cdn/{HF2OV5H6.js → QFE5D42Y.js} +2 -2
  235. package/dist/cdn/{XXR767KI.js → QFWD3SUV.js} +1 -1
  236. package/dist/cdn/{6D4HQ7M2.js → QGUEVXAO.js} +1 -1
  237. package/dist/cdn/{AYKWMJXC.js → QHYU3REE.js} +2 -2
  238. package/dist/cdn/{UQY4RWWT.js → QKTOP2WE.js} +2 -2
  239. package/dist/cdn/{J7O5VJDT.js → QMXL3OUJ.js} +1 -1
  240. package/dist/cdn/{JYVVTI7Y.js → QPHQ4EGC.js} +2 -2
  241. package/dist/cdn/{6G2PI2MU.js → QZEJT5X5.js} +2 -2
  242. package/dist/cdn/{HAG4JRWN.js → R4YKJT6I.js} +2 -2
  243. package/dist/cdn/{YCRRPNZJ.js → R64ROPHB.js} +2 -2
  244. package/dist/cdn/{QZ5JMA34.js → R7DP7XBV.js} +2 -2
  245. package/dist/cdn/{MNG4ZG3D.js → RAFLK4YA.js} +2 -2
  246. package/dist/cdn/{BGLA6JTF.js → RANTD6SP.js} +1 -1
  247. package/dist/cdn/{BHPA7WHD.js → RMS7TGJG.js} +2 -2
  248. package/dist/cdn/{ZC2BQBII.js → RMTMXUZ3.js} +2 -2
  249. package/dist/cdn/{A7UXYWNK.js → RNPBRLOJ.js} +2 -2
  250. package/dist/cdn/RNWSMEJ5.js +18 -0
  251. package/dist/cdn/{ST2OKDZ4.js → RQZR3OQY.js} +2 -2
  252. package/dist/cdn/{TGO42WNV.js → RZ6BBTVI.js} +2 -2
  253. package/dist/cdn/{YZU3OLOE.js → S2ZUB6RK.js} +2 -2
  254. package/dist/cdn/{ND2PYDKI.js → S73UPA5J.js} +1 -1
  255. package/dist/cdn/{MNBSCGTH.js → S7FIE2NC.js} +2 -2
  256. package/dist/cdn/{VUPSMPY2.js → SA4ETBXV.js} +2 -2
  257. package/dist/cdn/{XLVGX5QG.js → SBODRLD5.js} +2 -2
  258. package/dist/cdn/{V3SHEJRF.js → SBONKG7V.js} +2 -2
  259. package/dist/cdn/{PRO5YTTB.js → SGYHA7EM.js} +2 -2
  260. package/dist/cdn/{FDUGCC34.js → SH7RGXFE.js} +2 -2
  261. package/dist/cdn/{TJDQLK7G.js → SIYIB7F4.js} +2 -2
  262. package/dist/cdn/{L5UT6SUW.js → SPALROTD.js} +1 -1
  263. package/dist/cdn/{3V7CDAW4.js → SVC6VTFC.js} +2 -2
  264. package/dist/cdn/{QLKWPXJR.js → SVH2W7CC.js} +2 -2
  265. package/dist/cdn/{NEJI5QW6.js → SY3TQELH.js} +2 -2
  266. package/dist/cdn/{7QDQDNIG.js → SYLSRQZ3.js} +2 -2
  267. package/dist/cdn/T5O3WHR3.js +18 -0
  268. package/dist/cdn/{IAH236ZP.js → T624VC3R.js} +2 -2
  269. package/dist/cdn/{N3EJWHNC.js → TBGFTTBK.js} +2 -2
  270. package/dist/cdn/{FQIN5IN3.js → TCOHF4RJ.js} +2 -2
  271. package/dist/cdn/{SPZFZLTC.js → TFYKYB6M.js} +1 -1
  272. package/dist/cdn/{TCOUPEPD.js → TQ3T4PNM.js} +2 -2
  273. package/dist/cdn/{LOFOYFYB.js → TTBUF52P.js} +2 -2
  274. package/dist/cdn/{4FKMIMIE.js → TY4UTVRW.js} +1 -1
  275. package/dist/cdn/{DUIBMXZM.js → TZB4F2OT.js} +2 -2
  276. package/dist/cdn/{5IUFSIDX.js → U564T7N7.js} +2 -2
  277. package/dist/cdn/{CC2IBTVB.js → U5ZQ5MC6.js} +1 -1
  278. package/dist/cdn/{KVUHCDCE.js → UBWOJDQP.js} +2 -2
  279. package/dist/cdn/{WSRA6XTH.js → UG22S3XR.js} +1 -1
  280. package/dist/cdn/UIFQUSC7.js +4 -0
  281. package/dist/cdn/{K4IX2BB7.js → UJ4IYUID.js} +2 -2
  282. package/dist/cdn/{5EMTFT4K.js → UKL5GIEW.js} +2 -2
  283. package/dist/cdn/{LYTMNBSS.js → UNRKLW2N.js} +2 -2
  284. package/dist/cdn/{RH5HB2BT.js → USW7JQLF.js} +2 -2
  285. package/dist/cdn/{ZHIF66KC.js → UUBQWD6O.js} +2 -2
  286. package/dist/cdn/{OB4UZUS3.js → UXCCY2OW.js} +2 -2
  287. package/dist/cdn/{KWNHBLCT.js → UYTS76LR.js} +2 -2
  288. package/dist/cdn/{Y435VSDF.js → V32AVSYA.js} +2 -2
  289. package/dist/cdn/{ECCUBDV6.js → V4NHBHGB.js} +2 -2
  290. package/dist/cdn/{EHOYB4HE.js → VFKHFSTM.js} +2 -2
  291. package/dist/cdn/{ATB53ZKP.js → VL2S4QLX.js} +2 -2
  292. package/dist/cdn/{DWTJ4XUX.js → VS4SZDCB.js} +2 -2
  293. package/dist/cdn/{L36IZTJY.js → VUTWXMTS.js} +2 -2
  294. package/dist/cdn/{46TLWAGR.js → VYNRPCPD.js} +2 -2
  295. package/dist/cdn/{JRCPPBWZ.js → W3IU2UYU.js} +2 -2
  296. package/dist/cdn/{IDITN77F.js → W5TR47I4.js} +1 -1
  297. package/dist/cdn/{YIW2NPTV.js → W62PXKPO.js} +2 -2
  298. package/dist/cdn/{SFDBXOOG.js → W7BIRLPE.js} +2 -2
  299. package/dist/cdn/{VSN3MCJF.js → W7LCSF2U.js} +2 -2
  300. package/dist/cdn/{ZZ6EPPLQ.js → WADEJTFW.js} +2 -2
  301. package/dist/cdn/{RUUJR35M.js → WBH2HJ6U.js} +1 -1
  302. package/dist/cdn/{2NFSMO4K.js → WEL2BELQ.js} +2 -2
  303. package/dist/cdn/{VJR7P6BV.js → WEVVTUML.js} +2 -2
  304. package/dist/cdn/WI4EY6NX.js +4 -0
  305. package/dist/cdn/{SIOGNWC6.js → WI5JUSJA.js} +2 -2
  306. package/dist/cdn/{DIPB3EE3.js → WNEBRTSQ.js} +2 -2
  307. package/dist/cdn/{ZEDQ72KB.js → WRFDQZW2.js} +2 -2
  308. package/dist/cdn/{ZTZWSNFW.js → WSITM52D.js} +2 -2
  309. package/dist/cdn/WU6NQE2T.js +4 -0
  310. package/dist/cdn/{S4J4KHRF.js → WUMGPEDF.js} +2 -2
  311. package/dist/cdn/{DBLPNJCC.js → WXN2OK4O.js} +2 -2
  312. package/dist/cdn/{PFRBRXPQ.js → WYXCP7DB.js} +2 -2
  313. package/dist/cdn/{WRBC72YE.js → X36PJ3UU.js} +2 -2
  314. package/dist/cdn/{OZYNCKYO.js → X3BIFSYP.js} +2 -2
  315. package/dist/cdn/{3QT7BIV3.js → X3TDFGM7.js} +2 -2
  316. package/dist/cdn/{NXOVSG5D.js → XHLYUCAX.js} +2 -2
  317. package/dist/cdn/{PYTMYLTL.js → XHXUP3IT.js} +2 -2
  318. package/dist/cdn/{YMO5WE7P.js → XIDEPZ2F.js} +2 -2
  319. package/dist/cdn/{KGCOTPXS.js → XNW7NMBB.js} +2 -2
  320. package/dist/cdn/{QQGMGBKF.js → XVR355PR.js} +1 -1
  321. package/dist/cdn/{AWMXLOE7.js → XX76RB6E.js} +2 -2
  322. package/dist/cdn/{A7EIQKXY.js → Y56RVBHY.js} +2 -2
  323. package/dist/cdn/{L3QYFMKB.js → YANJVROW.js} +2 -2
  324. package/dist/cdn/{VCF5ECOP.js → YAWCM4GL.js} +2 -2
  325. package/dist/cdn/{AJIMU7O4.js → YLPOOAML.js} +2 -2
  326. package/dist/cdn/{FH4WJC25.js → YLRRM4KK.js} +2 -2
  327. package/dist/cdn/{M5DODFXN.js → YP35GEEP.js} +1 -1
  328. package/dist/cdn/{FLYG2DDR.js → YPLCL5UV.js} +2 -2
  329. package/dist/cdn/{GQCWPPLN.js → YW3BVJM6.js} +2 -2
  330. package/dist/cdn/{7F63WMPE.js → YWDOUSHD.js} +2 -2
  331. package/dist/cdn/{DVAGFDDK.js → ZDU63MEL.js} +2 -2
  332. package/dist/cdn/{ARM3EG66.js → ZEJN6UXJ.js} +2 -2
  333. package/dist/cdn/{GAI6NOBN.js → ZGKA7TIZ.js} +2 -2
  334. package/dist/cdn/{NHGKXIPR.js → ZHYQGZ3Z.js} +2 -2
  335. package/dist/cdn/{P4ODMYQB.js → ZLDXIKM2.js} +2 -2
  336. package/dist/cdn/{DRDHC6JP.js → ZMLRWCTT.js} +2 -2
  337. package/dist/cdn/{X377VEMR.js → ZN72M6JO.js} +2 -2
  338. package/dist/cdn/{5YLPXC3Y.js → ZTLTSSLD.js} +2 -2
  339. package/dist/cdn/{VNPSHP4E.js → ZVKWIHK6.js} +2 -2
  340. package/dist/cdn/{QO6TTYYN.js → ZYHDFN4A.js} +2 -2
  341. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ar.json +1 -1
  342. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bg.json +1 -1
  343. package/dist/cdn/assets/solution-deployed-card/t9n/messages.bs.json +1 -1
  344. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ca.json +1 -1
  345. package/dist/cdn/assets/solution-deployed-card/t9n/messages.cs.json +1 -1
  346. package/dist/cdn/assets/solution-deployed-card/t9n/messages.da.json +1 -1
  347. package/dist/cdn/assets/solution-deployed-card/t9n/messages.de.json +1 -1
  348. package/dist/cdn/assets/solution-deployed-card/t9n/messages.el.json +1 -1
  349. package/dist/cdn/assets/solution-deployed-card/t9n/messages.es.json +1 -1
  350. package/dist/cdn/assets/solution-deployed-card/t9n/messages.et.json +1 -1
  351. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fi.json +1 -1
  352. package/dist/cdn/assets/solution-deployed-card/t9n/messages.fr.json +1 -1
  353. package/dist/cdn/assets/solution-deployed-card/t9n/messages.he.json +1 -1
  354. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hr.json +1 -1
  355. package/dist/cdn/assets/solution-deployed-card/t9n/messages.hu.json +1 -1
  356. package/dist/cdn/assets/solution-deployed-card/t9n/messages.id.json +1 -1
  357. package/dist/cdn/assets/solution-deployed-card/t9n/messages.it.json +1 -1
  358. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ja.json +1 -1
  359. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ko.json +1 -1
  360. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lt.json +1 -1
  361. package/dist/cdn/assets/solution-deployed-card/t9n/messages.lv.json +1 -1
  362. package/dist/cdn/assets/solution-deployed-card/t9n/messages.nl.json +1 -1
  363. package/dist/cdn/assets/solution-deployed-card/t9n/messages.no.json +1 -1
  364. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pl.json +1 -1
  365. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-BR.json +1 -1
  366. package/dist/cdn/assets/solution-deployed-card/t9n/messages.pt-PT.json +1 -1
  367. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ro.json +1 -1
  368. package/dist/cdn/assets/solution-deployed-card/t9n/messages.ru.json +1 -1
  369. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sk.json +1 -1
  370. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sl.json +1 -1
  371. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sr.json +1 -1
  372. package/dist/cdn/assets/solution-deployed-card/t9n/messages.sv.json +1 -1
  373. package/dist/cdn/assets/solution-deployed-card/t9n/messages.th.json +1 -1
  374. package/dist/cdn/assets/solution-deployed-card/t9n/messages.tr.json +1 -1
  375. package/dist/cdn/assets/solution-deployed-card/t9n/messages.uk.json +1 -1
  376. package/dist/cdn/assets/solution-deployed-card/t9n/messages.vi.json +1 -1
  377. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-CN.json +1 -1
  378. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-HK.json +1 -1
  379. package/dist/cdn/assets/solution-deployed-card/t9n/messages.zh-TW.json +1 -1
  380. package/dist/cdn/index.js +2 -2
  381. package/dist/chunks/Auth.js +1 -1
  382. package/dist/chunks/CardsFetcher.js +1 -1
  383. package/dist/chunks/appConfig.js +1 -1
  384. package/dist/chunks/cardFetchingUtils.js +1 -1
  385. package/dist/chunks/cardsHelpers.js +1 -1
  386. package/dist/chunks/common.js +1 -1
  387. package/dist/chunks/deployAppContexts.js +1 -1
  388. package/dist/chunks/downloadUtils.js +1 -1
  389. package/dist/chunks/getItemIcon.js +1 -1
  390. package/dist/chunks/helpers.js +1 -1
  391. package/dist/chunks/interfaces.js +1 -1
  392. package/dist/chunks/loadModules.js +1 -1
  393. package/dist/chunks/mapViewUtils.js +1 -1
  394. package/dist/chunks/pciUtils.js +1 -1
  395. package/dist/chunks/popupUtils.js +1 -1
  396. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  397. package/dist/chunks/privilegeUtils.js +1 -1
  398. package/dist/chunks/publicNotificationContext.js +1 -1
  399. package/dist/chunks/queryUtils.js +1 -1
  400. package/dist/chunks/runtime.js +1 -1
  401. package/dist/chunks/solution-store.js +318 -321
  402. package/dist/chunks/templates.js +1 -1
  403. package/dist/chunks/useT9n.js +1 -1
  404. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +0 -1
  405. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  406. package/dist/components/basemap-gallery/customElement.d.ts +0 -7
  407. package/dist/components/basemap-gallery/customElement.js +1 -1
  408. package/dist/components/buffer-tools/customElement.d.ts +0 -45
  409. package/dist/components/buffer-tools/customElement.js +1 -1
  410. package/dist/components/card-manager/customElement.d.ts +0 -49
  411. package/dist/components/card-manager/customElement.js +1 -1
  412. package/dist/components/consent-manager/customElement.d.ts +0 -33
  413. package/dist/components/consent-manager/customElement.js +1 -1
  414. package/dist/components/create-feature/customElement.d.ts +0 -98
  415. package/dist/components/create-feature/customElement.js +1 -1
  416. package/dist/components/create-related-feature/customElement.d.ts +0 -24
  417. package/dist/components/create-related-feature/customElement.js +1 -1
  418. package/dist/components/crowdsource-manager/customElement.d.ts +0 -191
  419. package/dist/components/crowdsource-manager/customElement.js +1 -1
  420. package/dist/components/crowdsource-reporter/customElement.d.ts +0 -183
  421. package/dist/components/crowdsource-reporter/customElement.js +48 -48
  422. package/dist/components/deduct-calculator/customElement.d.ts +0 -1
  423. package/dist/components/deduct-calculator/customElement.js +1 -1
  424. package/dist/components/delete-button/customElement.d.ts +0 -25
  425. package/dist/components/delete-button/customElement.js +1 -1
  426. package/dist/components/delete-dialog/customElement.d.ts +0 -9
  427. package/dist/components/delete-dialog/customElement.js +1 -1
  428. package/dist/components/edit-card/customElement.d.ts +0 -34
  429. package/dist/components/edit-card/customElement.js +1 -1
  430. package/dist/components/feature-details/customElement.d.ts +0 -33
  431. package/dist/components/feature-details/customElement.js +1 -1
  432. package/dist/components/feature-list/customElement.d.ts +0 -77
  433. package/dist/components/feature-list/customElement.js +101 -90
  434. package/dist/components/field-selection/customElement.d.ts +0 -3
  435. package/dist/components/field-selection/customElement.js +64 -98
  436. package/dist/components/floor-filter/customElement.d.ts +0 -14
  437. package/dist/components/floor-filter/customElement.js +1 -1
  438. package/dist/components/info-card/customElement.d.ts +0 -64
  439. package/dist/components/info-card/customElement.js +5 -2
  440. package/dist/components/json-editor/customElement.d.ts +0 -49
  441. package/dist/components/json-editor/customElement.js +1 -1
  442. package/dist/components/layer-list/customElement.d.ts +0 -32
  443. package/dist/components/layer-list/customElement.js +8 -5
  444. package/dist/components/layer-table/customElement.d.ts +0 -98
  445. package/dist/components/layer-table/customElement.js +1 -2
  446. package/dist/components/map-card/customElement.d.ts +0 -155
  447. package/dist/components/map-card/customElement.js +1 -1
  448. package/dist/components/map-draw-tools/customElement.d.ts +0 -47
  449. package/dist/components/map-draw-tools/customElement.js +1 -1
  450. package/dist/components/map-fullscreen/customElement.d.ts +0 -3
  451. package/dist/components/map-fullscreen/customElement.js +1 -1
  452. package/dist/components/map-layer-picker/customElement.d.ts +0 -84
  453. package/dist/components/map-layer-picker/customElement.js +3 -3
  454. package/dist/components/map-legend/customElement.d.ts +0 -6
  455. package/dist/components/map-legend/customElement.js +1 -1
  456. package/dist/components/map-picker/customElement.d.ts +0 -30
  457. package/dist/components/map-picker/customElement.js +1 -1
  458. package/dist/components/map-search/customElement.d.ts +0 -19
  459. package/dist/components/map-search/customElement.js +1 -1
  460. package/dist/components/map-select-tools/customElement.d.ts +0 -83
  461. package/dist/components/map-select-tools/customElement.js +1 -1
  462. package/dist/components/map-tools/customElement.d.ts +0 -113
  463. package/dist/components/map-tools/customElement.js +1 -1
  464. package/dist/components/pci-calculator/customElement.js +1 -1
  465. package/dist/components/pdf-download/customElement.d.ts +0 -25
  466. package/dist/components/pdf-download/customElement.js +1 -1
  467. package/dist/components/public-notification/customElement.d.ts +0 -113
  468. package/dist/components/public-notification/customElement.js +1 -1
  469. package/dist/components/refine-selection/customElement.d.ts +0 -12
  470. package/dist/components/refine-selection/customElement.js +1 -1
  471. package/dist/components/selection-tool/customElement.d.ts +0 -14
  472. package/dist/components/selection-tool/customElement.js +1 -1
  473. package/dist/components/solution-article-card/customElement.d.ts +0 -26
  474. package/dist/components/solution-article-card/customElement.js +1 -1
  475. package/dist/components/solution-configuration/customElement.d.ts +0 -12
  476. package/dist/components/solution-configuration/customElement.js +1 -1
  477. package/dist/components/solution-configure-dialog/customElement.d.ts +0 -17
  478. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  479. package/dist/components/solution-configure-titles/customElement.d.ts +0 -9
  480. package/dist/components/solution-configure-titles/customElement.js +1 -1
  481. package/dist/components/solution-contents/customElement.d.ts +0 -14
  482. package/dist/components/solution-contents/customElement.js +1 -1
  483. package/dist/components/solution-delete-dialog/customElement.d.ts +0 -15
  484. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  485. package/dist/components/solution-deploy-dialog/customElement.d.ts +0 -22
  486. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  487. package/dist/components/solution-deployed-card/customElement.d.ts +0 -26
  488. package/dist/components/solution-deployed-card/customElement.js +1 -1
  489. package/dist/components/solution-deploying-dialog/customElement.d.ts +0 -15
  490. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  491. package/dist/components/solution-details-card/customElement.d.ts +0 -2
  492. package/dist/components/solution-details-card/customElement.js +1 -1
  493. package/dist/components/solution-details-panel/customElement.d.ts +0 -4
  494. package/dist/components/solution-details-panel/customElement.js +22 -19
  495. package/dist/components/solution-item/customElement.d.ts +0 -16
  496. package/dist/components/solution-item/customElement.js +1 -1
  497. package/dist/components/solution-item-accordion/customElement.d.ts +0 -36
  498. package/dist/components/solution-item-accordion/customElement.js +1 -1
  499. package/dist/components/solution-item-details/customElement.d.ts +0 -5
  500. package/dist/components/solution-item-details/customElement.js +1 -1
  501. package/dist/components/solution-item-diagram/customElement.d.ts +0 -2
  502. package/dist/components/solution-item-diagram/customElement.js +1 -1
  503. package/dist/components/solution-item-icon/customElement.d.ts +0 -11
  504. package/dist/components/solution-item-icon/customElement.js +1 -1
  505. package/dist/components/solution-item-sharing/customElement.d.ts +0 -5
  506. package/dist/components/solution-item-sharing/customElement.js +1 -1
  507. package/dist/components/solution-organization-variables/customElement.d.ts +0 -5
  508. package/dist/components/solution-organization-variables/customElement.js +1 -1
  509. package/dist/components/solution-resource-item/customElement.d.ts +0 -7
  510. package/dist/components/solution-resource-item/customElement.js +1 -1
  511. package/dist/components/solution-snapshot-gallery/customElement.d.ts +0 -8
  512. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  513. package/dist/components/solution-social-share/customElement.d.ts +0 -92
  514. package/dist/components/solution-social-share/customElement.js +1 -1
  515. package/dist/components/solution-spatial-ref/customElement.d.ts +0 -20
  516. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  517. package/dist/components/solution-template-data/customElement.d.ts +0 -22
  518. package/dist/components/solution-template-data/customElement.js +1 -1
  519. package/dist/components/solution-variables/customElement.d.ts +0 -5
  520. package/dist/components/solution-variables/customElement.js +1 -1
  521. package/dist/components/solutions-all-panel/customElement.d.ts +0 -37
  522. package/dist/components/solutions-all-panel/customElement.js +38 -34
  523. package/dist/components/solutions-all-shell/customElement.d.ts +0 -13
  524. package/dist/components/solutions-all-shell/customElement.js +23 -20
  525. package/dist/components/solutions-article-panel/customElement.d.ts +0 -10
  526. package/dist/components/solutions-article-panel/customElement.js +1 -1
  527. package/dist/components/solutions-articles/customElement.d.ts +0 -1
  528. package/dist/components/solutions-articles/customElement.js +1 -1
  529. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  530. package/dist/components/solutions-deploy-app/customElement.d.ts +0 -37
  531. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  532. package/dist/components/solutions-deployed-filter-panel/customElement.d.ts +0 -35
  533. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  534. package/dist/components/solutions-deployed-panel/customElement.d.ts +0 -38
  535. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  536. package/dist/components/solutions-deployed-shell/customElement.d.ts +0 -13
  537. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  538. package/dist/components/solutions-filter-panel/customElement.d.ts +0 -26
  539. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  540. package/dist/components/spatial-ref/customElement.d.ts +0 -29
  541. package/dist/components/spatial-ref/customElement.js +1 -1
  542. package/dist/components/store-manager/customElement.d.ts +0 -12
  543. package/dist/components/store-manager/customElement.js +1 -1
  544. package/dist/docs/api.json +2 -2
  545. package/dist/docs/docs.json +2 -2
  546. package/dist/docs/web-types.json +1 -1
  547. package/dist/index.js +1 -1
  548. package/dist/loader.js +1 -1
  549. package/dist/utils/interfaces.d.ts +1 -0
  550. package/package.json +1 -2
  551. package/dist/cdn/35OG34DW.js +0 -4
  552. package/dist/cdn/7L2K4CTR.js +0 -4
  553. package/dist/cdn/ELLO2MAY.js +0 -5
  554. package/dist/cdn/FOKWC4YX.js +0 -4
  555. package/dist/cdn/HXWR5OEJ.js +0 -18
  556. package/dist/cdn/IYPM2CF6.js +0 -4
  557. package/dist/cdn/J67LB5D3.js +0 -4
  558. package/dist/cdn/L3LZPYIH.js +0 -18
  559. package/dist/cdn/NG3RIAIG.js +0 -4
  560. package/dist/cdn/NQA4IZWB.js +0 -18
  561. package/dist/cdn/OHH4JYRI.js +0 -18
  562. package/dist/cdn/PEYOKBZS.js +0 -4
  563. package/dist/cdn/QJ4JOKJB.js +0 -4
  564. package/dist/cdn/VNWH6JZ2.js +0 -4
  565. package/dist/cdn/WD4HSNVO.js +0 -18
  566. package/dist/cdn/WEQSM7IC.js +0 -4
  567. package/dist/cdn/XIMVS4MY.js +0 -3
  568. package/dist/cdn/ZE2ISXNN.js +0 -4
  569. package/dist/cdn/ZJ7VEBUB.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as q}from"./ND2PYDKI.js";import{a as w}from"./2BTYUMLK.js";import{a as M}from"./NLAFKJ2E.js";import{C as T,b as v,c as F,z as P}from"./BGUPQWXL.js";import{b as S}from"./6JIZ4XBP.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
3
+ v1.1.0-next.20250912 */
4
+ import{a as q}from"./S73UPA5J.js";import{a as w}from"./EBCLHIX4.js";import{a as M}from"./HZNM5O4N.js";import{C as T,b as v,c as F,z as P}from"./FAICAYXY.js";import{b as S}from"./7VOCAQW6.js";import"./N7C3LETR.js";import"./22NHS44H.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./XVR355PR.js";import"./PLWLLMA4.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
@@ -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.20250911.2 */
4
- import"./SHYRK7HE.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};
3
+ v1.1.0-next.20250912 */
4
+ import"./PLWLLMA4.js";var e="Non si dispone di abbastanza crediti per completare questa operazione. Contattare un amministratore di sistema ArcGIS per assistenza.",a="Questo strumento \xE8 stato pubblicato da un notebook. L'accesso ad ArcGIS Notebooks \xE8 bloccato per l'organizzazione. Contattare l'amministratore per correggere l'impostazione.",r="${ dataPath } non deve contenere ${ additionalProperty }.",o="${ dataPath } deve corrispondere allo schema di uno di questi\u200E: ${ schemaOptions }.",i="Provare a salvare di nuovo la mappa.",t="Stima dei crediti non riuscita. Scorri in basso, correggi gli errori e stima nuovamente i crediti.",s="Si \xE8 verificato un errore durante l'analisi.",n="${ dataPath } deve essere uguale a uno di questi valori consentiti: ${ allowedValues }.",l="Impossibile salvare la cronologia analisi",c="L'archivio della cronologia \xE8 pieno. Eliminare alcuni elementi dalla cronologia analisi e riprovare.",d="Il nome del servizio contiene uno o pi\xF9 caratteri non validi.",m="Il salvataggio del layer temporaneo come feature layer in hosting non \xE8 stato completato.",u="Impossibile ottenere le propriet\xE0 chiave.",p="Impossibile caricare il layer.",v="Il layer non \xE8 disponibile.",g="${ dataPath } non deve contenere pi\xF9 di ${ limit } elementi.",h="Si \xE8 verificato un errore durante il salvataggio del modello. Provare a salvare di nuovo.",y="${ dataPath } non deve contenere meno di ${ limit } elementi.",E="${ dataPath } non deve essere pi\xF9 corto di ${ limit } caratteri.",b="Impossibile caricare l'elemento del modello. Assicurarsi che il modello esista e che sia stata concessa l'autorizzazione per l'accesso.",I="Impossibile completare la richiesta.",P="Non si dispone dell'autorizzazione per eseguire questo strumento. <calcite-link target='_blank' href='${ docLink }'>Ulteriori informazioni</calcite-link>",S="Impossibile accedere al portale.",f="Impossibile leggere i dati di input.",z="A ${ dataPath } manca una propriet\xE0 denominata ${ missingProperty }.",$="Un layer risultato esiste gi\xE0 con questo nome. I layer dei risultati devono essere denominati in modo univoco in tutta l'organizzazione. Usare un altro nome.",k="Il nome di output contiene uno o pi\xF9 caratteri non validi. <a href='${docLink}' target='_blank'>Ulteriori informazioni.</a>",F="La pubblicazione del layer temporaneo come layer in hosting non \xE8 riuscita a causa di uno o pi\xF9 campi non validi. Eseguire nuovamente lo strumento per creare un layer con campi validi.",L="Invio del processo non riuscito. Scorrere verso il basso, correggere gli errori ed eseguire nuovamente l'analisi.",N="${ dataPath } deve contenere almeno un carattere.",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:i,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:c,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:v,maxItems:g,mbFailedToSave:h,minItems:y,minLength:E,modelNotFound:b,networkError:I,noPermissionToAccessTool:P,portalLoadError:S,queryFeaturesError:f,requiredProperty:z,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,o as anyOfValues,i as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,c as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,v as layerUnavailable,g as maxItems,h as mbFailedToSave,y as minItems,E as minLength,b as modelNotFound,I as networkError,P as noPermissionToAccessTool,S as portalLoadError,f as queryFeaturesError,z as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,N as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as t}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.1.0-next.20250912 */
4
+ import{a as t}from"./2QWUHGUS.js";import"./EAJJXWYI.js";import"./6X4Y5O36.js";import"./OXLDC3MO.js";import"./HH3PXRPH.js";import"./7YPKXERY.js";import"./VL2S4QLX.js";import"./HMN3YVEG.js";import"./5V3THDCW.js";import"./N5UOXTC4.js";import"./W7BIRLPE.js";import"./4THALZKF.js";import"./KRZNPHDE.js";import"./FPYNQT4G.js";import"./QHYU3REE.js";import"./TCOHF4RJ.js";import"./LJ5JNIIG.js";import"./HK7HP64C.js";import"./6SGFKF4K.js";import"./SIYIB7F4.js";import"./TFYKYB6M.js";import"./MJ4XJN7M.js";import"./PJQQN64C.js";import"./PLWLLMA4.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{l as g}from"./NTTQO4LF.js";import{c as i,d as f}from"./K7M5CHTQ.js";import{a as o}from"./IDITN77F.js";import{b as c}from"./5F6FAGVF.js";import{c as m,j as l,k as s,l as d,w as p}from"./ZZ6EPPLQ.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
3
+ v1.1.0-next.20250912 */
4
+ import{l as g}from"./D72MPDUR.js";import{c as i,d as f}from"./GI2MWQGR.js";import{a as o}from"./W5TR47I4.js";import{b as c}from"./EA5U4NZR.js";import{c as m,j as l,k as s,l as d,w as p}from"./WADEJTFW.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -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.20250911.2 */
4
- import b from"./2RMZE6TC.js";import a from"./LXTE5TEF.js";import{c as p}from"./KQXXZPWB.js";import{b as d}from"./U5FOT3KO.js";import"./IOLMZX66.js";import"./GUZFVIC6.js";import"./XXR767KI.js";import"./3QT7BIV3.js";import"./NTTQO4LF.js";import"./5FYALSB7.js";import"./OWZPVOBY.js";import"./K7M5CHTQ.js";import"./ZF42G2JC.js";import"./ET7BFDTD.js";import"./IDITN77F.js";import"./BGLA6JTF.js";import"./5F6FAGVF.js";import"./NFIBYZAV.js";import"./ZZ6EPPLQ.js";import"./CC2IBTVB.js";import"./6D4HQ7M2.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import"./ZFMWIEGQ.js";import"./4LG3PE5J.js";import{a as h}from"./5YLPXC3Y.js";import"./C5X2ZRMN.js";import"./HWRTCJII.js";import{b as l}from"./LZXSNZEG.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./QQGMGBKF.js";import"./SHYRK7HE.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
3
+ v1.1.0-next.20250912 */
4
+ import b from"./AMVIKLW2.js";import a from"./JNOF2OWL.js";import{c as p}from"./EHPYMQPA.js";import{b as d}from"./736SKUVC.js";import"./CVP6JG6Z.js";import"./NCRYOMBL.js";import"./QFWD3SUV.js";import"./X3TDFGM7.js";import"./D72MPDUR.js";import"./PNIEPK5E.js";import"./FNQA4XRU.js";import"./GI2MWQGR.js";import"./DTHPIOV7.js";import"./IRZFW6LQ.js";import"./W5TR47I4.js";import"./RANTD6SP.js";import"./EA5U4NZR.js";import"./KOJ5RMMY.js";import"./WADEJTFW.js";import"./U5ZQ5MC6.js";import"./QGUEVXAO.js";import"./BBEYEW2M.js";import"./LBP43MQ6.js";import"./HMN3YVEG.js";import"./OA5RHTML.js";import{a as h}from"./ZTLTSSLD.js";import"./N7C3LETR.js";import"./22NHS44H.js";import{b as l}from"./2FADKSFN.js";import{C as r,D as n,E as c,I as i,h as o,i as s}from"./XVR355PR.js";import"./PLWLLMA4.js";export default $arcgis.t(([,{c:g}])=>{var u=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import c from"./YKFCUCEU.js";import b from"./652RXIXT.js";import"./HF4ZVPTQ.js";import a from"./NEJI5QW6.js";import{a as K}from"./2BTYUMLK.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./BGUPQWXL.js";import{b as Se}from"./6JIZ4XBP.js";import"./HWRTCJII.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"./QQGMGBKF.js";import{b as st,d as lt}from"./SHYRK7HE.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.20250912 */
4
+ import c from"./GU4JVRBJ.js";import b from"./5SADS5RA.js";import"./2EZ3B6NW.js";import a from"./SY3TQELH.js";import{a as K}from"./EBCLHIX4.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./FAICAYXY.js";import{b as Se}from"./7VOCAQW6.js";import"./22NHS44H.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"./XVR355PR.js";import{b as st,d as lt}from"./PLWLLMA4.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{d as e}from"./NFIBYZAV.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.1.0-next.20250912 */
4
+ import{d as e}from"./KOJ5RMMY.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as t}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import{a as r}from"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
3
+ v1.1.0-next.20250912 */
4
+ import{a as t}from"./2QWUHGUS.js";import"./EAJJXWYI.js";import{a as r}from"./6X4Y5O36.js";import"./OXLDC3MO.js";import"./HH3PXRPH.js";import"./7YPKXERY.js";import"./VL2S4QLX.js";import"./HMN3YVEG.js";import"./5V3THDCW.js";import"./N5UOXTC4.js";import"./W7BIRLPE.js";import"./4THALZKF.js";import"./KRZNPHDE.js";import"./FPYNQT4G.js";import"./QHYU3REE.js";import"./TCOHF4RJ.js";import"./LJ5JNIIG.js";import"./HK7HP64C.js";import"./6SGFKF4K.js";import"./SIYIB7F4.js";import"./TFYKYB6M.js";import"./MJ4XJN7M.js";import"./PJQQN64C.js";import"./PLWLLMA4.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{n as buildUiSchema};
@@ -1,6 +1,6 @@
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.20250911.2 */
3
+ v1.1.0-next.20250912 */
4
4
  var Q=globalThis,Y=Q.ShadowRoot&&(Q.ShadyCSS===void 0||Q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),Rt=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Y&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Rt.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new I(typeof o=="string"?o:o+"",void 0,ut),ue=(o,...t)=>{let e=o.length===1?o[0]:t.reduce(((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1]),o[0]);return new I(e,o,ut)},It=(o,t)=>{if(Y)o.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(let e of t){let s=document.createElement("style"),r=Q.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},ft=Y?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:fe,defineProperty:me,getOwnPropertyDescriptor:ye,getOwnPropertyNames:ge,getOwnPropertySymbols:ve,getPrototypeOf:Ee}=Object,X=globalThis,kt=X.trustedTypes,$e=kt?kt.emptyScript:"",be=X.reactiveElementPolyfillSupport,k=(o,t)=>o,Z={toAttribute(o,t){switch(t){case Boolean:o=o?$e:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!fe(o,t),jt={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&me(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=ye(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ee(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...ge(e),...ve(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let r of s)e.unshift(ft(r))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:Z).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Z;this._$Em=r;let a=n.fromAttribute(e,i.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((s=>s.hostUpdate?.())),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((e=>this._$ET(e,this[e]))),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,be?.({ReactiveElement:b}),(X.reactiveElementVersions??=[]).push("2.1.1");var yt=globalThis,tt=yt.trustedTypes,Ht=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,gt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+_,_e=`<${vt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,qt=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",mt=`[
5
5
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zt=/-->/g,Vt=/>/g,w=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
6
6
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,Gt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),hs=$t(1),ds=$t(2),ps=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Ft=new WeakMap,O=T.createTreeWalker(T,129);function Kt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=zt:u[1]!==void 0?n=Vt:u[2]!==void 0?(Gt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Wt:Bt):n===Wt||n===Bt?n=w:n===zt||n===Vt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+_e:h>=0?(s.push(l),c.slice(0,h)+gt+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Kt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Jt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(gt)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?st:C[1]==="?"?ot:C[1]==="@"?rt:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Gt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=tt?tt.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===vt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new L(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new it(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},L=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new et(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new B(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},rt=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},it=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Qt={M:gt,P:_,A:vt,C:1,L:Jt,R:et,D:qt,V:S,I:L,H:P,N:ot,U:rt,B:st,F:it},Ae=yt.litHtmlPolyfillSupport;Ae?.(B,L),(yt.litHtmlVersions??=[]).push("3.3.1");var bt=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new L(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var _t=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,_t.litElementHydrateSupport?.({LitElement:A});var Ce=_t.litElementPolyfillSupport;Ce?.({LitElement:A});(_t.litElementVersions??=[]).push("4.2.1");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var q=Symbol.for("controller"),we=o=>typeof o=="object"&&o!==null&&(q in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Os=o=>typeof o?.then=="function";var F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},G=o=>F,N=[],Yt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Zt=()=>N,R,Ts=o=>{R!==o&&(R=o,queueMicrotask(()=>R===o?R=void 0:0))},Oe=()=>{let o=R;return R=void 0,o},Xt=async(o,t)=>{let e=at(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},te=async o=>{let t=at(o);return await t.ready,t},at=o=>{let e=G().manager.X(o);if(e!==void 0)return e;if(we(o))return o;let s=Oe();if(s!==void 0)return s},nt=!1,Ss=o=>{nt=!0;try{return o()}finally{nt=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ee=(o,t)=>{let e=t>Te?Se:t/Pe,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},Te=4e3,Se=2e3,Pe=4;var Ne=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},xe=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},De=(o=[G(),...Zt()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ne(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){xe(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},Ue=(o="",t={},e=G())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&De(void 0,r=>o=r.key,s),s},Le=Ue.bind(null,""),re;re=q;var At=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[re]=!0,this.#a=[];let e=this,s=t??G(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=oe(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Yt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?oe(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),Xt}get useRef(){return x(this.#i),te}get useRefSync(){return x(this.#i),at}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(se,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(se,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function se(o){p(o,void 0,this)}var ie=At,oe=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(Re,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Re=/[A-Z]+(?![a-z])|[A-Z]/gu;var Is="randomUUID"in crypto;var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var ke=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(";"),g=u?u?.split(",").map(je):void 0,C=g?.map(([U])=>U),D=class extends wt{static{this.observedAttributes=g?.map(([,U])=>U).filter(U=>U!=="")}static{this.C=C}static{this.E=h?h?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},lt=Object.defineProperty,je=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},He=globalThis.HTMLElement??St,wt=class extends He{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Ve(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(ze,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ze([o,t]){this[o]=t}var Ve=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Be}=Qt;var ht=o=>o.strings===void 0,ne=()=>document.createComment(""),Gs=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(ne(),r),n=s.insertBefore(ne(),r);e=new Be(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},Ks=(o,t,e=o)=>(o._$AI(t,e),o),We={},ae=(o,t=We)=>o._$AH=t,Js=o=>o._$AH,Qs=o=>{o._$AR(),o._$AA.remove()};var Fe=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ae(o),t}});var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ce=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Ke(t)}};function qe(o){this._$AN!==void 0?(dt(this),this._$AM=o,ce(this)):this._$AM=o}function Ge(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)J(s[i],!1),dt(s[i]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Ke=o=>{o.type==m.CHILD&&(o._$AP??=Ge,o._$AQ??=qe)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ce(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var uo=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var le=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter((t=>o[t])).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter((s=>s!==""))));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var he="important",Qe=" !"+he,de=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce(((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Qe);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?he:""):e[s]=r}}return f}});var Dt=class extends ie{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ee(t,is)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},is=1e3,Ut="autoDestroyDisabled",pe=class o extends A{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!nt&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var nr=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var ar=o=>typeof o=="object"&&o!=null?le(o):o,cr=o=>typeof o=="object"&&o!=null?de(o):o;var Lt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},lr=E(Lt);var hr=d;export{Os as a,x as b,G as c,Yt as d,Zt as e,Ts as f,Ss as g,ue as h,hs as i,ds as j,f as k,d as l,xe as m,De as n,Le as o,At as p,ie as q,Tt as r,ke as s,m as t,E as u,v,Gs as w,Ks as x,ae as y,Js as z,Qs as A,Fe as B,uo as C,xt as D,pe as E,nr as F,ar as G,cr as H,hr as I};
@@ -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.20250911.2 */
4
- import"./SHYRK7HE.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
3
+ v1.1.0-next.20250912 */
4
+ import"./PLWLLMA4.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250911.2 */
4
- import{a as o}from"./YMO5WE7P.js";import{d as r}from"./NFIBYZAV.js";import"./PTTXJVNC.js";import"./YH5LZKSP.js";import{a as s}from"./FMNW55YT.js";import"./SJMKD3XJ.js";import"./ATB53ZKP.js";import"./ZFMWIEGQ.js";import"./TCFCLE53.js";import"./SFDBXOOG.js";import"./E5LWTUJM.js";import"./KNPOCWWF.js";import"./7F3GV2VG.js";import"./AYKWMJXC.js";import"./FQIN5IN3.js";import"./FN75WUH2.js";import"./2L7PEA7U.js";import"./3VW7GINP.js";import"./IF7UHJAR.js";import"./SCMDZPD5.js";import"./JU4FWB4Y.js";import"./2GQADZED.js";import"./HGB2ZKH5.js";import"./LVIAV5QR.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.1.0-next.20250912 */
4
+ import{a as o}from"./XIDEPZ2F.js";import{d as r}from"./KOJ5RMMY.js";import"./BBEYEW2M.js";import"./LBP43MQ6.js";import{a as s}from"./2QWUHGUS.js";import"./EAJJXWYI.js";import"./6X4Y5O36.js";import"./OXLDC3MO.js";import"./HH3PXRPH.js";import"./7YPKXERY.js";import"./VL2S4QLX.js";import"./HMN3YVEG.js";import"./5V3THDCW.js";import"./N5UOXTC4.js";import"./W7BIRLPE.js";import"./4THALZKF.js";import"./KRZNPHDE.js";import"./FPYNQT4G.js";import"./QHYU3REE.js";import"./TCOHF4RJ.js";import"./LJ5JNIIG.js";import"./HK7HP64C.js";import"./6SGFKF4K.js";import"./SIYIB7F4.js";import"./TFYKYB6M.js";import"./MJ4XJN7M.js";import"./PJQQN64C.js";import"./PLWLLMA4.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -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.20250911.2 */
4
- import{b as g}from"./5MDH25UU.js";import{b as m}from"./LZXSNZEG.js";import{C as d,D as p,E as u,h as o,i as l}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var f=o`/** @license
3
+ v1.1.0-next.20250912 */
4
+ import{b as g}from"./JKV54XCC.js";import{b as m}from"./2FADKSFN.js";import{C as d,D as p,E as u,h as o,i as l}from"./XVR355PR.js";import"./PLWLLMA4.js";var f=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,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.20250911.2 */
4
- import{b as l}from"./5MDH25UU.js";import{b as m}from"./LZXSNZEG.js";import{C as p,D as o,E as n,h as t,i as r}from"./QQGMGBKF.js";import"./SHYRK7HE.js";var h=t`/** @license
3
+ v1.1.0-next.20250912 */
4
+ import{b as l}from"./JKV54XCC.js";import{b as m}from"./2FADKSFN.js";import{C as p,D as o,E as n,h as t,i as r}from"./XVR355PR.js";import"./PLWLLMA4.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.20250911.2 */
4
- import{a,b}from"./E5LWTUJM.js";import"./TJDQLK7G.js";import"./SPZFZLTC.js";import"./4Q57777R.js";import"./SHYRK7HE.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.1.0-next.20250912 */
4
+ import{a,b}from"./4THALZKF.js";import"./SIYIB7F4.js";import"./TFYKYB6M.js";import"./MJ4XJN7M.js";import"./PLWLLMA4.js";export{a as ContentEditorTypes,b as ContentSchema};