@esri/solutions-components 1.0.5 → 1.1.0-next.20250731

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 (605) hide show
  1. package/dist/cdn/2BAYNM47.js +4 -0
  2. package/dist/cdn/{XK7SWBXE.js → 2EYV4IEN.js} +3 -3
  3. package/dist/cdn/{WCEUO2OS.js → 2GJB6LPB.js} +3 -3
  4. package/dist/cdn/{VXJY4QCS.js → 2GTBGQOU.js} +3 -3
  5. package/dist/cdn/{IFPYTV3R.js → 2GXV72MB.js} +2 -2
  6. package/dist/cdn/{OORGXTFY.js → 2H7BTHDT.js} +3 -3
  7. package/dist/cdn/{WZYGUEIV.js → 2HGA22GQ.js} +3 -3
  8. package/dist/cdn/{IREZCPC5.js → 2IUFUH3X.js} +3 -3
  9. package/dist/cdn/2JS7ZGBH.js +4 -0
  10. package/dist/cdn/{5K5LGI4X.js → 2KNQIZBY.js} +3 -3
  11. package/dist/cdn/{EJ7VKYZG.js → 2KTL7SDF.js} +3 -3
  12. package/dist/cdn/{XFANWHPY.js → 2MMYXU2V.js} +3 -3
  13. package/dist/cdn/{M3L66GKK.js → 2MXF6QYM.js} +4 -4
  14. package/dist/cdn/{UISRG6AV.js → 2VNDJQDM.js} +4 -4
  15. package/dist/cdn/{AHHA6SMZ.js → 36VPKEOS.js} +3 -3
  16. package/dist/cdn/{5LOTR4DW.js → 3BRZABO6.js} +3 -3
  17. package/dist/cdn/{WIVOL6CT.js → 3C7RF6EE.js} +2 -2
  18. package/dist/cdn/{ONL3NL26.js → 3CSOCHXH.js} +3 -3
  19. package/dist/cdn/{Q66CZJP6.js → 3I27Y3IK.js} +2 -2
  20. package/dist/cdn/{SH3RI2GK.js → 3IR5ZGJG.js} +3 -3
  21. package/dist/cdn/3VNPNVLC.js +25 -0
  22. package/dist/cdn/{QUCDVIOQ.js → 3YCVXZXV.js} +3 -3
  23. package/dist/cdn/{XU3KAISP.js → 426N4ARK.js} +2 -2
  24. package/dist/cdn/42JDQQWZ.js +4 -0
  25. package/dist/cdn/43XTD4IU.js +4 -0
  26. package/dist/cdn/{6N7ZWEZT.js → 44QRT6VW.js} +3 -3
  27. package/dist/cdn/473S2HEB.js +4 -0
  28. package/dist/cdn/4DN5TKSJ.js +4 -0
  29. package/dist/cdn/{EHUPQ5JP.js → 4FVROE4F.js} +3 -3
  30. package/dist/cdn/{QVLJY52I.js → 4OTSILUI.js} +3 -3
  31. package/dist/cdn/{4SF42JCK.js → 4PMO37VX.js} +4 -4
  32. package/dist/cdn/{36RPCHBW.js → 4RSWECR2.js} +4 -4
  33. package/dist/cdn/4SPV77R7.js +6 -0
  34. package/dist/cdn/4TIB4MUE.js +4 -0
  35. package/dist/cdn/4UBZI6H4.js +4 -0
  36. package/dist/cdn/{4527TPFQ.js → 4YPZC3SC.js} +2 -2
  37. package/dist/cdn/{TKDGIQNC.js → 52CFR4FY.js} +4 -4
  38. package/dist/cdn/{7NDRZHL6.js → 57GJVOPC.js} +3 -3
  39. package/dist/cdn/5BVTK7W7.js +294 -0
  40. package/dist/cdn/{7WZE34BF.js → 5CMVRFP2.js} +3 -3
  41. package/dist/cdn/{RWQELBMY.js → 5FRA4XTD.js} +3 -3
  42. package/dist/cdn/{HOTDMMJJ.js → 5JLZNB5T.js} +3 -3
  43. package/dist/cdn/5MCVEF6T.js +18 -0
  44. package/dist/cdn/5SPXP7OA.js +4 -0
  45. package/dist/cdn/{H4HFWY3H.js → 5ZCCNW3O.js} +3 -3
  46. package/dist/cdn/{GE2KFI4B.js → 643TMSPT.js} +3 -3
  47. package/dist/cdn/6A467XYI.js +4 -0
  48. package/dist/cdn/6EADJLFD.js +4 -0
  49. package/dist/cdn/{DSA7P4FN.js → 6KNAAPD7.js} +4 -4
  50. package/dist/cdn/{IVWP7URA.js → 6P3R6TWO.js} +3 -3
  51. package/dist/cdn/6PPTO6S3.js +18 -0
  52. package/dist/cdn/{RCDWSNVF.js → 6QCLIAW4.js} +3 -3
  53. package/dist/cdn/72AKOONQ.js +18 -0
  54. package/dist/cdn/72OOEYKH.js +18 -0
  55. package/dist/cdn/{RYQCNLW7.js → 74BIDOVU.js} +3 -3
  56. package/dist/cdn/{ODVL6BLS.js → 75RBPT4I.js} +3 -3
  57. package/dist/cdn/7EQTPI6S.js +18 -0
  58. package/dist/cdn/{N5MNRNS4.js → 7HYIF2AM.js} +3 -3
  59. package/dist/cdn/7ONRREX7.js +4 -0
  60. package/dist/cdn/7YOP5RPI.js +4 -0
  61. package/dist/cdn/{EV22N3KD.js → 7Z2ZZO4J.js} +3 -3
  62. package/dist/cdn/A2XGC2XD.js +4 -0
  63. package/dist/cdn/{IAHPQU5I.js → A4RGKVUV.js} +3 -3
  64. package/dist/cdn/{Z4FNCV4E.js → A5MPX75A.js} +3 -3
  65. package/dist/cdn/A5YDOTO7.js +8 -0
  66. package/dist/cdn/{RC3IVWI3.js → AAKWBZCL.js} +2 -2
  67. package/dist/cdn/{GJ2UG6YP.js → ADCQDBN4.js} +3 -3
  68. package/dist/cdn/{WQKEPPJH.js → ADW2XIW4.js} +2 -2
  69. package/dist/cdn/{MURI73WZ.js → AH2HQH4E.js} +3 -3
  70. package/dist/cdn/{SUSAZ65X.js → AK6ON7DB.js} +3 -3
  71. package/dist/cdn/AM2AI6MS.js +5 -0
  72. package/dist/cdn/{OTYGSW7W.js → AMGVTGKQ.js} +3 -3
  73. package/dist/cdn/AOCVFEIQ.js +4 -0
  74. package/dist/cdn/AOWA2AZQ.js +4 -0
  75. package/dist/cdn/APIMARV7.js +18 -0
  76. package/dist/cdn/AR3U6TSD.js +4 -0
  77. package/dist/cdn/ARFLHAGD.js +4 -0
  78. package/dist/cdn/ASBZNVPC.js +18 -0
  79. package/dist/cdn/{S5TXHJGZ.js → AVA5QVU2.js} +3 -3
  80. package/dist/cdn/AWQPMZLL.js +18 -0
  81. package/dist/cdn/AY7IK4RK.js +18 -0
  82. package/dist/cdn/B33KRB3L.js +4 -0
  83. package/dist/cdn/B7GPWN3T.js +4 -0
  84. package/dist/cdn/{UCI3QQAA.js → B7MFQJBB.js} +2 -2
  85. package/dist/cdn/{7ATYJT4O.js → BFSXMTKW.js} +3 -3
  86. package/dist/cdn/{NTJ65ON3.js → BG27OJBT.js} +3 -3
  87. package/dist/cdn/{Z3XBAPZC.js → BGIYWXGF.js} +2 -2
  88. package/dist/cdn/BOC3JHHJ.js +18 -0
  89. package/dist/cdn/BYJWVMEI.js +4 -0
  90. package/dist/cdn/{WBAN3UIC.js → BYZPDGIL.js} +3 -3
  91. package/dist/cdn/{7OEQCUDV.js → C7DUXXD3.js} +2 -2
  92. package/dist/cdn/{VOFDMTBC.js → C7L5TIYI.js} +3 -3
  93. package/dist/cdn/{JMMD7YBL.js → CA6EE6KQ.js} +3 -3
  94. package/dist/cdn/{34BPQSHF.js → CJKIUVFT.js} +3 -3
  95. package/dist/cdn/CUTWA2HF.js +4 -0
  96. package/dist/cdn/CY2MIOJN.js +4 -0
  97. package/dist/cdn/{M6GEH5RY.js → D35BLKR3.js} +3 -3
  98. package/dist/cdn/DC4UGQFD.js +4 -0
  99. package/dist/cdn/{IS4CHLDX.js → DCHRUUUX.js} +3 -3
  100. package/dist/cdn/DIBDPEA6.js +4 -0
  101. package/dist/cdn/DNWGIXXT.js +4 -0
  102. package/dist/cdn/{TVGUICDI.js → DP3S6KA3.js} +3 -3
  103. package/dist/cdn/{VIRNYXF5.js → DXJEOQCH.js} +3 -3
  104. package/dist/cdn/{3RLVYGV7.js → DZNTDZ24.js} +4 -4
  105. package/dist/cdn/E3NR4YOE.js +4 -0
  106. package/dist/cdn/{AC7K2P6S.js → EFUMGP3I.js} +3 -3
  107. package/dist/cdn/{G2PAP4HL.js → EP3R46LX.js} +4 -4
  108. package/dist/cdn/ERTZ6M46.js +4 -0
  109. package/dist/cdn/{U4LWP3KK.js → EU3Y2SAR.js} +2 -2
  110. package/dist/cdn/{G7LK4PDL.js → EUIE25QG.js} +3 -3
  111. package/dist/cdn/EXMV37QM.js +4 -0
  112. package/dist/cdn/EYQQR5HY.js +4 -0
  113. package/dist/cdn/EYVBQ4G4.js +4 -0
  114. package/dist/cdn/{CYHKUA3T.js → F3D65BRW.js} +3 -3
  115. package/dist/cdn/F6Y7C5KP.js +4 -0
  116. package/dist/cdn/{QQPQDFEM.js → FEQ4AT3P.js} +3 -3
  117. package/dist/cdn/{I3SHQQXU.js → FHDBHLB5.js} +3 -3
  118. package/dist/cdn/FHNTUSFH.js +4 -0
  119. package/dist/cdn/{WCVUN6XF.js → FS3XGDFG.js} +3 -3
  120. package/dist/cdn/FSPGUSSO.js +29 -0
  121. package/dist/cdn/FUKJHT5H.js +4 -0
  122. package/dist/cdn/{WNFUARBO.js → FWW6GXHG.js} +3 -3
  123. package/dist/cdn/FXFX5L3X.js +4 -0
  124. package/dist/cdn/GBDK7FHD.js +3 -0
  125. package/dist/cdn/{QZAU4Z6W.js → GF52MLTL.js} +3 -3
  126. package/dist/cdn/GLZTL7RA.js +4 -0
  127. package/dist/cdn/{S3AWAGTI.js → GVBOBWPJ.js} +3 -3
  128. package/dist/cdn/{OG4FHSPI.js → H272DO6V.js} +2 -2
  129. package/dist/cdn/{SBX54Z43.js → H3UGTCXB.js} +3 -3
  130. package/dist/cdn/{M4VZ4CMY.js → H5A32K7K.js} +3 -3
  131. package/dist/cdn/{33UPFZYZ.js → H5TWBIAR.js} +3 -3
  132. package/dist/cdn/HDQF6VWQ.js +4 -0
  133. package/dist/cdn/HETMWJIP.js +9 -0
  134. package/dist/cdn/{LG2N3IDQ.js → HIKKZ25D.js} +3 -3
  135. package/dist/cdn/HJB23WDQ.js +18 -0
  136. package/dist/cdn/{E4626BS2.js → HJO2CQWJ.js} +3 -3
  137. package/dist/cdn/HJYJB5W7.js +4 -0
  138. package/dist/cdn/{MK7N6OTA.js → HK4XTNBP.js} +2 -2
  139. package/dist/cdn/HKN3HPEK.js +4 -0
  140. package/dist/cdn/{W7Z3ORQY.js → HMOHKHAT.js} +3 -3
  141. package/dist/cdn/I57GNKUQ.js +4 -0
  142. package/dist/cdn/{JOWT5YJ4.js → I6WXPX3C.js} +3 -3
  143. package/dist/cdn/{5JHZFHQW.js → IF2ZKI6T.js} +3 -3
  144. package/dist/cdn/IH7ADVLR.js +4 -0
  145. package/dist/cdn/{YXHSDCRJ.js → ISALH4VC.js} +3 -3
  146. package/dist/cdn/{WZ764LLN.js → IZJLYME2.js} +2 -2
  147. package/dist/cdn/{4J5HYMPQ.js → JE2TWCAC.js} +4 -4
  148. package/dist/cdn/{TIUXVXYM.js → JEOSE5RW.js} +3 -3
  149. package/dist/cdn/{LUCYOE4G.js → JH4YZBYG.js} +3 -3
  150. package/dist/cdn/{HKKUMEH5.js → JJULCE5N.js} +2 -2
  151. package/dist/cdn/{ZLTHON4G.js → JKJSY7DJ.js} +3 -3
  152. package/dist/cdn/{FKCBARKI.js → JQ5ZHTF2.js} +3 -3
  153. package/dist/cdn/JSKKYZHM.js +18 -0
  154. package/dist/cdn/{PLTCACVO.js → JURDSMKY.js} +3 -3
  155. package/dist/cdn/{UR7ODANG.js → JWMNXRYC.js} +3 -3
  156. package/dist/cdn/K25LOYJZ.js +18 -0
  157. package/dist/cdn/{5WNLR3DS.js → K5BGQ3OZ.js} +4 -4
  158. package/dist/cdn/{GUN44VYU.js → K5MNQDI2.js} +3 -3
  159. package/dist/cdn/{JJJAHCRO.js → K5UZCUIP.js} +3 -3
  160. package/dist/cdn/{22F7LFMG.js → KBMAILOS.js} +3 -3
  161. package/dist/cdn/{MO5VIHBL.js → KCHTD25J.js} +3 -3
  162. package/dist/cdn/KDKEERTI.js +4 -0
  163. package/dist/cdn/KGAHJ54L.js +18 -0
  164. package/dist/cdn/{D2SOXDMW.js → KHDYOQUJ.js} +4 -4
  165. package/dist/cdn/{5JYWXCER.js → KPA6IPU7.js} +3 -3
  166. package/dist/cdn/{7OZSPB2F.js → KSIFYNKF.js} +4 -4
  167. package/dist/cdn/{76DZHGT4.js → KSJPYPQO.js} +3 -3
  168. package/dist/cdn/{CXOHKJLR.js → KT5WRAHK.js} +2 -2
  169. package/dist/cdn/{A4L4EUDH.js → KTXVM52W.js} +3 -3
  170. package/dist/cdn/{S6GQFWK7.js → KVFCBXED.js} +4 -4
  171. package/dist/cdn/{J252EEIH.js → KWAIKYS3.js} +3 -3
  172. package/dist/cdn/{TXB56MNF.js → KWLCMSMA.js} +3 -3
  173. package/dist/cdn/{5CGYAFLG.js → KX5WGRIQ.js} +3 -3
  174. package/dist/cdn/{3LJQBCLM.js → L3PU33PW.js} +4 -4
  175. package/dist/cdn/{UVRRN3AM.js → L6QFXG3S.js} +3 -3
  176. package/dist/cdn/LFYHIKU3.js +4 -0
  177. package/dist/cdn/{W7HZRPHM.js → LQQXXTMC.js} +3 -3
  178. package/dist/cdn/{AGGLKLN3.js → LRGKVD4T.js} +3 -3
  179. package/dist/cdn/{YEFAWRXP.js → MHXAIQAV.js} +3 -3
  180. package/dist/cdn/MIIMDMHL.js +4 -0
  181. package/dist/cdn/MO2JO46H.js +4 -0
  182. package/dist/cdn/{7244YR36.js → MSFLB63B.js} +3 -3
  183. package/dist/cdn/{PKKVL46F.js → N4LNMEDY.js} +3 -3
  184. package/dist/cdn/{WV2ZROZJ.js → N62UO6II.js} +3 -3
  185. package/dist/cdn/N6NAF62S.js +4 -0
  186. package/dist/cdn/{AYBHICHM.js → NBU35YHR.js} +4 -4
  187. package/dist/cdn/{N54CIKSY.js → NBZYKYQZ.js} +3 -3
  188. package/dist/cdn/NCLQJSMX.js +18 -0
  189. package/dist/cdn/{M35TRRGF.js → NEO6JGNW.js} +2 -2
  190. package/dist/cdn/{PGB7D5V5.js → NO3D7QT7.js} +3 -3
  191. package/dist/cdn/{ZV3QGDX6.js → NTOLQYQU.js} +3 -3
  192. package/dist/cdn/NYUDOFOD.js +4 -0
  193. package/dist/cdn/{GFTGPFHL.js → O7LMFSMD.js} +3 -3
  194. package/dist/cdn/{KQIW24JY.js → OB7VIGCH.js} +3 -3
  195. package/dist/cdn/{HM7EBFPG.js → OOZKB3ZN.js} +4 -4
  196. package/dist/cdn/{2QFMILDU.js → OQU4LYMF.js} +3 -3
  197. package/dist/cdn/OSUVDV6H.js +4 -0
  198. package/dist/cdn/{64ETTMNQ.js → PIB7ZZVG.js} +3 -3
  199. package/dist/cdn/PIKKLXM7.js +18 -0
  200. package/dist/cdn/{PNZFKJGE.js → PQTSGLNC.js} +3 -3
  201. package/dist/cdn/{GGBJCIO7.js → PQUXZAPF.js} +3 -3
  202. package/dist/cdn/{ZLU7K6TK.js → PV3AWYMW.js} +3 -3
  203. package/dist/cdn/{R5UFCXCH.js → Q3MXWDPL.js} +3 -3
  204. package/dist/cdn/QA2YCJ4O.js +4 -0
  205. package/dist/cdn/{M7HD332R.js → QB6N6BBC.js} +2 -2
  206. package/dist/cdn/{QNXFXUZA.js → QERJ6PIW.js} +3 -3
  207. package/dist/cdn/{GKBVNMEW.js → QLUP4VRI.js} +3 -3
  208. package/dist/cdn/QR5GDMMI.js +18 -0
  209. package/dist/cdn/QVENWOO2.js +4 -0
  210. package/dist/cdn/{CGZZGJLP.js → QYFSBDDP.js} +3 -3
  211. package/dist/cdn/{EW3T5VLB.js → R4SJJIO3.js} +3 -3
  212. package/dist/cdn/{56FAI7QX.js → R4YCPJ6L.js} +4 -4
  213. package/dist/cdn/R5SDMUXC.js +4 -0
  214. package/dist/cdn/{6U4PV22I.js → R6PTVOZ7.js} +2 -2
  215. package/dist/cdn/{C6WPV722.js → R7PTJALL.js} +3 -3
  216. package/dist/cdn/{VTS75E4I.js → RHAMAZRC.js} +4 -4
  217. package/dist/cdn/{RIQFARZP.js → RIWMTGJG.js} +3 -3
  218. package/dist/cdn/{UMIQ4XRZ.js → RKWOVJQK.js} +3 -3
  219. package/dist/cdn/{FLX4QZPY.js → RKYG5W3S.js} +5 -5
  220. package/dist/cdn/{OQJGVRY2.js → RQNJFE3E.js} +3 -3
  221. package/dist/cdn/RTDSKN7R.js +4 -0
  222. package/dist/cdn/{DHVPMGLT.js → RTG6AS6O.js} +3 -3
  223. package/dist/cdn/{2RWXUIPE.js → RW7QCD4F.js} +3 -3
  224. package/dist/cdn/RY3EYSFT.js +4 -0
  225. package/dist/cdn/S3TN6CM3.js +18 -0
  226. package/dist/cdn/{TENNMXGF.js → S4N6CMM4.js} +2 -2
  227. package/dist/cdn/{H72WOGJ7.js → SBBYIAQT.js} +3 -3
  228. package/dist/cdn/SEILZAED.js +4 -0
  229. package/dist/cdn/{6XYUDJQ2.js → SFNRHY6G.js} +2 -2
  230. package/dist/cdn/{AYDTR35F.js → SHNFODTH.js} +4 -4
  231. package/dist/cdn/{RVTHLBJL.js → SJIT5M3S.js} +3 -3
  232. package/dist/cdn/{SHWG5PCG.js → SJKDQVYZ.js} +3 -3
  233. package/dist/cdn/{7YFBO4YO.js → TEH3EUZ4.js} +3 -3
  234. package/dist/cdn/{CFPXLHXR.js → TO5I7SJD.js} +3 -3
  235. package/dist/cdn/{FDNO4BVO.js → TSC436KC.js} +4 -4
  236. package/dist/cdn/{4ULTYKHN.js → U5YGMCQ4.js} +3 -3
  237. package/dist/cdn/U6H7FPZF.js +4 -0
  238. package/dist/cdn/{43R5NRNV.js → UBCWEODS.js} +2 -2
  239. package/dist/cdn/{AQZ3QIKE.js → UCURZHST.js} +3 -3
  240. package/dist/cdn/UDXPAJPC.js +81 -0
  241. package/dist/cdn/{XXM424DO.js → UGOSMDSY.js} +3 -3
  242. package/dist/cdn/{2A6DDRTH.js → UH4VIVOW.js} +3 -3
  243. package/dist/cdn/{KJOPUX6H.js → UHQPR2Z7.js} +3 -3
  244. package/dist/cdn/{CJFK6TKW.js → UOOG3U5R.js} +3 -3
  245. package/dist/cdn/{7B2MAX64.js → UQGDAXCI.js} +2 -2
  246. package/dist/cdn/{5QHONC74.js → UT7SAFAT.js} +3 -3
  247. package/dist/cdn/UW764P2Z.js +4 -0
  248. package/dist/cdn/{76JQ5L7D.js → UYXBFGVH.js} +2 -2
  249. package/dist/cdn/{I3ZD6IV4.js → V6E6GKRI.js} +2 -2
  250. package/dist/cdn/{XFM3FD2A.js → V6KCSC7C.js} +3 -3
  251. package/dist/cdn/{FZV7IALP.js → VA34CFR6.js} +4 -4
  252. package/dist/cdn/VBD2TD57.js +4 -0
  253. package/dist/cdn/{RMU2WXMJ.js → VE3XMXHB.js} +4 -4
  254. package/dist/cdn/VKGJAPNM.js +4 -0
  255. package/dist/cdn/VMLP2N3H.js +4 -0
  256. package/dist/cdn/{NNNUOKAQ.js → VNSEZL7N.js} +4 -4
  257. package/dist/cdn/VRV234EZ.js +4 -0
  258. package/dist/cdn/VRXLMGXU.js +4 -0
  259. package/dist/cdn/{HPUAGDRV.js → VS5ENMWB.js} +3 -3
  260. package/dist/cdn/VULFBK5I.js +379 -0
  261. package/dist/cdn/VZZMNDQT.js +4 -0
  262. package/dist/cdn/W5OOALH7.js +4 -0
  263. package/dist/cdn/{7NMV3XFP.js → WB2BLNBK.js} +2 -2
  264. package/dist/cdn/{JUVS4QTT.js → WBA5I2LS.js} +3 -3
  265. package/dist/cdn/{YC7HMH6M.js → WKX6ZFFH.js} +3 -3
  266. package/dist/cdn/{PP6K5WOA.js → WQHLWDDX.js} +3 -3
  267. package/dist/cdn/{AOOQAYSR.js → WU2UAJRL.js} +3 -3
  268. package/dist/cdn/WVJ4W65Q.js +4 -0
  269. package/dist/cdn/{FFJCM7BG.js → WZLKEYSW.js} +3 -3
  270. package/dist/cdn/{ZEPG4DE3.js → X274AXPH.js} +3 -3
  271. package/dist/cdn/{2LVUHNL4.js → X5FEIO3K.js} +4 -4
  272. package/dist/cdn/XBAV4FHC.js +4 -0
  273. package/dist/cdn/XIX6F4S2.js +4 -0
  274. package/dist/cdn/{2IRIOH44.js → XJMXNPLZ.js} +3 -3
  275. package/dist/cdn/XVUQRP24.js +4 -0
  276. package/dist/cdn/{B4PHULG7.js → Y3A4SAQS.js} +3 -3
  277. package/dist/cdn/{TYVJSPBM.js → Y6FQBFJX.js} +3 -3
  278. package/dist/cdn/YF53VJZO.js +4 -0
  279. package/dist/cdn/YIM6J4NU.js +4 -0
  280. package/dist/cdn/{35ZVLYI7.js → YMD26PDD.js} +3 -3
  281. package/dist/cdn/{WFUAPKTB.js → YVWUFTSW.js} +3 -3
  282. package/dist/cdn/{IPXTSW43.js → YWBNDBUN.js} +3 -3
  283. package/dist/cdn/{ZRLT4TEH.js → YXHBNWUK.js} +3 -3
  284. package/dist/cdn/{65NNPWV7.js → Z23LS2SM.js} +2 -2
  285. package/dist/cdn/{EX6HJQ4X.js → Z2SCCFO4.js} +3 -3
  286. package/dist/cdn/Z42YUKU2.js +4 -0
  287. package/dist/cdn/ZBVOYBCH.js +4 -0
  288. package/dist/cdn/ZDFNLOHU.js +4 -0
  289. package/dist/cdn/ZMECVIEZ.js +4 -0
  290. package/dist/cdn/{D2XDABCT.js → ZNB3TLHZ.js} +3 -3
  291. package/dist/cdn/ZPFJXRFD.js +18 -0
  292. package/dist/cdn/ZSELGBFW.js +4 -0
  293. package/dist/cdn/{5WAZGRRD.js → ZWAN2LQ2.js} +3 -3
  294. package/dist/cdn/{EEECQWVR.js → ZYPY7D74.js} +3 -3
  295. package/dist/cdn/assets/solution-article-card/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-article-card/t9n/messages.json +1 -1
  297. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  298. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  299. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  300. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  301. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  302. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  303. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.en.json +1 -1
  304. package/dist/cdn/assets/solution-snapshot-gallery/t9n/messages.json +1 -1
  305. package/dist/cdn/assets/solution-social-share/t9n/messages.en.json +1 -0
  306. package/dist/cdn/assets/solution-social-share/t9n/messages.json +1 -0
  307. package/dist/cdn/assets/solutions-all-panel/t9n/messages.en.json +1 -1
  308. package/dist/cdn/assets/solutions-all-panel/t9n/messages.json +1 -1
  309. package/dist/cdn/assets/solutions-articles/t9n/messages.en.json +1 -1
  310. package/dist/cdn/assets/solutions-articles/t9n/messages.json +1 -1
  311. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.en.json +1 -1
  312. package/dist/cdn/assets/solutions-deployed-panel/t9n/messages.json +1 -1
  313. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  314. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.json +1 -1
  315. package/dist/cdn/index.js +3 -3
  316. package/dist/cdn/main.css +1 -1
  317. package/dist/chunks/Auth.js +2 -2
  318. package/dist/chunks/appConfig.js +2 -2
  319. package/dist/chunks/cardFetchingUtils.js +2 -2
  320. package/dist/chunks/common.js +2 -2
  321. package/dist/chunks/deployAppContexts.js +2 -2
  322. package/dist/chunks/downloadUtils.js +2 -2
  323. package/dist/chunks/helpers.js +46 -33
  324. package/dist/chunks/index.js +325 -413
  325. package/dist/chunks/interfaces.js +2 -2
  326. package/dist/chunks/loadModules.js +2 -2
  327. package/dist/chunks/mapViewUtils.js +2 -2
  328. package/dist/chunks/pciUtils.js +2 -2
  329. package/dist/chunks/popupUtils.js +2 -2
  330. package/dist/chunks/prepareDataForSolutionDisplay.js +2 -2
  331. package/dist/chunks/privilegeUtils.js +2 -2
  332. package/dist/chunks/publicNotificationStore.js +2 -2
  333. package/dist/chunks/queryUtils.js +2 -2
  334. package/dist/chunks/runtime.js +4 -4
  335. package/dist/chunks/solution-store.js +2 -2
  336. package/dist/chunks/templates.js +2 -2
  337. package/dist/chunks/useT9n.js +2 -2
  338. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -1
  339. package/dist/components/arcgis-solutions-assistant/customElement.js +9 -10
  340. package/dist/components/basemap-gallery/customElement.d.ts +1 -1
  341. package/dist/components/basemap-gallery/customElement.js +9 -10
  342. package/dist/components/buffer-tools/customElement.d.ts +1 -1
  343. package/dist/components/buffer-tools/customElement.js +9 -10
  344. package/dist/components/card-manager/customElement.d.ts +1 -1
  345. package/dist/components/card-manager/customElement.js +15 -16
  346. package/dist/components/consent-manager/customElement.d.ts +1 -1
  347. package/dist/components/consent-manager/customElement.js +1780 -1724
  348. package/dist/components/create-feature/customElement.d.ts +1 -1
  349. package/dist/components/create-feature/customElement.js +7 -8
  350. package/dist/components/create-related-feature/customElement.d.ts +1 -1
  351. package/dist/components/create-related-feature/customElement.js +8 -9
  352. package/dist/components/crowdsource-manager/customElement.d.ts +4 -2
  353. package/dist/components/crowdsource-manager/customElement.js +10 -11
  354. package/dist/components/crowdsource-manager/index.d.ts +1 -1
  355. package/dist/components/crowdsource-manager/index.js +1 -1
  356. package/dist/components/crowdsource-reporter/customElement.d.ts +1 -1
  357. package/dist/components/crowdsource-reporter/customElement.js +8 -9
  358. package/dist/components/crowdsource-reporter/index.d.ts +2 -2
  359. package/dist/components/crowdsource-reporter/index.js +2 -2
  360. package/dist/components/deduct-calculator/customElement.d.ts +1 -1
  361. package/dist/components/deduct-calculator/customElement.js +9 -10
  362. package/dist/components/delete-button/customElement.d.ts +1 -1
  363. package/dist/components/delete-button/customElement.js +7 -8
  364. package/dist/components/delete-dialog/customElement.d.ts +1 -1
  365. package/dist/components/delete-dialog/customElement.js +9 -10
  366. package/dist/components/edit-card/customElement.d.ts +1 -1
  367. package/dist/components/edit-card/customElement.js +10 -11
  368. package/dist/components/feature-details/customElement.d.ts +1 -1
  369. package/dist/components/feature-details/customElement.js +8 -9
  370. package/dist/components/feature-list/customElement.d.ts +1 -1
  371. package/dist/components/feature-list/customElement.js +9 -10
  372. package/dist/components/field-selection/customElement.d.ts +1 -1
  373. package/dist/components/field-selection/customElement.js +10 -11
  374. package/dist/components/floor-filter/customElement.d.ts +1 -1
  375. package/dist/components/floor-filter/customElement.js +9 -10
  376. package/dist/components/info-card/customElement.d.ts +1 -1
  377. package/dist/components/info-card/customElement.js +8 -9
  378. package/dist/components/json-editor/customElement.d.ts +1 -1
  379. package/dist/components/json-editor/customElement.js +10 -11
  380. package/dist/components/layer-list/customElement.d.ts +1 -1
  381. package/dist/components/layer-list/customElement.js +7 -8
  382. package/dist/components/layer-table/customElement.d.ts +4 -2
  383. package/dist/components/layer-table/customElement.js +7 -8
  384. package/dist/components/layer-table/index.d.ts +1 -1
  385. package/dist/components/layer-table/index.js +1 -1
  386. package/dist/components/map-card/customElement.d.ts +1 -1
  387. package/dist/components/map-card/customElement.js +7 -8
  388. package/dist/components/map-card/index.d.ts +1 -1
  389. package/dist/components/map-card/index.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.d.ts +1 -1
  391. package/dist/components/map-draw-tools/customElement.js +10 -11
  392. package/dist/components/map-fullscreen/customElement.d.ts +1 -1
  393. package/dist/components/map-fullscreen/customElement.js +12 -13
  394. package/dist/components/map-layer-picker/customElement.d.ts +1 -1
  395. package/dist/components/map-layer-picker/customElement.js +11 -12
  396. package/dist/components/map-legend/customElement.d.ts +1 -1
  397. package/dist/components/map-legend/customElement.js +9 -10
  398. package/dist/components/map-picker/customElement.d.ts +1 -1
  399. package/dist/components/map-picker/customElement.js +7 -8
  400. package/dist/components/map-search/customElement.d.ts +1 -1
  401. package/dist/components/map-search/customElement.js +11 -12
  402. package/dist/components/map-select-tools/customElement.d.ts +1 -1
  403. package/dist/components/map-select-tools/customElement.js +9 -10
  404. package/dist/components/map-tools/customElement.d.ts +1 -1
  405. package/dist/components/map-tools/customElement.js +6 -7
  406. package/dist/components/pci-calculator/customElement.d.ts +1 -1
  407. package/dist/components/pci-calculator/customElement.js +11 -12
  408. package/dist/components/pdf-download/customElement.d.ts +1 -1
  409. package/dist/components/pdf-download/customElement.js +24 -25
  410. package/dist/components/public-notification/customElement.d.ts +1 -1
  411. package/dist/components/public-notification/customElement.js +20 -21
  412. package/dist/components/refine-selection/customElement.d.ts +1 -1
  413. package/dist/components/refine-selection/customElement.js +17 -18
  414. package/dist/components/selection-tool/customElement.d.ts +1 -1
  415. package/dist/components/selection-tool/customElement.js +3 -3
  416. package/dist/components/solution-article-card/customElement.d.ts +33 -1
  417. package/dist/components/solution-article-card/customElement.js +24 -19
  418. package/dist/components/solution-article-card/index.d.ts +1 -0
  419. package/dist/components/solution-article-card/index.js +1 -0
  420. package/dist/components/solution-configuration/customElement.d.ts +1 -1
  421. package/dist/components/solution-configuration/customElement.js +11 -12
  422. package/dist/components/solution-configure-dialog/customElement.d.ts +6 -7
  423. package/dist/components/solution-configure-dialog/customElement.js +121 -46
  424. package/dist/components/solution-configure-dialog/index.d.ts +1 -0
  425. package/dist/components/solution-configure-dialog/index.js +1 -0
  426. package/dist/components/solution-configure-titles/customElement.d.ts +3 -1
  427. package/dist/components/solution-configure-titles/customElement.js +39 -23
  428. package/dist/components/solution-contents/customElement.d.ts +1 -1
  429. package/dist/components/solution-contents/customElement.js +8 -9
  430. package/dist/components/solution-delete-dialog/customElement.d.ts +9 -11
  431. package/dist/components/solution-delete-dialog/customElement.js +55 -59
  432. package/dist/components/solution-deploy-dialog/customElement.d.ts +2 -10
  433. package/dist/components/solution-deploy-dialog/customElement.js +132 -83
  434. package/dist/components/solution-deployed-card/customElement.d.ts +1 -9
  435. package/dist/components/solution-deployed-card/customElement.js +29 -29
  436. package/dist/components/solution-deploying-dialog/customElement.d.ts +1 -1
  437. package/dist/components/solution-deploying-dialog/customElement.js +11 -12
  438. package/dist/components/solution-details-card/customElement.d.ts +1 -1
  439. package/dist/components/solution-details-card/customElement.js +9 -10
  440. package/dist/components/solution-details-panel/customElement.d.ts +1 -7
  441. package/dist/components/solution-details-panel/customElement.js +97 -91
  442. package/dist/components/solution-details-panel/index.d.ts +1 -0
  443. package/dist/components/solution-details-panel/index.js +1 -0
  444. package/dist/components/solution-item/customElement.d.ts +1 -1
  445. package/dist/components/solution-item/customElement.js +7 -8
  446. package/dist/components/solution-item-accordion/customElement.d.ts +1 -1
  447. package/dist/components/solution-item-accordion/customElement.js +8 -9
  448. package/dist/components/solution-item-details/customElement.d.ts +1 -1
  449. package/dist/components/solution-item-details/customElement.js +10 -11
  450. package/dist/components/solution-item-diagram/customElement.d.ts +1 -1
  451. package/dist/components/solution-item-diagram/customElement.js +9 -10
  452. package/dist/components/solution-item-icon/customElement.d.ts +1 -1
  453. package/dist/components/solution-item-icon/customElement.js +8 -9
  454. package/dist/components/solution-item-sharing/customElement.d.ts +1 -1
  455. package/dist/components/solution-item-sharing/customElement.js +14 -15
  456. package/dist/components/solution-organization-variables/customElement.d.ts +1 -1
  457. package/dist/components/solution-organization-variables/customElement.js +7 -8
  458. package/dist/components/solution-resource-item/customElement.d.ts +1 -1
  459. package/dist/components/solution-resource-item/customElement.js +15 -16
  460. package/dist/components/solution-snapshot-gallery/customElement.d.ts +1 -6
  461. package/dist/components/solution-snapshot-gallery/customElement.js +15 -15
  462. package/dist/components/solution-social-share/customElement.d.ts +117 -0
  463. package/dist/components/solution-social-share/customElement.js +178 -0
  464. package/dist/components/solution-social-share/index.d.ts +5 -0
  465. package/dist/components/solution-social-share/index.js +5 -0
  466. package/dist/components/solution-spatial-ref/customElement.d.ts +1 -1
  467. package/dist/components/solution-spatial-ref/customElement.js +19 -20
  468. package/dist/components/solution-template-data/customElement.d.ts +1 -1
  469. package/dist/components/solution-template-data/customElement.js +8 -9
  470. package/dist/components/solution-variables/customElement.d.ts +1 -1
  471. package/dist/components/solution-variables/customElement.js +8 -9
  472. package/dist/components/solutions-all-panel/customElement.d.ts +1 -9
  473. package/dist/components/solutions-all-panel/customElement.js +18 -18
  474. package/dist/components/solutions-all-shell/customElement.d.ts +3 -1
  475. package/dist/components/solutions-all-shell/customElement.js +19 -16
  476. package/dist/components/solutions-article-panel/customElement.d.ts +13 -1
  477. package/dist/components/solutions-article-panel/customElement.js +18 -19
  478. package/dist/components/solutions-articles/customElement.d.ts +3 -1
  479. package/dist/components/solutions-articles/customElement.js +54 -16
  480. package/dist/components/solutions-articles/index.d.ts +10 -0
  481. package/dist/components/solutions-articles/index.js +10 -0
  482. package/dist/components/solutions-articles-shell/customElement.d.ts +1 -1
  483. package/dist/components/solutions-articles-shell/customElement.js +10 -11
  484. package/dist/components/solutions-articles-shell/index.d.ts +3 -0
  485. package/dist/components/solutions-articles-shell/index.js +3 -0
  486. package/dist/components/solutions-deployed-panel/customElement.d.ts +3 -11
  487. package/dist/components/solutions-deployed-panel/customElement.js +44 -40
  488. package/dist/components/solutions-deployed-panel/index.d.ts +1 -0
  489. package/dist/components/solutions-deployed-panel/index.js +1 -0
  490. package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
  491. package/dist/components/solutions-deployed-shell/customElement.js +16 -16
  492. package/dist/components/solutions-filter-panel/customElement.d.ts +1 -1
  493. package/dist/components/solutions-filter-panel/customElement.js +13 -12
  494. package/dist/components/spatial-ref/customElement.d.ts +1 -1
  495. package/dist/components/spatial-ref/customElement.js +8 -9
  496. package/dist/components/store-manager/customElement.d.ts +1 -1
  497. package/dist/components/store-manager/customElement.js +2 -2
  498. package/dist/docs/api.json +1351 -474
  499. package/dist/docs/docs.json +990 -484
  500. package/dist/docs/vscode.css-custom-data.json +30 -1
  501. package/dist/docs/vscode.html-custom-data.json +313 -16
  502. package/dist/docs/web-types.json +528 -104
  503. package/dist/index.d.ts +24 -2
  504. package/dist/index.js +2 -2
  505. package/dist/loader.js +14 -13
  506. package/dist/types/lumina.d.ts +18 -9
  507. package/dist/types/preact.d.ts +19 -9
  508. package/dist/types/react.d.ts +20 -9
  509. package/dist/types/stencil.d.ts +18 -9
  510. package/dist/utils/helpers.d.ts +20 -1
  511. package/dist/utils/interfaces.d.ts +27 -23
  512. package/package.json +33 -28
  513. package/dist/cdn/25FEJN5O.js +0 -4
  514. package/dist/cdn/25JM7WUJ.js +0 -4
  515. package/dist/cdn/2BDPGGKC.js +0 -18
  516. package/dist/cdn/2TT2EKLS.js +0 -4
  517. package/dist/cdn/2VXYY4NW.js +0 -4
  518. package/dist/cdn/3IMXMLFS.js +0 -4
  519. package/dist/cdn/4HAO722I.js +0 -4
  520. package/dist/cdn/4UCCOTIL.js +0 -4
  521. package/dist/cdn/5S2FZKYO.js +0 -18
  522. package/dist/cdn/5TRSWX6M.js +0 -4
  523. package/dist/cdn/6LUI2X3G.js +0 -18
  524. package/dist/cdn/7M5YUYGE.js +0 -4
  525. package/dist/cdn/AXDYNDWC.js +0 -3
  526. package/dist/cdn/AYND4SCK.js +0 -4
  527. package/dist/cdn/B2AAEHPJ.js +0 -4
  528. package/dist/cdn/B5754CLI.js +0 -4
  529. package/dist/cdn/BRSXWNGO.js +0 -4
  530. package/dist/cdn/CBITJT5D.js +0 -82
  531. package/dist/cdn/CDBDE4TC.js +0 -18
  532. package/dist/cdn/CXN63GPC.js +0 -18
  533. package/dist/cdn/D2UIHI5N.js +0 -4
  534. package/dist/cdn/D3RXCR6Q.js +0 -6
  535. package/dist/cdn/DC2VXLYA.js +0 -4
  536. package/dist/cdn/DCYHSAL2.js +0 -4
  537. package/dist/cdn/DO5IRX2P.js +0 -4
  538. package/dist/cdn/DP2E5JFM.js +0 -4
  539. package/dist/cdn/DZ75SULS.js +0 -4
  540. package/dist/cdn/EL5KWKMD.js +0 -4
  541. package/dist/cdn/EPYFVSXR.js +0 -4
  542. package/dist/cdn/FQTZU3Z2.js +0 -29
  543. package/dist/cdn/G56M322A.js +0 -18
  544. package/dist/cdn/GFTMWJE2.js +0 -4
  545. package/dist/cdn/H36GDFY7.js +0 -4
  546. package/dist/cdn/H3C4GIDZ.js +0 -9
  547. package/dist/cdn/H3FM5UM6.js +0 -4
  548. package/dist/cdn/HCCTS5WV.js +0 -4
  549. package/dist/cdn/HNUCWI6T.js +0 -4
  550. package/dist/cdn/HR2HFJXC.js +0 -8
  551. package/dist/cdn/HRBMV6MS.js +0 -18
  552. package/dist/cdn/HZILY6RQ.js +0 -18
  553. package/dist/cdn/IHQISHAM.js +0 -4
  554. package/dist/cdn/IMFE25FS.js +0 -4
  555. package/dist/cdn/IMYZB3YV.js +0 -18
  556. package/dist/cdn/JAMFZUE3.js +0 -4
  557. package/dist/cdn/JRMGFAZK.js +0 -4
  558. package/dist/cdn/JYDRZHOB.js +0 -4
  559. package/dist/cdn/KQPN7NFG.js +0 -4
  560. package/dist/cdn/KUFJAMWI.js +0 -18
  561. package/dist/cdn/LIXHHHMQ.js +0 -3
  562. package/dist/cdn/ML3FDA7I.js +0 -4
  563. package/dist/cdn/MTDAXKJA.js +0 -4
  564. package/dist/cdn/MVAWCLJQ.js +0 -4
  565. package/dist/cdn/NTSPFMPN.js +0 -18
  566. package/dist/cdn/O4U6ZUNI.js +0 -4
  567. package/dist/cdn/OGRHFK6Y.js +0 -4
  568. package/dist/cdn/OOX6G6UE.js +0 -18
  569. package/dist/cdn/OZWDP6Y7.js +0 -4
  570. package/dist/cdn/PJSBBGLJ.js +0 -4
  571. package/dist/cdn/PSUWSWTK.js +0 -4
  572. package/dist/cdn/PWM7PIST.js +0 -18
  573. package/dist/cdn/Q5QONQ6T.js +0 -4
  574. package/dist/cdn/QBIXFYYE.js +0 -5
  575. package/dist/cdn/QH2LKILS.js +0 -4
  576. package/dist/cdn/QP26HSVE.js +0 -4
  577. package/dist/cdn/QU55HNGY.js +0 -25
  578. package/dist/cdn/QYU6USHT.js +0 -4
  579. package/dist/cdn/SCOCPPIV.js +0 -383
  580. package/dist/cdn/SMY4IACN.js +0 -4
  581. package/dist/cdn/T6PMIZLP.js +0 -4
  582. package/dist/cdn/TA3ZXQAF.js +0 -4
  583. package/dist/cdn/TBU33TUJ.js +0 -18
  584. package/dist/cdn/TNEFDIIG.js +0 -4
  585. package/dist/cdn/TTDNDVCB.js +0 -4
  586. package/dist/cdn/UDYWBQQB.js +0 -4
  587. package/dist/cdn/UITEOOYI.js +0 -4
  588. package/dist/cdn/UUY24OGE.js +0 -4
  589. package/dist/cdn/UZTSBHXN.js +0 -294
  590. package/dist/cdn/V3XFBVJ2.js +0 -4
  591. package/dist/cdn/VCL4EPUN.js +0 -18
  592. package/dist/cdn/VH4DOQZ4.js +0 -4
  593. package/dist/cdn/VJF6Y7HU.js +0 -4
  594. package/dist/cdn/VLNWSZVR.js +0 -4
  595. package/dist/cdn/VUZA56M3.js +0 -4
  596. package/dist/cdn/W3GV4JXP.js +0 -4
  597. package/dist/cdn/WBRXMEMP.js +0 -4
  598. package/dist/cdn/WIE3EFBI.js +0 -8
  599. package/dist/cdn/WN54HJON.js +0 -4
  600. package/dist/cdn/XYGVP2FK.js +0 -4
  601. package/dist/cdn/YMUVFR3U.js +0 -18
  602. package/dist/cdn/YQFYU4G2.js +0 -18
  603. package/dist/cdn/Z4WD3SG2.js +0 -4
  604. package/dist/cdn/ZUQZHS53.js +0 -18
  605. package/dist/cdn/ZY74MRCW.js +0 -4
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{d as i}from"./B2AAEHPJ.js";import{a}from"./JOWT5YJ4.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{d as i}from"./IH7ADVLR.js";import{a}from"./I6WXPX3C.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as r}from"./MIIMDMHL.js";import{c as o}from"./VKGJAPNM.js";var s=r(o);export{s as a};
@@ -1,4 +1,4 @@
1
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.5 */
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
4
  function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{c as d}from"./4SPV77R7.js";var r=class extends Event{constructor(t,e,n,s){super("context-request",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e,this.callback=n,this.subscribe=s??!1}};var a=class{constructor(t,e,n,s){if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(o,c)=>{this.unsubscribe&&(this.unsubscribe!==c&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=o,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(o,c)),this.unsubscribe=c},this.host=t,e.context!==void 0){let o=e;this.context=o.context,this.callback=o.callback,this.subscribe=o.subscribe??!1}else this.context=e,this.callback=n,this.subscribe=s??!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new r(this.context,this.host,this.t,this.subscribe))}};var u=class{get value(){return this.o}set value(t){this.setValue(t)}setValue(t,e=!1){let n=e||!Object.is(t,this.o);this.o=t,n&&this.updateObservers()}constructor(t){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:n}]of this.subscriptions)e(this.o,n)},t!==void 0&&(this.value=t)}addCallback(t,e,n){if(!n)return void t(this.value);this.subscriptions.has(t)||this.subscriptions.set(t,{disposer:()=>{this.subscriptions.delete(t)},consumerHost:e});let{disposer:s}=this.subscriptions.get(t);t(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var l=class extends Event{constructor(t,e){super("context-provider",{bubbles:!0,composed:!0}),this.context=t,this.contextTarget=e}},h=class extends u{constructor(t,e,n){super(e.context!==void 0?e.initialValue:n),this.onContextRequest=s=>{if(s.context!==this.context)return;let o=s.contextTarget??s.composedPath()[0];o!==this.host&&(s.stopPropagation(),this.addCallback(s.callback,o,s.subscribe))},this.onProviderRequest=s=>{if(s.context!==this.context||(s.contextTarget??s.composedPath()[0])===this.host)return;let o=new Set;for(let[c,{consumerHost:x}]of this.subscriptions)o.has(c)||(o.add(c),x.dispatchEvent(new r(this.context,x,c,!0)));s.stopPropagation()},this.host=t,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),this.host.addController?.(this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new l(this.context,this.host))}};var A=i=>{let t=d(),e=new h(t.el,i);return t.addController(e),e},B=i=>{let t=d(),e=new a(t.el,i);return t.addController(e),e};var J="UserSession",K="isMobile",Q="Auth";export{A as a,B as b,J as c,K as d,Q as e};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import"./UITEOOYI.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import"./YIM6J4NU.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as p}from"./2BAYNM47.js";import{a as d}from"./AM2AI6MS.js";import{b as h}from"./U6H7FPZF.js";import"./MIIMDMHL.js";import"./DIBDPEA6.js";import{A as r,h as o,i as n,n as l,y as c}from"./4SPV77R7.js";import"./YIM6J4NU.js";function u(e){return e==null||typeof e!="function"?null:new e({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0)}function g(e){window?.localStorage.setItem(e,"false")}function m(e){return!!window?.localStorage?.getItem(e)}function b(e){window?.localStorage?.removeItem(e)}var f=o`:host{--instant-apps-splash-content-max-height: 100%;--instant-apps-splash-back-content-display: flex;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:var(--instant-apps-splash-back-content-display);align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom: 0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}`,k={back:"instant-apps-splash__back-content"},a=class extends c{constructor(){super(...arguments),this._messages=p({name:"instant-apps-splash"}),this._sanitizer=u(d),this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.splashClose=l()}static{this.properties={localStorageKey:1,titleText:1,content:1,primaryButtonText:1,open:5,closeButtonDisabled:5,outsideCloseDisabled:5,secondaryButton:5,secondaryButtonText:1,secondaryButtonIcon:1,secondaryButtonCallback:0}}static{this.styles=f}load(){let t,{localStorageKey:s}=this;s?t=this.open&&!m(s):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}willUpdate(t){t.has("content")&&this.sanitizeContent()}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let i=t.target,{checked:y}=i;y?g(s):b(s)}render(){return n`<calcite-dialog .open=${this.open} .focusTrapOptions=${{allowOutsideClick:!0}} modal .heading=${this.titleText} aria-describedby=description @calciteDialogClose=${this.close} .closeDisabled=${this.closeButtonDisabled} .outsideCloseDisabled=${this.outsideCloseDisabled}><div id=description .innerHTML=${this.content??""}></div><slot name=custom-action></slot>${this.localStorageKey?this.renderDontShowThisAgainCheckbox():null}${this.secondaryButton?this.renderSecondaryButton():null}${this.renderPrimaryButton()}</calcite-dialog>`}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,_messages:s}=this,i=t&&m(t)?!0:null;return n`<div class=${r(k.back)} slot=footer-start><calcite-label layout=inline><calcite-checkbox @calciteCheckboxChange=${this.handleDontShowThisAgain} .checked=${i??void 0}></calcite-checkbox>${s?.dontShowThisAgain}</calcite-label></div>`}renderPrimaryButton(){let{primaryButtonText:t}=this;return n`<calcite-button @click=${this.close} slot=footer-end>${t||this._messages?.enter}</calcite-button>`}renderSecondaryButton(){return n`<calcite-button @click=${this.secondaryButtonCallback} slot=footer-end .iconStart=${this.secondaryButtonIcon} appearance=outline>${this.secondaryButtonText}</calcite-button>`}};h("instant-apps-splash",a);export{a as InstantAppsSplash};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as v}from"./TENNMXGF.js";import{a as y}from"./WNFUARBO.js";import{a as p}from"./MURI73WZ.js";import{a as d}from"./CGZZGJLP.js";import{a as E}from"./JUVS4QTT.js";import{a as s}from"./OQJGVRY2.js";import{a as n}from"./UR7ODANG.js";import{a}from"./JJJAHCRO.js";import{a as l}from"./RCDWSNVF.js";import{a as e}from"./76DZHGT4.js";import{a as r}from"./IAHPQU5I.js";import{a as t}from"./2RWXUIPE.js";import{a as i}from"./H4HFWY3H.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as y}from"./FWW6GXHG.js";import{a as d}from"./QYFSBDDP.js";import{a as E}from"./WBA5I2LS.js";import{a as s}from"./RQNJFE3E.js";import{a as n}from"./JWMNXRYC.js";import{a}from"./K5UZCUIP.js";import{a as l}from"./6QCLIAW4.js";import{a as e}from"./KSJPYPQO.js";import{a as v}from"./S4N6CMM4.js";import{a as r}from"./A4RGKVUV.js";import{a as t}from"./RW7QCD4F.js";import{a as i}from"./5ZCCNW3O.js";import{a as p}from"./AH2HQH4E.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import"./UITEOOYI.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import"./YIM6J4NU.js";var s=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.allowRegistration.label`,scope:"/properties/allowRegistration",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.allowRegistration.helperText`},labels:[`{{${e}.fields.allowRegistration.enabled.label:translate}}`,`{{${e}.fields.allowRegistration.disabled.label:translate}}`],descriptions:[`{{${e}.fields.allowRegistration.enabled.description:translate}}`,`{{${e}.fields.allowRegistration.disabled.description:translate}}`],icons:["user-calendar","circle-disallowed"],layout:"horizontal"}},{labelKey:`${e}.fields.notifyAttendees.label`,scope:"/properties/notifyAttendees",type:"Control",options:{control:"hub-field-input-tile-select",type:"radio",helperText:{labelKey:`${e}.fields.notifyAttendees.helperText`},labels:[`{{${e}.fields.notifyAttendees.enabled.label:translate}}`,`{{${e}.fields.notifyAttendees.disabled.label:translate}}`],descriptions:[`{{${e}.fields.notifyAttendees.enabled.description:translate}}`,`{{${e}.fields.notifyAttendees.disabled.description:translate}}`],icons:["envelope","circle-disallowed"],layout:"horizontal"}}]}]});export{s as buildUiSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ function V(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function F(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function M(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function Q(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>Q(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function T(r){let e=M(r);return Object.keys(e).map(t=>Q(t,e[t])).join("&")}var X=globalThis.FormData,Oe=globalThis.File,Re=globalThis.Blob;function Y(r,e){let t=F(r)||e,n=M(r);if(t){let o=new X;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return T(r)}var k=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var de={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},G="ARCGIS_REST_JS_NO_CORS";globalThis[G]||(globalThis[G]=Object.assign({},de));var g=globalThis[G];function B(r){let e=new URL(r);r=e.origin+e.pathname,e.search.includes("f=json")&&(r+="?f=json");let t=e.origin;return g.pendingNoCorsRequests[t]?g.pendingNoCorsRequests[t]:(g.pendingNoCorsRequests[t]=fetch(r,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t),g.crossOriginNoCorsDomains[t.toLowerCase()]=Date.now(),delete g.pendingNoCorsRequests[t]}).catch(n=>(delete g.pendingNoCorsRequests[t],Promise.reject(new Error(`no-cors request to ${t} failed`)))),g.pendingNoCorsRequests[t])}function Z(r){r.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?L(e):(L("http://"+e),L("https://"+e))})}function L(r){let t=new URL(r).origin;g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t)}function z(r){let e=!1;if(g.noCorsDomains.length){let t=new URL(r).origin.toLowerCase();e=g.noCorsDomains.some(n=>t.includes(n))}return e}function ee(r){let e=!1;if(z(r)){let t=new URL(r).origin.toLowerCase(),n=g.crossOriginNoCorsDomains[t]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(r){console&&console.warn&&console.warn.apply(console,[r])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(r,e){var t;if(!e&&!window||!r)return!1;{e=e||window;let n=(t=e.location)===null||t===void 0?void 0:t.origin;return r.startsWith(n)}}var J="@esri/arcgis-rest-js";function me(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return oe(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ge(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new k(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new A(s,u,r,e,n):new k(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new k(s,i,r,e,n)}return r}function oe(r,e){let t=me(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};z(r)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let E;if(typeof n.authentication=="string"){let c=n.authentication;E={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(te("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else E=n.authentication;let p=r,d=!1;typeof window<"u"&&(d=ne(r));let R=!d&&ee(r);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(r)),S.then(()=>E?E.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),E&&E.getDomainCredentials&&(u.credentials=E.getDomainCredentials(r));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?r:r+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete l["X-Esri-Authorization"])):r=b}let m=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=J),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):re().then(({fetch:h})=>h(r,u))}).then(c=>{if(!c.ok)return c.json().then(l=>{let{status:m,statusText:h}=c,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,r,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=c;throw new k(h,`HTTP ${m}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let l=ge(c,p,i,n,a);if(c&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(r)&&Array.isArray(c.authorizedCrossOriginNoCorsDomains)&&Z(c.authorizedCrossOriginNoCorsDomains),a){let m=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return l}else return c})}function f(r,e={params:{f:"json"}}){let{request:t}=e,n=V(e,["request"]);return t?t(r,n):oe(r,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function we(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function se(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=we(t);return e[n]=o,e},{})}var ie=300*1e3;function C(r,e){let t=e;return t.rawResponse=!1,f(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-ie),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-ie)),o})}function w(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(r){return q.test(r)}function Ee(r){if(!q.test(r))return r;switch(H(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function H(r){if(!q.test(r))return null;let t=r.match(q)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ce(r,e){let t=w(Ee(e)).replace(/https?:\/\//,""),n=w(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function ue(r,e){let t=ae(r),n=ae(e),o=H(r),s=H(e);return!!(t&&n&&o===s)}function le(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function rt(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var N=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var he;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var P=class{constructor(e){this.portal=e.portal?w(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var K;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(K||(K={}));function fe(r){let e=`${w(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function W(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return $(e)}function _e(r){return typeof r.userId=="string"||typeof r.expires=="number"}var O=class r extends P{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?w(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:E,locale:p,params:d,style:R,pkce:S,state:c}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),l=c||W(t),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(m,l);let h=`${w(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:l,originalUrl:t.location.href}),locale:p,style:R};o!=="arcgis"&&(h=`${w(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=W(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,v),D=pe(v,t).then(function(_){b.code_challenge_method=_?"S256":"plain",b.code_challenge=_||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new N;return U(j),j}if(_.detail.errorMessage){let j=new A(_.detail.errorMessage,_.detail.error);return U(j),j}v(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(h,"oauth-window",E),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=h})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,E=t.localStorage.getItem(u),p=se(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(c,l,m){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:c}})),t.close();return}return m&&t.history.replaceState(t.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(c,l))}function S(c,l){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},c)})),t.close();return}return t.history.replaceState(t.history.state,"",l),new r({clientId:o,portal:n,ssl:c.ssl,token:c.token,tokenExpires:c.expires,username:c.username,refreshToken:c.refreshToken,refreshTokenExpires:c.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!E||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==E)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let c=p.error,l=p.error_description||"Unknown error";return R(l,c,d.originalUrl)}if(i&&p.code){let c=w(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=t.localStorage.getItem(l);return t.localStorage.removeItem(l),C(c,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d.originalUrl)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d.originalUrl)):R("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let E=`${n}/oauth2/authorize?${T(u)}`;t.writeHead(301,{Location:E}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:w(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return _e(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return fe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return ue(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>le(t,e))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=w(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ce(s.owningSystemUrl,this.portal))return f(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return f(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:J};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):f(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return C(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return C(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function I(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(r)}I.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...r)};I.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),O.completeOAuth2(...r)};I.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...r)};I.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...r)};I.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...r)};I.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),O.fromCredential(...r)};I.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...r)};export{Y as a,te as b,A as c,f as d,rt as e,w as f,O as g};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as o,b as l}from"./QBIXFYYE.js";import{a as r,c as t,d,e as c,f as p}from"./ML3FDA7I.js";import"./UITEOOYI.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),this._sanitizer=new l({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=o(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as x}from"./CUTWA2HF.js";import{a as h}from"./AM2AI6MS.js";import{b as m}from"./U6H7FPZF.js";import{A as i,B as _,h as c,i as e,k as o,n as l,y as d}from"./4SPV77R7.js";import"./YIM6J4NU.js";var u=(a=>(a.TopLeft="top-left",a.TopCenter="top-center",a.TopRight="top-right",a.CenterLeft="center-left",a.Center="center",a.CenterRight="center-right",a.BottomLeft="bottom-left",a.BottomCenter="bottom-center",a.BottomRight="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.Center,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
@@ -1,4 +1,4 @@
1
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.5 */
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
4
  async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
@@ -1,7 +1,7 @@
1
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.5 */
4
- import{a as r,b as d}from"./OZWDP6Y7.js";import{b as o}from"./M35TRRGF.js";import{D as a,c as t,d as s,y as n}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var h=t`/**
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{b as o}from"./NEO6JGNW.js";import{b as d}from"./VKGJAPNM.js";import{h as t,i as s,w as n,x as a,y as r}from"./4SPV77R7.js";import"./YIM6J4NU.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -16,4 +16,4 @@ import{a as r,b as d}from"./OZWDP6Y7.js";import{b as o}from"./M35TRRGF.js";impor
16
16
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
17
  * See the License for the specific language governing permissions and
18
18
  * limitations under the License.
19
- */:host{display:block}`,i=class extends n{constructor(){super(...arguments),this._legendElement=r()}static{this.properties={mapView:0,legendWidget:0}}static{this.styles=h}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.mapView&&this._initLegend(this.mapView)})}async load(){return this._initModules()}render(){return s`<div ${d(this._legendElement)}></div>`}async loaded(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){let[e]=await o(["esri/widgets/Legend"]);this.Legend=e}_initLegend(e){e&&this.Legend&&(this.legendWidget?this.legendWidget.view=e:this.legendWidget=new this.Legend({container:this._legendElement.value,respectLayerDefinitionExpression:!0,view:e}))}};a("map-legend",i);export{i as MapLegend};
19
+ */:host{display:block}`,i=class extends r{constructor(){super(...arguments),this._legendElement=n()}static{this.properties={mapView:0,legendWidget:0}}static{this.styles=h}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler()}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.mapView&&this._initLegend(this.mapView)})}async load(){return this._initModules()}render(){return s`<div ${a(this._legendElement)}></div>`}async loaded(){this.mapView&&await this.mapViewWatchHandler()}async _initModules(){let[e]=await o(["esri/widgets/Legend"]);this.Legend=e}_initLegend(e){e&&this.Legend&&(this.legendWidget?this.legendWidget.view=e:this.legendWidget=new this.Legend({container:this._legendElement.value,respectLayerDefinitionExpression:!0,view:e}))}};d("map-legend",i);export{i as MapLegend};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as e}from"./JOWT5YJ4.js";import"./TENNMXGF.js";import"./WNFUARBO.js";import"./UCI3QQAA.js";import"./MURI73WZ.js";import"./CGZZGJLP.js";import"./JUVS4QTT.js";import"./OQJGVRY2.js";import"./UR7ODANG.js";import"./JJJAHCRO.js";import"./RCDWSNVF.js";import"./76DZHGT4.js";import"./HKKUMEH5.js";import"./H72WOGJ7.js";import"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import{a as t}from"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as e}from"./I6WXPX3C.js";import"./FWW6GXHG.js";import"./B7MFQJBB.js";import"./QYFSBDDP.js";import"./WBA5I2LS.js";import"./RQNJFE3E.js";import"./JWMNXRYC.js";import"./K5UZCUIP.js";import"./6QCLIAW4.js";import"./KSJPYPQO.js";import"./JJULCE5N.js";import"./SBBYIAQT.js";import"./C7DUXXD3.js";import"./S4N6CMM4.js";import"./A4RGKVUV.js";import"./RW7QCD4F.js";import"./FEQ4AT3P.js";import{a as t}from"./WB2BLNBK.js";import"./5ZCCNW3O.js";import"./AH2HQH4E.js";import"./BYZPDGIL.js";import"./BGIYWXGF.js";import"./2GXV72MB.js";import"./YIM6J4NU.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import"./UITEOOYI.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};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import"./YIM6J4NU.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
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.5 */
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
4
  function o(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function m(r,e){let t=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:e??o()}).formatToParts(new Date(r));return[t[4].value,t[0].value,t[2].value].join("-")}function s(r,e){let t=new Intl.DateTimeFormat("en-US",{hour:"2-digit",minute:"2-digit",second:"2-digit",timeZone:e??o(),hourCycle:"h23"}).formatToParts(new Date(r));return[t[0].value,t[2].value,t[4].value].join(":")}var w=()=>{let e=new Date(Date.now()+36e5),t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours()),i=t.toISOString(),a=new Date(t.valueOf()+36e5).toISOString(),n=o(),u=m(i,n),D=m(a,n);return{startDate:u,startDateTime:new Date(i),startTime:s(i,n),endDate:D,endDateTime:new Date(a),endTime:s(a,n),timeZone:n}};export{m as a,w as b};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{d as e}from"./S5TXHJGZ.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};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{d as e}from"./AVA5QVU2.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
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.5 */
4
- import a from"./JAMFZUE3.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=i(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=i(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function i(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},a)
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import a from"./7ONRREX7.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=i(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=i(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function i(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},a)
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as c}from"./4TIB4MUE.js";import{k as y,m as o}from"./UYXBFGVH.js";import{a as m}from"./HJYJB5W7.js";import"./MIIMDMHL.js";import"./DIBDPEA6.js";import{b as S}from"./VKGJAPNM.js";import{h as d,i as s,n as p,y as g}from"./4SPV77R7.js";import"./YIM6J4NU.js";var F=d`/** @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
+ */.width-full{width:100%}`;var O={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},I=Object.keys(y).reduce((h,i)=>{let t=i;return h[t]=O[t]??[],h},{}),u=class extends g{constructor(){super(),this.isAIsettingEnabled=!1,this.isAllSolutions=!1,this._activeFilterSettings={industry:{group:"",subgroup:""},isOwnerMySolutions:!0,searchTerm:""},this._translations=m({name:"solutions-filter-panel",blocking:!0}),this.applyFilter=p(),this._handleFilterRemoved=i=>{let t=i.detail;if(typeof t=="object"&&t!==null&&"type"in t&&typeof t.type=="string"){let e=t.type;(e==="industry"||e==="domain")&&this.changeIndustryFilter("","","")}else typeof t=="string"&&t.toLowerCase()===o.ORGANIZATION.toLowerCase()&&this.changeOwnerFilter(!0,!0)},this._resetToMySolutions=()=>{this.changeOwnerFilter(!0,!0)},this.listenOn(window,"filterRemoved",this._handleFilterRemoved),this.listenOn(window,"deployProgressEnd",this._resetToMySolutions)}static{this.properties={isAIsettingEnabled:5,isAllSolutions:5,_activeFilterSettings:16,_translations:16}}static{this.styles=F}changeOwnerFilter(i,t){this._activeFilterSettings={...this._activeFilterSettings,isOwnerMySolutions:i};let e={displayValue:this._activeFilterSettings.isOwnerMySolutions?this._translations.mySolutions:this._translations.myOrgSolutions,type:"owner",value:this._activeFilterSettings.isOwnerMySolutions?o.OWNER:o.ORGANIZATION};t&&this.applyFilter.emit(e)}changeIndustryFilter(i,t,e,r){let n={displayValue:e,type:t!==""?"domain":"industry",value:t!==""?t:i,industry:i,domain:t},l={group:i,subgroup:t};this._activeFilterSettings={...this._activeFilterSettings,industry:l},r&&this.applyFilter.emit(n)}changeSearchFilter(i,t){this._activeFilterSettings={...this._activeFilterSettings,searchTerm:i},(i.length>=3||i==="")&&t&&this.applyFilter.emit({searchTerm:i})}clearFilters(){this.changeIndustryFilter("","",""),this.changeSearchFilter(""),this.applyFilter.emit(null),setTimeout(()=>{this.changeOwnerFilter(!0,!0)},500)}render(){return s`<calcite-panel description .heading=${this._translations.findSolutions}><calcite-action icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.clear} text-enabled></calcite-action><calcite-input-text class="width-full" clearable icon=search @calciteInputTextInput=${i=>{this.changeSearchFilter(i.target.value,!0)}} .placeholder=${this._translations.search.solutions} slot=content-top .value=${this._activeFilterSettings.searchTerm}></calcite-input-text><calcite-block-group .label=${this._translations.filters}>${!this.isAllSolutions&&this.renderOwnerBlock()||""}${this.renderIndustryBlock()}</calcite-block-group>${this.isAIsettingEnabled&&s`<calcite-button icon-start=speech-bubbles label="Solutions Assistant" round scale=l slot=footer-start></calcite-button>`||""}</calcite-panel>`}renderOwnerBlock(){return s`<calcite-block collapsible description expanded .heading=${this._translations.owner}><calcite-tree selection-mode=single-persist>${this._activeFilterSettings.isOwnerMySolutions?s`<calcite-tree-item .label=${this._translations.mySolutions} @click=${()=>{this.changeOwnerFilter(!0,!0)}} selected>${this._translations.mySolutions}</calcite-tree-item>`:s`<calcite-tree-item .label=${this._translations.mySolutions} @click=${()=>{this.changeOwnerFilter(!0,!0)}}>${this._translations.mySolutions}</calcite-tree-item>`}${this._activeFilterSettings.isOwnerMySolutions?s`<calcite-tree-item .label=${this._translations.myOrgSolutions} @click=${()=>{this.changeOwnerFilter(!1,!0)}}>${this._translations.myOrgSolutions}</calcite-tree-item>`:s`<calcite-tree-item .label=${this._translations.myOrgSolutions} @click=${()=>{this.changeOwnerFilter(!1,!0)}} selected>${this._translations.myOrgSolutions}</calcite-tree-item>`}</calcite-tree></calcite-block>`}renderIndustryBlock(){let i=(e,r)=>r.map(n=>{let l=Object.keys(this._translations.industriesDomain).find(E=>E.toUpperCase()===n.toUpperCase()),a=l&&l in this._translations.industriesDomain?this._translations.industriesDomain[l]:n;return n===this._activeFilterSettings.industry.subgroup?c(n,s`<calcite-tree-item .label=${a} @click=${()=>{this.changeIndustryFilter(e,n,a,!0)}} selected>${a}</calcite-tree-item>`):c(n,s`<calcite-tree-item .label=${a} @click=${()=>{this.changeIndustryFilter(e,n,a,!0)}}>${a}</calcite-tree-item>`)}),t=Object.entries(I).map(([e,r])=>{let n=Object.keys(this._translations.industries).find(a=>a.toUpperCase()===e.toUpperCase()),l=n&&n in this._translations.industries?this._translations.industries[n]:e;return e===this._activeFilterSettings.industry.group&&this._activeFilterSettings.industry.subgroup===""?c(e,s`<calcite-tree-item .expanded=${e===this._activeFilterSettings.industry.group&&r.length>0} .label=${l} @click=${()=>{this.changeIndustryFilter(e,"",l,!0)}} selected>${l}${r.length>0&&s`<calcite-tree slot=children selection-mode=single-persist>${i(e,r)}</calcite-tree>`||""}</calcite-tree-item>`):c(e,s`<calcite-tree-item .expanded=${e===this._activeFilterSettings.industry.group&&r.length>0} .label=${l} @click=${()=>{this.changeIndustryFilter(e,"",l,!0)}}>${l}${r.length>0&&s`<calcite-tree slot=children selection-mode=single-persist>${i(e,r)}</calcite-tree>`||""}</calcite-tree-item>`)});return s`<calcite-block collapsible description expanded .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-tree selection-mode=single-persist>${t}</calcite-tree></calcite-block>`}};S("solutions-filter-panel",u);export{u as SolutionsFilterPanel};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as X}from"./XK7SWBXE.js";import{a as s}from"./XU3KAISP.js";import{c as x}from"./I3ZD6IV4.js";import{a as J,b as H}from"./64ETTMNQ.js";import{h as V,i as z}from"./RIQFARZP.js";import{b as R,c as w}from"./TVGUICDI.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./GKBVNMEW.js";import"./43R5NRNV.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./SBX54Z43.js";import"./65NNPWV7.js";import{i as G}from"./GFTGPFHL.js";import"./OG4FHSPI.js";import{a as p}from"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{k as O,s as j}from"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import{a as d}from"./6U4PV22I.js";import"./UCI3QQAA.js";import"./Z3XBAPZC.js";import"./UITEOOYI.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as s}from"./426N4ARK.js";import{c as x}from"./V6E6GKRI.js";import{a as X}from"./2EYV4IEN.js";import{a as J,b as H}from"./PIB7ZZVG.js";import{b as R,c as w}from"./DP3S6KA3.js";import"./UBCWEODS.js";import{h as V,i as z}from"./RIWMTGJG.js";import{d as U,e as M,h as I,j as h,m as K,p as P,q as T,r as N,s as C,t as B}from"./QLUP4VRI.js";import"./AOCVFEIQ.js";import"./3I27Y3IK.js";import"./UW764P2Z.js";import{a as S,b as c,c as f,d as L,e as E,f as k}from"./H3UGTCXB.js";import"./Z23LS2SM.js";import{i as G}from"./O7LMFSMD.js";import"./H272DO6V.js";import{a as p}from"./HK4XTNBP.js";import"./ADW2XIW4.js";import"./OQU4LYMF.js";import"./ZYPY7D74.js";import"./AVA5QVU2.js";import{k as O,s as j}from"./UCURZHST.js";import"./IH7ADVLR.js";import"./3C7RF6EE.js";import"./LFYHIKU3.js";import{a as d}from"./R6PTVOZ7.js";import"./B7MFQJBB.js";import"./BGIYWXGF.js";import"./YIM6J4NU.js";function b(e,t){if(e===t)return!0;if(e&&t&&x(e)&&x(t)){if(Array.isArray(e)!==Array.isArray(t))return!1;let o=Object.keys(e);return o.length!==Object.keys(t).length?!1:o.every(r=>b(e[r],t[r]))}return!1}var le=/\/[a-zA-Z]+server(\/|\/(\d+))?$/i;function Q(e){return le.test(e)}var pe=async(e,t)=>{let o=await fetch(C(e,t)),r=await o.json();if(!o.ok||r.statusCode===404)return{message:`Download schedule not found for item ${e}`,statusCode:404,schedule:null};if(r.mode==="manual")return{schedule:{mode:"manual"},message:`Download schedule found for item ${e}`,statusCode:200};switch(delete r.itemId,r.cadence){case"daily":case"weekly":case"monthly":case"yearly":return{schedule:Object.assign(Object.assign({},r),{mode:"scheduled"}),message:`Download schedule found for item ${e}`,statusCode:200}}},ce=async(e,t,o)=>{let r=p(t);r.mode!=="manual"&&delete r.mode;let a=C(e,o),i={method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify(Object.assign(Object.assign({},r),{itemId:e}))},n=await fetch(a,i);return Object.assign(Object.assign({},await n.json()),{statusCode:n.status})},me=async(e,t)=>{let o=C(e,t),a=await fetch(o,{method:"DELETE",headers:{accept:"application/json"}});return Object.assign(Object.assign({},await a.json()),{statusCode:a.status})},$=async(e,t)=>{let o=await pe(e.id,t);return e.schedule.mode==="automatic"&&o.statusCode===404?{message:"No schedule set, and incoming schedule is automatic.",statusCode:404}:b(e.schedule,o.schedule)?{message:"No action needed as schedules deepEqual each other."}:e.schedule.mode==="automatic"?await me(e.id,t):await ce(e.id,e.schedule,t)},Y=(e,t)=>{var o,r;let a=(o=e.authentication)===null||o===void 0?void 0:o.token;return((r=e.portal)===null||r===void 0?void 0:r.includes("arcgis.com"))&&t==="public"&&!!a};function v(){let e=J();return e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"licenseInfo",storeKey:"item.licenseInfo"}),e.push({entityKey:"size",storeKey:"item.size"}),e}function W(e,t,o,r={}){let a;o.authentication&&(a=o.authentication.token),t=H(e.item,t);let i=K(e.item,o,a);if(t.thumbnailUrl=i,t.links={self:G(t.id,o),siteRelative:P(t.type,t.slug||t.id,t.typeKeywords),siteRelativeEntityType:P(t.type),workspaceRelative:X("content",t.id),thumbnail:i,contentEditUrl:N(e.item,o)},t.licenseInfo=e.item.licenseInfo||"",t.schedule=r.schedule,t.extendedProps=Q(t.url)?ue(e.item,r,o):fe(e.item,r,o),r.server){t.serverQueryCapability=f(c.QUERY,r.server),t.serverExtractCapability=f(c.EXTRACT,r.server);let n=d(r,"server.supportedExportFormats");t.serverExtractFormats=n&&n.split(",")}return r.metadata&&(t.additionalResources=T(e.item,r.metadata,o)),t}function ue(e,t,o){let r=Z(e,t,o),a=Object.assign(Object.assign({},r),{kind:"service"});if(t.server){a.server=t.server,a.serverQueryCapability=f(c.QUERY,t.server),a.serverExtractCapability=f(c.EXTRACT,t.server);let i=d(t,"server.supportedExportFormats");a.serverExtractFormats=i&&i.split(",")}return a}function fe(e,t,o){let r=Z(e,t,o);return Object.assign(Object.assign({},r),{kind:"content"})}function Z(e,t,o){return{kind:null,metadata:t.metadata,additionalResources:T(e,t.metadata,o),downloads:d(e,"properties.downloads")}}function q(e,t,o){let a=new w(v()).storeToEntity(e,{});return W(e,a,t,o)}var A=[s.JPG,s.PNG,s.PNG8,s.PNG24,s.PNG32],ee=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML],te=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB],D=[s.CSV,s.SHAPEFILE,s.GEOJSON,s.KML,s.FILE_GDB,s.FEATURE_COLLECTION,s.EXCEL,s.GEO_PACKAGE,s.SQLITE,s.JSON];function oe(e){let t=e.serverExtractFormats||[],o=D.filter(a=>t.includes(a)),r=t.filter(a=>!D.includes(a));return[...o,...r].map(a=>({type:"dynamic",format:a}))}function re(e){return((d(e,"extendedProps.server.currentVersion")||0)<10.2?A.filter(r=>r!==s.PNG32):A).map(r=>({type:"dynamic",format:r}))}function ae(){return ee.map(e=>({type:"dynamic",format:e}))}function se(){return te.map(e=>({type:"dynamic",format:e}))}function ie(e,t){let o=[],r={createReplica:()=>{o=oe(t)},paging:()=>{o=ae()},fgdb:()=>{o=se()},exportImage:()=>{o=re(t)}};return r[e]&&r[e](),o}function ne(e){let t=E(e),o=ie(t,e),r=d(e,"extendedProps.additionalResources")||[],a=d(e,"extendedProps.downloads"),i=o.map(l=>({key:l.format,hidden:!1}));if(r.forEach((l,m)=>{i.push({key:`additionalResource::${m}`,hidden:!1})}),a&&a.flowType===t){let l=i.filter(u=>!a.formats.find(g=>g.key===u.key)),m=a.formats.filter(u=>i.find(g=>g.key===u.key));return{flowType:t,formats:[...m,...l]}}return{flowType:t,formats:i}}var ge={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Ft(e,t){let o=Object.assign({},e);o.typeKeywords=R(o.typeKeywords,o.isDiscussable);let r=new w(v()),a=r.entityToStore(o,p(ge));return a=await V(a,t),r.storeToEntity(a,{})}async function xt(e,t){let o=await O(e.id,t),r={item:o};e.typeKeywords=R(e.typeKeywords,e.isDiscussable);let i=new w(v()).entityToStore(e,r),n=E(e),l=d(e,"extendedProps.downloads.formats"),m=S(e)&&n!=="createReplica";if(k(e)&&n&&l&&!m){let y=p(e.extendedProps.downloads);h("item.properties.downloads",y,i,!0)}let g=await z(i,t),F={};if(S(e)){let y=await M(Object.assign(Object.assign({},t),{url:e.url}));if(f(c.EXTRACT,y)!==e.serverExtractCapability){let _=L(c.EXTRACT,y),de={capabilities:_.capabilities};await I(U(e.url),{authentication:t.authentication,updateDefinition:de}),F.server=_}else F.server=y}return Y(t,e.access)&&(b(e._forceUpdate,[!0])&&await B(o.id,t),delete e._forceUpdate,await $(e,t)),q(g,t,F)}async function ht(e,t){let o=Object.assign(Object.assign({},t),{id:e});await j(o)}function St(e,t){var o;let r=p(e);delete r.downloadFormats;let a=p(r);if(E(a)&&e.downloadFormats){let n=ne(a),l=e.downloadFormats.map(m=>{let u=p(m);return delete u.label,u});n.formats=l,h("extendedProps.downloads",n,a,!0)}return a.extent=((o=e.location)===null||o===void 0?void 0:o.extent)||[],a}export{Ft as createContent,ht as deleteContent,St as editorToContent,xt as updateContent};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{a as e,c as t,e as a,g as s,k as o}from"./IFPYTV3R.js";var u=["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"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,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:s,tags:a}};export{u as a,i as b};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as e,c as t,e as a,g as s,k as o}from"./2GXV72MB.js";var u=["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"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,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:s,tags:a}};export{u as a,i as b};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as n}from"./HJYJB5W7.js";import"./MIIMDMHL.js";import"./DIBDPEA6.js";import{b as l}from"./VKGJAPNM.js";import{h as i,i as s,y as t}from"./4SPV77R7.js";import"./YIM6J4NU.js";var a=i`/** @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
+ */.position-relative{position:relative}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.width-350{--calcite-shell-panel-width: 350px}.height-full{height:100%}.padding-end-1-2{padding-inline-end:.5rem}`,e=class extends t{constructor(){super(...arguments),this._translations=n({name:"solutions-articles-shell",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}render(){return s`<calcite-shell class="position-relative"><calcite-shell-panel class="background-override width-350" position=start slot=panel-start><solutions-articles class="height-full padding-end-1-2"></solutions-articles></calcite-shell-panel><solutions-article-panel class="height-full"></solutions-article-panel></calcite-shell>`}};l("solutions-articles-shell",e);export{e as SolutionsArticlesShell};
@@ -1,7 +1,7 @@
1
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.5 */
4
- import{a as d}from"./TA3ZXQAF.js";import{D as o,c as l,d as e,f as n,n as t,y as a}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var r=l`/** @license
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as d}from"./HJYJB5W7.js";import"./MIIMDMHL.js";import"./DIBDPEA6.js";import{b as o}from"./VKGJAPNM.js";import{h as l,i as e,k as n,n as t,y as a}from"./4SPV77R7.js";import"./YIM6J4NU.js";var h=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as d}from"./TA3ZXQAF.js";import{D as o,c as l,d as e,f as n,n as t,y as
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.delete-modal{position:fixed}`,i=class extends a{constructor(){super(...arguments),this.buttonType="button",this.disabled=!1,this.icon="",this.ids=[],this.showDeleteCount=!0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=!1,this._translations=d({name:"delete-button",blocking:!0}),this.editsComplete=t(),this.deleteClicked=t()}static{this.properties={deleteDialog:1,buttonType:1,disabled:5,icon:1,ids:0,layer:0,showDeleteCount:5,_confirmDelete:16,_deleteEndabled:16,_supportsDelete:16,_translations:16}}static{this.styles=r}willUpdate(s){s.has("ids")&&(this.hasUpdated||this.ids?.length>0)&&this.idsWatchHandler(),s.has("layer")&&this.layerWatchHandler()}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}render(){return e`${this.buttonType==="button"?e`<calcite-button appearance=outline .disabled=${!this._deleteEndabled} id=solutions-delete kind=danger @click=${()=>this._delete()} width=full>${this.showDeleteCount?this._translations.deleteCount?.replace("{{n}}",this.ids?.length.toString()):this._translations.delete}</calcite-button>`:e`<calcite-action appearance=solid .disabled=${!this._deleteEndabled} id=${this.icon??n} @click=${()=>this._delete()} scale=s .text=${this._translations.delete}><calcite-button appearance=transparent .iconStart=${this.icon} kind=danger>${this._translations.delete}</calcite-button></calcite-action>`}${this._deleteMessage()}<calcite-tooltip placement=bottom .referenceElement=${this.buttonType==="button"?"solutions-delete":this.icon}><span>${this._translations.delete}</span></calcite-tooltip>`}loaded(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=!!(this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete),this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids?.length>0}_delete(){this.deleteClicked.emit(),this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:e`<delete-dialog id=solution-delete-dialog .ids=${this.ids} .layer=${this.layer} @deleteDialogClose=${()=>this._confirmDelete=!1} .open=${this._confirmDelete}></delete-dialog>`}};o("delete-button",i);export{i as DeleteButton};
18
+ */:host{display:block}.delete-modal{position:fixed}`,i=class extends a{constructor(){super(...arguments),this.buttonType="button",this.disabled=!1,this.icon="",this.ids=[],this.showDeleteCount=!0,this._confirmDelete=!1,this._deleteEndabled=!1,this._supportsDelete=!1,this._translations=d({name:"delete-button",blocking:!0}),this.editsComplete=t(),this.deleteClicked=t()}static{this.properties={deleteDialog:1,buttonType:1,disabled:5,icon:1,ids:0,layer:0,showDeleteCount:5,_confirmDelete:16,_deleteEndabled:16,_supportsDelete:16,_translations:16}}static{this.styles=h}willUpdate(s){s.has("ids")&&(this.hasUpdated||this.ids?.length>0)&&this.idsWatchHandler(),s.has("layer")&&this.layerWatchHandler()}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}render(){return e`${this.buttonType==="button"?e`<calcite-button appearance=outline .disabled=${!this._deleteEndabled} id=solutions-delete kind=danger @click=${()=>this._delete()} width=full>${this.showDeleteCount?this._translations.deleteCount?.replace("{{n}}",this.ids?.length.toString()):this._translations.delete}</calcite-button>`:e`<calcite-action appearance=solid .disabled=${!this._deleteEndabled} id=${this.icon??n} @click=${()=>this._delete()} scale=s .text=${this._translations.delete}><calcite-button appearance=transparent .iconStart=${this.icon} kind=danger>${this._translations.delete}</calcite-button></calcite-action>`}${this._deleteMessage()}<calcite-tooltip placement=bottom .referenceElement=${this.buttonType==="button"?"solutions-delete":this.icon}><span>${this._translations.delete}</span></calcite-tooltip>`}loaded(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=!!(this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete),this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids?.length>0}_delete(){this.deleteClicked.emit(),this._confirmDelete=!0}_deleteMessage(){return this.deleteDialog?this.deleteDialog:e`<delete-dialog id=solution-delete-dialog .ids=${this.ids} .layer=${this.layer} @deleteDialogClose=${()=>this._confirmDelete=!1} .open=${this._confirmDelete}></delete-dialog>`}};o("delete-button",i);export{i as DeleteButton};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import"./UITEOOYI.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};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import"./YIM6J4NU.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,4 +1,4 @@
1
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.5 */
4
- import{a as e}from"./WBAN3UIC.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{a as e}from"./BYZPDGIL.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
@@ -1,4 +1,4 @@
1
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.5 */
4
- import{e as l,f as o}from"./RIQFARZP.js";import{d as g}from"./2VXYY4NW.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{e as l,f as o}from"./RIWMTGJG.js";import{d as g}from"./UW764P2Z.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};