@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
@@ -0,0 +1,6 @@
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
+ var Q=globalThis,Y=Q.ShadowRoot&&(Q.ShadyCSS===void 0||Q.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ut=Symbol(),Ut=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==ut)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Y&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Ut.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Ut.set(e,t))}return t}toString(){return this.cssText}},Mt=o=>new I(typeof o=="string"?o:o+"",void 0,ut),pe=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,i,r)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[r+1],o[0]);return new I(e,o,ut)},It=(o,t)=>{if(Y)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),i=Q.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,o.appendChild(s)}},ft=Y?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return Mt(e)})(o):o;var{is:ue,defineProperty:fe,getOwnPropertyDescriptor:me,getOwnPropertyNames:ye,getOwnPropertySymbols:ge,getPrototypeOf:ve}=Object,X=globalThis,kt=X.trustedTypes,Ee=kt?kt.emptyScript:"",$e=X.reactiveElementPolyfillSupport,k=(o,t)=>o,Z={toAttribute(o,t){switch(t){case Boolean:o=o?Ee:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},j=(o,t)=>!ue(o,t),jt={attribute:!0,type:String,converter:Z,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),X.litPropertyMetadata??=new WeakMap;var b=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&fe(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){let{get:i,set:r}=me(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:i,set(n){let a=i?.call(this);r?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??jt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=ve(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[...ye(e),...ge(e)];for(let i of s)this.createProperty(i,e[i])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let i of s)e.unshift(ft(i))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return It(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:Z).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let r=s.getPropertyOptions(i),n=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:Z;this._$Em=i;let a=n.fromAttribute(e,r.type);this[i]=a??this._$Ej?.get(i)??a,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let i=this.constructor,r=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??j)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),r!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,r]of this._$Ep)this[i]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[i,r]of s){let{wrapped:n}=r,a=this[i];n!==!0||this._$AL.has(i)||a===void 0||this.C(i,void 0,r,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,$e?.({ReactiveElement:b}),(X.reactiveElementVersions??=[]).push("2.1.1");var yt=globalThis,tt=yt.trustedTypes,Ht=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,gt="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+_,be=`<${vt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",Et=Array.isArray,Gt=o=>Et(o)||typeof o?.[Symbol.iterator]=="function",mt=`[
5
+ \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zt=/-->/g,Vt=/>/g,w=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,Wt=/"/g,qt=/^(?:script|style|textarea|title)$/i,$t=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),cs=$t(1),ls=$t(2),hs=$t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Ft=new WeakMap,O=T.createTreeWalker(T,129);function Kt(o,t){if(!Et(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ht!==void 0?Ht.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],i,r=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],h,u,l=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=zt:u[1]!==void 0?n=Vt:u[2]!==void 0?(qt.test(u[2])&&(i=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=i??H,l=-1):u[1]===void 0?l=-2:(l=n.lastIndex-u[2].length,h=u[1],n=u[3]===void 0?w:u[3]==='"'?Wt:Bt):n===Wt||n===Bt?n=w:n===zt||n===Vt?n=H:(n=w,i=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";r+=n===H?c+be:l>=0?(s.push(h),c.slice(0,l)+gt+c.slice(l)+_+g):c+_+(l===-2?a:g)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let r=0,n=0,a=t.length-1,c=this.parts,[h,u]=Jt(t,e);if(this.el=o.createElement(h,s),O.currentNode=this.el.content,e===2||e===3){let l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(i=O.nextNode())!==null&&c.length<a;){if(i.nodeType===1){if(i.hasAttributes())for(let l of i.getAttributeNames())if(l.endsWith(gt)){let y=u[n++],g=i.getAttribute(l).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:r,name:C[2],strings:g,ctor:C[1]==="."?st:C[1]==="?"?ot:C[1]==="@"?it:P}),i.removeAttribute(l)}else l.startsWith(_)&&(c.push({type:6,index:r}),i.removeAttribute(l));if(qt.test(i.tagName)){let l=i.textContent.split(_),y=l.length-1;if(y>0){i.textContent=tt?tt.emptyScript:"";for(let g=0;g<y;g++)i.append(l[g],z()),O.nextNode(),c.push({type:2,index:++r});i.append(l[y],z())}}}else if(i.nodeType===8)if(i.data===vt)c.push({type:2,index:r});else{let l=-1;for(;(l=i.data.indexOf(_,l+1))!==-1;)c.push({type:7,index:r}),l+=_.length-1}r++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let i=s!==void 0?e._$Co?.[s]:e._$Cl,r=V(t)?void 0:t._$litDirective$;return i?.constructor!==r&&(i?._$AO?.(!1),r===void 0?i=void 0:(i=new r(o),i._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=i:e._$Cl=i),i!==void 0&&(t=S(o,i._$AS(o,t.values),i,s)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??T).importNode(e,!0);O.currentNode=i;let r=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let h;c.type===2?h=new R(r,r.nextSibling,this,t):c.type===1?h=new c.ctor(r,c.name,c.strings,this,t):c.type===6&&(h=new rt(r,this,t)),this._$AV.push(h),c=s[++a]}n!==c?.index&&(r=O.nextNode(),n++)}return O.currentNode=T,i}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,i=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{let r=new et(i,this),n=r.u(this.options);r.p(e),this.T(n),this._$AH=r}}_$AC(t){let e=Ft.get(t.strings);return e===void 0&&Ft.set(t.strings,e=new B(t)),e}k(t){Et(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,i=0;for(let r of t)i===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[i],s._$AI(r),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,i){let r=this.strings,n=!1;if(r===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,h;for(t=r[0],c=0;c<r.length-1;c++)h=S(this,a[s+c],e,c),h===f&&(h=this._$AH[c]),n||=!V(h)||h!==this._$AH[c],h===d?t=d:t!==d&&(t+=(h??"")+r[c+1]),this._$AH[c]=h}n&&!i&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},it=class extends P{constructor(t,e,s,i,r){super(t,e,s,i,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,i=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||i);i&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Qt={M:gt,P:_,A:vt,C:1,L:Jt,R:et,D:Gt,V:S,I:R,H:P,N:ot,U:it,B:st,F:rt},_e=yt.litHtmlPolyfillSupport;_e?.(B,R),(yt.litHtmlVersions??=[]).push("3.3.1");var bt=(o,t,e)=>{let s=e?.renderBefore??t,i=s._$litPart$;if(i===void 0){let r=e?.renderBefore??null;s._$litPart$=i=new R(t.insertBefore(z(),r),r,void 0,e??{})}return i._$AI(o),i};var _t=globalThis,A=class extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,_t.litElementHydrateSupport?.({LitElement:A});var Ae=_t.litElementPolyfillSupport;Ae?.({LitElement:A});(_t.litElementVersions??=[]).push("4.2.1");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var G=Symbol.for("controller"),Ce=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Cs=o=>typeof o?.then=="function";var F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},q=o=>F,N=[],Yt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},Zt=()=>N,U,ws=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},we=()=>{let o=U;return U=void 0,o},Xt=async(o,t)=>{let e=at(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(i=>t(i,s))}return e.exports},te=async o=>{let t=at(o);return await t.ready,t},at=o=>{let e=q().manager.X(o);if(e!==void 0)return e;if(Ce(o))return o;let s=we();if(s!==void 0)return s},nt=!1,Os=o=>{nt=!0;try{return o()}finally{nt=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},ee=(o,t)=>{let e=t>Oe?Te:t/Se,s=0,i=setInterval(()=>{s+=e,s>=t&&(clearInterval(i),o())},e);return i},Oe=4e3,Te=2e3,Se=4;var Pe=(o,t,e)=>{let s=Object.keys(o),i=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let r=M.get(o);return r===void 0&&(r={callbacks:[],keyCount:i},M.set(o,r)),r.keyCount!==i&&(r.callbacks.forEach(n=>n(s)),r.callbacks=[],r.keyCount=i),r.callbacks.push(n=>{let a=h=>p(t,null,h),c=n[i];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Ne=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((i,r)=>p(t,void 0,e===r?i:void 0)),e},xe=(o=[q(),...Zt()],t,e)=>{let s=Array.isArray(o)?o:[o],i=s.length+1,r=n=>{i-=1,n!==void 0&&(i=Math.min(i,0)),i===0&&t(n)};s.forEach(n=>Pe(n,a=>r(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Ne(n,a=>r(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},De=(o="",t={},e=q())=>{let s={emit:i=>{o===""&&K();let r=new CustomEvent(o,{detail:i,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&xe(void 0,i=>o=i.key,s),s},Le=De.bind(null,""),ie;ie=G;var At=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#i=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[ie]=!0,this.#a=[];let e=this,s=t??q(new.target.name);e.#r=s,e.ready=e.P.promise,e.#n=oe(e),e.component=s,e.#r.addController(e),e.#r.manager===void 0||(Yt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#i;#c;#l;#p;#h;#d;#r;catchUpLifecycle(){let{manager:t}=this.#r;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#r.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?oe(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#r),Xt}get useRef(){return x(this.#r),te}get useRefSync(){return x(this.#r),at}controllerRemoved(){this.#r.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#i.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#r.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#i.forEach(se,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(se,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#r);let e=p(t);(Array.isArray(e)?e:[e]).forEach(i=>{typeof i=="function"?this.#h.push(i):typeof i=="object"&&typeof i.remove=="function"&&this.#h.push(i.remove)})}};function se(o){p(o,void 0,this)}var re=At,oe=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,i,r){if(!((i==="exports"||i==="_exports")&&i in s&&s[i]===e)&&(i in s||i in Promise.prototype||typeof i=="symbol"))return typeof s=="function"?s[i]:Reflect.get(s,i,r)}},e=new Proxy(o,t);return e};var ct=o=>o.replace(Re,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Re=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ot=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Tt={};function St(){}var Ie=(o,t)=>function(s,i){if(!globalThis.customElements)return;let n=(i??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,h=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,l,y]=h.split(";"),g=u?u?.split(",").map(ke):void 0,C=g?.map(([L])=>L),D=class extends wt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=l?l?.split(","):void 0}static{this.D=y?.split(",")}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},lt=Object.defineProperty,ke=o=>{let t=o.split(":");return t.length===1?[t[0],ct(t[0])]:t},je=globalThis.HTMLElement??St,wt=class extends je{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(i=>typeof i=="function"?{a:i}:i)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])lt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])lt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])lt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ot(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,i=this.#e,r=Object.values(t).find(l=>l.L===s),n=`${s}--lazy`,a=r;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);ze(a),!e.A&&(e.A=r,customElements.define(n,r)),r.N=this;let h=document.createElement(n);r.N=void 0,this.#t=h,this.#e=h,this.#s.forEach(l=>h.attributeChangedCallback(l,null,this.getAttribute(l))),Object.entries(i).forEach(He,h);let u=this.isConnected;(u||this.G)&&(h.connectedCallback?.(),u||h.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function He([o,t]){this[o]=t}var ze=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(i,r){e.setAttribute.call(this.el,i,r)},t.removeAttribute=function(i){e.removeAttribute.call(this.el,i)},lt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Ws}=Qt;var ht=o=>o.strings===void 0;var Ve={},ne=(o,t=Ve)=>o._$AH=t;var Be=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ht(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ne(o),t}});var J=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),J(s,t);return!0},dt=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},ae=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Ge(t)}};function We(o){this._$AN!==void 0?(dt(this),this._$AM=o,ae(this)):this._$AM=o}function Fe(o,t=!1,e=0){let s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(s))for(let r=e;r<s.length;r++)J(s[r],!1),dt(s[r]);else s!=null&&(J(s,!1),dt(s));else J(this,o)}var Ge=o=>{o.type==m.CHILD&&(o._$AP??=Fe,o._$AQ??=We)},pt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),ae(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(J(this,t),dt(this))}setValue(t){if(ht(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var io=()=>new Nt,Nt=class{},Pt=new WeakMap,xt=E(class extends pt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Pt.get(t);e===void 0&&(e=new WeakMap,Pt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?Pt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ce=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let i=!!t[s];i===this.st.has(s)||this.nt?.has(s)||(i?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var le="important",Ke=" !"+le,he=E(class extends v{constructor(o){if(super(o),o.type!==m.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let i=t[s];if(i!=null){this.ft.add(s);let r=typeof i=="string"&&i.endsWith(Ke);s.includes("-")||r?e.setProperty(s,r?i.slice(0,-11):i,r?le:""):e[s]=i}}return f}});var Dt=class extends re{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Lt in t&&typeof t.destroy=="function",A.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Lt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=ee(t,os)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(i=>i(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},os=1e3,Lt="autoDestroyDisabled",de=class o extends A{constructor(){super(),this.M=[],this.manager=new Dt(this);let t=this,e=t.constructor,s=e.N,i=e.K.o,r=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=St,t.shouldUpdate!==r&&(t.#e=t.shouldUpdate,t.shouldUpdate=r),i&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,i()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Tt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,i=Array.isArray(e)?e[1]:void 0,r=i?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ct(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...i,hasChanged(a,c){let h=r(a,c);return n.c=h,h}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let i=this.K,r=super.getPropertyDescriptor(t,e,s);return s.d=r,{...r,get(){return i.t?.(this.#t.get(t)),r.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!nt&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);r.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#i;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#i=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#i.clear(),this.constructor.K.r(this.#i,()=>super.update(t))}catch(e){throw this.#i.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#i?.destroy(),this.#i=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Tt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=r.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return r}async#l(){let t=this.el.G??Ot(this.el);t&&await t;let e=[];for(let i of this.M)"triggerLoad"in i?e.push(i.triggerLoad()):e.push(W(i.hostLoad,i));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(i=>i.has(Lt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(i=>!i.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async i=>await i.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let i of this.M)"triggerLoaded"in i?i.triggerLoaded():p(i.hostLoaded,i);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#i?this.#c(t):super.update(t)}listen(t,e,s){let i=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,i,s),()=>this.el.removeEventListener(t,i,s)))}listenOn(t,e,s,i){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,i),()=>t.removeEventListener(e,r,i)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},Fo=o=>{let t,e=i=>{t=new URL(i,globalThis.location?.href||void 0).href},s={...o,getAssetPath(i){let r=new URL(i,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(i,r){r.K=s,r.L=i,customElements.get(i)||customElements.define(i,r)}};return e(o.defaultAssetPath),s};var Go=o=>typeof o=="object"&&o!=null?ce(o):o,qo=o=>typeof o=="object"&&o!=null?he(o):o;var Rt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(i){return e.#t.call(this,i)}}render(t){return typeof t=="function"?(this.#t=t,xt(this.#e)):xt(t)}},Ko=E(Rt);var Jo=d;export{Cs as a,x as b,q as c,Yt as d,Zt as e,ws as f,Os as g,pe as h,cs as i,ls as j,d as k,Ne as l,xe as m,Le as n,At as o,re as p,Tt as q,Ie as r,E as s,v as t,ne as u,Be as v,io as w,xt as x,de as y,Fo as z,Go as A,qo as B,Jo as C};
@@ -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{k as r,s,t as i,u as o}from"./4SPV77R7.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u 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 p}from"./473S2HEB.js";import{a as m}from"./CUTWA2HF.js";import{a as c}from"./AM2AI6MS.js";import{b as g}from"./U6H7FPZF.js";import{A as o,B as a,h as l,i as e,k as i,n as r,y as d}from"./4SPV77R7.js";import"./YIM6J4NU.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({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.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
@@ -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
  var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
@@ -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 n}from"./4UCCOTIL.js";import{b as I,c as b,d as v}from"./PP6K5WOA.js";import{a as i}from"./33UPFZYZ.js";import"./HR2HFJXC.js";import"./FLX4QZPY.js";import"./2IRIOH44.js";import"./I3ZD6IV4.js";import"./RIQFARZP.js";import"./GKBVNMEW.js";import"./IHQISHAM.js";import"./Q66CZJP6.js";import"./2VXYY4NW.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import"./AQZ3QIKE.js";import{g as a}from"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import"./UCI3QQAA.js";import"./76JQ5L7D.js";import{a as f,b as _}from"./OZWDP6Y7.js";import{a as g}from"./TA3ZXQAF.js";import{D as m,c,d as o,f as r,p as u,y as d,z as p}from"./D3RXCR6Q.js";import"./UITEOOYI.js";var y=c`@layer{/** @license
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import{b as I,c as b,d as v}from"./WQHLWDDX.js";import{a as i}from"./H5TWBIAR.js";import"./VMLP2N3H.js";import"./RKYG5W3S.js";import"./V6E6GKRI.js";import"./XJMXNPLZ.js";import"./RIWMTGJG.js";import"./QLUP4VRI.js";import"./AOCVFEIQ.js";import"./3I27Y3IK.js";import"./UW764P2Z.js";import"./O7LMFSMD.js";import"./H272DO6V.js";import"./HK4XTNBP.js";import"./ADW2XIW4.js";import"./ZYPY7D74.js";import"./AVA5QVU2.js";import"./UCURZHST.js";import{g as a}from"./IH7ADVLR.js";import"./3C7RF6EE.js";import"./LFYHIKU3.js";import"./R6PTVOZ7.js";import"./B7MFQJBB.js";import{a as n}from"./4TIB4MUE.js";import"./UYXBFGVH.js";import{a as g}from"./HJYJB5W7.js";import"./MIIMDMHL.js";import"./DIBDPEA6.js";import{b as _}from"./VKGJAPNM.js";import{A as m,h as c,i as o,k as r,q as u,w as d,x as p,y as f}from"./4SPV77R7.js";import"./YIM6J4NU.js";var y=c`@layer{/** @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 n}from"./4UCCOTIL.js";import{b as I,c as b,d as v}from"./PP6K5WOA.js
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
- */.configuration-container{@apply w-full h-full relative;}.configuration{@apply absolute top-0 right-0 bottom-0 left-0 flex p-2 border-lightgray;}.config-tabs,.config-tab{@apply w-full;}.config-solution{@apply absolute top-14 -right-px -bottom-px -left-px flex p-2;}.config-inventory{@apply inline flex-grow-0 overflow-y-auto max-w-min;}.config-inventory-hide{@apply flex-grow-0 overflow-y-auto max-w-min hidden;}.config-item{@apply inline flex-grow overflow-y-auto relative m-inline-start-2;}solution-contents{@apply relative h-full;}solution-item{@apply relative h-full;}solution-spatial-ref{@apply w-full h-full relative overflow-y-auto;}}`,h=class extends d{constructor(){super(),this.authentication=new a({}),this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=f(),this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=g({name:"solution-configuration",blocking:!0}),this._treeOpen=!0,this._solutionStoreHasChanges=!1,this._solutionEditorHasChanges=!1,this._solutionEditorHasErrors=!1,this._canSave=!1,this.serializedAuthentication&&(this.authentication=a.deserialize(this.serializedAuthentication)),this.solutionItemId&&this._loadSolution(this.solutionItemId),this.listenOn(window,"solutionStoreHasChanges",t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)}),this.listenOn(window,"solutionEditorHasChanges",t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)}),this.listenOn(window,"solutionEditorHasErrors",t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}),this.listenOn(window,"solutionItemSelected",this._solutionItemSelected)}static{this.properties={authentication:0,serializedAuthentication:1,solutionItemId:3,showLoading:7,_currentEditItemId:16,_organizationVariables:16,_solutionContentsComponent:16,_solutionIsLoaded:16,_solutionVariables:16,_templateHierarchy:16,_translations:16,_treeOpen:16}}static{this.styles=y}static{this.shadowRootOptions=u}willUpdate(t){t.has("serializedAuthentication")&&(this.hasUpdated||this.serializedAuthentication!=="")&&this.serializedAuthenticationWatchHandler(),t.has("solutionItemId")&&(this.hasUpdated||this.solutionItemId!=="")&&this.valueWatchHandler()}async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?a.deserialize(this.serializedAuthentication):new a({})}async valueWatchHandler(){this.solutionItemId&&await this._loadSolution(this.solutionItemId)}render(){let t=i.getStoreInfo("spatialReferenceInfo"),e=i.getStoreInfo("featureServices").length>0,l=i.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(v(l.templates,this._translations)),this._organizationVariables=JSON.stringify(b(this._translations)),o`${this._solutionIsLoaded?null:o`<calcite-loader label></calcite-loader>`}<div class="configuration-container"><div class="configuration"><calcite-tabs class="config-tabs"><calcite-tab-nav slot=tab-nav><calcite-tab-title>${this._translations.definitionTab}</calcite-tab-title>${e?o`<calcite-tab-title>${this._translations.spatialReferenceTab}</calcite-tab-title>`:null}</calcite-tab-nav><calcite-tab class="config-tab" selected><div class="config-solution"><div class=${p(this._treeOpen?"config-inventory":"config-inventory-hide")}>${n(`${this.solutionItemId}-contents`,o`<solution-contents id=configInventory ${_(this._solutionContentsComponent)}></solution-contents>`)}</div><calcite-button appearance=transparent class="collapse-btn" .iconStart=${this._treeOpen?"chevrons-left":"chevrons-right"} id=collapse-vars @click=${()=>this._toggleTree()} scale=s title=${(this._treeOpen?this._translations.collapse:this._translations.expand)??r}></calcite-button><div class="config-item">${n(`${this.solutionItemId}-item`,o`<solution-item .authentication=${this.authentication} itemId=${this._currentEditItemId??r} .organizationVariables=${this._organizationVariables} .solutionVariables=${this._solutionVariables}></solution-item>`)}</div></div></calcite-tab>${e?o`<calcite-tab class="config-tab"><div class="config-solution">${n(`${this.solutionItemId}-spatial-ref`,o`<solution-spatial-ref .enableDefault=${!!t.default} .enabled=${t?.enabled} .featureServices=${i.getStoreInfo("featureServices").map(s=>s.name)} id=configure-solution-spatial-ref></solution-spatial-ref>`)}</div></calcite-tab>`:null}</calcite-tabs></div></div>`}_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(i.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await i.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=void 0}async unloadSolution(){this.solutionItemId=void 0}_initProps(){let t=i.getStoreInfo("solutionData");this._templateHierarchy=[...I(t.templates)],this._solutionContentsComponent.value&&(this._solutionContentsComponent.value.templateHierarchy=this._templateHierarchy);let e;this._templateHierarchy.length>0&&(e=i.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await i.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,l){let s=(t||e)&&!l;this._canSave!==s&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:s,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=s}};m("solution-configuration",h);export{h as SolutionConfiguration};
18
+ */.configuration-container{@apply w-full h-full relative;}.configuration{@apply absolute top-0 right-0 bottom-0 left-0 flex p-2 border-lightgray;}.config-tabs,.config-tab{@apply w-full;}.config-solution{@apply absolute top-14 -right-px -bottom-px -left-px flex p-2;}.config-inventory{@apply inline flex-grow-0 overflow-y-auto max-w-min;}.config-inventory-hide{@apply flex-grow-0 overflow-y-auto max-w-min hidden;}.config-item{@apply inline flex-grow overflow-y-auto relative m-inline-start-2;}solution-contents{@apply relative h-full;}solution-item{@apply relative h-full;}solution-spatial-ref{@apply w-full h-full relative overflow-y-auto;}}`,h=class extends f{constructor(){super(),this.authentication=new a({}),this.serializedAuthentication="",this.solutionItemId="",this.showLoading=!1,this._currentEditItemId="",this._organizationVariables="",this._solutionContentsComponent=d(),this._solutionIsLoaded=!1,this._solutionVariables="",this._templateHierarchy=[],this._translations=g({name:"solution-configuration",blocking:!0}),this._treeOpen=!0,this._solutionStoreHasChanges=!1,this._solutionEditorHasChanges=!1,this._solutionEditorHasErrors=!1,this._canSave=!1,this.serializedAuthentication&&(this.authentication=a.deserialize(this.serializedAuthentication)),this.solutionItemId&&this._loadSolution(this.solutionItemId),this.listenOn(window,"solutionStoreHasChanges",t=>{this._updateSaveability(this._solutionStoreHasChanges=t.detail,this._solutionEditorHasChanges,this._solutionEditorHasErrors)}),this.listenOn(window,"solutionEditorHasChanges",t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges=t.detail,this._solutionEditorHasErrors)}),this.listenOn(window,"solutionEditorHasErrors",t=>{this._updateSaveability(this._solutionStoreHasChanges,this._solutionEditorHasChanges,this._solutionEditorHasErrors=t.detail)}),this.listenOn(window,"solutionItemSelected",this._solutionItemSelected)}static{this.properties={authentication:0,serializedAuthentication:1,solutionItemId:3,showLoading:7,_currentEditItemId:16,_organizationVariables:16,_solutionContentsComponent:16,_solutionIsLoaded:16,_solutionVariables:16,_templateHierarchy:16,_translations:16,_treeOpen:16}}static{this.styles=y}static{this.shadowRootOptions=u}willUpdate(t){t.has("serializedAuthentication")&&(this.hasUpdated||this.serializedAuthentication!=="")&&this.serializedAuthenticationWatchHandler(),t.has("solutionItemId")&&(this.hasUpdated||this.solutionItemId!=="")&&this.valueWatchHandler()}async serializedAuthenticationWatchHandler(){this.authentication=this.serializedAuthentication?a.deserialize(this.serializedAuthentication):new a({})}async valueWatchHandler(){this.solutionItemId&&await this._loadSolution(this.solutionItemId)}render(){let t=i.getStoreInfo("spatialReferenceInfo"),e=i.getStoreInfo("featureServices").length>0,l=i.getStoreInfo("solutionData");return this._solutionVariables=JSON.stringify(v(l.templates,this._translations)),this._organizationVariables=JSON.stringify(b(this._translations)),o`${this._solutionIsLoaded?null:o`<calcite-loader label></calcite-loader>`}<div class="configuration-container"><div class="configuration"><calcite-tabs class="config-tabs"><calcite-tab-nav slot=tab-nav><calcite-tab-title>${this._translations.definitionTab}</calcite-tab-title>${e?o`<calcite-tab-title>${this._translations.spatialReferenceTab}</calcite-tab-title>`:null}</calcite-tab-nav><calcite-tab class="config-tab" selected><div class="config-solution"><div class=${m(this._treeOpen?"config-inventory":"config-inventory-hide")}>${n(`${this.solutionItemId}-contents`,o`<solution-contents id=configInventory ${p(this._solutionContentsComponent)}></solution-contents>`)}</div><calcite-button appearance=transparent class="collapse-btn" .iconStart=${this._treeOpen?"chevrons-left":"chevrons-right"} id=collapse-vars @click=${()=>this._toggleTree()} scale=s title=${(this._treeOpen?this._translations.collapse:this._translations.expand)??r}></calcite-button><div class="config-item">${n(`${this.solutionItemId}-item`,o`<solution-item .authentication=${this.authentication} itemId=${this._currentEditItemId??r} .organizationVariables=${this._organizationVariables} .solutionVariables=${this._solutionVariables}></solution-item>`)}</div></div></calcite-tab>${e?o`<calcite-tab class="config-tab"><div class="config-solution">${n(`${this.solutionItemId}-spatial-ref`,o`<solution-spatial-ref .enableDefault=${!!t.default} .enabled=${t?.enabled} .featureServices=${i.getStoreInfo("featureServices").map(s=>s.name)} id=configure-solution-spatial-ref></solution-spatial-ref>`)}</div></calcite-tab>`:null}</calcite-tabs></div></div>`}_solutionItemSelected(t){this._currentEditItemId=t.detail}async getSpatialReferenceInfo(){return Promise.resolve(i.getStoreInfo("spatialReferenceInfo"))}async saveSolution(){this._solutionIsLoaded=!1,await i.saveSolution(),this._solutionIsLoaded=!0,this.solutionItemId=void 0}async unloadSolution(){this.solutionItemId=void 0}_initProps(){let t=i.getStoreInfo("solutionData");this._templateHierarchy=[...I(t.templates)],this._solutionContentsComponent.value&&(this._solutionContentsComponent.value.templateHierarchy=this._templateHierarchy);let e;this._templateHierarchy.length>0&&(e=i.getItemInfo(this._templateHierarchy[0].id)),this._currentEditItemId=e?e.itemId:""}async _loadSolution(t){return t?(this._solutionIsLoaded=!1,await i.loadSolution(t,this.authentication),this._initProps(),this._solutionIsLoaded=!0):this._reset(),Promise.resolve()}_reset(){this._currentEditItemId="",this._organizationVariables="",this._solutionVariables="",this._templateHierarchy=[]}_toggleTree(){this._treeOpen=!this._treeOpen}_updateSaveability(t,e,l){let s=(t||e)&&!l;this._canSave!==s&&window.dispatchEvent(new CustomEvent("solutionCanSave",{detail:s,bubbles:!0,cancelable:!1,composed:!0})),this._canSave=s}};_("solution-configuration",h);export{h as SolutionConfiguration};
@@ -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 l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l 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 l=async(e,r,o)=>{let t=r.orgUrlKey;return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l as buildUiSchema};
@@ -0,0 +1,294 @@
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 $}from"./4TIB4MUE.js";import{a as I}from"./B33KRB3L.js";import{a as E}from"./2BAYNM47.js";import{c as k,t as P,z as S}from"./VRV234EZ.js";import{b as y}from"./U6H7FPZF.js";import"./MIIMDMHL.js";import"./DIBDPEA6.js";import{A as p,h as _,i as o,k as w,n as m,w as d,x as h,y as f}from"./4SPV77R7.js";import"./YIM6J4NU.js";var L=`
5
+ @media print {
6
+ @page {
7
+ size: Portrait;
8
+ margin: .25in;
9
+ }
10
+
11
+ html, body {
12
+ padding: 0;
13
+ margin: 0;
14
+ height: 100%;
15
+ width: 100%;
16
+ }
17
+
18
+ body > *:not(.instant-apps-export-print) { display: none; }
19
+ }
20
+
21
+ * {
22
+ -webkit-print-color-adjust: exact;
23
+ color-adjust: exact;
24
+ }
25
+
26
+ instant-apps-header {
27
+ height: 50px;
28
+ display: block;
29
+ }
30
+
31
+
32
+ .instant-apps-export-print {
33
+ z-index: -999;
34
+ color: #323232 !important;
35
+ display: grid;
36
+ grid-auto-flow: row;
37
+ --esri-calcite-mode-name: "light";
38
+ position: absolute;
39
+ }
40
+
41
+ .instant-apps-export-print__view-header {
42
+ background: #fff;
43
+ }
44
+
45
+ .instant-apps-export-print__view-header h1 {
46
+ font-size: 16px;
47
+ font-weight: 500;
48
+ color: #323232;
49
+ margin: 6px;
50
+ }
51
+
52
+ .instant-apps-export-print__views-container {
53
+ height: 100%;
54
+ width: 100%;
55
+ display: flex;
56
+ flex-direction: column;
57
+ }
58
+
59
+ .instant-apps-export-print__view-content:first-child {
60
+ page-break-before: unset;
61
+ }
62
+
63
+ .instant-apps-export-print__view-content {
64
+ height: 100%;
65
+ display: flex;
66
+ flex-direction: column;
67
+ gap: 32px;
68
+ page-break-before: always;
69
+ }
70
+
71
+ .instant-apps-export-print, .instant-apps-export-print * {
72
+ box-sizing: border-box;
73
+ }
74
+
75
+ .instant-apps-export-print__view-section {
76
+ height: 100%;
77
+ }
78
+
79
+ .instant-apps-export-print__view-container {
80
+ height: 100%;
81
+ width: 100%;
82
+ break-inside: avoid;
83
+ }
84
+
85
+ .instant-apps-export-print__view-wrapper {
86
+ height: fit-content;
87
+ width: min-content;
88
+ position: relative;
89
+ display: flex;
90
+ flex-direction: column;
91
+ border: 2pt solid #323232;
92
+ overflow: hidden;
93
+ }
94
+
95
+ .instant-apps-export-print__view {
96
+ max-height: 60vh;
97
+ max-width: calc(100vw - .25in);
98
+ object-fit: contain;
99
+ }
100
+
101
+ .instant-apps-export-print__popup-container {
102
+ height: min-content;
103
+ max-width: 350px;
104
+ display: none;
105
+ color: #323232;
106
+ background: #fff;
107
+ border: 1pt solid #323232;
108
+ break-inside: avoid;
109
+ }
110
+
111
+ .instant-apps-export-print__popup-title {
112
+ border-bottom: 1pt solid #323232;
113
+ }
114
+
115
+ .instant-apps-export-print__popup-content {
116
+ background: #fff;
117
+ padding-top: 8pt;
118
+ }
119
+
120
+ .instant-apps-export-print__popup-content .esri-feature-media__chart {
121
+ background: #fff;
122
+ }
123
+
124
+ .instant-apps-export-print__legend-container {
125
+ height: min-content;
126
+ background: #fff;
127
+ overflow: unset;
128
+ }
129
+
130
+ .esri-legend--card, .esri-legend--card__service-content {
131
+ flex-flow: row wrap;
132
+ }
133
+
134
+ .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {
135
+ background: #fff;
136
+ color: #323232;
137
+ }
138
+
139
+ .instant-apps-export-print__popup-content * {
140
+ color: #323232;
141
+ }
142
+
143
+ .instant-apps-export-print .esri-widget__heading {
144
+ margin: 2pt 7pt;
145
+ padding: 0;
146
+ color: #323232;
147
+ }
148
+
149
+ .instant-apps-export-print .esri-legend__ramp-label:before {
150
+ border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);
151
+ }
152
+
153
+ .instant-apps-export-print .esri-legend--card__section {
154
+ padding: 4pt 0 4pt;
155
+ min-width: unset;
156
+ border-left: none;
157
+ }
158
+
159
+ .instant-apps-export-print .esri-legend--card__section:first-child {
160
+ border-left: none;
161
+ }
162
+
163
+ .instant-apps-export-print .esri-legend--card__service {
164
+ border: none;
165
+ flex: 0 1 auto;
166
+ break-inside: avoid;
167
+ }
168
+
169
+ .instant-apps-export-print .esri-legend--card {
170
+ border: none;
171
+ gap: 6pt 12pt;
172
+ }
173
+
174
+ .instant-apps-export-print .esri-legend--card:not(:first-child),
175
+ .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {
176
+ display: none;
177
+ }
178
+
179
+ .instant-apps-export-print .esri-legend--card__service-caption-container {
180
+ height: unset;
181
+ padding: 0;
182
+ border-bottom: none;
183
+ }
184
+
185
+ .instant-apps-export-print .esri-legend--card__service-caption-text {
186
+ padding-bottom: 4px;
187
+ }
188
+
189
+ .instant-apps-export-print__compass-container {
190
+ position: absolute;
191
+ top: 65px;
192
+ left: 15px;
193
+ background: #fff;
194
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
195
+ --calcite-ui-icon-color: #000;
196
+ border-radius: 50%;
197
+ height: fit-content;
198
+ }
199
+
200
+ .instant-apps-export-print__compass-container .esri-compass {
201
+ background: #fff;
202
+ }
203
+
204
+ .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {
205
+ color: #000;
206
+ }
207
+
208
+ .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {
209
+ background: #fff;
210
+ }
211
+
212
+ .instant-apps-export-print__scale-bar-container {
213
+ width: 100%;
214
+ position: absolute;
215
+ bottom: 15px;
216
+ margin: 0 15px;
217
+ }
218
+
219
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {
220
+ color: #323232;
221
+ font-size: 10px;
222
+ padding: 0 4px;
223
+ }
224
+
225
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {
226
+ height: 16px;
227
+ overflow: hidden;
228
+ }
229
+
230
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {
231
+ bottom: 1px;
232
+ }
233
+
234
+ .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {
235
+ height: 10px;
236
+ padding: 0 2px;
237
+ line-height: 11px;
238
+ }
239
+
240
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {
241
+ display: none;
242
+ }
243
+
244
+ .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {
245
+ align-items: center;
246
+ }
247
+
248
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {
249
+ background-color: rgba(255, 255, 255, 0.66);
250
+ }
251
+
252
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {
253
+ width: var(--instant-apps-scale-bar-top) !important;
254
+ border-bottom: 2px solid #323232;
255
+ }
256
+
257
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {
258
+ width: var(--instant-apps-scale-bar-bottom) !important;
259
+ border-top: 2px solid #323232;
260
+ }
261
+
262
+ .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {
263
+ position: unset;
264
+ margin: 0 2px;
265
+ background-color: rgba(255, 255, 255, 0.66);
266
+ height: 10px;
267
+ display: flex;
268
+ align-items: center;
269
+ }
270
+
271
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,
272
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,
273
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,
274
+ .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {
275
+ background-color: #323232;
276
+ border-right: 2px solid #323232;
277
+ }
278
+
279
+ .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {
280
+ display: none;
281
+ }
282
+
283
+ .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {
284
+ width: 100%!important;
285
+ }
286
+
287
+ .instant-apps-export-print__popup-content .esri-popup__content {
288
+ margin: 0;
289
+ }
290
+
291
+ .instant-apps-export-print__attribution {
292
+ margin-top: 12px;
293
+ font-size: 10px;
294
+ }`,C=_`:host{display:block;--instant-apps-export-action-background: var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover: var(--calcite-color-foreground-2);--instant-apps-export-action-background-press: var(--calcite-color-foreground-3);--instant-apps-export-action-height: 100%;--instant-apps-export-action-width: fit-content;--instant-apps-export-action-icon-color: var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color: var(--calcite-color-text-1);--instant-apps-export-background: var(--calcite-color-foreground-1);--instant-apps-export-text-color: var(--calcite-color-text-1);--instant-apps-export-popover-width: 250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1: var(--instant-apps-export-action-background);--calcite-color-foreground-2: var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3: var(--instant-apps-export-action-background-press);--calcite-color-text-3: var(--instant-apps-export-action-icon-color);--calcite-color-text-1: var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1: var(--instant-apps-export-background);--calcite-color-text-1: var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1: var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1: #fff;--calcite-color-foreground-2: #f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:.5rem}.calcite-mode-dark.instant-apps-export calcite-switch{--calcite-color-foreground-1: #2b2b2b;--calcite-color-foreground-2: #202020}.calcite-mode-dark.instant-apps-export .instant-apps-export__set-map-area{--calcite-color-brand-hover: #fff}.hide{display:none}.screenshotCursor{cursor:crosshair}`,a={baseDark:"instant-apps-export calcite-mode-dark",baseLight:"instant-apps-export calcite-mode-light",inlineContainer:"instant-apps-export__inline-container",popoverContainer:"instant-apps-export__popover-container",print:{base:"instant-apps-export-print",legendContainer:"instant-apps-export-print__legend-container",scaleBarContainer:"instant-apps-export-print__scale-bar-container",popupContainer:"instant-apps-export-print__popup-container",popupContent:"instant-apps-export-print__popup-content",popupTitle:"instant-apps-export-print__popup-title",view:"instant-apps-export-print__view",viewContainer:"instant-apps-export-print__view-container",viewsContainer:"instant-apps-export-print__views-container",viewWrapper:"instant-apps-export-print__view-wrapper",viewContent:"instant-apps-export-print__view-content",viewHeader:"instant-apps-export-print__view-header",attribution:"instant-apps-export-print__attribution"}},g=class extends f{constructor(){super(...arguments),this._messages=E({name:"instant-apps-export-views",blocking:!0}),this.printContainerEl=d(),this.popoverEl=d(),this.printEl=d(),this.legends={},this.baseClass=a.baseLight,this.exportIsLoading=void 0,this.beforeExport=async()=>await Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportOutputUpdated=m()}static{this.properties={baseClass:16,exportIsLoading:16,output:0,beforeExport:0,popoverIcon:1,includeLegend:5,includeMap:5,includePopup:5,includeHeader:5,mode:3,popoverPositioning:1,popoverPlacement:1,scale:1,showIncludeLegend:5,showIncludeMap:5,showIncludePopup:5,showIncludeHeader:5,showScaleBar:5,exportViews:0}}static{this.styles=C}async load(){this.baseClass=I(this.el)==="dark"?a.baseDark:a.baseLight,await this.initializeModules()}willUpdate(t){t.has("includeMap")&&(this.hasUpdated||this.includeMap!==!0)&&this.exportViews?.forEach(({view:e},i)=>{if(!this.printEl.value)return;let n=this.printEl.value.querySelector(`#legend-${i}`);n!=null&&this.updateLegend(e,i,n)}),t.has("exportViews")&&this.exportViews?.forEach(({view:e},i)=>{this.handleIncludePopup(e,i)})}updated(){this.hasUpdated||this.exportViews?.forEach(({view:t},e)=>{if(!this.printEl.value)return;let i=this.printEl.value.querySelector(`#legend-${e}`);this.updateLegend(t,e,i)})}loaded(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.exportViews?.forEach(({view:t},e)=>{this.handleIncludePopup(t,e)}))}async initializeModules(){let t=await S();return this.handles=await k(),this.reactiveUtils=t,await Promise.resolve(!0)}optionOnChange(t){let e=t.target,i=e.value;this[i]=e.checked,this.updateExportOutput()}async exportOnClick(){await this.beforeExport(),this.exportViews?.length?(this.addPrintStyling(),this.printEl.value&&document.body.prepend(this.printEl.value),this.exportViews.forEach(({view:t},e)=>{this.handleViewExportOnClick(t,e)}),this.handleImgLoaded()):this.popoverEl.value!=null&&(this.popoverEl.value.open=!1)}async handleViewExportOnClick(t,e){this.includeMap&&(this.updateAttribution(t,e),this.updateScaleBar(t,e),this.updatePopupToPrint(t,e),this.viewScreenshot(t,e),this.handleLegendSetup(e))}addPrintStyling(){this.printStyleEl==null&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML=L,document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout(()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()},1500)}resetPrintContent(){this.printEl.value&&(this.printContainerEl.value?.prepend(this.printEl.value),this.printStyleEl?.remove(),this.printStyleEl=void 0)}async updatePopupToPrint(t,e){if(!this.printEl.value)return;let i=this.printEl.value.querySelector(`#popup-${e}`);if(i!=null&&(i.style.display=this.includePopup&&t?.popup?.visible?"block":"none",this.checkPopupOpen(t,e)),t?.popup?.visible&&t?.popup?.selectedFeature!=null){let n=document.createElement(`h${t?.popup?.headingLevel??2}`);n.innerHTML=t?.popup?.title??"",n.className="esri-widget__heading esri-popup__header-title";let r=this.printEl.value.querySelector(`#popup-title-${e}`);r!=null&&(r.style.display=t?.popup?.title?"block":"none",r.innerHTML="",r.prepend(n))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){let t=document.title;window.print(),document.title=t,setTimeout(()=>{this.resetPrintContent()},1500)}handleLegendSetup(t){if(!this.printEl.value)return;let e=this.printEl.value.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&this.includeMap&&e){let i=this.legends[t],n=i!=null&&i.activeLayerInfos?.length>0;e.style.display=this.includeLegend&&n?"block":"none"}}handleWidgetCreation(){this.includeMap&&this.exportViews?.forEach(({view:t},e)=>{this.handleLegendCreation(t,e)})}handleIncludePopup(t,e){if(!(!this.handles||!this.reactiveUtils||!t||!this.showIncludePopup)&&this.showIncludePopup){let i=`includePopup-${e}`;this.handles?.remove(i),this.reactiveUtils.whenOnce(()=>t?.ready).then(()=>{!this.reactiveUtils||!this.handles||this.handles.add(this.reactiveUtils.watch(()=>!!t?.popup?.visible,n=>{this.includePopup=n}),i)})}}handleLegendCreation(t,e){if(!this.printEl.value)return;let i=this.printEl.value.querySelector(`#legend-${e}`);if(this.showIncludeLegend&&i!=null){let n=t.map,r=this.legends[e]?.view?.map;n?.portalItem?.id!=null&&n?.portalItem?.id===r?.portalItem?.id||this.updateLegend(t,e,i)}}async updateLegend(t,e,i){t?.when(async n=>{if(this.legends[e]==null&&i!=null){i.innerHTML="";let r=document.createElement("div");i.append(r),this.legends[e]=await P({id:`legend-widget-${e}`,container:r,view:n,style:{type:"card",layout:"side-by-side"}})}})}updateScaleBar(t,e){if(!this.printEl.value)return;let i=this.printEl.value.querySelector(`#scale-bar-container-${e}`);if(i&&t!=null&&(i.innerHTML="",this.showScaleBar)){let n=t?.ui?.getComponents()?.find(({container:r})=>r?.className?.includes("esri-scale-bar"));n?.container!=null&&typeof n.container!="string"&&i.append(n.container.cloneNode(!0))}}updateAttribution(t,e){let i=this.printEl.value?.querySelector(`#attribution-${e}`);if(!i||!t)return;i.innerHTML="";let n=t.ui.find("attribution");if(!n?.attributionText)return;let r=n.viewModel.items.map(l=>this.getAttributionText(l)).filter((l,u,x)=>!!l&&x.indexOf(l)===u),s=" | ";i.innerHTML=r.join(s)}getAttributionText(t){if(!t.text)return"";let e=t.text,i=t.layerView.layer,n="copyright"in i&&i.copyright?i.copyright:"";if("portalItem"in i&&i.portalItem!=null){let r=i.portalItem;if(r.accessInformation&&e===r.accessInformation)return e.replace(r.accessInformation,n)}return e}async viewScreenshot(t,e){if(!this.printEl.value||!this.includeMap)return;let i=1e3,n=this.printEl.value.querySelector(`#scale-bar-container-${e}`);n?.classList.toggle("instant-apps-export-print__scale-bar-container--position",t.width>i);let r=await t.takeScreenshot({width:t.width*2,height:t.height*2});this.handleScaleBarSize(t,r,n);let s=this.printEl.value.querySelector(`#view-${e}`);r!=null&&s!=null&&(s.src=r.dataUrl)}checkPopupOpen(t,e){if(!this.printEl.value)return;let i=t?.popup?.container?.querySelector(".esri-popup .esri-feature__main-container");if(i!=null){let n=i.querySelectorAll("canvas"),r=this.printEl.value.querySelector(`#popup-content-${e}`);if(r==null)return;r.innerHTML="",r.append(i.cloneNode(!0));let s=r.querySelectorAll("canvas");n.forEach((l,u)=>{let x=l.toDataURL(),c=document.createElement("img");c.src=x;let v=l.getAttribute("style");v&&c.setAttribute("style",v);let b=s[u];b!=null&&(b.replaceWith(c),document.querySelector("link[href*='esri/themes/dark/main.css']")&&c.parentElement?.parentElement!=null&&(c.parentElement.style.background="#242424",c.parentElement.parentElement.style.background="#242424"))})}}handleScaleBarSize(t,e,i){if(this.showScaleBar&&t?.type==="2d"&&i!=null){let n=i.querySelector(".esri-scale-bar__line--top"),r=i.querySelector(".esri-scale-bar__line--bottom");this.setScaleBarWidth(e,i,n,"top"),this.setScaleBarWidth(e,i,r,"bottom")}}setScaleBarWidth(t,e,i,n){if(i!=null&&t!=null){let r=t.data.width/2,s=Number(i.style.width.replace("px",""))/r*100;e?.style.setProperty(`--instant-apps-scale-bar-${n}`,`${s}%`)}}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return o`<div class=${p(this.baseClass)} @mouseenter=${this.handleWidgetCreation} @focusin=${this.handleWidgetCreation}>${t}</div>`}renderPopover(){let t=this.renderPanel();return[o`<calcite-popover reference-element=export-popover-btn .label=${this._messages.exportPopover} .overlayPositioning=${this.popoverPositioning} .placement=${this.popoverPlacement} auto-close ${h(this.popoverEl)}>${t}</calcite-popover>`,o`<calcite-action id=export-popover-btn alignment=center .icon=${this.popoverIcon} .scale=${this.scale} title=${this._messages.exportBtn??w} .text=${this._messages.exportBtn}></calcite-action>`]}renderPanel(){let t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,i=this.renderPrint(),n=this.mode==="inline"?a.inlineContainer:a.popoverContainer;return o`<div class=${p(n)}>${t}${e}<calcite-button width=full @click=${this.exportOnClick} .disabled=${this.exportIsLoading}>${this._messages.export}</calcite-button>${i}</div>`}renderSwitch(t,e){let i=this[t],n=t,r=e??this._messages[n];return o`<calcite-label layout=inline-space-between>${r}<calcite-switch .checked=${i} .value=${t} @calciteSwitchChange=${this.optionOnChange}></calcite-switch></calcite-label>`}renderMapOptions(){let t=this.showIncludeHeader?this.renderSwitch("includeHeader"):null,e=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,i=this.showIncludePopup?this.renderSwitch("includePopup"):null;return o`<div>${t}${e}${i}</div>`}renderPrint(){return o`<div ${h(this.printContainerEl)}><div class=${p(a.print.base)} ${h(this.printEl)}><div class=${p(a.print.viewsContainer)}>${this.exportViews?.map(({title:t,view:e},i)=>{let n=e.map?.portalItem?.id,r=this.includeMap?this.renderPrintMap(t,i):null,s=this.includeMap&&this.showIncludeLegend?this.renderLegend(i):null,l=this.includeMap&&this.showIncludePopup?this.renderPopup(i):null;return $(n??"",o`<div .id=${`print-${i}`} class=${p(a.print.viewContent)}>${r}${s}${l}</div>`)})}</div></div></div>`}renderPrintMap(t,e){return o`<div .id=${`view-container-${e}`} class=${p(a.print.viewContainer)}><div .id=${`view-wrapper-${e}`} class=${p(a.print.viewWrapper)}>${this.includeHeader&&t?o`<div class=${p(a.print.viewHeader)}><h1>${t}</h1></div>`:null}<img .id=${`view-${e}`} class=${p(a.print.view)}><div .id=${`scale-bar-container-${e}`} class=${p(a.print.scaleBarContainer)}></div></div>${this.renderAttribution(e)}</div>`}renderAttribution(t){return o`<div .id=${`attribution-${t}`} class=${p(a.print.attribution)}></div>`}renderLegend(t){return o`<div .id=${`legend-${t}`} class=${p(a.print.legendContainer)}></div>`}renderPopup(t){return o`<div .id=${`popup-${t}`} class=${p(a.print.popupContainer)}><div .id=${`popup-title-${t}`} class=${p(a.print.popupTitle)}></div><div .id=${`popup-content-${t}`} class=${p(a.print.popupContent)}></div></div>`}};y("instant-apps-export-views",g);export{g as InstantAppsExportViews};
@@ -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 t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250731 */
4
+ import"./YIM6J4NU.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/_discussions",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -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 y}from"./35ZVLYI7.js";import"./GFTGPFHL.js";import"./OG4FHSPI.js";import"./MK7N6OTA.js";import"./WQKEPPJH.js";import{a as s,b as p}from"./WCEUO2OS.js";import"./2QFMILDU.js";import"./EEECQWVR.js";import"./S5TXHJGZ.js";import{a as n}from"./E4626BS2.js";import{a}from"./6N7ZWEZT.js";import"./AQZ3QIKE.js";import"./B2AAEHPJ.js";import"./WIVOL6CT.js";import"./T6PMIZLP.js";import"./6U4PV22I.js";import{a as l}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{a as t,b as r}from"./7OEQCUDV.js";import"./IAHPQU5I.js";import"./2RWXUIPE.js";import"./QQPQDFEM.js";import"./7NMV3XFP.js";import"./H4HFWY3H.js";import"./WBAN3UIC.js";import"./Z3XBAPZC.js";import"./IFPYTV3R.js";import"./UITEOOYI.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R 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 y}from"./YMD26PDD.js";import"./O7LMFSMD.js";import"./H272DO6V.js";import"./HK4XTNBP.js";import"./ADW2XIW4.js";import{a as s,b as p}from"./2GJB6LPB.js";import"./OQU4LYMF.js";import"./ZYPY7D74.js";import"./AVA5QVU2.js";import{a as n}from"./HJO2CQWJ.js";import{a}from"./44QRT6VW.js";import"./UCURZHST.js";import"./IH7ADVLR.js";import"./3C7RF6EE.js";import"./LFYHIKU3.js";import"./R6PTVOZ7.js";import{a as l}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{a as t,b as r}from"./C7DUXXD3.js";import"./S4N6CMM4.js";import"./A4RGKVUV.js";import"./RW7QCD4F.js";import"./FEQ4AT3P.js";import"./WB2BLNBK.js";import"./5ZCCNW3O.js";import"./AH2HQH4E.js";import"./BYZPDGIL.js";import"./BGIYWXGF.js";import"./2GXV72MB.js";import"./YIM6J4NU.js";var R=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,i.thumbnailUrl,"event",o.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{R 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{e as c}from"./CBITJT5D.js";import{b as l}from"./M35TRRGF.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u 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 c}from"./UDXPAJPC.js";import{b as l}from"./NEO6JGNW.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u as a};