@esri/solutions-components 1.0.0-next.20250617 → 1.0.0-next.20250618.1

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 (546) hide show
  1. package/dist/cdn/{MDVV5SFY.js → 22DEUWIT.js} +2 -2
  2. package/dist/cdn/{OMM3CGWL.js → 27IJK3XU.js} +2 -2
  3. package/dist/cdn/{FU37TCTJ.js → 27XA7D5R.js} +2 -2
  4. package/dist/cdn/{JMAXO5DC.js → 2B2GYFSL.js} +1 -1
  5. package/dist/cdn/{YOYLE2Y7.js → 2DHUGRRB.js} +2 -2
  6. package/dist/cdn/{663C7SFX.js → 2ILROAQZ.js} +2 -2
  7. package/dist/cdn/{XV7QZVVT.js → 2KPY6FAI.js} +2 -2
  8. package/dist/cdn/{KRXUWGCU.js → 2N2KO565.js} +2 -2
  9. package/dist/cdn/{SNW2FGGO.js → 2NGHUOMA.js} +2 -2
  10. package/dist/cdn/{QM4ZDGZ6.js → 2QMR4VJO.js} +2 -2
  11. package/dist/cdn/{APOYUTRC.js → 2QW5BNYG.js} +2 -2
  12. package/dist/cdn/{KGMRYUMK.js → 2RLX463P.js} +2 -2
  13. package/dist/cdn/{PXQEVSLR.js → 2U4CAZGB.js} +2 -2
  14. package/dist/cdn/{K6EYSWK3.js → 2XC7LXEB.js} +2 -2
  15. package/dist/cdn/{56ISVXIJ.js → 2YTLZMHD.js} +2 -2
  16. package/dist/cdn/{IOXJ3A2P.js → 34VGLVS5.js} +2 -2
  17. package/dist/cdn/{4M2BSB7U.js → 37DEXVCR.js} +1 -1
  18. package/dist/cdn/{X2LIRIPY.js → 37S6NBZ3.js} +2 -2
  19. package/dist/cdn/{MUM6BOFC.js → 3AOBWOCE.js} +2 -2
  20. package/dist/cdn/{UCGYV5X2.js → 3BKKIYBV.js} +2 -2
  21. package/dist/cdn/{FUH66FCX.js → 3NQ4XAFD.js} +3 -3
  22. package/dist/cdn/{H3HHGV2X.js → 3QUOD6OE.js} +2 -2
  23. package/dist/cdn/{RYXSMF2R.js → 3TNVVFNO.js} +2 -2
  24. package/dist/cdn/{W2JRAIBN.js → 3TPEYV7S.js} +2 -2
  25. package/dist/cdn/{E4BZSDPW.js → 42CLIUFU.js} +2 -2
  26. package/dist/cdn/{ET4NBO5I.js → 453KXUYO.js} +2 -2
  27. package/dist/cdn/{VXAH3SBE.js → 4CDWPSJT.js} +2 -2
  28. package/dist/cdn/{Z5XAYA6T.js → 4D5AWIAL.js} +2 -2
  29. package/dist/cdn/{7PDVOTF3.js → 4DEGIQWI.js} +2 -2
  30. package/dist/cdn/{5A4UHYB4.js → 4EGTPR4P.js} +2 -2
  31. package/dist/cdn/{6GUN3P64.js → 4FYXKV37.js} +2 -2
  32. package/dist/cdn/{4ZSGJARJ.js → 4QMPHBZG.js} +2 -2
  33. package/dist/cdn/{5QD2WYHE.js → 4QZAEPJT.js} +2 -2
  34. package/dist/cdn/{T33ZZ5EE.js → 4SJARCJN.js} +2 -2
  35. package/dist/cdn/{NU6XPDWP.js → 4SP7X7DP.js} +2 -2
  36. package/dist/cdn/{AN2RKGOC.js → 542RTT6E.js} +2 -2
  37. package/dist/cdn/{26ZUUXBG.js → 5AAP2PXG.js} +1 -1
  38. package/dist/cdn/{SQFSRSP3.js → 5FLJ3R4Z.js} +2 -2
  39. package/dist/cdn/{HFIXE6U7.js → 5IBICH3B.js} +2 -2
  40. package/dist/cdn/{KN2RLNLK.js → 5P7J37EO.js} +2 -2
  41. package/dist/cdn/{WL25ONRI.js → 5Q3XETDO.js} +1 -1
  42. package/dist/cdn/{3D65T4GL.js → 5RB5A7EC.js} +2 -2
  43. package/dist/cdn/{TWHS2V27.js → 5RSJCEFW.js} +2 -2
  44. package/dist/cdn/{YFAJKSIJ.js → 5SEG6ZB4.js} +1 -1
  45. package/dist/cdn/{U3ZLFYFE.js → 5SQBN4JE.js} +2 -2
  46. package/dist/cdn/{7HGVPHDS.js → 5TTH6ZFB.js} +2 -2
  47. package/dist/cdn/{5XHVWCO6.js → 67AB4WK2.js} +1 -1
  48. package/dist/cdn/{PXA7JSQN.js → 6DLP7EAR.js} +2 -2
  49. package/dist/cdn/{HT6YSQA2.js → 6DTUA3D5.js} +2 -2
  50. package/dist/cdn/{ZEM4BHGM.js → 6EBE7D3T.js} +2 -2
  51. package/dist/cdn/{VVQR44OF.js → 6GCHXKQA.js} +2 -2
  52. package/dist/cdn/{4VT2OWZP.js → 6HDVZ6WN.js} +2 -2
  53. package/dist/cdn/{3I5AXQ7L.js → 6HHQ2JHH.js} +2 -2
  54. package/dist/cdn/{FLWFUOYJ.js → 6HWGPY7I.js} +1 -1
  55. package/dist/cdn/{GE6MW6X7.js → 6HYKI6RA.js} +2 -2
  56. package/dist/cdn/{XS2LVLSG.js → 6UOPWVSQ.js} +2 -2
  57. package/dist/cdn/{KLMBCZZV.js → 6WUBV4EA.js} +2 -2
  58. package/dist/cdn/{T4CKSGEI.js → 6XUFEP6O.js} +2 -2
  59. package/dist/cdn/{5Y5FK43G.js → 73H7XOOM.js} +1 -1
  60. package/dist/cdn/{GTR72B5F.js → 73IH4MCM.js} +2 -2
  61. package/dist/cdn/{GCNPYYYC.js → 74IMQNIQ.js} +2 -2
  62. package/dist/cdn/{YAHBTL66.js → 7LYZPZHS.js} +1 -1
  63. package/dist/cdn/{ZLNEIIRS.js → 7TPKHYZN.js} +1 -1
  64. package/dist/cdn/{GG4SX5PP.js → 7U6QJOKE.js} +2 -2
  65. package/dist/cdn/{7NHKBJT7.js → A4CHRBGU.js} +2 -2
  66. package/dist/cdn/{E332CUZ6.js → A4LFNBYA.js} +2 -2
  67. package/dist/cdn/{X3AE5WWK.js → A54BEPSN.js} +2 -2
  68. package/dist/cdn/{3T76VDUN.js → ABSAMC2G.js} +2 -2
  69. package/dist/cdn/{NYMSLH3X.js → ANHMYCUR.js} +1 -1
  70. package/dist/cdn/{SSOLG3Y2.js → B7H3UB3X.js} +2 -2
  71. package/dist/cdn/{DRXKNSYY.js → BBAQTD4M.js} +2 -2
  72. package/dist/cdn/{3I463GKJ.js → BGLXMZEH.js} +2 -2
  73. package/dist/cdn/{BWVCIRSV.js → BHJ37YW3.js} +2 -2
  74. package/dist/cdn/{X2SAYFTJ.js → BHMGYZRR.js} +2 -2
  75. package/dist/cdn/{YC3SGSKF.js → BKVCY3ER.js} +2 -2
  76. package/dist/cdn/{BC4GIYFT.js → BMITAUIB.js} +2 -2
  77. package/dist/cdn/{U5SM65RP.js → BT2SQ524.js} +2 -2
  78. package/dist/cdn/{KPXDUVQE.js → BU5B4DZ4.js} +2 -2
  79. package/dist/cdn/{VVSCYCWZ.js → CDYS4E5S.js} +2 -2
  80. package/dist/cdn/{YXTRE2YJ.js → CMLCPPNQ.js} +1 -1
  81. package/dist/cdn/{M5SMNJVJ.js → CNNZEBLF.js} +1 -1
  82. package/dist/cdn/{QPIMZ33P.js → CU2OKRTG.js} +2 -2
  83. package/dist/cdn/D66XSD5Y.js +4 -0
  84. package/dist/cdn/{TYBAUCOP.js → DAFU7J4K.js} +1 -1
  85. package/dist/cdn/{C2UHPVJ7.js → DFWM7SK2.js} +2 -2
  86. package/dist/cdn/{L3UTUT76.js → DILHH7QS.js} +2 -2
  87. package/dist/cdn/{FB7RQWEB.js → DLPQ7KWA.js} +2 -2
  88. package/dist/cdn/{Q7AKL3XU.js → DR7UWBT2.js} +2 -2
  89. package/dist/cdn/{ZUGIMBLM.js → DSPEQAWS.js} +2 -2
  90. package/dist/cdn/{LOADKJYI.js → DTZRURFU.js} +2 -2
  91. package/dist/cdn/{D4PB3INZ.js → DUAH255O.js} +2 -2
  92. package/dist/cdn/{UHIXSJW2.js → DUMHFQTN.js} +2 -2
  93. package/dist/cdn/{5KG3QK35.js → DVMZWZNK.js} +1 -1
  94. package/dist/cdn/{ZTDTHNVK.js → DVTD3RRP.js} +2 -2
  95. package/dist/cdn/{EGNJUJ3S.js → DVUDZVYK.js} +2 -2
  96. package/dist/cdn/{7DC5NLKU.js → DXF42425.js} +4 -4
  97. package/dist/cdn/{XOF7OPE4.js → DYZGFY5X.js} +2 -2
  98. package/dist/cdn/{J6BMZHED.js → E5ZOUWWV.js} +2 -2
  99. package/dist/cdn/{ZEHDGNFH.js → E7KWO47I.js} +3 -3
  100. package/dist/cdn/{SBK24IH4.js → EBEY5UUD.js} +2 -2
  101. package/dist/cdn/{W2J4GUF6.js → EGKSG7TA.js} +2 -2
  102. package/dist/cdn/{JN7BZX67.js → EINFPK4N.js} +2 -2
  103. package/dist/cdn/{TZ6NWBWT.js → EJLW4JV3.js} +2 -2
  104. package/dist/cdn/{AIOSZAZF.js → ELHBUZR2.js} +2 -2
  105. package/dist/cdn/{ODWDWNPS.js → ENVYZICY.js} +2 -2
  106. package/dist/cdn/{JSGJKBAR.js → EPI3ZTID.js} +2 -2
  107. package/dist/cdn/{D4Y3AUY2.js → EWZOYKQ3.js} +1 -1
  108. package/dist/cdn/{23SLJ7VB.js → EY52J72L.js} +1 -1
  109. package/dist/cdn/{RZW76EPS.js → EY6GQSJA.js} +2 -2
  110. package/dist/cdn/{2KQPNSYF.js → EY6WF4OC.js} +2 -2
  111. package/dist/cdn/{X3MUBCUO.js → EY7Y6MEK.js} +2 -2
  112. package/dist/cdn/{CJWPNHT5.js → F4RH4VWK.js} +1 -1
  113. package/dist/cdn/{YPO7QQSX.js → F5P6EE5Q.js} +2 -2
  114. package/dist/cdn/{KQJONR6F.js → F7KUGTUU.js} +2 -2
  115. package/dist/cdn/{NRHTETGA.js → FC4KGDP5.js} +2 -2
  116. package/dist/cdn/{QWSSQKLR.js → FDSGJDEW.js} +2 -2
  117. package/dist/cdn/{XX5VK7YW.js → FG544GQQ.js} +2 -2
  118. package/dist/cdn/{AZ5LBZCX.js → FTZ55E57.js} +2 -2
  119. package/dist/cdn/{ECULEWGH.js → FX4AQK2Q.js} +2 -2
  120. package/dist/cdn/{JAPFIMJD.js → G5SYJQGV.js} +1 -1
  121. package/dist/cdn/{XC5FDQDM.js → G63RAOIA.js} +2 -2
  122. package/dist/cdn/{XPYF6XIL.js → G6YNF253.js} +2 -2
  123. package/dist/cdn/{GQX5XJTO.js → G74J63ZD.js} +1 -1
  124. package/dist/cdn/{ECSBAOVQ.js → GHZQTMSB.js} +2 -2
  125. package/dist/cdn/{UHQRI5PF.js → GOFTF4EY.js} +2 -2
  126. package/dist/cdn/{MDUMP6WF.js → GV2TYF3E.js} +2 -2
  127. package/dist/cdn/{RZQ3XTXE.js → H22IKHML.js} +2 -2
  128. package/dist/cdn/{FK572HEF.js → H4L5UITT.js} +2 -2
  129. package/dist/cdn/{ZMFMZN4O.js → H6FKM52H.js} +2 -2
  130. package/dist/cdn/{7X4XXKUK.js → HA35S6IO.js} +2 -2
  131. package/dist/cdn/{FDD2C7HC.js → HD6GEVSM.js} +2 -2
  132. package/dist/cdn/{CHD7DYO7.js → HF665LFM.js} +2 -2
  133. package/dist/cdn/{RADAXSM4.js → HJ4Y6HPF.js} +2 -2
  134. package/dist/cdn/{WWTBSPVE.js → HJNANARE.js} +1 -1
  135. package/dist/cdn/{E3TL2DBA.js → HNUIQ7IZ.js} +1 -1
  136. package/dist/cdn/{NIV6YU2O.js → HTCAIHM5.js} +2 -2
  137. package/dist/cdn/{6H5FB6VZ.js → HWI6PJH6.js} +2 -2
  138. package/dist/cdn/{4WDFKQEA.js → IB3ETAZV.js} +1 -1
  139. package/dist/cdn/{4C5TKB2E.js → IMEGNZXQ.js} +1 -1
  140. package/dist/cdn/IQO7KVU5.js +4 -0
  141. package/dist/cdn/{M2C5ICZU.js → IT4KHWLP.js} +2 -2
  142. package/dist/cdn/{ZQKLLV2Y.js → IXSWEW6F.js} +1 -1
  143. package/dist/cdn/{CKXRT6SG.js → JW27PEBE.js} +2 -2
  144. package/dist/cdn/{KDEENWCA.js → K3SFQS3G.js} +2 -2
  145. package/dist/cdn/{ST2OLLSL.js → KPBIM4OX.js} +2 -2
  146. package/dist/cdn/{ORJL7PD3.js → KPHYMONP.js} +2 -2
  147. package/dist/cdn/{KHZGUMKZ.js → KYK2XITJ.js} +2 -2
  148. package/dist/cdn/{2AH2EXXK.js → L4EB6CDR.js} +1 -1
  149. package/dist/cdn/{MXVBG7NG.js → LALLH4DA.js} +2 -2
  150. package/dist/cdn/{4SMFTIY3.js → LGZSANLR.js} +2 -2
  151. package/dist/cdn/{EY7XWBLO.js → LJV2QPIV.js} +2 -2
  152. package/dist/cdn/{YWSZQENR.js → LLZMMGKZ.js} +2 -2
  153. package/dist/cdn/{OXCS5WE7.js → LN6K3MM3.js} +2 -2
  154. package/dist/cdn/{JODAN55H.js → LTVJKXTE.js} +2 -2
  155. package/dist/cdn/{66U7ORWN.js → M5HIWWVR.js} +1 -1
  156. package/dist/cdn/{X3AKU22A.js → M62LQBTE.js} +1 -1
  157. package/dist/cdn/{CS57BYGF.js → M6ZT4KAQ.js} +2 -2
  158. package/dist/cdn/{WV5PNDYS.js → M74EDYJB.js} +2 -2
  159. package/dist/cdn/{IYSPFCXD.js → MG7NQAZZ.js} +2 -2
  160. package/dist/cdn/MHE3733S.js +4 -0
  161. package/dist/cdn/{YP66ITI3.js → MM3ENMYR.js} +2 -2
  162. package/dist/cdn/{P3F24FWE.js → MQLPRI7Y.js} +2 -2
  163. package/dist/cdn/{2PGNVSWS.js → MSH2N77W.js} +2 -2
  164. package/dist/cdn/{YQHOGUAB.js → MVACBSIQ.js} +2 -2
  165. package/dist/cdn/{62EGHAKX.js → MVYMHCMR.js} +2 -2
  166. package/dist/cdn/{KH4WDPKH.js → MY6L5L57.js} +2 -2
  167. package/dist/cdn/{XXXT6FMN.js → MZHBGZQK.js} +2 -2
  168. package/dist/cdn/{FP4BJITS.js → N2NWQNTT.js} +2 -2
  169. package/dist/cdn/{7RZJV7XT.js → N3YGWBR3.js} +2 -2
  170. package/dist/cdn/{SEOLYYSL.js → NBEXVLVJ.js} +1 -1
  171. package/dist/cdn/{FPYQ7DSX.js → NGOEQEFU.js} +2 -2
  172. package/dist/cdn/{VUQCDDWE.js → NK74ETZE.js} +2 -2
  173. package/dist/cdn/{YYVGZLUY.js → NKVQEPKT.js} +2 -2
  174. package/dist/cdn/{KOEYYEBE.js → NYP2DH6E.js} +2 -2
  175. package/dist/cdn/{ZHVU6T4C.js → O26ML2SO.js} +2 -2
  176. package/dist/cdn/{QEF6IQG7.js → O2UMUEEH.js} +1 -1
  177. package/dist/cdn/O6DP3IP7.js +4 -0
  178. package/dist/cdn/{YTJ7HTKE.js → O7DFUJAV.js} +2 -2
  179. package/dist/cdn/{C3XUGR74.js → OBL44JYU.js} +2 -2
  180. package/dist/cdn/{G27WERLL.js → OH63VQJ5.js} +2 -2
  181. package/dist/cdn/{ZLEV5BXG.js → OK74DXXN.js} +2 -2
  182. package/dist/cdn/{WTE6KQ7N.js → OOR7B2NO.js} +2 -2
  183. package/dist/cdn/{4JWOEC2M.js → OOT5WQ62.js} +2 -2
  184. package/dist/cdn/{Y7STMNJM.js → OYEUCIJC.js} +2 -2
  185. package/dist/cdn/{LMTJNGRW.js → OYK55OPW.js} +2 -2
  186. package/dist/cdn/{WSCYT5CC.js → P64CKY6D.js} +2 -2
  187. package/dist/cdn/{A6HCD5ST.js → PDM6CH37.js} +1 -1
  188. package/dist/cdn/{2LNASR4M.js → PFOB7ASU.js} +2 -2
  189. package/dist/cdn/{AGVGDK74.js → PHYMHJGH.js} +2 -2
  190. package/dist/cdn/{CTYIRMIE.js → PIRSNAXE.js} +2 -2
  191. package/dist/cdn/{XXETI3KO.js → PSKK6R7V.js} +2 -2
  192. package/dist/cdn/{6GBOMWNM.js → PVFJ6K6W.js} +2 -2
  193. package/dist/cdn/{EQ7WODGK.js → PVWZATYG.js} +1 -1
  194. package/dist/cdn/{MNGRHV3C.js → Q364SBXU.js} +2 -2
  195. package/dist/cdn/{RPTQP67O.js → Q3ZAVJA2.js} +2 -2
  196. package/dist/cdn/{7NE5MFIJ.js → Q7AF5GSO.js} +2 -2
  197. package/dist/cdn/{MIMZVJUI.js → QBIIXF4H.js} +2 -2
  198. package/dist/cdn/{XMVLG6HD.js → QHKMVJ5X.js} +2 -2
  199. package/dist/cdn/{TDHBGUGG.js → QUJW5EU5.js} +2 -2
  200. package/dist/cdn/{66VX5BMO.js → R3KDQDD7.js} +2 -2
  201. package/dist/cdn/{3TMPTQB4.js → RCBT5CJJ.js} +2 -2
  202. package/dist/cdn/{XFCORTAZ.js → RFU2GA77.js} +2 -2
  203. package/dist/cdn/{4UKO7OSP.js → RJBIVLYE.js} +2 -2
  204. package/dist/cdn/RYNALENB.js +4 -0
  205. package/dist/cdn/{NEQT7BAW.js → S6M65JNG.js} +2 -2
  206. package/dist/cdn/{ZKLL3OJA.js → S777APZD.js} +2 -2
  207. package/dist/cdn/{6WBKKEZS.js → SEKMKSIL.js} +2 -2
  208. package/dist/cdn/{3QX3UFD6.js → SHHFJEV3.js} +2 -2
  209. package/dist/cdn/{45NO45YW.js → SO62B7Z3.js} +2 -2
  210. package/dist/cdn/{5I7W3EVF.js → SOMI2AAW.js} +1 -1
  211. package/dist/cdn/{72CGZFMP.js → SQ5LN6VW.js} +1 -1
  212. package/dist/cdn/{VFIEMUU3.js → SRQQ7EAN.js} +2 -2
  213. package/dist/cdn/{RGQ4OULC.js → SRYMJYQK.js} +2 -2
  214. package/dist/cdn/SSAXEWTS.js +4 -0
  215. package/dist/cdn/{CXS4F2DV.js → SVBFKGLB.js} +2 -2
  216. package/dist/cdn/{SAICGJDS.js → SWEIKA4N.js} +2 -2
  217. package/dist/cdn/{OFFLTW5Q.js → T4MFZ5DG.js} +2 -2
  218. package/dist/cdn/{GG4JQ4LZ.js → T5DYODQ7.js} +2 -2
  219. package/dist/cdn/TBIDLSGQ.js +18 -0
  220. package/dist/cdn/{CFQ56QUP.js → TF5CJGN3.js} +2 -2
  221. package/dist/cdn/{GBNODDNY.js → TG4PTBAJ.js} +2 -2
  222. package/dist/cdn/{M25C7SPS.js → TIRLXBT3.js} +2 -2
  223. package/dist/cdn/{RCH6FSOO.js → TJY3W6ZV.js} +2 -2
  224. package/dist/cdn/{DBS3O4G2.js → TK4CSKXO.js} +2 -2
  225. package/dist/cdn/{5YOTYSSB.js → TQAYE35S.js} +2 -2
  226. package/dist/cdn/{34WNAKCW.js → U4PHRGHK.js} +2 -2
  227. package/dist/cdn/{MMJSWPYV.js → UK7MIIEG.js} +2 -2
  228. package/dist/cdn/{MIMUA7CO.js → UN6UPWDA.js} +2 -2
  229. package/dist/cdn/{JEVZQVK6.js → US6OVDOV.js} +2 -2
  230. package/dist/cdn/{Y7TBVJF7.js → US7BWYVK.js} +2 -2
  231. package/dist/cdn/{66WN3RYD.js → USL7FSTL.js} +2 -2
  232. package/dist/cdn/{Z766ANKV.js → UTBNZS5I.js} +2 -2
  233. package/dist/cdn/{7ZWOBQSP.js → V44FLEND.js} +1 -1
  234. package/dist/cdn/{CWUG3WIL.js → VADJYPUJ.js} +1 -1
  235. package/dist/cdn/{SRPLV7IE.js → VQQ5DFPD.js} +2 -2
  236. package/dist/cdn/{QK3KOLNR.js → VTDUS325.js} +2 -2
  237. package/dist/cdn/{45FDLCNN.js → VUHOWKOE.js} +2 -2
  238. package/dist/cdn/{JVRMDOQX.js → VVAMHZYI.js} +2 -2
  239. package/dist/cdn/{O44HTFM7.js → VXTFPJBV.js} +2 -2
  240. package/dist/cdn/{XWNBGTCT.js → VZXN74EN.js} +2 -2
  241. package/dist/cdn/{XBDIYDRM.js → W5XHOYDJ.js} +2 -2
  242. package/dist/cdn/WAYFDZQA.js +4 -0
  243. package/dist/cdn/{NOZF3HXH.js → WEEW5J3L.js} +1 -1
  244. package/dist/cdn/{K5ABIFBZ.js → WF2RAOLM.js} +1 -1
  245. package/dist/cdn/WF74JSAD.js +4 -0
  246. package/dist/cdn/{FR2M6XQY.js → WFR3PXSW.js} +2 -2
  247. package/dist/cdn/{E2QXOBX4.js → WK34FXLR.js} +2 -2
  248. package/dist/cdn/{ZALM4GKT.js → WTF2NDZG.js} +2 -2
  249. package/dist/cdn/{GXDC6HF3.js → WTSSBTYD.js} +2 -2
  250. package/dist/cdn/{RPNHGSB7.js → WUJLNKKN.js} +2 -2
  251. package/dist/cdn/{JKUWGRYW.js → WWZ7BEPS.js} +2 -2
  252. package/dist/cdn/{VGF62Y4X.js → WXIC5V6X.js} +1 -1
  253. package/dist/cdn/{IJXW2QHI.js → XAIVE56G.js} +2 -2
  254. package/dist/cdn/{QBLUXYG3.js → XASQJVGW.js} +2 -2
  255. package/dist/cdn/{U2REM5I2.js → XQAPI6JH.js} +2 -2
  256. package/dist/cdn/{RH2ILZKZ.js → XRNX4VET.js} +2 -2
  257. package/dist/cdn/{NZ4G3J4W.js → XUCC6Q63.js} +2 -2
  258. package/dist/cdn/XUGJHSZI.js +18 -0
  259. package/dist/cdn/{Y4FKX3ME.js → XUSEEFTR.js} +2 -2
  260. package/dist/cdn/{G74NUZJA.js → XV3E5CCZ.js} +1 -1
  261. package/dist/cdn/{QRUZMTIP.js → XYGC3GAD.js} +1 -1
  262. package/dist/cdn/{DPWQI5EE.js → Y4ADZQLA.js} +2 -2
  263. package/dist/cdn/{IZXMY3D6.js → Y5OV27ST.js} +2 -2
  264. package/dist/cdn/{JR4ZB7ZF.js → Y7NXM543.js} +2 -2
  265. package/dist/cdn/{VGR6QIVC.js → Y7OVAK3H.js} +2 -2
  266. package/dist/cdn/{3STPIIWZ.js → YALUQDOM.js} +2 -2
  267. package/dist/cdn/{4KBOUR7Q.js → YCZJL2J6.js} +2 -2
  268. package/dist/cdn/{QLJVM7OF.js → YDJEUHQO.js} +2 -2
  269. package/dist/cdn/{QN47TVOF.js → YDLCJOSG.js} +2 -2
  270. package/dist/cdn/{PZ7BAHDM.js → YEEVLAKF.js} +2 -2
  271. package/dist/cdn/{XETQL72A.js → YFONVRE2.js} +2 -2
  272. package/dist/cdn/{ONEL4IUL.js → YKVL7P5B.js} +1 -1
  273. package/dist/cdn/{QON63AM4.js → YQDVAXQW.js} +2 -2
  274. package/dist/cdn/{E7KHHNTK.js → YWQZU6B6.js} +1 -1
  275. package/dist/cdn/{JUGUXBAU.js → YYKCOF6W.js} +2 -2
  276. package/dist/cdn/{CY5FNQOJ.js → YZVOT3TE.js} +2 -2
  277. package/dist/cdn/{RZG4BYGD.js → ZERUSMWZ.js} +2 -2
  278. package/dist/cdn/{Y4JZMAHN.js → ZGFK6XAL.js} +2 -2
  279. package/dist/cdn/{K56FFFW5.js → ZGM2MNP7.js} +2 -2
  280. package/dist/cdn/{PJGGTO5X.js → ZM7CSJ7J.js} +1 -1
  281. package/dist/cdn/{RFZL3BPN.js → ZQFZG7LI.js} +2 -2
  282. package/dist/cdn/{UWFNWLHE.js → ZV2CLEQX.js} +2 -2
  283. package/dist/cdn/{YTZNBIKI.js → ZVP43N4V.js} +2 -2
  284. package/dist/cdn/{O3PFSVNL.js → ZYETE37K.js} +2 -2
  285. package/dist/cdn/assets/consent-manager/t9n/messages.ar.json +1 -1
  286. package/dist/cdn/assets/feature-list/t9n/messages.ar.json +1 -1
  287. package/dist/cdn/assets/feature-list/t9n/messages.bg.json +1 -1
  288. package/dist/cdn/assets/feature-list/t9n/messages.bs.json +1 -1
  289. package/dist/cdn/assets/feature-list/t9n/messages.ca.json +1 -1
  290. package/dist/cdn/assets/feature-list/t9n/messages.cs.json +1 -1
  291. package/dist/cdn/assets/feature-list/t9n/messages.da.json +1 -1
  292. package/dist/cdn/assets/feature-list/t9n/messages.de.json +1 -1
  293. package/dist/cdn/assets/feature-list/t9n/messages.el.json +1 -1
  294. package/dist/cdn/assets/feature-list/t9n/messages.es.json +1 -1
  295. package/dist/cdn/assets/feature-list/t9n/messages.et.json +1 -1
  296. package/dist/cdn/assets/feature-list/t9n/messages.fi.json +1 -1
  297. package/dist/cdn/assets/feature-list/t9n/messages.fr.json +1 -1
  298. package/dist/cdn/assets/feature-list/t9n/messages.he.json +1 -1
  299. package/dist/cdn/assets/feature-list/t9n/messages.hr.json +1 -1
  300. package/dist/cdn/assets/feature-list/t9n/messages.hu.json +1 -1
  301. package/dist/cdn/assets/feature-list/t9n/messages.id.json +1 -1
  302. package/dist/cdn/assets/feature-list/t9n/messages.it.json +1 -1
  303. package/dist/cdn/assets/feature-list/t9n/messages.ja.json +1 -1
  304. package/dist/cdn/assets/feature-list/t9n/messages.ko.json +1 -1
  305. package/dist/cdn/assets/feature-list/t9n/messages.lt.json +1 -1
  306. package/dist/cdn/assets/feature-list/t9n/messages.lv.json +1 -1
  307. package/dist/cdn/assets/feature-list/t9n/messages.nl.json +1 -1
  308. package/dist/cdn/assets/feature-list/t9n/messages.no.json +1 -1
  309. package/dist/cdn/assets/feature-list/t9n/messages.pl.json +1 -1
  310. package/dist/cdn/assets/feature-list/t9n/messages.pt-BR.json +1 -1
  311. package/dist/cdn/assets/feature-list/t9n/messages.pt-PT.json +1 -1
  312. package/dist/cdn/assets/feature-list/t9n/messages.ro.json +1 -1
  313. package/dist/cdn/assets/feature-list/t9n/messages.ru.json +1 -1
  314. package/dist/cdn/assets/feature-list/t9n/messages.sk.json +1 -1
  315. package/dist/cdn/assets/feature-list/t9n/messages.sl.json +1 -1
  316. package/dist/cdn/assets/feature-list/t9n/messages.sr.json +1 -1
  317. package/dist/cdn/assets/feature-list/t9n/messages.sv.json +1 -1
  318. package/dist/cdn/assets/feature-list/t9n/messages.th.json +1 -1
  319. package/dist/cdn/assets/feature-list/t9n/messages.tr.json +1 -1
  320. package/dist/cdn/assets/feature-list/t9n/messages.uk.json +1 -1
  321. package/dist/cdn/assets/feature-list/t9n/messages.vi.json +1 -1
  322. package/dist/cdn/assets/feature-list/t9n/messages.zh-CN.json +1 -1
  323. package/dist/cdn/assets/feature-list/t9n/messages.zh-HK.json +1 -1
  324. package/dist/cdn/assets/feature-list/t9n/messages.zh-TW.json +1 -1
  325. package/dist/cdn/assets/layer-list/t9n/messages.ar.json +1 -1
  326. package/dist/cdn/assets/layer-list/t9n/messages.bg.json +1 -1
  327. package/dist/cdn/assets/layer-list/t9n/messages.bs.json +1 -1
  328. package/dist/cdn/assets/layer-list/t9n/messages.ca.json +1 -1
  329. package/dist/cdn/assets/layer-list/t9n/messages.cs.json +1 -1
  330. package/dist/cdn/assets/layer-list/t9n/messages.da.json +1 -1
  331. package/dist/cdn/assets/layer-list/t9n/messages.de.json +1 -1
  332. package/dist/cdn/assets/layer-list/t9n/messages.el.json +1 -1
  333. package/dist/cdn/assets/layer-list/t9n/messages.es.json +1 -1
  334. package/dist/cdn/assets/layer-list/t9n/messages.et.json +1 -1
  335. package/dist/cdn/assets/layer-list/t9n/messages.fi.json +1 -1
  336. package/dist/cdn/assets/layer-list/t9n/messages.fr.json +1 -1
  337. package/dist/cdn/assets/layer-list/t9n/messages.he.json +1 -1
  338. package/dist/cdn/assets/layer-list/t9n/messages.hr.json +1 -1
  339. package/dist/cdn/assets/layer-list/t9n/messages.hu.json +1 -1
  340. package/dist/cdn/assets/layer-list/t9n/messages.id.json +1 -1
  341. package/dist/cdn/assets/layer-list/t9n/messages.it.json +1 -1
  342. package/dist/cdn/assets/layer-list/t9n/messages.ja.json +1 -1
  343. package/dist/cdn/assets/layer-list/t9n/messages.ko.json +1 -1
  344. package/dist/cdn/assets/layer-list/t9n/messages.lt.json +1 -1
  345. package/dist/cdn/assets/layer-list/t9n/messages.lv.json +1 -1
  346. package/dist/cdn/assets/layer-list/t9n/messages.nl.json +1 -1
  347. package/dist/cdn/assets/layer-list/t9n/messages.no.json +1 -1
  348. package/dist/cdn/assets/layer-list/t9n/messages.pl.json +1 -1
  349. package/dist/cdn/assets/layer-list/t9n/messages.pt-BR.json +1 -1
  350. package/dist/cdn/assets/layer-list/t9n/messages.pt-PT.json +1 -1
  351. package/dist/cdn/assets/layer-list/t9n/messages.ro.json +1 -1
  352. package/dist/cdn/assets/layer-list/t9n/messages.ru.json +1 -1
  353. package/dist/cdn/assets/layer-list/t9n/messages.sk.json +1 -1
  354. package/dist/cdn/assets/layer-list/t9n/messages.sl.json +1 -1
  355. package/dist/cdn/assets/layer-list/t9n/messages.sr.json +1 -1
  356. package/dist/cdn/assets/layer-list/t9n/messages.sv.json +1 -1
  357. package/dist/cdn/assets/layer-list/t9n/messages.th.json +1 -1
  358. package/dist/cdn/assets/layer-list/t9n/messages.tr.json +1 -1
  359. package/dist/cdn/assets/layer-list/t9n/messages.uk.json +1 -1
  360. package/dist/cdn/assets/layer-list/t9n/messages.vi.json +1 -1
  361. package/dist/cdn/assets/layer-list/t9n/messages.zh-CN.json +1 -1
  362. package/dist/cdn/assets/layer-list/t9n/messages.zh-HK.json +1 -1
  363. package/dist/cdn/assets/layer-list/t9n/messages.zh-TW.json +1 -1
  364. package/dist/cdn/assets/layer-table/t9n/messages.ar.json +1 -1
  365. package/dist/cdn/assets/layer-table/t9n/messages.bg.json +1 -1
  366. package/dist/cdn/assets/layer-table/t9n/messages.bs.json +1 -1
  367. package/dist/cdn/assets/layer-table/t9n/messages.ca.json +1 -1
  368. package/dist/cdn/assets/layer-table/t9n/messages.cs.json +1 -1
  369. package/dist/cdn/assets/layer-table/t9n/messages.da.json +1 -1
  370. package/dist/cdn/assets/layer-table/t9n/messages.de.json +1 -1
  371. package/dist/cdn/assets/layer-table/t9n/messages.el.json +1 -1
  372. package/dist/cdn/assets/layer-table/t9n/messages.es.json +1 -1
  373. package/dist/cdn/assets/layer-table/t9n/messages.et.json +1 -1
  374. package/dist/cdn/assets/layer-table/t9n/messages.fi.json +1 -1
  375. package/dist/cdn/assets/layer-table/t9n/messages.fr.json +1 -1
  376. package/dist/cdn/assets/layer-table/t9n/messages.he.json +1 -1
  377. package/dist/cdn/assets/layer-table/t9n/messages.hr.json +1 -1
  378. package/dist/cdn/assets/layer-table/t9n/messages.hu.json +1 -1
  379. package/dist/cdn/assets/layer-table/t9n/messages.id.json +1 -1
  380. package/dist/cdn/assets/layer-table/t9n/messages.it.json +1 -1
  381. package/dist/cdn/assets/layer-table/t9n/messages.ja.json +1 -1
  382. package/dist/cdn/assets/layer-table/t9n/messages.ko.json +1 -1
  383. package/dist/cdn/assets/layer-table/t9n/messages.lt.json +1 -1
  384. package/dist/cdn/assets/layer-table/t9n/messages.lv.json +1 -1
  385. package/dist/cdn/assets/layer-table/t9n/messages.nl.json +1 -1
  386. package/dist/cdn/assets/layer-table/t9n/messages.no.json +1 -1
  387. package/dist/cdn/assets/layer-table/t9n/messages.pl.json +1 -1
  388. package/dist/cdn/assets/layer-table/t9n/messages.pt-BR.json +1 -1
  389. package/dist/cdn/assets/layer-table/t9n/messages.pt-PT.json +1 -1
  390. package/dist/cdn/assets/layer-table/t9n/messages.ro.json +1 -1
  391. package/dist/cdn/assets/layer-table/t9n/messages.ru.json +1 -1
  392. package/dist/cdn/assets/layer-table/t9n/messages.sk.json +1 -1
  393. package/dist/cdn/assets/layer-table/t9n/messages.sl.json +1 -1
  394. package/dist/cdn/assets/layer-table/t9n/messages.sr.json +1 -1
  395. package/dist/cdn/assets/layer-table/t9n/messages.sv.json +1 -1
  396. package/dist/cdn/assets/layer-table/t9n/messages.th.json +1 -1
  397. package/dist/cdn/assets/layer-table/t9n/messages.tr.json +1 -1
  398. package/dist/cdn/assets/layer-table/t9n/messages.uk.json +1 -1
  399. package/dist/cdn/assets/layer-table/t9n/messages.vi.json +1 -1
  400. package/dist/cdn/assets/layer-table/t9n/messages.zh-CN.json +1 -1
  401. package/dist/cdn/assets/layer-table/t9n/messages.zh-HK.json +1 -1
  402. package/dist/cdn/assets/layer-table/t9n/messages.zh-TW.json +1 -1
  403. package/dist/cdn/assets/map-card/t9n/messages.ar.json +1 -1
  404. package/dist/cdn/assets/map-card/t9n/messages.bg.json +1 -1
  405. package/dist/cdn/assets/map-card/t9n/messages.bs.json +1 -1
  406. package/dist/cdn/assets/map-card/t9n/messages.ca.json +1 -1
  407. package/dist/cdn/assets/map-card/t9n/messages.cs.json +1 -1
  408. package/dist/cdn/assets/map-card/t9n/messages.da.json +1 -1
  409. package/dist/cdn/assets/map-card/t9n/messages.de.json +1 -1
  410. package/dist/cdn/assets/map-card/t9n/messages.el.json +1 -1
  411. package/dist/cdn/assets/map-card/t9n/messages.es.json +1 -1
  412. package/dist/cdn/assets/map-card/t9n/messages.et.json +1 -1
  413. package/dist/cdn/assets/map-card/t9n/messages.fi.json +1 -1
  414. package/dist/cdn/assets/map-card/t9n/messages.fr.json +1 -1
  415. package/dist/cdn/assets/map-card/t9n/messages.he.json +1 -1
  416. package/dist/cdn/assets/map-card/t9n/messages.hr.json +1 -1
  417. package/dist/cdn/assets/map-card/t9n/messages.hu.json +1 -1
  418. package/dist/cdn/assets/map-card/t9n/messages.id.json +1 -1
  419. package/dist/cdn/assets/map-card/t9n/messages.it.json +1 -1
  420. package/dist/cdn/assets/map-card/t9n/messages.ja.json +1 -1
  421. package/dist/cdn/assets/map-card/t9n/messages.ko.json +1 -1
  422. package/dist/cdn/assets/map-card/t9n/messages.lt.json +1 -1
  423. package/dist/cdn/assets/map-card/t9n/messages.lv.json +1 -1
  424. package/dist/cdn/assets/map-card/t9n/messages.nl.json +1 -1
  425. package/dist/cdn/assets/map-card/t9n/messages.no.json +1 -1
  426. package/dist/cdn/assets/map-card/t9n/messages.pl.json +1 -1
  427. package/dist/cdn/assets/map-card/t9n/messages.pt-BR.json +1 -1
  428. package/dist/cdn/assets/map-card/t9n/messages.pt-PT.json +1 -1
  429. package/dist/cdn/assets/map-card/t9n/messages.ro.json +1 -1
  430. package/dist/cdn/assets/map-card/t9n/messages.ru.json +1 -1
  431. package/dist/cdn/assets/map-card/t9n/messages.sk.json +1 -1
  432. package/dist/cdn/assets/map-card/t9n/messages.sl.json +1 -1
  433. package/dist/cdn/assets/map-card/t9n/messages.sr.json +1 -1
  434. package/dist/cdn/assets/map-card/t9n/messages.sv.json +1 -1
  435. package/dist/cdn/assets/map-card/t9n/messages.th.json +1 -1
  436. package/dist/cdn/assets/map-card/t9n/messages.tr.json +1 -1
  437. package/dist/cdn/assets/map-card/t9n/messages.uk.json +1 -1
  438. package/dist/cdn/assets/map-card/t9n/messages.vi.json +1 -1
  439. package/dist/cdn/assets/map-card/t9n/messages.zh-CN.json +1 -1
  440. package/dist/cdn/assets/map-card/t9n/messages.zh-HK.json +1 -1
  441. package/dist/cdn/assets/map-card/t9n/messages.zh-TW.json +1 -1
  442. package/dist/cdn/index.js +2 -2
  443. package/dist/chunks/Auth.js +1 -1
  444. package/dist/chunks/appConfig.js +1 -1
  445. package/dist/chunks/cardFetchingUtils.js +1 -1
  446. package/dist/chunks/common.js +1 -1
  447. package/dist/chunks/deployAppContexts.js +1 -1
  448. package/dist/chunks/downloadUtils.js +1 -1
  449. package/dist/chunks/helpers.js +1 -1
  450. package/dist/chunks/index.js +1 -1
  451. package/dist/chunks/interfaces.js +1 -1
  452. package/dist/chunks/loadModules.js +1 -1
  453. package/dist/chunks/mapViewUtils.js +1 -1
  454. package/dist/chunks/pciUtils.js +1 -1
  455. package/dist/chunks/popupUtils.js +1 -1
  456. package/dist/chunks/privilegeUtils.js +1 -1
  457. package/dist/chunks/publicNotificationStore.js +1 -1
  458. package/dist/chunks/queryUtils.js +1 -1
  459. package/dist/chunks/runtime.js +1 -1
  460. package/dist/chunks/solution-store.js +1 -1
  461. package/dist/chunks/templates.js +1 -1
  462. package/dist/chunks/useT9n.js +1 -1
  463. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  464. package/dist/components/basemap-gallery/customElement.js +1 -1
  465. package/dist/components/buffer-tools/customElement.js +1 -1
  466. package/dist/components/card-manager/customElement.js +1 -1
  467. package/dist/components/consent-manager/customElement.js +1 -1
  468. package/dist/components/create-feature/customElement.js +8 -7
  469. package/dist/components/create-related-feature/customElement.js +1 -1
  470. package/dist/components/crowdsource-manager/customElement.js +1 -1
  471. package/dist/components/crowdsource-reporter/customElement.js +61 -49
  472. package/dist/components/deduct-calculator/customElement.js +1 -1
  473. package/dist/components/delete-button/customElement.js +1 -1
  474. package/dist/components/delete-dialog/customElement.js +1 -1
  475. package/dist/components/edit-card/customElement.js +1 -1
  476. package/dist/components/feature-details/customElement.js +12 -12
  477. package/dist/components/feature-list/customElement.js +1 -1
  478. package/dist/components/field-selection/customElement.js +1 -1
  479. package/dist/components/floor-filter/customElement.js +1 -1
  480. package/dist/components/info-card/customElement.js +1 -1
  481. package/dist/components/json-editor/customElement.js +1 -1
  482. package/dist/components/layer-list/customElement.js +1 -1
  483. package/dist/components/layer-table/customElement.js +52 -48
  484. package/dist/components/map-card/customElement.js +1 -1
  485. package/dist/components/map-draw-tools/customElement.js +1 -1
  486. package/dist/components/map-fullscreen/customElement.js +1 -1
  487. package/dist/components/map-layer-picker/customElement.js +1 -1
  488. package/dist/components/map-legend/customElement.js +1 -1
  489. package/dist/components/map-picker/customElement.js +1 -1
  490. package/dist/components/map-search/customElement.js +1 -1
  491. package/dist/components/map-select-tools/customElement.js +1 -1
  492. package/dist/components/map-tools/customElement.js +1 -1
  493. package/dist/components/pci-calculator/customElement.js +1 -1
  494. package/dist/components/pdf-download/customElement.js +1 -1
  495. package/dist/components/public-notification/customElement.js +1 -1
  496. package/dist/components/refine-selection/customElement.js +1 -1
  497. package/dist/components/selection-tool/customElement.js +1 -1
  498. package/dist/components/solution-article-card/customElement.js +1 -1
  499. package/dist/components/solution-configuration/customElement.js +1 -1
  500. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  501. package/dist/components/solution-configure-titles/customElement.js +1 -1
  502. package/dist/components/solution-contents/customElement.js +1 -1
  503. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  504. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  505. package/dist/components/solution-deployed-card/customElement.js +1 -1
  506. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  507. package/dist/components/solution-details-card/customElement.js +1 -1
  508. package/dist/components/solution-details-panel/customElement.js +1 -1
  509. package/dist/components/solution-item/customElement.js +1 -1
  510. package/dist/components/solution-item-accordion/customElement.js +1 -1
  511. package/dist/components/solution-item-details/customElement.js +1 -1
  512. package/dist/components/solution-item-icon/customElement.js +1 -1
  513. package/dist/components/solution-item-sharing/customElement.js +1 -1
  514. package/dist/components/solution-items-diagram/customElement.js +1 -1
  515. package/dist/components/solution-organization-variables/customElement.js +1 -1
  516. package/dist/components/solution-resource-item/customElement.js +1 -1
  517. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  518. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  519. package/dist/components/solution-template-data/customElement.js +1 -1
  520. package/dist/components/solution-variables/customElement.js +1 -1
  521. package/dist/components/solutions-all-panel/customElement.js +1 -1
  522. package/dist/components/solutions-all-shell/customElement.js +1 -1
  523. package/dist/components/solutions-article-panel/customElement.js +1 -1
  524. package/dist/components/solutions-articles/customElement.js +1 -1
  525. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  526. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  527. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  528. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  529. package/dist/components/spatial-ref/customElement.js +1 -1
  530. package/dist/components/store-manager/customElement.js +1 -1
  531. package/dist/docs/api.json +1 -1
  532. package/dist/docs/docs.json +1 -1
  533. package/dist/docs/web-types.json +1 -1
  534. package/dist/index.js +1 -1
  535. package/dist/loader.js +1 -1
  536. package/package.json +1 -1
  537. package/dist/cdn/5AMRUYMU.js +0 -4
  538. package/dist/cdn/HPN5RP5D.js +0 -4
  539. package/dist/cdn/LCPJZHPD.js +0 -18
  540. package/dist/cdn/LSSHDVVX.js +0 -4
  541. package/dist/cdn/SJYYUO6H.js +0 -4
  542. package/dist/cdn/WLIQRMY7.js +0 -18
  543. package/dist/cdn/WYML4KIE.js +0 -4
  544. package/dist/cdn/XI2AVQC6.js +0 -4
  545. package/dist/cdn/XKPIYHWA.js +0 -4
  546. package/dist/cdn/YIKZB4ZA.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as f,c as g,e as I}from"./SAICGJDS.js";import"./D4Y3AUY2.js";import"./E3TL2DBA.js";import{a as w,b as c}from"./4C5TKB2E.js";import{a as u}from"./663C7SFX.js";import{D as L,c as p,d as r,n as h,p as d,y as m}from"./5I7W3EVF.js";import"./QEF6IQG7.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as f,c as g,e as I}from"./SWEIKA4N.js";import"./EWZOYKQ3.js";import"./HNUIQ7IZ.js";import{a as w,b as c}from"./IMEGNZXQ.js";import{a as u}from"./2ILROAQZ.js";import{D as L,c as p,d as r,n as h,p as d,y as m}from"./SOMI2AAW.js";import"./O2UMUEEH.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as d}from"./FR2M6XQY.js";import"./23SLJ7VB.js";import{a as T,d as C}from"./7DC5NLKU.js";import"./NRHTETGA.js";import"./GXDC6HF3.js";import"./EQ7WODGK.js";import"./XOF7OPE4.js";import"./DPWQI5EE.js";import"./6GBOMWNM.js";import"./WL25ONRI.js";import"./YFAJKSIJ.js";import"./TYBAUCOP.js";import"./QLJVM7OF.js";import"./DRXKNSYY.js";import"./JAPFIMJD.js";import"./PJGGTO5X.js";import"./7ZWOBQSP.js";import"./KDEENWCA.js";import"./3QX3UFD6.js";import"./A6HCD5ST.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import"./E7KHHNTK.js";import{g as L,j as E}from"./SAICGJDS.js";import{c as l,e as r,f as c}from"./D4Y3AUY2.js";import"./E3TL2DBA.js";import{a as g,b as _}from"./YTJ7HTKE.js";import{b as k}from"./4C5TKB2E.js";import{a as x}from"./663C7SFX.js";import{D as v,E as $,c as f,d as o,f as p,n as y,p as S,y as w,z as h}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var I=f`@layer{/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as d}from"./WFR3PXSW.js";import"./EY52J72L.js";import{a as T,d as C}from"./DXF42425.js";import"./FC4KGDP5.js";import"./WTSSBTYD.js";import"./PVWZATYG.js";import"./DYZGFY5X.js";import"./Y4ADZQLA.js";import"./PVFJ6K6W.js";import"./5Q3XETDO.js";import"./5SEG6ZB4.js";import"./DAFU7J4K.js";import"./YDJEUHQO.js";import"./BBAQTD4M.js";import"./G5SYJQGV.js";import"./ZM7CSJ7J.js";import"./V44FLEND.js";import"./K3SFQS3G.js";import"./SHHFJEV3.js";import"./PDM6CH37.js";import"./IB3ETAZV.js";import"./37DEXVCR.js";import"./YWQZU6B6.js";import{g as L,j as E}from"./SWEIKA4N.js";import{c as l,e as r,f as c}from"./EWZOYKQ3.js";import"./HNUIQ7IZ.js";import{a as g,b as _}from"./O7DFUJAV.js";import{b as k}from"./IMEGNZXQ.js";import{a as x}from"./2ILROAQZ.js";import{D as v,E as $,c as f,d as o,f as p,n as y,p as S,y as w,z as h}from"./SOMI2AAW.js";import"./O2UMUEEH.js";var I=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{e as l,f as o}from"./XOF7OPE4.js";import{d as g}from"./YFAJKSIJ.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
3
+ v1.0.0-next.20250618.1 */
4
+ import{e as l,f as o}from"./DYZGFY5X.js";import{d as g}from"./5SEG6ZB4.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import"./O2UMUEEH.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a}from"./NOZF3HXH.js";import{a as i}from"./M25C7SPS.js";import"./TYBAUCOP.js";import"./QRUZMTIP.js";import"./QLJVM7OF.js";import{a as l,b as r}from"./6WBKKEZS.js";import"./3D65T4GL.js";import"./KDEENWCA.js";import"./A6HCD5ST.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import{a as t}from"./VFIEMUU3.js";import"./CWUG3WIL.js";import"./W2J4GUF6.js";import"./G74NUZJA.js";import"./XXXT6FMN.js";import"./RCH6FSOO.js";import"./KQJONR6F.js";import"./RADAXSM4.js";import"./XXETI3KO.js";import"./E2QXOBX4.js";import"./OMM3CGWL.js";import"./6GUN3P64.js";import"./X3AKU22A.js";import"./K6EYSWK3.js";import"./K5ABIFBZ.js";import"./ECULEWGH.js";import"./U5SM65RP.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./XETQL72A.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import{a}from"./WEEW5J3L.js";import{a as i}from"./TIRLXBT3.js";import"./DAFU7J4K.js";import"./XYGC3GAD.js";import"./YDJEUHQO.js";import{a as l,b as r}from"./SEKMKSIL.js";import"./5RB5A7EC.js";import"./K3SFQS3G.js";import"./PDM6CH37.js";import"./IB3ETAZV.js";import"./37DEXVCR.js";import{a as t}from"./SRQQ7EAN.js";import"./VADJYPUJ.js";import"./EGKSG7TA.js";import"./XV3E5CCZ.js";import"./MZHBGZQK.js";import"./TJY3W6ZV.js";import"./F7KUGTUU.js";import"./HJ4Y6HPF.js";import"./PSKK6R7V.js";import"./WK34FXLR.js";import"./27IJK3XU.js";import"./4FYXKV37.js";import"./M62LQBTE.js";import"./2XC7LXEB.js";import"./WF2RAOLM.js";import"./FX4AQK2Q.js";import"./BT2SQ524.js";import"./BMITAUIB.js";import"./L4EB6CDR.js";import"./YFONVRE2.js";import"./YZVOT3TE.js";import"./G74J63ZD.js";import"./F4RH4VWK.js";import"./O2UMUEEH.js";var u=async(e,s,o)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.status.label`,scope:"/properties/status",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}}]}]},{type:"Section",labelKey:`${e}.sections.location.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await l(s.location,o.hubRequestOptions),options:await r(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:a(o.currentUser.groups),disabled:!i("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]});export{u as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{b as e}from"./X3AKU22A.js";import{a as r}from"./K6EYSWK3.js";import{a as t}from"./CJWPNHT5.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
3
+ v1.0.0-next.20250618.1 */
4
+ import{b as e}from"./M62LQBTE.js";import{a as r}from"./2XC7LXEB.js";import{a as t}from"./F4RH4VWK.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{j as n}from"./5XHVWCO6.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
3
+ v1.0.0-next.20250618.1 */
4
+ import{j as n}from"./67AB4WK2.js";async function l(e){try{let s=await e.fetch("json",{cacheBust:!0});return Promise.resolve(s)}catch{console.error("Unable to get resource t9n data.")}}async function w(e){if(!e)return null;let s=await e.fetchResources({num:100}),o=`t9n/${e?.id}.json`,i=await n({path:o,portalItem:e}),c=s.resources.filter(r=>r.resource.path===o);if(c.length===0){let r="application/json",a=new Blob([JSON.stringify({})],{type:r});try{await e.addResource(i,a);let t=await e.fetchResources(),u=`t9n/${e?.id}.json`,R=t.resources.filter(f=>f.resource.path===u)[0].resource;return Promise.resolve(R)}catch(t){return console.error("ERROR: ",t),await Promise.reject(new Error("Failed to add resource"))}}else{let r=c[0].resource;return await Promise.resolve(r)}}export{l as a,w as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import"./O2UMUEEH.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as u,b as m}from"./YTJ7HTKE.js";import{b as g}from"./4C5TKB2E.js";import{D as p,c as o,d as l,y as d}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var f=o`/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as u,b as m}from"./O7DFUJAV.js";import{b as g}from"./IMEGNZXQ.js";import{D as p,c as o,d as l,y as d}from"./SOMI2AAW.js";import"./O2UMUEEH.js";var f=o`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as t}from"./VFIEMUU3.js";import"./CWUG3WIL.js";import"./W2J4GUF6.js";import"./G74NUZJA.js";import"./XXXT6FMN.js";import"./RCH6FSOO.js";import"./KQJONR6F.js";import"./RADAXSM4.js";import"./XXETI3KO.js";import"./E2QXOBX4.js";import"./OMM3CGWL.js";import"./6GUN3P64.js";import"./X3AKU22A.js";import"./K6EYSWK3.js";import"./K5ABIFBZ.js";import"./ECULEWGH.js";import"./U5SM65RP.js";import"./BC4GIYFT.js";import"./2AH2EXXK.js";import"./XETQL72A.js";import"./CY5FNQOJ.js";import"./GQX5XJTO.js";import"./CJWPNHT5.js";import"./QEF6IQG7.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as t}from"./SRQQ7EAN.js";import"./VADJYPUJ.js";import"./EGKSG7TA.js";import"./XV3E5CCZ.js";import"./MZHBGZQK.js";import"./TJY3W6ZV.js";import"./F7KUGTUU.js";import"./HJ4Y6HPF.js";import"./PSKK6R7V.js";import"./WK34FXLR.js";import"./27IJK3XU.js";import"./4FYXKV37.js";import"./M62LQBTE.js";import"./2XC7LXEB.js";import"./WF2RAOLM.js";import"./FX4AQK2Q.js";import"./BT2SQ524.js";import"./BMITAUIB.js";import"./L4EB6CDR.js";import"./YFONVRE2.js";import"./YZVOT3TE.js";import"./G74J63ZD.js";import"./F4RH4VWK.js";import"./O2UMUEEH.js";var o=async(e,s,l)=>{let a=!s.hasMapQuestion;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.settings.label`,elements:[{labelKey:`${e}.fields.displayMap.label`,scope:"/properties/displayMap",type:"Control",rule:{effect:t.DISABLE,condition:{scope:"/properties/hasMapQuestion",schema:{const:!1}}},options:{control:"hub-field-input-tile-select",type:"radio",labels:[`{{${e}.fields.displayMap.enabled.label:translate}}`,`{{${e}.fields.displayMap.disabled.label:translate}}`],descriptions:[`{{${e}.fields.displayMap.enabled.description:translate}}`,`{{${e}.fields.displayMap.disabled.description:translate}}`],icons:["sidecar","form-elements"],layout:"horizontal"}},{type:"Notice",options:{notice:{configuration:{id:"map-question-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.fields.displayMap.notice.title:translate}}`,body:`{{${e}.fields.displayMap.notice.message:translate}}`,autoShow:!0}},rules:[{effect:t.SHOW,conditions:[a]}]}]}]}};export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as w}from"./5KG3QK35.js";import{e as E}from"./APOYUTRC.js";import{B as y,C as b}from"./5XHVWCO6.js";import"./VGF62Y4X.js";import{a as F,c as l,d as C,e as x,f as m}from"./D4PB3INZ.js";import"./QEF6IQG7.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"b46732d02815e1ccd7f9355daf5470b0e5080918",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"0b6b2021c89c4aa78f8a23d34363520a1ebdf21c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"70bd30b6dc8d0eada179abf13b713e8df852f059",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],expanded:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],expanded:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,title:this.messages?.resetDatePicker,scale:"s"}))):void 0}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("calcite-action",{id:t,slot:"actions-end",appearance:"transparent",text:this.messages?.zoomTo,title:this.messages?.zoomTo,scale:"s",icon:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)}):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map?.findLayerById(n)??this.view.map?.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as w}from"./DVMZWZNK.js";import{e as E}from"./2QW5BNYG.js";import{B as y,C as b}from"./67AB4WK2.js";import"./WXIC5V6X.js";import{a as F,c as l,d as C,e as x,f as m}from"./DUAH255O.js";import"./O2UMUEEH.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:65px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"b46732d02815e1ccd7f9355daf5470b0e5080918",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"0b6b2021c89c4aa78f8a23d34363520a1ebdf21c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"70bd30b6dc8d0eada179abf13b713e8df852f059",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],expanded:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],expanded:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,title:this.messages?.resetDatePicker,scale:"s"}))):void 0}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("calcite-action",{id:t,slot:"actions-end",appearance:"transparent",text:this.messages?.zoomTo,title:this.messages?.zoomTo,scale:"s",icon:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)}):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map?.findLayerById(n)??this.view.map?.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map?.allLayers.concat(this.view.map?.allTables)?.find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618.1 */
4
4
  var i=n=>{var l;return((l=n.links)===null||l===void 0?void 0:l.thumbnail)||n.thumbnailUrl};export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.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/isDiscussable",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};
3
+ v1.0.0-next.20250618.1 */
4
+ import"./O2UMUEEH.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/isDiscussable",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,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as _}from"./FR2M6XQY.js";import"./23SLJ7VB.js";import{c as g,g as $,j as F}from"./SAICGJDS.js";import{e as d}from"./D4Y3AUY2.js";import{a as E,d as O,f as T}from"./E3TL2DBA.js";import{a as u,b as p}from"./YTJ7HTKE.js";import{b as I}from"./4C5TKB2E.js";import{a as k}from"./663C7SFX.js";import{A as V,D as G,c as L,d as c,n as S,p as v,y as C,z as y}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var N=L`@layer{/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as _}from"./WFR3PXSW.js";import"./EY52J72L.js";import{c as g,g as $,j as F}from"./SWEIKA4N.js";import{e as d}from"./EWZOYKQ3.js";import{a as E,d as O,f as T}from"./HNUIQ7IZ.js";import{a as u,b as p}from"./O7DFUJAV.js";import{b as I}from"./IMEGNZXQ.js";import{a as k}from"./2ILROAQZ.js";import{A as V,D as G,c as L,d as c,n as S,p as v,y as C,z as y}from"./SOMI2AAW.js";import"./O2UMUEEH.js";var N=L`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import"./O2UMUEEH.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618.1 */
4
4
  function u(r,t={}){return(...e)=>r(...e).catch(n=>t)}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as t}from"./4WDFKQEA.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as t}from"./IB3ETAZV.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as U}from"./YXTRE2YJ.js";import{a as h}from"./M5SMNJVJ.js";import{b as m}from"./KH4WDPKH.js";import{b as t,d as l,e as d}from"./JMAXO5DC.js";import{a as N}from"./5Y5FK43G.js";import{c as A}from"./G74NUZJA.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as U}from"./CMLCPPNQ.js";import{a as h}from"./CNNZEBLF.js";import{b as m}from"./MY6L5L57.js";import{b as t,d as l,e as d}from"./2B2GYFSL.js";import{a as N}from"./73H7XOOM.js";import{c as A}from"./XV3E5CCZ.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618.1 */
4
4
  var u="::",r="|";function c(t){return t.indexOf(r)>-1&&(t=t.replace(r,u)),t}function f(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var i="~",p=256,o="slug";function S(t,e,n=0){return[o,e.toLowerCase(),t].join("|").substring(0,p-n).replace(/-+$/,"").replace(new RegExp(`^${o}\\|`),"")}function _(t){let e=`${o}|${t}|`;return p-e.length}var a=(t,e)=>`${t.split(r).pop()}${i}${e}`;export{f as a,c as b,o as c,S as d,_ as e,a as f};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as r}from"./TZ6NWBWT.js";import"./23SLJ7VB.js";import"./NRHTETGA.js";import"./GXDC6HF3.js";import"./EQ7WODGK.js";import"./XOF7OPE4.js";import"./DPWQI5EE.js";import"./6GBOMWNM.js";import"./WL25ONRI.js";import"./YFAJKSIJ.js";import"./TYBAUCOP.js";import"./QLJVM7OF.js";import"./DRXKNSYY.js";import"./JAPFIMJD.js";import"./PJGGTO5X.js";import"./7ZWOBQSP.js";import"./KDEENWCA.js";import"./3QX3UFD6.js";import"./A6HCD5ST.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import"./D4Y3AUY2.js";import{a as d}from"./663C7SFX.js";import{D as p,c as h,d as n,f as a,y as l}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var g=h`/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as r}from"./EJLW4JV3.js";import"./EY52J72L.js";import"./FC4KGDP5.js";import"./WTSSBTYD.js";import"./PVWZATYG.js";import"./DYZGFY5X.js";import"./Y4ADZQLA.js";import"./PVFJ6K6W.js";import"./5Q3XETDO.js";import"./5SEG6ZB4.js";import"./DAFU7J4K.js";import"./YDJEUHQO.js";import"./BBAQTD4M.js";import"./G5SYJQGV.js";import"./ZM7CSJ7J.js";import"./V44FLEND.js";import"./K3SFQS3G.js";import"./SHHFJEV3.js";import"./PDM6CH37.js";import"./IB3ETAZV.js";import"./37DEXVCR.js";import"./EWZOYKQ3.js";import{a as d}from"./2ILROAQZ.js";import{D as p,c as h,d as n,f as a,y as l}from"./SOMI2AAW.js";import"./O2UMUEEH.js";var g=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as e}from"./M25C7SPS.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as e}from"./TIRLXBT3.js";function l(a,s){return{hubGroup:{access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{access:"org",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{l as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
3
+ v1.0.0-next.20250618.1 */
4
4
  var i=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function r(t){return t.default!==void 0}async function I(){if(i)return await window.$arcgis.import("esri/identity/IdentityManager");let t=await $arcgis.t(m=>m[0],"identity/IdentityManager");return r(t)?t.default:t}async function e(){if(i)return await window.$arcgis.import("esri/core/Collection");let t=await $arcgis.t(m=>m[0],"core/Collection");return r(t)?t.default:t}async function L(t){let n=await e();return new n(t)}async function o(){if(i)return await window.$arcgis.import("esri/core/Handles");let t=await $arcgis.t(m=>m[0],"core/Handles");return r(t)?t.default:t}async function T(){let t=await o();return new t}async function a(){if(i)return await window.$arcgis.import("esri/geometry/Point");let t=await $arcgis.t(m=>m[0],"geometry/Point");return r(t)?t.default:t}async function E(t){let n=await a();return new n(t)}async function s(){if(i)return await window.$arcgis.import("esri/geometry/SpatialReference");let t=await $arcgis.t(m=>m[0],"geometry/SpatialReference");return r(t)?t.default:t}async function b(t){let n=await s();return new n(t)}async function u(){if(i)return await window.$arcgis.import("esri/identity/OAuthInfo");let t=await $arcgis.t(m=>m[0],"identity/OAuthInfo");return r(t)?t.default:t}async function F(t){let n=await u();return new n(t)}async function c(){if(i)return await window.$arcgis.import("esri/layers/support/FeatureEffect");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureEffect");return r(t)?t.default:t}async function P(t){let n=await c();return new n(t)}async function w(){if(i)return await window.$arcgis.import("esri/layers/support/FeatureFilter");let t=await $arcgis.t(m=>m[0],"layers/support/FeatureFilter");return r(t)?t.default:t}async function x(t){let n=await w();return new n(t)}async function d(){if(i)return await window.$arcgis.import("esri/portal/PortalItemResource");let t=await $arcgis.t(m=>m[0],"portal/PortalItemResource");return r(t)?t.default:t}async function R(t){let n=await d();return new n(t)}async function m(){if(i)return await window.$arcgis.import("esri/time/TimeExtent");let t=await $arcgis.t(m=>m[0],"time/TimeExtent");return r(t)?t.default:t}async function G(t){let n=await m();return new n(t)}async function p(){if(i)return await window.$arcgis.import("esri/time/TimeInterval");let t=await $arcgis.t(m=>m[0],"time/TimeInterval");return r(t)?t.default:t}async function U(t){let n=await p();return new n(t)}async function f(){if(i)return await window.$arcgis.import("esri/WebMap");let t=await $arcgis.t(m=>m[0],"WebMap");return r(t)?t.default:t}async function j(t){let n=await f();return new n(t)}async function l(){if(i)return await window.$arcgis.import("esri/widgets/Compass");let t=await $arcgis.t(m=>m[0],"widgets/Compass");return r(t)?t.default:t}async function A(t){let n=await l();return new n(t)}async function g(){if(i)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion");return r(t)?t.default:t}async function h(t){let n=await g();return new n(t)}async function y(){if(i)return await window.$arcgis.import("esri/widgets/CoordinateConversion/support/Conversion");let t=await $arcgis.t(m=>m[0],"widgets/CoordinateConversion/support/Conversion");return r(t)?t.default:t}async function q(t){let n=await y();return new n(t)}async function C(){if(i)return await window.$arcgis.import("esri/widgets/Expand");let t=await $arcgis.t(m=>m[0],"widgets/Expand");return r(t)?t.default:t}async function D(t){let n=await C();return new n(t)}async function M(){if(i)return await window.$arcgis.import("esri/widgets/Legend");let t=await $arcgis.t(m=>m[0],"widgets/Legend");return r(t)?t.default:t}async function H(t){let n=await M();return new n(t)}async function $(){if(i)return await window.$arcgis.import("esri/widgets/Legend/LegendViewModel");let t=await $arcgis.t(m=>m[0],"widgets/Legend/LegendViewModel");return r(t)?t.default:t}async function O(t){let n=await $();return new n(t)}async function W(){if(i)return await window.$arcgis.import("esri/widgets/Measurement");let t=await $arcgis.t(m=>m[0],"widgets/Measurement");return r(t)?t.default:t}async function V(t){let n=await W();return new n(t)}async function S(){if(i)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await $arcgis.t(m=>m[0],"widgets/TimeSlider");return r(t)?t.default:t}async function k(t){let n=await S();return new n(t)}async function v(){if(i)return await window.$arcgis.import("esri/widgets/Widget");let t=await $arcgis.t(m=>m[0],"widgets/Widget");return r(t)?t.default:t}async function z(t){let n=await v();return new n(t)}async function B(){if(i)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await $arcgis.t(m=>m[0],"core/reactiveUtils");return r(t)?t.default:t}async function J(){if(i)return await window.$arcgis.import("esri/geometry/projection");let t=await $arcgis.t(m=>m[0],"geometry/projection");return r(t)?t.default:t}async function K(){if(i)return await window.$arcgis.import("esri/geometry/support/jsonUtils");let t=await $arcgis.t(m=>m[0],"geometry/support/jsonUtils");return r(t)?t.default:t}async function N(){if(i)return await window.$arcgis.import("esri/intl");let t=await $arcgis.t(m=>m[0],"intl");return r(t)?t.default:t}async function Q(){if(i)return await window.$arcgis.import("esri/request");let t=await $arcgis.t(m=>m[0],"request");return r(t)?t.default:t}async function X(){if(i)return await window.$arcgis.import("esri/symbols/support/symbolUtils");let t=await $arcgis.t(m=>m[0],"symbols/support/symbolUtils");return r(t)?t.default:t}export{I as a,L as b,T as c,E as d,b as e,F as f,c as g,P as h,x as i,R as j,G as k,U as l,j as m,A as n,g as o,h as p,y as q,q as r,D as s,H as t,O as u,W as v,V as w,k as x,z as y,B as z,J as A,K as B,N as C,Q as D,X as E};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./NYMSLH3X.js";import e from"./7NHKBJT7.js";import{a as x,b as a,c as C,d as w,e as d}from"./66U7ORWN.js";import{a as m,b as _,c as v}from"./ZQKLLV2Y.js";import"./NRHTETGA.js";import"./GXDC6HF3.js";import"./EQ7WODGK.js";import"./XOF7OPE4.js";import"./DPWQI5EE.js";import"./6GBOMWNM.js";import"./WL25ONRI.js";import"./YFAJKSIJ.js";import"./TYBAUCOP.js";import"./QLJVM7OF.js";import"./DRXKNSYY.js";import"./JAPFIMJD.js";import"./PJGGTO5X.js";import"./7ZWOBQSP.js";import"./KDEENWCA.js";import"./3QX3UFD6.js";import"./A6HCD5ST.js";import"./4WDFKQEA.js";import"./4M2BSB7U.js";import{a as y,b}from"./YTJ7HTKE.js";import{a as g}from"./663C7SFX.js";import{A as o,B as c,D as f,c as h,d as i,n,w as l,y as u}from"./5I7W3EVF.js";import"./QEF6IQG7.js";export default $arcgis.t(([S])=>{var k=h`/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import"./7LYZPZHS.js";import e from"./A4CHRBGU.js";import{a as x,b as a,c as C,d as w,e as d}from"./M5HIWWVR.js";import{a as m,b as _,c as v}from"./IXSWEW6F.js";import"./FC4KGDP5.js";import"./WTSSBTYD.js";import"./PVWZATYG.js";import"./DYZGFY5X.js";import"./Y4ADZQLA.js";import"./PVFJ6K6W.js";import"./5Q3XETDO.js";import"./5SEG6ZB4.js";import"./DAFU7J4K.js";import"./YDJEUHQO.js";import"./BBAQTD4M.js";import"./G5SYJQGV.js";import"./ZM7CSJ7J.js";import"./V44FLEND.js";import"./K3SFQS3G.js";import"./SHHFJEV3.js";import"./PDM6CH37.js";import"./IB3ETAZV.js";import"./37DEXVCR.js";import{a as y,b}from"./O7DFUJAV.js";import{a as g}from"./2ILROAQZ.js";import{A as o,B as c,D as f,c as h,d as i,n,w as l,y as u}from"./SOMI2AAW.js";import"./O2UMUEEH.js";export default $arcgis.t(([S])=>{var k=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as l,b as a}from"./YTJ7HTKE.js";import{b}from"./4C5TKB2E.js";import{a as f}from"./663C7SFX.js";import{D as u,c as _,d as h,f as c,y as w,z as o}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var $=_`/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as l,b as a}from"./O7DFUJAV.js";import{b}from"./IMEGNZXQ.js";import{a as f}from"./2ILROAQZ.js";import{D as u,c as _,d as h,f as c,y as w,z as o}from"./SOMI2AAW.js";import"./O2UMUEEH.js";var $=_`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import"./O2UMUEEH.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import"./QEF6IQG7.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
3
+ v1.0.0-next.20250618.1 */
4
+ import"./O2UMUEEH.js";var i=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.discussionSettings.moderation.label",elements:[{labelKey:"shared.fields.discussable.label",scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",labels:["{{shared.fields.discussable.enabled.label:translate}}",`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:["{{shared.fields.discussable.disabled.label:translate}}",`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],layout:"horizontal",styles:{"max-width":"45rem"},type:"radio"}}]}]});export{i as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250617 */
4
- import{a as n,b as m}from"./YTJ7HTKE.js";import{b as l}from"./4C5TKB2E.js";import{D as o,c as t,d as r,y as p}from"./5I7W3EVF.js";import"./QEF6IQG7.js";var h=t`/** @license
3
+ v1.0.0-next.20250618.1 */
4
+ import{a as n,b as m}from"./O7DFUJAV.js";import{b as l}from"./IMEGNZXQ.js";import{D as o,c as t,d as r,y as p}from"./SOMI2AAW.js";import"./O2UMUEEH.js";var h=t`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");