@esri/solutions-components 1.1.0-next.20251007.1 → 1.1.0-next.20251008

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 (461) hide show
  1. package/dist/cdn/22HOZHYX.js +4 -0
  2. package/dist/cdn/{JCWR4TWW.js → 25STH4FV.js} +2 -2
  3. package/dist/cdn/{YR3KFLNK.js → 263SV4HF.js} +1 -1
  4. package/dist/cdn/{T5XIUPXJ.js → 2BAELQ2B.js} +2 -2
  5. package/dist/cdn/{3HKMAZ7P.js → 2EF5YORW.js} +2 -2
  6. package/dist/cdn/{VC7JUA25.js → 2KTV6DNT.js} +2 -2
  7. package/dist/cdn/{2JPHX4SI.js → 2L3BXXVO.js} +2 -2
  8. package/dist/cdn/{DBL73LBF.js → 2LK6LIO5.js} +2 -2
  9. package/dist/cdn/{QFSXTIFX.js → 2N6QQ6SY.js} +2 -2
  10. package/dist/cdn/{NFKSCTP6.js → 2QQAS4R2.js} +2 -2
  11. package/dist/cdn/{4CAOPIEU.js → 2SH7WOTJ.js} +2 -2
  12. package/dist/cdn/{MABSRXW6.js → 2SJENBGK.js} +2 -2
  13. package/dist/cdn/{LRBCBZRO.js → 2Y2GJJC3.js} +2 -2
  14. package/dist/cdn/{2XKY7VRX.js → 2ZNOUB6W.js} +1 -1
  15. package/dist/cdn/{JTBFE7YA.js → 36E4KEBV.js} +2 -2
  16. package/dist/cdn/{QQNIUC7N.js → 374NLSIQ.js} +2 -2
  17. package/dist/cdn/{BFOMDLQR.js → 3OL3LYTL.js} +2 -2
  18. package/dist/cdn/{STLOP6CJ.js → 3TQQK7PR.js} +2 -2
  19. package/dist/cdn/{HEHJKFLZ.js → 3WYRUOQV.js} +2 -2
  20. package/dist/cdn/{F2GUNTZS.js → 42CEBWL3.js} +2 -2
  21. package/dist/cdn/{ZCQZCQRA.js → 45SM5GZH.js} +2 -2
  22. package/dist/cdn/{RRW7XCIA.js → 47FKRLN3.js} +2 -2
  23. package/dist/cdn/{JQ6UI5DX.js → 4A3TOTX4.js} +2 -2
  24. package/dist/cdn/{3RLT36PX.js → 4NWKDPWF.js} +2 -2
  25. package/dist/cdn/{J5CQZYBN.js → 4OYX2EDV.js} +2 -2
  26. package/dist/cdn/{OVHCX5V6.js → 4PNQRCRH.js} +2 -2
  27. package/dist/cdn/{S7YJOERY.js → 4QB7LJGO.js} +2 -2
  28. package/dist/cdn/{LEA3NJJT.js → 4SNILCIZ.js} +2 -2
  29. package/dist/cdn/{WKHVDG5Y.js → 4YDLQWYV.js} +2 -2
  30. package/dist/cdn/{34LYISA3.js → 54N6KCW5.js} +1 -1
  31. package/dist/cdn/{TJSIZLLY.js → 57QWWLMF.js} +2 -2
  32. package/dist/cdn/{5J7ZEQ2M.js → 5BFBQDAX.js} +2 -2
  33. package/dist/cdn/{R7HB6UKH.js → 5DY37DLG.js} +2 -2
  34. package/dist/cdn/{PBB762NR.js → 5IDSR36K.js} +2 -2
  35. package/dist/cdn/{J4RPWXAZ.js → 5L4OVBYY.js} +2 -2
  36. package/dist/cdn/{HQ6LUKCF.js → 5LX2D35I.js} +2 -2
  37. package/dist/cdn/{RCTGL2FP.js → 5M7LHGH5.js} +2 -2
  38. package/dist/cdn/{UJILZPVR.js → 5TQPWXSR.js} +2 -2
  39. package/dist/cdn/{CDDJYJ5L.js → 5XAMNT64.js} +2 -2
  40. package/dist/cdn/{2IQTEPJZ.js → 5YDUOHOV.js} +2 -2
  41. package/dist/cdn/{ZMNQWO6W.js → 623QMCWN.js} +2 -2
  42. package/dist/cdn/{LTIDIJED.js → 6SPEIDJ5.js} +2 -2
  43. package/dist/cdn/{IX75FB6F.js → 6UVMKSM6.js} +2 -2
  44. package/dist/cdn/{ZR6UK3UQ.js → 6YUA724T.js} +2 -2
  45. package/dist/cdn/{DWRK4ASH.js → 7B43KCMJ.js} +2 -2
  46. package/dist/cdn/{K4A3KV5F.js → 7CXVN7JC.js} +2 -2
  47. package/dist/cdn/{YVDGEJ2V.js → 7D7PLTZ4.js} +2 -2
  48. package/dist/cdn/{RNW4CN66.js → 7DWTV2LQ.js} +1 -1
  49. package/dist/cdn/{H57LSFQD.js → 7E5346VE.js} +2 -2
  50. package/dist/cdn/{HWA4KP7B.js → 7JDWKOEP.js} +2 -2
  51. package/dist/cdn/{23RNYCUX.js → 7QOJ6BUQ.js} +2 -2
  52. package/dist/cdn/{G7E4MRCF.js → 7WSAYORV.js} +2 -2
  53. package/dist/cdn/A2SOYARZ.js +4 -0
  54. package/dist/cdn/{XUNDEPWU.js → A37NFP5A.js} +2 -2
  55. package/dist/cdn/{2JDTOOWA.js → A5VQCLH7.js} +2 -2
  56. package/dist/cdn/{IIEAS4PG.js → A7TMB3QO.js} +2 -2
  57. package/dist/cdn/{KQMB6PS2.js → AB2P367V.js} +2 -2
  58. package/dist/cdn/{UORRX6O6.js → AFR63NC6.js} +2 -2
  59. package/dist/cdn/{LGFUKV3N.js → AMNWNL4P.js} +2 -2
  60. package/dist/cdn/{NBPA6RIJ.js → ANAUQEPH.js} +2 -2
  61. package/dist/cdn/{UJ4Y66SF.js → ANGKYR7S.js} +2 -2
  62. package/dist/cdn/{GVG6ZDPJ.js → ANZA36SE.js} +1 -1
  63. package/dist/cdn/{5O442EOV.js → APLZT37S.js} +2 -2
  64. package/dist/cdn/{6NQMSBTC.js → AQAS2VQU.js} +2 -2
  65. package/dist/cdn/{UGCF4OIU.js → AUSMFDSO.js} +2 -2
  66. package/dist/cdn/{GQXZWV6G.js → AVPIETYT.js} +2 -2
  67. package/dist/cdn/{RY5P5BOU.js → B3HR5WXG.js} +2 -2
  68. package/dist/cdn/{FJRO4BGU.js → B6S6Q4VM.js} +2 -2
  69. package/dist/cdn/{GVJ62BVM.js → BDQFIIOP.js} +2 -2
  70. package/dist/cdn/{AOIBL2RW.js → BEBRHZ2J.js} +2 -2
  71. package/dist/cdn/{HZX2QANF.js → BGSIHZYK.js} +2 -2
  72. package/dist/cdn/{UCIJ7OPK.js → BL3ABOXI.js} +2 -2
  73. package/dist/cdn/{VKSJKOE2.js → BLAQKSE6.js} +2 -2
  74. package/dist/cdn/{NAM7IFVX.js → BTRVTK3N.js} +2 -2
  75. package/dist/cdn/{M3YEP4VL.js → C2SRKJY7.js} +2 -2
  76. package/dist/cdn/{B5IQKISE.js → CC7TCB4L.js} +2 -2
  77. package/dist/cdn/{4OSFXM5I.js → CDUOU5I4.js} +2 -2
  78. package/dist/cdn/{GDEFDXOK.js → CGO5LGR7.js} +2 -2
  79. package/dist/cdn/{7BHBEVAM.js → CJFSFE4Q.js} +1 -1
  80. package/dist/cdn/{DI5J2CFS.js → COEKS3L4.js} +2 -2
  81. package/dist/cdn/{QTCBCQZ2.js → COOGOQHS.js} +2 -2
  82. package/dist/cdn/{E64NA5IJ.js → CPJVO4SH.js} +2 -2
  83. package/dist/cdn/{G7ZYRIBV.js → CQTWI4PI.js} +2 -2
  84. package/dist/cdn/{SPDKTODN.js → CQUVF2LM.js} +2 -2
  85. package/dist/cdn/{Q2VEBPMP.js → CYOMKXQH.js} +2 -2
  86. package/dist/cdn/{PZIZHAUI.js → CZSGGEZF.js} +1 -1
  87. package/dist/cdn/{MSKGANWQ.js → D24CA6LL.js} +2 -2
  88. package/dist/cdn/{3VXZONLC.js → DAYQPNTV.js} +2 -2
  89. package/dist/cdn/{IU7QMDBW.js → DBJPHEAI.js} +2 -2
  90. package/dist/cdn/{BYS6RPZ2.js → DDRZWXLZ.js} +2 -2
  91. package/dist/cdn/{GMAB24CO.js → DOLZSVSX.js} +2 -2
  92. package/dist/cdn/{MTR7Y7K2.js → DQAWVIZ7.js} +2 -2
  93. package/dist/cdn/{PV7JIFLO.js → DQDVULCQ.js} +2 -2
  94. package/dist/cdn/{TEASRN7Y.js → DXNMODEI.js} +2 -2
  95. package/dist/cdn/{DYB57UXW.js → DYBE22PJ.js} +1 -1
  96. package/dist/cdn/{OYBWUNBR.js → E2MZSR7U.js} +2 -2
  97. package/dist/cdn/{3N4ZRI2R.js → E2VLBYBH.js} +1 -1
  98. package/dist/cdn/{HXPCAYJ4.js → E5LNTRL7.js} +2 -2
  99. package/dist/cdn/{KTHYYGAI.js → ECOUV44T.js} +1 -1
  100. package/dist/cdn/EDGP2MKC.js +4 -0
  101. package/dist/cdn/{P5IYMZPU.js → EDUNXFWF.js} +2 -2
  102. package/dist/cdn/{SBQBYF4K.js → ELVJVOF7.js} +2 -2
  103. package/dist/cdn/{DLS6LBMG.js → EPVSXMMR.js} +2 -2
  104. package/dist/cdn/{OFKVPYAH.js → ET7554LK.js} +2 -2
  105. package/dist/cdn/{5DCSTFQL.js → EU4DOU3Q.js} +2 -2
  106. package/dist/cdn/{345KHFAP.js → F3FOBCCL.js} +2 -2
  107. package/dist/cdn/{EVLATB2D.js → F5VNMPDE.js} +2 -2
  108. package/dist/cdn/{DTUV2SZQ.js → FJCFCDT4.js} +1 -1
  109. package/dist/cdn/{HDQRTX7R.js → FL6BD6TD.js} +2 -2
  110. package/dist/cdn/{RQQGLISY.js → FMQHATJ4.js} +2 -2
  111. package/dist/cdn/{LRLICM5M.js → FMWXSSZ4.js} +2 -2
  112. package/dist/cdn/{TXOENDRN.js → FN2OHJMA.js} +2 -2
  113. package/dist/cdn/{XROGQBEM.js → FP2X4HGU.js} +2 -2
  114. package/dist/cdn/{NFZQVDQY.js → FQCEMQLK.js} +2 -2
  115. package/dist/cdn/{ZCZDGBZT.js → FWHGSXC7.js} +2 -2
  116. package/dist/cdn/{6UA7MGMQ.js → G2WTF5L7.js} +2 -2
  117. package/dist/cdn/{WIKHUM7W.js → G3OWUZUL.js} +1 -1
  118. package/dist/cdn/{X4GJCR5U.js → GAF7MRHW.js} +2 -2
  119. package/dist/cdn/{DGG2R6PP.js → GEJYMCY4.js} +1 -1
  120. package/dist/cdn/{5RXTZLQN.js → GEWPH5ED.js} +2 -2
  121. package/dist/cdn/{DVEARR2O.js → GF2M5LOG.js} +1 -1
  122. package/dist/cdn/{PNMWHG2A.js → GFS4R63J.js} +2 -2
  123. package/dist/cdn/{WYPW3YEU.js → GI4NERHI.js} +2 -2
  124. package/dist/cdn/{KWQLECX2.js → GIMIQHFZ.js} +1 -1
  125. package/dist/cdn/{4JV2VXKH.js → GNGZYRK5.js} +2 -2
  126. package/dist/cdn/{DI6ZYUOP.js → GOSQMPLD.js} +2 -2
  127. package/dist/cdn/{4KRZ5XHU.js → GP4O5WSB.js} +2 -2
  128. package/dist/cdn/{CH3UFK6C.js → GRXEIRTE.js} +2 -2
  129. package/dist/cdn/{UGP753AZ.js → GSPU2UNM.js} +2 -2
  130. package/dist/cdn/GYSALAOZ.js +18 -0
  131. package/dist/cdn/H3SLHGJW.js +18 -0
  132. package/dist/cdn/{73EFR23S.js → H42IJHAX.js} +2 -2
  133. package/dist/cdn/{BFFYBBYG.js → H4WXQMTT.js} +2 -2
  134. package/dist/cdn/{5GWC7QG2.js → HBBXC2RM.js} +2 -2
  135. package/dist/cdn/{K3NGXIK7.js → HCXJO4ZV.js} +2 -2
  136. package/dist/cdn/{57TU2757.js → HFMYMAZO.js} +2 -2
  137. package/dist/cdn/{DFILBYHH.js → HGIEQRFC.js} +2 -2
  138. package/dist/cdn/{QICKVKJ3.js → HH54CNIV.js} +2 -2
  139. package/dist/cdn/{P2LJZ4R7.js → HPCUUO33.js} +1 -1
  140. package/dist/cdn/{UULSSUP6.js → HVMHED6V.js} +2 -2
  141. package/dist/cdn/{6QXPQNVW.js → HWYOXZWU.js} +2 -2
  142. package/dist/cdn/{EXJGT27X.js → HZ23755H.js} +2 -2
  143. package/dist/cdn/{TU6YWCRM.js → HZXKVSID.js} +2 -2
  144. package/dist/cdn/{ESJZHLJI.js → I2HXAHV6.js} +2 -2
  145. package/dist/cdn/{AE5B7BUN.js → I6RK367K.js} +2 -2
  146. package/dist/cdn/{I4DJ4JRG.js → I7TITAT7.js} +2 -2
  147. package/dist/cdn/{BXYGEACI.js → IENRYNZD.js} +2 -2
  148. package/dist/cdn/{IZG3RDWO.js → IG5F5THG.js} +2 -2
  149. package/dist/cdn/{L5L5B3F7.js → IGET5O6R.js} +2 -2
  150. package/dist/cdn/{QUTZBGPK.js → IHHCLWCL.js} +2 -2
  151. package/dist/cdn/{MUI3SV2F.js → IM6X6CEL.js} +1 -1
  152. package/dist/cdn/{GULWP3VY.js → IMUYTCYZ.js} +1 -1
  153. package/dist/cdn/{QZIXBRKD.js → IPA4TRIC.js} +2 -2
  154. package/dist/cdn/{EKX2N43V.js → IQ6TRK4L.js} +2 -2
  155. package/dist/cdn/{KN3W5O5A.js → IRYYSNTA.js} +2 -2
  156. package/dist/cdn/{TAW7AKE2.js → IY6WWNIE.js} +1 -1
  157. package/dist/cdn/{NPPBXCED.js → IZESOTQ5.js} +2 -2
  158. package/dist/cdn/{7FTQ4TRE.js → IZT7SBVB.js} +2 -2
  159. package/dist/cdn/{RF4OY5XZ.js → J2SHXZLC.js} +2 -2
  160. package/dist/cdn/{7AGOME7H.js → J4URZEGS.js} +2 -2
  161. package/dist/cdn/{RPLMPA4K.js → J7IIBYLE.js} +2 -2
  162. package/dist/cdn/{BZWC5JDO.js → J7NZ7TAB.js} +2 -2
  163. package/dist/cdn/{EX7YXNQ4.js → J7VZH6OU.js} +2 -2
  164. package/dist/cdn/{2REXDZPZ.js → JCUUEAUP.js} +2 -2
  165. package/dist/cdn/{34FJLUMK.js → JEFNAYRC.js} +2 -2
  166. package/dist/cdn/{SMDTMEBE.js → JEW4GF3X.js} +2 -2
  167. package/dist/cdn/{IWEQMWUA.js → JHLJUNXJ.js} +2 -2
  168. package/dist/cdn/{5AU3UVVI.js → JO2YIPSA.js} +2 -2
  169. package/dist/cdn/{EQAAQXEV.js → JOOKJHEK.js} +2 -2
  170. package/dist/cdn/{QR2SQTCH.js → JOR5XTA7.js} +2 -2
  171. package/dist/cdn/{GJYAJRU4.js → JP6YXAPE.js} +2 -2
  172. package/dist/cdn/{YHJCXSZM.js → JQUH7OAI.js} +2 -2
  173. package/dist/cdn/{JPSXG3OI.js → JTVAOAZ7.js} +2 -2
  174. package/dist/cdn/{UBMWX24K.js → JWSJC4JO.js} +2 -2
  175. package/dist/cdn/{EKKF5NYB.js → KISUUVHL.js} +2 -2
  176. package/dist/cdn/{SVLZC43Y.js → KJZHHJQ5.js} +2 -2
  177. package/dist/cdn/{IKQVO7HX.js → KTV27UYP.js} +2 -2
  178. package/dist/cdn/{7BHDIJKI.js → KVQZP6O4.js} +2 -2
  179. package/dist/cdn/{3EWQDBJH.js → KYHIL5F4.js} +2 -2
  180. package/dist/cdn/{ZCEFL75O.js → L6BR25YZ.js} +1 -1
  181. package/dist/cdn/{TFAY3XOM.js → LAGZ2SQ3.js} +2 -2
  182. package/dist/cdn/LBLOOCAJ.js +4 -0
  183. package/dist/cdn/{ZKZ2XXJ5.js → LD2YG4B3.js} +1 -1
  184. package/dist/cdn/{WPKL5LOX.js → LFOXHOWK.js} +2 -2
  185. package/dist/cdn/{3ZLTU5S3.js → LKYGCBTO.js} +2 -2
  186. package/dist/cdn/{VAHPHPAM.js → LL7K7GIF.js} +2 -2
  187. package/dist/cdn/{DJUAK5MT.js → LMADLYWT.js} +2 -2
  188. package/dist/cdn/{QNQNS3YE.js → LMRAWAJ5.js} +2 -2
  189. package/dist/cdn/{KPOOC4MV.js → LPARSJGC.js} +2 -2
  190. package/dist/cdn/{GA5JF4P7.js → LQAZAPET.js} +2 -2
  191. package/dist/cdn/{OGNRB6E5.js → LQL2QL7Z.js} +2 -2
  192. package/dist/cdn/{B35SCOYC.js → LRA2CSKG.js} +1 -1
  193. package/dist/cdn/{2BRFHP6L.js → LS63AKYZ.js} +2 -2
  194. package/dist/cdn/{4W6APK4T.js → M44X66YE.js} +2 -2
  195. package/dist/cdn/{KT4U4H5W.js → M4XLFOSN.js} +2 -2
  196. package/dist/cdn/{OLJB5ZX6.js → M4YVUIRX.js} +2 -2
  197. package/dist/cdn/{UZMJJZUY.js → ML4GADOT.js} +2 -2
  198. package/dist/cdn/{BJMGBP2V.js → MM5ZJPEL.js} +3 -3
  199. package/dist/cdn/{RMJIAKHU.js → MMFULDI7.js} +1 -1
  200. package/dist/cdn/{BKVX5QXH.js → MNFNMNHC.js} +2 -2
  201. package/dist/cdn/{AJVXYTUE.js → MNLAU654.js} +2 -2
  202. package/dist/cdn/{OG4CBZGX.js → MTSR3QI3.js} +2 -2
  203. package/dist/cdn/{LCV7OVBM.js → MTVIEZFJ.js} +1 -1
  204. package/dist/cdn/{WZEK7EH3.js → MVJ6KPI4.js} +2 -2
  205. package/dist/cdn/{MEW5LPR4.js → MYCZWDNE.js} +2 -2
  206. package/dist/cdn/{5XRHV2ZL.js → N66TSCL2.js} +2 -2
  207. package/dist/cdn/{ZGDN65OM.js → N7UJGANS.js} +2 -2
  208. package/dist/cdn/{6POPEKGV.js → NAHN46XY.js} +2 -2
  209. package/dist/cdn/{NLHAWQMM.js → ND2ICMWM.js} +2 -2
  210. package/dist/cdn/{EP6GQK76.js → NFBCBMDM.js} +2 -2
  211. package/dist/cdn/{AMNEPKZH.js → NHJBWAQB.js} +2 -2
  212. package/dist/cdn/{6H3E6UDA.js → NQU5NMT4.js} +2 -2
  213. package/dist/cdn/{YUQNIMR3.js → NRAACAEG.js} +2 -2
  214. package/dist/cdn/{WJ7A5A7U.js → NS6VPU4I.js} +1 -1
  215. package/dist/cdn/{GTPYKXHI.js → NVCH434R.js} +2 -2
  216. package/dist/cdn/{ZVXYK72X.js → NVUDY5NV.js} +2 -2
  217. package/dist/cdn/{2IUHBPHJ.js → NWOQI5RY.js} +2 -2
  218. package/dist/cdn/{PUWI27EJ.js → NXOJQH57.js} +2 -2
  219. package/dist/cdn/{JMWRTMVY.js → O3NGJV5R.js} +2 -2
  220. package/dist/cdn/{LZGJ2VAE.js → O3XKIE2J.js} +2 -2
  221. package/dist/cdn/{RD2WX543.js → O4NDGWYY.js} +2 -2
  222. package/dist/cdn/{CCH7SIF3.js → O645VA3P.js} +2 -2
  223. package/dist/cdn/{XVO576HM.js → OGG7NDCX.js} +2 -2
  224. package/dist/cdn/{GZPVVSWK.js → OINEKCE3.js} +2 -2
  225. package/dist/cdn/{EYPTTOZ2.js → ON3637KX.js} +2 -2
  226. package/dist/cdn/{F5JHIBTP.js → ONGKQVFQ.js} +2 -2
  227. package/dist/cdn/{YKPZ7RKE.js → OPROEGUT.js} +1 -1
  228. package/dist/cdn/{CS6TGE3X.js → OSNJFNHS.js} +2 -2
  229. package/dist/cdn/{MOWTE4AA.js → OTJ74M6I.js} +2 -2
  230. package/dist/cdn/{QCXP5YUZ.js → OU7ZZNCL.js} +1 -1
  231. package/dist/cdn/{MOOEJTQD.js → OWKQHEDJ.js} +2 -2
  232. package/dist/cdn/{YKONETBH.js → OYTQ6PFI.js} +2 -2
  233. package/dist/cdn/{YPL6GT6C.js → P3LEA437.js} +2 -2
  234. package/dist/cdn/{UCRPQIXK.js → PA5TUTEY.js} +2 -2
  235. package/dist/cdn/{VHD5YYNN.js → PBMCCNWE.js} +2 -2
  236. package/dist/cdn/{SR6AD4QD.js → PCDF6QXH.js} +2 -2
  237. package/dist/cdn/{MWI33SCU.js → PEBGTHOV.js} +2 -2
  238. package/dist/cdn/{UZDSE25E.js → PKE6K37P.js} +2 -2
  239. package/dist/cdn/PNH267VP.js +4 -0
  240. package/dist/cdn/{LUM3VJFG.js → PQ6SIGKH.js} +2 -2
  241. package/dist/cdn/{PYA6BXUC.js → PQE2G3DC.js} +2 -2
  242. package/dist/cdn/{P5B5OPJ7.js → PQHKBYCX.js} +2 -2
  243. package/dist/cdn/{IUTBQRGE.js → PRHI2P5H.js} +2 -2
  244. package/dist/cdn/{CCZWYN2L.js → PRI7A4BS.js} +2 -2
  245. package/dist/cdn/{KNMEMHVR.js → Q236VD3E.js} +2 -2
  246. package/dist/cdn/{25EAY44P.js → Q2HKN3EB.js} +2 -2
  247. package/dist/cdn/{DOTRAWE3.js → Q2NJEOXE.js} +2 -2
  248. package/dist/cdn/{XFDZQS6K.js → QB7QGBQT.js} +2 -2
  249. package/dist/cdn/{DMVMCVRH.js → QFBJ4JMR.js} +2 -2
  250. package/dist/cdn/{HS46BROK.js → QJF73Q5E.js} +2 -2
  251. package/dist/cdn/{TQ6ETPV2.js → QLYZZQM4.js} +2 -2
  252. package/dist/cdn/{ZZPWM2Q2.js → QMVFKBCB.js} +2 -2
  253. package/dist/cdn/{7JP2H6ZO.js → QPEF7Z34.js} +1 -1
  254. package/dist/cdn/{RAB2KG7C.js → QPLFQF7K.js} +2 -2
  255. package/dist/cdn/{IJVCRHJI.js → QXHCTHCT.js} +2 -2
  256. package/dist/cdn/{GDX66WJC.js → QY2P42L7.js} +2 -2
  257. package/dist/cdn/{XBG4WOKU.js → R5MOYHJE.js} +2 -2
  258. package/dist/cdn/{PXNBWHFQ.js → R6ONUXKR.js} +2 -2
  259. package/dist/cdn/{W7JZXZPW.js → RBRMIPTS.js} +2 -2
  260. package/dist/cdn/{FOAMHQSE.js → RC6YB5BA.js} +2 -2
  261. package/dist/cdn/{GFCI4PRE.js → RDSFFS6W.js} +2 -2
  262. package/dist/cdn/{JFY2GKYD.js → RI2IDZMD.js} +2 -2
  263. package/dist/cdn/RUEEHVFT.js +4 -0
  264. package/dist/cdn/{CWW4TIP3.js → RUSZENO2.js} +2 -2
  265. package/dist/cdn/{HVZETBKB.js → RVDQCXWZ.js} +2 -2
  266. package/dist/cdn/{DS5QDJCC.js → RWBGHIUR.js} +1 -1
  267. package/dist/cdn/{Y4L2AKM4.js → RWBWO74A.js} +2 -2
  268. package/dist/cdn/{P5WTX4AV.js → RYNPSM5K.js} +2 -2
  269. package/dist/cdn/{QGZTCXHZ.js → S2ATXCOV.js} +2 -2
  270. package/dist/cdn/{NFRKDOES.js → S3CGUDVW.js} +2 -2
  271. package/dist/cdn/{MWR75R54.js → S5Z53TV7.js} +2 -2
  272. package/dist/cdn/{XGVXQSHY.js → S73UN6E4.js} +1 -1
  273. package/dist/cdn/{DI33435F.js → SCMHHOIO.js} +2 -2
  274. package/dist/cdn/{NF6OXWYZ.js → SMAWIWJ6.js} +2 -2
  275. package/dist/cdn/{5QRVI2WO.js → SSDCAJ6N.js} +2 -2
  276. package/dist/cdn/{X42IJITC.js → SUYDCMXS.js} +2 -2
  277. package/dist/cdn/{2GQ6UAM3.js → SV4ET5K3.js} +2 -2
  278. package/dist/cdn/{ANCQW5PF.js → SXV4IA3Z.js} +2 -2
  279. package/dist/cdn/{KCBJMAWP.js → T3IDFFI6.js} +2 -2
  280. package/dist/cdn/{NNMWJY4Z.js → T3TL4XE3.js} +2 -2
  281. package/dist/cdn/{BCYRT74S.js → T62NCWWL.js} +2 -2
  282. package/dist/cdn/{FWXW2OGJ.js → T65DB2UP.js} +2 -2
  283. package/dist/cdn/{SJH7VZSJ.js → T6QN3XU6.js} +2 -2
  284. package/dist/cdn/{JTDCZR27.js → TIQJCA7O.js} +2 -2
  285. package/dist/cdn/{4SYLNZ6R.js → TMLWLTXU.js} +2 -2
  286. package/dist/cdn/{KJT67556.js → TNM3EP6X.js} +2 -2
  287. package/dist/cdn/{ARD3AXPX.js → TU5KAWJK.js} +2 -2
  288. package/dist/cdn/{BQPHIWVN.js → TUNQKYFT.js} +4 -4
  289. package/dist/cdn/{R4IJ6HK7.js → TX7HPSHQ.js} +2 -2
  290. package/dist/cdn/{ZF4FJHV3.js → U2VH2LKP.js} +2 -2
  291. package/dist/cdn/{P452FU2A.js → U7EPLCCV.js} +2 -2
  292. package/dist/cdn/{HPOZHIK5.js → UBKGY3QD.js} +2 -2
  293. package/dist/cdn/{ZUM45Z2W.js → UJGGK4LU.js} +2 -2
  294. package/dist/cdn/{M5JFBQYL.js → UPYXLGGJ.js} +2 -2
  295. package/dist/cdn/{LX4ZKNMH.js → UQBWYG5K.js} +2 -2
  296. package/dist/cdn/UQTYFBYY.js +4 -0
  297. package/dist/cdn/{IX2ARHHP.js → UWL3OUNV.js} +1 -1
  298. package/dist/cdn/{2LDXPYFC.js → V3D3KQMH.js} +2 -2
  299. package/dist/cdn/{IQ3OTAQ4.js → VE5CZHK7.js} +2 -2
  300. package/dist/cdn/{63P5O4B7.js → VF3UCUX7.js} +1 -1
  301. package/dist/cdn/{IVKF2SO2.js → VFCKMV6Y.js} +2 -2
  302. package/dist/cdn/{WO4C3IFF.js → VG5FZ7YA.js} +2 -2
  303. package/dist/cdn/{NTAVDV5K.js → VNKF4L77.js} +1 -1
  304. package/dist/cdn/{5IFHBEBL.js → VQ6LFGPE.js} +2 -2
  305. package/dist/cdn/{ZYDNODZ2.js → VRUSDHE4.js} +1 -1
  306. package/dist/cdn/{V4CZPJAQ.js → VSW5DJIW.js} +2 -2
  307. package/dist/cdn/{7XQPJP2O.js → VTWUPEWR.js} +2 -2
  308. package/dist/cdn/{W4SJRPXF.js → WAJHKOXL.js} +2 -2
  309. package/dist/cdn/{ZCNZIB5X.js → WBJF3AWY.js} +2 -2
  310. package/dist/cdn/WDD32CHP.js +4 -0
  311. package/dist/cdn/{MVFFFET6.js → WFTALSMZ.js} +2 -2
  312. package/dist/cdn/{MZIY6HZS.js → WGGFBKOM.js} +2 -2
  313. package/dist/cdn/{BAE55LHR.js → WISGIRW6.js} +2 -2
  314. package/dist/cdn/{ALGEWWHL.js → WLLNQ57Z.js} +2 -2
  315. package/dist/cdn/{OPKCXLSS.js → WN2KPHQU.js} +2 -2
  316. package/dist/cdn/{V4WS3ZTF.js → WNCFGM2E.js} +2 -2
  317. package/dist/cdn/{B5CXC6T4.js → WWIIN7JA.js} +2 -2
  318. package/dist/cdn/{BKPJQFOK.js → WWNHUF4A.js} +1 -1
  319. package/dist/cdn/{3SUWOWNI.js → XDCW4PUR.js} +2 -2
  320. package/dist/cdn/{FR56FFEG.js → XEXBFO26.js} +2 -2
  321. package/dist/cdn/{GB7NCS3L.js → XGLM2UZY.js} +1 -1
  322. package/dist/cdn/{O57CMSBW.js → XGSKNJHV.js} +2 -2
  323. package/dist/cdn/{TIRNR2CP.js → XLEE4XDL.js} +2 -2
  324. package/dist/cdn/{7CLVLK6R.js → XQ23FEV5.js} +1 -1
  325. package/dist/cdn/{EBYV7LDT.js → XTXQCLUY.js} +2 -2
  326. package/dist/cdn/{3QLHCKDF.js → XVNHEPOT.js} +2 -2
  327. package/dist/cdn/{WHHG5JY6.js → YECBIR5K.js} +1 -1
  328. package/dist/cdn/{DICVUCL7.js → YGUW733V.js} +2 -2
  329. package/dist/cdn/{TMGLEUWQ.js → YKXQ4DQK.js} +2 -2
  330. package/dist/cdn/{UD7VDAKG.js → YM3AVODQ.js} +2 -2
  331. package/dist/cdn/{EYJJXQ6T.js → YOXQ37WM.js} +2 -2
  332. package/dist/cdn/{IZQ3EUFI.js → YRWHOMVM.js} +2 -2
  333. package/dist/cdn/{DNWSUZU6.js → YRWXAGEM.js} +2 -2
  334. package/dist/cdn/{Y4ZPEHKX.js → YW6TF5XX.js} +1 -1
  335. package/dist/cdn/{WTC4UINM.js → YY64KEJX.js} +2 -2
  336. package/dist/cdn/{X7LWTITW.js → Z2MODIKC.js} +2 -2
  337. package/dist/cdn/{H6MAJN5V.js → Z54C5XQI.js} +2 -2
  338. package/dist/cdn/{BBV4DJRN.js → Z55VK2A4.js} +2 -2
  339. package/dist/cdn/{OUEQWNWU.js → ZDIUB5SS.js} +2 -2
  340. package/dist/cdn/{GTI7TTVN.js → ZE3LSA7J.js} +2 -2
  341. package/dist/cdn/{EHYIXKQK.js → ZKRVRV6G.js} +2 -2
  342. package/dist/cdn/index.js +2 -2
  343. package/dist/chunks/Auth.js +1 -1
  344. package/dist/chunks/CardsFetcher.js +1 -1
  345. package/dist/chunks/appConfig.js +1 -1
  346. package/dist/chunks/cardFetchingUtils.js +1 -1
  347. package/dist/chunks/cardsHelpers.js +1 -1
  348. package/dist/chunks/common.js +1 -1
  349. package/dist/chunks/deployAppContexts.js +1 -1
  350. package/dist/chunks/downloadUtils.js +1 -1
  351. package/dist/chunks/getItemIcon.js +1 -1
  352. package/dist/chunks/helpers.js +1 -1
  353. package/dist/chunks/interfaces.js +1 -1
  354. package/dist/chunks/loadModules.js +1 -1
  355. package/dist/chunks/mapViewUtils.js +1 -1
  356. package/dist/chunks/pciUtils.js +1 -1
  357. package/dist/chunks/popupUtils.js +1 -1
  358. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  359. package/dist/chunks/privilegeUtils.js +1 -1
  360. package/dist/chunks/publicNotificationContext.js +1 -1
  361. package/dist/chunks/queryUtils.js +1 -1
  362. package/dist/chunks/runtime.js +1 -1
  363. package/dist/chunks/solution-store.js +1 -1
  364. package/dist/chunks/templates.js +1 -1
  365. package/dist/chunks/useT9n.js +1 -1
  366. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  367. package/dist/components/basemap-gallery/customElement.js +1 -1
  368. package/dist/components/buffer-tools/customElement.js +1 -1
  369. package/dist/components/card-manager/customElement.js +1 -1
  370. package/dist/components/consent-manager/customElement.js +1 -1
  371. package/dist/components/create-feature/customElement.js +1 -1
  372. package/dist/components/create-related-feature/customElement.js +1 -1
  373. package/dist/components/crowdsource-manager/customElement.js +1 -1
  374. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  375. package/dist/components/deduct-calculator/customElement.js +1 -1
  376. package/dist/components/delete-button/customElement.js +1 -1
  377. package/dist/components/delete-dialog/customElement.js +1 -1
  378. package/dist/components/edit-card/customElement.js +1 -1
  379. package/dist/components/feature-details/customElement.js +1 -1
  380. package/dist/components/feature-list/customElement.js +1 -1
  381. package/dist/components/field-selection/customElement.d.ts +2 -0
  382. package/dist/components/field-selection/customElement.js +93 -88
  383. package/dist/components/floor-filter/customElement.js +1 -1
  384. package/dist/components/info-card/customElement.js +1 -1
  385. package/dist/components/json-editor/customElement.js +1 -1
  386. package/dist/components/layer-list/customElement.js +1 -1
  387. package/dist/components/layer-table/customElement.d.ts +1 -1
  388. package/dist/components/layer-table/customElement.js +52 -50
  389. package/dist/components/map-card/customElement.js +1 -1
  390. package/dist/components/map-draw-tools/customElement.js +1 -1
  391. package/dist/components/map-fullscreen/customElement.js +1 -1
  392. package/dist/components/map-layer-picker/customElement.js +1 -1
  393. package/dist/components/map-legend/customElement.js +1 -1
  394. package/dist/components/map-picker/customElement.js +1 -1
  395. package/dist/components/map-search/customElement.js +1 -1
  396. package/dist/components/map-select-tools/customElement.js +1 -1
  397. package/dist/components/map-tools/customElement.js +1 -1
  398. package/dist/components/pci-calculator/customElement.js +1 -1
  399. package/dist/components/pdf-download/customElement.js +1 -1
  400. package/dist/components/public-notification/customElement.js +1 -1
  401. package/dist/components/refine-selection/customElement.js +1 -1
  402. package/dist/components/selection-tool/customElement.js +1 -1
  403. package/dist/components/solution-article-card/customElement.js +1 -1
  404. package/dist/components/solution-configuration/customElement.js +1 -1
  405. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  412. package/dist/components/solution-details-card/customElement.js +1 -1
  413. package/dist/components/solution-details-panel/customElement.js +1 -1
  414. package/dist/components/solution-item/customElement.js +1 -1
  415. package/dist/components/solution-item-accordion/customElement.js +1 -1
  416. package/dist/components/solution-item-details/customElement.js +1 -1
  417. package/dist/components/solution-item-diagram/customElement.js +1 -1
  418. package/dist/components/solution-item-icon/customElement.js +1 -1
  419. package/dist/components/solution-item-sharing/customElement.js +1 -1
  420. package/dist/components/solution-organization-variables/customElement.js +1 -1
  421. package/dist/components/solution-resource-item/customElement.js +1 -1
  422. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  423. package/dist/components/solution-social-share/customElement.js +1 -1
  424. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  425. package/dist/components/solution-template-data/customElement.js +1 -1
  426. package/dist/components/solution-variables/customElement.js +1 -1
  427. package/dist/components/solutions-all-panel/customElement.js +1 -1
  428. package/dist/components/solutions-all-shell/customElement.js +1 -1
  429. package/dist/components/solutions-article-panel/customElement.js +1 -1
  430. package/dist/components/solutions-articles/customElement.js +1 -1
  431. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  432. package/dist/components/solutions-deploy-app/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  436. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  437. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  438. package/dist/components/spatial-ref/customElement.js +1 -1
  439. package/dist/components/store-manager/customElement.js +1 -1
  440. package/dist/docs/api.json +30 -1
  441. package/dist/docs/docs.json +22 -1
  442. package/dist/docs/vscode.html-custom-data.json +7 -1
  443. package/dist/docs/web-types.json +15 -2
  444. package/dist/index.js +1 -1
  445. package/dist/loader.js +2 -2
  446. package/dist/types/lumina.d.ts +1 -1
  447. package/dist/types/preact.d.ts +1 -1
  448. package/dist/types/preact10.d.ts +1 -1
  449. package/dist/types/react.d.ts +1 -1
  450. package/dist/types/stencil.d.ts +1 -1
  451. package/package.json +1 -1
  452. package/dist/cdn/4HUZ576Y.js +0 -4
  453. package/dist/cdn/CFK4AONK.js +0 -18
  454. package/dist/cdn/CL5MMUY6.js +0 -18
  455. package/dist/cdn/DKFUHEDP.js +0 -4
  456. package/dist/cdn/FQOXWDCQ.js +0 -4
  457. package/dist/cdn/GJFBOOTQ.js +0 -4
  458. package/dist/cdn/KPK7R5G3.js +0 -4
  459. package/dist/cdn/NAXRAU2M.js +0 -4
  460. package/dist/cdn/OD3XVSB4.js +0 -4
  461. package/dist/cdn/PWZQUOIO.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import c from"./DJUAK5MT.js";import b from"./BYS6RPZ2.js";import"./5O442EOV.js";import a from"./DMVMCVRH.js";import{a as m}from"./EP6GQK76.js";import"./KTHYYGAI.js";import{b as h}from"./BKVX5QXH.js";import"./QICKVKJ3.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
3
+ v1.1.0-next.20251008 */
4
+ import c from"./LMADLYWT.js";import b from"./DDRZWXLZ.js";import"./APLZT37S.js";import a from"./QFBJ4JMR.js";import{a as m}from"./NFBCBMDM.js";import"./ECOUV44T.js";import{b as h}from"./MNFNMNHC.js";import"./HH54CNIV.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as Y}from"./IJVCRHJI.js";import{a as F}from"./YKPZ7RKE.js";import{a as w}from"./3ZLTU5S3.js";import{a as J}from"./W7JZXZPW.js";import{a as W,b as H}from"./BAE55LHR.js";import{d as N,g as B,h as V,i as X}from"./AJVXYTUE.js";import{b as h,c as E}from"./6POPEKGV.js";import{m as u,p as T}from"./3EWQDBJH.js";import"./B35SCOYC.js";import"./OLJB5ZX6.js";import"./7CLVLK6R.js";import{b as S,d as C,f as R}from"./WHHG5JY6.js";import"./DYB57UXW.js";import{i as j}from"./RRW7XCIA.js";import"./ZCEFL75O.js";import{a as m,c as M,e as P,i as l}from"./RNW4CN66.js";import"./Y4ZPEHKX.js";import"./EX7YXNQ4.js";import"./TJSIZLLY.js";import{a as A,b as O}from"./25EAY44P.js";import{s as L}from"./CWW4TIP3.js";import"./DGG2R6PP.js";import"./KWQLECX2.js";import{a as f}from"./GA5JF4P7.js";import"./DVEARR2O.js";import"./63P5O4B7.js";import{b as g}from"./34LYISA3.js";import"./RMJIAKHU.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
3
+ v1.1.0-next.20251008 */
4
+ import{a as Y}from"./QXHCTHCT.js";import{a as F}from"./OPROEGUT.js";import{a as w}from"./LKYGCBTO.js";import{a as J}from"./RBRMIPTS.js";import{a as W,b as H}from"./WISGIRW6.js";import{d as N,g as B,h as V,i as X}from"./MNLAU654.js";import{b as h,c as E}from"./NAHN46XY.js";import{m as u,p as T}from"./KYHIL5F4.js";import"./LRA2CSKG.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import{b as S,d as C,f as R}from"./YECBIR5K.js";import"./DYBE22PJ.js";import{i as j}from"./47FKRLN3.js";import"./L6BR25YZ.js";import{a as m,c as M,e as P,i as l}from"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./J7VZH6OU.js";import"./57QWWLMF.js";import{a as A,b as O}from"./Q2HKN3EB.js";import{s as L}from"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import{a as f}from"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import{b as g}from"./54N6KCW5.js";import"./MMFULDI7.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import a from"./X4GJCR5U.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=s(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=s(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function s(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},a)
3
+ v1.1.0-next.20251008 */
4
+ import a from"./GAF7MRHW.js";export default $arcgis.t(([{a:e}])=>{function u(r){return Array.isArray(r)?r:Array.from(r)}function c(r,o){let t=s(o),n=e([{k:"id",v:r}])||"";return t?`${t}/home/item.html${n}`:""}function m(r,o,t){let n=s(t);return n?`${n}/sharing/rest/content/items/${r}/resources/${o}`:""}function s(r){return r?.PortalSubset?.orgUrl||r?.PortalUrl||""}return{a:u,b:c,c:m}},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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import"./RMJIAKHU.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
3
+ v1.1.0-next.20251008 */
4
+ import"./MMFULDI7.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{J as Z,L as W,M,N as ee,bc as oe,ec as re,fc as ne,g as b,gc as ae,hc as le,ic as ie,pb as se,ra as te}from"./FJRO4BGU.js";import{b as y,h as Y}from"./PZIZHAUI.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St as a};
3
+ v1.1.0-next.20251008 */
4
+ import{J as Z,L as W,M,N as ee,bc as oe,ec as re,fc as ne,g as b,gc as ae,hc as le,ic as ie,pb as se,ra as te}from"./B6S6Q4VM.js";import{b as y,h as Y}from"./CZSGGEZF.js";var S={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,formAssociated:!1,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,scriptDataOpts:!1,scopedSlotTextContentFix:!1,shadowDomShim:!1,slotChildNodesFix:!1,invisiblePrehydration:!0,propBoolean:!0,propNumber:!0,propString:!0,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0,experimentalSlotFixes:!1},Oe=Object.defineProperty,Le=(e,t)=>{for(var s in t)Oe(e,s,{get:t[s],enumerable:!0})},We=new WeakMap,Me=e=>We.get(e),ce=(e,t)=>t in e,J=(e,t)=>(0,console.error)(e,t),de="http://www.w3.org/1999/xlink",_e=typeof window<"u"?window:{},P=_e.document||{head:{}},w={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=e=>Promise.resolve(e),j=!1,ue=[],we=[],je=(e,t)=>s=>{e.push(s),j||(j=!0,t&&w.$flags$&4?ze(z):w.raf(z))},$e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){J(s)}e.length=0},z=()=>{$e(ue),$e(we),(j=ue.length>0)&&w.raf(z)},ze=e=>Ue().then(e),Ge=je(we,!0),pe={},He="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Be=e=>e!=null,Ie=e=>(e=typeof e,e==="object"||e==="function"),qe={};Le(qe,{err:()=>Re,map:()=>Je,ok:()=>G,unwrap:()=>Qe,unwrapErr:()=>Ve});var G=e=>({isOk:!0,isErr:!1,value:e}),Re=e=>({isOk:!1,isErr:!0,value:e});function Je(e,t){if(e.isOk){let s=t(e.value);return s instanceof Promise?s.then(o=>G(o)):G(s)}if(e.isErr){let s=e.value;return Re(s)}throw"should never get here"}var Qe=e=>{if(e.isOk)return e.value;throw e.value},Ve=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t="")=>()=>{},Xe=(e,t,...s)=>{let o=null,r=null,n=null,a=!1,i=!1,c=[],h=l=>{for(let d=0;d<l.length;d++)o=l[d],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((a=!Ie(o))&&(o=String(o)),a&&i?c[c.length-1].$text$+=o:c.push(a?H(null,o):o),i=a)};h(s);let $=H(e,null);return $.$attrs$=t,c.length>0&&($.$children$=c),$.$key$=r,$.$name$=n,$},H=(e,t)=>{let s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},Ye={},Ze=e=>e&&e.$tag$===Ye,he=(e,t,s,o,r,n)=>{if(s!==o){let a=ce(e,t),i=t.toLowerCase();if(t==="class"){let c=e.classList,h=fe(s),$=fe(o);c.remove(...h.filter(l=>l&&!$.includes(l))),c.add(...$.filter(l=>l&&!h.includes(l)))}else if(t==="style"){for(let c in s)(!o||o[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(let c in o)(!s||o[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,o[c]):e.style[c]=o[c])}else if(t!=="key")if(t==="ref")o&&o(e);else if(!e.__lookupSetter__(t)&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ce(_e,i)?t=i.slice(2):t=i[2]+t.slice(3),s||o){let c=t.endsWith(Te);t=t.replace(tt,""),s&&w.rel(e,t,s,c),o&&w.ael(e,t,o,c)}}else{let c=Ie(o);if((a||c&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=o;else{let $=o??"";t==="list"?a=!1:(s==null||e[t]!=$)&&(e[t]=$)}}catch{}let h=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,h=!0),o==null||o===!1?(o!==!1||e.getAttribute(t)==="")&&(h?e.removeAttributeNS(de,t):e.removeAttribute(t)):(!a||n&4||r)&&!c&&(o=o===!0?"":o,h?e.setAttributeNS(de,t,o):e.setAttribute(t,o))}}},et=/\s/,fe=e=>e?e.split(et):[],Te="Capture",tt=new RegExp(Te+"$"),Ne=(e,t,s)=>{let o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||pe,n=t.$attrs$||pe;for(let a of me(Object.keys(r)))a in n||he(o,a,r[a],void 0,s,t.$flags$);for(let a of me(Object.keys(n)))he(o,a,r[a],n[a],s,t.$flags$)};function me(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var T,K,F,A=!1,O=!1,Q=!1,f=!1,L=(e,t,s,o)=>{var r;let n=t.$children$[s],a=0,i,c,h;if(A||(Q=!0,n.$tag$==="slot"&&(T&&o.classList.add(T+"-s"),n.$flags$|=n.$children$?2:1)),n.$text$!==null)i=n.$elm$=P.createTextNode(n.$text$);else if(n.$flags$&1)i=n.$elm$=P.createTextNode("");else{if(f||(f=n.$tag$==="svg"),i=n.$elm$=P.createElementNS(f?He:Ke,!A&&S.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),f&&n.$tag$==="foreignObject"&&(f=!1),Ne(null,n,f),i.getRootNode().querySelector("body")&&S.scoped&&Be(T)&&i["s-si"]!==T&&i.classList.add(i["s-si"]=T),X(i,o),n.$children$)for(a=0;a<n.$children$.length;++a)c=L(e,n,a,i),c&&i.appendChild(c);n.$tag$==="svg"?f=!1:i.tagName==="foreignObject"&&(f=!0)}return i["s-hn"]=F,n.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=K,i["s-sn"]=n.$name$||"",i["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,h=e&&e.$children$&&e.$children$[s],h&&h.$tag$===n.$tag$&&e.$elm$&&x(e.$elm$,!1)),i},x=(e,t)=>{w.$flags$|=1;let s=Array.from(e.childNodes);e["s-sr"]&&S.experimentalSlotFixes;for(let o=s.length-1;o>=0;o--){let r=s[o];r["s-hn"]!==F&&r["s-ol"]&&(R(xe(r),r,V(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&x(r,t)}w.$flags$&=-2},ke=(e,t,s,o,r,n)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot);r<=n;++r)o[r]&&(i=L(null,s,r,e),i&&(o[r].$elm$=i,R(a,i,V(t))))},Fe=(e,t,s)=>{for(let o=t;o<=s;++o){let r=e[o];if(r){let n=r.$elm$;Pe(r),n&&(O=!0,n["s-ol"]?n["s-ol"].remove():x(n,!0),n.remove())}}},st=(e,t,s,o,r=!1)=>{let n=0,a=0,i=0,c=0,h=t.length-1,$=t[0],l=t[h],d=o.length-1,u=o[0],p=o[d],v,m;for(;n<=h&&a<=d;)if($==null)$=t[++n];else if(l==null)l=t[--h];else if(u==null)u=o[++a];else if(p==null)p=o[--d];else if(C($,u,r))N($,u,r),$=t[++n],u=o[++a];else if(C(l,p,r))N(l,p,r),l=t[--h],p=o[--d];else if(C($,p,r))($.$tag$==="slot"||p.$tag$==="slot")&&x($.$elm$.parentNode,!1),N($,p,r),R(e,$.$elm$,l.$elm$.nextSibling),$=t[++n],p=o[--d];else if(C(l,u,r))($.$tag$==="slot"||p.$tag$==="slot")&&x(l.$elm$.parentNode,!1),N(l,u,r),R(e,l.$elm$,$.$elm$),l=t[--h],u=o[++a];else{for(i=-1,c=n;c<=h;++c)if(t[c]&&t[c].$key$!==null&&t[c].$key$===u.$key$){i=c;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?v=L(t&&t[a],s,i,e):(N(m,u,r),t[i]=void 0,v=m.$elm$),u=o[++a]):(v=L(t&&t[a],s,a,e),u=o[++a]),v&&R(xe($.$elm$),v,V($.$elm$))}n>h?ke(e,o[d+1]==null?null:o[d+1].$elm$,s,o,a,d):a>d&&Fe(t,n,h)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,V=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,N=(e,t,s=!1)=>{let o=t.$elm$=e.$elm$,r=e.$children$,n=t.$children$,a=t.$tag$,i=t.$text$,c;i===null?(f=a==="svg"?!0:a==="foreignObject"?!1:f,a==="slot"&&!A||Ne(e,t,f),r!==null&&n!==null?st(o,r,t,n,s):n!==null?(e.$text$!==null&&(o.textContent=""),ke(o,null,t,n,0,n.length-1)):!s&&S.updatable&&r!==null&&Fe(r,0,r.length-1),f&&a==="svg"&&(f=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:e.$text$!==i&&(o.data=i)},Ee=e=>{let t=e.childNodes;for(let s of t)if(s.nodeType===1){if(s["s-sr"]){let o=s["s-sn"];s.hidden=!1;for(let r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||o!==""){if(r.nodeType===1&&(o===r.getAttribute("slot")||o===r["s-sn"])||r.nodeType===3&&o===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}Ee(s)}},_=[],Ce=e=>{let t,s,o;for(let r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;let n=r["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(ge(t,n)){let a=_.find(i=>i.$nodeToRelocate$===t);O=!0,t["s-sn"]=t["s-sn"]||n,a?(a.$nodeToRelocate$["s-sh"]=r["s-hn"],a.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],_.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&_.map(i=>{ge(i.$nodeToRelocate$,t["s-sn"])&&(a=_.find(c=>c.$nodeToRelocate$===t),a&&!i.$slotRefNode$&&(i.$slotRefNode$=a.$slotRefNode$))})}else _.some(a=>a.$nodeToRelocate$===t)||_.push({$nodeToRelocate$:t})}r.nodeType===1&&Ce(r)}},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",Pe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(Pe)},R=(e,t,s)=>{let o=e?.insertBefore(t,s);return X(t,e),o},De=e=>{let t=[];return e&&t.push(...e["s-scs"]||[],e["s-si"],e["s-sc"],...De(e.parentElement)),t},X=(e,t,s=!1)=>{var o;if(e&&t&&e.nodeType===1){let r=new Set(De(t).filter(Boolean));if(r.size&&((o=e.classList)==null||o.add(...e["s-scs"]=[...r]),e["s-ol"]||s))for(let n of Array.from(e.childNodes))X(n,e,!0)}},ot=(e,t,s=!1)=>{var o,r,n,a,i;let c=e.$hostElement$,h=e.$cmpMeta$,$=e.$vnode$||H(null,null),l=Ze(t)?t:Xe(null,null,t);if(F=c.tagName,h.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},h.$attrsToReflect$.map(([d,u])=>l.$attrs$[u]=c[d])),s&&l.$attrs$)for(let d of Object.keys(l.$attrs$))c.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(l.$attrs$[d]=c[d]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=$.$elm$=c.shadowRoot||c,T=c["s-sc"],A=(h.$flags$&1)!==0,K=c["s-cr"],O=!1,N($,l,s);{if(w.$flags$|=1,Q){Ce(l.$elm$);for(let d of _){let u=d.$nodeToRelocate$;if(!u["s-ol"]){let p=P.createTextNode("");p["s-nr"]=u,R(u.parentNode,u["s-ol"]=p,u)}}for(let d of _){let u=d.$nodeToRelocate$,p=d.$slotRefNode$;if(p){let v=p.parentNode,m=p.nextSibling;{let E=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;E;){let g=(r=E["s-nr"])!=null?r:null;if(g&&g["s-sn"]===u["s-sn"]&&v===g.parentNode){for(g=g.nextSibling;g===u||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}E=E.previousSibling}}(!m&&v!==u.parentNode||u.nextSibling!==m)&&u!==m&&(!u["s-hn"]&&u["s-ol"]&&(u["s-hn"]=u["s-ol"].parentNode.nodeName),R(v,u,m),u.nodeType===1&&(u.hidden=(n=u["s-ih"])!=null?n:!1)),u&&typeof p["s-rf"]=="function"&&p["s-rf"](u)}else u.nodeType===1&&(s&&(u["s-ih"]=(a=u.hidden)!=null?a:!1),u.hidden=!0)}}O&&Ee(l.$elm$),w.$flags$&=-2,_.length=0}if(S.experimentalScopedSlotChanges&&h.$flags$&2)for(let d of l.$elm$.childNodes)d["s-hn"]!==F&&!d["s-sh"]&&(s&&d["s-ih"]==null&&(d["s-ih"]=(i=d.hidden)!=null?i:!1),d.hidden=!0);K=void 0},rt=(e,t)=>{},nt=(e,t)=>(e.$flags$|=16,rt(e,e.$ancestorComponent$),Ge(()=>at(e,t))),at=(e,t)=>{let s=e.$hostElement$,o=D("scheduleUpdate",e.$cmpMeta$.$tagName$),r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=k(r,"componentWillUpdate"),n=ye(n,()=>k(r,"componentWillRender")),o(),ye(n,()=>it(e,r,t))},ye=(e,t)=>lt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,s)=>{let o=e.$hostElement$,r=D("update",e.$cmpMeta$.$tagName$);o["s-rc"];let n=D("render",e.$cmpMeta$.$tagName$);ct(e,t,o,s),n(),r(),dt(e)},B=null,ct=(e,t,s,o)=>{try{B=t,t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,(S.hasRenderFn||S.reflect)&&(S.vdomRender||S.reflect)&&(S.hydrateServerSide||ot(e,t,o))}catch(r){J(r,e.$hostElement$)}return B=null,null},ve=()=>B,dt=e=>{let t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,o=D("postUpdate",t),r=s;e.$ancestorComponent$,k(r,"componentDidRender"),e.$flags$&64?(k(r,"componentDidUpdate"),o()):(e.$flags$|=64,k(r,"componentDidLoad"),o())},Se=e=>{{let t=Me(e),s=t.$hostElement$.isConnected;return s&&(t.$flags$&18)===2&&nt(t,!1),s}},k=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(o){J(o)}},ut=(e,t,s)=>{let o=e.get(t);o?o.includes(s)||o.push(s):e.set(t,[s])},$t=(e,t)=>{let s;return(...o)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...o)},t)}},pt=e=>!("isConnected"in e)||e.isConnected,be=$t(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(pt))},2e3),ht=()=>{if(typeof ve!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:t=>{let s=ve();s&&ut(e,t,s)},set:t=>{let s=e.get(t);s&&e.set(t,s.filter(Se)),be(e)},reset:()=>{e.forEach(t=>t.forEach(Se)),be(e)}}},U=e=>typeof e=="function"?e():e,ft=(e,t=(s,o)=>s!==o)=>{let s=U(e),o=new Map(Object.entries(s??{})),r={dispose:[],get:[],set:[],reset:[]},n=()=>{var l;o=new Map(Object.entries((l=U(e))!==null&&l!==void 0?l:{})),r.reset.forEach(d=>d())},a=()=>{r.dispose.forEach(l=>l()),n()},i=l=>(r.get.forEach(d=>d(l)),o.get(l)),c=(l,d)=>{let u=o.get(l);t(d,u,l)&&(o.set(l,d),r.set.forEach(p=>p(l,d,u)))},h=typeof Proxy>"u"?{}:new Proxy(s,{get(l,d){return i(d)},ownKeys(l){return Array.from(o.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(l,d){return o.has(d)},set(l,d,u){return c(d,u),!0}}),$=(l,d)=>(r[l].push(d),()=>{mt(r[l],d)});return{state:h,get:i,set:c,on:$,onChange:(l,d)=>{let u=$("set",(v,m)=>{v===l&&d(m)}),p=$("reset",()=>d(U(e)[l]));return()=>{u(),p()}},use:(...l)=>{let d=l.reduce((u,p)=>(p.set&&u.push($("set",p.set)),p.get&&u.push($("get",p.get)),p.reset&&u.push($("reset",p.reset)),p.dispose&&u.push($("dispose",p.dispose)),u),[]);return()=>d.forEach(u=>u())},dispose:a,reset:n,forceUpdate:l=>{let d=o.get(l);r.set.forEach(u=>u(l,d,d))}}},mt=(e,t)=>{let s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)},gt=(e,t)=>{let s=ft(e,t);return s.use(ht()),s};var I={solutionItemId:"",defaultWkid:void 0,solutionData:{metadata:{},templates:[]},templateEdits:{},featureServices:[],spatialReferenceInfo:{enabled:!1,services:{}}},q=class{constructor(){this._hasChanges=!1,this._store=gt({...I})}static get Store(){return this._instance||(this._instance=new this)}getItemInfo(t){let s=this._store.get("solutionData").templates,o;return s.some(r=>t==r.itemId?(o=r,!0):!1),o||void 0}getStoreInfo(t){return this._store.get(t)}async loadSolution(t,s){this._authentication=s;let o=await te(t,s);if(o){let r=W(o,"params.wkid.default","");await this._prepareSolutionItemsForEditing(t,o.templates,s);let n=this._getFeatureServices(o.templates),a=this._getSpatialReferenceInfo(n,r);this._store.set("solutionItemId",t),this._store.set("defaultWkid",r),this._store.set("solutionData",o),this._store.set("featureServices",n),this._store.set("spatialReferenceInfo",a)}this._flagStoreHasChanges(!1)}replaceItemThumbnail(t){t.resourceFilePaths.forEach(s=>{s.type===b.Thumbnail&&(s.updateType===y.None?s.updateType=y.Remove:(s.updateType===y.Add||s.updateType===y.Update)&&(s.updateType=y.Obsolete))}),t.resourceFilePaths=t.resourceFilePaths.filter(s=>s.updateType!=y.Obsolete),t.resourceFilePaths.push({blob:t.thumbnail,filename:t.thumbnail.name,type:b.Thumbnail,updateType:y.Add}),this.setItemInfo(t)}async saveSolution(){let t=this._store.get("solutionItemId"),s=this._store.get("solutionData"),o=this._store.get("spatialReferenceInfo"),r=this._store.get("featureServices");if(await this._prepareSolutionItemsForStorage(t,s.templates,this._authentication),this._updateFSSpatialReferenceInfoInTemplates(r,s.templates),o.enabled){let n={label:"Spatial Reference",valueType:"spatialReference",attributes:{required:!0}};o.default&&(n.default=o.default),M(s,"params.wkid",n)}else M(s,"params.wkid",{});await se({id:t,text:s},this._authentication)}setItemInfo(t){let s=this._store.get("solutionData");s.templates.some(o=>t.itemId==o.itemId?(o=t,this._store.set("solutionData",s),this._flagStoreHasChanges(!0),!0):!1)}setStoreInfo(t,s){this._store.set(t,s),this._flagStoreHasChanges(!0)}_testAccess(t,s,o,r){switch(t){case"_emptyTheStore":this._emptyTheStore();break;case"_getFeatureServices":return this._getFeatureServices(s);case"_getItemsSharedWithThisGroup":return this._getItemsSharedWithThisGroup(s,o);case"_getResourceFilePaths":return this._getResourceFilePaths(s,o,r);case"_getResourceStorageName":return this._getResourceStorageName(s,o);case"_getSpatialReferenceInfo":return this._getSpatialReferenceInfo(s,o);case"_prepareSolutionItemsForEditing":return this._prepareSolutionItemsForEditing(s,o,r);case"_prepareSolutionItemsForStorage":return this._prepareSolutionItemsForStorage(s,o,r);case"_splitFilename":return this._splitFilename(s);case"_updateFSSpatialReferenceInfoInTemplates":return this._updateFSSpatialReferenceInfoInTemplates(s,o)}return null}_emptyTheStore(){this._store.set("solutionItemId",I.solutionItemId),this._store.set("defaultWkid",I.defaultWkid),this._store.set("solutionData",I.solutionData),this._store.set("templateEdits",I.templateEdits),this._store.set("featureServices",I.featureServices),this._store.set("spatialReferenceInfo",I.spatialReferenceInfo)}_flagStoreHasChanges(t){window.dispatchEvent(new CustomEvent("solutionStoreHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this._hasChanges=t}_getCustomizableFeatureServices(t){return t.reduce((s,o)=>(o.type==="Feature Service"&&(o?.item?.typeKeywords||[]).indexOf("View Service")<0&&s.push(o),s),[])}_getFeatureServices(t){return this._getCustomizableFeatureServices(t).map(s=>{let o=s.item.title||s.item.name,r=Z(s,"properties.service.spatialReference.wkid");return{id:s.itemId,name:o,enabled:r.toString().startsWith(Y),wkid:r}})}_getItemsSharedWithThisGroup(t,s){return s.reduce((o,r)=>(r.itemId!==t.itemId&&r.type!=="Group"&&o.push({id:r.itemId,title:r.item.name||r.item.title,isShared:(r.groups||[]).indexOf(t.itemId)>-1,shareItem:(r.groups||[]).indexOf(t.itemId)>-1,type:r.type,typeKeywords:r.item.typeKeywords}),o),[])}_getResourceFilePaths(t,s,o){return re(o,t,s.resources,1).map(r=>(r.updateType=y.None,r))}_getResourceStorageName(t,s){let o=t;switch(s.type){case b.Data:o=`${o}_info_data`;break;case b.Info:o=`${o}_info`;break;case b.Metadata:o=`${o}_info_metadata`;break;case b.Resource:break;case b.Thumbnail:o=`${o}_info_thumbnail`;break}let r=s.filename;s.type==b.Data&&r&&!ne(r)&&(r=r+".zip",o+="z");let n=s.folder?s.folder+"/"+r:r;return o+"/"+n}_getSpatialReferenceInfo(t,s){let o={};t.forEach(n=>{o[n.name]=n.enabled});let r={enabled:!1,services:o};return s&&(r.default=s),r}async _prepareSolutionItemsForEditing(t,s,o){let r=[];s.forEach(a=>{a.resourceFilePaths=this._getResourceFilePaths(t,a,o.portal),r.push(a.resourceFilePaths.length>0?ae(o,a.resourceFilePaths):Promise.resolve()),a.groupDetails=a.type==="Group"?this._getItemsSharedWithThisGroup(a,s):[]});let n=await Promise.all(r);return s.forEach((a,i)=>{a.thumbnail=n[i]?n[i]:void 0}),Promise.resolve()}async _prepareSolutionItemsForStorage(t,s,o){let r=[],n=[];return s.forEach(a=>{a.resourceFilePaths.forEach(async i=>{let c=this._getResourceStorageName(a.itemId,i);switch(i.updateType){case y.Add:let{prefix:h,suffix:$}=this._splitFilename(c);a.resources.push(c),r.push({itemId:a.itemId,file:i.blob,folder:h,filename:$});break;case y.Update:n.push(new Promise(async l=>{try{await ie(t,c,i.blob,o)}catch(d){console.log("Unable to update "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break;case y.Remove:n.push(new Promise(async l=>{try{await le(t,c,o),a.resources=a.resources.filter(d=>d!==c)}catch(d){console.log("Unable to remove "+c+" for item "+a.itemId+": "+JSON.stringify(d))}l()}));break}return Promise.resolve()}),delete a.thumbnail,delete a.groupDetails}),Promise.all(n).then(async()=>(r.length>0&&await oe(r,t,o),Promise.resolve()))}_updateFSSpatialReferenceInfoInTemplates(t,s){let o=this._getCustomizableFeatureServices(s);o.forEach(r=>{let n=t.find(a=>a.id===r.itemId);if(n){let a=W(r,"properties.service.spatialReference",{});a.wkid=n.wkid,n.enabled&&a.latestWkid&&delete a.latestWkid,ee(r,"properties.service.spatialReference",a)}}),s.forEach(r=>{let n=o.find(a=>a.itemId===r.itemId);if(n){r.properties.service.spatialReference={...n.properties.service.spatialReference};let a=Number.parseInt(r.properties.service.spatialReference.wkid);Number.isNaN(a)||(r.properties.service.spatialReference.wkid=a)}})}_splitFilename(t){let s=t.split("/");return{prefix:s.length>1?s.slice(0,s.length-1).join("/"):void 0,suffix:s[s.length-1]}}},St=q.Store;export{St 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import"./RMJIAKHU.js";var e="\u3053\u306E\u64CD\u4F5C\u306E\u5B9F\u884C\u306B\u5FC5\u8981\u306A\u30AF\u30EC\u30B8\u30C3\u30C8\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059\u3002 ArcGIS \u30B7\u30B9\u30C6\u30E0\u7BA1\u7406\u8005\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",a="\u3053\u306E\u30C4\u30FC\u30EB\u306F\u30CE\u30FC\u30C8\u30D6\u30C3\u30AF\u304B\u3089\u516C\u958B\u3055\u308C\u307E\u3057\u305F\u3002 \u7D44\u7E54\u3067\u306F\u3001ArcGIS Notebooks \u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u30D6\u30ED\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059\u3002 \u8A2D\u5B9A\u3092\u8ABF\u6574\u3059\u308B\u306B\u306F\u3001\u7BA1\u7406\u8005\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",r="${ dataPath } \u304C ${ additionalProperty } \u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",t="${ dataPath } \u306F\u3001\u6B21\u306E\u3044\u305A\u308C\u304B\u306E\u30B9\u30AD\u30FC\u30DE\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: ${ schemaOptions }",o="\u30DE\u30C3\u30D7\u3092\u3082\u3046\u4E00\u5EA6\u4FDD\u5B58\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",s="\u30AF\u30EC\u30B8\u30C3\u30C8\u306E\u63A8\u5B9A\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 \u4E0B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u3001\u30A8\u30E9\u30FC\u3092\u4FEE\u6B63\u3057\u3066\u3001\u30AF\u30EC\u30B8\u30C3\u30C8\u3092\u3082\u3046\u4E00\u5EA6\u63A8\u5B9A\u3057\u307E\u3059\u3002",i="\u89E3\u6790\u306E\u5B9F\u884C\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",l="${ dataPath } \u306F\u3001\u6B21\u306E\u3044\u305A\u308C\u304B\u306E\u8A31\u53EF\u3055\u308C\u305F\u5024\u3068\u7B49\u3057\u3044\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: ${ allowedValues }",d="\u89E3\u6790\u5C65\u6B74\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",n="\u5C65\u6B74\u30B9\u30C8\u30EC\u30FC\u30B8\u304C\u3044\u3063\u3071\u3044\u3067\u3059\u3002 \u89E3\u6790\u5C65\u6B74\u304B\u3089\u3044\u304F\u3064\u304B\u306E\u30A2\u30A4\u30C6\u30E0\u3092\u524A\u9664\u3057\u3066\u3001\u3082\u3046\u4E00\u5EA6\u4FDD\u5B58\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",c="\u30B5\u30FC\u30D3\u30B9\u540D\u306B\u7121\u52B9\u306A\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002",m="\u30DB\u30B9\u30C8 \u30D5\u30A3\u30FC\u30C1\u30E3 \u30EC\u30A4\u30E4\u30FC\u3068\u3057\u3066\u306E\u30C6\u30F3\u30DD\u30E9\u30EA \u30EC\u30A4\u30E4\u30FC\u306E\u4FDD\u5B58\u3092\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",u="\u30AD\u30FC \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",E="\u30EC\u30A4\u30E4\u30FC\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",h="\u30EC\u30A4\u30E4\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",y="${ dataPath } \u306E\u30A2\u30A4\u30C6\u30E0\u306F ${ limit } \u4EE5\u4E0B\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",P="\u30E2\u30C7\u30EB\u306E\u4FDD\u5B58\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002 \u3082\u3046\u4E00\u5EA6\u4FDD\u5B58\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",p="${ dataPath } \u306E\u30A2\u30A4\u30C6\u30E0\u306F ${ limit } \u4EE5\u4E0A\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",S="${ dataPath } \u306F ${ limit } \u6587\u5B57\u4EE5\u4E0A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",$="\u30E2\u30C7\u30EB \u30A2\u30A4\u30C6\u30E0\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u30E2\u30C7\u30EB\u304C\u5B58\u5728\u3057\u3001\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u304C\u4ED8\u4E0E\u3055\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",v="\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",f="\u3053\u306E\u30C4\u30FC\u30EB\u3092\u5B9F\u884C\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002 <calcite-link target='_blank' href='${ docLink }'>\u8A73\u7D30</calcite-link>",F="\u30DD\u30FC\u30BF\u30EB\u306B\u30ED\u30B0\u30A4\u30F3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",I="\u5165\u529B\u30C7\u30FC\u30BF\u3092\u8AAD\u307F\u53D6\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002",k="${ dataPath } \u306B ${ missingProperty } \u3068\u3044\u3046\u30D7\u30ED\u30D1\u30C6\u30A3\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002",T="\u3053\u306E\u540D\u524D\u306E\u7D50\u679C\u30EC\u30A4\u30E4\u30FC\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002 \u7D50\u679C\u30EC\u30A4\u30E4\u30FC\u540D\u306F\u7D44\u7E54\u30B5\u30A4\u30C8\u5168\u4F53\u3067\u4E00\u610F\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002 \u5225\u306E\u540D\u524D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002",L="\u51FA\u529B\u540D\u306B\u7121\u52B9\u306A\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002 <a href='${docLink}' target='_blank'>\u8A73\u7D30\u3092\u898B\u308B\u3002</a>",b="1 \u3064\u4EE5\u4E0A\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u7121\u52B9\u306A\u305F\u3081\u3001\u30DB\u30B9\u30C8 \u30EC\u30A4\u30E4\u30FC\u3068\u3057\u3066\u30C6\u30F3\u30DD\u30E9\u30EA \u30EC\u30A4\u30E4\u30FC\u3092\u516C\u958B\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u30C4\u30FC\u30EB\u3092\u518D\u5B9F\u884C\u3057\u3001\u6709\u52B9\u306A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u4F7F\u7528\u3057\u3066\u30EC\u30A4\u30E4\u30FC\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002",N="\u30B8\u30E7\u30D6\u3092\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u4E0B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u3001\u30A8\u30E9\u30FC\u3092\u4FEE\u6B63\u3057\u3066\u3001\u89E3\u6790\u3092\u3082\u3046\u4E00\u5EA6\u5B9F\u884C\u3057\u307E\u3059\u3002",g="${ dataPath } \u306B\u306F\u7A7A\u767D\u4EE5\u5916\u306E\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.1.0-next.20251008 */
4
+ import"./MMFULDI7.js";var e="\u3053\u306E\u64CD\u4F5C\u306E\u5B9F\u884C\u306B\u5FC5\u8981\u306A\u30AF\u30EC\u30B8\u30C3\u30C8\u304C\u4E0D\u8DB3\u3057\u3066\u3044\u307E\u3059\u3002 ArcGIS \u30B7\u30B9\u30C6\u30E0\u7BA1\u7406\u8005\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",a="\u3053\u306E\u30C4\u30FC\u30EB\u306F\u30CE\u30FC\u30C8\u30D6\u30C3\u30AF\u304B\u3089\u516C\u958B\u3055\u308C\u307E\u3057\u305F\u3002 \u7D44\u7E54\u3067\u306F\u3001ArcGIS Notebooks \u3078\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u30D6\u30ED\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3059\u3002 \u8A2D\u5B9A\u3092\u8ABF\u6574\u3059\u308B\u306B\u306F\u3001\u7BA1\u7406\u8005\u306B\u304A\u554F\u3044\u5408\u308F\u305B\u304F\u3060\u3055\u3044\u3002",r="${ dataPath } \u304C ${ additionalProperty } \u3092\u6301\u3064\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",t="${ dataPath } \u306F\u3001\u6B21\u306E\u3044\u305A\u308C\u304B\u306E\u30B9\u30AD\u30FC\u30DE\u3068\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: ${ schemaOptions }",o="\u30DE\u30C3\u30D7\u3092\u3082\u3046\u4E00\u5EA6\u4FDD\u5B58\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",s="\u30AF\u30EC\u30B8\u30C3\u30C8\u306E\u63A8\u5B9A\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002 \u4E0B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u3001\u30A8\u30E9\u30FC\u3092\u4FEE\u6B63\u3057\u3066\u3001\u30AF\u30EC\u30B8\u30C3\u30C8\u3092\u3082\u3046\u4E00\u5EA6\u63A8\u5B9A\u3057\u307E\u3059\u3002",i="\u89E3\u6790\u306E\u5B9F\u884C\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",l="${ dataPath } \u306F\u3001\u6B21\u306E\u3044\u305A\u308C\u304B\u306E\u8A31\u53EF\u3055\u308C\u305F\u5024\u3068\u7B49\u3057\u3044\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059: ${ allowedValues }",d="\u89E3\u6790\u5C65\u6B74\u3092\u4FDD\u5B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",n="\u5C65\u6B74\u30B9\u30C8\u30EC\u30FC\u30B8\u304C\u3044\u3063\u3071\u3044\u3067\u3059\u3002 \u89E3\u6790\u5C65\u6B74\u304B\u3089\u3044\u304F\u3064\u304B\u306E\u30A2\u30A4\u30C6\u30E0\u3092\u524A\u9664\u3057\u3066\u3001\u3082\u3046\u4E00\u5EA6\u4FDD\u5B58\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",c="\u30B5\u30FC\u30D3\u30B9\u540D\u306B\u7121\u52B9\u306A\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002",m="\u30DB\u30B9\u30C8 \u30D5\u30A3\u30FC\u30C1\u30E3 \u30EC\u30A4\u30E4\u30FC\u3068\u3057\u3066\u306E\u30C6\u30F3\u30DD\u30E9\u30EA \u30EC\u30A4\u30E4\u30FC\u306E\u4FDD\u5B58\u3092\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",u="\u30AD\u30FC \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u53D6\u5F97\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",E="\u30EC\u30A4\u30E4\u30FC\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",h="\u30EC\u30A4\u30E4\u30FC\u3092\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002",y="${ dataPath } \u306E\u30A2\u30A4\u30C6\u30E0\u306F ${ limit } \u4EE5\u4E0B\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",P="\u30E2\u30C7\u30EB\u306E\u4FDD\u5B58\u4E2D\u306B\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002 \u3082\u3046\u4E00\u5EA6\u4FDD\u5B58\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",p="${ dataPath } \u306E\u30A2\u30A4\u30C6\u30E0\u306F ${ limit } \u4EE5\u4E0A\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",S="${ dataPath } \u306F ${ limit } \u6587\u5B57\u4EE5\u4E0A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",$="\u30E2\u30C7\u30EB \u30A2\u30A4\u30C6\u30E0\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u30E2\u30C7\u30EB\u304C\u5B58\u5728\u3057\u3001\u30A2\u30AF\u30BB\u30B9\u6A29\u9650\u304C\u4ED8\u4E0E\u3055\u308C\u3066\u3044\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",v="\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u5B8C\u4E86\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",f="\u3053\u306E\u30C4\u30FC\u30EB\u3092\u5B9F\u884C\u3059\u308B\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093\u3002 <calcite-link target='_blank' href='${ docLink }'>\u8A73\u7D30</calcite-link>",F="\u30DD\u30FC\u30BF\u30EB\u306B\u30ED\u30B0\u30A4\u30F3\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",I="\u5165\u529B\u30C7\u30FC\u30BF\u3092\u8AAD\u307F\u53D6\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002",k="${ dataPath } \u306B ${ missingProperty } \u3068\u3044\u3046\u30D7\u30ED\u30D1\u30C6\u30A3\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002",T="\u3053\u306E\u540D\u524D\u306E\u7D50\u679C\u30EC\u30A4\u30E4\u30FC\u306F\u3059\u3067\u306B\u5B58\u5728\u3057\u307E\u3059\u3002 \u7D50\u679C\u30EC\u30A4\u30E4\u30FC\u540D\u306F\u7D44\u7E54\u30B5\u30A4\u30C8\u5168\u4F53\u3067\u4E00\u610F\u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093\u3002 \u5225\u306E\u540D\u524D\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002",L="\u51FA\u529B\u540D\u306B\u7121\u52B9\u306A\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u307E\u3059\u3002 <a href='${docLink}' target='_blank'>\u8A73\u7D30\u3092\u898B\u308B\u3002</a>",b="1 \u3064\u4EE5\u4E0A\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u7121\u52B9\u306A\u305F\u3081\u3001\u30DB\u30B9\u30C8 \u30EC\u30A4\u30E4\u30FC\u3068\u3057\u3066\u30C6\u30F3\u30DD\u30E9\u30EA \u30EC\u30A4\u30E4\u30FC\u3092\u516C\u958B\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u30C4\u30FC\u30EB\u3092\u518D\u5B9F\u884C\u3057\u3001\u6709\u52B9\u306A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u4F7F\u7528\u3057\u3066\u30EC\u30A4\u30E4\u30FC\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002",N="\u30B8\u30E7\u30D6\u3092\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002 \u4E0B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3057\u3001\u30A8\u30E9\u30FC\u3092\u4FEE\u6B63\u3057\u3066\u3001\u89E3\u6790\u3092\u3082\u3046\u4E00\u5EA6\u5B9F\u884C\u3057\u307E\u3059\u3002",g="${ dataPath } \u306B\u306F\u7A7A\u767D\u4EE5\u5916\u306E\u6587\u5B57\u304C 1 \u3064\u4EE5\u4E0A\u542B\u307E\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{b as d}from"./TEASRN7Y.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
3
+ v1.1.0-next.20251008 */
4
+ import{b as d}from"./DXNMODEI.js";import{D as c,E as l,G as h,h as o,i as a,o as r}from"./E2VLBYBH.js";import"./MMFULDI7.js";var u=o`:host{display:block}.chat-container{display:flex;flex-direction:column;gap:10px;max-width:400px;background-color:#d3d3d3;border-radius:10px;padding:10px}.chat-panel{--calcite-panel-background-color: "blue"}.chat-messages{display:flex;flex-direction:column;gap:8px;padding:10px;min-height:300px;max-height:300px;overflow-y:auto}.user-message{align-self:flex-end;background:var(--calcite-ui-brand);border-radius:8px;width:90%;--calcite-card-background-color: "blue";--calcite-card-border-color: "blue";color:#fff}.system-message{align-self:flex-start;background:var(--calcite-ui-foreground-1);border-radius:8px;width:90%;--calcite-card-background-color: "white";--calcite-card-border-color: "white"}.message-content{padding:0}.chat-input{display:flex;gap:8px}`,n=class extends l{constructor(){super(...arguments),this.handleSendMessage=async()=>{if(!this.inputRef?.value.trim())return;this._isLoading=!0;let e=this.inputRef.value.trim(),i={message:e};if(this.conversationStore.conversationId!==null){if(i={message:e,conversationId:this.conversationStore.conversationId},this.token){let s=await this.requestAIServer(i,this.token);this.loopRequest(s,this.token)}}else if(this.token){let s=await this.requestAIServer(i,this.token);this.conversationStore.conversationId=s.conversationId,this.conversationStore.inquiryId=s.inquiryId,this.conversationStore.ackSequenceNumber=s.sequenceNumber,this.loopRequest(s,this.token)}this.inputRef.value=""},this.loopRequest=async(e,i)=>{let s={conversationId:e.conversationId,ackSequenceNumber:e.sequenceNumber,inquiryId:e.inquiryId},t=await this.requestAIServer(s,i);t.hasMore?(t.message&&t.message!==null&&(this._isValidJson(t.message)!==!1?(this.jsonMessage=this._isValidJson(t.message),t.context?.intent==="inspection"?this.messages=[...this.messages,{text:this.jsonMessage,sender:t.context.author,format:"json",inquiryId:t.inquiryId}]:t.context&&(this.jsonMessage.response&&this.jsonMessage.response==="no"?(this._resetConversation(),this.messages=[...this.messages,{text:"What else can I help you with?",sender:t.context.author,format:"text",inquiryId:t.inquiryId}]):this.messages=[...this.messages,{text:this.jsonMessage.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])):t.context&&(this.messages=[...this.messages,{text:t.message,sender:t.context.author,format:"text",inquiryId:t.inquiryId}])),this.loopRequest(t,i)):this._isLoading=!1},this.requestAIServer=async(e,i)=>await fetch(this.AIServerUrl,{method:"POST",headers:{"Content-Type":"application/json",token:i},body:JSON.stringify(e)}).then(async s=>await s.json()).then(s=>s||"error").catch(s=>s),this.resetChat=()=>{this._resetConversation(),this.messages=[],this.inputRef&&(this.inputRef.value="")},this._isValidJson=e=>{try{return JSON.parse(e)}catch{return!1}},this._resetConversation=()=>{this.conversationStore.conversationId=null,this.conversationStore.inquiryId=null,this.conversationStore.ackSequenceNumber=null},this._setRef=e=>{this.inputRef=e},this.conversationStore={conversationId:null,inquiryId:null,ackSequenceNumber:null},this.jsonMessage={},this.messages=[],this._isLoading=!1,this.AIServerUrl="http://localhost:8080/skills/solution_deployment/chat",this.token=null,this.arcgisCreateSolutionEvent=r()}static{this.properties={conversationStore:16,jsonMessage:16,messages:16,_isLoading:16,AIServerUrl:1,token:1}}static{this.styles=u}emitCreateSolutionEvent(e){return console.log(e),this.arcgisCreateSolutionEvent.emit()}render(){return a`<div class="chat-container"><calcite-panel class="chat-panel" heading="Solution Assistant">${this.messages.length>0?a`<calcite-button @click=${this.resetChat} slot=header-actions-end appearance=transparent>Reset</calcite-button>`:""}<div class="chat-messages">${this.messages.map(e=>a`<calcite-card class=${h(e.sender==="human"?"user-message":"system-message")}><div class="message-content"><strong>${e.sender==="human"?"You:":"AI:"}</strong>${e.format==="json"?this.renderExtraInformation(e.text):e.text}</div></calcite-card>`)}</div></calcite-panel><div class="chat-input"><calcite-text-area placeholder="Type your message..." auto-grow value="I would like to assess and capture the condition of bus stops in our city?" ${c(this._setRef)}></calcite-text-area><calcite-button @click=${this.handleSendMessage} .disabled=${!!this._isLoading}>${this._isLoading?a`<calcite-loader label=processing... inline></calcite-loader>`:"Send"}</calcite-button></div></div>`}renderExtraInformation(e){return a`<calcite-accordion><calcite-accordion-item description="View the JSON schema" heading="View Schema"><calcite-card><calcite-button @click=${()=>this.emitCreateSolutionEvent(e)}>Create Solution</calcite-button></calcite-card><calcite-card><pre>${JSON.stringify(e,null,2)}</pre></calcite-card></calcite-accordion-item></calcite-accordion>`}};d("arcgis-solutions-assistant",n);export{n as ArcgisSolutionsAssistant};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20251008 */
4
+ import{a,b}from"./O3XKIE2J.js";import"./XTXQCLUY.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./IY6WWNIE.js";import"./MMFULDI7.js";export{a as ProjectEditorTypes,b as ProjectSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
3
+ v1.1.0-next.20251008 */
4
4
  var s="calcite-mode-light",c="calcite-mode-dark";function a(e){let t=e?.closest(`.${c}, .${s}`);return t==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t?.classList.contains(c)?"dark":"light"}export{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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import"./RMJIAKHU.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
3
+ v1.1.0-next.20251008 */
4
+ import"./MMFULDI7.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{b as o}from"./YR3KFLNK.js";import{b as d}from"./TEASRN7Y.js";import{C as n,D as a,E as r,h as t,i as s}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var h=t`/**
3
+ v1.1.0-next.20251008 */
4
+ import{b as o}from"./263SV4HF.js";import{b as d}from"./DXNMODEI.js";import{C as n,D as a,E as r,h as t,i as s}from"./E2VLBYBH.js";import"./MMFULDI7.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
3
+ v1.1.0-next.20251008 */
4
4
  var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{b as h}from"./TEASRN7Y.js";import{E as d,h as n,i as s,l as c,o as l,r as o}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var p=n`@layer{/** @license
3
+ v1.1.0-next.20251008 */
4
+ import{b as h}from"./DXNMODEI.js";import{E as d,h as n,i as s,l as c,o as l,r as o}from"./E2VLBYBH.js";import"./MMFULDI7.js";var p=n`@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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{o as u,p as v,q as _,r as p,v as g,w as C}from"./KTHYYGAI.js";import{b as h}from"./BKVX5QXH.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
3
+ v1.1.0-next.20251008 */
4
+ import{o as u,p as v,q as _,r as p,v as g,w as C}from"./ECOUV44T.js";import{b as h}from"./MNFNMNHC.js";import{C as o,D as a,E as m,G as n,h as d,i as c,r as l}from"./E2VLBYBH.js";import"./MMFULDI7.js";var f=d`@layer{.esri-measurement,.esri-coordinate-conversion{width:300px}.instant-apps-measurement-tool__hide{display:none}}`,w="instant-apps-measurement-tool",s={base:w,hide:`${w}__hide`},r=class extends m{constructor(){super(...arguments),this._measureElement=o(),this._coordinateElement=o()}static{this.properties={view:0,measureConfiguration:0,activeTool:1}}static{this.styles=f}static{this.shadowRootOptions=l}async load(){await this._initModules()}willUpdate(e){e.has("activeTool")&&this._setActiveTool(this.activeTool)}loaded(){this._init()}disconnectedCallback(){super.disconnectedCallback(),this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,i]=await Promise.all([g(),u(),_()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=i}async _init(){await this._initMeasurementWidget(),await this._initCoordinateWidget()}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await C({view:this.view,container:this._measureElement.value,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget?.clear(),this._coordinateElement.value?.classList.add(s.hide),e==="distance"&&this._measureWidget?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"&&this._measureWidget?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement.value?.classList?.remove(s.hide);let i=this.el.getRootNode().querySelector(`calcite-action[data-value="${e}"]`);i&&i.setFocus()}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await v({view:this.view,storageEnabled:!1,container:this._coordinateElement.value}),t!=null)){let i=this._coordinateWidget.formats.find(W=>W.name===t);this._coordinateWidget?.conversions?.splice(0,0,await p({format:i}))}e!=null&&this._setActiveTool(e)}render(){return c`<div class=${n(s.base)}><div ${a(this._measureElement)}></div><div class=${n(s.hide)} ${a(this._coordinateElement)}></div></div>`}};h("instant-apps-measurement-tool",r);export{r as InstantAppsMeasurementTool};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
3
+ v1.1.0-next.20251008 */
4
4
  function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as r}from"./LTIDIJED.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{b as o}from"./TEASRN7Y.js";import{E as n,h as l,i as a,o as i}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var c=l`/** @license
3
+ v1.1.0-next.20251008 */
4
+ import{a as r}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as o}from"./DXNMODEI.js";import{E as n,h as l,i as a,o as i}from"./E2VLBYBH.js";import"./MMFULDI7.js";var c=l`/** @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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
3
+ v1.1.0-next.20251008 */
4
4
  var l=e=>({labelKey:`${e}.fields.slug.label`,scope:"/properties/_slug",type:"Control",options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.slug.patternError`},{type:"ERROR",keyword:"isUniqueSlug",icon:!0,labelKey:`${e}.fields.slug.isUniqueError`}]}});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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a}from"./7CLVLK6R.js";import{a as d}from"./ZCEFL75O.js";import{K as b,L as m}from"./CWW4TIP3.js";import"./DGG2R6PP.js";import{a as l}from"./DVEARR2O.js";import{a as i}from"./DNWSUZU6.js";import"./UCRPQIXK.js";import"./BKPJQFOK.js";import"./MABSRXW6.js";import"./DS5QDJCC.js";import"./WJ7A5A7U.js";import"./BBV4DJRN.js";import"./63P5O4B7.js";import"./7AGOME7H.js";import"./NFRKDOES.js";import"./P5WTX4AV.js";import"./CCZWYN2L.js";import"./LUM3VJFG.js";import"./DI6ZYUOP.js";import"./XBG4WOKU.js";import"./RF4OY5XZ.js";import"./LZGJ2VAE.js";import"./HZX2QANF.js";import"./EBYV7LDT.js";import"./GZPVVSWK.js";import"./34LYISA3.js";import"./GB7NCS3L.js";import"./TAW7AKE2.js";import"./RMJIAKHU.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ as buildUiSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{a}from"./XQ23FEV5.js";import{a as d}from"./L6BR25YZ.js";import{K as b,L as m}from"./RUSZENO2.js";import"./GEJYMCY4.js";import{a as l}from"./GF2M5LOG.js";import{a as i}from"./YRWXAGEM.js";import"./PA5TUTEY.js";import"./WWNHUF4A.js";import"./2SJENBGK.js";import"./RWBGHIUR.js";import"./NS6VPU4I.js";import"./Z55VK2A4.js";import"./VF3UCUX7.js";import"./J4URZEGS.js";import"./S3CGUDVW.js";import"./RYNPSM5K.js";import"./PRI7A4BS.js";import"./PQ6SIGKH.js";import"./GOSQMPLD.js";import"./R5MOYHJE.js";import"./J2SHXZLC.js";import"./O3XKIE2J.js";import"./BGSIHZYK.js";import"./XTXQCLUY.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./IY6WWNIE.js";import"./MMFULDI7.js";function h(e,r){let t=l(r,"portal")||l(r,"authentication.portal")||"www.arcgis.com",n=`${d(t)}/sharing/rest`;return b(e,Object.assign(Object.assign({},r),{portal:n}))}var _=async(e,r,t)=>{var n,o;let s,p=`{{${e}.notice.message:translate}}`,g=[{ariaLabel:`{{${e}.notice.actions.goToOrg:translate}}`,label:`{{${e}.notice.actions.goToOrg:translate}}`,href:`${t.portalUrl}/home/organization.html?tab=general#settings`,target:"_blank"}],c=await C(t),y=!((n=c.informationalBanner)===null||n===void 0)&&n.enabled?`{{${e}.fields.infoBanner.helperText:translate}}`:`{{${e}.fields.infoBanner.helperTextWhenDisabled:translate}}`,O=`{{${e}.fields.infoBanner.goToBannerConfig:translate}}`,$=`<calcite-link href=${t.portalUrl}/home/organization.html?tab=security#settings target="_blank" icon-end="launch">${O}</calcite-link>`;if(t.communityOrgId||t.enterpriseOrgId){let f=t.enterpriseOrgId?"goToStaffOrg":"goToCommunityOrg",u=await S(t),w=t.enterpriseOrgId||t.communityOrgId;s=t.trustedOrgs.find(T=>T.to.orgId===w).to.name,p=t.enterpriseOrgId?`{{${e}.notice.staffMessage:translate}}: ${s}`:`{{${e}.notice.communityMessage:translate}}: ${s}`,u&&g.push({ariaLabel:`{{${e}.notice.actions.${f}:translate}}`,label:`{{${e}.notice.actions.${f}:translate}}`,href:u,target:"_blank"})}return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.userSettings`,elements:[{type:"Control",scope:"/properties/settings/properties/features/properties/workspace",labelKey:`${e}.fields.workspacePreview.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.workspacePreview.helperText`}}}]},{type:"Section",labelKey:`${e}.sections.orgSettings.label`,options:{helperText:{label:`${t.portal.name}`}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin&&t.currentUser.orgId===t.portal.id]}],elements:[{type:"Notice",options:{notice:{configuration:{id:"user-org-settings-notice",noticeType:"notice",closable:!1,kind:"info",scale:"m"},title:`{{${e}.notice.title:translate}}`,message:p,autoShow:!0,actions:g}}},{type:"Section",labelKey:`${e}.sections.orgSettings.siteDefaults.label`,elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",labelKey:`${e}.fields.infoBanner.label`,options:{type:"Control",control:"hub-field-input-switch",layout:"inline-space-between",helperText:{label:y}},rules:[{effect:i.DISABLE,conditions:[!(!((o=c.informationalBanner)===null||o===void 0)&&o.enabled)]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/showInformationalBanner",options:{control:"calcite-link",layout:"inline-space-between",helperText:{label:$}},rules:[{effect:i.SHOW,conditions:[t.isOrgAdmin]}]}]},{type:"Section",labelKey:`${e}.sections.orgSettings.signinSettings.label`,rules:[{effect:i.SHOW,conditions:[!!(t.isCommunityOrg&&t.isOrgAdmin)]}],options:{helperText:{labelKey:`${e}.sections.orgSettings.signinSettings.helperText`}},elements:[{type:"Control",scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",labelKey:`${e}.fields.enableTermsAndConditions.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/termsAndConditions",labelKey:`${e}.fields.termsAndConditions.label`,options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableTermsAndConditions",schema:{const:!0}}]}]},{type:"Control",scope:"/properties/hubOrgSettings/properties/enableSignupText",labelKey:`${e}.fields.enableSignupText.label`,options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{type:"Control",scope:"/properties/hubOrgSettings/properties/signupText",options:{control:"hub-field-input-rich-text",type:"textarea"},rules:[{effect:i.SHOW,conditions:[{scope:"/properties/hubOrgSettings/properties/enableSignupText",schema:{const:!0}}]}]}]}]}]}};async function S(e){let r=`${e.communityOrgUrl}/home/organization.html`;if(e.enterpriseOrgId){let n=await a(h,{})(e.enterpriseOrgId,e.requestOptions);n.urlKey?r=`https://${n.urlKey}.${n.customBaseUrl}/home/organization.html`:r=void 0}return r}async function C(e){return await a(m,{})(e.portal.id,{portal:e.sharingApiUrl})}export{C as _getPortalSettings,_ 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as l}from"./GVG6ZDPJ.js";import{b as t,c as u}from"./63P5O4B7.js";import"./RMJIAKHU.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
3
+ v1.1.0-next.20251008 */
4
+ import{a as l}from"./ANZA36SE.js";import{b as t,c as u}from"./VF3UCUX7.js";import"./MMFULDI7.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as i}from"./2XKY7VRX.js";import{a}from"./IZG3RDWO.js";import"./RRW7XCIA.js";import"./ZCEFL75O.js";import"./RNW4CN66.js";import"./Y4ZPEHKX.js";import"./25EAY44P.js";import{a as o}from"./FWXW2OGJ.js";import{a as s}from"./NF6OXWYZ.js";import"./CWW4TIP3.js";import"./DGG2R6PP.js";import"./GA5JF4P7.js";import"./DVEARR2O.js";import{b as r}from"./DNWSUZU6.js";import"./UCRPQIXK.js";import"./BKPJQFOK.js";import"./MABSRXW6.js";import"./DS5QDJCC.js";import"./WJ7A5A7U.js";import"./BBV4DJRN.js";import"./63P5O4B7.js";import"./7AGOME7H.js";import"./NFRKDOES.js";import"./P5WTX4AV.js";import"./CCZWYN2L.js";import"./LUM3VJFG.js";import"./DI6ZYUOP.js";import"./XBG4WOKU.js";import"./RF4OY5XZ.js";import"./LZGJ2VAE.js";import"./HZX2QANF.js";import"./EBYV7LDT.js";import"./GZPVVSWK.js";import"./34LYISA3.js";import"./GB7NCS3L.js";import"./TAW7AKE2.js";import"./RMJIAKHU.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{a as i}from"./2ZNOUB6W.js";import{a}from"./IG5F5THG.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./Q2HKN3EB.js";import{a as o}from"./T65DB2UP.js";import{a as s}from"./SMAWIWJ6.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import{b as r}from"./YRWXAGEM.js";import"./PA5TUTEY.js";import"./WWNHUF4A.js";import"./2SJENBGK.js";import"./RWBGHIUR.js";import"./NS6VPU4I.js";import"./Z55VK2A4.js";import"./VF3UCUX7.js";import"./J4URZEGS.js";import"./S3CGUDVW.js";import"./RYNPSM5K.js";import"./PRI7A4BS.js";import"./PQ6SIGKH.js";import"./GOSQMPLD.js";import"./R5MOYHJE.js";import"./J2SHXZLC.js";import"./O3XKIE2J.js";import"./BGSIHZYK.js";import"./XTXQCLUY.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./IY6WWNIE.js";import"./MMFULDI7.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import c from"./P452FU2A.js";import{a as x}from"./GMAB24CO.js";import a from"./X4GJCR5U.js";import{a as T,c as P}from"./WIKHUM7W.js";import{b as u}from"./NFKSCTP6.js";import{Vb as C,sa as S}from"./FJRO4BGU.js";import"./IJVCRHJI.js";import"./ZKZ2XXJ5.js";import"./AJVXYTUE.js";import"./3EWQDBJH.js";import"./OLJB5ZX6.js";import"./7CLVLK6R.js";import"./WHHG5JY6.js";import"./RRW7XCIA.js";import"./ZCEFL75O.js";import"./RNW4CN66.js";import"./Y4ZPEHKX.js";import"./TJSIZLLY.js";import"./25EAY44P.js";import"./CWW4TIP3.js";import"./DGG2R6PP.js";import"./KWQLECX2.js";import"./GA5JF4P7.js";import"./DVEARR2O.js";import"./63P5O4B7.js";import"./PZIZHAUI.js";import{a as $}from"./LTIDIJED.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{b}from"./TEASRN7Y.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @license
3
+ v1.1.0-next.20251008 */
4
+ import c from"./U7EPLCCV.js";import{a as x}from"./DOLZSVSX.js";import a from"./GAF7MRHW.js";import{a as T,c as P}from"./G3OWUZUL.js";import{b as u}from"./2QQAS4R2.js";import{Vb as C,sa as S}from"./B6S6Q4VM.js";import"./QXHCTHCT.js";import"./LD2YG4B3.js";import"./MNLAU654.js";import"./KYHIL5F4.js";import"./M4YVUIRX.js";import"./XQ23FEV5.js";import"./YECBIR5K.js";import"./47FKRLN3.js";import"./L6BR25YZ.js";import"./7DWTV2LQ.js";import"./YW6TF5XX.js";import"./57QWWLMF.js";import"./Q2HKN3EB.js";import"./RUSZENO2.js";import"./GEJYMCY4.js";import"./GIMIQHFZ.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import"./VF3UCUX7.js";import"./CZSGGEZF.js";import{a as $}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b}from"./DXNMODEI.js";import{C as y,D as p,E as w,G as h,h as g,i as d,l as D,o as m}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([,{b:v}])=>{var O=g`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20251008 */
4
+ import{a,b}from"./PA5TUTEY.js";import"./WWNHUF4A.js";import"./2SJENBGK.js";import"./RWBGHIUR.js";import"./XGLM2UZY.js";import"./MMFULDI7.js";export{a as EventEditorTypes,b as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{l as c}from"./RRW7XCIA.js";import{a as o}from"./DVEARR2O.js";import{a as n}from"./34LYISA3.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
3
+ v1.1.0-next.20251008 */
4
+ import{l as c}from"./47FKRLN3.js";import{a as o}from"./GF2M5LOG.js";import{a as n}from"./54N6KCW5.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as C}from"./ANCQW5PF.js";import"./BKVX5QXH.js";import{d as x}from"./PYA6BXUC.js";import{a as s}from"./PZIZHAUI.js";import"./QCXP5YUZ.js";import{a as I}from"./LTIDIJED.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{b as L}from"./TEASRN7Y.js";import{C as h,D as r,E as $,G as d,H as v,h as f,i as l,l as w,o as m,r as y}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var k=f`@layer{/** @license
3
+ v1.1.0-next.20251008 */
4
+ import{a as C}from"./SXV4IA3Z.js";import"./MNFNMNHC.js";import{d as x}from"./PQE2G3DC.js";import{a as s}from"./CZSGGEZF.js";import"./OU7ZZNCL.js";import{a as I}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as L}from"./DXNMODEI.js";import{C as h,D as r,E as $,G as d,H as v,h as f,i as l,l as w,o as m,r as y}from"./E2VLBYBH.js";import"./MMFULDI7.js";var k=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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{a as i}from"./6POPEKGV.js";import{o as r}from"./3EWQDBJH.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K as b};
3
+ v1.1.0-next.20251008 */
4
+ import{a as i}from"./NAHN46XY.js";import{o as r}from"./KYHIL5F4.js";var a={location:"location.json"};function y(){let o=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],n=Object.keys(a),e=[];return o.forEach(s=>{e.push({entityKey:s,storeKey:`item.${s}`})}),t.forEach(s=>{e.push({entityKey:s,storeKey:`data.${s}`})}),n.forEach(s=>{e.push({entityKey:s,storeKey:`resources.${s}`})}),e.push({entityKey:"slug",storeKey:"item.properties.slug"}),e.push({entityKey:"summary",storeKey:"item.snippet"}),e.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),e.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),e.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),e}function K(o,t){return t.createdDate=new Date(o.created),t.createdDateSource="item.created",t.updatedDate=new Date(o.modified),t.updatedDateSource="item.modified",t.location=t.location||r(o),t.isDiscussable=i(o),t}export{y as a,K 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import e from"./DJUAK5MT.js";import b from"./BYS6RPZ2.js";import"./5O442EOV.js";import a from"./DMVMCVRH.js";import{a as c}from"./EP6GQK76.js";import{a as v}from"./UORRX6O6.js";import{c as f,t as w,u,y,z as L}from"./KTHYYGAI.js";import{b as p}from"./BKVX5QXH.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{C as d,D as m,E as g,G as o,h as l,i as r}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";export default $arcgis.t(([,{b:C},{t:_}])=>{var I=l`:host{display:block;height:100%}:host .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},h=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=d(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await f(),this.reactiveUtils=e,this.widget=await y({});let t=await w({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},i=await u(a);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}render(){let{base:e,component:t,widget:s,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,s,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(_(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${m(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,a=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};p("instant-apps-interactive-legend",h);return h},a,b,e)
3
+ v1.1.0-next.20251008 */
4
+ import e from"./LMADLYWT.js";import b from"./DDRZWXLZ.js";import"./APLZT37S.js";import a from"./QFBJ4JMR.js";import{a as c}from"./NFBCBMDM.js";import{a as v}from"./AFR63NC6.js";import{c as f,t as w,u,y,z as L}from"./ECOUV44T.js";import{b as p}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{C as d,D as m,E as g,G as o,h as l,i as r}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([,{b:C},{t:_}])=>{var I=l`:host{display:block;height:100%}:host .esri-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}:host .esri-legend.esri-component.esri-widget.esri-widget--panel{margin:0}`,M={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component"}},h=class extends g{constructor(){super(...arguments),this._messages=v({name:"instant-apps-interactive-legend"}),this.ref=d(),this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1}static{this.properties={handles:16,reactiveUtils:16,legendvm:16,widget:16,view:0,zoomTo:5,featureCount:5,filterMode:0,compact:5}}static{this.styles=I}async load(){this.compactHandler(),new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0}),await this.initializeModules()}willUpdate(e){(e.has("handles")||e.has("reactiveUtils")||e.has("view"))&&this.init(),e.has("compact")&&(this.hasUpdated||this.compact)&&this.compactHandler()}async initializeModules(){let e=await L();this.handles=await f(),this.reactiveUtils=e,this.widget=await y({});let t=await w({});return await e.whenOnce(()=>t?.messages),this._messages={...this._messages,...t.messages},await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async n=>await n.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let a={view:this.view,respectLayerDefinitionExpression:!0},i=await u(a);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){C.set("compact",this.compact)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}render(){let{base:e,component:t,widget:s,widgetPanel:a}=M.esri;return c("interactive-legend",r`<div class=${o(this.widget?.classes(e,t,s,a))}>${this.legendvm?c("interactive-legend-classic",r`<instant-apps-interactive-legend-classic class=${o(_(this.el))} .legendvm=${this.legendvm} .zoomTo=${this.zoomTo} .filterMode=${this.filterMode} .featureCount=${this.featureCount} .messages=${this._messages} ${m(this.ref)}></instant-apps-interactive-legend-classic>`):null}</div>`)}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,a=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(a,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(n=>this._renderOnActiveLayerInfoChange(n,t))})}};p("instant-apps-interactive-legend",h);return h},a,b,e)