@esri/solutions-components 1.0.0-next.20250513 → 1.0.0-next.20250515

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 (424) hide show
  1. package/dist/cdn/{UOCWAIF5.js → 23N2TP2U.js} +2 -2
  2. package/dist/cdn/{5XZ2VEVE.js → 26F52XJ4.js} +2 -2
  3. package/dist/cdn/{WUWWLJEX.js → 2ATGBBXI.js} +1 -1
  4. package/dist/cdn/{USMPDRTK.js → 2CMKQSTG.js} +2 -2
  5. package/dist/cdn/{7RAJQNDO.js → 2DZWTY5Z.js} +2 -2
  6. package/dist/cdn/{KCDVHUF2.js → 2LBDMIHW.js} +2 -2
  7. package/dist/cdn/{UJSCHQIP.js → 2WESX4ZJ.js} +2 -2
  8. package/dist/cdn/{ANRR2Q3N.js → 2ZJLJSNL.js} +2 -2
  9. package/dist/cdn/{GGVX7BU3.js → 2ZVA7LIO.js} +2 -2
  10. package/dist/cdn/{XW3XMCXE.js → 36LZSNLK.js} +2 -2
  11. package/dist/cdn/{2Y7EB6IS.js → 3DXVBCNJ.js} +1 -1
  12. package/dist/cdn/{ISCASEIO.js → 3JBSHSBK.js} +1 -1
  13. package/dist/cdn/{FR5YKIYR.js → 3KXPYTFO.js} +2 -2
  14. package/dist/cdn/{CAPUUGJR.js → 3PD56TNY.js} +2 -2
  15. package/dist/cdn/{5D3XSPVE.js → 3SJBWYL5.js} +2 -2
  16. package/dist/cdn/{VAP272QY.js → 3SKPALOD.js} +2 -2
  17. package/dist/cdn/{D3DQ3LMO.js → 3YUXYDCU.js} +2 -2
  18. package/dist/cdn/{IRVZT2BS.js → 45NLVYD2.js} +2 -2
  19. package/dist/cdn/{L46SKXK3.js → 4BJTAHRR.js} +2 -2
  20. package/dist/cdn/{7VOZDFCU.js → 4COPBZ75.js} +2 -2
  21. package/dist/cdn/{YWPX2AWZ.js → 4D3MUHNY.js} +2 -2
  22. package/dist/cdn/{EZUUCYDZ.js → 4EC6YUBV.js} +2 -2
  23. package/dist/cdn/{GM3ATYLE.js → 4ORYJB3C.js} +1 -1
  24. package/dist/cdn/{74FUG5XE.js → 4RBMVUFC.js} +2 -2
  25. package/dist/cdn/{T6FHHQZJ.js → 4UYKBU75.js} +2 -2
  26. package/dist/cdn/{OBGBZA5Q.js → 4VMJ6JM3.js} +2 -2
  27. package/dist/cdn/{5IYB6I37.js → 52LWU2FN.js} +2 -2
  28. package/dist/cdn/{FLC5VXCW.js → 5BAH4EHG.js} +2 -2
  29. package/dist/cdn/{WAHZ4BJA.js → 5C4NKYOX.js} +2 -2
  30. package/dist/cdn/{YMECWXNY.js → 5CIZTVOS.js} +2 -2
  31. package/dist/cdn/{LZXK3MVJ.js → 5GCHXF7X.js} +2 -2
  32. package/dist/cdn/{BVAH7X2K.js → 5HNFMFQV.js} +2 -2
  33. package/dist/cdn/5J3WMHWV.js +18 -0
  34. package/dist/cdn/{MFYJYT6Q.js → 5UPTLYW5.js} +2 -2
  35. package/dist/cdn/5X3QU457.js +4 -0
  36. package/dist/cdn/{3KNYDGE4.js → 5ZXKSVIU.js} +2 -2
  37. package/dist/cdn/{KQVVUDCM.js → 66ITCR5N.js} +1 -1
  38. package/dist/cdn/{5AVYYC47.js → 66N5MBY3.js} +2 -2
  39. package/dist/cdn/{JIJBRLA5.js → 67DTXBBR.js} +2 -2
  40. package/dist/cdn/{ZIJGSIAY.js → 67QQKXDJ.js} +1 -1
  41. package/dist/cdn/{OUAPE77Q.js → 6KRG356T.js} +2 -2
  42. package/dist/cdn/{T4UFIWDF.js → 6LGFY3R5.js} +2 -2
  43. package/dist/cdn/{4M3HYUSJ.js → 6NABQWZ3.js} +2 -2
  44. package/dist/cdn/{UVBA6JNL.js → 6O3QCIE5.js} +1 -1
  45. package/dist/cdn/{PDEMBJK2.js → 6QTMIHEC.js} +3 -3
  46. package/dist/cdn/{P5SCKVEP.js → 6RH65IFM.js} +2 -2
  47. package/dist/cdn/{VQKEDTWW.js → 6TE2RGMA.js} +2 -2
  48. package/dist/cdn/{OAJSYATY.js → 6WSHOSY7.js} +2 -2
  49. package/dist/cdn/{N73I4LYZ.js → 6X4ZHBBN.js} +2 -2
  50. package/dist/cdn/{DVO5GTFT.js → 6ZZDD5NV.js} +2 -2
  51. package/dist/cdn/{G2KU4GJD.js → 73I5E5OD.js} +1 -1
  52. package/dist/cdn/{RM5MLMA4.js → 7ARISA4U.js} +2 -2
  53. package/dist/cdn/{EIZMLFHI.js → 7B33KQDI.js} +1 -1
  54. package/dist/cdn/{D2BGUJW5.js → 7MA75IR2.js} +2 -2
  55. package/dist/cdn/{F57GZO2E.js → 7PMC4D54.js} +2 -2
  56. package/dist/cdn/{YRLQIYDY.js → 7RDPQPMM.js} +2 -2
  57. package/dist/cdn/{DAC3GWK5.js → 7VCRIN7I.js} +2 -2
  58. package/dist/cdn/{4SNRICQS.js → 7XYWGLMM.js} +2 -2
  59. package/dist/cdn/{XISA6SLB.js → A56OJYPR.js} +2 -2
  60. package/dist/cdn/{XI6U7JLE.js → A664B6AF.js} +2 -2
  61. package/dist/cdn/{PVMRTOAH.js → ACNTTNDQ.js} +2 -2
  62. package/dist/cdn/{DHYYFX2C.js → AFASQVMK.js} +1 -1
  63. package/dist/cdn/{ETTBV6A5.js → AFTBSFMR.js} +2 -2
  64. package/dist/cdn/{ACHUFFFB.js → AHXTRFWZ.js} +2 -2
  65. package/dist/cdn/{FDZH3TUO.js → AINYOBBF.js} +2 -2
  66. package/dist/cdn/AKPNGNH4.js +18 -0
  67. package/dist/cdn/{JNWG7WSY.js → ALBMYWYN.js} +2 -2
  68. package/dist/cdn/{ZVRPCQAG.js → ALR3KEZC.js} +1 -1
  69. package/dist/cdn/{ADVQIEJR.js → ANFSSQQI.js} +1 -1
  70. package/dist/cdn/{HTWIZOH4.js → APGA46X3.js} +2 -2
  71. package/dist/cdn/{CCHSAYV3.js → B3VO4WYY.js} +2 -2
  72. package/dist/cdn/{QCF4PYQB.js → B6HR6QZA.js} +1 -1
  73. package/dist/cdn/{ZADWIJ7Q.js → BCQ2DTD5.js} +2 -2
  74. package/dist/cdn/{BMMWWZDP.js → BDTYAGLC.js} +2 -2
  75. package/dist/cdn/{2HW4GV5C.js → BESVHLXM.js} +2 -2
  76. package/dist/cdn/{GPUA6MAJ.js → BIQ6QCQA.js} +2 -2
  77. package/dist/cdn/{TD4SVRZ2.js → BVNNJUSD.js} +2 -2
  78. package/dist/cdn/{GYXP7WY2.js → BVVAHFLK.js} +2 -2
  79. package/dist/cdn/{UKMHZ5PP.js → BYDG7JHV.js} +2 -2
  80. package/dist/cdn/{7KFM4VXO.js → C4JEVLRU.js} +2 -2
  81. package/dist/cdn/{P4CX5EDN.js → C7JOBGXP.js} +2 -2
  82. package/dist/cdn/{5CSQUWE5.js → CAHUHRK2.js} +2 -2
  83. package/dist/cdn/{YFTL66BW.js → CDJ5Q5HV.js} +2 -2
  84. package/dist/cdn/{A4AUBCIN.js → CJOKEOHI.js} +2 -2
  85. package/dist/cdn/{HSCOIXLG.js → CLDZMCWM.js} +2 -2
  86. package/dist/cdn/{JQV5TGAK.js → CPSI63AR.js} +2 -2
  87. package/dist/cdn/CVM5BXJ4.js +18 -0
  88. package/dist/cdn/{S3WKVRQS.js → D5M5LTVQ.js} +2 -2
  89. package/dist/cdn/{K4CSMHLX.js → D6JNWFQ2.js} +2 -2
  90. package/dist/cdn/{E35TDRWG.js → D6XN6AVD.js} +2 -2
  91. package/dist/cdn/{EOOHBALJ.js → DHX773QS.js} +2 -2
  92. package/dist/cdn/{XZS545IF.js → DMGFOT7S.js} +2 -2
  93. package/dist/cdn/{CTH3ZJDZ.js → DOXRXR3O.js} +2 -2
  94. package/dist/cdn/{MEMYGNMH.js → E5G5BQVQ.js} +2 -2
  95. package/dist/cdn/{VLGVIKZ6.js → E6WGNT7N.js} +2 -2
  96. package/dist/cdn/{ONIJZZLM.js → E7T2LXDX.js} +2 -2
  97. package/dist/cdn/{6KD4C6OL.js → ECQOAPT7.js} +2 -2
  98. package/dist/cdn/{37UTA2CS.js → EKGGY7NI.js} +2 -2
  99. package/dist/cdn/{2HQWNDOT.js → EKHAPRLS.js} +1 -1
  100. package/dist/cdn/{ZSVGZTYI.js → ELRVW2N6.js} +2 -2
  101. package/dist/cdn/{356X3OF7.js → EUOB6X5W.js} +2 -2
  102. package/dist/cdn/{AXEU574G.js → EXHB6XZK.js} +2 -2
  103. package/dist/cdn/{GQU6FXIT.js → EYMUMZ5J.js} +1 -1
  104. package/dist/cdn/{4CCXX3SG.js → FFYSY6PA.js} +2 -2
  105. package/dist/cdn/{AI3WLROH.js → FMUXS2KA.js} +2 -2
  106. package/dist/cdn/{HZFEYQGX.js → FQCSK64F.js} +1 -1
  107. package/dist/cdn/{536426JP.js → FRXFIEEX.js} +2 -2
  108. package/dist/cdn/{XV6244HK.js → G3GBPH5Q.js} +2 -2
  109. package/dist/cdn/{7FTLGHTG.js → G6A7Q5SL.js} +2 -2
  110. package/dist/cdn/{2AE65J7Z.js → GGOZCZ7Z.js} +2 -2
  111. package/dist/cdn/{UAP5F7JO.js → GJEWDQ6U.js} +2 -2
  112. package/dist/cdn/{CUFYPINX.js → GKRQRV6C.js} +2 -2
  113. package/dist/cdn/{VPPRTR4I.js → GUU4RGPC.js} +2 -2
  114. package/dist/cdn/{LZVWOWHQ.js → GYREL2J2.js} +2 -2
  115. package/dist/cdn/{4HNFRLEB.js → GZEE77B7.js} +2 -2
  116. package/dist/cdn/{EE7WJZP4.js → H4Q5BGHM.js} +2 -2
  117. package/dist/cdn/{LBK4TQ4U.js → HAU2GXZT.js} +2 -2
  118. package/dist/cdn/{DGN5X5A4.js → HDJZEA3B.js} +2 -2
  119. package/dist/cdn/{I7UVWQMY.js → HDMN7WTP.js} +2 -2
  120. package/dist/cdn/{7WDOCGDK.js → HTGIEEBY.js} +1 -1
  121. package/dist/cdn/{GRCUUM5W.js → HUJUDNUY.js} +2 -2
  122. package/dist/cdn/{47WHCZIM.js → HYBQ2NDR.js} +2 -2
  123. package/dist/cdn/{EZLMQOSZ.js → I22XI4WM.js} +2 -2
  124. package/dist/cdn/{3Y5R5IUQ.js → I6OZZ7CZ.js} +2 -2
  125. package/dist/cdn/{RKUNOYZR.js → IBAGTVMI.js} +2 -2
  126. package/dist/cdn/{3DPLKEDU.js → IGBHGJTS.js} +2 -2
  127. package/dist/cdn/{WKBQVMT4.js → IMEDBZ5S.js} +2 -2
  128. package/dist/cdn/{PJF5G4QB.js → INWQFJEZ.js} +2 -2
  129. package/dist/cdn/{KUVX4OOK.js → IOLNZ32Y.js} +2 -2
  130. package/dist/cdn/{4YGER5QC.js → IPWANK7D.js} +1 -1
  131. package/dist/cdn/{X5NCT7SI.js → IPZENYML.js} +1 -1
  132. package/dist/cdn/{4745A7PL.js → IRYFH43C.js} +1 -1
  133. package/dist/cdn/{Q5EJXK76.js → ITTYPRJK.js} +2 -2
  134. package/dist/cdn/{KIU22HO4.js → IURBHH44.js} +2 -2
  135. package/dist/cdn/{MGRH7AJX.js → IUSP4L2X.js} +2 -2
  136. package/dist/cdn/{7KBEEBMB.js → IZJ33UKN.js} +2 -2
  137. package/dist/cdn/{4ZM2K4B5.js → JBQAUCJL.js} +1 -1
  138. package/dist/cdn/{OOGXSHWN.js → JCBAI5O4.js} +2 -2
  139. package/dist/cdn/{LH4PUHQS.js → JDQYBFEM.js} +2 -2
  140. package/dist/cdn/{5RJEQIH2.js → JGEHFAOB.js} +1 -1
  141. package/dist/cdn/{MCIIM4XE.js → JN2O5WN7.js} +2 -2
  142. package/dist/cdn/{55KC257N.js → JNHCEB7N.js} +2 -2
  143. package/dist/cdn/{GSFWKQWQ.js → JRPHX3EY.js} +2 -2
  144. package/dist/cdn/{CBMZJGCV.js → JYPNJNYX.js} +2 -2
  145. package/dist/cdn/{RFSMSYJR.js → K2OQTIEU.js} +2 -2
  146. package/dist/cdn/{GPW2TCPZ.js → KCFXKQ6H.js} +2 -2
  147. package/dist/cdn/{AJYMDWRR.js → KDPUQPU5.js} +2 -2
  148. package/dist/cdn/{G6RUG3BR.js → KDSRFQUE.js} +2 -2
  149. package/dist/cdn/{L2YHTSUT.js → KDUSQQND.js} +2 -2
  150. package/dist/cdn/{S67NXZHK.js → KJILSIDE.js} +2 -2
  151. package/dist/cdn/{QIVU3W4F.js → KLHIBWFQ.js} +2 -2
  152. package/dist/cdn/{DHPOWICJ.js → KNUB3FBB.js} +2 -2
  153. package/dist/cdn/{2PNI22UK.js → KURMZQQZ.js} +2 -2
  154. package/dist/cdn/{MSCUGG2N.js → KWK42VXY.js} +1 -1
  155. package/dist/cdn/{TGLGAJZN.js → KY7PRIZF.js} +2 -2
  156. package/dist/cdn/{TV4DZ4NC.js → L4VPULLD.js} +2 -2
  157. package/dist/cdn/{AT3EMTZF.js → LAY6C7HB.js} +1 -1
  158. package/dist/cdn/{NYANCYTJ.js → LJJVDGHM.js} +2 -2
  159. package/dist/cdn/{CNU3TPX7.js → LOCVAN6F.js} +2 -2
  160. package/dist/cdn/{33R6U7YA.js → LRRIKCE2.js} +2 -2
  161. package/dist/cdn/{TKZBNC7H.js → LVCQO2K7.js} +2 -2
  162. package/dist/cdn/{XJOAEUHQ.js → LXFWUNVP.js} +2 -2
  163. package/dist/cdn/{H4ZWRKI2.js → LZCEQI26.js} +2 -2
  164. package/dist/cdn/{JBH2RRSE.js → M2KSMSQO.js} +2 -2
  165. package/dist/cdn/{WUYLVJC7.js → M2MSYZSD.js} +2 -2
  166. package/dist/cdn/{P55AP2OS.js → M5EG3FQJ.js} +2 -2
  167. package/dist/cdn/{U35AQBWJ.js → MCXTS4JF.js} +1 -1
  168. package/dist/cdn/{HOLWK3EZ.js → MDRXFVSB.js} +2 -2
  169. package/dist/cdn/{MXKCH65B.js → MHGZOPPR.js} +2 -2
  170. package/dist/cdn/{KMJY2PGB.js → MJYGVYSW.js} +2 -2
  171. package/dist/cdn/{K4FMFGHK.js → MKSHYPRV.js} +2 -2
  172. package/dist/cdn/{CDXLLR33.js → MLKIE5VV.js} +2 -2
  173. package/dist/cdn/{V3NOQ3VR.js → MO23ACKS.js} +2 -2
  174. package/dist/cdn/MPEH57SJ.js +18 -0
  175. package/dist/cdn/MPO4XMNF.js +4 -0
  176. package/dist/cdn/{VOCP45SC.js → MSWQT7TY.js} +2 -2
  177. package/dist/cdn/{MB76IRBK.js → MYYQDZEE.js} +2 -2
  178. package/dist/cdn/{B33KRB36.js → NDVB7FMN.js} +2 -2
  179. package/dist/cdn/{HXLDVONX.js → NJFK7CIV.js} +2 -2
  180. package/dist/cdn/{SBDAFL5S.js → NW3DHWQE.js} +2 -2
  181. package/dist/cdn/{C44EKR3M.js → NXDWBWMV.js} +1 -1
  182. package/dist/cdn/{WCAYMKQP.js → O2XKTKTD.js} +2 -2
  183. package/dist/cdn/OI5VAKHF.js +18 -0
  184. package/dist/cdn/OMQQD3JK.js +18 -0
  185. package/dist/cdn/{NLQ42NQW.js → OVIPRCEI.js} +2 -2
  186. package/dist/cdn/{IKBVEVMI.js → OZ4JULVU.js} +2 -2
  187. package/dist/cdn/{JUZCGG5Y.js → P5MHBFPN.js} +2 -2
  188. package/dist/cdn/{BZM6QEVQ.js → PQI5USQN.js} +1 -1
  189. package/dist/cdn/{55P3U5JJ.js → PX5FDGEF.js} +2 -2
  190. package/dist/cdn/{RTL6LDYI.js → Q5ZPQS4M.js} +2 -2
  191. package/dist/cdn/{KBLQQKHW.js → Q73ZDSA6.js} +2 -2
  192. package/dist/cdn/QC5PVU4U.js +4 -0
  193. package/dist/cdn/QC7VP5BM.js +4 -0
  194. package/dist/cdn/{YNLSAEFB.js → QIBM4MJ3.js} +2 -2
  195. package/dist/cdn/{6QS23BIH.js → QM2IRBAI.js} +2 -2
  196. package/dist/cdn/{5GI5HKKC.js → QOXI7254.js} +2 -2
  197. package/dist/cdn/{FZAZSLYD.js → QRYMJOQV.js} +2 -2
  198. package/dist/cdn/{ULVBGZTW.js → QRYXEJFM.js} +2 -2
  199. package/dist/cdn/{FJRGFI2V.js → R72NRTHP.js} +1 -1
  200. package/dist/cdn/{A52VN6U6.js → REEBLDD6.js} +2 -2
  201. package/dist/cdn/{IVOSJYWQ.js → RMJEHRRB.js} +2 -2
  202. package/dist/cdn/{H7Y4URDU.js → RMJK52PM.js} +2 -2
  203. package/dist/cdn/{I5XMZWO6.js → RWH2AWXG.js} +2 -2
  204. package/dist/cdn/{RXTELQ34.js → RX7ZPHMK.js} +2 -2
  205. package/dist/cdn/{KJGF4NJ3.js → RXACRE43.js} +2 -2
  206. package/dist/cdn/RYXY32II.js +4 -0
  207. package/dist/cdn/{PWDTDHPM.js → S4HO7NFA.js} +1 -1
  208. package/dist/cdn/{EOM3X2VQ.js → S4VQAWKF.js} +2 -2
  209. package/dist/cdn/{AYBKCTTB.js → S5JSVUAJ.js} +2 -2
  210. package/dist/cdn/{PL3CH3LF.js → S7G5EHDS.js} +2 -2
  211. package/dist/cdn/SAXYW6EJ.js +18 -0
  212. package/dist/cdn/{5DHQPMEJ.js → SKG3GRSQ.js} +2 -2
  213. package/dist/cdn/{2ZOPKOQW.js → SLZWCSZ3.js} +2 -2
  214. package/dist/cdn/SPFMAZYY.js +6 -0
  215. package/dist/cdn/{72KOOVBA.js → SPWSHOC7.js} +2 -2
  216. package/dist/cdn/SSYNV2Y3.js +4 -0
  217. package/dist/cdn/{QHJVQDMN.js → SZRIJQUC.js} +2 -2
  218. package/dist/cdn/{KKSOLSMJ.js → T2HZQDNL.js} +2 -2
  219. package/dist/cdn/{KVYB56FX.js → TBIAFKVV.js} +2 -2
  220. package/dist/cdn/{47R5RC4C.js → TCCP7ZN6.js} +2 -2
  221. package/dist/cdn/{TGVDYRKZ.js → TDR3ILPH.js} +2 -2
  222. package/dist/cdn/{KP6XEQR7.js → TFCQJ7FF.js} +2 -2
  223. package/dist/cdn/{TKBHKV5M.js → THIAJFXL.js} +2 -2
  224. package/dist/cdn/{3S3YE7LS.js → TPUGDKF4.js} +2 -2
  225. package/dist/cdn/{3WNCCUTZ.js → TQVYJ6ES.js} +1 -1
  226. package/dist/cdn/{RVRAGQDC.js → TRAYLXST.js} +2 -2
  227. package/dist/cdn/{W4QVPEC6.js → TRUEMLVO.js} +1 -1
  228. package/dist/cdn/{PNZ6XBPV.js → TXTAZE6A.js} +1 -1
  229. package/dist/cdn/{T66Y6KTO.js → TZEXYZAX.js} +2 -2
  230. package/dist/cdn/{5RGCCJRI.js → TZMHMBTY.js} +2 -2
  231. package/dist/cdn/{CZOWNF5N.js → U46DKBO2.js} +2 -2
  232. package/dist/cdn/{QBKMKNGL.js → ULMB672I.js} +2 -2
  233. package/dist/cdn/{HZIMPHWC.js → ULXJVPIJ.js} +2 -2
  234. package/dist/cdn/UMTMI6S7.js +4 -0
  235. package/dist/cdn/{4Z3IUDH5.js → UOHT46KU.js} +4 -4
  236. package/dist/cdn/{3WW3YWCT.js → UT3JTVRA.js} +2 -2
  237. package/dist/cdn/{IDFWZFF5.js → VTMPWMTZ.js} +1 -1
  238. package/dist/cdn/{6HNT2RSP.js → VV5INFN4.js} +2 -2
  239. package/dist/cdn/{2FXMJWEJ.js → VXLTNBGZ.js} +2 -2
  240. package/dist/cdn/{U7RXVNQC.js → VXTN5F7G.js} +1 -1
  241. package/dist/cdn/{6VGFUAX5.js → VYCWGWM7.js} +2 -2
  242. package/dist/cdn/{5AWXJIBG.js → W4SML3LZ.js} +2 -2
  243. package/dist/cdn/W6FC4UZF.js +4 -0
  244. package/dist/cdn/{WBDBLEC7.js → WFJLELHX.js} +2 -2
  245. package/dist/cdn/{MYHI7ROY.js → WGQ2QEU5.js} +2 -2
  246. package/dist/cdn/{6MHBJPS2.js → WJFW6D7C.js} +2 -2
  247. package/dist/cdn/{IZGA6GXU.js → WN6PFLPE.js} +2 -2
  248. package/dist/cdn/{QRM36WK6.js → X5CZLO7L.js} +4 -4
  249. package/dist/cdn/{7KGIY4Y7.js → X5G6AZM2.js} +2 -2
  250. package/dist/cdn/{KDKKKQOA.js → X5V4ZBM3.js} +2 -2
  251. package/dist/cdn/{VGXJDR76.js → X6GM67UB.js} +2 -2
  252. package/dist/cdn/{CIQJF5B3.js → XBG2C2N3.js} +2 -2
  253. package/dist/cdn/{XOTJKE5D.js → XHYEN7R2.js} +2 -2
  254. package/dist/cdn/{FIE266AU.js → XN7HDVXU.js} +2 -2
  255. package/dist/cdn/{H6UT37EX.js → XPIXEKGB.js} +2 -2
  256. package/dist/cdn/{3P3P323U.js → XPQFKO6A.js} +2 -2
  257. package/dist/cdn/{QZVDSGNQ.js → XQZA5YI6.js} +2 -2
  258. package/dist/cdn/{RN7TUN7E.js → XZQYHWXJ.js} +2 -2
  259. package/dist/cdn/{HHVCX4HB.js → Y6ALXXYW.js} +1 -1
  260. package/dist/cdn/YKFW75K5.js +18 -0
  261. package/dist/cdn/{TSJDIDQQ.js → YLZQJENK.js} +2 -2
  262. package/dist/cdn/{OMLJWKTW.js → YM3WJMVG.js} +2 -2
  263. package/dist/cdn/YX3NA2YO.js +4 -0
  264. package/dist/cdn/{TKUGQKMA.js → Z2PMCOOH.js} +2 -2
  265. package/dist/cdn/{IG3I76TX.js → Z6DAH3AG.js} +1 -1
  266. package/dist/cdn/{JGPXY5SS.js → Z77MUEC6.js} +2 -2
  267. package/dist/cdn/{GA57AOAH.js → ZFWVJDR7.js} +2 -2
  268. package/dist/cdn/{4DVIYVRO.js → ZN4WY6QD.js} +2 -2
  269. package/dist/cdn/{2LWA3LPI.js → ZNQADXNA.js} +2 -2
  270. package/dist/cdn/{6DG3MERJ.js → ZPLSIWIH.js} +2 -2
  271. package/dist/cdn/{V6UTV55V.js → ZS4B6BPM.js} +1 -1
  272. package/dist/cdn/ZVR66H4T.js +4 -0
  273. package/dist/cdn/assets/feature-list/t9n/messages.en.json +1 -1
  274. package/dist/cdn/assets/feature-list/t9n/messages.json +1 -1
  275. package/dist/cdn/assets/layer-list/t9n/messages.en.json +1 -1
  276. package/dist/cdn/assets/layer-list/t9n/messages.json +1 -1
  277. package/dist/cdn/assets/solutions-all-shell/appConfig.json +1 -0
  278. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  279. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  280. package/dist/cdn/index.js +2 -2
  281. package/dist/chunks/common.js +1 -1
  282. package/dist/chunks/downloadUtils.js +1 -1
  283. package/dist/chunks/index.js +313 -405
  284. package/dist/chunks/interfaces.js +1 -1
  285. package/dist/chunks/loadModules.js +1 -1
  286. package/dist/chunks/mapViewUtils.js +1 -1
  287. package/dist/chunks/pciUtils.js +1 -1
  288. package/dist/chunks/popupUtils.js +1 -1
  289. package/dist/chunks/publicNotificationStore.js +1 -1
  290. package/dist/chunks/queryUtils.js +1 -1
  291. package/dist/chunks/runtime.js +1 -1
  292. package/dist/chunks/solution-store.js +1 -1
  293. package/dist/chunks/templates.js +1 -1
  294. package/dist/chunks/useT9n.js +1 -1
  295. package/dist/{cdn/PPEC24ZV.js → chunks/userSessionContext.js} +9 -3
  296. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  297. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  298. package/dist/components/basemap-gallery/customElement.js +1 -1
  299. package/dist/components/buffer-tools/customElement.js +1 -1
  300. package/dist/components/card-manager/customElement.d.ts +3 -3
  301. package/dist/components/card-manager/customElement.js +1 -1
  302. package/dist/components/consent-manager/customElement.js +1 -1
  303. package/dist/components/create-feature/customElement.d.ts +29 -7
  304. package/dist/components/create-feature/customElement.js +90 -48
  305. package/dist/components/create-feature/index.d.ts +1 -0
  306. package/dist/components/create-feature/index.js +1 -0
  307. package/dist/components/create-related-feature/customElement.d.ts +2 -2
  308. package/dist/components/create-related-feature/customElement.js +1 -1
  309. package/dist/components/crowdsource-manager/customElement.d.ts +2 -2
  310. package/dist/components/crowdsource-manager/customElement.js +1 -1
  311. package/dist/components/crowdsource-reporter/customElement.d.ts +13 -1
  312. package/dist/components/crowdsource-reporter/customElement.js +142 -97
  313. package/dist/components/deduct-calculator/customElement.js +1 -1
  314. package/dist/components/delete-button/customElement.js +1 -1
  315. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  316. package/dist/components/delete-dialog/customElement.js +1 -1
  317. package/dist/components/edit-card/customElement.d.ts +2 -2
  318. package/dist/components/edit-card/customElement.js +1 -1
  319. package/dist/components/feature-details/customElement.d.ts +2 -2
  320. package/dist/components/feature-details/customElement.js +1 -1
  321. package/dist/components/feature-list/customElement.js +11 -8
  322. package/dist/components/field-selection/customElement.js +1 -1
  323. package/dist/components/floor-filter/customElement.js +1 -1
  324. package/dist/components/info-card/customElement.d.ts +2 -2
  325. package/dist/components/info-card/customElement.js +1 -1
  326. package/dist/components/json-editor/customElement.js +1 -1
  327. package/dist/components/layer-list/customElement.js +11 -8
  328. package/dist/components/layer-table/customElement.d.ts +2 -2
  329. package/dist/components/layer-table/customElement.js +1 -1
  330. package/dist/components/map-card/customElement.d.ts +3 -3
  331. package/dist/components/map-card/customElement.js +17 -17
  332. package/dist/components/map-draw-tools/customElement.d.ts +2 -2
  333. package/dist/components/map-draw-tools/customElement.js +1 -1
  334. package/dist/components/map-fullscreen/customElement.js +1 -1
  335. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  336. package/dist/components/map-layer-picker/customElement.js +1 -1
  337. package/dist/components/map-legend/customElement.js +1 -1
  338. package/dist/components/map-picker/customElement.js +1 -1
  339. package/dist/components/map-search/customElement.js +1 -1
  340. package/dist/components/map-select-tools/customElement.js +1 -1
  341. package/dist/components/map-tools/customElement.js +1 -1
  342. package/dist/components/pci-calculator/customElement.js +1 -1
  343. package/dist/components/pdf-download/customElement.js +1 -1
  344. package/dist/components/public-notification/customElement.js +1 -1
  345. package/dist/components/refine-selection/customElement.js +1 -1
  346. package/dist/components/selection-tool/customElement.d.ts +0 -6
  347. package/dist/components/selection-tool/customElement.js +14 -18
  348. package/dist/components/solution-article-card/customElement.js +1 -1
  349. package/dist/components/solution-configuration/customElement.js +1 -1
  350. package/dist/components/solution-configure-panel/customElement.js +1 -1
  351. package/dist/components/solution-configure-titles/customElement.js +1 -1
  352. package/dist/components/solution-contents/customElement.js +1 -1
  353. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  354. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  355. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  356. package/dist/components/solution-deployed-card/customElement.js +1 -1
  357. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  358. package/dist/components/solution-details-card/customElement.js +6 -6
  359. package/dist/components/solution-details-panel/customElement.js +1 -1
  360. package/dist/components/solution-item/customElement.js +1 -1
  361. package/dist/components/solution-item-accordion/customElement.js +1 -1
  362. package/dist/components/solution-item-details/customElement.js +1 -1
  363. package/dist/components/solution-item-icon/customElement.js +1 -1
  364. package/dist/components/solution-item-sharing/customElement.js +1 -1
  365. package/dist/components/solution-items-diagram/customElement.js +1 -1
  366. package/dist/components/solution-organization-variables/customElement.js +1 -1
  367. package/dist/components/solution-resource-item/customElement.js +1 -1
  368. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  369. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  370. package/dist/components/solution-template-data/customElement.js +1 -1
  371. package/dist/components/solution-variables/customElement.js +1 -1
  372. package/dist/components/solutions-all-panel/customElement.d.ts +44 -0
  373. package/dist/components/solutions-all-panel/customElement.js +433 -17
  374. package/dist/components/solutions-all-panel/index.d.ts +2 -0
  375. package/dist/components/solutions-all-panel/index.js +2 -0
  376. package/dist/components/solutions-all-shell/assets/appConfig.json.d.ts +42 -0
  377. package/dist/components/solutions-all-shell/customElement.d.ts +16 -0
  378. package/dist/components/solutions-all-shell/customElement.js +63 -17
  379. package/dist/components/solutions-all-shell/index.d.ts +9 -0
  380. package/dist/components/solutions-all-shell/index.js +9 -0
  381. package/dist/components/solutions-article-panel/customElement.js +1 -1
  382. package/dist/components/solutions-articles/customElement.js +1 -1
  383. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  384. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  385. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  386. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  387. package/dist/components/spatial-ref/customElement.js +1 -1
  388. package/dist/components/store-manager/customElement.js +1 -1
  389. package/dist/docs/api.json +596 -68
  390. package/dist/docs/docs.json +522 -110
  391. package/dist/docs/vscode.html-custom-data.json +111 -11
  392. package/dist/docs/web-types.json +294 -81
  393. package/dist/index.d.ts +31 -2
  394. package/dist/index.js +1 -1
  395. package/dist/loader.js +6 -6
  396. package/dist/types/lumina.d.ts +8 -5
  397. package/dist/types/preact.d.ts +8 -5
  398. package/dist/types/react.d.ts +8 -5
  399. package/dist/types/stencil.d.ts +8 -5
  400. package/dist/utils/CardsFetcher.d.ts +125 -0
  401. package/dist/utils/cardsHelpers.d.ts +146 -0
  402. package/dist/utils/helpers.d.ts +161 -0
  403. package/dist/utils/interfaces.d.ts +59 -0
  404. package/dist/utils/userSessionContext.d.ts +5 -0
  405. package/package.json +3 -2
  406. package/dist/cdn/2MC74LFI.js +0 -18
  407. package/dist/cdn/2QX2DZO7.js +0 -8
  408. package/dist/cdn/3RC2WF5B.js +0 -6
  409. package/dist/cdn/53N47Q3X.js +0 -18
  410. package/dist/cdn/B2634ITV.js +0 -18
  411. package/dist/cdn/EDPL4TKI.js +0 -18
  412. package/dist/cdn/GHIWQFDY.js +0 -4
  413. package/dist/cdn/GMCIGFUB.js +0 -18
  414. package/dist/cdn/JYL4F373.js +0 -4
  415. package/dist/cdn/LT2FXISZ.js +0 -4
  416. package/dist/cdn/MYF2CGM2.js +0 -4
  417. package/dist/cdn/UDGQW7QL.js +0 -18
  418. package/dist/cdn/URRXFKCL.js +0 -4
  419. package/dist/cdn/VTJTEDJC.js +0 -18
  420. package/dist/cdn/XMB335P2.js +0 -4
  421. package/dist/cdn/YQNWPVUQ.js +0 -4
  422. package/dist/cdn/ZXAG7K3F.js +0 -4
  423. package/dist/cdn/assets/selection-tool/t9n/messages.en.json +0 -1
  424. package/dist/cdn/assets/selection-tool/t9n/messages.json +0 -1
@@ -0,0 +1,161 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Esri
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import * as common from "@esri/solution-common";
18
+ import * as restTypes from "@esri/arcgis-rest-types";
19
+ export type TEnvironments = "dev" | "qa" | "prod";
20
+ export interface ICacheBatch<T> {
21
+ cards: T[];
22
+ paging: restTypes.IPagedResponse;
23
+ }
24
+ export interface ISortableItem {
25
+ createdMs: number;
26
+ numViews: number;
27
+ title: string;
28
+ [key: string]: any;
29
+ }
30
+ export interface ISpatialReference {
31
+ label: string;
32
+ wkid: number;
33
+ defaultExtent: string;
34
+ }
35
+ export interface IURLParamPair {
36
+ "k": string;
37
+ "v": string;
38
+ }
39
+ /**
40
+ * Generates a URL search string from a set of key/value pairs.
41
+ *
42
+ * @param paramPairs Key/value pairs to add to search string
43
+ * @returns URL search string beginning with "?"; empty string if paramPairs is empty
44
+ */
45
+ export declare function addParams(paramPairs: IURLParamPair[]): string;
46
+ /**
47
+ * Indicates if Velocity is available.
48
+ *
49
+ * @param userSession Authentication
50
+ * @returns Promise resolving to true if Velocity is available
51
+ */
52
+ export declare function checkVelocitySupport(userSession: common.UserSession | undefined): Promise<boolean>;
53
+ /**
54
+ * Trims and packages content into the HTML for a single div.
55
+ *
56
+ * @param content A string of HTML to be packaged into a div HTML
57
+ * @returns Packaged content HTML if not null, undefined, or empty; "" otherwise
58
+ */
59
+ export declare function createDivHtml(content: string | null | undefined): string;
60
+ /**
61
+ * Creates the parameters part of a URL.
62
+ *
63
+ * @param paramPairs A list of objects that each contain the name of the key and the value of the key; each
64
+ * key/value pair is added to the parameters string in order
65
+ * @returns Parameters part of a URL, preceded by "?"
66
+ */
67
+ export declare function createUrlParams(paramPairs: IURLParamPair[]): string;
68
+ /**
69
+ * Constructs a URL to a thumbnail based on various inputs.
70
+ *
71
+ * @param solutionId Id of item that has thumbnail
72
+ * @param thumbnailFileName Filename of thumbnail
73
+ * @param fallBackUrl URL to use if thumbnailFileName is omitted
74
+ * @param portalUrl URL of portal, e.g., "https://www.arcgis.com"
75
+ * @returns The constructed URL
76
+ */
77
+ export declare function generateThumbnailUrl(solutionId: string, thumbnailFileName: string, fallBackUrl: string, portalUrl: string): string;
78
+ /**
79
+ * Gets the portal to use for an anonymous user session.
80
+ *
81
+ * @param authPortalUrl The PortalUrl from the authentication, if available
82
+ * @returns Portal URL to use for the session
83
+ */
84
+ export declare function getAnonymousPortalUrl(authPortalUrl?: string): string;
85
+ /**
86
+ * Returns the default extent for the spatial reference matching the supplied wkid in a set of spatial references;
87
+ * in the case of no matches, returns the supplied default extent.
88
+ *
89
+ * @param wkid Spatial reference WKID to look up for its default extent
90
+ * @param srs List of spatial references
91
+ * @param defaultExtent Fallback extent
92
+ * @returns Extent as a string
93
+ */
94
+ export declare function getDefaultExtent(wkid: number, srs: ISpatialReference[], defaultExtent: string): string;
95
+ /**
96
+ * Check the current portal environment
97
+ *
98
+ * @param docHost The hostname of the current page
99
+ * @param authHost The hostname from the authentication, if available
100
+ * @returns Flag indicating the type of telemetry environment
101
+ */
102
+ export declare function getEnvironment(docHost: string, authHost?: string): TEnvironments;
103
+ /**
104
+ * Formats a supplied timestamp (or the current time) using a supplied locale.
105
+ *
106
+ * @param timestamp The number of millisecond since midnight January 1, 1970 UTC
107
+ * @param locale The locale to use
108
+ * @return Date string using the "long date" format, e.g., for "fr" (d MMMM y): "20 mai 2020"
109
+ */
110
+ export declare function getLocaleLongDateString(timestamp: number, locale?: string): string;
111
+ /**
112
+ * Gets a translation.
113
+ *
114
+ * @param translationsObj JSON object containing translation hierarchy
115
+ * @param translationKeywordPath Path into translationsObj for desired string, e.g., if translationsObj is
116
+ * { "buttons": { "retry": "Retry" } }, then one can get the Retry button's text using translationKeywordPath
117
+ * "buttons.retry"
118
+ * @param replacementsObj Object containing replacements for retrieved string. E.g., if translationsObj is
119
+ * { "hello": "Hello, ${name}" } and replacementsObj is { "name": "Solutions" }, the returned string will be
120
+ * "Hello, Solutions"
121
+ * @return translation or "???" if `translationKeywordPath` doesn't correspond to a string in `translationsObj`
122
+ */
123
+ export declare function getTranslation(translationsObj: common.IStringValuePair, translationKeywordPath: string, replacementsObj?: common.IStringValuePair): string;
124
+ /**
125
+ * Finds a keyword that begins with a specified prefix and returns the text in that keyword that follows the prefix.
126
+ *
127
+ * @param keywords List of keywords to examine
128
+ * @param prefix Required prefix
129
+ * @returns Part of matched keyword following prefix, or "" if keyword prefix is not found; returns first match found
130
+ */
131
+ export declare function getTypeKeywordProp(keywords: string[], prefix: string): string;
132
+ /**
133
+ * Determines if app is in testing mode based on presence of "test" in URL parameters
134
+ *
135
+ * @param search The page's document.location.search
136
+ * @return True if "test" parameter is present
137
+ */
138
+ export declare function inTestingMode(search: string): boolean;
139
+ /**
140
+ * Set translatable portions of global nav's account menu.
141
+ *
142
+ * @param globalNavConfig Global nav configuration structure
143
+ * @param translations Translations for global nav, following same structure as configuration
144
+ * @return Updated globalNavConfig, which is also modified in place
145
+ */
146
+ export declare function mergeTranslationsIntoGlobalNavAccountMenu(globalNavConfig: any, translations: any): any;
147
+ /**
148
+ * Set translatable portions of global nav's Solutions menu.
149
+ *
150
+ * @param globalNavConfig Global nav configuration structure
151
+ * @param translations Translations for global nav, following same structure as configuration
152
+ * @return Updated globalNavConfig, which is also modified in place
153
+ */
154
+ export declare function mergeTranslationsIntoGlobalNavSolutionsMenu(globalNavConfig: any, translations: any): any;
155
+ /**
156
+ * Performs shallow merge of two objects
157
+ *
158
+ * @param a
159
+ * @param b
160
+ */
161
+ export declare function _merge(a: any, b: any): any;
@@ -510,3 +510,62 @@ export interface ISolutionTypeHover {
510
510
  entering: boolean;
511
511
  }
512
512
  export type ChipType = 'updated' | 'deployed' | 'none';
513
+ export type SortType = "relevance" | "title" | "popularity" | "new" | "updated" | "suggested";
514
+ export type FilterType = "type" | "industry" | "domain";
515
+ export declare enum EIndustry {
516
+ aec = "Architecture, Engineering, and Construction (AEC)",
517
+ airportPortRail = "Airports, Ports, and Rails",
518
+ business = "Business",
519
+ conservation = "Conservation",
520
+ defense = "Defense",
521
+ facilities = "Facilities",
522
+ pipeline = "Pipeline",
523
+ publicSafety = "Public Safety",
524
+ renewables = "Renewables",
525
+ stateAndLocalGovernment = "State and Local Government",
526
+ utilities = "Utilities"
527
+ }
528
+ export declare enum EDomain {
529
+ airport = "Airports",
530
+ agriculture = "Agriculture",
531
+ assessmentAndTaxation = "Assessment and Taxation",
532
+ districtEnergy = "District Energy",
533
+ elections = "Elections",
534
+ electric = "Electric",
535
+ emergencyManagement = "Emergency Management",
536
+ environmentAndNaturalResources = "Environment and Natural Resources",
537
+ fireService = "Fire Service",
538
+ fishAndWildlife = "Fish and Wildlife",
539
+ gas = "Gas",
540
+ healthAndHumanServices = "Health and Human Services",
541
+ lawEnforcement = "Law Enforcement",
542
+ naturalResources = "Natural Resources",
543
+ parks = "Parks",
544
+ planningAndDevelopment = "Planning and Development",
545
+ protectedAreas = "Protected Areas",
546
+ publicWorks = "Public Works",
547
+ sewer = "Sewer",
548
+ stormwater = "Stormwater",
549
+ telecommunications = "Telecommunications",
550
+ transportation = "Transportation",
551
+ water = "Water Distribution"
552
+ }
553
+ export declare enum EType {
554
+ new = "New Release",
555
+ suggested = "Suggested"
556
+ }
557
+ export interface IFilterOption {
558
+ type: FilterType;
559
+ displayValue: string;
560
+ value: EIndustry | EDomain | EType;
561
+ }
562
+ export interface ISearchOption {
563
+ searchTerm: string;
564
+ }
565
+ export interface ISolutionDetailsCard {
566
+ chip: ChipType;
567
+ description: string;
568
+ heading: string;
569
+ itemId: string;
570
+ thumbnail: string;
571
+ }
@@ -0,0 +1,5 @@
1
+ import { UserSession } from '@esri/solution-common';
2
+ export type { UserSession } from '@esri/solution-common';
3
+ export declare const userSessionContext: {
4
+ __context__: UserSession;
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "1.0.0-next.20250513",
3
+ "version": "1.0.0-next.20250515",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -81,12 +81,13 @@
81
81
  "workbox-build": "^7.3.0"
82
82
  },
83
83
  "dependencies": {
84
- "@arcgis/common-components": ">=4.33.0-next <4.34.0",
84
+ "@arcgis/common-components": "<=4.33.0-next.94",
85
85
  "@arcgis/components-utils": ">=4.33.0-next <4.34.0",
86
86
  "@arcgis/core-adapter": ">=4.33.0-next <4.34.0",
87
87
  "@arcgis/lumina": ">=4.33.0-next <4.34.0",
88
88
  "@arcgis/map-config-components": ">=4.33.0-next <4.34.0",
89
89
  "@esri/arcgis-html-sanitizer": "^4.1.0",
90
+ "@esri/arcgis-rest-types": "^3.7.0",
90
91
  "@esri/solution-common": "^6.2.0-alpha.0",
91
92
  "jspdf": "^3.0.1"
92
93
  },
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{c as p}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import"./WUWWLJEX.js";import{b as h}from"./U35AQBWJ.js";import{a as n}from"./FIE266AU.js";import{B as l,c as o,n as s,q as r,w as c}from"./3RC2WF5B.js";import"./C44EKR3M.js";var m=o`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block;pointer-events:all!important}}`,a=class extends c{constructor(){super(...arguments),this.locale="",this.selectedLayerId="",this.tool="rectangle",this._translations=n({name:"selection-tool"}),this.drawingComplete=s(),this.featuresSelected=s()}static{this.properties={locale:1,mapView:0,selectedLayerId:1,tool:1,_translations:16}}static{this.styles=m}static{this.shadowRootOptions=r}willUpdate(e){e.has("locale")&&this.localeWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler()}async localeWatchHandler(){this.el.lang=this.locale}async mapViewWatchHandler(){await this.mapView?.when(()=>{this._initSketchViewModel()})}async toggleSelectionTool(){this._graphicsLayer?.removeAll(),this._selectionTool&&this._selectionTool.state==="active"?this._selectionTool.cancel():this._selectionTool?.create(this.tool)}async load(){await this._initModules()}async loaded(){await this.init()}render(){return""}async _initModules(){let[e,t]=await h(["esri/layers/GraphicsLayer","esri/widgets/Sketch/SketchViewModel"]);this.GraphicsLayer=e,this.SketchViewModel=t}async init(){this.mapView&&this._initSketchViewModel()}_initSketchViewModel(){this._graphicsLayer=this.GraphicsLayer&&new this.GraphicsLayer,this._selectionTool=this.SketchViewModel&&new this.SketchViewModel({layer:this._graphicsLayer,view:this.mapView}),this._selectionTool&&this._selectionTool.on("create",e=>{if(e.state==="complete"){this.drawingComplete.emit();let t=e.graphic.geometry;t&&this._selectFeatures(t),this._graphicsLayer&&this._graphicsLayer.removeAll()}}),this.mapView?.map&&this._graphicsLayer&&this.mapView.map.layers.add(this._graphicsLayer)}async _selectFeatures(e){let t=this.mapView&&await p(this.mapView,this.selectedLayerId);try{let i={geometry:e},d=t&&await t.queryObjectIds(i);this.featuresSelected.emit(d)}catch(i){console.error("Error selecting features:",i)}}};l("selection-tool",a);export{a as SelectionTool};
@@ -1,8 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- var y={allRenderFn:!1,element:!0,event:!0,hasRenderFn:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!0,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},we="app",Re=Object.defineProperty,xe=(e,t)=>{for(var o in t)Re(e,o,{get:t[o],enumerable:!0})},Se="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",_e=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},q=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),X="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{};w.HTMLElement;var N={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},ke=e=>Promise.resolve(e),j=!1,G=[],ie=[],Ee=(e,t)=>o=>{e.push(o),j||(j=!0,t&&N.$flags$&4?K(D):N.raf(D))},J=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){I(o)}e.length=0},D=()=>{J(G),J(ie),(j=G.length>0)&&N.raf(D)},K=e=>ke().then(e),Ce=Ee(ie,!0),Le=e=>e!=null&&e!==void 0,$e=e=>(e=typeof e,e==="object"||e==="function"),Ae=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Oe={};xe(Oe,{err:()=>ce,map:()=>Fe,ok:()=>U,unwrap:()=>Me,unwrapErr:()=>Pe});var U=e=>({isOk:!0,isErr:!1,value:e}),ce=e=>({isOk:!1,isErr:!0,value:e});function Fe(e,t){if(e.isOk){let o=t(e.value);return o instanceof Promise?o.then(n=>U(n)):U(o)}if(e.isErr){let o=e.value;return ce(o)}throw"should never get here"}var Me=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},de=e=>{let t=ee(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&fe(t,e.tagName).forEach(n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(De(n,Q(n),!1).length?n.hidden=!0:n.hidden=!1)});let o=0;for(o=0;o<t.length;o++){let n=t[o];n.nodeType===1&&ee(n,"childNodes").length&&de(n)}},je=e=>{let t=[];for(let o=0;o<e.length;o++){let n=e[o]["s-nr"]||void 0;n&&n.isConnected&&t.push(n)}return t};function fe(e,t,o){let n=0,s=[],l;for(;n<e.length;n++)l=e[n],l["s-sr"]&&(!t||l["s-hn"]===t)&&o===void 0&&s.push(l),s=[...s,...fe(l.childNodes,t,o)];return s}var De=(e,t,o=!0)=>{let n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let s=e;for(;s=s.nextSibling;)Q(s)===t&&(o||!s["s-sr"])&&n.push(s);return n},Z=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Q=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;let t=o=>function(n){let s=[],l=this["s-sn"];n?.flatten&&console.error(`
5
- Flattening is not supported for Stencil non-shadow slots.
6
- You can use \`.childNodes\` to nested slot fallback content.
7
- If you have a particular use case, please open an issue on the Stencil repo.
8
- `);let r=this["s-cr"].parentElement;return(r.__childNodes?r.childNodes:je(r.childNodes)).forEach($=>{l===Q($)&&s.push($)}),o?s.filter($=>$.nodeType===1):s}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function ee(e,t){if("__"+t in e){let o=e["__"+t];return typeof o!="function"?o:o.bind(e)}else return typeof e[t]!="function"?e[t]:e[t].bind(e)}var A=(e,t="")=>()=>{},Be=(e,t,...o)=>{let n=null,s=null,l=null,r=!1,$=!1,d=[],f=i=>{for(let c=0;c<i.length;c++)n=i[c],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((r=!$e(n))&&(n=String(n)),r&&$?d[d.length-1].$text$+=n:d.push(r?B(null,n):n),$=r)};f(o);let u=B(e,null);return u.$attrs$=t,d.length>0&&(u.$children$=d),u.$key$=s,u.$name$=l,u},B=(e,t)=>{let o={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o.$name$=null,o},We={},ze=e=>e&&e.$tag$===We,V=e=>{let t=Ae(e);return new RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")};V("::slotted");V(":host");V(":host-context");var He=(e,t,o)=>{let n=N.ce(t,o);return e.dispatchEvent(n),n},te=(e,t,o,n,s,l,r)=>{if(o===n)return;let $=q(e,t),d=t.toLowerCase();if(t==="class"){let f=e.classList,u=ne(o),i=ne(n);f.remove(...u.filter(c=>c&&!i.includes(c))),f.add(...i.filter(c=>c&&!u.includes(c)))}else if(t==="style"){for(let f in o)(!n||n[f]==null)&&(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(let f in n)(!o||n[f]!==o[f])&&(f.includes("-")?e.style.setProperty(f,n[f]):e.style[f]=n[f])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):q(w,d)?t=d.slice(2):t=d[2]+t.slice(3),o||n){let f=t.endsWith(ue);t=t.replace(Ke,""),o&&N.rel(e,t,o,f),n&&N.ael(e,t,n,f)}}else{let f=$e(n);if(($||f&&n!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{let i=n??"";t==="list"?$=!1:(o==null||e[t]!=i)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=i:e.setAttribute(t,i))}}catch{}let u=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,u=!0),n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&(u?e.removeAttributeNS(X,t):e.removeAttribute(t)):(!$||l&4||s)&&!f&&e.nodeType===1&&(n=n===!0?"":n,u?e.setAttributeNS(X,t,n):e.setAttribute(t,n))}},Ie=/\s/,ne=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(Ie)),ue="Capture",Ke=new RegExp(ue+"$"),W=(e,t,o,n)=>{let s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,l=e&&e.$attrs$||{},r=t.$attrs$||{};for(let $ of oe(Object.keys(l)))$ in r||te(s,$,l[$],void 0,o,t.$flags$);for(let $ of oe(Object.keys(r)))te(s,$,l[$],r[$],o,t.$flags$)};function oe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,O,T,z=!1,F=!1,Y=!1,h=!1,M=(e,t,o)=>{var n;let s=t.$children$[o],l=0,r,$,d;if(z||(Y=!0,s.$tag$==="slot"&&(s.$flags$|=s.$children$?2:1)),s.$text$!==null)r=s.$elm$=w.document.createTextNode(s.$text$);else if(s.$flags$&1)r=s.$elm$=w.document.createTextNode(""),W(null,s,h);else{if(h||(h=s.$tag$==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(r=s.$elm$=w.document.createElementNS(h?Se:Te,!z&&y.slotRelocation&&s.$flags$&2?"slot-fb":s.$tag$),h&&s.$tag$==="foreignObject"&&(h=!1),W(null,s,h),Le(L)&&r["s-si"]!==L&&r.classList.add(r["s-si"]=L),s.$children$)for(l=0;l<s.$children$.length;++l)$=M(e,s,l),$&&r.appendChild($);s.$tag$==="svg"?h=!1:r.tagName==="foreignObject"&&(h=!0)}return r["s-hn"]=T,s.$flags$&3&&(r["s-sr"]=!0,r["s-cr"]=O,r["s-sn"]=s.$name$||"",r["s-rf"]=(n=s.$attrs$)==null?void 0:n.ref,Ue(r),d=e&&e.$children$&&e.$children$[o],d&&d.$tag$===s.$tag$&&e.$elm$&&_(e.$elm$,!1),ve(O,r,t.$elm$,e?.$elm$)),r},_=(e,t)=>{N.$flags$|=1;let o=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&y.experimentalSlotFixes;for(let n=o.length-1;n>=0;n--){let s=o[n];s["s-hn"]!==T&&s["s-ol"]&&(R(k(s).parentNode,s,k(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Y=!0),t&&_(s,t)}N.$flags$&=-2},pe=(e,t,o,n,s,l)=>{let r=e["s-cr"]&&e["s-cr"].parentNode||e,$;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);s<=l;++s)n[s]&&($=M(null,o,s),$&&(n[s].$elm$=$,R(r,$,k(t))))},he=(e,t,o)=>{for(let n=t;n<=o;++n){let s=e[n];if(s){let l=s.$elm$;me(s),l&&(F=!0,l["s-ol"]?l["s-ol"].remove():_(l,!0),l.remove())}}},Qe=(e,t,o,n,s=!1)=>{let l=0,r=0,$=0,d=0,f=t.length-1,u=t[0],i=t[f],c=n.length-1,a=n[0],p=n[c],v,m;for(;l<=f&&r<=c;)if(u==null)u=t[++l];else if(i==null)i=t[--f];else if(a==null)a=n[++r];else if(p==null)p=n[--c];else if(C(u,a,s))x(u,a,s),u=t[++l],a=n[++r];else if(C(i,p,s))x(i,p,s),i=t[--f],p=n[--c];else if(C(u,p,s))(u.$tag$==="slot"||p.$tag$==="slot")&&_(u.$elm$.parentNode,!1),x(u,p,s),R(e,u.$elm$,i.$elm$.nextSibling),u=t[++l],p=n[--c];else if(C(i,a,s))(u.$tag$==="slot"||p.$tag$==="slot")&&_(i.$elm$.parentNode,!1),x(i,a,s),R(e,i.$elm$,u.$elm$),i=t[--f],a=n[++r];else{for($=-1,d=l;d<=f;++d)if(t[d]&&t[d].$key$!==null&&t[d].$key$===a.$key$){$=d;break}$>=0?(m=t[$],m.$tag$!==a.$tag$?v=M(t&&t[r],o,$):(x(m,a,s),t[$]=void 0,v=m.$elm$),a=n[++r]):(v=M(t&&t[r],o,r),a=n[++r]),v&&R(k(u.$elm$).parentNode,v,k(u.$elm$))}l>f?pe(e,n[c+1]==null?null:n[c+1].$elm$,o,n,r,c):r>c&&he(t,l,f)},C=(e,t,o=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:o?(o&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,k=e=>e&&e["s-ol"]||e,x=(e,t,o=!1)=>{let n=t.$elm$=e.$elm$,s=e.$children$,l=t.$children$,r=t.$tag$,$=t.$text$,d;$===null?(h=r==="svg"?!0:r==="foreignObject"?!1:h,W(e,t,h),s!==null&&l!==null?Qe(n,s,t,l,o):l!==null?(e.$text$!==null&&(n.textContent=""),pe(n,null,t,l,0,l.length-1)):!o&&y.updatable&&s!==null&&he(s,0,s.length-1),h&&r==="svg"&&(h=!1)):(d=n["s-cr"])?d.parentNode.textContent=$:e.$text$!==$&&(n.data=$)},b=[],ge=e=>{let t,o,n,s=e.__childNodes||e.childNodes;for(let l of s){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;let r=l["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(Z(t,r)){let $=b.find(d=>d.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||r,$?($.$nodeToRelocate$["s-sh"]=l["s-hn"],$.$slotRefNode$=l):(t["s-sh"]=l["s-hn"],b.push({$slotRefNode$:l,$nodeToRelocate$:t})),t["s-sr"]&&b.map(d=>{Z(d.$nodeToRelocate$,t["s-sn"])&&($=b.find(f=>f.$nodeToRelocate$===t),$&&!d.$slotRefNode$&&(d.$slotRefNode$=$.$slotRefNode$))})}else b.some($=>$.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}l.nodeType===1&&ge(l)}},me=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(me)},R=(e,t,o)=>(typeof t["s-sn"]=="string"&&t["s-sr"]&&t["s-cr"]&&ve(t["s-cr"],t,e,t.parentElement),e?.insertBefore(t,o));function ve(e,t,o,n){var s,l;let r;if(e&&typeof t["s-sn"]=="string"&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(r=t["s-si"]||e.parentNode["s-sc"])){let $=t["s-sn"],d=t["s-hn"];if((s=o.classList)==null||s.add(r+"-s"),n&&(l=n.classList)!=null&&l.contains(r+"-s")){let f=(n.__childNodes||n.childNodes)[0],u=!1;for(;f;){if(f["s-sn"]!==$&&f["s-hn"]===d&&f["s-sr"]){u=!0;break}f=f.nextSibling}u||n.classList.remove(r+"-s")}}}var Ve=(e,t,o=!1)=>{var n,s,l,r,$;let d=e.$hostElement$,f=e.$cmpMeta$,u=e.$vnode$||B(null,null),i=ze(t)?t:Be(null,null,t);if(T=d.tagName,f.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},f.$attrsToReflect$.map(([c,a])=>i.$attrs$[a]=d[c])),o&&i.$attrs$)for(let c of Object.keys(i.$attrs$))d.hasAttribute(c)&&!["key","ref","style","class"].includes(c)&&(i.$attrs$[c]=d[c]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=u.$elm$=d.shadowRoot||d,L=d["s-sc"],z=!!(f.$flags$&1)&&!(f.$flags$&128),O=d["s-cr"],F=!1,x(u,i,o);{if(N.$flags$|=1,Y){ge(i.$elm$);for(let c of b){let a=c.$nodeToRelocate$;if(!a["s-ol"]&&w.document){let p=w.document.createTextNode("");p["s-nr"]=a,R(a.parentNode,a["s-ol"]=p,a)}}for(let c of b){let a=c.$nodeToRelocate$,p=c.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(n=a["s-ol"])==null?void 0:n.previousSibling;for(;E;){let g=(s=E["s-nr"])!=null?s:null;if(g&&g["s-sn"]===a["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===a||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}let Ne=a.__parentNode||a.parentNode,be=a.__nextSibling||a.nextSibling;(!m&&v!==Ne||be!==m)&&a!==m&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),R(v,a,m),a.nodeType===1&&a.tagName!=="SLOT-FB"&&(a.hidden=(l=a["s-ih"])!=null?l:!1)),a&&typeof p["s-rf"]=="function"&&p["s-rf"](p)}else a.nodeType===1&&(o&&(a["s-ih"]=(r=a.hidden)!=null?r:!1),a.hidden=!0)}}F&&de(i.$elm$),N.$flags$&=-2,b.length=0}if(y.experimentalScopedSlotChanges&&f.$flags$&2){let c=i.$elm$.__childNodes||i.$elm$.childNodes;for(let a of c)a["s-hn"]!==T&&!a["s-sh"]&&(o&&a["s-ih"]==null&&(a["s-ih"]=($=a.hidden)!=null?$:!1),a.hidden=!0)}O=void 0},Ye=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){let o=t["s-p"].push(new Promise(n=>e.$onRenderResolve$=()=>{t["s-p"].splice(o-1,1),n()}))}},ye=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ye(e,e.$ancestorComponent$),Ce(()=>qe(e,t))},qe=(e,t)=>{let o=e.$hostElement$,n=A("scheduleUpdate",e.$cmpMeta$.$tagName$),s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return l=S(s,"componentWillUpdate",void 0,o),l=se(l,()=>S(s,"componentWillRender",void 0,o)),n(),se(l,()=>Ge(e,s,t))},se=(e,t)=>Xe(e)?e.then(t).catch(o=>{console.error(o),t()}):t(),Xe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ge=async(e,t,o)=>{var n;let s=e.$hostElement$,l=A("update",e.$cmpMeta$.$tagName$),r=s["s-rc"],$=A("render",e.$cmpMeta$.$tagName$);Je(e,t,s,o),r&&(r.map(d=>d()),s["s-rc"]=void 0),$(),l();{let d=(n=s["s-p"])!=null?n:[],f=()=>Ze(e);d.length===0?f():(Promise.all(d).then(f),e.$flags$|=4,d.length=0)}},H=null,Je=(e,t,o,n)=>{try{H=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(y.hasRenderFn||y.reflect)&&(y.vdomRender||y.reflect)&&(y.hydrateServerSide||Ve(e,t,n))}catch(s){I(s,e.$hostElement$)}return H=null,null},le=()=>H,Ze=e=>{let t=e.$cmpMeta$.$tagName$,o=e.$hostElement$,n=A("postUpdate",t),s=o,l=e.$ancestorComponent$;S(s,"componentDidRender",void 0,o),e.$flags$&64?(S(s,"componentDidUpdate",void 0,o),n()):(e.$flags$|=64,tt(o),S(s,"componentDidLoad",void 0,o),n(),e.$onReadyResolve$(o),l||et()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&K(()=>ye(e,!1)),e.$flags$&=-517},re=e=>{{let t=_e(e),o=t.$hostElement$.isConnected;return o&&(t.$flags$&18)===2&&ye(t,!1),o}},et=e=>{K(()=>He(w,"appload",{detail:{namespace:we}}))},S=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(s){I(s,n)}},tt=e=>{var t;return e.classList.add((t=y.hydratedSelectorName)!=null?t:"hydrated")},nt=(e,t,o)=>{let n=e.get(t);n?n.includes(o)||n.push(o):e.set(t,[o])},ot=(e,t)=>{let o;return(...n)=>{o&&clearTimeout(o),o=setTimeout(()=>{o=0,e(...n)},t)}},st=e=>!("isConnected"in e)||e.isConnected,ae=ot(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(st))},2e3),lt=()=>{if(typeof le!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let o=le();o&&nt(e,t,o)},set:t=>{let o=e.get(t);o&&e.set(t,o.filter(re)),ae(e)},reset:()=>{e.forEach(t=>t.forEach(re)),ae(e)}}},P=e=>typeof e=="function"?e():e,rt=(e,t=(o,n)=>o!==n)=>{let o=P(e),n=new Map(Object.entries(o??{})),s={dispose:[],get:[],set:[],reset:[]},l=()=>{n=new Map(Object.entries(P(e)??{})),s.reset.forEach(i=>i())},r=()=>{s.dispose.forEach(i=>i()),l()},$=i=>(s.get.forEach(c=>c(i)),n.get(i)),d=(i,c)=>{let a=n.get(i);t(c,a,i)&&(n.set(i,c),s.set.forEach(p=>p(i,c,a)))},f=typeof Proxy>"u"?{}:new Proxy(o,{get(i,c){return $(c)},ownKeys(i){return Array.from(n.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(i,c){return n.has(c)},set(i,c,a){return d(c,a),!0}}),u=(i,c)=>(s[i].push(c),()=>{at(s[i],c)});return{state:f,get:$,set:d,on:u,onChange:(i,c)=>{let a=u("set",(v,m)=>{v===i&&c(m)}),p=u("reset",()=>c(P(e)[i]));return()=>{a(),p()}},use:(...i)=>{let c=i.reduce((a,p)=>(p.set&&a.push(u("set",p.set)),p.get&&a.push(u("get",p.get)),p.reset&&a.push(u("reset",p.reset)),p.dispose&&a.push(u("dispose",p.dispose)),a),[]);return()=>c.forEach(a=>a())},dispose:r,reset:l,forceUpdate:i=>{let c=n.get(i);s.set.forEach(a=>a(i,c,c))}}},at=(e,t)=>{let o=e.indexOf(t);o>=0&&(e[o]=e[e.length-1],e.length--)},it=(e,t)=>{let o=rt(e,t);return o.use(lt()),o};export{it as a};
@@ -1,6 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- var K=globalThis,J=K.ShadowRoot&&(K.ShadyCSS===void 0||K.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(J&&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}},kt=o=>new I(typeof o=="string"?o:o+"",void 0,ut),ye=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new I(e,o,ut)},Dt=(o,t)=>{if(J)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=K.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},pt=J?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return kt(e)})(o):o;var mt=globalThis,Y=mt.trustedTypes,Ut=Y?Y.createPolicy("lit-html",{createHTML:o=>o}):void 0,yt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,gt="?"+E,ge=`<${gt}>`,O=document,z=()=>O.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",vt=Array.isArray,Ht=o=>vt(o)||typeof o?.[Symbol.iterator]=="function",ft=`[
5
- \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,It=/>/g,w=RegExp(`>|${ft}(?:([^\\s"'>=/]+)(${ft}*=${ft}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),jt=/'/g,zt=/"/g,qt=/^(?:script|style|textarea|title)$/i,_t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),ms=_t(1),ys=_t(2),gs=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Vt=new WeakMap,x=O.createTreeWalker(O,129);function Bt(o,t){if(!vt(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ut!==void 0?Ut.createHTML(t):t}var Wt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=j;for(let c=0;c<e;c++){let a=o[c],l,p,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,p=i.exec(a),p!==null);)m=i.lastIndex,i===j?p[1]==="!--"?i=Mt:p[1]!==void 0?i=It:p[2]!==void 0?(qt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??j,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?zt:jt):i===zt||i===jt?i=w:i===Mt||i===It?i=j:(i=w,n=void 0);let y=i===w&&o[c+1].startsWith("/>")?" ":"";r+=i===j?a+ge:h>=0?(s.push(l),a.slice(0,h)+yt+a.slice(h)+E+y):a+E+(h===-2?c:y)}return[Bt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},H=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,p]=Wt(t,e);if(this.el=o.createElement(l,s),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(yt)){let m=p[i++],y=n.getAttribute(h).split(E),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:y,ctor:g[1]==="."?Q:g[1]==="?"?X:g[1]==="@"?tt:T}),n.removeAttribute(h)}else h.startsWith(E)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(qt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=Y?Y.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],z()),x.nextNode(),a.push({type:2,index:++r});n.append(h[m],z())}}}else if(n.nodeType===8)if(n.data===gt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)a.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=O.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=V(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=S(o,n._$AS(o,t.values),n,s)),t}var Z=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,n=(t?.creationScope??O).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new N(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new et(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=x.nextNode(),i++)}return x.currentNode=O,n}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++}},N=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.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):Ht(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(O.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=H.createElement(Bt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new Z(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Vt.get(t.strings);return e===void 0&&Vt.set(t.strings,e=new H(t)),e}k(t){vt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},T=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,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,n){let r=this.strings,i=!1;if(r===void 0)t=S(this,t,e,0),i=!V(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=S(this,c[s+a],e,a),l===f&&(l=this._$AH[a]),i||=!V(l)||l!==this._$AH[a],l===d?t=d:t!==d&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Q=class extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},X=class extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},tt=class extends T{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&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)}},et=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)}},Gt={M:yt,P:E,A:gt,C:1,L:Wt,R:Z,D:Ht,V:S,I:N,H:T,N:X,U:tt,B:Q,F:et},ve=mt.litHtmlPolyfillSupport;ve?.(H,N),(mt.litHtmlVersions??=[]).push("3.3.0");var bt=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new N(t.insertBefore(z(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:_e,defineProperty:be,getOwnPropertyDescriptor:Ee,getOwnPropertyNames:Ce,getOwnPropertySymbols:$e,getPrototypeOf:Ae}=Object,ot=globalThis,Ft=ot.trustedTypes,we=Ft?Ft.emptyScript:"",xe=ot.reactiveElementPolyfillSupport,q=(o,t)=>o,st={toAttribute(o,t){switch(t){case Boolean:o=o?we: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}},Et=(o,t)=>!_e(o,t),Kt={attribute:!0,type:String,converter:st,reflect:!1,useDefault:!1,hasChanged:Et};Symbol.metadata??=Symbol("metadata"),ot.litPropertyMetadata??=new WeakMap;var C=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=Kt){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(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&be(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ee(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let c=n?.call(this);r?.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Kt}static _$Ei(){if(this.hasOwnProperty(q("elementProperties")))return;let t=Ae(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(q("properties"))){let e=this.properties,s=[...Ce(e),...$e(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,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 n of s)e.unshift(pt(n))}else t!==void 0&&e.push(pt(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 Dt(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),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:st).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:st;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let n=this.constructor,r=this[t];if(s??=n.getPropertyOptions(t),!((s.hasChanged??Et)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:n,wrapped:r},i){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),n===!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[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s){let{wrapped:i}=r,c=this[n];i!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}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){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[q("elementProperties")]=new Map,C[q("finalized")]=new Map,xe?.({ReactiveElement:C}),(ot.reactiveElementVersions??=[]).push("2.1.0");var Ct=globalThis,_=class extends C{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}};_._$litElement$=!0,_.finalized=!0,Ct.litElementHydrateSupport?.({LitElement:_});var Oe=Ct.litElementPolyfillSupport;Oe?.({LitElement:_});(Ct.litElementVersions??=[]).push("4.2.0");var b=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Se(o,t){let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1}function Te(o,t,e){let{subscribe:s}=Le(t);return s(n=>{n.some(i=>Se(o,i.target))&&e()})}var $t={};function Le(o){let t=o.join(","),e=$t[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),$t[t]=void 0)}}};return $t[t]=r,r}function Pe(o,t){let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null}function Ne(o,t,e){return Pe(o,`[${t}]`)?.getAttribute(t)??e}function u(o,t,...e){try{return o?.call(t,...e)}catch(s){console.error(s,o)}}async function B(o,t,...e){try{return await o?.call(t,...e)}catch(s){console.error(s,o)}}var Re=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],ke=new Set(Re),nt="en",De={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function Ue(o,t,e=""){let s=`${t}/${e}`,n=`${s}${o}.json`;return At[n]??(At[n]=Jt(o,s)),await At[n]}var At={};async function Jt(o,t){let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===nt?{}:await Jt(nt,t)}function Me(o){let t=Ne(o,"lang",globalThis.navigator?.language||nt);return{lang:t,t9nLocale:Yt(t)}}function Yt(o){let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=De[n]??n,ke.has(n)?n:e?Yt(s):nt}function Rs(o,t,e,s){let n,r=()=>void Ie(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),Te(o,["lang"],r)}async function Ie(o,t,e=o.localName.split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=Me(o),r=`${t}/${e}/t9n`,c=e===null?{}:await Ue(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var rt=o=>o.replace(je,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),je=/[A-Z]+(?![a-z])|[A-Z]/gu;function Zt(o,t){let e=t>ze?Ve:t/He,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n}var ze=4e3,Ve=2e3,He=4;var at=Symbol.for("controller");var qe=o=>typeof o=="object"&&o!==null&&(at in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o);function Is(o){return typeof o?.then=="function"}var W;function R(o){W!==o&&(W=o,queueMicrotask(()=>{W===o&&(W=void 0)}))}function G(o){return W}var L=[];function Be(o){if(o===void 0){L=[];return}let t=L.indexOf(o);L=t===-1?[...L,o]:L.slice(0,t+1),queueMicrotask(()=>{L=[]})}function We(){return L}var k;function js(o){k!==o&&(k=o,queueMicrotask(()=>{k===o&&(k=void 0)}))}function Ge(){let o=k;return k=void 0,o}var Fe=async(o,t)=>{let e=xt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Ke=async o=>{let t=xt(o);return await t.ready,t},xt=o=>{let e=G().manager._resolveExports(o);if(e!==void 0)return e;if(qe(o))return o;let s=Ge();if(s!==void 0)return s},te=!1,it=!1;function zs(o){it=!0;try{return o()}finally{it=!1}}function Je(o,t,e){let s=Object.keys(o),n=s.length;D===void 0&&queueMicrotask(ct),D??=new Map;let r=D.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},D.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(t,null,l),a=i[n];a===void 0?c(void 0):o[a]===e?c(a):c(void 0)}),e}var D;function ct(){D?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),D=void 0}function Ye(o,t,e){let s=o.manager;return s._trackedValue!==d&&s._trackedValue!==e&&s._firePropTrackers(void 0,void 0),s._keyTrackers.length===0&&queueMicrotask(()=>s._firePropTrackers(void 0,void 0)),s._trackedValue=e,s._keyTrackers.push((n,r)=>u(t,void 0,e===r?n:void 0)),e}function Ze(o=[G(),...We()],t,e){let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Je(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&typeof i.manager=="object"&&i.manager.component===i){Ye(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),e);break}return e}var Qe=(o="",t={},e=G())=>{let s={emit:n=>{o===""&&ct();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Ze(void 0,n=>{o=n.key},s),s},Xe=Qe.bind(null,""),ee;ee=at;var wt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Xt(this),this._exportWatchers=new Set;let e=t??G(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(Be(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?Xt(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return R(this.component),Fe}get useRef(){return R(this.component),Ke}get useRefSync(){return R(this.component),xt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await B(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(B)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(Qt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(Qt,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){R(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function Qt(o){u(o,void 0,this)}var se=wt;function Xt(o){if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t=new Proxy(o,{get(e,s,n){if(!((s==="exports"||s==="_exports")&&s in e&&e[s]===t)&&(s in e||s in Promise.prototype||typeof s=="symbol"))return typeof e=="function"?e[s]:Reflect.get(e,s,n)},set:(e,s,n,r)=>Reflect.set(e,s,n,r)});return t}var oe=";",lt=",",ne=":",$=(o=>(o[o.ATTRIBUTE=1]="ATTRIBUTE",o[o.REFLECT=2]="REFLECT",o[o.BOOLEAN=4]="BOOLEAN",o[o.NUMBER=8]="NUMBER",o[o.STATE=16]="STATE",o[o.READ_ONLY=32]="READ_ONLY",o[o.NO_ACCESSOR=64]="NO_ACCESSOR",o))($||{});function St(o){let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||e._offspring.push(o),e._postLoad.promise}return!1}var ts=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i),Object.entries(t).forEach(es)};function es([o,[t,e=""]]){if(customElements.get(o))return;let[s,n,r]=e.split(oe),i=s?s?.split(lt).map(re):void 0,c=i?.map(([l])=>l),a=class extends Ot{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(lt):void 0}static{this._syncMethods=r?.split(lt)}static{this._name=o}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(o,a)}var ht=Object.defineProperty;function re(o){let t=o.split(ne);return t.length===1?[t[0],rt(t[0])]:t}var ss=globalThis.HTMLElement??re,Ot=class extends ss{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(rs).then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){ht(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){ht(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){ht(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=e[s],delete e[s])})}attributeChangedCallback(t,e,s){this._litElement?.attributeChangedCallback(t,e,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=St(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,s=e._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);ns(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);l.attributeChangedCallback(h,null,m)}),Object.entries(n).forEach(os,l);let p=this.isConnected;(p||this._ancestorLoad)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function os([o,t]){this[o]=t}function ns(o){let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},ht(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))}var rs=async o=>await(o.default?.then(t=>typeof t=="function"?{a:t}:t)??o),Tt={};var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),A=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 ce=P(class extends A{constructor(o){if(super(o),o.type!==v.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 n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var le="important",as=" !"+le,he=P(class extends A{constructor(o){if(super(o),o.type!==v.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 n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(as);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?le:""):e[s]=n}}return f}});var{I:Io}=Gt;var de=o=>o.strings===void 0;var cs={},ue=(o,t=cs)=>o._$AH=t;var ls=P(class extends A{constructor(o){if(super(o),o.type!==v.PROPERTY&&o.type!==v.ATTRIBUTE&&o.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!de(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===v.PROPERTY){if(t===e[s])return f}else if(o.type===v.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===v.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var Pt=class extends se{constructor(t){super(t),this.destroyed=!1,this._enforceReadonly=!1,this._trackedValue=d,this._keyTrackers=[],this._accessorGetter={},this._accessorSetter={},this._exportsStore=new WeakMap,this.exports=void 0,this.hasDestroy=Nt in t&&typeof t.destroy=="function",_.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 ${Nt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),ct();for(let e of t._controllers)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t._controllers)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this._setAutoDestroyTimeout()},hostUpdate:()=>{for(let e of t._controllers)"triggerUpdate"in e?e.triggerUpdate(this._changes):u(e.hostUpdate,e,this._changes)},hostUpdated:()=>{for(let e of t._controllers)"triggerUpdated"in e?e.triggerUpdated(this._changes):u(e.hostUpdated,e,this._changes);this._changes=void 0}}),t.constructor.elementProperties.forEach((e,s)=>{e.noAccessor||(this._accessorGetter[s]=pe,this._accessorSetter[s]=pe,this._getSetProxy(s,e.readOnly))}),queueMicrotask(()=>{this._enforceReadonly=!0}),R(t)}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0;for(let t of this.component._controllers)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.component._controllers.clear()}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.component.destroy();this._autoDestroyTimeout=Zt(t,ds)}}_firePropTrackers(t,e){let s=this._keyTrackers;this._trackedValue=d,this._keyTrackers=[],s.forEach(n=>n(t,e))}_getSetProxy(t,e){let s=this.component.constructor.prototype,n;do n=Object.getOwnPropertyDescriptor(s,t);while(!n&&(s=Object.getPrototypeOf(s)));if(!n)return;let r=n.get,i=n.set,c=dt in r,a=dt in i;if(c&&a)return;let l=!c,p=!a,h=l?function(){let g=r.call(this);return te?g:this.manager._accessorGetter[t](g,t)}:r,m=p?function(g){let F=r.call(this),U=g??void 0,M=this.manager;if(U!==F){if(e&&!it&&(M._enforceReadonly||M.connectedCalled))throw new Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${String(U)}"`);U=M._accessorSetter[t](U,F,t)}i.call(this,U),M._keyTrackers.length>0&&M?._firePropTrackers(t,g)}:i;l&&(h[dt]=!0),p&&(m[dt]=!0),Object.defineProperty(s,t,{...n,get:h,set:m})}_markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exportsStore.set(e,t)}_resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exportsStore.get(t)}},ds=1e3,Nt="autoDestroyDisabled",pe=o=>o,dt=Symbol(),us=()=>{},fe=class o extends _{constructor(){super(),this.el=this.constructor.lazy??this,this._controllers=new Set,this.manager=new Pt(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=us;let t=o.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.runtime?.commonStyles===void 0||s?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:s&$.ATTRIBUTE&&typeof t=="string"?rt(t):!1,reflect:!!(s&$.REFLECT),type:s&$.BOOLEAN?Boolean:s&$.NUMBER?Number:void 0,state:!!(s&$.STATE),readOnly:!!(s&$.READ_ONLY),noAccessor:!!(s&$.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})}))}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Tt?this.el:this.el.attachShadow(s));if(t)return _.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??St(this.el);t&&await t;let e=[];for(let n of this._controllers)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(B(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Nt)&&this.manager._setAutoDestroyTimeout()),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"");for(let n of this._controllers)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this._postLoaded.resolve()}shouldUpdate(t){return this.manager._changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}addController(t){this._controllers.add(t),!(at in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this._controllers.delete(t),t.controllerRemoved?.()}};function me(o){let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s}var ln=o=>typeof o=="object"&&o!=null?ce(o):o,hn=o=>typeof o=="object"&&o!=null?he(o):o;var dn=d;var ps=me({defaultAssetPath:"https://jsdev.arcgis.com/next/solutions-components/",hydratedAttribute:"hydrated"}),{customElement:fn,getAssetPath:mn,setAssetPath:yn}=ps;export{Me as a,Rs as b,ye as c,ms as d,ys as e,d as f,Is as g,R as h,Be as i,We as j,js as k,zs as l,Ze as m,Xe as n,wt as o,ts as p,Tt as q,v as r,P as s,A as t,de as u,ue as v,fe as w,ln as x,hn as y,dn as z,ps as A,fn as B,mn as C};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as r}from"./FIE266AU.js";import{B as n,c as s,d as t,q as i,w as o}from"./3RC2WF5B.js";import"./C44EKR3M.js";var a=s`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */}`,e=class extends o{constructor(){super(...arguments),this._translations=r({name:"solutions-all-shell",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=i}render(){return t`<calcite-shell></calcite-shell>`}};n("solutions-all-shell",e);export{e as SolutionsAllShell};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as r}from"./FIE266AU.js";import{B as l,c as s,d as e,w as c,x as o,z as n}from"./3RC2WF5B.js";import"./C44EKR3M.js";var h=s`/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */calcite-card{width:240px}@media (max-width: 800px){calcite-card{width:calc(50% - .5rem)}}@media (max-width: 400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:var(--calcite-color-text-inverse)}calcite-card:hover{outline:2px solid var(--calcite-ui-brand);box-sizing:border-box}.chip-updated{--calcite-chip-icon-color: var(--calcite-ui-brand)}.chip-deployed{--calcite-chip-icon-color: var(--calcite-color-status-success)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:30%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%}.info-icon{--calcite-icon-color: var(--calcite-color-text-inverse);padding-inline-end:.3rem}`,t=class extends c{constructor(){super(...arguments),this.chip="none",this.description="",this.heading="",this.itemId="",this.thumbnail="",this._translations=r({name:"solution-details-card",blocking:!0})}static{this.properties={chip:1,description:1,heading:1,itemId:1,thumbnail:1,_translations:16}}static{this.styles=h}render(){console.log(this.chip);let d=this.chip==="updated"?"chip-updated":"chip-deployed",a="solution-details-card-chip",i=this.chip==="updated"?this._translations.updated:this._translations.deployed;return e`<div><calcite-card .label=${this.description} @click=${this._cardSelected}><div slot=thumbnail><img class="thumbnail" alt="Sample image alt" src=${this.thumbnail??n}><div class="hover-text"><calcite-icon class="info-icon" icon=information scale=s></calcite-icon><div>${this._translations.viewDetails}</div></div></div><span slot=heading>${this.heading}</span><p slot=description>${this.description}</p>${this.chip!=="none"?e`<div slot=footer-end><calcite-chip class=${o(d)} .icon=${this.chip==="updated"?"mega-phone":"check-circle"} id=${a} .label=${i} .value=${i} scale=s></calcite-chip><calcite-tooltip .referenceElement=${a}><span>${i}</span></calcite-tooltip></div>`:void 0}<div slot=footer-start></div></calcite-card></div>`}_cardSelected(){alert(`Do actions for ${this.itemId}`)}};l("solution-details-card",t);export{t as SolutionDetailsCard};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{d as V,e as L}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import"./WUWWLJEX.js";import{a as p,b as m}from"./P55AP2OS.js";import{b as v}from"./U35AQBWJ.js";import{a as b}from"./FIE266AU.js";import{B as M,c as g,d as h,n as d,q as f,w as y,x as c}from"./3RC2WF5B.js";import"./C44EKR3M.js";var S=g`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,w=class extends y{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this._currentPage="templatePicker",this._editorLoading=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=p(),this._isSubmitBtnClicked=!1,this._mapViewContainer=p(),this._searchDiv=p(),this.success=d(),this.fail=d(),this.drawComplete=d(),this.editingAttachment=d(),this.progressStatus=d(),this.modeChanged=d()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,_currentPage:16,_editorLoading:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("isMobile")&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],s={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(s),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&this._setFloorLevel(e)}async load(){await this.initModules()}async loaded(){await this.init()}updated(){if(this.isMobile&&this._calciteNotice.value&&this._searchDiv.value&&this._mapViewContainer.value){let e=this._calciteNotice.value.offsetHeight+this._searchDiv.value.offsetHeight+80;this._mapViewContainer.value.style.top=`${e}px`}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"?"":"display-none",t=this._editorLoading?"":"display-none",s=this._editorLoading?"display-none":"",i=this.isMobile?"show-map":"display-none",o=this.showGuidingMsg&&this._currentPage!=="templatePicker",a=this._translations.chooseCategoryMsg;return this._currentPage==="drawing"?a=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(a=this._translations.provideDetailsMsg),h`${o&&h`<calcite-notice class="notice-msg" icon=lightbulb kind=success open ${m(this._calciteNotice)}><div slot=message>${a}</div></calcite-notice>`||""}<calcite-loader class=${c(t)} label scale=s></calcite-loader><div class=${c(s)} id=feature-form></div>${this.enableSearch&&h`<div class=${`search-widget ${e} ${s}`} id=search-widget-ref ${m(this._searchDiv)}></div>`||""}<div class=${c(i)} ${m(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,s,i,o,a,r]=await v(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=e,this.reactiveUtils=t,this.Search=s,this.ExpressionInfo=i,this.FieldElement=o,this.FormTemplate=a,this.MapView=r}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom}).when(e=>{this._updatedMapView=e,this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),s=this.mapView&&await V(this.mapView,this.selectedLayerId);if(s&&(this._selectedLayer=s,!this._selectedLayer?.isTable&&t&&t.forEach(i=>{e.push({layer:i,enabled:i?.type==="feature"&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:!1},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container)),this._editor){let i=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,n=>{n==="adding-attachment"||n==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});i&&this._editor.viewModel.addHandles(i);let o=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,n=>{n==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});o&&this._editor.viewModel.addHandles(o);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,n=>{n==="ready"&&this._editor?.viewModel.featureFormViewModel&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,n=>{n==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});r&&this._editor.viewModel.addHandles(r)}}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let s=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},o=>t(o))},700)})),s.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(s[0]);let i=s.length>1;this.hideEditorsElements().then(()=>{i&&e({})},o=>i&&t(o))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",i=>{this._updatedMapView?.goTo(i.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=i.results[0].results[0]?.feature.geometry)}));let s=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,i=>{i==="ready"&&setTimeout(()=>{this._editor?.viewModel.sketchViewModel?.createGraphic&&t&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())},100)});s&&this._search.viewModel.addHandles(s)}}_getSearchConfig(e,t){let s="includeDefaultSources",i=e.sources;return i&&i?.length>0?(e[s]=!1,i.forEach(o=>{if(o.hasOwnProperty("layer")){let a=o,r=a.layer?.id,n=r?t.map?.findLayerById(r):"",l=a?.layer?.url;n?a.layer=n:l&&this.FeatureLayer&&(a.layer=new this.FeatureLayer(l))}}),i?.forEach(o=>{if(o.hasOwnProperty("locator")){let a=o;if(a?.name==="ArcGIS World Geocoding Service"){let r=a.outFields||["Addr_type","Match_addr","StAddr","City"];a.outFields=r,a.singleLineFieldName="SingleLine"}a.url=a.url,delete a.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,s=t?.floorInfo?.floorField;if(s){let i=t.fields.find(o=>o.name===s);if(i&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(i.name,e),i.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let o=new this.ExpressionInfo({expression:`"${e}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),a=new this.FieldElement({label:s,editableExpression:"false",fieldName:s,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:o.name});this._updatedMapView?.map.editableLayers.forEach(r=>{let n=this.formElements.orgElements,l=this.formElements.orgExpressionInfos,u=[...n];if(u.push(a),r.type==="feature"&&this.FormTemplate){let _=r,E=new this.FormTemplate({title:_?.formTemplate?.title,description:_?.formTemplate?.description,elements:u,expressionInfos:[o].concat(l)});r.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};M("create-feature",w);export{w as CreateFeature};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a}from"./RVRAGQDC.js";import"./QCF4PYQB.js";import"./G6RUG3BR.js";import"./TV4DZ4NC.js";import"./DHYYFX2C.js";import"./7WDOCGDK.js";import"./5RJEQIH2.js";import"./C44EKR3M.js";export{a as buildUiSchema};
@@ -1,18 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as f,c as I,e as _}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import"./WUWWLJEX.js";import{a as w,b as c}from"./U35AQBWJ.js";import{a as u}from"./FIE266AU.js";import{B as L,c as p,d as r,n as h,q as d,w as m}from"./3RC2WF5B.js";import"./C44EKR3M.js";async function g(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
- * Copyright 2025 Esri
6
- *
7
- * Licensed under the Apache License, Version 2.0 (the "License");
8
- * you may not use this file except in compliance with the License.
9
- * You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing, software
14
- * distributed under the License is distributed on an "AS IS" BASIS,
15
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- * See the License for the specific language governing permissions and
17
- * limitations under the License.
18
- */:host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}}`,y=class extends m{constructor(){super(...arguments),this.layers=[],this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this.filterByMapExtent=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=u({name:"layer-list",blocking:!0}),this.layerSelect=h(),this.layersListLoaded=h()}static{this.properties={mapView:0,layers:0,showFeatureCount:5,showNextIcon:5,applyLayerViewFilter:5,filterByMapExtent:5,_noLayersToDisplay:16,_mapLayerIds:16,_isLoading:16,_translations:16}}static{this.styles=x}static{this.shadowRootOptions=d}willUpdate(e){e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentWatchHandler(this.filterByMapExtent)}filterByMapExtentWatchHandler(e){e?this.initializeMapExtentFilter():this._filterByMapExtentHandle&&this._filterByMapExtentHandle.remove()}async refresh(){await this.setLayers()}async load(){await this.initModules(),this.filterByMapExtent&&this.initializeMapExtentFilter()}async loaded(){await this.setLayers()}render(){return r`${this._isLoading&&r`<calcite-loader label scale=m></calcite-loader>`||""}${!this._isLoading&&this.mapView&&this._noLayersToDisplay&&r`<calcite-notice class="error-msg" icon=layers-reference kind=danger open><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.noLayerToDisplayErrorMsg}</div></calcite-notice>`||""}${!this._isLoading&&this.mapView&&r`<calcite-list label selection-appearance=border selection-mode=none>${this.renderLayerList()}</calcite-list>`||""}`}async initModules(){let[e]=await w(["esri/core/reactiveUtils"]);this.reactiveUtils=e}initializeMapExtentFilter(){this._filterByMapExtentHandle=this.reactiveUtils?.when(()=>this.mapView?.stationary,()=>{this.setLayers()},{initial:!0})}async setLayers(){this.mapView&&(this._isLoading=!0,await this.initLayerHash(),this._isLoading=!1)}async initLayerHash(){let e=[];if(this.mapView){this._layerItemsHash=await f(this.mapView,!0);let s=await _(this.mapView);for(let t of s)if(t?.type==="feature"&&this.showFeatureCount){let i=t.createQuery();if(t?.definitionExpression&&(i.where=i.where+" AND "+t.definitionExpression),this.applyLayerViewFilter){let a=await I(this.mapView,t.id);a?.filter?.where&&(i.where=i.where?i.where+" AND "+a.filter.where:a.filter.where)}i.geometry=this.filterByMapExtent?this.mapView.extent:null;let n=t.queryFeatureCount(i);e.push(n),n.then(async a=>{let l=Number.isNaN(a)?"":await g(a,{places:0,api:4,type:"decimal"});this._layerItemsHash&&(this._layerItemsHash[t.id].formattedFeatureCount=l)})}await Promise.all(e).then(()=>{let t=this._layerItemsHash&&this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t?.reverse()||[],this.handleNoLayersToDisplay()},()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()})}}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(e){let s=this.layers?.length>0?this.layers:[];return Object.keys(e).reduce((t,i)=>(s.indexOf(i)>-1&&t.push(i),t),[])}renderLayerList(){return this._mapLayerIds.length>0?this._mapLayerIds.reduce((e,s)=>{if(this._layerItemsHash&&this._layerItemsHash[s]){let t=this.getLayerListItem(s);t&&e.push(t)}return e},[]):void 0}getLayerListItem(e){let s=this._layerItemsHash&&this._layerItemsHash[e].name,t=this._layerItemsHash&&this._layerItemsHash[e].formattedFeatureCount;return r`<calcite-list-item @calciteListItemSelect=${()=>{this.onLayerItemSelected(e)}}><div class="layer-name" slot=content-start>${s}</div>${this.showFeatureCount&&t!==void 0&&t!==""&&r`<div class="feature-count" slot=content-end>${`(${t})`}</div>`||""}${this.showNextIcon&&r`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`||""}</calcite-list-item>`}onLayerItemSelected(e){this._layerItemsHash&&this.layerSelect.emit({layerId:e,layerName:this._layerItemsHash[e]?.name})}};L("layer-list",y);export{y as LayerList};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a,b}from"./37UTA2CS.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";export{a as GroupEditorTypes,b as GroupSchema};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a as O}from"./IDFWZFF5.js";import{d as C}from"./4745A7PL.js";import{a as l,d as p}from"./IG3I76TX.js";import"./7WDOCGDK.js";import"./C44EKR3M.js";function E(t,a){let i=[];return O(t,(e,c)=>(c.split(".").pop()===a&&i.push(e),e)),i.filter(p)}function _(t){return E(t,"scope").map(a=>a.split("/")[2]).filter(p)}function h(t,a){let i=l(t);return i.required&&(i.required=[...i.required].filter(e=>a.includes(e))),i.properties&&Object.keys(i.properties).forEach(e=>{a.indexOf(e)===-1&&delete i.properties[e]}),i.allOf&&(i.allOf=i.allOf.map(e=>h(e,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(t,a){let i=_(a);return t=h(t,i),t}function q(t){return t&&t.split(":")[2]}async function G(t,a,i,e){let c=q(a),r,u,s,m,b;switch(c){case"stat":s=import("./MXKCH65B.js"),m={"hub:card:stat":()=>import("./6MHBJPS2.js")}[a],await Promise.all([s,m()]).then(async([f,o])=>{let{MetricSchema:n}=f;r=l(n),u=await o.buildUiSchema(t,i,e),o.buildDefaults&&(b=o.buildDefaults(t,i,e))});break;case"follow":s=import("./T6FHHQZJ.js"),m={"hub:card:follow":()=>import("./3P3P323U.js")}[a],await Promise.all([s,m()]).then(([f,o])=>{let{FollowSchema:n}=f;r=l(n),u=o.buildUiSchema(t,i,e)});break;case"eventGallery":s=import("./CZOWNF5N.js"),m=import("./A4AUBCIN.js");let[{EventGalleryCardSchema:g},{buildUiSchema:d}]=await Promise.all([s,m]);r=l(g),u=await d(t,i,e);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(t,a)=>{var i;let e=l((i=t.properties)===null||i===void 0?void 0:i._slug);if(!e)return t;let{orgUrlKey:c}=a;e.maxLength=C(c);let r=l(t.allOf)||[],{pattern:u}=e,{id:s}=a;r.push({if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:c}}}}});let m=l(t);return m.properties._slug=e,m.allOf=r,m};async function F(t,a,i,e){let c=a.split(":")[1],r,u,s;switch(c){case"site":let{getSiteSchema:m}=await import("./MYHI7ROY.js");r=m(i.id);let b=await{"hub:site:edit":()=>import("./JNWG7WSY.js"),"hub:site:create":()=>import("./PL3CH3LF.js"),"hub:site:followers":()=>import("./I5XMZWO6.js"),"hub:site:discussions":()=>import("./VQKEDTWW.js"),"hub:site:settings":()=>import("./IZGA6GXU.js")}[a]();u=await b.buildUiSchema(t,i,e),b.buildDefaults&&(s=await b.buildDefaults(t,i,e));break;case"discussion":let{DiscussionSchema:g}=await import("./RM5MLMA4.js");r=l(g);let d=await{"hub:discussion:edit":()=>import("./72KOOVBA.js"),"hub:discussion:create":()=>import("./OUAPE77Q.js"),"hub:discussion:settings":()=>import("./KBLQQKHW.js"),"hub:discussion:settings:discussions":()=>import("./JUZCGG5Y.js")}[a]();u=await d.buildUiSchema(t,i,e),d.buildDefaults&&(s=await d.buildDefaults(t,i,e));break;case"channel":let{ChannelSchema:f}=await import("./ZXAG7K3F.js");r=l(f);let o=await{"hub:channel:edit":()=>import("./RTL6LDYI.js"),"hub:channel:create":()=>import("./GHIWQFDY.js")}[a]();u=await o.buildUiSchema(t,i,e),o.buildDefaults&&(s=await o.buildDefaults(t,i,e));break;case"project":let{ProjectSchema:n}=await import("./MYF2CGM2.js");r=l(n);let v=await{"hub:project:edit":()=>import("./D3DQ3LMO.js"),"hub:project:create":()=>import("./WKBQVMT4.js"),"hub:project:create2":()=>import("./5IYB6I37.js"),"hub:project:metrics":()=>import("./WBDBLEC7.js"),"hub:project:settings":()=>import("./3Y5R5IUQ.js")}[a]();u=await v.buildUiSchema(t,i,e),v.buildDefaults&&(s=await v.buildDefaults(t,i,e));break;case"initiative":let{InitiativeSchema:I}=await import("./XMB335P2.js");r=l(I);let S=await{"hub:initiative:edit":()=>import("./GA57AOAH.js"),"hub:initiative:create":()=>import("./TKZBNC7H.js"),"hub:initiative:create2":()=>import("./3DPLKEDU.js"),"hub:initiative:metrics":()=>import("./LH4PUHQS.js"),"hub:initiative:associations":()=>import("./UAP5F7JO.js"),"hub:initiative:settings":()=>import("./74FUG5XE.js")}[a]();u=await S.buildUiSchema(t,i,e),S.buildDefaults&&(s=await S.buildDefaults(t,i,e));break;case"page":let{PageSchema:K}=await import("./6DG3MERJ.js");r=l(K);let D=await{"hub:page:edit":()=>import("./P5SCKVEP.js"),"hub:page:create":()=>import("./HTWIZOH4.js")}[a]();u=await D.buildUiSchema(t,i,e),D.buildDefaults&&(s=await D.buildDefaults(t,i,e));break;case"content":let{ContentSchema:L}=await import("./KUVX4OOK.js");r=l(L);let U=await{"hub:content:edit":()=>import("./5D3XSPVE.js"),"hub:content:discussions":()=>import("./XI6U7JLE.js"),"hub:content:settings":()=>import("./CIQJF5B3.js")}[a]();u=await U.buildUiSchema(t,i,e),U.buildDefaults&&(s=await U.buildDefaults(t,i,e));break;case"template":let{TemplateSchema:y}=await import("./HOLWK3EZ.js");r=l(y);let k=await{"hub:template:edit":()=>import("./YWPX2AWZ.js")}[a]();u=await k.buildUiSchema(t,i,e),k.buildDefaults&&(s=await k.buildDefaults(t,i,e));break;case"group":let{GroupSchema:z}=await import("./JYL4F373.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./IVOSJYWQ.js"),"hub:group:create:association":()=>import("./WCAYMKQP.js"),"hub:group:create:view":()=>import("./EE7WJZP4.js"),"hub:group:create:edit":()=>import("./3WW3YWCT.js"),"hub:group:create":()=>import("./JQV5TGAK.js"),"hub:group:edit":()=>import("./EOOHBALJ.js"),"hub:group:settings":()=>import("./LZVWOWHQ.js"),"hub:group:discussions":()=>import("./DAC3GWK5.js")}[a]();u=await M.buildUiSchema(t,i,e),M.buildDefaults&&(s=await M.buildDefaults(t,i,e));break;case"survey":let{SurveySchema:A}=await import("./VPPRTR4I.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./MEMYGNMH.js"),"hub:survey:settings":()=>import("./HXLDVONX.js")}[a]()).buildUiSchema(t,i,e);break;case"event":let B=await{"hub:event:create":()=>import("./URRXFKCL.js"),"hub:event:edit":()=>import("./BMMWWZDP.js"),"hub:event:registrants":()=>import("./E35TDRWG.js")}[a](),H=await{"hub:event:create":()=>import("./YRLQIYDY.js"),"hub:event:edit":()=>import("./6KD4C6OL.js"),"hub:event:registrants":()=>import("./B33KRB36.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(t,i,e);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./KVYB56FX.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./OOGXSHWN.js")}[a]();u=await j.buildUiSchema(t,i,e),j.buildDefaults&&(s=await j.buildDefaults(t,i,e));break;case"user":let{UserSchema:N}=await import("./ETTBV6A5.js");r=l(N);let P=await{"hub:user:settings":()=>import("./RXTELQ34.js")}[a]();u=await P.buildUiSchema(t,i,e),P.buildDefaults&&(s=await P.buildDefaults(t,i,e));break;case"card":let T=await G(t,a,i,e);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(t,a,i,e){return F(t,a,i,e)}export{gi as getEditorConfig};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250513 */
4
- import{a,b}from"./6HNT2RSP.js";import"./OBGBZA5Q.js";import"./ZIJGSIAY.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";export{a as ProjectEditorTypes,b as ProjectSchema};