@esri/solutions-components 1.2.0-next.5 → 1.2.0-next.7

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 (487) hide show
  1. package/dist/cdn/{62BAVY5U.js → 24IQFT7O.js} +2 -2
  2. package/dist/cdn/{YOAMWE4X.js → 27KJAQWJ.js} +2 -2
  3. package/dist/cdn/{L5WPKPMP.js → 2BBIUN2T.js} +1 -1
  4. package/dist/cdn/{LW7F2ZZM.js → 2IDKXRM6.js} +2 -2
  5. package/dist/cdn/{HWVIUSXX.js → 2IIMW7KZ.js} +2 -2
  6. package/dist/cdn/{CNM5N2SL.js → 2KCM6CYY.js} +2 -2
  7. package/dist/cdn/{F2GKQT5D.js → 2NWVUYTE.js} +1 -1
  8. package/dist/cdn/{5BDED2BJ.js → 2SYGO5SF.js} +2 -2
  9. package/dist/cdn/{74CINEQ3.js → 2SZCUKBG.js} +2 -2
  10. package/dist/cdn/{HKEDWMSD.js → 2SZRO43C.js} +2 -2
  11. package/dist/cdn/{R27Z5MBC.js → 2UAZTD7Q.js} +1 -1
  12. package/dist/cdn/{72H7DQGK.js → 2V46CJ37.js} +2 -2
  13. package/dist/cdn/{MGABPXRV.js → 2WMDR35S.js} +2 -2
  14. package/dist/cdn/{RJU7IRTU.js → 2XWJ46TT.js} +1 -1
  15. package/dist/cdn/{DFZTVGP4.js → 3D2Z3DBU.js} +2 -2
  16. package/dist/cdn/{AW3AHGA7.js → 3EFK23HV.js} +2 -2
  17. package/dist/cdn/{AYJPSY6G.js → 3FDC2PNP.js} +2 -2
  18. package/dist/cdn/{X2FLTZOD.js → 3FPFP6U4.js} +2 -2
  19. package/dist/cdn/{AE4RE3TF.js → 3G6LJECA.js} +4 -4
  20. package/dist/cdn/{7JH4NQJN.js → 3JZ6B3VG.js} +2 -2
  21. package/dist/cdn/{IVRPXNBU.js → 3LG7PVWA.js} +2 -2
  22. package/dist/cdn/{LPGG7NVJ.js → 3LHCQY5M.js} +2 -2
  23. package/dist/cdn/{YRJN7CI2.js → 3WBICA44.js} +2 -2
  24. package/dist/cdn/{3CMVTXLQ.js → 3YR7FYTM.js} +2 -2
  25. package/dist/cdn/{CX3S4NVE.js → 43BS56MV.js} +2 -2
  26. package/dist/cdn/{JWJKVILC.js → 4AALASXV.js} +2 -2
  27. package/dist/cdn/{SJXQNK6Z.js → 4DMVA5XD.js} +1 -1
  28. package/dist/cdn/{UDH5DYZG.js → 4E3CF6RE.js} +2 -2
  29. package/dist/cdn/{7A3GEDWO.js → 4FE7VZGU.js} +2 -2
  30. package/dist/cdn/{7TDQOO2N.js → 4FI6PV22.js} +2 -2
  31. package/dist/cdn/{IGADLGYA.js → 4OWAB2A2.js} +2 -2
  32. package/dist/cdn/{26QOJAKK.js → 4TPPEOPB.js} +2 -2
  33. package/dist/cdn/{47KCOTZD.js → 4UEOLBYG.js} +2 -2
  34. package/dist/cdn/{FO65MMQA.js → 4VG73MVT.js} +2 -2
  35. package/dist/cdn/{FA3XMLAK.js → 52OVRAWR.js} +2 -2
  36. package/dist/cdn/{PSHEPLV7.js → 545T7SRQ.js} +2 -2
  37. package/dist/cdn/{EQMTRTY3.js → 5BYI5F5E.js} +2 -2
  38. package/dist/cdn/{5UDIP5TS.js → 5E5T5X4U.js} +2 -2
  39. package/dist/cdn/{QGNIXRWD.js → 5MXC3AEO.js} +2 -2
  40. package/dist/cdn/{Y5UFWBU3.js → 5RXTPH23.js} +2 -2
  41. package/dist/cdn/{YWZJNNAA.js → 5SPTHQL6.js} +2 -2
  42. package/dist/cdn/{EVJJVJUC.js → 63DMOJ2T.js} +2 -2
  43. package/dist/cdn/{ZX653FXG.js → 63WU763U.js} +2 -2
  44. package/dist/cdn/{BRBA3RVP.js → 66VZ62ND.js} +2 -2
  45. package/dist/cdn/{OPFNE6VQ.js → 6CR2TFPT.js} +2 -2
  46. package/dist/cdn/{FX5BDBXN.js → 6LKHUBOH.js} +2 -2
  47. package/dist/cdn/{4OO23EX3.js → 6NERUD73.js} +2 -2
  48. package/dist/cdn/{YRNIHKIN.js → 6Q67BEJ2.js} +2 -2
  49. package/dist/cdn/{PQTHI43K.js → 6R7NKEMV.js} +1 -1
  50. package/dist/cdn/{ZVF6OS6J.js → 6TTC7ZFD.js} +2 -2
  51. package/dist/cdn/{CX3ADR2W.js → 6VYUBZGX.js} +2 -2
  52. package/dist/cdn/{CWZHCREJ.js → 6XGDGUTA.js} +2 -2
  53. package/dist/cdn/{WRDAXQLK.js → 7FTRNBAX.js} +2 -2
  54. package/dist/cdn/{UO47IZNH.js → 7G7NYNLT.js} +2 -2
  55. package/dist/cdn/{PZLJVQX3.js → 7I775T2S.js} +2 -2
  56. package/dist/cdn/{QO5AGMUF.js → 7OY5RPOS.js} +2 -2
  57. package/dist/cdn/{HO4OQAAY.js → 7RFNBPIC.js} +2 -2
  58. package/dist/cdn/{MR6YRCGE.js → 7VA4NOU2.js} +2 -2
  59. package/dist/cdn/{6CTWI43P.js → 7WQ5EE74.js} +4 -4
  60. package/dist/cdn/{33QT4OWT.js → 7XMCJSRJ.js} +2 -2
  61. package/dist/cdn/{RGUXKD6S.js → ACQ2777F.js} +2 -2
  62. package/dist/cdn/{7GRKOVDA.js → AFKUFFEA.js} +2 -2
  63. package/dist/cdn/{PLIRSUV6.js → AHJ7XAYI.js} +2 -2
  64. package/dist/cdn/{737BY2CY.js → AOOXAEOV.js} +2 -2
  65. package/dist/cdn/AP6277DE.js +4 -0
  66. package/dist/cdn/APIKBMW7.js +4 -0
  67. package/dist/cdn/{355B4HKB.js → AQ45HO6P.js} +1 -1
  68. package/dist/cdn/{G6HXZZHL.js → ATEJZAG7.js} +2 -2
  69. package/dist/cdn/{EW2X2QV6.js → AXT7H3M5.js} +2 -2
  70. package/dist/cdn/{3VF63GEF.js → B2BTF7R6.js} +2 -2
  71. package/dist/cdn/B34LFYV4.js +18 -0
  72. package/dist/cdn/{WF2DEFBA.js → B4ERX267.js} +2 -2
  73. package/dist/cdn/{LAEO6LKD.js → B5GJVF6W.js} +2 -2
  74. package/dist/cdn/{22HKMFYF.js → B7X7HFII.js} +3 -3
  75. package/dist/cdn/{TH5Z25FN.js → BEU4EZ4O.js} +2 -2
  76. package/dist/cdn/{MBQAKO5E.js → BJCUTLYZ.js} +2 -2
  77. package/dist/cdn/{GRPZDXG4.js → BJDNUK2Y.js} +2 -2
  78. package/dist/cdn/{5RHZCQDH.js → BTFCCELS.js} +2 -2
  79. package/dist/cdn/{5XN7FRLT.js → BTGNGFDY.js} +2 -2
  80. package/dist/cdn/{FLTJM3SI.js → BU6EXRF7.js} +2 -2
  81. package/dist/cdn/{NL6MXE4S.js → BU7H53U2.js} +2 -2
  82. package/dist/cdn/{UE2YNT47.js → BX3JVHAG.js} +2 -2
  83. package/dist/cdn/{J5UWGCTF.js → C46USBRI.js} +2 -2
  84. package/dist/cdn/{2AODR3SB.js → C5R5SVFU.js} +2 -2
  85. package/dist/cdn/{K7TMVM74.js → C6TOPSKX.js} +2 -2
  86. package/dist/cdn/{SX4IGYWN.js → CAUNRV5X.js} +2 -2
  87. package/dist/cdn/{XEK4G673.js → CCTJFJSB.js} +2 -2
  88. package/dist/cdn/{5LW3NDVY.js → CEE26YF4.js} +2 -2
  89. package/dist/cdn/{N3CC3AYD.js → CENNAULO.js} +2 -2
  90. package/dist/cdn/{WHNQWDIK.js → CF75YQZH.js} +2 -2
  91. package/dist/cdn/{WSBNE4TT.js → CHGD4MZJ.js} +2 -2
  92. package/dist/cdn/{66CZXKSK.js → CHZOYTDJ.js} +2 -2
  93. package/dist/cdn/{SU4AYBNR.js → CLOQWOEC.js} +2 -2
  94. package/dist/cdn/{RR2N2YOI.js → CSJGGVEM.js} +2 -2
  95. package/dist/cdn/{VHZ527X2.js → D7Q5RT2U.js} +2 -2
  96. package/dist/cdn/DBJXZGZS.js +18 -0
  97. package/dist/cdn/{NHIUCBV6.js → DE6KD7OP.js} +2 -2
  98. package/dist/cdn/DGJSN5OQ.js +4 -0
  99. package/dist/cdn/{7CWVWUIJ.js → DGNZGNGJ.js} +2 -2
  100. package/dist/cdn/{3KMNENXB.js → DGXGVR2Z.js} +1 -1
  101. package/dist/cdn/{RVTNA6ZY.js → DHUU3UCT.js} +2 -2
  102. package/dist/cdn/{UXALLH6N.js → DRCIJWFA.js} +2 -2
  103. package/dist/cdn/{AGYRCJCI.js → DUWT6T22.js} +2 -2
  104. package/dist/cdn/DVU4D66W.js +4 -0
  105. package/dist/cdn/{WTDZ3NSL.js → DX6XPIPV.js} +2 -2
  106. package/dist/cdn/{7HHL3C3W.js → E5CIT5KL.js} +2 -2
  107. package/dist/cdn/{QYVRI5JK.js → EAYJET3G.js} +2 -2
  108. package/dist/cdn/{ZMG4YA63.js → EBI7ETZC.js} +1 -1
  109. package/dist/cdn/{2BUSHIVN.js → ECILS3DF.js} +2 -2
  110. package/dist/cdn/{V3JEPYLJ.js → EKODBE6K.js} +2 -2
  111. package/dist/cdn/{QQHNT6LS.js → EM5B5JJF.js} +2 -2
  112. package/dist/cdn/{MOKNBS3C.js → EPAC26GM.js} +2 -2
  113. package/dist/cdn/{6I3VNZGR.js → EPXKVI6O.js} +2 -2
  114. package/dist/cdn/{5VGQMPBM.js → EQTBIP6U.js} +1 -1
  115. package/dist/cdn/ER36FG33.js +4 -0
  116. package/dist/cdn/{ZKQBLH6C.js → ESMGPS5K.js} +2 -2
  117. package/dist/cdn/{6LFJAXJX.js → EV6JFTBW.js} +2 -2
  118. package/dist/cdn/{D4ALCJ2M.js → EXZ4VMBH.js} +2 -2
  119. package/dist/cdn/{QTX7JLGF.js → F5ALSWOY.js} +1 -1
  120. package/dist/cdn/{7CT4MH26.js → FAU3V3DD.js} +2 -2
  121. package/dist/cdn/{RCNVOTLA.js → FB5463BR.js} +2 -2
  122. package/dist/cdn/{UI2SDKYC.js → FCO2B3K7.js} +1 -1
  123. package/dist/cdn/{SWVAF6LW.js → FHOJGZI7.js} +2 -2
  124. package/dist/cdn/{3VY4EZAW.js → FHYK7YVY.js} +2 -2
  125. package/dist/cdn/{OIL6CBYE.js → FJCCTPUY.js} +2 -2
  126. package/dist/cdn/{UFOGS7QU.js → FNTYR5WV.js} +2 -2
  127. package/dist/cdn/{6UORZDXC.js → FRA7NPJI.js} +2 -2
  128. package/dist/cdn/{PPXDQKVO.js → FSYWVCVA.js} +2 -2
  129. package/dist/cdn/{ZVWJX5XX.js → FYFGL7YM.js} +2 -2
  130. package/dist/cdn/{7RDLIUYS.js → FYH5PUT2.js} +2 -2
  131. package/dist/cdn/{J2UCDTJF.js → FYPY5M3I.js} +2 -2
  132. package/dist/cdn/{GOTHF2RN.js → G5QCXXMB.js} +2 -2
  133. package/dist/cdn/{OTMDZPXT.js → G7T7PL2A.js} +2 -2
  134. package/dist/cdn/{OJTIJAMU.js → GBTX7JHX.js} +2 -2
  135. package/dist/cdn/{WTPDQ3PV.js → GD5J5HWX.js} +2 -2
  136. package/dist/cdn/GH5RM57Y.js +18 -0
  137. package/dist/cdn/{ISOMI2JF.js → GHDABYES.js} +2 -2
  138. package/dist/cdn/{7QQHG2VR.js → GPYIP5PI.js} +2 -2
  139. package/dist/cdn/{ULSCZE2S.js → GRJR6ZN5.js} +2 -2
  140. package/dist/cdn/{3CY52HGI.js → GSTWP5ZM.js} +2 -2
  141. package/dist/cdn/GUY36UW6.js +4 -0
  142. package/dist/cdn/{VLRHK5YP.js → GWPDSOKC.js} +2 -2
  143. package/dist/cdn/{LNMJI75N.js → GZIE32IS.js} +2 -2
  144. package/dist/cdn/{H6XF5SS6.js → H3Z56RZY.js} +2 -2
  145. package/dist/cdn/{RQT75FQC.js → H4HNZZID.js} +2 -2
  146. package/dist/cdn/{UVEJ2VLN.js → H5RJG4B4.js} +2 -2
  147. package/dist/cdn/{6PBJTSR7.js → HB63G4E2.js} +2 -2
  148. package/dist/cdn/{NTH5ZFPX.js → HISURMT2.js} +2 -2
  149. package/dist/cdn/{YEBFOEVN.js → HJQ464S3.js} +1 -1
  150. package/dist/cdn/{K7ELIBAQ.js → HK3NTX5L.js} +2 -2
  151. package/dist/cdn/{U4GITUVW.js → HVLZF6NX.js} +2 -2
  152. package/dist/cdn/I3GT3PAD.js +18 -0
  153. package/dist/cdn/{IANKP2HF.js → I6T2LPO7.js} +2 -2
  154. package/dist/cdn/{UERL77DS.js → I7EHWLGZ.js} +2 -2
  155. package/dist/cdn/{ONB37LY7.js → I7UQ76S6.js} +2 -2
  156. package/dist/cdn/{HI37TSGV.js → IBSQEVYG.js} +2 -2
  157. package/dist/cdn/IFQGNQQ3.js +18 -0
  158. package/dist/cdn/{3IHVZLDU.js → IHCBGJUX.js} +2 -2
  159. package/dist/cdn/{DAZMRFHY.js → IIQKO4NV.js} +2 -2
  160. package/dist/cdn/{7W4W36Y6.js → IJQGNRQY.js} +2 -2
  161. package/dist/cdn/{QMVO4IPU.js → IMUSY3LQ.js} +2 -2
  162. package/dist/cdn/{LQJJLIPP.js → IPUEIFZ4.js} +2 -2
  163. package/dist/cdn/{PPXFPXV2.js → IS6A26EI.js} +2 -2
  164. package/dist/cdn/{Z4AYXGJH.js → ISGFV7UG.js} +2 -2
  165. package/dist/cdn/{GRI7T2CE.js → IYEVDJDU.js} +1 -1
  166. package/dist/cdn/{OO2K3GFV.js → JCFSOF6S.js} +1 -1
  167. package/dist/cdn/{QA3KZUQE.js → JCSZQSGX.js} +1 -1
  168. package/dist/cdn/{V5AGQHUK.js → JKFZNMGP.js} +2 -2
  169. package/dist/cdn/{VZ7HPIBI.js → JQ3L67YC.js} +2 -2
  170. package/dist/cdn/{XIDBVWME.js → JQB4BFWJ.js} +1 -1
  171. package/dist/cdn/{MSK25PKW.js → JQYJNIUC.js} +2 -2
  172. package/dist/cdn/{NV6XAFL2.js → JVCZA5SP.js} +1 -1
  173. package/dist/cdn/{5JB54ZDZ.js → JZLR7ZSG.js} +2 -2
  174. package/dist/cdn/{USJ3N6S7.js → K6LCVX7I.js} +2 -2
  175. package/dist/cdn/{SCMY4SVY.js → K75TQNXT.js} +2 -2
  176. package/dist/cdn/{2EVO7BMT.js → KEYV63ER.js} +2 -2
  177. package/dist/cdn/{BPSNSMPM.js → KHLLYTI4.js} +2 -2
  178. package/dist/cdn/{BZVBJ4S5.js → KIKCKFJ6.js} +2 -2
  179. package/dist/cdn/{R4D3526U.js → KJEEKYDH.js} +2 -2
  180. package/dist/cdn/{2XTLVCYV.js → KJVMFBBS.js} +2 -2
  181. package/dist/cdn/{OQJKXHFA.js → KRB4UOT2.js} +1 -1
  182. package/dist/cdn/{IML573KC.js → KVOLGBWM.js} +2 -2
  183. package/dist/cdn/{PQV7S74Q.js → KVRVG23D.js} +1 -1
  184. package/dist/cdn/{5XJFLICT.js → KZQGM25A.js} +2 -2
  185. package/dist/cdn/{CS3AH7HA.js → KZTR7QWA.js} +2 -2
  186. package/dist/cdn/L6LREIT2.js +18 -0
  187. package/dist/cdn/{E5I3NEQI.js → LAD5VELF.js} +2 -2
  188. package/dist/cdn/{M5UNYNCA.js → LDDJNGGS.js} +1 -1
  189. package/dist/cdn/{MGEQNCFR.js → LDIDINTU.js} +2 -2
  190. package/dist/cdn/{NL3LFEFE.js → LEMKJ45K.js} +2 -2
  191. package/dist/cdn/{LAFACIUY.js → LOJTB56C.js} +2 -2
  192. package/dist/cdn/{IM4RE3TY.js → LQHD4NTE.js} +2 -2
  193. package/dist/cdn/{RAU4GXL2.js → LRTYQ7TB.js} +2 -2
  194. package/dist/cdn/{MQJ6DB65.js → M275BFKI.js} +2 -2
  195. package/dist/cdn/{JVBJBJUL.js → M6LGGBV6.js} +2 -2
  196. package/dist/cdn/{IROXFN5B.js → MDCCDX56.js} +2 -2
  197. package/dist/cdn/{GUYE43R5.js → ME74BYC6.js} +2 -2
  198. package/dist/cdn/{IWRMDNRW.js → MEJLJFNB.js} +1 -1
  199. package/dist/cdn/{HPYF5EGV.js → MI7OU4OK.js} +2 -2
  200. package/dist/cdn/{BIHCOF7Z.js → MKAZLIEQ.js} +2 -2
  201. package/dist/cdn/{IGCOKMI6.js → MKVY3JPB.js} +2 -2
  202. package/dist/cdn/{V4LD7G2P.js → MN47MBJI.js} +2 -2
  203. package/dist/cdn/{HXVRR7KX.js → MR4NYU5P.js} +2 -2
  204. package/dist/cdn/{4T5D74PP.js → MUW2HXBO.js} +2 -2
  205. package/dist/cdn/{3OYXRODS.js → MV4UCN6W.js} +2 -2
  206. package/dist/cdn/{RL7RFFRH.js → MXFNZBL7.js} +2 -2
  207. package/dist/cdn/{HKB3O3L4.js → MYJRAXAU.js} +2 -2
  208. package/dist/cdn/{6GL4MI4Z.js → N2MIOX2Y.js} +1 -1
  209. package/dist/cdn/{XO3G7246.js → N6KRQV36.js} +2 -2
  210. package/dist/cdn/{VRKGA5MK.js → NAJHJWME.js} +2 -2
  211. package/dist/cdn/{PH45STVW.js → NBX6ARVA.js} +2 -2
  212. package/dist/cdn/{CX5FGPYZ.js → NDQPDM3D.js} +2 -2
  213. package/dist/cdn/{JE77DF3X.js → NEVS6AYB.js} +2 -2
  214. package/dist/cdn/{2GKQUPSG.js → NIJ6LGXH.js} +2 -2
  215. package/dist/cdn/{KUFHAQWJ.js → NWZAJQCU.js} +2 -2
  216. package/dist/cdn/{K3H4ICYM.js → NZYWCOIU.js} +2 -2
  217. package/dist/cdn/{6E3UW2HW.js → O2FVTDUQ.js} +2 -2
  218. package/dist/cdn/{O3X7DL54.js → O724YZBU.js} +2 -2
  219. package/dist/cdn/{GBTKBPMY.js → OCXFABOG.js} +2 -2
  220. package/dist/cdn/{27VDQI45.js → OGP5QIB2.js} +2 -2
  221. package/dist/cdn/{JRLDZOPB.js → ONZZLGSE.js} +2 -2
  222. package/dist/cdn/{XEPEY2M2.js → OP67YGQY.js} +2 -2
  223. package/dist/cdn/{WLDO36W7.js → OXEWM6WY.js} +2 -2
  224. package/dist/cdn/{SYAHQ3NQ.js → OZNXNIGV.js} +2 -2
  225. package/dist/cdn/{QEBEA7MU.js → P2ZCV72Y.js} +2 -2
  226. package/dist/cdn/{O3PBUAQ4.js → P4ZNB7TV.js} +2 -2
  227. package/dist/cdn/{FTN4KQ5P.js → PBCU45S4.js} +2 -2
  228. package/dist/cdn/{JP4L2TFI.js → PGVUWJHV.js} +2 -2
  229. package/dist/cdn/{NQ6C57I5.js → PIJF7ZFV.js} +1 -1
  230. package/dist/cdn/{NGB75X4E.js → PJLLV4DN.js} +2 -2
  231. package/dist/cdn/{OJV6245L.js → PLEVCFO6.js} +1 -1
  232. package/dist/cdn/{YN6H5F4A.js → PP4Q3ULO.js} +2 -2
  233. package/dist/cdn/{TIYWZFAX.js → PQHGP45P.js} +2 -2
  234. package/dist/cdn/{JHF3KM73.js → PSZSQA3T.js} +2 -2
  235. package/dist/cdn/{JPK5OGZE.js → PUUXEH2C.js} +2 -2
  236. package/dist/cdn/{DTCMCNYL.js → PYMGOIHW.js} +2 -2
  237. package/dist/cdn/{MTXZXY4H.js → PZI2AVA5.js} +2 -2
  238. package/dist/cdn/{E6DJMKOX.js → Q2KGES2T.js} +2 -2
  239. package/dist/cdn/{BLQLRWXN.js → Q5UE4DXS.js} +2 -2
  240. package/dist/cdn/{OD4HEOH4.js → Q6G674Q2.js} +2 -2
  241. package/dist/cdn/{7AKBXEQF.js → Q7STFYTI.js} +2 -2
  242. package/dist/cdn/{RN2EF7YZ.js → QCDCX4DW.js} +2 -2
  243. package/dist/cdn/{JNEWR7HR.js → QFONBBRD.js} +2 -2
  244. package/dist/cdn/{EK64QJIA.js → QHEGVPF3.js} +2 -2
  245. package/dist/cdn/{74VWWXRD.js → QOKRGQML.js} +2 -2
  246. package/dist/cdn/{CZOBCM3V.js → QONAHI74.js} +2 -2
  247. package/dist/cdn/{IQFFJSPI.js → QQDVZSP3.js} +2 -2
  248. package/dist/cdn/{AQSMBVYS.js → QQPPCPEK.js} +2 -2
  249. package/dist/cdn/{52U2DKMV.js → QTIL33DB.js} +1 -1
  250. package/dist/cdn/{BNGJF56X.js → R5BOZ7VE.js} +2 -2
  251. package/dist/cdn/{N7EL4TJ4.js → R72CY2T7.js} +2 -2
  252. package/dist/cdn/{D34XEG46.js → RBM4VG2D.js} +2 -2
  253. package/dist/cdn/RBN46G6Q.js +4 -0
  254. package/dist/cdn/{KPSLDFGP.js → RCLP6XHT.js} +2 -2
  255. package/dist/cdn/{NFITFV6B.js → RCNI7IQN.js} +2 -2
  256. package/dist/cdn/{7I3VIAOS.js → REMQQQ23.js} +2 -2
  257. package/dist/cdn/{CSGP6EII.js → RUECP25V.js} +1 -1
  258. package/dist/cdn/{JKP6VYBC.js → RZYQZ6JI.js} +2 -2
  259. package/dist/cdn/{NIOXP2K4.js → SEL6VXCB.js} +2 -2
  260. package/dist/cdn/{YR3BPQUO.js → SEYXACWE.js} +2 -2
  261. package/dist/cdn/{6ISZUZHE.js → SFAXECVE.js} +2 -2
  262. package/dist/cdn/{PJFNAHXF.js → SIY7BNTT.js} +2 -2
  263. package/dist/cdn/{ADJFXZSR.js → SMHGPEVR.js} +1 -1
  264. package/dist/cdn/{ETP7B5MX.js → SMSNEKU2.js} +2 -2
  265. package/dist/cdn/{IB6ALJM2.js → STVSBNLJ.js} +1 -1
  266. package/dist/cdn/{XA5GIUR6.js → SW27NFSU.js} +2 -2
  267. package/dist/cdn/{LD7TCLXD.js → SXLYAREQ.js} +2 -2
  268. package/dist/cdn/{BNSB37BG.js → T3XJJDUF.js} +1 -1
  269. package/dist/cdn/{FPVYYJZU.js → T5E6H5II.js} +2 -2
  270. package/dist/cdn/{PY5KZH52.js → TBJ3OD6K.js} +2 -2
  271. package/dist/cdn/{2LFAIG4Y.js → TCV7CZHS.js} +1 -1
  272. package/dist/cdn/{MIAVOYXC.js → THVTZKYI.js} +2 -2
  273. package/dist/cdn/{Q42J7MX2.js → TIOF5XB6.js} +2 -2
  274. package/dist/cdn/{PRF7K5WC.js → TOHG4HYF.js} +2 -2
  275. package/dist/cdn/{4Z2GCBXM.js → TOJBGC5P.js} +2 -2
  276. package/dist/cdn/{XWNLS63V.js → TPJG4M4T.js} +2 -2
  277. package/dist/cdn/{JKUZZH76.js → TSLAPINM.js} +2 -2
  278. package/dist/cdn/{KNXNCPJR.js → TTCGIOAI.js} +2 -2
  279. package/dist/cdn/{NTLQWQS6.js → TWGK6M6C.js} +2 -2
  280. package/dist/cdn/{UCP2BRIL.js → TWXFKUEC.js} +2 -2
  281. package/dist/cdn/{5X5MAGOR.js → TZSH2ARS.js} +2 -2
  282. package/dist/cdn/{2W5TOF5B.js → U7UKQ4DG.js} +2 -2
  283. package/dist/cdn/{DWLQTIEQ.js → UB5O6ERK.js} +2 -2
  284. package/dist/cdn/{7APDY3O7.js → UFXBXSKS.js} +2 -2
  285. package/dist/cdn/{O52D2O2U.js → ULGTFJSW.js} +2 -2
  286. package/dist/cdn/{VM5ZGVA3.js → UTAYW2K6.js} +1 -1
  287. package/dist/cdn/{IGBY6H7G.js → UW77PU4X.js} +2 -2
  288. package/dist/cdn/{5A7ANLED.js → UWORLSOX.js} +2 -2
  289. package/dist/cdn/{O4FOFZZZ.js → UX2J2SYV.js} +2 -2
  290. package/dist/cdn/{P4PSLE7E.js → UYOTK5RM.js} +2 -2
  291. package/dist/cdn/{YXEM3CQC.js → V4GPI42Y.js} +2 -2
  292. package/dist/cdn/{XP2AFGEG.js → VBGF7QRZ.js} +2 -2
  293. package/dist/cdn/{BEZDR3BF.js → VDGFZDK4.js} +2 -2
  294. package/dist/cdn/{I3Y72EPZ.js → VM5KEKMQ.js} +2 -2
  295. package/dist/cdn/{6YSX44NX.js → VMF2F7QB.js} +2 -2
  296. package/dist/cdn/{G425A36R.js → VPT23YTB.js} +2 -2
  297. package/dist/cdn/{KWA56BZT.js → VR3MHHIC.js} +2 -2
  298. package/dist/cdn/{REXCF6AK.js → VSM5ACRS.js} +1 -1
  299. package/dist/cdn/VYKNUPRO.js +18 -0
  300. package/dist/cdn/{PAMOCSXX.js → VZT5KWR5.js} +1 -1
  301. package/dist/cdn/{4LYYND56.js → W4KMC3NB.js} +2 -2
  302. package/dist/cdn/{VUD3HI2Q.js → W6WSYHNW.js} +2 -2
  303. package/dist/cdn/{VXSY4V27.js → WC4KBS23.js} +2 -2
  304. package/dist/cdn/{CXUE7DBX.js → WDNP7HTK.js} +2 -2
  305. package/dist/cdn/{6URZHGOV.js → WL77FNT3.js} +2 -2
  306. package/dist/cdn/{4D2OCU77.js → WOO5BOCB.js} +2 -2
  307. package/dist/cdn/{A7722FBD.js → WP4EKSX2.js} +2 -2
  308. package/dist/cdn/{BJB7HU76.js → WQE73AJC.js} +2 -2
  309. package/dist/cdn/{F364NWY7.js → WXFPTRJR.js} +2 -2
  310. package/dist/cdn/{AFLJD2D2.js → WXNM6KFK.js} +1 -1
  311. package/dist/cdn/{RYDQMLHS.js → WYA2FORR.js} +1 -1
  312. package/dist/cdn/{JHDZXCV7.js → WZBZLGNL.js} +2 -2
  313. package/dist/cdn/{CVNLYDRK.js → X2OLHDL4.js} +2 -2
  314. package/dist/cdn/{42FAPKP2.js → XDIAXG7W.js} +2 -2
  315. package/dist/cdn/{FGNM3NFZ.js → XDZWOIXT.js} +2 -2
  316. package/dist/cdn/{47EMAQ7Z.js → XFO3NKFA.js} +2 -2
  317. package/dist/cdn/{AJWIVWWT.js → XL2VPXSI.js} +2 -2
  318. package/dist/cdn/XLVNDBS4.js +18 -0
  319. package/dist/cdn/{YPCP2ANH.js → XWMJJTFT.js} +2 -2
  320. package/dist/cdn/{SKKV6YTC.js → XYBOITJQ.js} +2 -2
  321. package/dist/cdn/{FPV6WYBL.js → Y5NASHCV.js} +2 -2
  322. package/dist/cdn/Y7B2IPGW.js +4 -0
  323. package/dist/cdn/{KSNTYAQZ.js → YHNGZWXX.js} +2 -2
  324. package/dist/cdn/{JIRWHXCF.js → YKNVONIM.js} +2 -2
  325. package/dist/cdn/{HPI4C6HL.js → YPZ6CNKI.js} +2 -2
  326. package/dist/cdn/{KJYDPWIX.js → YRN2WYUP.js} +2 -2
  327. package/dist/cdn/{YJZQIABG.js → YTSXJMMI.js} +2 -2
  328. package/dist/cdn/{OQZSVSVV.js → YU4NAMP6.js} +2 -2
  329. package/dist/cdn/{7D4AFTM4.js → YV5B46AL.js} +2 -2
  330. package/dist/cdn/{UK6FJACI.js → YXRG5OPF.js} +1 -1
  331. package/dist/cdn/{ZBNALXV7.js → YY7WPHWE.js} +2 -2
  332. package/dist/cdn/YZED6W3H.js +4 -0
  333. package/dist/cdn/{W46NJL6Z.js → Z2OK65KU.js} +2 -2
  334. package/dist/cdn/{O7XWTQW3.js → Z7GSGDAA.js} +2 -2
  335. package/dist/cdn/{5AHT3NPU.js → ZDSNPHUL.js} +2 -2
  336. package/dist/cdn/{ALX7KVM4.js → ZE7ROH6H.js} +3 -3
  337. package/dist/cdn/{33WJILQZ.js → ZL65LK5Q.js} +2 -2
  338. package/dist/cdn/{6FAL2RBB.js → ZQ7AEYGF.js} +1 -1
  339. package/dist/cdn/{CF3RBBK3.js → ZQWBJKYN.js} +2 -2
  340. package/dist/cdn/{KMQMER3S.js → ZSDIEOW7.js} +1 -1
  341. package/dist/cdn/ZU5MCLNF.js +18 -0
  342. package/dist/cdn/{SN6IKSF7.js → ZYG3NNP5.js} +2 -2
  343. package/dist/cdn/{Y2IEIML2.js → ZZZ3XDEV.js} +2 -2
  344. package/dist/cdn/assets/solution-details-card/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/solution-details-card/t9n/messages.json +1 -1
  346. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  347. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  348. package/dist/cdn/assets/solution-resource-card/t9n/messages.en.json +1 -1
  349. package/dist/cdn/assets/solution-resource-card/t9n/messages.json +1 -1
  350. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  351. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  352. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.en.json +1 -1
  353. package/dist/cdn/assets/solutions-deploy-app/t9n/messages.json +1 -1
  354. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -1
  355. package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -1
  356. package/dist/cdn/index.js +2 -2
  357. package/dist/chunks/Auth.js +14 -14
  358. package/dist/chunks/CardsFetcher.js +1 -1
  359. package/dist/chunks/appConfig.js +1 -1
  360. package/dist/chunks/cardFetchingUtils.js +1 -1
  361. package/dist/chunks/cardsHelpers.js +1 -1
  362. package/dist/chunks/common.js +1 -1
  363. package/dist/chunks/deployAppContexts.js +1 -1
  364. package/dist/chunks/downloadUtils.js +1 -1
  365. package/dist/chunks/getItemIcon.js +1 -1
  366. package/dist/chunks/helpers.js +30 -25
  367. package/dist/chunks/interfaces.js +1 -1
  368. package/dist/chunks/loadModules.js +1 -1
  369. package/dist/chunks/mapViewUtils.js +1 -1
  370. package/dist/chunks/pciUtils.js +1 -1
  371. package/dist/chunks/popupUtils.js +1 -1
  372. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  373. package/dist/chunks/privilegeUtils.js +1 -1
  374. package/dist/chunks/publicNotificationContext.js +1 -1
  375. package/dist/chunks/queryUtils.js +1 -1
  376. package/dist/chunks/runtime.js +1 -1
  377. package/dist/chunks/solution-store.js +1 -1
  378. package/dist/chunks/templates.js +1 -1
  379. package/dist/chunks/useT9n.js +1 -1
  380. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  381. package/dist/components/basemap-gallery/customElement.js +1 -1
  382. package/dist/components/buffer-tools/customElement.js +1 -1
  383. package/dist/components/card-manager/customElement.js +1 -1
  384. package/dist/components/consent-manager/customElement.js +1 -1
  385. package/dist/components/create-feature/customElement.js +1 -1
  386. package/dist/components/create-related-feature/customElement.js +1 -1
  387. package/dist/components/crowdsource-manager/customElement.js +1 -1
  388. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  389. package/dist/components/deduct-calculator/customElement.js +1 -1
  390. package/dist/components/delete-button/customElement.js +1 -1
  391. package/dist/components/delete-dialog/customElement.js +1 -1
  392. package/dist/components/edit-card/customElement.js +1 -1
  393. package/dist/components/feature-details/customElement.js +1 -1
  394. package/dist/components/feature-list/customElement.js +1 -1
  395. package/dist/components/field-selection/customElement.js +1 -1
  396. package/dist/components/floor-filter/customElement.js +1 -1
  397. package/dist/components/info-card/customElement.js +1 -1
  398. package/dist/components/json-editor/customElement.js +1 -1
  399. package/dist/components/layer-list/customElement.js +1 -1
  400. package/dist/components/layer-table/customElement.js +16 -17
  401. package/dist/components/map-card/customElement.js +14 -15
  402. package/dist/components/map-draw-tools/customElement.js +1 -1
  403. package/dist/components/map-fullscreen/customElement.js +1 -1
  404. package/dist/components/map-layer-picker/customElement.d.ts +6 -0
  405. package/dist/components/map-layer-picker/customElement.js +25 -19
  406. package/dist/components/map-legend/customElement.js +1 -1
  407. package/dist/components/map-picker/customElement.js +1 -1
  408. package/dist/components/map-search/customElement.js +1 -1
  409. package/dist/components/map-select-tools/customElement.js +1 -1
  410. package/dist/components/map-tools/customElement.js +1 -1
  411. package/dist/components/pci-calculator/customElement.js +1 -1
  412. package/dist/components/pdf-download/customElement.js +1 -1
  413. package/dist/components/public-notification/customElement.js +1 -1
  414. package/dist/components/refine-selection/customElement.js +1 -1
  415. package/dist/components/selection-tool/customElement.js +1 -1
  416. package/dist/components/solution-configuration/customElement.js +1 -1
  417. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  418. package/dist/components/solution-configure-titles/customElement.js +1 -1
  419. package/dist/components/solution-contents/customElement.js +1 -1
  420. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  421. package/dist/components/solution-deploy-dialog/customElement.js +2 -2
  422. package/dist/components/solution-deployed-card/customElement.js +1 -1
  423. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  424. package/dist/components/solution-details-card/customElement.js +6 -6
  425. package/dist/components/solution-details-panel/customElement.js +19 -22
  426. package/dist/components/solution-item/customElement.js +1 -1
  427. package/dist/components/solution-item-accordion/customElement.js +1 -1
  428. package/dist/components/solution-item-details/customElement.js +1 -1
  429. package/dist/components/solution-item-diagram/customElement.js +1 -1
  430. package/dist/components/solution-item-icon/customElement.js +1 -1
  431. package/dist/components/solution-item-sharing/customElement.js +1 -1
  432. package/dist/components/solution-organization-variables/customElement.js +1 -1
  433. package/dist/components/solution-resource-card/customElement.js +2 -2
  434. package/dist/components/solution-resource-item/customElement.js +1 -1
  435. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  436. package/dist/components/solution-social-share/customElement.js +1 -1
  437. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  438. package/dist/components/solution-template-data/customElement.js +1 -1
  439. package/dist/components/solution-variables/customElement.js +1 -1
  440. package/dist/components/solutions-all-panel/customElement.js +1 -1
  441. package/dist/components/solutions-all-shell/customElement.js +25 -20
  442. package/dist/components/solutions-deploy-app/customElement.js +6 -7
  443. package/dist/components/solutions-deploy-app-nav/customElement.js +28 -22
  444. package/dist/components/solutions-deploy-app-nav/index.d.ts +4 -1
  445. package/dist/components/solutions-deploy-app-nav/index.js +4 -1
  446. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  447. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  448. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  449. package/dist/components/solutions-filter-panel/customElement.d.ts +6 -0
  450. package/dist/components/solutions-filter-panel/customElement.js +63 -55
  451. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  452. package/dist/components/solutions-resources/customElement.js +1 -1
  453. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  454. package/dist/components/solutions-searchsort-toolbar/customElement.js +2 -2
  455. package/dist/components/spatial-ref/customElement.js +1 -1
  456. package/dist/components/store-manager/customElement.js +1 -1
  457. package/dist/docs/api.json +59 -1
  458. package/dist/docs/docs.json +45 -1
  459. package/dist/docs/vscode.html-custom-data.json +10 -0
  460. package/dist/docs/web-types.json +27 -1
  461. package/dist/index.js +1 -1
  462. package/dist/loader.js +3 -3
  463. package/dist/types/lumina.d.ts +2 -2
  464. package/dist/types/preact.d.ts +2 -2
  465. package/dist/types/preact10.d.ts +2 -2
  466. package/dist/types/react.d.ts +2 -2
  467. package/dist/types/stencil.d.ts +2 -2
  468. package/dist/utils/helpers.d.ts +8 -1
  469. package/package.json +1 -1
  470. package/dist/cdn/3X5VVBRU.js +0 -4
  471. package/dist/cdn/AAXEUHSJ.js +0 -18
  472. package/dist/cdn/BB34T733.js +0 -18
  473. package/dist/cdn/CS7YC56Z.js +0 -18
  474. package/dist/cdn/FDGQ5NKL.js +0 -4
  475. package/dist/cdn/HHZVYWUY.js +0 -4
  476. package/dist/cdn/K6H5T5TN.js +0 -4
  477. package/dist/cdn/KGPR63CZ.js +0 -4
  478. package/dist/cdn/RO22546M.js +0 -18
  479. package/dist/cdn/RVWBJZH4.js +0 -18
  480. package/dist/cdn/SPKIAQZB.js +0 -4
  481. package/dist/cdn/STMYBXHY.js +0 -4
  482. package/dist/cdn/SWX5QB6B.js +0 -18
  483. package/dist/cdn/TJ2NWBZX.js +0 -4
  484. package/dist/cdn/WA37EJ6K.js +0 -18
  485. package/dist/cdn/WSVMA7LP.js +0 -4
  486. package/dist/cdn/ZOWGS4GQ.js +0 -18
  487. package/dist/cdn/ZTJIG6NP.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.5 */
4
- import{b as p,d as a,e as h,f as E}from"./52U2DKMV.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
3
+ v1.2.0-next.7 */
4
+ import{b as p,d as a,e as h,f as E}from"./QTIL33DB.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
@@ -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.5 */
4
- import{a as g,c as S,d as y,e as u,f as m}from"./LW7F2ZZM.js";import{a as p}from"./VUD3HI2Q.js";import{C as $,m as h}from"./AFLJD2D2.js";import{b as D}from"./MOKNBS3C.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
3
+ v1.2.0-next.7 */
4
+ import{a as g,c as S,d as y,e as u,f as m}from"./2IDKXRM6.js";import{a as p}from"./W6WSYHNW.js";import{C as $,m as h}from"./WXNM6KFK.js";import{b as D}from"./EPAC26GM.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./SMHGPEVR.js";import"./WYA2FORR.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
@@ -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.5 */
3
+ v1.2.0-next.7 */
4
4
  var R=(e=>(e.H="H",e.M="M",e.L="L",e))(R||{}),L=(e=>(e[e.ALLIGATOR_CRACKING=1]="ALLIGATOR_CRACKING",e[e.BLEEDING=2]="BLEEDING",e[e.BLOCK_CRACKING=3]="BLOCK_CRACKING",e[e.BUMPS_SAGS=4]="BUMPS_SAGS",e[e.CORRUGATION=5]="CORRUGATION",e[e.DEPRESSION=6]="DEPRESSION",e[e.EDGE_CRACKING=7]="EDGE_CRACKING",e[e.REFLECTION_CRACKING=8]="REFLECTION_CRACKING",e[e.LANE_SHOULDER_DROP_OFF=9]="LANE_SHOULDER_DROP_OFF",e[e.LONG_TRANS_CRACKING=10]="LONG_TRANS_CRACKING",e[e.PATCHING_UTIL_CUT_PATCHING=11]="PATCHING_UTIL_CUT_PATCHING",e[e.POLISHED_AGGREGATE=12]="POLISHED_AGGREGATE",e[e.POTHOLES=13]="POTHOLES",e[e.RAILROAD_CROSSING=14]="RAILROAD_CROSSING",e[e.RUTTING=15]="RUTTING",e[e.SHOVING=16]="SHOVING",e[e.SLIPPAGE_CRACKING=17]="SLIPPAGE_CRACKING",e[e.SWELL=18]="SWELL",e[e.RAVELING=19]="RAVELING",e[e.WEATHERING=20]="WEATHERING",e))(L||{});function S(e,o,u,t=!1){let r=Number.parseInt(e),n=R[o],l=Number.parseFloat(u.toString());if(Number.isNaN(l)||l===0)return"";let i=t===!0||t.toString().toLowerCase()==="true",s;switch(r){case 1:s=k;break;case 2:s=$;break;case 3:s=D;break;case 4:s=m;break;case 5:s=P;break;case 6:s=K;break;case 7:s=F;break;case 8:s=V;break;case 9:s=y;break;case 10:s=U;break;case 11:s=w;break;case 12:s=x;break;case 13:s=B;break;case 14:s=j;break;case 15:s=W;break;case 16:s=q;break;case 17:s=z;break;case 18:s=J;break;case 19:s=Q;break;case 20:s=X;break}if(s){let f=s(n,Math.log10(l)),g=p(f),d=`${e}|${o}|${g}|${l}`;return i&&(console.log(`Deduct value: ${f}`),console.log(`Rounded deduct value: ${g}`),console.log(`Formatted devduct value (type|severity|roundedDV|density): ${d}`)),d}else return""}function I(e,o=!1){let u=e.indexOf("|")>-1?h(e,o):e.split(",").map(n=>Number.parseFloat(n)),t=o===!0||o.toString().toLowerCase()==="true",r=0;if(u=u.filter(n=>Math.abs(n)>0),u.length>0){let n=Y(u,t);n!==void 0&&(r=100-p(n))}return r}function h(e,o){let u={},t=v(e),r=Object.keys(t).filter(n=>Object.keys(t[n]).length>1);return r.length>0&&r.forEach(n=>{let l,i,s,f,g,d;if(Object.keys(t[n]).forEach(c=>{c==="H"?(l=t[n][c].deductValue,f=t[n][c].density):c==="M"?(i=t[n][c].deductValue,g=t[n][c].density):(s=t[n][c].deductValue,d=t[n][c].density)}),l!==void 0&&i!==void 0&&s!==void 0&&f!==void 0&&g!==void 0&&d!==void 0){let c=(f&&g&&d?M:_)(n,l,i,s,f,g,d,o);c&&(u[n]=c,o&&(console.log("updates"),console.log(u)))}}),T(e,u)}function M(e,o,u,t,r,n,l,i){let s=I(`${o},${u},${t}`,!0);i&&(console.log("pci1"),console.log(s));let f=l+n,g=N(e,"M",f.toString(),o,i),d=n+r,c=N(e,"H",d.toString(),t,i),b=l+r,H=N(e,"H",b.toString(),u,i),O=l+n+r,A=N(e,"H",O.toString(),0,i);i&&(console.log("low med pci2"),console.log(g.pci),console.log("med high pci2"),console.log(c.pci),console.log("low high pci2"),console.log(H.pci),console.log("low med high pci2"),console.log(A.pci));let E=[g,c,H,A].reduce((C,G)=>G.pci>s&&(!C||G.pci>C.pci)?G:C,void 0);return E?E.dv:void 0}function _(e,o,u,t,r,n,l,i){let s=I(`${o||u},${t||u}`,!0);i&&(console.log("pci1"),console.log(s));let f=r||n,g=f+(l||n),d=N(e,f===r?"H":"M",g.toString(),0,i);return i&&(console.log("pci2"),console.log(d.pci)),d.pci>s?d.dv:void 0}function N(e,o,u,t,r){let n=S(e,o,u).split("|"),l=Number.parseFloat(n[2]);return{pci:I(`${n[2]},${t}`,r),dv:t?[l,t]:[l]}}function v(e){return e.split(",").reduce((o,u)=>{let t=u.split("|"),r=t[0],n=t[1],l=Number.parseFloat(t[2]),i=Number.parseFloat(t[3]);return o[r]||(o[r]={}),o[r][n]={deductValue:l,density:i},o},{})}function T(e,o){let u=[];return e.split(",").reduce((t,r)=>{let n=r.split("|"),l=n[0],i=Number.parseFloat(n[2]);return Object.keys(o).length>0&&o[l]?(u.push(l),t.push(...o[l]),delete o[l]):u.indexOf(l)<0&&t.push(i),t},[])}function a(e,o){return o.reduce((u,t,r)=>u+=r===0?t:r===1?t*e:t*Math.pow(e,r),0)}function p(e){return Math.round(e*10)/10}function k(e,o){return a(o,e==="H"?[30.71,29.22,9.407,-6.981,-2.158,3.047,-.6578]:e==="M"?[21.62,21.32,5.194,-1.343,.2341]:[11.31,16.05,7.572,-1.471])}function $(e,o){return a(o,e==="H"?[5.343,6.927,7.926,4.265,-.7582]:e==="M"?[2.38,5.483,4.128,.8366,.03659,.1052]:[.01391,.5079,1.576,1.191,.1329,.03823])}function D(e,o){return a(o,e==="H"?[7.926,11.93,8.826,3.432,-1.382]:e==="M"?[2.587,9.142,6.647,-.455,-.2439,.1107]:[.646,4.002,4.2,.4987,-.06269])}function m(e,o){return a(o,e==="H"?[52.77,38.07,8.964,-.4148,-1.589,2.478]:e==="M"?[24.66,27.86,15.73,3.295,-5.27,5.921,7.959]:[8.768,13.79,7.064,7.455,6.041,-1.739,-1.371])}function P(e,o){return a(o,e==="H"?[34.21,21.59,1.863,6.141,-.687,-1.885,.4916]:e==="M"?[15.78,19.69,6.276,-2.124,.5868,.06045]:[2.173,5.609,5.976,-.7348,-.2172,1.494,-.5659])}function K(e,o){return a(o,e==="H"?[17.84,5.904,9.406,18.28,-2.753,-7.798,2.402]:e==="M"?[8.471,3.171,10.25,12.2,-.9687,-4.601,1.079]:[4.836,-.7572,4.786,12.39,1.233,-4.871,.9749])}function F(e,o){return a(o,e==="H"?[14.99,13.5,10.62,5.15,-1.792,-2.826]:e==="M"?[9.177,10.26,5.704,-.6812,-.8588,.2123]:[3.049,4.802,4.058,-.3556,-1.55,1.02])}function V(e,o){return a(o,e==="H"?[14.99,17.21,27.63,31.13,-20.94,-18.82,9.985]:e==="M"?[9.9193,10.88,8.073,14.8,-3.792,-9.583,3.651]:[2.356,6.664,3.717,-1.393,1.94,1.785,-.9707])}function y(e,o){return a(o,e==="H"?[7.549,6.907,7.284,9.304,2.064]:e==="M"?[4.02,1.744,14.36,15.92,-40.22,23.6]:[2.004,1.065,9.706,11.75,-27.52,15.04])}function U(e,o){return a(o,e==="H"?[19.56,24.06,12.12,9.336,1.532,-4.396]:e==="M"?[9.751,15.53,4.719,1.369,1.206,-1.164]:[2.347,9.074,8.424,-1.338,-1.873,1.144])}function w(e,o){return a(o,e==="H"?[20.15,16.55,5.415,10.77,3.257,-4.502]:e==="M"?[10.28,12.71,6.174,1.928,.6923,-.4673]:[2.523,6.892,5.702,2.407,.2185,-.8722])}function x(e,o){return a(o,e==="H"||e==="M"||e==="L"?[3.417,-26.82,71.15,-76.22,38.52,-6.904]:[])}function B(e,o){return a(o,e==="H"?[110.7,60.66,2.378,-2.664]:e==="M"?[90.47,60.41,-.1123,-4.746]:[58.19,40.53,2.884,-1.443,.1195])}function j(e,o){return a(o,e==="H"?[20,38.64,-62.82,193.6,-162.7,41.22]:e==="M"?[6.994,23.47,-52.3,167.3,-143.6,37.64]:[1.998,-.7488,13.8,-.7917,-1.981])}function W(e,o){return a(o,e==="H"?[27.61,25.19,8.557,1.65,-2.203]:e==="M"?[18.47,20.77,6.617,-1.13,-2.286]:[8.833,14.84,3.129,.1451,2.438,-1.279])}function q(e,o){return a(o,e==="H"?[18.7,20.17,10.3,4.694,1.331,-2.61]:e==="M"?[10.39,14.78,5.488,4.001,3.23,-2.387]:[4.002,10.66,6.332,-.5226,-.1923])}function z(e,o){return a(o,e==="H"?[19.73,32.21,25.87,-2.871,-10.55,1.496,.7393]:e==="M"?[11.38,18.55,18.38,1.628,-7.596,.5841,.5946]:[5.144,12.95,11.95,-.833,-2.995,1.325,-.2113])}function J(e,o){return a(o,e==="H"?[34,16.84,-23.09,41.17,-14.84]:e==="M"?[12,15.67,20.59,-28.33,21,-5.508]:[1.995,11.9,-12.83,16.74,-5.361])}function Q(e,o){return a(o,e==="H"?[16.77,10.67,5.758,12.9,-.0633,-5.659,1.48]:e==="M"?[8.512,5.106,1.63,3.469,1.028,-1.211,.1938]:[])}function X(e,o){return a(o,e==="H"?[3.673,3.349,2.598,-1.233,2.754,2.434,-1.485]:e==="M"?[1.12,.9769,.93,-.5955,1.041,1.111,-.614]:[-.0386,-.0736,.834,1.63,-.0287,-.639,.1515])}function Y(e,o){let u,t=e.filter(r=>r>2);if(t.length<=1)u=t.reduce((r,n)=>(r+=n,r),0),o&&(console.log("If none or only one individual deduct value is greater"),console.log("than two, the total value is used in place of the maximum CD"),console.log(`Max CDV: ${u}`));else{let r=e.sort((i,s)=>s-i),n=r[0],l=1+9/98*(100-n);if(o&&(console.log(`Deduct values sorted in descending order: ${r}`),console.log(`Highest deduct value: ${n}`),console.log(`Allowable number of deducts including fractions: ${l}`)),l<=10){let i=Z(r,l);o&&console.log(`Reduce deduct values to the m largest including the fractional part: ${i}`);let s=e1(i,o);u=Math.max(...s),o&&console.log(`Max CDV: ${u}`)}else o&&console.log("Allowable number of deducts including fractions (must be less than or equal to ten)")}return u}function Z(e,o){let u=o-Math.floor(o);return e.length<o?e:e.reduce((t,r,n)=>(n+1<o?t.push(r):u>0&&t.push(p(r*u)),t),[])}function e1(e,o){let u=e.length,t=[];for(;u>=1;)o&&console.log(`vals: ${e}`),t.push(o1(e,o)),u-=1,e.splice(u,1,2);return t}function o1(e,o){let u=e.reduce((r,n)=>r+=n,0),t=e.reduce((r,n)=>n>2?r+1:r,0);return t1(u,t,o)}function t1(e,o,u){let t=a(e,{7:[-9.482,.6045,3563e-7,-5448e-9],6:[-8.165,.5724,4266e-7,-4254e-9],5:[-7.932,.6091,3464e-7,-4265e-9],4:[-6.78,.6301,7376e-7,-6357e-9],3:[-5.015,.7546,-43e-5,-3075e-9],2:[-1.668,.7992,-3013e-7,-5214e-9],1:[1651e-18,1,-4249e-21,1149e-22]}[o>=7?7:o]);return u&&(console.log(`totalDV: ${e}`),console.log(`q: ${o}`),console.log(`CDV: ${t}`)),t}export{R as a,L as b,S as c,I as d};
@@ -1,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.5 */
4
- import{a as x}from"./IWRMDNRW.js";import{a as h}from"./NQ6C57I5.js";import{b as m}from"./MOKNBS3C.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
3
+ v1.2.0-next.7 */
4
+ import{a as x}from"./MEJLJFNB.js";import{a as h}from"./PIJF7ZFV.js";import{b as m}from"./EPAC26GM.js";import{E as d,G as i,H as _,h as c,i as e,l as o,o as l}from"./SMHGPEVR.js";import"./WYA2FORR.js";var u=(a=>(a.TOP_LEFT="top-left",a.TOP_CENTER="top-center",a.TOP_RIGHT="top-right",a.CENTER_LEFT="center-left",a.CENTER="center",a.CENTER_RIGHT="center-right",a.BOTTOM_LEFT="bottom-left",a.BOTTOM_CENTER="bottom-center",a.BOTTOM_RIGHT="bottom-right",a))(u||{}),f=c`:host{--instant-apps-landing-page-background-color: var(--calcite-color-brand);--instant-apps-landing-page-text-color: var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color: var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size: var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size: var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size: var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s: 100px;--instant-apps-landing-page-icon-image-scale--m: 250px;--instant-apps-landing-page-icon-image-scale--l: 500px;--instant-apps-landing-page-entry-button-margin: 0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:60px;transition:top .5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:10px 0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);margin:10px 0}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px;margin-top:10px;overflow-y:auto;flex:1 1 auto}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0,0,0,.4),0px 8px 13px rgba(0,0,0,.1),0px 18px 23px rgba(0,0,0,.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:10px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex;padding:20px 0}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover: var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press: var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-start;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end;overflow-y:auto}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}`,n={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},r=class extends d{constructor(){super(...arguments),this._sanitizer=new h({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.iconImageScale="m",this.alignment=u.CENTER,this.disableTransition=!0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.landingPageClose=l(),this.landingPageOpen=l()}static{this.properties={titleText:1,subtitleText:1,descriptionText:1,entryButtonText:1,iconImage:1,iconImageScale:1,iconImageAltText:1,alignment:0,disableTransition:5,backgroundImageSrc:1,open:5,entryButtonScale:1,fontFamily:3,enableSignIn:5,portal:0,oauthappid:1}}static{this.styles=f}willUpdate(t){t.has("open")&&(this.hasUpdated||!this.open)&&(this.open?this.landingPageOpen.emit():this.landingPageClose.emit()),this.checkEnableSignIn()}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${n.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:t}=this,{s,m:p,l:g}=n.iconImageScale;return t==="l"?g:t==="s"?s:p}getContentStyle(){let t=x(this.fontFamily);return this.backgroundImageSrc?{fontFamily:t,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:t}}checkEnableSignIn(){if(this.enableSignIn){let t=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;t!=null&&((Date.now()-t)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}}render(){return this.renderLandingPageContent()}renderLandingPageContent(){let t=this.open?"":this.disableTransition?` ${n.closedNoTransition}`:` ${n.closed}`,s=this.getAlignmentClass(),p=this.disableTransition?` ${n.removeTransition}`:"",g=this.getContentStyle();return e`<div style=${_(g)} class=${`${n.BASE}${s}${t}${p}`}><div class=${i(n.backgroundAction)}><slot name=background-action></slot></div><div class=${i(n.contentContainer)}>${this.renderIconImage()}${this.renderTitleText()}${this.renderSubtitleText()}${this.renderDescriptionText()}</div>${this.renderEntryButtonContainer()}</div>`}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():e`<div class=${i(n.buttonContainer)}>${this.renderEntryButton()}<slot name=secondary-action></slot></div>`}renderLandingPageSignIn(){return e`<instant-apps-sign-in type=landingPage landing-page .portal=${this.portal} .oauthappid=${this.oauthappid} .closeLandingPage=${this.closeLandingPage.bind(this)}></instant-apps-sign-in>`}renderIconImage(){return this.iconImage?e`<img class=${`${n.iconImage}${this.getIconImageScale()}`} src=${this.iconImage??o} alt=${this.iconImageAltText??o}>`:null}renderTitleText(){return e`<h1 class=${i(n.titleText)}>${this.titleText}</h1>`}renderSubtitleText(){return e`<span class=${i(n.subtitleText)}>${this.subtitleText}</span>`}renderDescriptionText(){return e`<p class=${i(n.descriptionText)} .innerHTML=${this._sanitizer?.sanitize(this.descriptionText)??""??""}></p>`}renderEntryButton(){return e`<calcite-button class=${i(n.entryButton)} @click=${this.closeLandingPage} .scale=${this.entryButtonScale} appearance=outline-fill>${this.entryButtonText?this.entryButtonText:"Enter"}</calcite-button>`}};m("instant-apps-landing-page",r);export{r as InstantAppsLandingPage};
@@ -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.5 */
4
- import{a as e,b as i,c as l,d as s,e as t}from"./IANKP2HF.js";import{a as r}from"./UXALLH6N.js";import"./BEZDR3BF.js";import"./737BY2CY.js";import"./F2GKQT5D.js";import"./33WJILQZ.js";import"./RJU7IRTU.js";import"./OJV6245L.js";import"./QEBEA7MU.js";import"./M5UNYNCA.js";import"./A7722FBD.js";import"./IQFFJSPI.js";import"./JKUZZH76.js";import"./JWJKVILC.js";import"./KSNTYAQZ.js";import"./5LW3NDVY.js";import"./BNGJF56X.js";import"./IGBY6H7G.js";import"./PZLJVQX3.js";import"./HI37TSGV.js";import"./FGNM3NFZ.js";import"./355B4HKB.js";import"./R27Z5MBC.js";import"./VM5ZGVA3.js";import"./RYDQMLHS.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.2.0-next.7 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./I6T2LPO7.js";import{a as r}from"./DRCIJWFA.js";import"./VDGFZDK4.js";import"./AOOXAEOV.js";import"./2NWVUYTE.js";import"./ZL65LK5Q.js";import"./2XWJ46TT.js";import"./PLEVCFO6.js";import"./P2ZCV72Y.js";import"./LDDJNGGS.js";import"./WP4EKSX2.js";import"./QQDVZSP3.js";import"./TSLAPINM.js";import"./4AALASXV.js";import"./YHNGZWXX.js";import"./CEE26YF4.js";import"./R5BOZ7VE.js";import"./UW77PU4X.js";import"./7I775T2S.js";import"./IBSQEVYG.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./UTAYW2K6.js";import"./WYA2FORR.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d 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.5 */
3
+ v1.2.0-next.7 */
4
4
  var E=typeof window<"u",l={Promise:E?window.Promise:void 0},m="4.25",u="next";function p(r){if(r.toLowerCase()===u)return u;var e=r&&r.match(/^(\d)\.(\d+)/);return e&&{major:parseInt(e[1],10),minor:parseInt(e[2],10)}}function w(r){return r===void 0&&(r=m),"https://js.arcgis.com/".concat(r,"/")}function g(r){r===void 0&&(r=m);var e=w(r),t=p(r);if(t!==u&&t.major===3){var n=t.minor<=10?"js/":"";return"".concat(e).concat(n,"esri/css/esri.css")}else return"".concat(e,"esri/themes/light/main.css")}function A(r){var e=document.createElement("link");return e.rel="stylesheet",e.href=r,e}function P(r,e){if(e){var t=document.querySelector(e);t.parentNode.insertBefore(r,t)}else document.head.appendChild(r)}function S(r){return document.querySelector('link[href*="'.concat(r,'"]'))}function q(r){return!r||p(r)?g(r):r}function I(r,e){var t=q(r),n=S(t);return n||(n=A(t),P(n,e)),n}var L={};function b(r){var e=document.createElement("script");return e.type="text/javascript",e.src=r,e.setAttribute("data-esri-loader","loading"),e}function f(r,e,t){var n;t&&(n=j(r,t));var o=function(){e(r),r.removeEventListener("load",o,!1),n&&r.removeEventListener("error",n,!1)};r.addEventListener("load",o,!1)}function j(r,e){var t=function(n){e(n.error||new Error("There was an error attempting to load ".concat(r.src))),r.removeEventListener("error",t,!1)};return r.addEventListener("error",t,!1),t}function h(){return document.querySelector("script[data-esri-loader]")}function s(){var r=window.require;return r&&r.on}function C(r){r===void 0&&(r={});var e={};[L,r].forEach(function(o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])});var t=e.version,n=e.url||w(t);return new l.Promise(function(o,i){var a=h();if(a){var d=a.getAttribute("src");d!==n?i(new Error("The ArcGIS API for JavaScript is already loaded (".concat(d,")."))):s()?o(a):f(a,o,i)}else if(s())i(new Error("The ArcGIS API for JavaScript is already loaded."));else{var c=e.css;if(c){var y=c===!0;I(y?t:c,e.insertCssBefore)}a=b(n),f(a,function(){a.setAttribute("data-esri-loader","loaded"),o(a)},i),document.body.appendChild(a)}})}function v(r){return new l.Promise(function(e,t){var n=window.require.on("error",t);window.require(r,function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n.remove(),e(o)})})}function T(r,e){if(e===void 0&&(e={}),s())return v(r);var t=h(),n=t&&t.getAttribute("src");return!e.url&&n&&(e.url=n),C(e).then(function(){return v(r)})}var k=async(r,e)=>(await T(r,e)).map(t=>t.__esModule&&t.default?t.default:t);export{T as a,k as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as p}from"./74CINEQ3.js";import{a as n}from"./PQV7S74Q.js";import"./5VGQMPBM.js";import{a as r,b as i}from"./IM4RE3TY.js";import"./QO5AGMUF.js";import"./SWVAF6LW.js";import{d as a}from"./LAFACIUY.js";import"./52U2DKMV.js";import"./3KMNENXB.js";import"./2XTLVCYV.js";import"./IB6ALJM2.js";import{a as t}from"./UXALLH6N.js";import"./BEZDR3BF.js";import"./737BY2CY.js";import"./F2GKQT5D.js";import"./33WJILQZ.js";import"./RJU7IRTU.js";import"./OJV6245L.js";import"./QEBEA7MU.js";import"./M5UNYNCA.js";import"./A7722FBD.js";import"./IQFFJSPI.js";import"./JKUZZH76.js";import"./JWJKVILC.js";import"./KSNTYAQZ.js";import"./5LW3NDVY.js";import"./BNGJF56X.js";import"./IGBY6H7G.js";import"./PZLJVQX3.js";import"./HI37TSGV.js";import"./FGNM3NFZ.js";import"./355B4HKB.js";import"./R27Z5MBC.js";import"./VM5ZGVA3.js";import"./RYDQMLHS.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
3
+ v1.2.0-next.7 */
4
+ import{a as p}from"./2SZCUKBG.js";import{a as n}from"./KVRVG23D.js";import"./EQTBIP6U.js";import{a as r,b as i}from"./LQHD4NTE.js";import"./7OY5RPOS.js";import"./FHOJGZI7.js";import{d as a}from"./LOJTB56C.js";import"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import{a as t}from"./DRCIJWFA.js";import"./VDGFZDK4.js";import"./AOOXAEOV.js";import"./2NWVUYTE.js";import"./ZL65LK5Q.js";import"./2XWJ46TT.js";import"./PLEVCFO6.js";import"./P2ZCV72Y.js";import"./LDDJNGGS.js";import"./WP4EKSX2.js";import"./QQDVZSP3.js";import"./TSLAPINM.js";import"./4AALASXV.js";import"./YHNGZWXX.js";import"./CEE26YF4.js";import"./R5BOZ7VE.js";import"./UW77PU4X.js";import"./7I775T2S.js";import"./IBSQEVYG.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./UTAYW2K6.js";import"./WYA2FORR.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:p((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!a("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h 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.5 */
4
- import"./RYDQMLHS.js";var e="\u0423 \u0432\u0430\u0441 \u043D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u044D\u0442\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0437\u0430 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u043C\u0443 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443 ArcGIS.",a="\u042D\u0442\u043E\u0442 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0431\u044B\u043B \u043E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D \u0438\u0437 \u0431\u043B\u043E\u043A\u043D\u043E\u0442\u0430. \u0414\u043E\u0441\u0442\u0443\u043F \u043A ArcGIS Notebooks \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443, \u0447\u0442\u043E\u0431\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438.",r="${ dataPath } \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C ${ additionalProperty }",t="${ dataPath } \u0434\u043E\u043B\u0436\u0435\u043D \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u0442\u044C \u0441\u043E \u0441\u0445\u0435\u043C\u043E\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0438\u0437 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432: ${ schemaOptions }.",o="\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0435\u0449\u0435 \u0440\u0430\u0437.",s="\u041E\u0446\u0435\u043D\u043A\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u0437, \u0438\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u0438 \u0441\u043D\u043E\u0432\u0430 \u043E\u0446\u0435\u043D\u0438\u0442\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u044B.",i="\u0412\u043E \u0432\u0440\u0435\u043C\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430.",l="${ dataPath } \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0440\u0430\u0432\u0435\u043D \u043E\u0434\u043D\u043E\u043C\u0443 \u0438\u0437 \u044D\u0442\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439: ${ allowedValues }.",d="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0430\u043D\u0430\u043B\u0438\u0437\u0430",n="\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u0438\u0441\u0442\u043E\u0440\u0438\u0439 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E. \u0423\u0434\u0430\u043B\u0438\u0442\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u0437 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437.",c="\u0418\u043C\u044F \u043F\u043E\u043B\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0434\u0438\u043D \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.",m="\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u0432\u0435\u043A\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u044F \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",E="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043B\u043E\u0439.",h="\u0421\u043B\u043E\u0439 \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.",y="\u0412 ${ dataPath } \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0431\u043E\u043B\u0435\u0435 ${ limit } \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432.",P="\u041F\u0440\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0438 \u043C\u043E\u0434\u0435\u043B\u0438 \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437.",p="\u0412 ${ dataPath } \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043C\u0435\u043D\u0435\u0435 ${ limit } \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432.",S="${ dataPath } \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043A\u043E\u0440\u043E\u0447\u0435, \u0447\u0435\u043C ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.",$="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0438. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u043C\u043E\u0434\u0435\u043B\u044C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438 \u0447\u0442\u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E.",v="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441.",f="\u0423 \u0432\u0430\u0441 \u043D\u0435\u0442 \u043F\u0440\u0430\u0432 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043D\u0430 \u0437\u0430\u043F\u0443\u0441\u043A \u044D\u0442\u043E\u0433\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430. <calcite-link target='_blank' href='${ docLink }'>\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</calcite-link>",F="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0432\u0445\u043E\u0434 \u043D\u0430 \u043F\u043E\u0440\u0442\u0430\u043B.",I="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435.",k="\u0412 ${ dataPath } \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0441 \u0438\u043C\u0435\u043D\u0435\u043C ${ missingProperty }.",T="\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0438\u0440\u0443\u044E\u0449\u0438\u0439 \u0441\u043B\u043E\u0439 \u0441 \u0442\u0430\u043A\u0438\u043C \u0438\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0438\u0440\u0443\u044E\u0449\u0438\u0435 \u0441\u043B\u043E\u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430 \u0432\u043E \u0432\u0441\u0435\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0435 \u0438\u043C\u044F.",L="\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0435 \u0438\u043C\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0434\u0438\u043D \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432. <a href='${docLink}' target='_blank'>\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435.</a>",b="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0441\u043B\u043E\u0439 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u044F \u0438\u0437-\u0437\u0430 \u043E\u0434\u043D\u043E\u0433\u043E \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u043F\u043E\u043B\u0435\u0439. \u041F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043B\u043E\u0439 \u0441 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u043C\u0438 \u043F\u043E\u043B\u044F\u043C\u0438.",N="\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0432\u043D\u0438\u0437, \u0438\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u0438 \u0441\u043D\u043E\u0432\u0430 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0430\u043D\u0430\u043B\u0438\u0437.",g="${ dataPath } \u0434\u043E\u043B\u0436\u0435\u043D \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C, \u043A\u0430\u043A \u043C\u0438\u043D\u0438\u043C\u0443\u043C, \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u043D\u0435 \u044F\u0432\u043B\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u043C.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.2.0-next.7 */
4
+ import"./WYA2FORR.js";var e="\u0423 \u0432\u0430\u0441 \u043D\u0435\u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u044D\u0442\u043E\u0439 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u0437\u0430 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u043C\u0443 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443 ArcGIS.",a="\u042D\u0442\u043E\u0442 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0431\u044B\u043B \u043E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u043D \u0438\u0437 \u0431\u043B\u043E\u043A\u043D\u043E\u0442\u0430. \u0414\u043E\u0441\u0442\u0443\u043F \u043A ArcGIS Notebooks \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D. \u041E\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044C \u043A \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0443, \u0447\u0442\u043E\u0431\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438.",r="${ dataPath } \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C ${ additionalProperty }",t="${ dataPath } \u0434\u043E\u043B\u0436\u0435\u043D \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u0442\u044C \u0441\u043E \u0441\u0445\u0435\u043C\u043E\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0438\u0437 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432: ${ schemaOptions }.",o="\u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0435\u0449\u0435 \u0440\u0430\u0437.",s="\u041E\u0446\u0435\u043D\u043A\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043E\u0432 \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u0435 \u0432\u043D\u0438\u0437, \u0438\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u0438 \u0441\u043D\u043E\u0432\u0430 \u043E\u0446\u0435\u043D\u0438\u0442\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u044B.",i="\u0412\u043E \u0432\u0440\u0435\u043C\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430.",l="${ dataPath } \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0440\u0430\u0432\u0435\u043D \u043E\u0434\u043D\u043E\u043C\u0443 \u0438\u0437 \u044D\u0442\u0438\u0445 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439: ${ allowedValues }.",d="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0430\u043D\u0430\u043B\u0438\u0437\u0430",n="\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u0438\u0441\u0442\u043E\u0440\u0438\u0439 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E. \u0423\u0434\u0430\u043B\u0438\u0442\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u0437 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437.",c="\u0418\u043C\u044F \u043F\u043E\u043B\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0434\u0438\u043D \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.",m="\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u0432\u0435\u043A\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u044F \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",E="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043B\u043E\u0439.",h="\u0421\u043B\u043E\u0439 \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.",y="\u0412 ${ dataPath } \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0431\u043E\u043B\u0435\u0435 ${ limit } \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432.",P="\u041F\u0440\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0438 \u043C\u043E\u0434\u0435\u043B\u0438 \u043F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043E\u0448\u0438\u0431\u043A\u0430. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0435\u0449\u0435 \u0440\u0430\u0437.",p="\u0412 ${ dataPath } \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043C\u0435\u043D\u0435\u0435 ${ limit } \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432.",S="${ dataPath } \u043D\u0435 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043A\u043E\u0440\u043E\u0447\u0435, \u0447\u0435\u043C ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432.",$="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0438. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u043C\u043E\u0434\u0435\u043B\u044C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0438 \u0447\u0442\u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043E.",v="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441.",f="\u0423 \u0432\u0430\u0441 \u043D\u0435\u0442 \u043F\u0440\u0430\u0432 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043D\u0430 \u0437\u0430\u043F\u0443\u0441\u043A \u044D\u0442\u043E\u0433\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430. <calcite-link target='_blank' href='${ docLink }'>\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435</calcite-link>",F="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0432\u0445\u043E\u0434 \u043D\u0430 \u043F\u043E\u0440\u0442\u0430\u043B.",I="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435.",k="\u0412 ${ dataPath } \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0441 \u0438\u043C\u0435\u043D\u0435\u043C ${ missingProperty }.",T="\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0438\u0440\u0443\u044E\u0449\u0438\u0439 \u0441\u043B\u043E\u0439 \u0441 \u0442\u0430\u043A\u0438\u043C \u0438\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0438\u0440\u0443\u044E\u0449\u0438\u0435 \u0441\u043B\u043E\u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0438\u043C\u0435\u043D\u0430 \u0432\u043E \u0432\u0441\u0435\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0435 \u0438\u043C\u044F.",L="\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0435 \u0438\u043C\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u043E\u0434\u0438\u043D \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432. <a href='${docLink}' target='_blank'>\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435.</a>",b="\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0443\u0431\u043B\u0438\u043A\u043E\u0432\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0441\u043B\u043E\u0439 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u044F \u0438\u0437-\u0437\u0430 \u043E\u0434\u043D\u043E\u0433\u043E \u0438\u043B\u0438 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u0445 \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0445 \u043F\u043E\u043B\u0435\u0439. \u041F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0441\u043B\u043E\u0439 \u0441 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u043C\u0438 \u043F\u043E\u043B\u044F\u043C\u0438.",N="\u041E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u0437\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430. \u041F\u0440\u043E\u043A\u0440\u0443\u0442\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 \u0432\u043D\u0438\u0437, \u0438\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u0438 \u0441\u043D\u043E\u0432\u0430 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0430\u043D\u0430\u043B\u0438\u0437.",g="${ dataPath } \u0434\u043E\u043B\u0436\u0435\u043D \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C, \u043A\u0430\u043A \u043C\u0438\u043D\u0438\u043C\u0443\u043C, \u043E\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u043D\u0435 \u044F\u0432\u043B\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u043F\u0440\u043E\u0431\u0435\u043B\u043E\u043C.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,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.5 */
4
- import{b as I,c as b,d as v}from"./JIRWHXCF.js";import{a as i}from"./26QOJAKK.js";import"./2GKQUPSG.js";import"./3CY52HGI.js";import"./OQJKXHFA.js";import"./OJTIJAMU.js";import"./CVNLYDRK.js";import"./YN6H5F4A.js";import"./GRI7T2CE.js";import"./PQTHI43K.js";import"./SN6IKSF7.js";import"./OO2K3GFV.js";import"./PAMOCSXX.js";import"./5VGQMPBM.js";import"./SWVAF6LW.js";import"./LAFACIUY.js";import"./XA5GIUR6.js";import{g as a}from"./52U2DKMV.js";import"./3KMNENXB.js";import"./2XTLVCYV.js";import"./IB6ALJM2.js";import"./M5UNYNCA.js";import{a as n}from"./VUD3HI2Q.js";import"./UK6FJACI.js";import{a as g}from"./H6XF5SS6.js";import"./KNXNCPJR.js";import"./HKEDWMSD.js";import{b as _}from"./KWA56BZT.js";import{C as d,D as p,E as f,G as m,h,i as o,l as c,r as u}from"./ADJFXZSR.js";import"./RYDQMLHS.js";var y=h`@layer{/** @license
3
+ v1.2.0-next.7 */
4
+ import{b as I,c as b,d as v}from"./YKNVONIM.js";import{a as i}from"./4TPPEOPB.js";import"./NIJ6LGXH.js";import"./GSTWP5ZM.js";import"./KRB4UOT2.js";import"./GBTX7JHX.js";import"./X2OLHDL4.js";import"./PP4Q3ULO.js";import"./IYEVDJDU.js";import"./6R7NKEMV.js";import"./ZYG3NNP5.js";import"./JCFSOF6S.js";import"./VZT5KWR5.js";import"./EQTBIP6U.js";import"./FHOJGZI7.js";import"./LOJTB56C.js";import"./SW27NFSU.js";import{g as a}from"./QTIL33DB.js";import"./DGXGVR2Z.js";import"./KJVMFBBS.js";import"./STVSBNLJ.js";import"./LDDJNGGS.js";import{a as n}from"./W6WSYHNW.js";import"./YXRG5OPF.js";import{a as g}from"./H3Z56RZY.js";import"./TTCGIOAI.js";import"./2SZRO43C.js";import{b as _}from"./VR3MHHIC.js";import{C as d,D as p,E as f,G as m,h,i as o,l as c,r as u}from"./SMHGPEVR.js";import"./WYA2FORR.js";var y=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.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a,b}from"./5LW3NDVY.js";import"./FGNM3NFZ.js";import"./355B4HKB.js";import"./R27Z5MBC.js";import"./RYDQMLHS.js";export{a as TemplateEditorTypes,b as TemplateSchema};
3
+ v1.2.0-next.7 */
4
+ import{a,b}from"./CEE26YF4.js";import"./XDZWOIXT.js";import"./AQ45HO6P.js";import"./2UAZTD7Q.js";import"./WYA2FORR.js";export{a as TemplateEditorTypes,b as TemplateSchema};
@@ -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.5 */
4
- import"./RYDQMLHS.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.7 */
4
+ import"./WYA2FORR.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{a as s}from"./FGNM3NFZ.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i as b};
3
+ v1.2.0-next.7 */
4
+ import{a as s}from"./XDZWOIXT.js";var t=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],i=Object.assign(Object.assign({},s),{required:["name"],properties:Object.assign(Object.assign({},s.properties),{prompt:{type:"string",default:"",maxLength:150},discussionSettings:{type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}}})});export{t as a,i 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.5 */
4
- import{a as C}from"./HKEDWMSD.js";import{a as v,b as E,p as y}from"./ADJFXZSR.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le as a};
3
+ v1.2.0-next.7 */
4
+ import{a as C}from"./2SZRO43C.js";import{a as v,b as E,p as y}from"./SMHGPEVR.js";var O=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},L=(n,r,e)=>{let o=A(r).subscribe;return o(t=>{t.some(s=>O(n,s.target))&&e()})},h={},A=n=>{let r=n.join(","),e=h[r];if(e!==void 0)return e;let o=new Set,t=new MutationObserver(s=>o.forEach(a=>a(s)));globalThis.document&&t.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(o.add(s),()=>{o.delete(s),o.size===0&&(t.disconnect(),h[r]=void 0)})};return h[r]=i,i},T=(n,r)=>{let e=n;for(;e;){let o=e.closest?.(r);if(o)return o;let t=e.getRootNode?.();if(t===globalThis.document)return;e=t.host}};var N=(n,r,e)=>T(n,`[${r}]`)?.getAttribute(r)??e;var M="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),_=new Set(M),d="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},S=async(n,r,e="")=>{let o=`${r}/${e}`,t=`${o}${n}.json`;return f[t]??(f[t]=x(n,o)),await f[t]},f={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return n===d?{}:await x(d,r)},m=n=>{let r=N(n,"lang",globalThis.navigator?.language||d);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),o=r.toLowerCase(),t=o;return e&&(t=`${o}-${e.toUpperCase()}`),t=$[t]??t,_.has(t)?t:e?w(o):d},P=(n,r,e,o)=>{let t,i=()=>j(n,r(),o).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&e(s),t=s}).catch(console.error);return queueMicrotask(i),L(n,["lang"],i)},j=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:o,t9nLocale:t}=m(n),i=`${r}/${e}/t9n`,a=e===null?{}:await S(t,i,"messages.");return{lang:o,t9nLocale:t,t9nStrings:a}};var F=n=>D(void 0,n);var g=class extends y{constructor(r,e){super(r);let o=this.exports;try{E(this.component);let t=e(this.component,this),i=this.exports!==o;if(v(t)){i||this.setProvisionalExports(t);let s=t.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||t!==void 0)&&(this.exports=t),queueMicrotask(()=>super.catchUpLifecycle())}catch(t){this.P.reject(t),console.error(t)}}catchUpLifecycle(){}},D=C(g);var le=n=>(r={})=>F((e,o)=>{let t=m(e.el),i={_lang:t.lang,_t9nLocale:t.t9nLocale,_loading:!0},s=e;o.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};o.exports=p;let b=l.componentLabel;typeof b=="string"&&"label"in e&&e.label==null&&(e.label??=b),a(s.messageOverrides)},r.name));let a=c=>{let l=o.exports,u=l._original??l,p=k(u,c);c&&(p._original=u),o.exports=p};return"messageOverrides"in s&&o.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(o.setProvisionalExports(i,!1),o.ready):i}),k=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([o,t])=>{typeof t=="object"?e[o]=k(n[o],t):e[o]=t??n[o]}),e};export{le 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import"./RYDQMLHS.js";var a="Neturite pakankamai kredit\u0173 atlikti \u0161\u012F veiksm\u0105. Kreipkit\u0117s pagalbos \u012F savo ArcGIS sistemos administratori\u0173.",i="\u0160is \u012Frankis publikuotas i\u0161 u\u017Era\u0161in\u0117s. J\u016Bs\u0173 organizacijos prieiga prie ArcGIS Notebooks u\u017Eblokuota. Nor\u0117dami koreguoti nustatym\u0105 susisiekite su savo administratoriumi.",e="${ dataPath } negali sudaryti ${ additionalProperty }.",t="${ dataPath } turi sutapti su viena i\u0161 \u0161i\u0173 schem\u0173: ${ schemaOptions }.",r="Bandykite \u012Fra\u0161yti \u017Eem\u0117lap\u012F i\u0161 naujo.",s="Kredit\u0173 \u012Fvertinimas nepavyko. Slinkite \u017Eemyn, i\u0161taisykite klaidas ir dar kart\u0105 \u012Fvertinkite kreditus.",o="Vykdant analiz\u0119 \u012Fvyko klaida.",n="${ dataPath } turi b\u016Bti lygus vienai i\u0161 \u0161i\u0173 leid\u017Eiam\u0173 reik\u0161mi\u0173: ${ allowedValues }.",l="Nepavyko \u012Fra\u0161yti analiz\u0117s istorijos",u="Istorijos saugykla pilna. Pa\u0161alinkite kelet\u0105 element\u0173 i\u0161 analiz\u0117s istorijos ir bandykite \u012Fra\u0161yti dar kart\u0105.",k="Paslaugos pavadinime yra vienas arba daugiau neleistin\u0173 simboli\u0173.",d="Laikinojo sluoksnio i\u0161saugojimas kaip talpinam\u0173 element\u0173 sluoksnis nebuvo baigtas.",m="Nepavyko gauti pagrindini\u0173 ypatybi\u0173.",p="Sluoksnio \u012Fkelti nepavyko.",y="Sluoksnis nepasiekiamas.",v="${ dataPath } negali tur\u0117ti daugiau negu ${ limit } element\u0173.",c="\u012Era\u0161ant model\u012F \u012Fvyko klaida. Bandykite \u012Fra\u0161yti i\u0161 naujo.",g="${ dataPath } negali tur\u0117ti ma\u017Eiau negu ${ limit } element\u0173.",b="${ dataPath } negali b\u016Bti trumpesnis negu ${ limit } simb.",E="Nepavyko \u012Fkelti modelio elemento. \u012Esitikinkite, kad modelis egzistuoja ir suteikta prieiga.",P="Nepavyko u\u017Ebaigti u\u017Eklausos.",h="Neturite leidimo vykdyti \u0161io \u012Frankio. <calcite-link target='_blank' href='${ docLink }'>Su\u017Einokite daugiau </calcite-link>",S="Nepavyko prisijungti prie portalo.",N="Nepavyko nuskaityti \u012Fvesties duomen\u0173.",$="${ dataPath } tr\u016Bksta savyb\u0117s pavadinimu ${ missingProperty }.",j="Rezultat\u0173 sluoksnis tokiu pavadinimu jau yra. Rezultat\u0173 sluoksni\u0173 pavadinimai turi b\u016Bti unikal\u016Bs visoje organizacijoje. Naudokite kit\u0105 pavadinim\u0105.",I="I\u0161vesties pavadinime yra vienas ar daugiau neleistini\u0173 simboli\u0173. <a href='${docLink}' target='_blank'>Su\u017Einokite daugiau.</a>",f="Nepavyko publikuoti laikinojo sluoksnio kaip talpinamo sluoksnio d\u0117l vieno ar daugiau netinkam\u0173 lauk\u0173. Paleiskite \u012Frank\u012F i\u0161 naujo, kad sukurtum\u0117te sluoksn\u012F su tinkamais laukais.",F="Nepavyko pateikti u\u017Eduoties. Slinkite \u017Eemyn, i\u0161taisykite klaidas ir dar kart\u0105 paleiskite analiz\u0119.",L="${ dataPath } turi sudaryti bent vienas simbolis, kuris n\u0117ra tarpas.",T={InsufficientCreditsError:a,accessBlocked:i,additionalProperty:e,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:y,maxItems:v,mbFailedToSave:c,minItems:g,minLength:b,modelNotFound:E,networkError:P,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:N,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:L};export{a as InsufficientCreditsError,i as accessBlocked,e as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,l as failedToSaveHistory,u as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,v as maxItems,c as mbFailedToSave,g as minItems,b as minLength,E as modelNotFound,P as networkError,h as noPermissionToAccessTool,S as portalLoadError,N as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,L as whiteSpacePattern};
3
+ v1.2.0-next.7 */
4
+ import"./WYA2FORR.js";var a="Neturite pakankamai kredit\u0173 atlikti \u0161\u012F veiksm\u0105. Kreipkit\u0117s pagalbos \u012F savo ArcGIS sistemos administratori\u0173.",i="\u0160is \u012Frankis publikuotas i\u0161 u\u017Era\u0161in\u0117s. J\u016Bs\u0173 organizacijos prieiga prie ArcGIS Notebooks u\u017Eblokuota. Nor\u0117dami koreguoti nustatym\u0105 susisiekite su savo administratoriumi.",e="${ dataPath } negali sudaryti ${ additionalProperty }.",t="${ dataPath } turi sutapti su viena i\u0161 \u0161i\u0173 schem\u0173: ${ schemaOptions }.",r="Bandykite \u012Fra\u0161yti \u017Eem\u0117lap\u012F i\u0161 naujo.",s="Kredit\u0173 \u012Fvertinimas nepavyko. Slinkite \u017Eemyn, i\u0161taisykite klaidas ir dar kart\u0105 \u012Fvertinkite kreditus.",o="Vykdant analiz\u0119 \u012Fvyko klaida.",n="${ dataPath } turi b\u016Bti lygus vienai i\u0161 \u0161i\u0173 leid\u017Eiam\u0173 reik\u0161mi\u0173: ${ allowedValues }.",l="Nepavyko \u012Fra\u0161yti analiz\u0117s istorijos",u="Istorijos saugykla pilna. Pa\u0161alinkite kelet\u0105 element\u0173 i\u0161 analiz\u0117s istorijos ir bandykite \u012Fra\u0161yti dar kart\u0105.",k="Paslaugos pavadinime yra vienas arba daugiau neleistin\u0173 simboli\u0173.",d="Laikinojo sluoksnio i\u0161saugojimas kaip talpinam\u0173 element\u0173 sluoksnis nebuvo baigtas.",m="Nepavyko gauti pagrindini\u0173 ypatybi\u0173.",p="Sluoksnio \u012Fkelti nepavyko.",y="Sluoksnis nepasiekiamas.",v="${ dataPath } negali tur\u0117ti daugiau negu ${ limit } element\u0173.",c="\u012Era\u0161ant model\u012F \u012Fvyko klaida. Bandykite \u012Fra\u0161yti i\u0161 naujo.",g="${ dataPath } negali tur\u0117ti ma\u017Eiau negu ${ limit } element\u0173.",b="${ dataPath } negali b\u016Bti trumpesnis negu ${ limit } simb.",E="Nepavyko \u012Fkelti modelio elemento. \u012Esitikinkite, kad modelis egzistuoja ir suteikta prieiga.",P="Nepavyko u\u017Ebaigti u\u017Eklausos.",h="Neturite leidimo vykdyti \u0161io \u012Frankio. <calcite-link target='_blank' href='${ docLink }'>Su\u017Einokite daugiau </calcite-link>",S="Nepavyko prisijungti prie portalo.",N="Nepavyko nuskaityti \u012Fvesties duomen\u0173.",$="${ dataPath } tr\u016Bksta savyb\u0117s pavadinimu ${ missingProperty }.",j="Rezultat\u0173 sluoksnis tokiu pavadinimu jau yra. Rezultat\u0173 sluoksni\u0173 pavadinimai turi b\u016Bti unikal\u016Bs visoje organizacijoje. Naudokite kit\u0105 pavadinim\u0105.",I="I\u0161vesties pavadinime yra vienas ar daugiau neleistini\u0173 simboli\u0173. <a href='${docLink}' target='_blank'>Su\u017Einokite daugiau.</a>",f="Nepavyko publikuoti laikinojo sluoksnio kaip talpinamo sluoksnio d\u0117l vieno ar daugiau netinkam\u0173 lauk\u0173. Paleiskite \u012Frank\u012F i\u0161 naujo, kad sukurtum\u0117te sluoksn\u012F su tinkamais laukais.",F="Nepavyko pateikti u\u017Eduoties. Slinkite \u017Eemyn, i\u0161taisykite klaidas ir dar kart\u0105 paleiskite analiz\u0119.",L="${ dataPath } turi sudaryti bent vienas simbolis, kuris n\u0117ra tarpas.",T={InsufficientCreditsError:a,accessBlocked:i,additionalProperty:e,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:d,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:y,maxItems:v,mbFailedToSave:c,minItems:g,minLength:b,modelNotFound:E,networkError:P,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:N,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:L};export{a as InsufficientCreditsError,i as accessBlocked,e as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,l as failedToSaveHistory,u as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,y as layerUnavailable,v as maxItems,c as mbFailedToSave,g as minItems,b as minLength,E as modelNotFound,P as networkError,h as noPermissionToAccessTool,S as portalLoadError,N as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import e from"./NL6MXE4S.js";import c from"./4T5D74PP.js";import"./4LYYND56.js";import b from"./JHF3KM73.js";import"./AFLJD2D2.js";import{b as o}from"./MOKNBS3C.js";import"./HKEDWMSD.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./ADJFXZSR.js";import"./RYDQMLHS.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
3
+ v1.2.0-next.7 */
4
+ import e from"./BU7H53U2.js";import c from"./MUW2HXBO.js";import"./W4KMC3NB.js";import b from"./PSZSQA3T.js";import"./WXNM6KFK.js";import{b as o}from"./EPAC26GM.js";import"./2SZRO43C.js";import{C as s,D as r,E as n,G as l,H as d,h as a,i}from"./SMHGPEVR.js";import"./WYA2FORR.js";export default $arcgis.t(([,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import a from"./XEK4G673.js";import{m as i,o as c}from"./UK6FJACI.js";export default $arcgis.t(([{c:d}])=>{async function I(r,s,o,e,t=c,a="created",l="desc",u=!1,f=[],g=[],m){if(!r?.IsSignedIn)return;let n={q:t,filter:"type:Solution",sortField:a,sortOrder:l,delay:u,categories:f};return n.q+=p(r,m),await y(s,n,e,g)}function p(r,s){let o="",e=r.PortalUserOrg,t=r.PortalUserName;return e&&(o+=" orgid:"+e),s!==i.ORGANIZATION&&t&&(o+=" owner:"+t),o}async function y(r,s,o,e){let t=await o.requestDeployedSolutionCards(s,r),a=d(t.cards,e);return{cards:t.cards,relatedSolutions:a}}return I},a)
3
+ v1.2.0-next.7 */
4
+ import a from"./CCTJFJSB.js";import{m as i,o as c}from"./YXRG5OPF.js";export default $arcgis.t(([{c:d}])=>{async function I(r,s,o,e,t=c,a="created",l="desc",u=!1,f=[],g=[],m){if(!r?.IsSignedIn)return;let n={q:t,filter:"type:Solution",sortField:a,sortOrder:l,delay:u,categories:f};return n.q+=p(r,m),await y(s,n,e,g)}function p(r,s){let o="",e=r.PortalUserOrg,t=r.PortalUserName;return e&&(o+=" orgid:"+e),s!==i.ORGANIZATION&&t&&(o+=" owner:"+t),o}async function y(r,s,o,e){let t=await o.requestDeployedSolutionCards(s,r),a=d(t.cards,e);return{cards:t.cards,relatedSolutions:a}}return I},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.2/esri/copyright.txt for details.
3
- v1.2.0-next.5 */
4
- import{e as l}from"./UK6FJACI.js";import{e as c}from"./YEBFOEVN.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
3
+ v1.2.0-next.7 */
4
+ import{e as l}from"./YXRG5OPF.js";import{e as c}from"./HJQ464S3.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};