@esri/solutions-components 1.2.0-next.2 → 1.2.0-next.3

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 (467) hide show
  1. package/dist/cdn/{3UMQAY7D.js → 234YSPUP.js} +2 -2
  2. package/dist/cdn/{DM633MDA.js → 23F7WS6U.js} +2 -2
  3. package/dist/cdn/{ECVB7DM6.js → 25CBXU7A.js} +2 -2
  4. package/dist/cdn/{CPC2M7AK.js → 2B2JMPFN.js} +2 -2
  5. package/dist/cdn/{F23TKPQ3.js → 2BUXYBPD.js} +2 -2
  6. package/dist/cdn/{ECKRAOTK.js → 2C5JNPGO.js} +2 -2
  7. package/dist/cdn/{JSMMX4OW.js → 2FURWI7Y.js} +2 -2
  8. package/dist/cdn/{ZH5IG5IH.js → 2IRNZ42K.js} +2 -2
  9. package/dist/cdn/{NYH5N4UB.js → 2L4XL6GG.js} +2 -2
  10. package/dist/cdn/{6Y4X3UOF.js → 2LVJZ2NV.js} +2 -2
  11. package/dist/cdn/{5GW6VGYE.js → 2MHGYWN7.js} +2 -2
  12. package/dist/cdn/{2IPTMHFY.js → 2NLKFSQN.js} +2 -2
  13. package/dist/cdn/{UBTE3LJB.js → 2QVOCL3G.js} +2 -2
  14. package/dist/cdn/{TFT2UUZJ.js → 2RVAN3GE.js} +2 -2
  15. package/dist/cdn/{I5X57Y6X.js → 2SZF4MLJ.js} +1 -1
  16. package/dist/cdn/{OGKY3OCB.js → 2TADDW4W.js} +2 -2
  17. package/dist/cdn/{EM5Z3TCD.js → 2TADYBIO.js} +2 -2
  18. package/dist/cdn/{AZZRAFZ2.js → 2TB3YOHP.js} +2 -2
  19. package/dist/cdn/{BN34E5SA.js → 2W5UVWEN.js} +2 -2
  20. package/dist/cdn/{QLGVQPSP.js → 2WLLRLZ7.js} +2 -2
  21. package/dist/cdn/{6FCQB3AG.js → 2XCAUYR2.js} +2 -2
  22. package/dist/cdn/{QHDUDNQB.js → 2Y2EWR7H.js} +2 -2
  23. package/dist/cdn/{26NSAUFX.js → 35UXOOHD.js} +1 -1
  24. package/dist/cdn/{VLRXMBNG.js → 36VZRVY2.js} +2 -2
  25. package/dist/cdn/{Q63YUEPK.js → 37TV2MQL.js} +2 -2
  26. package/dist/cdn/{WDPM64EG.js → 3E7HOSDD.js} +2 -2
  27. package/dist/cdn/{KQHBJ2QB.js → 3EU6WGZO.js} +1 -1
  28. package/dist/cdn/{BGMDKWE7.js → 3JMRSSB5.js} +2 -2
  29. package/dist/cdn/{3VXS23LI.js → 3LHVSQGT.js} +2 -2
  30. package/dist/cdn/{UGI2HCBX.js → 3NJX3MB3.js} +2 -2
  31. package/dist/cdn/{OI7TKT4E.js → 3Q6YGL57.js} +2 -2
  32. package/dist/cdn/{ULHGH3CX.js → 3X7XYYFW.js} +2 -2
  33. package/dist/cdn/{4UUIRHC6.js → 45BXFKGN.js} +2 -2
  34. package/dist/cdn/{2FFHB27Z.js → 45HNI5CK.js} +2 -2
  35. package/dist/cdn/{J5U3NOSX.js → 46UDJ6Q6.js} +2 -2
  36. package/dist/cdn/{DMMMW2BR.js → 4DCZ2ZRI.js} +2 -2
  37. package/dist/cdn/{73RE22QT.js → 4EWREADY.js} +2 -2
  38. package/dist/cdn/{YODKEVX7.js → 4GQA73TQ.js} +2 -2
  39. package/dist/cdn/{IN3OKM7F.js → 4I7PCYCC.js} +2 -2
  40. package/dist/cdn/{V2II4COO.js → 4LZZGUWP.js} +2 -2
  41. package/dist/cdn/{HV23NBKM.js → 4MHLESLH.js} +1 -1
  42. package/dist/cdn/{5LNUHS4F.js → 4MQB77K7.js} +2 -2
  43. package/dist/cdn/4OWQLN7N.js +18 -0
  44. package/dist/cdn/{TMRDI3WC.js → 4PPJBKDP.js} +2 -2
  45. package/dist/cdn/{J3AFQ2U2.js → 4QXAYPME.js} +2 -2
  46. package/dist/cdn/{ZJFAIID3.js → 53SCKT44.js} +2 -2
  47. package/dist/cdn/{FZW3ZZPU.js → 5A6Y54WJ.js} +2 -2
  48. package/dist/cdn/{WBO3VKCK.js → 5G4RLNCB.js} +2 -2
  49. package/dist/cdn/{MOAD2WOZ.js → 5O75XOMI.js} +2 -2
  50. package/dist/cdn/{T3RNILJN.js → 5QF7JXXA.js} +2 -2
  51. package/dist/cdn/{DXGUMM4O.js → 5YYJDNXT.js} +2 -2
  52. package/dist/cdn/{WTU7JILZ.js → 5Z7ZG2XK.js} +2 -2
  53. package/dist/cdn/{UQGQFHTP.js → 62GUE4Z3.js} +2 -2
  54. package/dist/cdn/{AV64MW2C.js → 62ISZVOF.js} +2 -2
  55. package/dist/cdn/{22LLS6WR.js → 62NAX7KS.js} +2 -2
  56. package/dist/cdn/{32GCN42P.js → 62XTNKST.js} +1 -1
  57. package/dist/cdn/{7M65VSDO.js → 64CYMAYN.js} +1 -1
  58. package/dist/cdn/{4XYYUSUA.js → 64JDACKK.js} +1 -1
  59. package/dist/cdn/{BHXQ7QW6.js → 65AXSWLQ.js} +2 -2
  60. package/dist/cdn/{C4GYOXKY.js → 67P77RII.js} +2 -2
  61. package/dist/cdn/{24PILRZT.js → 6AWOKZWN.js} +2 -2
  62. package/dist/cdn/{MDL3GASV.js → 6DO5FV6V.js} +2 -2
  63. package/dist/cdn/{QVZEI2LS.js → 6GNQRHUK.js} +2 -2
  64. package/dist/cdn/{IIBBHZ5N.js → 6I4GOE3Y.js} +2 -2
  65. package/dist/cdn/{P4SJ4TW3.js → 6JQ4EGSQ.js} +2 -2
  66. package/dist/cdn/{7XNXOLSM.js → 6NG5X7FZ.js} +2 -2
  67. package/dist/cdn/{NW5D2PXR.js → 6RAGUS7J.js} +2 -2
  68. package/dist/cdn/{CUBFKAV6.js → 6RBJGB46.js} +2 -2
  69. package/dist/cdn/6ROK6EHE.js +4 -0
  70. package/dist/cdn/{HR44MJZ4.js → 6V7JLIJ5.js} +2 -2
  71. package/dist/cdn/{PMVAYDID.js → 74OGQVZH.js} +2 -2
  72. package/dist/cdn/{63PHQLZJ.js → 76WRSP3A.js} +2 -2
  73. package/dist/cdn/{NAWCG6BY.js → 7ASZTQ45.js} +2 -2
  74. package/dist/cdn/{3MON3AIB.js → 7CPPZBTT.js} +2 -2
  75. package/dist/cdn/{SS3YAHMD.js → 7CPTTYU3.js} +2 -2
  76. package/dist/cdn/{LZIYOPAC.js → 7KWG3Z6K.js} +2 -2
  77. package/dist/cdn/{KURD67WP.js → 7L3YAL47.js} +2 -2
  78. package/dist/cdn/{I4E7TVY4.js → 7LSLVXGD.js} +2 -2
  79. package/dist/cdn/{45ANCG22.js → 7QYTSIGP.js} +2 -2
  80. package/dist/cdn/{XQYYFNOC.js → 7UCFU6IJ.js} +1 -1
  81. package/dist/cdn/7YT73G5X.js +4 -0
  82. package/dist/cdn/{URMO7GLW.js → 7YX7AHVW.js} +2 -2
  83. package/dist/cdn/{XINUYSXZ.js → AB76D7WU.js} +2 -2
  84. package/dist/cdn/{KORLC5U7.js → ABDWQOBA.js} +2 -2
  85. package/dist/cdn/{2LK2MZZR.js → ACQPRV6Q.js} +2 -2
  86. package/dist/cdn/{MNBZZ6G3.js → AOC5GCMF.js} +2 -2
  87. package/dist/cdn/{WNLGN4CE.js → APV7UOJA.js} +2 -2
  88. package/dist/cdn/{FJYGYKU7.js → ARMMHG3S.js} +2 -2
  89. package/dist/cdn/{QK7H3QEZ.js → ARZ6JPA3.js} +1 -1
  90. package/dist/cdn/{AGNDZTZ6.js → ASDXD6UG.js} +1 -1
  91. package/dist/cdn/{ENS7CZX3.js → AUCJ7ZFB.js} +2 -2
  92. package/dist/cdn/{RWC6IC3I.js → AWOFK74F.js} +2 -2
  93. package/dist/cdn/{DDP5UCZA.js → AX4BFIAK.js} +2 -2
  94. package/dist/cdn/{32275IZ5.js → B24TVNRU.js} +2 -2
  95. package/dist/cdn/{MTQRP42U.js → B4OEZKHF.js} +1 -1
  96. package/dist/cdn/{JZ2AJ7NV.js → B6FXHHYN.js} +2 -2
  97. package/dist/cdn/{FYFIZWH7.js → BAFRQNS7.js} +2 -2
  98. package/dist/cdn/{GA5KNLFJ.js → BC4V4TZO.js} +2 -2
  99. package/dist/cdn/{DKRHACVW.js → BCTLXB2M.js} +2 -2
  100. package/dist/cdn/{BTHNNVZX.js → BCXBU3KU.js} +1 -1
  101. package/dist/cdn/{6RJ3S2N4.js → BEBW4GAM.js} +2 -2
  102. package/dist/cdn/{J5HRIE3W.js → BEHKUS5D.js} +2 -2
  103. package/dist/cdn/{57S3EVKQ.js → BHUNFJZD.js} +2 -2
  104. package/dist/cdn/{XFW3K5OF.js → BIT3Z27V.js} +2 -2
  105. package/dist/cdn/{62WGZZJQ.js → BMUTEUNT.js} +2 -2
  106. package/dist/cdn/{6M2T3Q2M.js → BQT6MIAJ.js} +2 -2
  107. package/dist/cdn/{LPJPNWKA.js → BSMBN633.js} +2 -2
  108. package/dist/cdn/{7LML2KAO.js → BVPEEMND.js} +2 -2
  109. package/dist/cdn/{4J6A5LH5.js → BXQASW7J.js} +1 -1
  110. package/dist/cdn/{EG2JBWTE.js → C27Y63JS.js} +2 -2
  111. package/dist/cdn/{HAYDHL6E.js → C2ENPVZG.js} +2 -2
  112. package/dist/cdn/{EBKAKZZU.js → C5M3F3HQ.js} +2 -2
  113. package/dist/cdn/{A2D7SAO5.js → CAPI4G74.js} +2 -2
  114. package/dist/cdn/{FMF65JWL.js → CDKVJSXJ.js} +2 -2
  115. package/dist/cdn/CLIFIAZI.js +4 -0
  116. package/dist/cdn/{JKVDTJCD.js → COPHOT6L.js} +1 -1
  117. package/dist/cdn/{62NI5UX7.js → CPVXVEVK.js} +2 -2
  118. package/dist/cdn/{QWFYFDGT.js → CQ5FSDXN.js} +1 -1
  119. package/dist/cdn/{3AXQAZAI.js → CRISXI26.js} +1 -1
  120. package/dist/cdn/{4XJKKLD3.js → CT4XO4WW.js} +1 -1
  121. package/dist/cdn/{V74LH3IK.js → CTC7YRAU.js} +2 -2
  122. package/dist/cdn/{CHPW5FJW.js → CVKEYABL.js} +2 -2
  123. package/dist/cdn/{7TVK2JZJ.js → CW3G7QFS.js} +2 -2
  124. package/dist/cdn/{CLIXTMET.js → CXWN46XU.js} +2 -2
  125. package/dist/cdn/{DZ76G2RX.js → D2WVODK6.js} +2 -2
  126. package/dist/cdn/{TMNFYXWD.js → D37JXHEV.js} +2 -2
  127. package/dist/cdn/{6GSFOGSD.js → DA2RWFBR.js} +2 -2
  128. package/dist/cdn/{KQM2NMJJ.js → DB6YMDTC.js} +2 -2
  129. package/dist/cdn/{G5MR5SG5.js → DCZHIM53.js} +2 -2
  130. package/dist/cdn/{PV3NKFWO.js → DDTBMHDE.js} +2 -2
  131. package/dist/cdn/{LETYH73H.js → DI4JRI7B.js} +2 -2
  132. package/dist/cdn/{RHR64B37.js → DQAOXKZZ.js} +2 -2
  133. package/dist/cdn/{Y7U5BQY2.js → DQBTQ7WA.js} +2 -2
  134. package/dist/cdn/{VPFAWHJS.js → DR37YWXO.js} +1 -1
  135. package/dist/cdn/{5J7IGLEN.js → DTQPYWIB.js} +2 -2
  136. package/dist/cdn/{Z7QQNFJ7.js → DX5ZAVMY.js} +2 -2
  137. package/dist/cdn/{DMECGLC4.js → E27JDCXQ.js} +2 -2
  138. package/dist/cdn/{Q5JBWZWR.js → EAQS76QZ.js} +2 -2
  139. package/dist/cdn/{V623WVLR.js → ECC74KLR.js} +2 -2
  140. package/dist/cdn/{O6WPAEXC.js → EEENCZTC.js} +2 -2
  141. package/dist/cdn/{C42K62PR.js → EMWBS4WA.js} +2 -2
  142. package/dist/cdn/{II4ZEXAJ.js → EOUSEWUA.js} +2 -2
  143. package/dist/cdn/{35KI2UZP.js → EQ3MVJLN.js} +2 -2
  144. package/dist/cdn/{4CD2LCWF.js → EWXCPV2X.js} +1 -1
  145. package/dist/cdn/{6RN2G5UX.js → FD2JMETF.js} +2 -2
  146. package/dist/cdn/{M2TJWZ2F.js → FFAQ3R3T.js} +2 -2
  147. package/dist/cdn/{6QHOYKEI.js → FFFY6LX5.js} +2 -2
  148. package/dist/cdn/{NVBXPDWS.js → FHL2CPZT.js} +2 -2
  149. package/dist/cdn/{PCXV5WCW.js → FID2OEYF.js} +2 -2
  150. package/dist/cdn/{O7KVFY2I.js → FM7AGRNK.js} +2 -2
  151. package/dist/cdn/{4JWTHCFT.js → FNE6U57W.js} +2 -2
  152. package/dist/cdn/{XWYN5XJT.js → FNUPI5TB.js} +2 -2
  153. package/dist/cdn/{IUWPOFEU.js → FO5BU27P.js} +2 -2
  154. package/dist/cdn/{2JQUC3UP.js → FTF5P4HQ.js} +2 -2
  155. package/dist/cdn/{ZYEOJZ6Z.js → FZE37VRW.js} +2 -2
  156. package/dist/cdn/{BBLEZ5WS.js → GBLJSF3O.js} +2 -2
  157. package/dist/cdn/{KCTOUFKC.js → GDNCH7FM.js} +2 -2
  158. package/dist/cdn/{NM6FSLHS.js → GGN6M4IW.js} +2 -2
  159. package/dist/cdn/{G7UTMYYA.js → GQEO4O6A.js} +2 -2
  160. package/dist/cdn/{24C3TAJY.js → GT7IOPMK.js} +2 -2
  161. package/dist/cdn/{VFRHV2HY.js → GVXCIENL.js} +2 -2
  162. package/dist/cdn/{B5X7FR3W.js → H2HVUDCU.js} +2 -2
  163. package/dist/cdn/{4NVR4X3L.js → H35JZY2E.js} +1 -1
  164. package/dist/cdn/{2AUDRMU3.js → HEO5YC5E.js} +2 -2
  165. package/dist/cdn/{QDOOFKZT.js → HHILRSR3.js} +2 -2
  166. package/dist/cdn/{NF5TB4T5.js → HL4GCE2D.js} +2 -2
  167. package/dist/cdn/{U3VTY66Y.js → HS2SGNFL.js} +2 -2
  168. package/dist/cdn/{KSKZZDYX.js → HZI7AR5Z.js} +1 -1
  169. package/dist/cdn/{KXKBIVFJ.js → I5HY4B6L.js} +2 -2
  170. package/dist/cdn/{MQDP5X2Y.js → I7OV3TY4.js} +1 -1
  171. package/dist/cdn/{OWSYDJWA.js → IBFX4PWN.js} +2 -2
  172. package/dist/cdn/{K5U7ZHCS.js → IGWJ7WZQ.js} +2 -2
  173. package/dist/cdn/{KXEXXT56.js → IHL22CRN.js} +2 -2
  174. package/dist/cdn/{NSJNK5YX.js → IJZ5WMRB.js} +2 -2
  175. package/dist/cdn/{YOCF54TS.js → ILOQ3A64.js} +2 -2
  176. package/dist/cdn/{QTPWQXFC.js → ILW4KIM2.js} +2 -2
  177. package/dist/cdn/{MGON4SLN.js → IMTDRHTU.js} +1 -1
  178. package/dist/cdn/{JVHOB5XV.js → IUNP2FEQ.js} +2 -2
  179. package/dist/cdn/{ZN7CNQRT.js → IVWVJPPG.js} +2 -2
  180. package/dist/cdn/{CFB6TU6B.js → IZQ2GJTG.js} +2 -2
  181. package/dist/cdn/{TMEKDW2G.js → J2VOTAZW.js} +2 -2
  182. package/dist/cdn/{E4V5RLGM.js → JEBENHMN.js} +2 -2
  183. package/dist/cdn/JJ33PDCY.js +4 -0
  184. package/dist/cdn/{FDZWMY22.js → JKFTGZOQ.js} +2 -2
  185. package/dist/cdn/{GK4O6X2B.js → JKXQNJEW.js} +2 -2
  186. package/dist/cdn/{FTJZYC6F.js → JMBWWCV6.js} +2 -2
  187. package/dist/cdn/{IAMELUPG.js → JVKOJX2S.js} +1 -1
  188. package/dist/cdn/{DMW55L65.js → JZC3ICX7.js} +2 -2
  189. package/dist/cdn/{NTN5IKQX.js → JZIIJVDB.js} +2 -2
  190. package/dist/cdn/{MK3C2NWT.js → K2UJVJCK.js} +2 -2
  191. package/dist/cdn/{BL4KF37N.js → K6ZPYGKA.js} +2 -2
  192. package/dist/cdn/{UNCK4FW5.js → KEFKS53V.js} +2 -2
  193. package/dist/cdn/{J6IINHXU.js → KJ266TAM.js} +2 -2
  194. package/dist/cdn/{HWBSZWSI.js → KMO43UXT.js} +2 -2
  195. package/dist/cdn/{BS533JHX.js → KR4KMGJB.js} +2 -2
  196. package/dist/cdn/{BPB3TNH6.js → KZFM7YTE.js} +2 -2
  197. package/dist/cdn/{NAFDFLKN.js → L5GLQINC.js} +2 -2
  198. package/dist/cdn/{MEM675A5.js → L5NUJEH6.js} +2 -2
  199. package/dist/cdn/{5CCXGSYJ.js → L7GUOPMU.js} +2 -2
  200. package/dist/cdn/{KJEGNTYQ.js → LBSP4K35.js} +2 -2
  201. package/dist/cdn/{T5SK6ZJW.js → LFNGTUHE.js} +2 -2
  202. package/dist/cdn/{HOCJSK24.js → LHJTXTF5.js} +2 -2
  203. package/dist/cdn/{WJKAHLIO.js → LMVNSMV2.js} +2 -2
  204. package/dist/cdn/{LUKTYB6E.js → LNNSONRN.js} +2 -2
  205. package/dist/cdn/{62JXAZTH.js → LOK5CX76.js} +2 -2
  206. package/dist/cdn/{JOOTU2MN.js → LQJ7XXC5.js} +2 -2
  207. package/dist/cdn/{HN6L7MEZ.js → LYMRS7P6.js} +1 -1
  208. package/dist/cdn/{CXJUQMCV.js → LZJPR4X7.js} +2 -2
  209. package/dist/cdn/{OS2R7DZG.js → LZN5VEV6.js} +2 -2
  210. package/dist/cdn/{JWXSAYHC.js → M2OW6QBQ.js} +2 -2
  211. package/dist/cdn/{HJCGCJHG.js → M7I6TQVN.js} +1 -1
  212. package/dist/cdn/{64KPWKOZ.js → MAS7EYR3.js} +2 -2
  213. package/dist/cdn/{BSCXWZZC.js → MNNUTOFN.js} +1 -1
  214. package/dist/cdn/{PTQNSUMQ.js → MR53MAQ6.js} +2 -2
  215. package/dist/cdn/{UXPF53LA.js → N3IWMVZ5.js} +2 -2
  216. package/dist/cdn/{JDDI6RWH.js → N4Z6EYO4.js} +2 -2
  217. package/dist/cdn/{3SH6IZWK.js → N77DPTLF.js} +1 -1
  218. package/dist/cdn/{LZUM3H4J.js → NCI5BIFP.js} +2 -2
  219. package/dist/cdn/{A54VVFMV.js → NG5AQI5M.js} +2 -2
  220. package/dist/cdn/{XUXRXNUV.js → NHCXGI3Z.js} +2 -2
  221. package/dist/cdn/{XLHINQDA.js → NKYNFTHT.js} +2 -2
  222. package/dist/cdn/{YJUZZNM3.js → NOVJRUUK.js} +2 -2
  223. package/dist/cdn/{UVMWA227.js → NVM5PDRT.js} +2 -2
  224. package/dist/cdn/{53GNUN6U.js → NY6XIURZ.js} +4 -4
  225. package/dist/cdn/{AMP4ZNCP.js → NYQ4OZXY.js} +2 -2
  226. package/dist/cdn/{3MGV3QJV.js → NZGGCRYY.js} +2 -2
  227. package/dist/cdn/{TB2NFORT.js → OA5X23GP.js} +2 -2
  228. package/dist/cdn/{MQE2DTF5.js → OACHOZNB.js} +1 -1
  229. package/dist/cdn/{KZ2V3URW.js → OC2PGR4W.js} +2 -2
  230. package/dist/cdn/{YGKTKWJH.js → OCFWH2MU.js} +2 -2
  231. package/dist/cdn/{BJWPKYKV.js → OCQ4MKGB.js} +2 -2
  232. package/dist/cdn/{ZSPXSDH4.js → OE4MMX4T.js} +2 -2
  233. package/dist/cdn/{OFMGQCKQ.js → OQPY5EJA.js} +2 -2
  234. package/dist/cdn/{S6NACDB2.js → OS52MWOK.js} +2 -2
  235. package/dist/cdn/{CRGYVR4L.js → OXZXBSMK.js} +2 -2
  236. package/dist/cdn/P3SCBY53.js +4 -0
  237. package/dist/cdn/{O3ZWY3L2.js → P57EK6OT.js} +2 -2
  238. package/dist/cdn/{FYQALD4I.js → P5ETCO7H.js} +1 -1
  239. package/dist/cdn/{R3MDKVZV.js → PFG6ZMZH.js} +2 -2
  240. package/dist/cdn/{RQXTVQCL.js → PGDXLL6Y.js} +2 -2
  241. package/dist/cdn/{GU3R45TN.js → PIYRA3IK.js} +2 -2
  242. package/dist/cdn/{QAQPOJT3.js → PKCDCMTI.js} +1 -1
  243. package/dist/cdn/{U5XUYD32.js → POBHMXVN.js} +2 -2
  244. package/dist/cdn/{HSGU3NPM.js → PVBHNQMI.js} +2 -2
  245. package/dist/cdn/{ZTCFEMKZ.js → PWNQBRTS.js} +2 -2
  246. package/dist/cdn/{5T6EZRNO.js → PXL6KSAZ.js} +2 -2
  247. package/dist/cdn/{7GJSEVPA.js → Q24E6XEJ.js} +2 -2
  248. package/dist/cdn/{T5OCPOMY.js → Q4JKPYH3.js} +2 -2
  249. package/dist/cdn/{3ENATMAV.js → Q67QGD63.js} +2 -2
  250. package/dist/cdn/{5HDW32N3.js → QC4H73ZM.js} +2 -2
  251. package/dist/cdn/{ITIM5MBI.js → QCUZ36WP.js} +2 -2
  252. package/dist/cdn/{JYKNVSA4.js → QFI4JQHX.js} +2 -2
  253. package/dist/cdn/{FNLWKSSH.js → QKG5BAFS.js} +1 -1
  254. package/dist/cdn/{2BOM63KQ.js → QOFGAP4Z.js} +2 -2
  255. package/dist/cdn/{5GQ6DHYL.js → QVKG5VJZ.js} +2 -2
  256. package/dist/cdn/{2LLZMSJV.js → QX5H4XZ4.js} +2 -2
  257. package/dist/cdn/{Y2YYJ66T.js → QZG7DRDQ.js} +2 -2
  258. package/dist/cdn/{IWN7UDRD.js → R3RWVGJC.js} +2 -2
  259. package/dist/cdn/{2ZUX4PI4.js → RANKC4FB.js} +2 -2
  260. package/dist/cdn/{XYIEX7QB.js → RC5HYK5Q.js} +2 -2
  261. package/dist/cdn/{K3ZT5FZ2.js → RDYTTPKB.js} +1 -1
  262. package/dist/cdn/{BVRRREAU.js → RE4N56Q2.js} +2 -2
  263. package/dist/cdn/{7UBRL7BT.js → RHL6NUIU.js} +2 -2
  264. package/dist/cdn/{67H5AKUO.js → RLKKLGY4.js} +2 -2
  265. package/dist/cdn/{RY4AM746.js → RT67IRZT.js} +2 -2
  266. package/dist/cdn/{22BFHC2I.js → RUQI6YVJ.js} +2 -2
  267. package/dist/cdn/{5K2GKQME.js → RV4NW4XO.js} +2 -2
  268. package/dist/cdn/{GRC5KYBB.js → RXU36Q5Q.js} +1 -1
  269. package/dist/cdn/{327AKQNH.js → S3VHQFOC.js} +2 -2
  270. package/dist/cdn/{QT7SOK6K.js → S4TJ224O.js} +2 -2
  271. package/dist/cdn/{WV4ZCFFT.js → SBVYCA5T.js} +2 -2
  272. package/dist/cdn/{XFZNGT7C.js → SEQYFJN3.js} +2 -2
  273. package/dist/cdn/{OXW67XUN.js → SGFO45SM.js} +2 -2
  274. package/dist/cdn/{B37JGOGF.js → SL6H3SHV.js} +2 -2
  275. package/dist/cdn/{2KXRE3QQ.js → SOAYGRAI.js} +2 -2
  276. package/dist/cdn/STTGVLDE.js +4 -0
  277. package/dist/cdn/{IPIW25QW.js → SVGFOYCQ.js} +2 -2
  278. package/dist/cdn/{OLVN3BUK.js → SVKD3HCO.js} +2 -2
  279. package/dist/cdn/{USO4FEJS.js → T2TMGGNG.js} +2 -2
  280. package/dist/cdn/{LA735BCX.js → T5EHVA6S.js} +2 -2
  281. package/dist/cdn/{5WP2S2ZH.js → TANEEDP3.js} +1 -1
  282. package/dist/cdn/{WKQNA7HE.js → TAXDYLNQ.js} +2 -2
  283. package/dist/cdn/{HKUMRXKS.js → TKYFLPXP.js} +2 -2
  284. package/dist/cdn/TLNGNV7G.js +18 -0
  285. package/dist/cdn/{3VJ5JQ7K.js → TN2UEPVT.js} +2 -2
  286. package/dist/cdn/{DZHVGBZB.js → TNEMCYWH.js} +2 -2
  287. package/dist/cdn/{TJYHQJCY.js → TO5P7NGV.js} +2 -2
  288. package/dist/cdn/{4YNKTXJZ.js → TO66PKJF.js} +2 -2
  289. package/dist/cdn/{MOKFQR6C.js → TOJDM5UZ.js} +2 -2
  290. package/dist/cdn/{FGUX7O4N.js → TOTUDQKH.js} +2 -2
  291. package/dist/cdn/{RR4VEAAE.js → TPO5J63A.js} +2 -2
  292. package/dist/cdn/{R5SUWIAX.js → TV2SJ62Y.js} +2 -2
  293. package/dist/cdn/{PDD2INCO.js → U6JEQWZ5.js} +2 -2
  294. package/dist/cdn/{FHLHSJYN.js → U6QNATC3.js} +2 -2
  295. package/dist/cdn/{UXZC7IGT.js → UAZL2ZIR.js} +2 -2
  296. package/dist/cdn/{IBIR3MNF.js → UOSNNDWX.js} +2 -2
  297. package/dist/cdn/{M46DOI6W.js → UPKV6OGB.js} +1 -1
  298. package/dist/cdn/{R5IZJTD3.js → URS66YMT.js} +2 -2
  299. package/dist/cdn/{PHK7ECEK.js → UUFG2IPV.js} +2 -2
  300. package/dist/cdn/{KYYMWKPV.js → UVJGULSN.js} +2 -2
  301. package/dist/cdn/{U3QZIS3C.js → V75D7IJY.js} +2 -2
  302. package/dist/cdn/{PKW5U5JD.js → VERTSCDD.js} +2 -2
  303. package/dist/cdn/{3YPL6RCD.js → VF6P6PS2.js} +2 -2
  304. package/dist/cdn/{NVOMEAQG.js → VMLVIBVL.js} +2 -2
  305. package/dist/cdn/{YFJ3R7UO.js → VPGE5727.js} +2 -2
  306. package/dist/cdn/{TCJAIPWL.js → VTPTDE33.js} +2 -2
  307. package/dist/cdn/{FELH7PBD.js → VUQWNJXP.js} +2 -2
  308. package/dist/cdn/{EALUH4BU.js → VXDIW5WH.js} +2 -2
  309. package/dist/cdn/{TTAAIUU3.js → VXRLLXEF.js} +2 -2
  310. package/dist/cdn/{2QP26HSW.js → VXVWFC3D.js} +2 -2
  311. package/dist/cdn/{FUYHWE6S.js → VY7447H3.js} +2 -2
  312. package/dist/cdn/{EWQ7E45G.js → W4XCDIQT.js} +2 -2
  313. package/dist/cdn/{GYZWPVGD.js → WEERXYI7.js} +2 -2
  314. package/dist/cdn/{ZG7Z2ZV5.js → WERJXBD5.js} +1 -1
  315. package/dist/cdn/WF2LBWF7.js +4 -0
  316. package/dist/cdn/{MB2DM6NF.js → WGSBFQ5N.js} +2 -2
  317. package/dist/cdn/{NWAXN6PC.js → WJDDXVE5.js} +2 -2
  318. package/dist/cdn/WVURBKDW.js +18 -0
  319. package/dist/cdn/{H7YFIIKJ.js → WXYWYTJG.js} +2 -2
  320. package/dist/cdn/{XSERGQVD.js → WY23ERGW.js} +2 -2
  321. package/dist/cdn/{FJ5G5F6F.js → X74GGNIS.js} +2 -2
  322. package/dist/cdn/{V7H6MEIS.js → XBL3EGZR.js} +2 -2
  323. package/dist/cdn/{OHBU7SZN.js → XBOSZH7N.js} +2 -2
  324. package/dist/cdn/XO3JIQCS.js +4 -0
  325. package/dist/cdn/{3NETFEHL.js → XQ5KACZ3.js} +2 -2
  326. package/dist/cdn/{U2MIR3HL.js → XQMJCJMU.js} +2 -2
  327. package/dist/cdn/XU2SIPXX.js +18 -0
  328. package/dist/cdn/{BCPDT6MV.js → YADLOKQK.js} +2 -2
  329. package/dist/cdn/{IGUMVL7J.js → YAGTTBJW.js} +2 -2
  330. package/dist/cdn/{LNOZBYMZ.js → YCJGW46U.js} +2 -2
  331. package/dist/cdn/{TCORLZCI.js → YERONLAQ.js} +2 -2
  332. package/dist/cdn/{5E2ADQM6.js → YGKAUSDA.js} +2 -2
  333. package/dist/cdn/{ULELHCUW.js → YQ67CMRM.js} +1 -1
  334. package/dist/cdn/{O7K2BTNK.js → YVGSFUVM.js} +2 -2
  335. package/dist/cdn/{Q4ILVP7M.js → Z2CJ77IR.js} +2 -2
  336. package/dist/cdn/{PDM2TVRE.js → Z5K6UMGM.js} +2 -2
  337. package/dist/cdn/{7L7OMOMR.js → ZANJ2QQO.js} +2 -2
  338. package/dist/cdn/{NLWFERKV.js → ZCHM4BFA.js} +4 -4
  339. package/dist/cdn/{SPZK2YXW.js → ZGLJOWGH.js} +2 -2
  340. package/dist/cdn/{NNT3DJXP.js → ZMGJ7NGP.js} +1 -1
  341. package/dist/cdn/{HCEYPHXZ.js → ZPGXJFXY.js} +2 -2
  342. package/dist/cdn/{C5FQOPJR.js → ZQUJXA67.js} +2 -2
  343. package/dist/cdn/{JDMCVY5U.js → ZUUYQFKK.js} +2 -2
  344. package/dist/cdn/index.js +2 -2
  345. package/dist/chunks/Auth.js +1 -1
  346. package/dist/chunks/CardsFetcher.js +1 -1
  347. package/dist/chunks/appConfig.js +1 -1
  348. package/dist/chunks/cardFetchingUtils.js +1 -1
  349. package/dist/chunks/cardsHelpers.js +1 -1
  350. package/dist/chunks/common.js +1 -1
  351. package/dist/chunks/deployAppContexts.js +1 -1
  352. package/dist/chunks/downloadUtils.js +1 -1
  353. package/dist/chunks/getItemIcon.js +1 -1
  354. package/dist/chunks/helpers.js +1 -1
  355. package/dist/chunks/interfaces.js +1 -1
  356. package/dist/chunks/loadModules.js +1 -1
  357. package/dist/chunks/mapViewUtils.js +1 -1
  358. package/dist/chunks/pciUtils.js +1 -1
  359. package/dist/chunks/popupUtils.js +1 -1
  360. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  361. package/dist/chunks/privilegeUtils.js +1 -1
  362. package/dist/chunks/publicNotificationContext.js +1 -1
  363. package/dist/chunks/queryUtils.js +1 -1
  364. package/dist/chunks/runtime.js +1 -1
  365. package/dist/chunks/solution-store.js +1 -1
  366. package/dist/chunks/templates.js +1 -1
  367. package/dist/chunks/useT9n.js +1 -1
  368. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  369. package/dist/components/basemap-gallery/customElement.js +1 -1
  370. package/dist/components/buffer-tools/customElement.js +1 -1
  371. package/dist/components/card-manager/customElement.js +1 -1
  372. package/dist/components/consent-manager/customElement.js +1 -1
  373. package/dist/components/create-feature/customElement.js +1 -1
  374. package/dist/components/create-related-feature/customElement.js +1 -1
  375. package/dist/components/crowdsource-manager/customElement.js +1 -1
  376. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  377. package/dist/components/deduct-calculator/customElement.js +1 -1
  378. package/dist/components/delete-button/customElement.js +1 -1
  379. package/dist/components/delete-dialog/customElement.js +1 -1
  380. package/dist/components/edit-card/customElement.js +1 -1
  381. package/dist/components/feature-details/customElement.js +1 -1
  382. package/dist/components/feature-list/customElement.js +1 -1
  383. package/dist/components/field-selection/customElement.js +1 -1
  384. package/dist/components/floor-filter/customElement.js +1 -1
  385. package/dist/components/info-card/customElement.js +1 -1
  386. package/dist/components/json-editor/customElement.js +1 -1
  387. package/dist/components/layer-list/customElement.js +1 -1
  388. package/dist/components/layer-table/customElement.js +1 -1
  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 +2 -2
  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 +2 -2
  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.d.ts +0 -2
  429. package/dist/components/solutions-all-shell/customElement.js +11 -14
  430. package/dist/components/solutions-article-panel/customElement.js +1 -1
  431. package/dist/components/solutions-articles/customElement.js +1 -1
  432. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  433. package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
  434. package/dist/components/solutions-deploy-app/customElement.js +37 -37
  435. package/dist/components/solutions-deploy-app-nav/customElement.js +2 -2
  436. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  437. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  438. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  439. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  440. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  441. package/dist/components/spatial-ref/customElement.js +1 -1
  442. package/dist/components/store-manager/customElement.js +1 -1
  443. package/dist/docs/api.json +13 -10
  444. package/dist/docs/docs.json +10 -19
  445. package/dist/docs/vscode.html-custom-data.json +2 -2
  446. package/dist/docs/web-types.json +3 -13
  447. package/dist/index.d.ts +0 -1
  448. package/dist/index.js +1 -1
  449. package/dist/loader.js +2 -2
  450. package/dist/types/lumina.d.ts +0 -1
  451. package/dist/types/preact.d.ts +0 -1
  452. package/dist/types/preact10.d.ts +0 -1
  453. package/dist/types/react.d.ts +0 -1
  454. package/dist/types/stencil.d.ts +0 -1
  455. package/package.json +1 -1
  456. package/dist/cdn/2RVVSM5J.js +0 -4
  457. package/dist/cdn/56QASSI7.js +0 -4
  458. package/dist/cdn/BL7TUTFB.js +0 -4
  459. package/dist/cdn/DH3SAWQO.js +0 -4
  460. package/dist/cdn/I3IHBW4I.js +0 -4
  461. package/dist/cdn/JHPYHESZ.js +0 -4
  462. package/dist/cdn/KVSY5222.js +0 -18
  463. package/dist/cdn/L2O6CXOR.js +0 -18
  464. package/dist/cdn/MZFDMEQW.js +0 -4
  465. package/dist/cdn/NR4TU43I.js +0 -18
  466. package/dist/cdn/OY2ZL2MH.js +0 -4
  467. package/dist/cdn/W45EDCYZ.js +0 -18
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a as q}from"./7M65VSDO.js";import{a as w}from"./7GJSEVPA.js";import{a as M}from"./NM6FSLHS.js";import{C as T,b as v,c as F,z as P}from"./32GCN42P.js";import{b as S}from"./NF5TB4T5.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./4XYYUSUA.js";import"./MGON4SLN.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.2.0-next.3 */
4
+ import{a as q}from"./64CYMAYN.js";import{a as w}from"./Q24E6XEJ.js";import{a as M}from"./GGN6M4IW.js";import{C as T,b as v,c as F,z as P}from"./62XTNKST.js";import{b as S}from"./HL4GCE2D.js";import"./T2TMGGNG.js";import"./HEO5YC5E.js";import{E as k,G as y,h as E,i as h,l as $,o as U}from"./64JDACKK.js";import"./IMTDRHTU.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a as S}from"./32275IZ5.js";import{b as d,c as g,i as y,j as N}from"./OLVN3BUK.js";import{a as I}from"./KSKZZDYX.js";import{a as M,e as E,f as T,g as F}from"./LZIYOPAC.js";import{a as $,b as R}from"./XLHINQDA.js";import{d as l,e as p,f as c}from"./QAQPOJT3.js";import{a as A}from"./XQYYFNOC.js";import{a as x}from"./BSCXWZZC.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
3
+ v1.2.0-next.3 */
4
+ import{a as S}from"./B24TVNRU.js";import{b as d,c as g,i as y,j as N}from"./SVKD3HCO.js";import{a as I}from"./HZI7AR5Z.js";import{a as M,e as E,f as T,g as F}from"./7KWG3Z6K.js";import{a as $,b as R}from"./NKYNFTHT.js";import{d as l,e as p,f as c}from"./PKCDCMTI.js";import{a as A}from"./7UCFU6IJ.js";import{a as x}from"./MNNUTOFN.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import k from"./OXW67XUN.js";import j from"./2ZUX4PI4.js";import e from"./Q5JBWZWR.js";import{b as w}from"./HOCJSK24.js";import b from"./3UMQAY7D.js";import{a as y,c as f,d as C}from"./4XJKKLD3.js";import{b as i}from"./24PILRZT.js";import"./3MON3AIB.js";import"./4YNKTXJZ.js";import"./HV23NBKM.js";import"./AZZRAFZ2.js";import"./TCORLZCI.js";import"./32275IZ5.js";import"./IAMELUPG.js";import"./QWFYFDGT.js";import"./OLVN3BUK.js";import"./GRC5KYBB.js";import"./KSKZZDYX.js";import"./FNLWKSSH.js";import"./LZIYOPAC.js";import"./HCEYPHXZ.js";import"./XLHINQDA.js";import"./QAQPOJT3.js";import"./XQYYFNOC.js";import"./GU3R45TN.js";import"./BSCXWZZC.js";import"./K3ZT5FZ2.js";import{m as g,o as a}from"./MQDP5X2Y.js";import{a as u}from"./ECVB7DM6.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{b as p}from"./7LML2KAO.js";import{D as _,E as m,G as o,h,i as s,j as d,l as c,o as r}from"./4XYYUSUA.js";import"./MGON4SLN.js";export default $arcgis.t(([,,n,x])=>{var v=h`/** @license
3
+ v1.2.0-next.3 */
4
+ import k from"./SGFO45SM.js";import j from"./RANKC4FB.js";import e from"./EAQS76QZ.js";import{b as w}from"./LHJTXTF5.js";import b from"./234YSPUP.js";import{a as y,c as f,d as C}from"./CT4XO4WW.js";import{b as i}from"./6AWOKZWN.js";import"./7CPPZBTT.js";import"./TO66PKJF.js";import"./4MHLESLH.js";import"./2TB3YOHP.js";import"./YERONLAQ.js";import"./B24TVNRU.js";import"./JVKOJX2S.js";import"./CQ5FSDXN.js";import"./SVKD3HCO.js";import"./RXU36Q5Q.js";import"./HZI7AR5Z.js";import"./QKG5BAFS.js";import"./7KWG3Z6K.js";import"./ZPGXJFXY.js";import"./NKYNFTHT.js";import"./PKCDCMTI.js";import"./7UCFU6IJ.js";import"./PIYRA3IK.js";import"./MNNUTOFN.js";import"./RDYTTPKB.js";import{m as g,o as a}from"./I7OV3TY4.js";import{a as u}from"./25CBXU7A.js";import"./T2TMGGNG.js";import"./HEO5YC5E.js";import{b as p}from"./BVPEEMND.js";import{D as _,E as m,G as o,h,i as s,j as d,l as c,o as r}from"./64JDACKK.js";import"./IMTDRHTU.js";export default $arcgis.t(([,,n,x])=>{var v=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
3
+ v1.2.0-next.3 */
4
4
  var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a as d}from"./ECVB7DM6.js";import"./USO4FEJS.js";import"./2AUDRMU3.js";import{b as o}from"./7LML2KAO.js";import{E as a,h as l,i as e,l as n,o as t}from"./4XYYUSUA.js";import"./MGON4SLN.js";var h=l`/** @license
3
+ v1.2.0-next.3 */
4
+ import{a as d}from"./25CBXU7A.js";import"./T2TMGGNG.js";import"./HEO5YC5E.js";import{b as o}from"./BVPEEMND.js";import{E as a,h as l,i as e,l as n,o as t}from"./64JDACKK.js";import"./IMTDRHTU.js";var h=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a as e}from"./FJYGYKU7.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.2.0-next.3 */
4
+ import{a as e}from"./ARMMHG3S.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import"./MGON4SLN.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.3 */
4
+ import"./IMTDRHTU.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.2 */
4
- import{a,b}from"./NAFDFLKN.js";import"./FJYGYKU7.js";import"./I5X57Y6X.js";import"./26NSAUFX.js";import"./MGON4SLN.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.2.0-next.3 */
4
+ import{a,b}from"./L5GLQINC.js";import"./ARMMHG3S.js";import"./2SZF4MLJ.js";import"./35UXOOHD.js";import"./IMTDRHTU.js";export{a as TemplateEditorTypes,b as TemplateSchema};