@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{a as e}from"./GZPVVSWK.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a as b};
3
+ v1.1.0-next.20251008 */
4
+ import{a as e}from"./OINEKCE3.js";var s=["hub:survey:edit","hub:survey:settings"],a=Object.assign(Object.assign({},e),{properties:Object.assign({displayMap:{type:"boolean",enum:[!0,!1],default:!1},hasMapQuestion:{type:"boolean",enum:[!0,!1],default:!1}},e.properties)});export{s as a,a 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{a as e}from"./GZPVVSWK.js";import{b as t,g as s,m as i}from"./GB7NCS3L.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
3
+ v1.1.0-next.20251008 */
4
+ import{a as e}from"./OINEKCE3.js";import{b as t,g as s,m as i}from"./XGLM2UZY.js";var u=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:discussions","hub:site:settings"],a=o=>Object.assign(Object.assign({$async:!0},e),{properties:Object.assign(Object.assign({},e.properties),{name:t,_discussions:s,telemetry:i,_urlInfo:{type:"object",isUniqueDomain:{siteId:o},required:["subdomain"],properties:{subdomain:{type:"string",format:"slug"}}}})});export{u as a,a as b};
@@ -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{e as w}from"./PYA6BXUC.js";import"./PZIZHAUI.js";import"./QCXP5YUZ.js";import{b as m}from"./YR3KFLNK.js";import{a as _}from"./LTIDIJED.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{b as g}from"./TEASRN7Y.js";import{C as l,D as c,E as p,G as n,h,i as o,o as s,r as d}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var f=h`@layer{/** @license
3
+ v1.1.0-next.20251008 */
4
+ import{e as w}from"./PQE2G3DC.js";import"./CZSGGEZF.js";import"./OU7ZZNCL.js";import{b as m}from"./263SV4HF.js";import{a as _}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as g}from"./DXNMODEI.js";import{C as l,D as c,E as p,G as n,h,i as o,o as s,r as d}from"./E2VLBYBH.js";import"./MMFULDI7.js";var f=h`@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 O}from"./UORRX6O6.js";import{A as H,C as M,D as F,d as B,e as L}from"./KTHYYGAI.js";import{b as U}from"./BKVX5QXH.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
3
+ v1.1.0-next.20251008 */
4
+ import{a as O}from"./AFR63NC6.js";import{A as H,C as M,D as F,d as B,e as L}from"./ECOUV44T.js";import{b as U}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{B as S,C as m,D as h,E as I,G as a,H as b,I as C,h as T,i as n,j as w}from"./E2VLBYBH.js";import"./MMFULDI7.js";var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",N=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=O({name:"instant-apps-social-share"}),this.popoverRef=m(),this.embedWidthRef=m(),this.embedHeightRef=m(),this.embedCodeRef=m(),this.copyLinkPopoverRef=m(),this.copyEmbedPopoverRef=m(),this.dialogContentRef=m(),this.shareListRef=m(),this.popoverButtonRef=m(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let l=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(l),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let p;r&&(p=window.open("","_blank"),this.shortenShareUrl&&(l=await this.shortenUrl(this.shareUrl)||l));let d={url:encodeURI(l)},f=e==="x"?{...d,text:this.shareText}:d,k=(await M()).substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&p?(p.location=k,p.focus()):window.open(encodeURI(k),"_blank")}break;case"native-share":let v={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(l)};navigator?.canShare?.(v)?navigator.share(v).catch(p=>{console.error("Error using native share:",p)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await(await F())("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=await L({...o.toJSON()}),l=await B({x:e,y:s,spatialReference:r}),v=await this.processPoint(l),{isWGS84:p,isWebMercator:d}=v.spatialReference,f=p||d;return this.generateShareUrlParams(v,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=await H(),l=await L({wkid:4326}),v=this.view?.spatialReference??l;try{return await r.load(),r.execute(e,v)}catch(p){console.error("Failed to project point to outSpatialReference",p);try{let d=r.execute(e,l);return Promise.resolve(d)}catch(d){return console.error("Failed to project point to fallbackOutSpatialReference",d),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:l,y:v}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let p=this.roundValue(s?o:l),d=this.roundValue(s?r:v),{zoom:f}=this.view,k=this.roundValue(f),P=this.view?.popup?.selectedFeature,D=this.view?.popup?.visible,$,x;if(P&&D&&P?.layer?.type==="feature"){let _=P?.layer;$=_?.id,x=P.attributes[_.objectIdField]}let R=this.view.map?.allLayers.filter(_=>!_.visible).toArray().map(_=>_.id).toString().replaceAll(",",";"),{type:A}=this.view,{defaultUrlParams:g}=this,c=new URL(this.shareUrl),{searchParams:u}=c;if(u.get("center")&&u.delete("center"),u.get("level")&&u.delete("level"),u.get("selectedFeature")&&u.delete("selectedFeature"),u.get("hiddenLayers")&&u.delete("hiddenLayers"),u.get("viewpoint")&&u.delete("viewpoint"),A==="3d"){let{camera:_}=this.view,{heading:V,position:W,tilt:j}=_,{longitude:K,latitude:Z,x:G,y:X,z:q}=W,J=s?K:G,Q=s?Z:X,y={longitude:this.roundValue(J,8),latitude:this.roundValue(Q,8),z:this.roundValue(q,3),heading:this.roundValue(V,3),tilt:this.roundValue(j,3)},Y=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return g?.viewpoint!==!1&&c.searchParams.set("viewpoint",Y),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}return g?.center!==!1&&c.searchParams.set("center",`${p};${d}`),g?.level!==!1&&c.searchParams.set("level",`${k}`),$&&x&&g?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),R&&g?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",R),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(N)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,l=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${l} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??C} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${b({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${b({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(N);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${b({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${b({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${b({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${b({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${b({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${b({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);export{z as InstantAppsSocialShare};
@@ -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 t}from"./KWQLECX2.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.1.0-next.20251008 */
4
+ import{a as t}from"./GIMIQHFZ.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20251007.1 */
4
- import{c as a}from"./TAW7AKE2.js";import"./RMJIAKHU.js";export{a as MetricSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{c as a}from"./IY6WWNIE.js";import"./MMFULDI7.js";export{a as MetricSchema};
@@ -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="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V as whiteSpacePattern};
3
+ v1.1.0-next.20251008 */
4
+ import"./MMFULDI7.js";var e="K proveden\xED t\xE9to operace nem\xE1te dostatek kredit\u016F. Po\u017E\xE1dejte o pomoc spr\xE1vce syst\xE9mu ArcGIS.",o="Tento n\xE1stroj byl publikov\xE1n z notebooku. P\u0159\xEDstup k ArcGIS Notebooks je pro va\u0161i organizaci zablokov\xE1n. Pro \xFApravu nastaven\xED se obra\u0165te na spr\xE1vce.",a="${ dataPath } nesm\xED obsahovat ${ additionalProperty }.",t="${ dataPath } se mus\xED shodovat s\xA0jedn\xEDm z\xA0t\u011Bchto sch\xE9mat: ${ schemaOptions }.",r="Zkuste mapu znovu ulo\u017Eit.",s="Odhad kredit\u016F se nezda\u0159il. P\u0159ejd\u011Bte dol\u016F, opravte chyby a znovu odhadn\u011Bte kredity.",n="P\u0159i prov\xE1d\u011Bn\xED anal\xFDzy do\u0161lo k chyb\u011B.",i="${ dataPath } se mus\xED rovnat jedn\xE9 z\xA0t\u011Bchto povolen\xFDch hodnot: ${ allowedValues }.",l="Nepoda\u0159ilo se ulo\u017Eit historii anal\xFDzy",d="\xDAlo\u017Ei\u0161t\u011B historie je pln\xE9. Odstra\u0148te n\u011Bkter\xE9 polo\u017Eky z\xA0historie anal\xFDzy a\xA0zkuste ulo\u017Een\xED zopakovat.",v="N\xE1zev slu\u017Eby obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F.",u="Ukl\xE1d\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy prvk\u016F nebylo dokon\u010Deno.",p="Nepoda\u0159ilo se z\xEDskat vlastnosti kl\xED\u010De.",c="Vrstvu se nepoda\u0159ilo na\u010D\xEDst.",m="Vrstva nen\xED k dispozici.",k="${ dataPath } nesm\xED obsahovat v\xEDce ne\u017E ${ limit } polo\u017Eek.",h="P\u0159i ukl\xE1d\xE1n\xED modelu do\u0161lo k chyb\u011B. Zkuste ulo\u017Eit znovu.",y="${ dataPath } nesm\xED obsahovat m\xE9n\u011B ne\u017E ${ limit } polo\u017Eek.",b="${ dataPath } nesm\xED b\xFDt krat\u0161\xED ne\u017E ${ limit } znak\u016F.",z="Nepoda\u0159ilo se na\u010D\xEDst polo\u017Eku modelu. Ujist\u011Bte se, \u017Ee model existuje a\xA0\u017Ee bylo ud\u011Bleno p\u0159\xEDstupov\xE9 opr\xE1vn\u011Bn\xED.",P="Po\u017Eadavek se nepoda\u0159ilo dokon\u010Dit.",j="Ke spu\u0161t\u011Bn\xED tohoto n\xE1stroje nem\xE1te opr\xE1vn\u011Bn\xED. <calcite-link target='_blank' href='${ docLink }'>Dal\u0161\xED informace</calcite-link>",E="Nepoda\u0159ilo se p\u0159ihl\xE1sit k port\xE1lu.",S="Nepoda\u0159ilo se p\u0159e\u010D\xEDst vstupn\xED data.",f="V ${ dataPath } chyb\xED vlastnost s n\xE1zvem ${ missingProperty }.",$="Vrstva v\xFDsledk\u016F s t\xEDmto n\xE1zvem ji\u017E existuje. Vrstvy v\xFDsledk\u016F mus\xED b\xFDt pojmenov\xE1ny jedine\u010Dn\u011B v cel\xE9 organizaci. Pou\u017Eijte jin\xFD n\xE1zev.",N="V\xFDstupn\xED n\xE1zev obsahuje jeden nebo v\xEDce neplatn\xFDch znak\u016F. <a href='${docLink}' target='_blank'>V\xEDce informac\xED.</a>",F="Publikov\xE1n\xED do\u010Dasn\xE9 vrstvy jako hostovan\xE9 vrstvy se nezda\u0159ilo kv\u016Fli jednomu nebo v\xEDce neplatn\xFDm pol\xEDm. Spus\u0165te n\xE1stroj znovu a\xA0vytvo\u0159te vrstvu s\xA0platn\xFDmi poli.",I="Odesl\xE1n\xED \xFAlohy se nezda\u0159ilo. P\u0159ejd\u011Bte dol\u016F, opravte chyby a\xA0spus\u0165te anal\xFDzu znovu.",V="${ dataPath } mus\xED obsahovat alespo\u0148 jeden znak jin\xFD ne\u017E mezera.",T={InsufficientCreditsError:e,accessBlocked:o,additionalProperty:a,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:n,enumValues:i,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:p,layerLoadFailure:c,layerUnavailable:m,maxItems:k,mbFailedToSave:h,minItems:y,minLength:b,modelNotFound:z,networkError:P,noPermissionToAccessTool:j,portalLoadError:E,queryFeaturesError:S,requiredProperty:f,serviceNameExistsError:$,specialCharactersInServiceNameError:N,temporaryLayerFieldsError:F,toolValidationError:I,whiteSpacePattern:V};export{e as InsufficientCreditsError,o as accessBlocked,a as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,n as defaultError,i as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,p as keyPropertiesError,c as layerLoadFailure,m as layerUnavailable,k as maxItems,h as mbFailedToSave,y as minItems,b as minLength,z as modelNotFound,P as networkError,j as noPermissionToAccessTool,E as portalLoadError,S as queryFeaturesError,f as requiredProperty,$ as serviceNameExistsError,N as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,I as toolValidationError,V 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"./RMJIAKHU.js";var a="Bu i\u015Flemi ger\xE7ekle\u015Ftirmek i\xE7in yeterli krediniz yok. Yard\u0131m i\xE7in bir ArcGIS Sistem Y\xF6neticiniz ile ileti\u015Fime ge\xE7in.",e="Bu ara\xE7 bir notebook'tan yay\u0131nland\u0131. Kurulu\u015Funuz i\xE7in ArcGIS Notebooks'a eri\u015Fim engellenmi\u015F. Ayar\u0131 de\u011Fi\u015Ftirmesi i\xE7in y\xF6neticinizle ileti\u015Fim kurun.",r="${ dataPath }'de ${ additionalProperty } olmamal\u0131d\u0131r.",i="${ dataPath }, \u015Funlardan birinin \u015Femas\u0131yla e\u015Fle\u015Fmelidir: ${ schemaOptions }.",l="Haritay\u0131 yeniden kaydetmeyi deneyin.",n="Kredi tahmini ba\u015Far\u0131s\u0131z oldu. A\u015Fa\u011F\u0131 kayd\u0131r\u0131n, hatalar\u0131 d\xFCzeltin ve kredileri tekrar tahmin edin.",t="Analiz \xE7al\u0131\u015Ft\u0131r\u0131l\u0131rken hata olu\u015Ftu.",d="${ dataPath }, izin verilen \u015Fu de\u011Ferlerden birine e\u015Fit olmal\u0131d\u0131r: ${ allowedValues }.",o="Analiz ge\xE7mi\u015Fi kaydedilemedi",s="Ge\xE7mi\u015F deposu dolu. Analiz ge\xE7mi\u015Finden baz\u0131 \xF6\u011Feleri kald\u0131r\u0131n ve yeniden kaydetmeyi deneyin.",m="Servis ad\u0131 bir veya daha fazla ge\xE7ersiz karakter i\xE7eriyor.",u="Ge\xE7ici katman\u0131n bar\u0131nd\u0131r\u0131lan detay katman\u0131 olarak kaydedilmesi tamamlanmad\u0131.",k="Anahtar \xF6zellikleri al\u0131namad\u0131.",y="Katman y\xFCklenemedi.",c="Katman kullan\u0131labilir de\u011Fil.",h="${ dataPath }, ${ limit }'den fazla \xF6geye sahip olmamal\u0131d\u0131r.",b="Model kaydedilirken bir hata olu\u015Ftu. Yeniden kaydetmeyi deneyin.",z="${ dataPath }, ${ limit }'den az \xF6geye sahip olmamal\u0131d\u0131r.",v="${ dataPath }, ${ limit } karakterden daha k\u0131sa olmamal\u0131d\u0131r.",p="Model \xF6gesi y\xFCklenemedi. Modelin var oldu\u011Fundan ve eri\u015Fim izninin verildi\u011Finden emin olun.",E="Talep tamamlanamad\u0131.",P="Bu arac\u0131 \xE7al\u0131\u015Ft\u0131rma izniniz yok. <calcite-link target='_blank' href='${ docLink }'>Daha fazla bilgi</calcite-link>",f="Portala giri\u015F yap\u0131lamad\u0131.",g="Girdi verileri okunamad\u0131.",S="${ dataPath }'de ${ missingProperty } adl\u0131 \xF6zellik eksik.",$="Bu ada sahip bir sonu\xE7 katman\u0131 zaten var. Sonu\xE7 katmanlar\u0131 kurulu\u015F \xE7ap\u0131nda benzersiz adland\u0131r\u0131lm\u0131\u015F olmal\u0131d\u0131r. L\xFCtfen farkl\u0131 bir ad kullan\u0131n.",F="\xC7\u0131kt\u0131 ad\u0131nda bir veya birka\xE7 ge\xE7ersiz karakter var. <a href='${docLink}' target='_blank'>Daha fazla bilgi edinin.</a>",I="Ge\xE7ici katman\u0131n bar\u0131nd\u0131r\u0131lan katman olarak yay\u0131nlanmas\u0131, bir veya daha fazla ge\xE7ersiz alan nedeniyle ba\u015Far\u0131s\u0131z oldu. Ge\xE7erli alanlara sahip bir katman olu\u015Fturmak i\xE7in arac\u0131 yeniden \xE7al\u0131\u015Ft\u0131r\u0131n.",T="\u0130\u015F g\xF6nderimi ba\u015Far\u0131s\u0131z oldu. A\u015Fa\u011F\u0131ya kayd\u0131r\u0131n, hatalar\u0131 d\xFCzeltin ve analiz arac\u0131n\u0131 tekrar \xE7al\u0131\u015Ft\u0131r\u0131n.",A="${ dataPath }, en az bir adet bo\u015Fluk olmayan karaktere sahip olmal\u0131d\u0131r.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:i,cannotWriteToItemResource:l,creditEstimationError:n,defaultError:t,enumValues:d,failedToSaveHistory:o,fullSessionStorage:s,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:k,layerLoadFailure:y,layerUnavailable:c,maxItems:h,mbFailedToSave:b,minItems:z,minLength:v,modelNotFound:p,networkError:E,noPermissionToAccessTool:P,portalLoadError:f,queryFeaturesError:g,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,i as anyOfValues,l as cannotWriteToItemResource,n as creditEstimationError,L as default,t as defaultError,d as enumValues,o as failedToSaveHistory,s as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,y as layerLoadFailure,c as layerUnavailable,h as maxItems,b as mbFailedToSave,z as minItems,v as minLength,p as modelNotFound,E as networkError,P as noPermissionToAccessTool,f as portalLoadError,g as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,A as whiteSpacePattern};
3
+ v1.1.0-next.20251008 */
4
+ import"./MMFULDI7.js";var a="Bu i\u015Flemi ger\xE7ekle\u015Ftirmek i\xE7in yeterli krediniz yok. Yard\u0131m i\xE7in bir ArcGIS Sistem Y\xF6neticiniz ile ileti\u015Fime ge\xE7in.",e="Bu ara\xE7 bir notebook'tan yay\u0131nland\u0131. Kurulu\u015Funuz i\xE7in ArcGIS Notebooks'a eri\u015Fim engellenmi\u015F. Ayar\u0131 de\u011Fi\u015Ftirmesi i\xE7in y\xF6neticinizle ileti\u015Fim kurun.",r="${ dataPath }'de ${ additionalProperty } olmamal\u0131d\u0131r.",i="${ dataPath }, \u015Funlardan birinin \u015Femas\u0131yla e\u015Fle\u015Fmelidir: ${ schemaOptions }.",l="Haritay\u0131 yeniden kaydetmeyi deneyin.",n="Kredi tahmini ba\u015Far\u0131s\u0131z oldu. A\u015Fa\u011F\u0131 kayd\u0131r\u0131n, hatalar\u0131 d\xFCzeltin ve kredileri tekrar tahmin edin.",t="Analiz \xE7al\u0131\u015Ft\u0131r\u0131l\u0131rken hata olu\u015Ftu.",d="${ dataPath }, izin verilen \u015Fu de\u011Ferlerden birine e\u015Fit olmal\u0131d\u0131r: ${ allowedValues }.",o="Analiz ge\xE7mi\u015Fi kaydedilemedi",s="Ge\xE7mi\u015F deposu dolu. Analiz ge\xE7mi\u015Finden baz\u0131 \xF6\u011Feleri kald\u0131r\u0131n ve yeniden kaydetmeyi deneyin.",m="Servis ad\u0131 bir veya daha fazla ge\xE7ersiz karakter i\xE7eriyor.",u="Ge\xE7ici katman\u0131n bar\u0131nd\u0131r\u0131lan detay katman\u0131 olarak kaydedilmesi tamamlanmad\u0131.",k="Anahtar \xF6zellikleri al\u0131namad\u0131.",y="Katman y\xFCklenemedi.",c="Katman kullan\u0131labilir de\u011Fil.",h="${ dataPath }, ${ limit }'den fazla \xF6geye sahip olmamal\u0131d\u0131r.",b="Model kaydedilirken bir hata olu\u015Ftu. Yeniden kaydetmeyi deneyin.",z="${ dataPath }, ${ limit }'den az \xF6geye sahip olmamal\u0131d\u0131r.",v="${ dataPath }, ${ limit } karakterden daha k\u0131sa olmamal\u0131d\u0131r.",p="Model \xF6gesi y\xFCklenemedi. Modelin var oldu\u011Fundan ve eri\u015Fim izninin verildi\u011Finden emin olun.",E="Talep tamamlanamad\u0131.",P="Bu arac\u0131 \xE7al\u0131\u015Ft\u0131rma izniniz yok. <calcite-link target='_blank' href='${ docLink }'>Daha fazla bilgi</calcite-link>",f="Portala giri\u015F yap\u0131lamad\u0131.",g="Girdi verileri okunamad\u0131.",S="${ dataPath }'de ${ missingProperty } adl\u0131 \xF6zellik eksik.",$="Bu ada sahip bir sonu\xE7 katman\u0131 zaten var. Sonu\xE7 katmanlar\u0131 kurulu\u015F \xE7ap\u0131nda benzersiz adland\u0131r\u0131lm\u0131\u015F olmal\u0131d\u0131r. L\xFCtfen farkl\u0131 bir ad kullan\u0131n.",F="\xC7\u0131kt\u0131 ad\u0131nda bir veya birka\xE7 ge\xE7ersiz karakter var. <a href='${docLink}' target='_blank'>Daha fazla bilgi edinin.</a>",I="Ge\xE7ici katman\u0131n bar\u0131nd\u0131r\u0131lan katman olarak yay\u0131nlanmas\u0131, bir veya daha fazla ge\xE7ersiz alan nedeniyle ba\u015Far\u0131s\u0131z oldu. Ge\xE7erli alanlara sahip bir katman olu\u015Fturmak i\xE7in arac\u0131 yeniden \xE7al\u0131\u015Ft\u0131r\u0131n.",T="\u0130\u015F g\xF6nderimi ba\u015Far\u0131s\u0131z oldu. A\u015Fa\u011F\u0131ya kayd\u0131r\u0131n, hatalar\u0131 d\xFCzeltin ve analiz arac\u0131n\u0131 tekrar \xE7al\u0131\u015Ft\u0131r\u0131n.",A="${ dataPath }, en az bir adet bo\u015Fluk olmayan karaktere sahip olmal\u0131d\u0131r.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:i,cannotWriteToItemResource:l,creditEstimationError:n,defaultError:t,enumValues:d,failedToSaveHistory:o,fullSessionStorage:s,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:k,layerLoadFailure:y,layerUnavailable:c,maxItems:h,mbFailedToSave:b,minItems:z,minLength:v,modelNotFound:p,networkError:E,noPermissionToAccessTool:P,portalLoadError:f,queryFeaturesError:g,requiredProperty:S,serviceNameExistsError:$,specialCharactersInServiceNameError:F,temporaryLayerFieldsError:I,toolValidationError:T,whiteSpacePattern:A};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,i as anyOfValues,l as cannotWriteToItemResource,n as creditEstimationError,L as default,t as defaultError,d as enumValues,o as failedToSaveHistory,s as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,y as layerLoadFailure,c as layerUnavailable,h as maxItems,b as mbFailedToSave,z as minItems,v as minLength,p as modelNotFound,E as networkError,P as noPermissionToAccessTool,f as portalLoadError,g as queryFeaturesError,S as requiredProperty,$ as serviceNameExistsError,F as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,T as toolValidationError,A 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"./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{a as m}from"./B35SCOYC.js";import{a as f}from"./RRW7XCIA.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
3
+ v1.1.0-next.20251008 */
4
+ import{a as m}from"./LRA2CSKG.js";import{a as f}from"./47FKRLN3.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P as b};
@@ -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"./BYS6RPZ2.js";import{a as x}from"./5O442EOV.js";import a from"./DMVMCVRH.js";import{a as D}from"./EP6GQK76.js";import{a as F}from"./UORRX6O6.js";import{E as R,h as N,i as L}from"./KTHYYGAI.js";import{b as E}from"./BKVX5QXH.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{D as g,E as $,G as H,h as I,i as b}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=F({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
3
+ v1.1.0-next.20251008 */
4
+ import c from"./DDRZWXLZ.js";import{a as x}from"./APLZT37S.js";import a from"./QFBJ4JMR.js";import{a as D}from"./NFBCBMDM.js";import{a as F}from"./AFR63NC6.js";import{E as R,h as N,i as L}from"./ECOUV44T.js";import{b as E}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{D as g,E as $,G as H,h as I,i as b}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([,{a:m}])=>{var k=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),T=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),P=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function U(u,e){return e===null?k.get("HH")[u]:k.get(e)?.[u]??null}function B(u,e){return e===null?u:T.get(e)?.[u]??u}function O(u,e){return e===null?O(u,"HH"):P.get(e)?.[u]??null}var G=I`:host{display:block}:host .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark :host .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}`,S="svg g:first-of-type",J="svg g:last-of-type",d="esri-interactive-legend--selected-cell",V="esri-interactive-legend--instructional-text",M=2,j=3,K=4,Q=Object.freeze({0:"L",1:"H"}),W=Object.freeze({0:"L",1:"M",2:"H"}),X=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},C=class extends ${constructor(){super(),this._messages=F({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=G}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await R();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(S);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(d)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",V),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(J);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(S);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(d)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?U(e,t):s===3?B(e,t):s===4?O(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===M?this.twoClassAttributes(a,t,s):i===j?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case M:return Q;case j:return W;case K:return X;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let h=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:h,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await N({filter:await L({where:h,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,h=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,q)=>{let v=[];h.forEach((Y,_)=>{let z=[r[q],h[_]];v.push(z)}),n.push(v)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(d)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(d)):(e.classList.add(d),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
5
5
  rect:hover {
6
6
  cursor: pointer;
7
7
  opacity: 0.8;
@@ -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 P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./PZIZHAUI.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return S(i,p,e),R(i,r),I(i,a),i}function I(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function S(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as c};
3
+ v1.1.0-next.20251008 */
4
+ import{A as P,B as T,C as y,D as A,E as w,F as E,G,n as t,r as d,s as m,t as b,u as k,v as h,w as f,x as O,y as M,z as g}from"./CZSGGEZF.js";function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return S(i,p,e),R(i,r),I(i,a),i}function I(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function S(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}export{K as a,B as b,N as 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 l}from"./3SUWOWNI.js";import"./25EAY44P.js";import"./GA5JF4P7.js";import"./DVEARR2O.js";import{a as t}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 n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{a as l}from"./XDCW4PUR.js";import"./Q2HKN3EB.js";import"./LQAZAPET.js";import"./GF2M5LOG.js";import{a as t}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 n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n 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 from"./X4GJCR5U.js";export default $arcgis.t(([{k:i}])=>{function h(e,t){let r=[];return e.forEach(n=>{t.has(n.id)&&r.push(n)}),r}function g(e,t,r){if(t<1||e.length<t)return{cards:[],paging:{start:t,num:0,nextStart:-1,total:e.length}};let n=Math.min(t+r,e.length+1),s=n<e.length?n:-1;return{cards:e.slice(t-1,n-1),paging:{start:t,num:n-t,nextStart:s,total:e.length}}}function w(e,t){let r=l(e);return u(r,t)}function u(e,t){let r=[];return t.forEach(n=>{let s=c(n);s&&e.indexOf(s)>=0&&n.relatedSolutions&&(r=r.concat(n.relatedSolutions))}),new Set(r)}function c(e){let t="solutionid-",r=e.typeKeywords.filter(s=>s.startsWith(t)),n=null;return Array.isArray(r)&&r.length>0&&(n=r[0].substring(t.length)),n}function l(e){let t=[];return e.forEach(r=>{let n=c(r);n&&t.push(n)}),t=Array.from(new Set(t)),t}function m(e,t,r){let n,s=r==="asc"?1:-1;switch(t){case"created":n=(a,o)=>s*(a.createdMs<o.createdMs?-1:a.createdMs>o.createdMs?1:0);break;case"numviews":n=(a,o)=>s*(a.numViews<o.numViews?-1:a.numViews>o.numViews?1:0);break;case"title":n=(a,o)=>s*(a.title.toLowerCase()<o.title.toLowerCase()?-1:a.title.toLowerCase()>o.title.toLowerCase()?1:0);break;default:n=()=>0;break}return e.sort(n),e}function f(e){return e.toLowerCase().replace(/\s+/g,"-")}function p(e,t){return e.find(r=>f(r.title)===t||t===r.id)}function y(e,t){let r="solutionid-";return e.find(n=>i(n.typeKeywords,r)===t)}return{a:h,b:g,c:w,d:m,e:f,f:p,g:y}},a)
3
+ v1.1.0-next.20251008 */
4
+ import a from"./GAF7MRHW.js";export default $arcgis.t(([{k:i}])=>{function h(e,t){let r=[];return e.forEach(n=>{t.has(n.id)&&r.push(n)}),r}function g(e,t,r){if(t<1||e.length<t)return{cards:[],paging:{start:t,num:0,nextStart:-1,total:e.length}};let n=Math.min(t+r,e.length+1),s=n<e.length?n:-1;return{cards:e.slice(t-1,n-1),paging:{start:t,num:n-t,nextStart:s,total:e.length}}}function w(e,t){let r=l(e);return u(r,t)}function u(e,t){let r=[];return t.forEach(n=>{let s=c(n);s&&e.indexOf(s)>=0&&n.relatedSolutions&&(r=r.concat(n.relatedSolutions))}),new Set(r)}function c(e){let t="solutionid-",r=e.typeKeywords.filter(s=>s.startsWith(t)),n=null;return Array.isArray(r)&&r.length>0&&(n=r[0].substring(t.length)),n}function l(e){let t=[];return e.forEach(r=>{let n=c(r);n&&t.push(n)}),t=Array.from(new Set(t)),t}function m(e,t,r){let n,s=r==="asc"?1:-1;switch(t){case"created":n=(a,o)=>s*(a.createdMs<o.createdMs?-1:a.createdMs>o.createdMs?1:0);break;case"numviews":n=(a,o)=>s*(a.numViews<o.numViews?-1:a.numViews>o.numViews?1:0);break;case"title":n=(a,o)=>s*(a.title.toLowerCase()<o.title.toLowerCase()?-1:a.title.toLowerCase()>o.title.toLowerCase()?1:0);break;default:n=()=>0;break}return e.sort(n),e}function f(e){return e.toLowerCase().replace(/\s+/g,"-")}function p(e,t){return e.find(r=>f(r.title)===t||t===r.id)}function y(e,t){let r="solutionid-";return e.find(n=>i(n.typeKeywords,r)===t)}return{a:h,b:g,c:w,d:m,e:f,f:p,g:y}},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 as q}from"./GULWP3VY.js";import{a as w}from"./EP6GQK76.js";import{a as M}from"./UORRX6O6.js";import{C as T,b as v,c as F,z as P}from"./KTHYYGAI.js";import{b as S}from"./BKVX5QXH.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
3
+ v1.1.0-next.20251008 */
4
+ import{a as q}from"./IMUYTCYZ.js";import{a as w}from"./NFBCBMDM.js";import{a as M}from"./AFR63NC6.js";import{C as T,b as v,c as F,z as P}from"./ECOUV44T.js";import{b as S}from"./MNFNMNHC.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./E2VLBYBH.js";import"./MMFULDI7.js";var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),g=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(g||{}),I=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(I||{}),R=(a=>(a.Transparent="transparent",a))(R||{}),L=(a=>(a.Start="start",a.Center="center",a))(L||{}),N=E`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,B=`${x}--`,m=`${x}__`,j=q.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},V=class extends k{constructor(){super(...arguments),this._messages=M({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=U()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=N}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(this.reactiveUtils?.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=await v([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{let[t,e]=await Promise.all([P(),T()]);this.reactiveUtils=t,this.intl=e,this.handles=await F(),this.layers=await v([]),this.layerViews=await v([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,b=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:b,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],b=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=b;let u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return u&&(d.timeExtent=u),d},c=()=>async i=>{let l=this.layerViews?.find(u=>u.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),b=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(b)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),b=d!==null,u=b?this.intl.formatNumber(d,p):null,_=b?`${u}`:"";e[l].displayValue=_,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await this.reactiveUtils.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=this.reactiveUtils.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return w("instant-apps-scoreboard-base",h`<div class=${y(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${y(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?L.Start:L.Center,l=c?g.Left:g.Up,d=c?g.Right:g.Down,p={previous:l,next:d},b=o||e?g.Blank:p.previous,u=s||e?g.Blank:p.next,_={previous:o||e,next:s||e},C=R.Transparent,D=this.isMobile?I.Small:I.Large,f={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${b} .disabled=${_.previous} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.previous??""} .label=${f.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${u} .disabled=${_.next} .alignment=${i} .scale=${D} .appearance=${C} .text=${f.next??""} .label=${f.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${y(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${y(r.item)}><span class=${y(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${y(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${y(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${B}calcite-`;return w(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${B}calcite-`,e=this._messages.loading;return w(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};S("instant-apps-scoreboard",V);export{V as InstantAppsScoreboard};
@@ -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 a="N\xE3o tem cr\xE9ditos suficientes para executar esta opera\xE7\xE3o. Contacte o seu Administrador de Sistemas ArcGIS para obter assist\xEAncia.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para a sua organiza\xE7\xE3o. Contacte o seu administrador para ajustar a defini\xE7\xE3o.",r="${ dataPath } n\xE3o pode conter ${ additionalProperty }.",o="${ dataPath } tem de corresponder ao esquema de um dos seguintes: ${ schemaOptions }.",t="Experimente guardar o mapa novamente.",s="A Estimativa de Cr\xE9dito falhou. Percorra para baixo, corrija os erros e fa\xE7a novamente a estimativa.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } tem de ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao guardar o hist\xF3rico de an\xE1lise",m="O armazenamento do hist\xF3rico est\xE1 cheio. Remova alguns itens do hist\xF3rico de an\xE1lise e experimente guardar novamente.",c="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",l="A grava\xE7\xE3o da camada tempor\xE1ria como camada de elementos alojada n\xE3o foi conclu\xEDda.",u="Falha ao obter propriedades essenciais.",p="Falha ao carregar a camada.",h="A camada n\xE3o est\xE1 dispon\xEDvel.",v="${ dataPath } n\xE3o pode conter mais do que ${ limit } itens.",f="Ocorreu um erro ao guardar o modelo. Experimente guardar novamente.",E="${ dataPath } n\xE3o pode conter menos do que ${ limit } itens.",P="${ dataPath } n\xE3o pode ser inferior a ${ limit } caracteres.",y="Falha ao carregar o item de modelo. Certifique-se de que o modelo existe e de que a permiss\xE3o de acesso foi concedida.",F="Falha ao concluir o pedido.",S="N\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao iniciar sess\xE3o no portal.",g="Falha ao ler os dados de entrada.",x="${ dataPath } tem uma propriedade com o nome ${ missingProperty } em falta.",$="J\xE1 existe uma camada de resultado com este nome. As camadas de resultado t\xEAm de ter um nome \xFAnico em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome de sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como uma camada alojada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",q="O envio da tarefa falhou. Percorra para baixo, corrija os erros e execute novamente a an\xE1lise.",T="${ dataPath } tem de ter, pelo menos, um car\xE1ter que n\xE3o seja um espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:l,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:f,minItems:E,minLength:P,modelNotFound:y,networkError:F,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:g,requiredProperty:x,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:q,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,l as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,f as mbFailedToSave,E as minItems,P as minLength,y as modelNotFound,F as networkError,S as noPermissionToAccessTool,b as portalLoadError,g as queryFeaturesError,x as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,q as toolValidationError,T as whiteSpacePattern};
3
+ v1.1.0-next.20251008 */
4
+ import"./MMFULDI7.js";var a="N\xE3o tem cr\xE9ditos suficientes para executar esta opera\xE7\xE3o. Contacte o seu Administrador de Sistemas ArcGIS para obter assist\xEAncia.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para a sua organiza\xE7\xE3o. Contacte o seu administrador para ajustar a defini\xE7\xE3o.",r="${ dataPath } n\xE3o pode conter ${ additionalProperty }.",o="${ dataPath } tem de corresponder ao esquema de um dos seguintes: ${ schemaOptions }.",t="Experimente guardar o mapa novamente.",s="A Estimativa de Cr\xE9dito falhou. Percorra para baixo, corrija os erros e fa\xE7a novamente a estimativa.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } tem de ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao guardar o hist\xF3rico de an\xE1lise",m="O armazenamento do hist\xF3rico est\xE1 cheio. Remova alguns itens do hist\xF3rico de an\xE1lise e experimente guardar novamente.",c="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",l="A grava\xE7\xE3o da camada tempor\xE1ria como camada de elementos alojada n\xE3o foi conclu\xEDda.",u="Falha ao obter propriedades essenciais.",p="Falha ao carregar a camada.",h="A camada n\xE3o est\xE1 dispon\xEDvel.",v="${ dataPath } n\xE3o pode conter mais do que ${ limit } itens.",f="Ocorreu um erro ao guardar o modelo. Experimente guardar novamente.",E="${ dataPath } n\xE3o pode conter menos do que ${ limit } itens.",P="${ dataPath } n\xE3o pode ser inferior a ${ limit } caracteres.",y="Falha ao carregar o item de modelo. Certifique-se de que o modelo existe e de que a permiss\xE3o de acesso foi concedida.",F="Falha ao concluir o pedido.",S="N\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao iniciar sess\xE3o no portal.",g="Falha ao ler os dados de entrada.",x="${ dataPath } tem uma propriedade com o nome ${ missingProperty } em falta.",$="J\xE1 existe uma camada de resultado com este nome. As camadas de resultado t\xEAm de ter um nome \xFAnico em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome de sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como uma camada alojada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",q="O envio da tarefa falhou. Percorra para baixo, corrija os erros e execute novamente a an\xE1lise.",T="${ dataPath } tem de ter, pelo menos, um car\xE1ter que n\xE3o seja um espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:l,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:f,minItems:E,minLength:P,modelNotFound:y,networkError:F,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:g,requiredProperty:x,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:q,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,l as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,f as mbFailedToSave,E as minItems,P as minLength,y as modelNotFound,F as networkError,S as noPermissionToAccessTool,b as portalLoadError,g as queryFeaturesError,x as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,q as toolValidationError,T as whiteSpacePattern};
@@ -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 b from"./X4GJCR5U.js";import{a}from"./ZUM45Z2W.js";import"./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{h as l,i as h}from"./PZIZHAUI.js";import{a as m}from"./LTIDIJED.js";import"./F5JHIBTP.js";import"./QICKVKJ3.js";import{b as u}from"./TEASRN7Y.js";import{E as p,h as d,i as r,o as n,r as f}from"./3N4ZRI2R.js";import"./RMJIAKHU.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@layer{/** @license
3
+ v1.1.0-next.20251008 */
4
+ import c from"./U7EPLCCV.js";import b from"./GAF7MRHW.js";import{a}from"./UJGGK4LU.js";import"./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{h as l,i as h}from"./CZSGGEZF.js";import{a as m}from"./6SPEIDJ5.js";import"./ONGKQVFQ.js";import"./HH54CNIV.js";import{b as u}from"./DXNMODEI.js";import{E as p,h as d,i as r,o as n,r as f}from"./E2VLBYBH.js";import"./MMFULDI7.js";export default $arcgis.t(([,{a:b}])=>{var g=d`@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,b}from"./P5WTX4AV.js";import"./GZPVVSWK.js";import"./34LYISA3.js";import"./GB7NCS3L.js";import"./RMJIAKHU.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.1.0-next.20251008 */
4
+ import{a,b}from"./RYNPSM5K.js";import"./OINEKCE3.js";import"./54N6KCW5.js";import"./XGLM2UZY.js";import"./MMFULDI7.js";export{a as PageEditorTypes,b as PageSchema};