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

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 (417) hide show
  1. package/dist/cdn/{SBBAYIA5.js → 2AE65J7Z.js} +2 -2
  2. package/dist/cdn/{H2PYJODK.js → 2FXMJWEJ.js} +2 -2
  3. package/dist/cdn/{DGJOUZR5.js → 2HQWNDOT.js} +1 -1
  4. package/dist/cdn/{NLKCNLQB.js → 2HW4GV5C.js} +2 -2
  5. package/dist/cdn/{L5MZYQWZ.js → 2LWA3LPI.js} +2 -2
  6. package/dist/cdn/2MC74LFI.js +18 -0
  7. package/dist/cdn/{2X42FQPI.js → 2PNI22UK.js} +2 -2
  8. package/dist/cdn/{ZSNDJE3R.js → 2QX2DZO7.js} +1 -1
  9. package/dist/cdn/{Z6MML6SM.js → 2Y7EB6IS.js} +1 -1
  10. package/dist/cdn/{MEXCWFXO.js → 2ZOPKOQW.js} +2 -2
  11. package/dist/cdn/33R6U7YA.js +18 -0
  12. package/dist/cdn/{XGZPINBJ.js → 356X3OF7.js} +2 -2
  13. package/dist/cdn/{AW6GVVCK.js → 37UTA2CS.js} +2 -2
  14. package/dist/cdn/{NL5SZJG7.js → 3DPLKEDU.js} +2 -2
  15. package/dist/cdn/{TEJLYLG3.js → 3KNYDGE4.js} +2 -2
  16. package/dist/cdn/{OPAFHR65.js → 3P3P323U.js} +2 -2
  17. package/dist/cdn/{CQFOO7QD.js → 3RC2WF5B.js} +1 -1
  18. package/dist/cdn/{7XWBWQ4G.js → 3S3YE7LS.js} +2 -2
  19. package/dist/cdn/{ITBKHXR7.js → 3WNCCUTZ.js} +1 -1
  20. package/dist/cdn/{55Q3UBSS.js → 3WW3YWCT.js} +2 -2
  21. package/dist/cdn/{7Q3MQPSX.js → 3Y5R5IUQ.js} +2 -2
  22. package/dist/cdn/{UB2OSPCQ.js → 4745A7PL.js} +1 -1
  23. package/dist/cdn/47R5RC4C.js +18 -0
  24. package/dist/cdn/{IM7QQB4B.js → 47WHCZIM.js} +2 -2
  25. package/dist/cdn/{5G5LFIDR.js → 4CCXX3SG.js} +2 -2
  26. package/dist/cdn/{VM5WBDOI.js → 4DVIYVRO.js} +2 -2
  27. package/dist/cdn/{PRM3M7W3.js → 4HNFRLEB.js} +2 -2
  28. package/dist/cdn/{MESJIE5F.js → 4M3HYUSJ.js} +2 -2
  29. package/dist/cdn/{XDHR67UO.js → 4SNRICQS.js} +2 -2
  30. package/dist/cdn/{3K5XH7WO.js → 4YGER5QC.js} +1 -1
  31. package/dist/cdn/{XXMXWRAP.js → 4Z3IUDH5.js} +4 -4
  32. package/dist/cdn/{N75HIPXS.js → 4ZM2K4B5.js} +1 -1
  33. package/dist/cdn/{V3V45HIT.js → 536426JP.js} +2 -2
  34. package/dist/cdn/{JDI4Y7XL.js → 53N47Q3X.js} +2 -2
  35. package/dist/cdn/{BKTDSQ5E.js → 55KC257N.js} +2 -2
  36. package/dist/cdn/{IML67XC5.js → 55P3U5JJ.js} +2 -2
  37. package/dist/cdn/{T24JMSJB.js → 5AVYYC47.js} +2 -2
  38. package/dist/cdn/{USCS7ZOZ.js → 5AWXJIBG.js} +2 -2
  39. package/dist/cdn/{RQF4KGJG.js → 5CSQUWE5.js} +2 -2
  40. package/dist/cdn/{PIIFPRWS.js → 5D3XSPVE.js} +2 -2
  41. package/dist/cdn/{7HCBMOJG.js → 5DHQPMEJ.js} +2 -2
  42. package/dist/cdn/{XRAHMMYT.js → 5GI5HKKC.js} +2 -2
  43. package/dist/cdn/{RICWFBVP.js → 5IYB6I37.js} +2 -2
  44. package/dist/cdn/{4YNV3LL5.js → 5RGCCJRI.js} +2 -2
  45. package/dist/cdn/{K7L3LTTD.js → 5RJEQIH2.js} +1 -1
  46. package/dist/cdn/{7UEK3DXM.js → 5XZ2VEVE.js} +2 -2
  47. package/dist/cdn/{SNDF7YMU.js → 6DG3MERJ.js} +2 -2
  48. package/dist/cdn/{MNNNZZVI.js → 6HNT2RSP.js} +2 -2
  49. package/dist/cdn/{5EZJ2DME.js → 6KD4C6OL.js} +2 -2
  50. package/dist/cdn/{GWMI7SRU.js → 6MHBJPS2.js} +2 -2
  51. package/dist/cdn/6QS23BIH.js +18 -0
  52. package/dist/cdn/{OBYUVAOE.js → 6VGFUAX5.js} +2 -2
  53. package/dist/cdn/{J3AZ36S3.js → 72KOOVBA.js} +2 -2
  54. package/dist/cdn/{INDFSGPY.js → 74FUG5XE.js} +2 -2
  55. package/dist/cdn/{5ORSO5QA.js → 7FTLGHTG.js} +2 -2
  56. package/dist/cdn/{WMI6SFI3.js → 7KBEEBMB.js} +2 -2
  57. package/dist/cdn/{35P6UDSV.js → 7KFM4VXO.js} +2 -2
  58. package/dist/cdn/{UPR4UPDN.js → 7KGIY4Y7.js} +2 -2
  59. package/dist/cdn/{5X6XSS3G.js → 7RAJQNDO.js} +2 -2
  60. package/dist/cdn/{PULSXLXV.js → 7VOZDFCU.js} +2 -2
  61. package/dist/cdn/{2SNN45WE.js → 7WDOCGDK.js} +1 -1
  62. package/dist/cdn/{BQTDT2CQ.js → A4AUBCIN.js} +2 -2
  63. package/dist/cdn/{7KQNE4LS.js → A52VN6U6.js} +2 -2
  64. package/dist/cdn/{SJ2L7I4D.js → ACHUFFFB.js} +2 -2
  65. package/dist/cdn/{LZCG3PUX.js → ADVQIEJR.js} +1 -1
  66. package/dist/cdn/{HLQ3GGP4.js → AI3WLROH.js} +2 -2
  67. package/dist/cdn/{PBDY4N37.js → AJYMDWRR.js} +2 -2
  68. package/dist/cdn/{CMUYK6L5.js → ANRR2Q3N.js} +2 -2
  69. package/dist/cdn/{J5DECLUT.js → AT3EMTZF.js} +1 -1
  70. package/dist/cdn/{ZX2WVODB.js → AXEU574G.js} +2 -2
  71. package/dist/cdn/{Z4ZMVS45.js → AYBKCTTB.js} +2 -2
  72. package/dist/cdn/{DMGLXTNG.js → B2634ITV.js} +2 -2
  73. package/dist/cdn/{435C2RXR.js → B33KRB36.js} +2 -2
  74. package/dist/cdn/{2LIN3EFP.js → BMMWWZDP.js} +2 -2
  75. package/dist/cdn/BVAH7X2K.js +18 -0
  76. package/dist/cdn/{VAQQRDFO.js → BZM6QEVQ.js} +1 -1
  77. package/dist/cdn/{OHY2KQUC.js → C44EKR3M.js} +1 -1
  78. package/dist/cdn/{IJWNOINQ.js → CAPUUGJR.js} +2 -2
  79. package/dist/cdn/{424PZHQ5.js → CBMZJGCV.js} +2 -2
  80. package/dist/cdn/{HIYSQGTK.js → CCHSAYV3.js} +2 -2
  81. package/dist/cdn/{6KKLCZH2.js → CDXLLR33.js} +2 -2
  82. package/dist/cdn/{ICLRLVVJ.js → CIQJF5B3.js} +2 -2
  83. package/dist/cdn/{J4DDOYKZ.js → CNU3TPX7.js} +2 -2
  84. package/dist/cdn/{HEFARXFW.js → CTH3ZJDZ.js} +2 -2
  85. package/dist/cdn/{7L3RVANR.js → CUFYPINX.js} +2 -2
  86. package/dist/cdn/{CIN3SN7W.js → CZOWNF5N.js} +2 -2
  87. package/dist/cdn/{N5C5RKHD.js → D2BGUJW5.js} +2 -2
  88. package/dist/cdn/{PUYHWBNK.js → D3DQ3LMO.js} +2 -2
  89. package/dist/cdn/{6N4IY6RI.js → DAC3GWK5.js} +2 -2
  90. package/dist/cdn/{MMZK7VDY.js → DGN5X5A4.js} +2 -2
  91. package/dist/cdn/{XHNH4HWU.js → DHPOWICJ.js} +2 -2
  92. package/dist/cdn/{KAET4R4I.js → DHYYFX2C.js} +1 -1
  93. package/dist/cdn/{M7ALE6KV.js → DVO5GTFT.js} +2 -2
  94. package/dist/cdn/{XQMS45RU.js → E35TDRWG.js} +2 -2
  95. package/dist/cdn/{36OJB33V.js → EDPL4TKI.js} +2 -2
  96. package/dist/cdn/{ZJMDC5EX.js → EE7WJZP4.js} +2 -2
  97. package/dist/cdn/{RZODPKW4.js → EIZMLFHI.js} +1 -1
  98. package/dist/cdn/{5Y63RNHU.js → EOM3X2VQ.js} +2 -2
  99. package/dist/cdn/{SCPTYDM4.js → EOOHBALJ.js} +2 -2
  100. package/dist/cdn/{YL5AS7IP.js → ETTBV6A5.js} +2 -2
  101. package/dist/cdn/{R2HY3OH6.js → EZLMQOSZ.js} +2 -2
  102. package/dist/cdn/{4Y7P3RAH.js → EZUUCYDZ.js} +2 -2
  103. package/dist/cdn/{Z7PAFRTZ.js → F57GZO2E.js} +2 -2
  104. package/dist/cdn/{X4BR4G2Q.js → FDZH3TUO.js} +2 -2
  105. package/dist/cdn/{4AB2653C.js → FIE266AU.js} +2 -2
  106. package/dist/cdn/{GZ5DMBN5.js → FJRGFI2V.js} +1 -1
  107. package/dist/cdn/{7VLWDHRA.js → FLC5VXCW.js} +2 -2
  108. package/dist/cdn/{CPEOHMBH.js → FR5YKIYR.js} +2 -2
  109. package/dist/cdn/{EVSAWS5V.js → FZAZSLYD.js} +2 -2
  110. package/dist/cdn/{QV3YJHLC.js → G2KU4GJD.js} +1 -1
  111. package/dist/cdn/{YJF3FQQW.js → G6RUG3BR.js} +2 -2
  112. package/dist/cdn/{YV2KVYYD.js → GA57AOAH.js} +2 -2
  113. package/dist/cdn/{RA4WYINA.js → GGVX7BU3.js} +2 -2
  114. package/dist/cdn/GHIWQFDY.js +4 -0
  115. package/dist/cdn/{4DMLN7C7.js → GM3ATYLE.js} +1 -1
  116. package/dist/cdn/{EOR6FMKC.js → GMCIGFUB.js} +2 -2
  117. package/dist/cdn/{EFTUD2CV.js → GPUA6MAJ.js} +2 -2
  118. package/dist/cdn/GPW2TCPZ.js +18 -0
  119. package/dist/cdn/{G466QX4L.js → GQU6FXIT.js} +1 -1
  120. package/dist/cdn/{RJDRQW52.js → GRCUUM5W.js} +2 -2
  121. package/dist/cdn/{KPRSMUMQ.js → GSFWKQWQ.js} +2 -2
  122. package/dist/cdn/{U25OTDOD.js → GYXP7WY2.js} +2 -2
  123. package/dist/cdn/{7RMNWPCQ.js → H4ZWRKI2.js} +2 -2
  124. package/dist/cdn/H6UT37EX.js +18 -0
  125. package/dist/cdn/{7XULXHRZ.js → H7Y4URDU.js} +2 -2
  126. package/dist/cdn/{BCXBJG72.js → HHVCX4HB.js} +1 -1
  127. package/dist/cdn/{BPEEKBR7.js → HOLWK3EZ.js} +2 -2
  128. package/dist/cdn/{B4HJBJTA.js → HSCOIXLG.js} +2 -2
  129. package/dist/cdn/{ZSPCCQU2.js → HTWIZOH4.js} +2 -2
  130. package/dist/cdn/{S5WNRS3W.js → HXLDVONX.js} +2 -2
  131. package/dist/cdn/{5EH5ABNA.js → HZFEYQGX.js} +1 -1
  132. package/dist/cdn/{4OGYUVGQ.js → HZIMPHWC.js} +2 -2
  133. package/dist/cdn/{BB4YELWP.js → I5XMZWO6.js} +2 -2
  134. package/dist/cdn/{WRRMV4PI.js → I7UVWQMY.js} +2 -2
  135. package/dist/cdn/{47I7OHHF.js → IDFWZFF5.js} +1 -1
  136. package/dist/cdn/{GNY77HPF.js → IG3I76TX.js} +1 -1
  137. package/dist/cdn/{VPXUKOUC.js → IKBVEVMI.js} +2 -2
  138. package/dist/cdn/{HIIYUUEW.js → IRVZT2BS.js} +2 -2
  139. package/dist/cdn/{4FGMEAIW.js → ISCASEIO.js} +1 -1
  140. package/dist/cdn/{6JI5OXDD.js → IVOSJYWQ.js} +2 -2
  141. package/dist/cdn/{BOJK6ZXD.js → IZGA6GXU.js} +2 -2
  142. package/dist/cdn/{FQOV67VE.js → JBH2RRSE.js} +2 -2
  143. package/dist/cdn/{LPXJI3PA.js → JGPXY5SS.js} +2 -2
  144. package/dist/cdn/{RV3Y5Y43.js → JIJBRLA5.js} +2 -2
  145. package/dist/cdn/{Y4CROHYY.js → JNWG7WSY.js} +2 -2
  146. package/dist/cdn/{P52HFT2R.js → JQV5TGAK.js} +2 -2
  147. package/dist/cdn/{YZGAFNYP.js → JUZCGG5Y.js} +2 -2
  148. package/dist/cdn/JYL4F373.js +4 -0
  149. package/dist/cdn/{BGWVAQHN.js → K4CSMHLX.js} +2 -2
  150. package/dist/cdn/{27QJLMW3.js → K4FMFGHK.js} +2 -2
  151. package/dist/cdn/{SHTM5TBH.js → KBLQQKHW.js} +2 -2
  152. package/dist/cdn/{6QAU4NYR.js → KCDVHUF2.js} +3 -3
  153. package/dist/cdn/{OSPYIY3S.js → KDKKKQOA.js} +2 -2
  154. package/dist/cdn/{UCYU2ZVX.js → KIU22HO4.js} +2 -2
  155. package/dist/cdn/{JUNJFTAF.js → KJGF4NJ3.js} +2 -2
  156. package/dist/cdn/{FSQQ2APB.js → KKSOLSMJ.js} +2 -2
  157. package/dist/cdn/KMJY2PGB.js +18 -0
  158. package/dist/cdn/{FBXVZ63D.js → KP6XEQR7.js} +2 -2
  159. package/dist/cdn/{ICETJ5L7.js → KQVVUDCM.js} +1 -1
  160. package/dist/cdn/{7K7DN72W.js → KUVX4OOK.js} +2 -2
  161. package/dist/cdn/{D2Y2VYAA.js → KVYB56FX.js} +2 -2
  162. package/dist/cdn/{JEOWOFGV.js → L2YHTSUT.js} +2 -2
  163. package/dist/cdn/{UTMLE3SN.js → L46SKXK3.js} +2 -2
  164. package/dist/cdn/{FPGTD47W.js → LBK4TQ4U.js} +2 -2
  165. package/dist/cdn/{JH6EUNS3.js → LH4PUHQS.js} +2 -2
  166. package/dist/cdn/LT2FXISZ.js +4 -0
  167. package/dist/cdn/{3WEGW5NC.js → LZVWOWHQ.js} +2 -2
  168. package/dist/cdn/{OT3XINKN.js → LZXK3MVJ.js} +2 -2
  169. package/dist/cdn/{HRXRBE4J.js → MB76IRBK.js} +2 -2
  170. package/dist/cdn/{VFZGCM33.js → MCIIM4XE.js} +2 -2
  171. package/dist/cdn/{C5NISEHO.js → MEMYGNMH.js} +2 -2
  172. package/dist/cdn/{2452KO7J.js → MFYJYT6Q.js} +2 -2
  173. package/dist/cdn/{RJVJXKOB.js → MGRH7AJX.js} +2 -2
  174. package/dist/cdn/{ECVA54TZ.js → MSCUGG2N.js} +1 -1
  175. package/dist/cdn/{M4AI76NV.js → MXKCH65B.js} +2 -2
  176. package/dist/cdn/MYF2CGM2.js +4 -0
  177. package/dist/cdn/{WVHATRWG.js → MYHI7ROY.js} +2 -2
  178. package/dist/cdn/{OVDKGSOB.js → N73I4LYZ.js} +2 -2
  179. package/dist/cdn/{ARPKSGRG.js → NLQ42NQW.js} +2 -2
  180. package/dist/cdn/{XW5NNESC.js → NYANCYTJ.js} +2 -2
  181. package/dist/cdn/{FXITJZAV.js → OAJSYATY.js} +2 -2
  182. package/dist/cdn/{UQD4DDWQ.js → OBGBZA5Q.js} +2 -2
  183. package/dist/cdn/{A6DMHYOF.js → OMLJWKTW.js} +2 -2
  184. package/dist/cdn/{PNBUAOL6.js → ONIJZZLM.js} +2 -2
  185. package/dist/cdn/{VPZT2JZV.js → OOGXSHWN.js} +2 -2
  186. package/dist/cdn/{EHYAB5QQ.js → OUAPE77Q.js} +2 -2
  187. package/dist/cdn/{BIOS2V5G.js → P4CX5EDN.js} +2 -2
  188. package/dist/cdn/{AXQXIZC6.js → P55AP2OS.js} +2 -2
  189. package/dist/cdn/{3YWY5IJP.js → P5SCKVEP.js} +2 -2
  190. package/dist/cdn/PDEMBJK2.js +18 -0
  191. package/dist/cdn/{E3HGKBP3.js → PJF5G4QB.js} +2 -2
  192. package/dist/cdn/{7UIUIVMT.js → PL3CH3LF.js} +2 -2
  193. package/dist/cdn/{KAPZF4E2.js → PNZ6XBPV.js} +1 -1
  194. package/dist/cdn/{FLPPIESF.js → PPEC24ZV.js} +2 -2
  195. package/dist/cdn/{VDIZRWGH.js → PVMRTOAH.js} +2 -2
  196. package/dist/cdn/{R3UCIE4U.js → PWDTDHPM.js} +1 -1
  197. package/dist/cdn/{D73KUPSF.js → Q5EJXK76.js} +2 -2
  198. package/dist/cdn/{J7OFNHJE.js → QBKMKNGL.js} +2 -2
  199. package/dist/cdn/{WN3VAL43.js → QCF4PYQB.js} +1 -1
  200. package/dist/cdn/{WD2QCZTO.js → QHJVQDMN.js} +2 -2
  201. package/dist/cdn/{TXGHJPP2.js → QIVU3W4F.js} +2 -2
  202. package/dist/cdn/{LECLO3XE.js → QRM36WK6.js} +2 -2
  203. package/dist/cdn/{3TUZLPWH.js → QZVDSGNQ.js} +2 -2
  204. package/dist/cdn/{BY4EXEJG.js → RFSMSYJR.js} +2 -2
  205. package/dist/cdn/{EUPHXLZZ.js → RKUNOYZR.js} +2 -2
  206. package/dist/cdn/{TPTCOLFA.js → RM5MLMA4.js} +2 -2
  207. package/dist/cdn/{U4IEKG5J.js → RN7TUN7E.js} +2 -2
  208. package/dist/cdn/{FARMWJ24.js → RTL6LDYI.js} +2 -2
  209. package/dist/cdn/{MLSL5LI5.js → RVRAGQDC.js} +2 -2
  210. package/dist/cdn/{KBTESCN4.js → RXTELQ34.js} +2 -2
  211. package/dist/cdn/{RCSNQFCR.js → S3WKVRQS.js} +2 -2
  212. package/dist/cdn/{6EA3DB3O.js → S67NXZHK.js} +2 -2
  213. package/dist/cdn/{CD2S6EUP.js → SBDAFL5S.js} +2 -2
  214. package/dist/cdn/{25QPPKFI.js → T4UFIWDF.js} +2 -2
  215. package/dist/cdn/T66Y6KTO.js +18 -0
  216. package/dist/cdn/{C6X2ECYU.js → T6FHHQZJ.js} +2 -2
  217. package/dist/cdn/TD4SVRZ2.js +18 -0
  218. package/dist/cdn/{LXGUGDHR.js → TGLGAJZN.js} +2 -2
  219. package/dist/cdn/{LDD3KF7W.js → TGVDYRKZ.js} +2 -2
  220. package/dist/cdn/{AZHIE3R7.js → TKBHKV5M.js} +2 -2
  221. package/dist/cdn/{4TKVQNTQ.js → TKUGQKMA.js} +3 -3
  222. package/dist/cdn/{S5633QFW.js → TKZBNC7H.js} +2 -2
  223. package/dist/cdn/{NLDJFYI7.js → TSJDIDQQ.js} +2 -2
  224. package/dist/cdn/{OFJCPV4F.js → TV4DZ4NC.js} +2 -2
  225. package/dist/cdn/{ZKLPV256.js → U35AQBWJ.js} +1 -1
  226. package/dist/cdn/{TYTGBM6D.js → U7RXVNQC.js} +1 -1
  227. package/dist/cdn/{SVZ6DPGA.js → UAP5F7JO.js} +2 -2
  228. package/dist/cdn/{67Y5XRJR.js → UDGQW7QL.js} +2 -2
  229. package/dist/cdn/{WO4T5EBB.js → UJSCHQIP.js} +2 -2
  230. package/dist/cdn/{SAK5E7EM.js → UKMHZ5PP.js} +2 -2
  231. package/dist/cdn/{HT5EDB5V.js → ULVBGZTW.js} +2 -2
  232. package/dist/cdn/{HVVFJDSU.js → UOCWAIF5.js} +2 -2
  233. package/dist/cdn/URRXFKCL.js +4 -0
  234. package/dist/cdn/{HZSTATBW.js → USMPDRTK.js} +2 -2
  235. package/dist/cdn/{J4VSSVNP.js → UVBA6JNL.js} +1 -1
  236. package/dist/cdn/{6YD2XRHQ.js → V3NOQ3VR.js} +2 -2
  237. package/dist/cdn/{JBUFFKQ4.js → V6UTV55V.js} +1 -1
  238. package/dist/cdn/{CHZ5YCRR.js → VAP272QY.js} +2 -2
  239. package/dist/cdn/VGXJDR76.js +18 -0
  240. package/dist/cdn/{CN4P5DTP.js → VLGVIKZ6.js} +2 -2
  241. package/dist/cdn/{BIRQOSZD.js → VOCP45SC.js} +2 -2
  242. package/dist/cdn/{PKFNJGIN.js → VPPRTR4I.js} +2 -2
  243. package/dist/cdn/{SDDCOLSE.js → VQKEDTWW.js} +2 -2
  244. package/dist/cdn/{Y5WPDAVU.js → VTJTEDJC.js} +2 -2
  245. package/dist/cdn/{4BCMHRMT.js → W4QVPEC6.js} +1 -1
  246. package/dist/cdn/{MHO2Y7KN.js → WAHZ4BJA.js} +2 -2
  247. package/dist/cdn/{V2TJSNNS.js → WBDBLEC7.js} +2 -2
  248. package/dist/cdn/{HBOTGKBU.js → WCAYMKQP.js} +2 -2
  249. package/dist/cdn/{XRNUZ7HG.js → WKBQVMT4.js} +2 -2
  250. package/dist/cdn/{C2KBDSIZ.js → WUWWLJEX.js} +1 -1
  251. package/dist/cdn/{62J73NXR.js → WUYLVJC7.js} +2 -2
  252. package/dist/cdn/{T5ZHBVTX.js → X5NCT7SI.js} +1 -1
  253. package/dist/cdn/{N5VOILQX.js → XI6U7JLE.js} +2 -2
  254. package/dist/cdn/{T5R3QU6B.js → XISA6SLB.js} +2 -2
  255. package/dist/cdn/{JZMP2SNN.js → XJOAEUHQ.js} +2 -2
  256. package/dist/cdn/XMB335P2.js +4 -0
  257. package/dist/cdn/XOTJKE5D.js +4 -0
  258. package/dist/cdn/{YNA4CMIX.js → XV6244HK.js} +2 -2
  259. package/dist/cdn/{LKUFS2W4.js → XW3XMCXE.js} +2 -2
  260. package/dist/cdn/{DWRH76JT.js → XZS545IF.js} +2 -2
  261. package/dist/cdn/{2VIYUPNY.js → YFTL66BW.js} +2 -2
  262. package/dist/cdn/{WFKJMOI2.js → YMECWXNY.js} +2 -2
  263. package/dist/cdn/{VY6VKUBS.js → YNLSAEFB.js} +2 -2
  264. package/dist/cdn/YQNWPVUQ.js +4 -0
  265. package/dist/cdn/{6EY4X2IO.js → YRLQIYDY.js} +2 -2
  266. package/dist/cdn/{XDCTTW2D.js → YWPX2AWZ.js} +2 -2
  267. package/dist/cdn/{IKUXIIBQ.js → ZADWIJ7Q.js} +2 -2
  268. package/dist/cdn/{YZON6FQX.js → ZIJGSIAY.js} +1 -1
  269. package/dist/cdn/{2Q5FUL4Y.js → ZSVGZTYI.js} +2 -2
  270. package/dist/cdn/{F5K2FGR2.js → ZVRPCQAG.js} +1 -1
  271. package/dist/cdn/ZXAG7K3F.js +4 -0
  272. package/dist/cdn/assets/selection-tool/t9n/messages.en.json +1 -0
  273. package/dist/cdn/assets/selection-tool/t9n/messages.json +1 -0
  274. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +1 -0
  275. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +1 -0
  276. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -0
  277. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -0
  278. package/dist/cdn/index.js +2 -2
  279. package/dist/chunks/common.js +1 -1
  280. package/dist/chunks/downloadUtils.js +1 -1
  281. package/dist/chunks/index.js +1 -1
  282. package/dist/chunks/interfaces.js +1 -1
  283. package/dist/chunks/loadModules.js +1 -1
  284. package/dist/chunks/mapViewUtils.js +19 -15
  285. package/dist/chunks/pciUtils.js +1 -1
  286. package/dist/chunks/popupUtils.js +1 -1
  287. package/dist/chunks/publicNotificationStore.js +1 -1
  288. package/dist/chunks/queryUtils.js +1 -1
  289. package/dist/chunks/runtime.js +1 -1
  290. package/dist/chunks/solution-store.js +1 -1
  291. package/dist/chunks/templates.js +1 -1
  292. package/dist/chunks/useT9n.js +1 -1
  293. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  294. package/dist/components/basemap-gallery/customElement.js +1 -1
  295. package/dist/components/buffer-tools/customElement.js +1 -1
  296. package/dist/components/card-manager/customElement.d.ts +5 -2
  297. package/dist/components/card-manager/customElement.js +24 -20
  298. package/dist/components/consent-manager/customElement.js +1 -1
  299. package/dist/components/create-feature/customElement.js +1 -1
  300. package/dist/components/create-related-feature/customElement.js +1 -1
  301. package/dist/components/crowdsource-manager/customElement.d.ts +12 -0
  302. package/dist/components/crowdsource-manager/customElement.js +51 -43
  303. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  304. package/dist/components/deduct-calculator/customElement.js +1 -1
  305. package/dist/components/delete-button/customElement.js +1 -1
  306. package/dist/components/delete-dialog/customElement.js +9 -9
  307. package/dist/components/edit-card/customElement.js +14 -11
  308. package/dist/components/feature-details/customElement.js +1 -1
  309. package/dist/components/feature-list/customElement.js +1 -1
  310. package/dist/components/field-selection/customElement.js +3 -3
  311. package/dist/components/floor-filter/customElement.js +1 -1
  312. package/dist/components/info-card/customElement.js +1 -1
  313. package/dist/components/json-editor/customElement.js +1 -1
  314. package/dist/components/layer-list/customElement.js +1 -1
  315. package/dist/components/layer-table/customElement.d.ts +11 -1
  316. package/dist/components/layer-table/customElement.js +267 -148
  317. package/dist/components/layer-table/index.d.ts +3 -2
  318. package/dist/components/layer-table/index.js +3 -2
  319. package/dist/components/map-card/customElement.d.ts +7 -1
  320. package/dist/components/map-card/customElement.js +16 -16
  321. package/dist/components/map-draw-tools/customElement.js +1 -1
  322. package/dist/components/map-fullscreen/customElement.js +1 -1
  323. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  324. package/dist/components/map-layer-picker/customElement.js +14 -14
  325. package/dist/components/map-legend/customElement.js +1 -1
  326. package/dist/components/map-picker/customElement.js +3 -3
  327. package/dist/components/map-search/customElement.js +1 -1
  328. package/dist/components/map-select-tools/customElement.js +1 -1
  329. package/dist/components/map-tools/customElement.d.ts +13 -1
  330. package/dist/components/map-tools/customElement.js +25 -18
  331. package/dist/components/map-tools/index.d.ts +1 -0
  332. package/dist/components/map-tools/index.js +1 -0
  333. package/dist/components/pci-calculator/customElement.js +1 -1
  334. package/dist/components/pdf-download/customElement.js +1 -1
  335. package/dist/components/public-notification/customElement.js +1 -1
  336. package/dist/components/refine-selection/customElement.js +1 -1
  337. package/dist/components/selection-tool/customElement.d.ts +33 -0
  338. package/dist/components/selection-tool/customElement.js +96 -0
  339. package/dist/components/selection-tool/index.d.ts +1 -0
  340. package/dist/components/selection-tool/index.js +1 -0
  341. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.d.ts +1 -1
  342. package/dist/components/{solution-arcticle-card → solution-article-card}/customElement.js +5 -5
  343. package/dist/components/solution-configuration/customElement.js +1 -1
  344. package/dist/components/solution-configure-panel/customElement.js +1 -1
  345. package/dist/components/solution-configure-titles/customElement.js +1 -1
  346. package/dist/components/solution-contents/customElement.js +1 -1
  347. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  348. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  349. package/dist/components/solution-deploy-panel/customElement.d.ts +5 -0
  350. package/dist/components/solution-deploy-panel/customElement.js +44 -0
  351. package/dist/components/solution-deploy-panel/index.d.ts +2 -0
  352. package/dist/components/solution-deploy-panel/index.js +2 -0
  353. package/dist/components/solution-deployed-card/customElement.js +1 -1
  354. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  355. package/dist/components/solution-details-card/customElement.js +1 -1
  356. package/dist/components/solution-details-panel/customElement.js +1 -1
  357. package/dist/components/solution-item/customElement.js +1 -1
  358. package/dist/components/solution-item-accordion/customElement.js +1 -1
  359. package/dist/components/solution-item-details/customElement.js +1 -1
  360. package/dist/components/solution-item-icon/customElement.js +1 -1
  361. package/dist/components/solution-item-sharing/customElement.js +1 -1
  362. package/dist/components/solution-items-diagram/customElement.js +1 -1
  363. package/dist/components/solution-organization-variables/customElement.js +1 -1
  364. package/dist/components/solution-resource-item/customElement.js +1 -1
  365. package/dist/components/solution-snapshot-gallery/customElement.d.ts +5 -0
  366. package/dist/components/solution-snapshot-gallery/customElement.js +44 -0
  367. package/dist/components/solution-snapshot-gallery/index.d.ts +2 -0
  368. package/dist/components/solution-snapshot-gallery/index.js +2 -0
  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.js +1 -1
  373. package/dist/components/solutions-all-shell/customElement.js +1 -1
  374. package/dist/components/solutions-article-panel/customElement.js +1 -1
  375. package/dist/components/solutions-articles/customElement.js +1 -1
  376. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  377. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  378. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  379. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  380. package/dist/components/spatial-ref/customElement.js +1 -1
  381. package/dist/components/store-manager/customElement.js +1 -1
  382. package/dist/docs/api.json +655 -93
  383. package/dist/docs/docs.json +577 -73
  384. package/dist/docs/vscode.html-custom-data.json +86 -17
  385. package/dist/docs/web-types.json +230 -43
  386. package/dist/index.d.ts +34 -3
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +14 -11
  389. package/dist/main.css +1 -1
  390. package/dist/types/lumina.d.ts +27 -9
  391. package/dist/types/preact.d.ts +31 -10
  392. package/dist/types/react.d.ts +35 -11
  393. package/dist/types/stencil.d.ts +27 -9
  394. package/dist/utils/mapViewUtils.d.ts +3 -3
  395. package/package.json +1 -1
  396. package/dist/cdn/264VRGT4.js +0 -4
  397. package/dist/cdn/2C7P2WBD.js +0 -18
  398. package/dist/cdn/2M24VYGB.js +0 -4
  399. package/dist/cdn/5AYUBL2S.js +0 -4
  400. package/dist/cdn/6ZWGS275.js +0 -18
  401. package/dist/cdn/7LZNQGFF.js +0 -4
  402. package/dist/cdn/ACRINRWW.js +0 -4
  403. package/dist/cdn/C5QHLRUF.js +0 -18
  404. package/dist/cdn/F44IFVB6.js +0 -18
  405. package/dist/cdn/ILUCOTQH.js +0 -18
  406. package/dist/cdn/LXIX3TNH.js +0 -4
  407. package/dist/cdn/N7WXVV7Y.js +0 -18
  408. package/dist/cdn/O2WO5RGW.js +0 -4
  409. package/dist/cdn/U4SNCZZB.js +0 -4
  410. package/dist/cdn/WSILAYSC.js +0 -18
  411. package/dist/cdn/XG3QLQ4I.js +0 -18
  412. package/dist/cdn/XZCQWFF2.js +0 -4
  413. package/dist/cdn/ZWSG3QNV.js +0 -18
  414. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.en.json +0 -0
  415. /package/dist/cdn/assets/{solution-arcticle-card → solution-article-card}/t9n/messages.json +0 -0
  416. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.d.ts +0 -0
  417. /package/dist/components/{solution-arcticle-card → solution-article-card}/index.js +0 -0
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{b as e,c as g}from"./OT3XINKN.js";var d=async(s,r)=>{let{id:u,slug:o}=s,l=u?{slug:o,existingId:u}:{slug:o};return s.slug=await g(l,r),s.typeKeywords=e(s.typeKeywords,s.slug),s};export{d as a};
3
+ v1.0.0-next.20250513 */
4
+ import{b as e,c as g}from"./LZXK3MVJ.js";var d=async(s,r)=>{let{id:u,slug:o}=s,l=u?{slug:o,existingId:u}:{slug:o};return s.slug=await g(l,r),s.typeKeywords=e(s.typeKeywords,s.slug),s};export{d as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{b as c}from"./ECVA54TZ.js";import{a as y}from"./2SNN45WE.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
3
+ v1.0.0-next.20250513 */
4
+ import{b as c}from"./MSCUGG2N.js";import{a as y}from"./7WDOCGDK.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var C=(E=>(E.GRID="GRID",E.HORIZONTAL="HORIZONTAL",E.VERTICAL="VERTICAL",E))(C||{}),T=(E=>(E[E.Add=0]="Add",E[E.Update=1]="Update",E[E.Remove=2]="Remove",E[E.None=3]="None",E[E.Obsolete=4]="Obsolete",E))(T||{}),a=(E=>(E[E.LIST=0]="LIST",E[E.SELECT=1]="SELECT",E[E.EXPORT=2]="EXPORT",E[E.REFINE=3]="REFINE",E))(a||{}),I=(E=>(E.ADD="ADD",E.REMOVE="REMOVE",E))(I||{}),S=(E=>(E.SEARCH="SEARCH",E.SELECT="SELECT",E.SKETCH="SKETCH",E.REFINE="REFINE",E))(S||{}),e=(E=>(E.CSV="CSV",E.PDF="PDF",E))(e||{}),s=(E=>(E.SKETCH="SKETCH",E.REFINE="REFINE",E))(s||{}),A="{{params.wkid||",N="}}";export{C as a,T as b,a as c,I as d,S as e,e as f,s as g,A as h,N as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{g as N}from"./F5K2FGR2.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
3
+ v1.0.0-next.20250513 */
4
+ import{g as N}from"./ZVRPCQAG.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{f as C}from"./ACRINRWW.js";import"./DGJOUZR5.js";import"./C2KBDSIZ.js";import{a as c,b as p}from"./AXQXIZC6.js";import{b}from"./ZKLPV256.js";import{B as g,c as u,d as n,n as h,q as _,w as m}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var F=u`@layer{/**
3
+ v1.0.0-next.20250513 */
4
+ import{f as C}from"./XOTJKE5D.js";import"./2HQWNDOT.js";import"./WUWWLJEX.js";import{a as c,b as p}from"./P55AP2OS.js";import{b}from"./U35AQBWJ.js";import{B as g,c as u,d as n,n as h,q as _,w as m}from"./3RC2WF5B.js";import"./C44EKR3M.js";var F=u`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -0,0 +1,18 @@
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,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as D,b as w}from"./X4BR4G2Q.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./UTMLE3SN.js";import"./VDIZRWGH.js";import{a as _,b as L}from"./SAK5E7EM.js";import{C as S,D as y}from"./F5K2FGR2.js";import"./Z6MML6SM.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./HIIYUUEW.js";import"./OHY2KQUC.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",l={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(i=>i.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:l.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:l.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:l.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:l.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:l.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:l.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:l.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:l.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:l.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(i=>{let o=c.includes(i)?"partial":"full",p=_[o],{language:u,translated:h}=p[i],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${i}`,value:i},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],i=n===e-1?l.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:i,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:l.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:l.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:l.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),i=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(i),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let i=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(i,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
3
+ v1.0.0-next.20250513 */
4
+ import{a as D,b as w}from"./FDZH3TUO.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./L46SKXK3.js";import"./PVMRTOAH.js";import{a as _,b as L}from"./UKMHZ5PP.js";import{C as S,D as y}from"./ZVRPCQAG.js";import"./2Y7EB6IS.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./IRVZT2BS.js";import"./C44EKR3M.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,html[dir=rtl] .sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",l={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(i=>i.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:l.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:l.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:l.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:l.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:l.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:l.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:l.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:l.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:l.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(i=>{let o=c.includes(i)?"partial":"full",p=_[o],{language:u,translated:h}=p[i],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${i}`,value:i},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],i=n===e-1?l.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:i,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:l.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:l.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:l.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),i=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(i),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let i=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(i,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
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
5
  Flattening is not supported for Stencil non-shadow slots.
6
6
  You can use \`.childNodes\` to nested slot fallback content.
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var l=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["no","no"],["nb","no"],["nn","no"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]);function h(t){return s(t,"dir","ltr")}function s(t,e,n){let r=t.closest(`[${e}]`);return r?r.getAttribute(e):n}export{l as a,h as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as d}from"./3K5XH7WO.js";import{e as h}from"./SAK5E7EM.js";import{c as l}from"./F5K2FGR2.js";import"./Z6MML6SM.js";import{a as v,c as a,d as m,e as u}from"./HIIYUUEW.js";import"./OHY2KQUC.js";var c={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(c).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${c[t].fill}"><path d="${c[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),void await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"239f44775dbefef9e12450e0325c82aadfd78c91"},a("div",{key:"6d4fb22d8c840682b8bd1764bdc90a854fa15f5a",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),void await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:r,arcgisStoryMaps:s,storyMapsDesc:p,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:r,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:s,subtitle:p,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),r=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${r}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${r}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${r}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${r}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:r}=t,{protocol:s}=window.location,p=r?`${r}.${e}`:n;return`${s}//${p}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:"Create panel"},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:r,href:s}=t;return a("a",{class:i.option,href:s,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:r}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
3
+ v1.0.0-next.20250513 */
4
+ import{a as d}from"./4YGER5QC.js";import{e as h}from"./UKMHZ5PP.js";import{c as l}from"./ZVRPCQAG.js";import"./2Y7EB6IS.js";import{a as v,c as a,d as m,e as u}from"./IRVZT2BS.js";import"./C44EKR3M.js";var c={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(c).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${c[t].fill}"><path d="${c[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),void await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"239f44775dbefef9e12450e0325c82aadfd78c91"},a("div",{key:"6d4fb22d8c840682b8bd1764bdc90a854fa15f5a",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),void await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:r,arcgisStoryMaps:s,storyMapsDesc:p,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:r,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:s,subtitle:p,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),r=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${r}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${r}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${r}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${r}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:r}=t,{protocol:s}=window.location,p=r?`${r}.${e}`:n;return`${s}//${p}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:"Create panel"},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:r,href:s}=t;return a("a",{class:i.option,href:s,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:r}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
@@ -0,0 +1,18 @@
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 t,d as i,q as s,w as o}from"./3RC2WF5B.js";import"./C44EKR3M.js";var a=t`@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:"solution-deploy-panel",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=s}render(){return i`<calcite-dialog></calcite-dialog>`}};n("solution-deploy-panel",e);export{e as SolutionDeployPanel};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as e}from"./VPXUKOUC.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.0.0-next.20250513 */
4
+ import{a as e}from"./IKBVEVMI.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as e,c as t,g as a,k as s}from"./5EH5ABNA.js";var r=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],u={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:s,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:a}};export{r as a,u as b};
3
+ v1.0.0-next.20250513 */
4
+ import{a as e,c as t,g as a,k as s}from"./HZFEYQGX.js";var r=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],u={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:s,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:a}};export{r as a,u as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import"./OHY2KQUC.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import"./C44EKR3M.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as c}from"./4AB2653C.js";import{B as o,c as s,d as i,f as r,n as l,w as n}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var d=s`/** @license
3
+ v1.0.0-next.20250513 */
4
+ import{a as c}from"./FIE266AU.js";import{B as o,c as s,d as i,f as r,n as l,w as n}from"./3RC2WF5B.js";import"./C44EKR3M.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as l}from"./YJF3FQQW.js";import"./OFJCPV4F.js";import"./KAET4R4I.js";import"./2SNN45WE.js";import{a as o}from"./RA4WYINA.js";import"./BCXBJG72.js";import"./6YD2XRHQ.js";import"./K7L3LTTD.js";import"./ZX2WVODB.js";import"./BIOS2V5G.js";import"./ARPKSGRG.js";import"./J4DDOYKZ.js";import"./AW6GVVCK.js";import"./WFKJMOI2.js";import"./HLQ3GGP4.js";import"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./MNNNZZVI.js";import"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./424PZHQ5.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import{a as l}from"./G6RUG3BR.js";import"./TV4DZ4NC.js";import"./DHYYFX2C.js";import"./7WDOCGDK.js";import{a as o}from"./GGVX7BU3.js";import"./HHVCX4HB.js";import"./V3NOQ3VR.js";import"./5RJEQIH2.js";import"./AXEU574G.js";import"./P4CX5EDN.js";import"./NLQ42NQW.js";import"./CNU3TPX7.js";import"./37UTA2CS.js";import"./YMECWXNY.js";import"./AI3WLROH.js";import"./UOCWAIF5.js";import"./ISCASEIO.js";import"./WUYLVJC7.js";import"./GQU6FXIT.js";import"./6HNT2RSP.js";import"./F57GZO2E.js";import"./OBGBZA5Q.js";import"./ZIJGSIAY.js";import"./CBMZJGCV.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
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
5
  \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mt=/-->/g,It=/>/g,w=RegExp(`>|${ft}(?:([^\\s"'>=/]+)(${ft}*=${ft}*(?:[^
6
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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as n,b as m}from"./AXQXIZC6.js";import{b as l}from"./ZKLPV256.js";import{B as o,c as t,d as r,w as p}from"./CQFOO7QD.js";import"./OHY2KQUC.js";var h=t`/** @license
3
+ v1.0.0-next.20250513 */
4
+ import{a as n,b as m}from"./P55AP2OS.js";import{b as l}from"./U35AQBWJ.js";import{B as o,c as t,d as r,w as p}from"./3RC2WF5B.js";import"./C44EKR3M.js";var h=t`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,3 +1,3 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import{a as o}from"./XGZPINBJ.js";import{a as r}from"./VPXUKOUC.js";import"./VAQQRDFO.js";import"./OFJCPV4F.js";import"./2SNN45WE.js";import{a as s}from"./RA4WYINA.js";import"./BCXBJG72.js";import"./6YD2XRHQ.js";import"./K7L3LTTD.js";import"./ZX2WVODB.js";import"./BIOS2V5G.js";import"./ARPKSGRG.js";import"./J4DDOYKZ.js";import"./AW6GVVCK.js";import"./WFKJMOI2.js";import"./HLQ3GGP4.js";import"./HVVFJDSU.js";import"./4FGMEAIW.js";import"./62J73NXR.js";import"./G466QX4L.js";import"./MNNNZZVI.js";import"./Z7PAFRTZ.js";import"./UQD4DDWQ.js";import"./YZON6FQX.js";import"./424PZHQ5.js";import"./LKUFS2W4.js";import"./LZCG3PUX.js";import"./5EH5ABNA.js";import"./OHY2KQUC.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import{a as o}from"./356X3OF7.js";import{a as r}from"./IKBVEVMI.js";import"./BZM6QEVQ.js";import"./TV4DZ4NC.js";import"./7WDOCGDK.js";import{a as s}from"./GGVX7BU3.js";import"./HHVCX4HB.js";import"./V3NOQ3VR.js";import"./5RJEQIH2.js";import"./AXEU574G.js";import"./P4CX5EDN.js";import"./NLQ42NQW.js";import"./CNU3TPX7.js";import"./37UTA2CS.js";import"./YMECWXNY.js";import"./AI3WLROH.js";import"./UOCWAIF5.js";import"./ISCASEIO.js";import"./WUYLVJC7.js";import"./GQU6FXIT.js";import"./6HNT2RSP.js";import"./F57GZO2E.js";import"./OBGBZA5Q.js";import"./ZIJGSIAY.js";import"./CBMZJGCV.js";import"./XW3XMCXE.js";import"./ADVQIEJR.js";import"./HZFEYQGX.js";import"./C44EKR3M.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
4
- import"./OHY2KQUC.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250513 */
4
+ import"./C44EKR3M.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250509 */
3
+ v1.0.0-next.20250513 */
4
4
  var p="::",r="|";function c(t){return t.indexOf(r)>-1&&(t=t.replace(r,p)),t}var u="~",R=256,o="slug";function _(t,e,n=0){return[o,e.toLowerCase(),t].join("|").substring(0,R-n).replace(/-+$/,"").replace(new RegExp(`^${o}\\|`),"")}function l(t){let e=`${o}|${t}|`;return R-e.length}var s=(t,e)=>`${t.split(r).pop()}${u}${e}`;export{c as a,o as b,_ as c,l as d,s as e};
@@ -0,0 +1,18 @@
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"./3WNCCUTZ.js";import{b as m}from"./P55AP2OS.js";import{a as p}from"./FIE266AU.js";import{B as h,c as r,d,w as c}from"./3RC2WF5B.js";import"./C44EKR3M.js";var f=r`/** @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
+ */.height-51{height:51px}.width-51{width:51px}`,n=class extends c{constructor(){super(...arguments),this._translations=p({name:"field-selection",blocking:!0}),this.fieldVisibilityPopoverClickHandler=t=>{this.fieldVisibilityPopoverNode?this.isInNode(t.target,"arcgis-table-field-selection")||(document.body.removeChild(this.fieldVisibilityPopoverNode),this.fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this.fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this.fieldVisibilityPopoverClickHandler)}}static{this.properties={layer:0,mapView:0,table:0,_translations:16}}static{this.styles=f}render(){return d`<calcite-action class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this.handleFieldVisibilityClick()} @mouseover=${()=>this.addTableTooltip(this.fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this.removeTableTooltip()} @focus=${()=>this.addTableTooltip(this.fieldVisibilityActionNode,this._translations.fieldVisibility)} ${m(t=>this.fieldVisibilityActionNode=t)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`}handleFieldVisibilityClick(){if(this.fieldVisibilityPopoverNode)return;let t=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&t&&this.fieldVisibilityActionNode){document.removeEventListener("click",this.fieldVisibilityPopoverClickHandler);let e=document.createElement("arcgis-table-field-selection");e.props={layer:this.layer,view:this.mapView},e.strings={fieldVisibility:this._translations.fieldVisibility,selectFields:this._translations.selectFields,filterFields:this._translations.filterFields,sortFields:this._translations.sortFields,sortBy:this._translations.sortBy,default:this._translations.sortByDefault,sortByDisplayName:this._translations.sortByDisplayName,sortByType:this._translations.sortByType,sortByFieldName:this._translations.sortByFieldName,selectAll:this._translations.selectAll,deselectAll:this._translations.deselectAll,info:this._translations.additionalFieldInfo,photosAndFiles:this._translations.photosAndFiles,attachments:this._translations.attachments,relatedRecords:this._translations.relatedRecords,done:this._translations.doneWithFieldChanges},e.columnTemplates=t;let i=this.table.columns.filter(s=>"field"in s)??[],a=Array.from(i.map(s=>s.fieldName));e.fieldColumnOrder=a,e.sortBy=this.fieldSortOrder??"default",e.attachmentsEnabled=this.hasAttachmentsEnabled(this.layer)?this.table.attachmentsEnabled:!1,e.relationshipsEnabled=this.table.relatedRecordsEnabled,e.popoverReferenceElement=this.fieldVisibilityActionNode,e.addEventListener("arcgisFieldColumnTemplatesVisibilityChange",s=>{s.stopPropagation(),s.detail.forEach(l=>this.table.toggleColumnVisibility(l)),this.updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisAttachmentColumnTemplateVisibilityChange",s=>{s.stopPropagation();let l=this.table.columns.find(o=>"onShowAttachments"in o);l.hidden=!s.detail;let b=this.table.tableTemplate?.columnTemplates.find(o=>o.type==="attachment");b.visible=s.detail,this.updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisRelationshipsColumnTemplateVisibilityChange",s=>{s.stopPropagation(),this.table.columns.filter(l=>"relationshipId"in l).forEach(l=>l.hidden=!s.detail),this.table.tableTemplate?.columnTemplates.filter(l=>l.type==="relationship")?.forEach(l=>l.visible=s.detail),this.updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",s=>{s.stopPropagation(),this.fieldSortOrder=s.detail}),e.addEventListener("arcgisClose",()=>{this.closePopovers(),setTimeout(()=>this.fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this.fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this.fieldVisibilityPopoverClickHandler),200)}}updateTable(t){this.table.tableTemplate=t,this.isStandardView()&&this.syncAttributeTableTemplate()}async syncAttributeTableTemplate(){let t=this.table.layer;if(t.attributeTableTemplate){let{modules:e}=this,i=t.attributeTableTemplate.clone();e.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,i),JSON.stringify(i)!==JSON.stringify(t.attributeTableTemplate)&&(t.attributeTableTemplate=i)}if(t.attributeTableTemplate?.orderByFields?.length>1){let e=t.attributeTableTemplate.clone(),i=this.table.activeSortOrders[0];e.orderByFields=[{field:i.fieldName,order:i.direction}],t.attributeTableTemplate=e,this.syncColumnDirectionsWithOrderByFields()}}syncColumnDirectionsWithOrderByFields(){let t=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(e=>{"fieldName"in e&&e.fieldName!==t&&(e.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(e=>{"fieldName"in e&&e.fieldName!==t&&(e.direction=void 0)})}isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}closePopovers(){document.removeEventListener("click",this.fieldVisibilityPopoverClickHandler),this.fieldVisibilityPopoverNode&&(document.body.removeChild(this.fieldVisibilityPopoverNode),this.fieldVisibilityPopoverNode=void 0)}addTableTooltip(t,e){let i=document.createElement("calcite-tooltip");i.className="table-tooltip",i.referenceElement=t,i.placement="trailing-start",i.open=!0;let a=document.createElement("div");a.className="tooltip",a.innerHTML=e,i.append(a),document.body.append(i)}removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(t=>t.parentNode?.removeChild(t))}isInNode(t,e){for(;t;){if(t.nodeName===e.toUpperCase())return!0;t=t.parentElement}return!1}hasAttachmentsEnabled(t){if(!t?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:e},operations:{supportsQueryAttachments:i}}}=t;return e&&i}};h("field-selection",n);export{n as FieldSelection};