@esri/solutions-components 1.2.0-next.82 → 1.2.0-next.84

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 (525) hide show
  1. package/dist/cdn/{XHSFL6RF.js → 224VM3AU.js} +1 -1
  2. package/dist/cdn/{BFVPNEEA.js → 22J7ZEEM.js} +2 -2
  3. package/dist/cdn/{UZO5DCXX.js → 2AOSS4GR.js} +2 -2
  4. package/dist/cdn/{TLZ4DBPY.js → 2BHGH2XN.js} +2 -2
  5. package/dist/cdn/{6JAJUCMH.js → 2LTJENG3.js} +2 -2
  6. package/dist/cdn/{7ZTD2XKD.js → 2NCO5PX5.js} +2 -2
  7. package/dist/cdn/{IH4X7JVG.js → 2PGRILNY.js} +2 -2
  8. package/dist/cdn/{JWJI3CYC.js → 2VTHAUXX.js} +2 -2
  9. package/dist/cdn/{6BDOIB7S.js → 2YW7I5MW.js} +2 -2
  10. package/dist/cdn/{JFDE53PM.js → 32DJ2LL6.js} +2 -2
  11. package/dist/cdn/{B46O5H6I.js → 32I3UTTG.js} +2 -2
  12. package/dist/cdn/{CKCY5IRP.js → 345J3ZLY.js} +2 -2
  13. package/dist/cdn/{J426IZBD.js → 3BZYSMLP.js} +2 -2
  14. package/dist/cdn/{T2JT6EEF.js → 3DGN4KQT.js} +2 -2
  15. package/dist/cdn/{X46HQ26I.js → 3FBLFCWA.js} +2 -2
  16. package/dist/cdn/{UPKL36N7.js → 3GFVYJ2N.js} +2 -2
  17. package/dist/cdn/{QPLAP7VQ.js → 3I3LPUKN.js} +2 -2
  18. package/dist/cdn/{DCRL3D52.js → 3IBDFEF4.js} +2 -2
  19. package/dist/cdn/{SMHKSFLW.js → 3KTX2I3K.js} +2 -2
  20. package/dist/cdn/{APJW3N36.js → 3LFKICMU.js} +2 -2
  21. package/dist/cdn/{IBOVZJFD.js → 3MNISPPF.js} +1 -1
  22. package/dist/cdn/{FFOQLFKS.js → 3SKOXBI6.js} +2 -2
  23. package/dist/cdn/{ZSVSJVF3.js → 3TIB2UVP.js} +1 -1
  24. package/dist/cdn/{5W4VR7QV.js → 3TOZNFRG.js} +2 -2
  25. package/dist/cdn/{VRBAF7EP.js → 3X3KK4EE.js} +2 -2
  26. package/dist/cdn/{24INWMXT.js → 3YZO3ZHF.js} +2 -2
  27. package/dist/cdn/{GRWS4DLX.js → 47H4TF7G.js} +2 -2
  28. package/dist/cdn/{EQ7BEGK5.js → 4EG6W72P.js} +2 -2
  29. package/dist/cdn/{ZMDB6DSF.js → 4EYSM4XZ.js} +2 -2
  30. package/dist/cdn/4HZFKWT4.js +4 -0
  31. package/dist/cdn/4IOPZBG3.js +4 -0
  32. package/dist/cdn/{6CXHKX6F.js → 4KU4TCBD.js} +2 -2
  33. package/dist/cdn/{ZH4IAIWT.js → 4SJOZBL4.js} +2 -2
  34. package/dist/cdn/{R42V23S4.js → 4YSZCME6.js} +2 -2
  35. package/dist/cdn/5CVDYCJC.js +4 -0
  36. package/dist/cdn/{7X7MHCMF.js → 5F3UM6TK.js} +2 -2
  37. package/dist/cdn/{BMEFAQKB.js → 5GAJWFHX.js} +2 -2
  38. package/dist/cdn/{OOX5C3UI.js → 5GNVP3X5.js} +2 -2
  39. package/dist/cdn/{CQED4MFM.js → 5OIHZNMC.js} +2 -2
  40. package/dist/cdn/{X74IHVQL.js → 5PKJIA6E.js} +2 -2
  41. package/dist/cdn/{H7NJJBTJ.js → 5QKJPG22.js} +1 -1
  42. package/dist/cdn/{INTRL2EQ.js → 5STXQ2OS.js} +2 -2
  43. package/dist/cdn/{HLIGXDO2.js → 5U7C5QEK.js} +2 -2
  44. package/dist/cdn/{XEUTCC7L.js → 5UR7IQI2.js} +2 -2
  45. package/dist/cdn/{P4FP55Y4.js → 6BH3UIG7.js} +2 -2
  46. package/dist/cdn/{GOEQODDN.js → 6DG6PSZU.js} +2 -2
  47. package/dist/cdn/{7MXPBADK.js → 6FQFEWNE.js} +2 -2
  48. package/dist/cdn/{YTSKZNI6.js → 6G3Q3WTC.js} +2 -2
  49. package/dist/cdn/{Z43PC3MT.js → 6GXB4NOC.js} +2 -2
  50. package/dist/cdn/{C2KOCFKR.js → 6MNEW7SX.js} +2 -2
  51. package/dist/cdn/{4IJAHA5U.js → 6PB6AAOZ.js} +2 -2
  52. package/dist/cdn/{FQUYJUWN.js → 6PJQXIUP.js} +2 -2
  53. package/dist/cdn/6SUGDVCE.js +4 -0
  54. package/dist/cdn/{HTOXCBGV.js → 6UL2US2L.js} +1 -1
  55. package/dist/cdn/{QQHURDY2.js → 72N7FNKL.js} +1 -1
  56. package/dist/cdn/{C2FNZM6D.js → 72T3YDOR.js} +1 -1
  57. package/dist/cdn/{RDFWEKE6.js → 7BUJAND7.js} +2 -2
  58. package/dist/cdn/{6ARFF5CC.js → 7GYS65YE.js} +2 -2
  59. package/dist/cdn/{ETUMUS4F.js → 7KVBF4E7.js} +2 -2
  60. package/dist/cdn/{SIDFSLXJ.js → 7L267UG2.js} +2 -2
  61. package/dist/cdn/{X7RZS5WU.js → 7LOEXD2Y.js} +2 -2
  62. package/dist/cdn/{IBFRL4XB.js → 7RWBFXXZ.js} +2 -2
  63. package/dist/cdn/{JFOE7UH4.js → 7TGVXLSS.js} +1 -1
  64. package/dist/cdn/{XPOGHUAW.js → 7V4D6OQ4.js} +2 -2
  65. package/dist/cdn/{MSOK2IK6.js → 7V6D6GK6.js} +2 -2
  66. package/dist/cdn/7WVLSIPP.js +4 -0
  67. package/dist/cdn/{5OPRR6KD.js → AB2RHFJW.js} +2 -2
  68. package/dist/cdn/{DKBVFFNX.js → AG527XCX.js} +2 -2
  69. package/dist/cdn/{JOSDWAJ6.js → AK2RMOIZ.js} +2 -2
  70. package/dist/cdn/{7NY5DNHQ.js → AKFPADYI.js} +2 -2
  71. package/dist/cdn/{LO5DECJQ.js → AORP6D63.js} +1 -1
  72. package/dist/cdn/{VICMURHQ.js → AP6XKAD4.js} +2 -2
  73. package/dist/cdn/{22I52HCB.js → APGWSEA7.js} +2 -2
  74. package/dist/cdn/{YTYJBZPT.js → APWVOQ5H.js} +2 -2
  75. package/dist/cdn/{JYJLV6EH.js → ARGTZCKB.js} +2 -2
  76. package/dist/cdn/AXGKY3UL.js +4 -0
  77. package/dist/cdn/{GHS7T6BU.js → B3ZXRBQ2.js} +2 -2
  78. package/dist/cdn/{2WE74MIX.js → B4O7MGOM.js} +2 -2
  79. package/dist/cdn/{RK4D35XR.js → B55IIGOQ.js} +2 -2
  80. package/dist/cdn/{CFI2NGAI.js → BGDRPPXV.js} +2 -2
  81. package/dist/cdn/{TNSHW2HT.js → BINYPQKY.js} +1 -1
  82. package/dist/cdn/{PFLEXZUC.js → BPITT7HN.js} +2 -2
  83. package/dist/cdn/{AVMDHSV6.js → BPUPGZBU.js} +2 -2
  84. package/dist/cdn/{VRKK4EA7.js → BSEQA63L.js} +4 -4
  85. package/dist/cdn/{7ZGZKJSR.js → BWXFYXWR.js} +2 -2
  86. package/dist/cdn/{H62Y3XFW.js → BZ7PMEWP.js} +2 -2
  87. package/dist/cdn/{3Y4F7PTJ.js → C2RWAQDV.js} +2 -2
  88. package/dist/cdn/{G65ZY526.js → C5L3OH2O.js} +2 -2
  89. package/dist/cdn/{54AA7UWT.js → C77MX6DT.js} +2 -2
  90. package/dist/cdn/{K6LBD3WG.js → CCRHAGRY.js} +2 -2
  91. package/dist/cdn/{VHEG5UTC.js → CHEEBDFM.js} +2 -2
  92. package/dist/cdn/{GZVRKUEY.js → CHZ6K32O.js} +2 -2
  93. package/dist/cdn/{W35IYJWG.js → CJVGMAJO.js} +2 -2
  94. package/dist/cdn/{F4PTS33Q.js → CN27SZ2P.js} +2 -2
  95. package/dist/cdn/{5QL5ICIT.js → COJSI2SS.js} +2 -2
  96. package/dist/cdn/COLITMFQ.js +4 -0
  97. package/dist/cdn/{QM4QOC2N.js → CTOUJ7VU.js} +2 -2
  98. package/dist/cdn/{CZKDPVJO.js → D3OLLT5T.js} +2 -2
  99. package/dist/cdn/{IKVNKABC.js → DGSHCJHW.js} +2 -2
  100. package/dist/cdn/{JES7YBJK.js → DJL6ZIKT.js} +2 -2
  101. package/dist/cdn/{4FAS6UNF.js → DKTRJZMD.js} +2 -2
  102. package/dist/cdn/{RR5JYHGK.js → DSOPHUAO.js} +2 -2
  103. package/dist/cdn/{V4N2RW34.js → E4NO7FPH.js} +2 -2
  104. package/dist/cdn/{WLBDEAWL.js → E4ZNYWSE.js} +2 -2
  105. package/dist/cdn/{OF5UOGH6.js → E6BCIGN5.js} +2 -2
  106. package/dist/cdn/{ZKIMM3LB.js → E6CAJAFP.js} +2 -2
  107. package/dist/cdn/{4PPXMWSZ.js → EH7KFJWB.js} +2 -2
  108. package/dist/cdn/{DFOWCEWD.js → EJQB4R5H.js} +2 -2
  109. package/dist/cdn/{Z3QJF77E.js → EJZXAD72.js} +1 -1
  110. package/dist/cdn/EKWJSBYN.js +4 -0
  111. package/dist/cdn/{L6JSLCMQ.js → ENNBEBKL.js} +2 -2
  112. package/dist/cdn/{Y2D24AWE.js → EP5SMDBZ.js} +2 -2
  113. package/dist/cdn/{WNFIFRLI.js → EP7Q4GFV.js} +2 -2
  114. package/dist/cdn/{3L3TJQ7X.js → EQMDS2GG.js} +2 -2
  115. package/dist/cdn/{IASE4ACN.js → ESQPUJMN.js} +2 -2
  116. package/dist/cdn/{XTRGX5JS.js → ETDLC5JR.js} +1 -1
  117. package/dist/cdn/{IEYHWGWM.js → EZO7DMBT.js} +2 -2
  118. package/dist/cdn/{OXDGS6UT.js → F257MP7W.js} +2 -2
  119. package/dist/cdn/{XOR5OKKR.js → F7VDFOY6.js} +2 -2
  120. package/dist/cdn/{7GWA4ZPR.js → FBQH7GYW.js} +2 -2
  121. package/dist/cdn/{ENRVYQQD.js → FFJGXHTV.js} +2 -2
  122. package/dist/cdn/{VCS3DJT7.js → FFTXBGLZ.js} +1 -1
  123. package/dist/cdn/{JPJCY2D7.js → FHIDJ7B4.js} +2 -2
  124. package/dist/cdn/{7U2IJZ5S.js → FIGQYCIL.js} +2 -2
  125. package/dist/cdn/{P4EVCYNF.js → FO74TQVX.js} +2 -2
  126. package/dist/cdn/{I25A7Q3U.js → FPJDXWKS.js} +2 -2
  127. package/dist/cdn/{G5YUC4KK.js → FQO4QC3U.js} +2 -2
  128. package/dist/cdn/{PLRDJUUH.js → FR7DZ272.js} +2 -2
  129. package/dist/cdn/{6DCCY6HX.js → FYDJJRQ6.js} +2 -2
  130. package/dist/cdn/{3MKAF3EZ.js → FYGANRSO.js} +2 -2
  131. package/dist/cdn/{V2RJDKWO.js → G23CAIPM.js} +2 -2
  132. package/dist/cdn/{U3JIGJP2.js → GGSYHX7J.js} +2 -2
  133. package/dist/cdn/{AGFKJUIF.js → GHP3VRT6.js} +2 -2
  134. package/dist/cdn/{BTYMZVX2.js → GK3WI6LM.js} +2 -2
  135. package/dist/cdn/{DNKFSXWY.js → GKPIGYGE.js} +2 -2
  136. package/dist/cdn/{BYMILNYQ.js → GMQABHBL.js} +2 -2
  137. package/dist/cdn/{C4GNRAVG.js → H2UZYFDZ.js} +2 -2
  138. package/dist/cdn/{FT65T7LZ.js → H5LGNC4O.js} +1 -1
  139. package/dist/cdn/H5SRMTEQ.js +4 -0
  140. package/dist/cdn/{M3YVXXP4.js → H7Q2A5JF.js} +2 -2
  141. package/dist/cdn/HG7ACSXJ.js +4 -0
  142. package/dist/cdn/{PDIQYODZ.js → HILAFC3C.js} +2 -2
  143. package/dist/cdn/{JIMIKJTA.js → HIPGDTTO.js} +2 -2
  144. package/dist/cdn/{7KBHAWSO.js → HNRWBM4Y.js} +2 -2
  145. package/dist/cdn/{T5IETM4B.js → HNXRS47D.js} +2 -2
  146. package/dist/cdn/{GOGW5JIP.js → HODZTI37.js} +2 -2
  147. package/dist/cdn/{DYAVXCRT.js → HOLN5DT6.js} +2 -2
  148. package/dist/cdn/{Y5YXH7BK.js → HTTY2O75.js} +2 -2
  149. package/dist/cdn/{KK2ULF7Z.js → HWSW3BPM.js} +2 -2
  150. package/dist/cdn/{TSRD3U5E.js → I4K4JDLZ.js} +2 -2
  151. package/dist/cdn/{TX7RKOAM.js → I4XJ5KAX.js} +1 -1
  152. package/dist/cdn/{ELGK7AWW.js → I7DMCC7M.js} +2 -2
  153. package/dist/cdn/{52Y7FVPR.js → IAFTNRJU.js} +2 -2
  154. package/dist/cdn/{OMDIJGV5.js → ID2DYIX4.js} +2 -2
  155. package/dist/cdn/{IQTNUPHI.js → IF3VBGJO.js} +2 -2
  156. package/dist/cdn/{G2SIEU7G.js → IIECOZM2.js} +2 -2
  157. package/dist/cdn/{6SV337ZT.js → ILEALHG5.js} +2 -2
  158. package/dist/cdn/{YI3XTZGI.js → IRYRMM3P.js} +2 -2
  159. package/dist/cdn/{BE3EH6ET.js → IW3XWVYE.js} +1 -1
  160. package/dist/cdn/{T6A3X33Q.js → J2NJK2VV.js} +2 -2
  161. package/dist/cdn/{CMUJDQD5.js → J3ZK6D6W.js} +2 -2
  162. package/dist/cdn/{RZWCQWDY.js → J4CZJTCA.js} +2 -2
  163. package/dist/cdn/{V64374V5.js → J5W4PHHH.js} +2 -2
  164. package/dist/cdn/JFIHD6L6.js +4 -0
  165. package/dist/cdn/{MR7WPPFT.js → JO2B7SAE.js} +1 -1
  166. package/dist/cdn/{NW5T2ULP.js → JQ77WQYQ.js} +2 -2
  167. package/dist/cdn/{2Q7KRWE4.js → JY5ZO2TG.js} +2 -2
  168. package/dist/cdn/K52WG4ZE.js +4 -0
  169. package/dist/cdn/{CLSHZ4SN.js → K6HVT3UA.js} +2 -2
  170. package/dist/cdn/{PP5E5W3F.js → K7VFEJUH.js} +2 -2
  171. package/dist/cdn/{VM3FBZ52.js → KJDIDYCU.js} +2 -2
  172. package/dist/cdn/{WLWYV6R3.js → KLIQE2PP.js} +2 -2
  173. package/dist/cdn/{5PDEKOO7.js → KS4GFVSU.js} +2 -2
  174. package/dist/cdn/{2AVVG6EO.js → KW6MOT5Q.js} +2 -2
  175. package/dist/cdn/{JEVYRD4P.js → L5VA5W4K.js} +2 -2
  176. package/dist/cdn/{RAZWULFJ.js → L6NTLZQL.js} +2 -2
  177. package/dist/cdn/{3AG7SWBZ.js → L7QWQQAY.js} +2 -2
  178. package/dist/cdn/{L5PDCC5X.js → LGW7EBEZ.js} +2 -2
  179. package/dist/cdn/{E2WPG5HZ.js → LH4THDSE.js} +1 -1
  180. package/dist/cdn/{SBSAZRX7.js → LLTMMODY.js} +2 -2
  181. package/dist/cdn/{PBJX7ILC.js → LM7W62ZA.js} +1 -1
  182. package/dist/cdn/{BQDKE52R.js → LOG3QMGA.js} +2 -2
  183. package/dist/cdn/LQFUVJWF.js +4 -0
  184. package/dist/cdn/{EKP5MXX3.js → LT46I42S.js} +2 -2
  185. package/dist/cdn/{ZTEXA77T.js → LTPXORGK.js} +2 -2
  186. package/dist/cdn/{IBQM32XY.js → LWMDVNOZ.js} +2 -2
  187. package/dist/cdn/{OGOXBU3D.js → LXGMB6GZ.js} +2 -2
  188. package/dist/cdn/{ZPZQEIF4.js → M4Q4PWQ6.js} +2 -2
  189. package/dist/cdn/{U5IQMMUS.js → M6TJNQAA.js} +2 -2
  190. package/dist/cdn/{YY5NSXOF.js → MH3UFEOS.js} +2 -2
  191. package/dist/cdn/{HFK4RHTN.js → MKOREV3M.js} +2 -2
  192. package/dist/cdn/{C4JLYZU6.js → MLNLQ7T3.js} +2 -2
  193. package/dist/cdn/{J4ATDCDX.js → MOMNAWDZ.js} +2 -2
  194. package/dist/cdn/{Q7TPJ5G5.js → MOPWKCUR.js} +2 -2
  195. package/dist/cdn/{JTDMSYNC.js → MRKWAHPL.js} +2 -2
  196. package/dist/cdn/MUHN45NB.js +4 -0
  197. package/dist/cdn/{5JP7XOCM.js → MVD244SE.js} +2 -2
  198. package/dist/cdn/{ZH3QYWA3.js → MVTVLMOA.js} +1 -1
  199. package/dist/cdn/{H4R3LN2J.js → MXD4C7ZC.js} +2 -2
  200. package/dist/cdn/{EJS274JD.js → N2IKKRCO.js} +2 -2
  201. package/dist/cdn/{CJ2WXEBZ.js → N7TPSDQL.js} +2 -2
  202. package/dist/cdn/{DTBJLETO.js → NBB5ATH4.js} +2 -2
  203. package/dist/cdn/{QMSQRNKO.js → NJUNMJKU.js} +2 -2
  204. package/dist/cdn/{3RX2JQ27.js → NNVBH5RX.js} +2 -2
  205. package/dist/cdn/{LEI6B7XS.js → NQLQ74NL.js} +2 -2
  206. package/dist/cdn/{CQMCRM5M.js → NQWJUHQA.js} +2 -2
  207. package/dist/cdn/{HBCBR54A.js → NREFGHZR.js} +2 -2
  208. package/dist/cdn/{QAXQ5SRX.js → O3JD4ZCK.js} +2 -2
  209. package/dist/cdn/{LS35TWLU.js → O4CDHDKF.js} +2 -2
  210. package/dist/cdn/{5CEGL2NX.js → O6JKLT24.js} +2 -2
  211. package/dist/cdn/{YWU6KHSS.js → OGYUTD5E.js} +2 -2
  212. package/dist/cdn/{XKPM35E6.js → ON4YBZIC.js} +1 -1
  213. package/dist/cdn/{RBTI7RNA.js → ORYRYWHR.js} +2 -2
  214. package/dist/cdn/{WSQ4PWAE.js → OX4JSD2P.js} +2 -2
  215. package/dist/cdn/P463UTPT.js +4 -0
  216. package/dist/cdn/{TKVFHOLN.js → P4HUYZZQ.js} +2 -2
  217. package/dist/cdn/{YMKBEDY4.js → P7H72CXW.js} +2 -2
  218. package/dist/cdn/{PYFNDYEO.js → PB5FK4D6.js} +2 -2
  219. package/dist/cdn/{4IAKMTT3.js → PCFMVEUE.js} +2 -2
  220. package/dist/cdn/{SBGMP2FK.js → PCNC5W46.js} +2 -2
  221. package/dist/cdn/{IIA4DNL2.js → PCY2EQA2.js} +2 -2
  222. package/dist/cdn/{2JPE5C5Y.js → PGWT5PPB.js} +2 -2
  223. package/dist/cdn/{ZGFA77H5.js → PGXACJ65.js} +2 -2
  224. package/dist/cdn/{PEC5IXWR.js → PJ4BAHVG.js} +2 -2
  225. package/dist/cdn/{LKGPWX6P.js → PPTTTZSN.js} +2 -2
  226. package/dist/cdn/{RPIOCR2M.js → PV2F7QH2.js} +1 -1
  227. package/dist/cdn/{QXD6DTPB.js → PVL72BCW.js} +2 -2
  228. package/dist/cdn/{VC2A4FZH.js → PW4TAJJG.js} +2 -2
  229. package/dist/cdn/{7DNCDFFY.js → Q2BT6GWI.js} +2 -2
  230. package/dist/cdn/{CWYMG2T5.js → Q2MDL25O.js} +2 -2
  231. package/dist/cdn/{NQHBNV32.js → Q77HM64Z.js} +2 -2
  232. package/dist/cdn/{YK73LLPR.js → QCS7ERBZ.js} +2 -2
  233. package/dist/cdn/{DTSTKCEK.js → QD5E47JD.js} +2 -2
  234. package/dist/cdn/{C4IF7ILX.js → QE2INITB.js} +2 -2
  235. package/dist/cdn/{K2X7RYXL.js → QGZQM33A.js} +1 -1
  236. package/dist/cdn/{NE4JHBWE.js → QJDIOZ3Q.js} +2 -2
  237. package/dist/cdn/{IRCBO5GO.js → QN7BJNP4.js} +2 -2
  238. package/dist/cdn/{KYNB7PW7.js → QQIMGXAB.js} +2 -2
  239. package/dist/cdn/{4DBYSH5O.js → QTA3P2YC.js} +2 -2
  240. package/dist/cdn/{PBODT2CG.js → QUSEOTCM.js} +2 -2
  241. package/dist/cdn/{IHUVJ2TG.js → QVMQEKPK.js} +2 -2
  242. package/dist/cdn/{ZLPNBSVS.js → REG45Y2Q.js} +2 -2
  243. package/dist/cdn/{KE3MJVDG.js → RHHCJ6DB.js} +2 -2
  244. package/dist/cdn/{FG4X3MSH.js → RI2AR3WF.js} +2 -2
  245. package/dist/cdn/{MUYJ5657.js → RMKDARSO.js} +2 -2
  246. package/dist/cdn/{IDKQ4DDD.js → RPKHS3KV.js} +2 -2
  247. package/dist/cdn/{VJL7BOIB.js → RQ76BOQC.js} +2 -2
  248. package/dist/cdn/{ULI7FRSF.js → RRIHCILZ.js} +2 -2
  249. package/dist/cdn/{W3F2YPH7.js → RSYZZUOO.js} +2 -2
  250. package/dist/cdn/{KVE5OH53.js → RUWNRBA6.js} +2 -2
  251. package/dist/cdn/{CFZ5JJED.js → RVJLYNVP.js} +2 -2
  252. package/dist/cdn/{5ELF3IKZ.js → RVW743MI.js} +2 -2
  253. package/dist/cdn/{TFWSBZ23.js → S47H27R2.js} +1 -1
  254. package/dist/cdn/{UCA3O2VK.js → S7ZADUVY.js} +2 -2
  255. package/dist/cdn/SEE5Y27J.js +4 -0
  256. package/dist/cdn/{T7TOT4S5.js → SERFDHLL.js} +2 -2
  257. package/dist/cdn/{QR54UJT3.js → SL7M4KKO.js} +2 -2
  258. package/dist/cdn/{S6WKG4SD.js → SLZMI4YW.js} +2 -2
  259. package/dist/cdn/{FGYWBL4R.js → SMRGWYVQ.js} +2 -2
  260. package/dist/cdn/{PD7IOSUN.js → SN4QTNBR.js} +2 -2
  261. package/dist/cdn/{QQCK6JUG.js → SPPPO5ST.js} +2 -2
  262. package/dist/cdn/{577UZC43.js → SSTRSKFG.js} +2 -2
  263. package/dist/cdn/{F3KT7745.js → SYPYKDJS.js} +1 -1
  264. package/dist/cdn/{RFPZ3WKZ.js → T255MT5V.js} +2 -2
  265. package/dist/cdn/{LDUGTCSZ.js → T3HW3VHM.js} +1 -1
  266. package/dist/cdn/{CGT26Y3L.js → T63ZRYUQ.js} +2 -2
  267. package/dist/cdn/{CJQ4WYUC.js → T6WTBVUA.js} +2 -2
  268. package/dist/cdn/{U7RZBDSM.js → TBIKIJZS.js} +2 -2
  269. package/dist/cdn/{IHWLNZI4.js → TJTX7ST2.js} +2 -2
  270. package/dist/cdn/{GRM46B2N.js → TKIQW6TD.js} +2 -2
  271. package/dist/cdn/{4DQNA6KE.js → TLWHGWTG.js} +1 -1
  272. package/dist/cdn/{7OKIG2AV.js → TODWQTCY.js} +2 -2
  273. package/dist/cdn/{KL7NL2UL.js → TOEVMQWP.js} +2 -2
  274. package/dist/cdn/{XFXALEID.js → TPNTSEO7.js} +2 -2
  275. package/dist/cdn/{BU4MP4ML.js → TQA7KJON.js} +2 -2
  276. package/dist/cdn/{26FHEYQJ.js → TQKELAJE.js} +2 -2
  277. package/dist/cdn/TS66Y2JS.js +4 -0
  278. package/dist/cdn/{QYQ5N4LY.js → TSTBQC42.js} +2 -2
  279. package/dist/cdn/{MOGZMLIS.js → U7UINJ2Q.js} +2 -2
  280. package/dist/cdn/{TZL73KLW.js → UDVPT52Z.js} +2 -2
  281. package/dist/cdn/{WB5C3UWD.js → UGPGE67J.js} +2 -2
  282. package/dist/cdn/UJ2YHRNV.js +4 -0
  283. package/dist/cdn/{34RZY52V.js → UNJF5O6K.js} +2 -2
  284. package/dist/cdn/{NSA3QBCO.js → UO7GR2Q6.js} +2 -2
  285. package/dist/cdn/{A5SIKHXK.js → UWL7CCWP.js} +2 -2
  286. package/dist/cdn/{SHOYUKN4.js → UWOZQTPV.js} +2 -2
  287. package/dist/cdn/{QPQIVDIQ.js → UXU5ONPL.js} +1 -1
  288. package/dist/cdn/V4HH54Z7.js +4 -0
  289. package/dist/cdn/{U4PYPRAJ.js → V6LN5U3F.js} +2 -2
  290. package/dist/cdn/{W7GJMBOE.js → VB76MQFZ.js} +2 -2
  291. package/dist/cdn/{SOPCYVGA.js → VLXP3IUP.js} +2 -2
  292. package/dist/cdn/{G5TBKAWU.js → VMXSZE7K.js} +2 -2
  293. package/dist/cdn/{W4IVG64C.js → VSFLOGSL.js} +2 -2
  294. package/dist/cdn/{TMDIBZXP.js → VVGN7VWQ.js} +2 -2
  295. package/dist/cdn/{4GE2E3TZ.js → VVKGU5AV.js} +2 -2
  296. package/dist/cdn/{BWQAKOA5.js → VY6ZNOXV.js} +1 -1
  297. package/dist/cdn/{GM4ERBXF.js → W5CWGKVQ.js} +2 -2
  298. package/dist/cdn/{WIKGUEMU.js → WBAN73SV.js} +2 -2
  299. package/dist/cdn/{QWPWTJ7H.js → WDTVKXS2.js} +2 -2
  300. package/dist/cdn/{ZDCMUR3D.js → WEWDJFR6.js} +2 -2
  301. package/dist/cdn/{MDU5ZJBD.js → WG76HVS4.js} +2 -2
  302. package/dist/cdn/{KD7TBMC5.js → WGHY5LGA.js} +2 -2
  303. package/dist/cdn/{UKOQ6EL6.js → WHXHM2HA.js} +2 -2
  304. package/dist/cdn/{NBPRUPUC.js → WMLW3H4Y.js} +2 -2
  305. package/dist/cdn/{EW73ERT3.js → WP2OBUOK.js} +2 -2
  306. package/dist/cdn/WYWFX4D6.js +4 -0
  307. package/dist/cdn/{BXI443P4.js → X5EF23E3.js} +2 -2
  308. package/dist/cdn/{GU36OP7D.js → X6EFZMDE.js} +2 -2
  309. package/dist/cdn/{5EISQGUI.js → X7RWQPSY.js} +3 -3
  310. package/dist/cdn/{RBSWZLUD.js → XDIST2GS.js} +2 -2
  311. package/dist/cdn/{PZRM7WNQ.js → XGAK2XXZ.js} +2 -2
  312. package/dist/cdn/{XH34VJX7.js → XJTQD4E3.js} +1 -1
  313. package/dist/cdn/{363WGXYQ.js → XKUKQCAO.js} +1 -1
  314. package/dist/cdn/{DN3PW2LZ.js → XL4Z5JSM.js} +2 -2
  315. package/dist/cdn/{HM44KGTZ.js → YDG55TUM.js} +1 -1
  316. package/dist/cdn/{PGMGGZTF.js → YDUAQE3Q.js} +1 -1
  317. package/dist/cdn/{WYATJDNR.js → YGOJVAPT.js} +2 -2
  318. package/dist/cdn/{6PJ7WANN.js → YGZ6AV4V.js} +1 -1
  319. package/dist/cdn/{WDKU2FO2.js → YIQ3HL5G.js} +2 -2
  320. package/dist/cdn/{EO57CVWC.js → YL4RBPGK.js} +2 -2
  321. package/dist/cdn/{7ZJLT4E2.js → YQLM4GI2.js} +2 -2
  322. package/dist/cdn/{WNFYTLPO.js → YSWXIGEJ.js} +1 -1
  323. package/dist/cdn/{UHIYVNC7.js → YW6JV6WE.js} +2 -2
  324. package/dist/cdn/{Y3BUSK2R.js → YXYPDOHB.js} +2 -2
  325. package/dist/cdn/{EE2GWCUV.js → Z3A7BREF.js} +1 -1
  326. package/dist/cdn/{4PQXEGJ7.js → Z7QIEDCB.js} +1 -1
  327. package/dist/cdn/ZBROI2TP.js +4 -0
  328. package/dist/cdn/{FKLROKJZ.js → ZCC7UPSG.js} +2 -2
  329. package/dist/cdn/{HSKFXB4X.js → ZHDVFLLP.js} +2 -2
  330. package/dist/cdn/{EQKQZBJX.js → ZKABL7JP.js} +2 -2
  331. package/dist/cdn/{NKLQNJS2.js → ZON77T3L.js} +2 -2
  332. package/dist/cdn/{7WKBUH6C.js → ZOQK5THP.js} +2 -2
  333. package/dist/cdn/{TRZDLGU7.js → ZR3ILFB6.js} +2 -2
  334. package/dist/cdn/{NI6ASH26.js → ZX2JRLZR.js} +2 -2
  335. package/dist/cdn/{ITD3MTRP.js → ZXG2VNBX.js} +2 -2
  336. package/dist/cdn/{MSRJBT4L.js → ZYKO7FK5.js} +3 -3
  337. package/dist/cdn/index.js +2 -2
  338. package/dist/chunks/Auth.js +2 -2
  339. package/dist/chunks/appConfig.js +1 -2
  340. package/dist/chunks/cardFetchingUtils.js +1 -2
  341. package/dist/chunks/cardsHelpers.js +1 -2
  342. package/dist/chunks/common.js +1 -2
  343. package/dist/chunks/deployAppContexts.js +1 -2
  344. package/dist/chunks/downloadUtils.js +1 -2
  345. package/dist/chunks/getItemIcon.js +1 -2
  346. package/dist/chunks/getRelatedInfos.js +1 -2
  347. package/dist/chunks/helpers.js +1 -2
  348. package/dist/chunks/interfaces.js +1 -2
  349. package/dist/chunks/mapViewUtils.js +1 -2
  350. package/dist/chunks/pciUtils.js +1 -2
  351. package/dist/chunks/popupUtils.js +1 -2
  352. package/dist/chunks/publicNotificationContext.js +1 -2
  353. package/dist/chunks/queryUtils.js +1 -2
  354. package/dist/chunks/runtime.js +1 -2
  355. package/dist/chunks/solutions-deploy-app-nav.js +1 -2
  356. package/dist/chunks/useT9n.js +1 -2
  357. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -2
  358. package/dist/components/buffer-tools/customElement.js +1 -2
  359. package/dist/components/card-manager/customElement.js +1 -2
  360. package/dist/components/consent-manager/customElement.js +1 -2
  361. package/dist/components/create-feature/customElement.js +1 -2
  362. package/dist/components/create-related-feature/customElement.js +1 -2
  363. package/dist/components/crowdsource-manager/customElement.js +1 -2
  364. package/dist/components/crowdsource-reporter/customElement.js +1 -2
  365. package/dist/components/deduct-calculator/customElement.js +1 -2
  366. package/dist/components/delete-button/customElement.js +1 -2
  367. package/dist/components/delete-dialog/customElement.js +1 -2
  368. package/dist/components/edit-card/customElement.js +1 -2
  369. package/dist/components/feature-details/customElement.js +1 -2
  370. package/dist/components/feature-list/customElement.js +1 -2
  371. package/dist/components/field-selection/customElement.js +1 -2
  372. package/dist/components/info-card/customElement.js +1 -2
  373. package/dist/components/layer-list/customElement.js +1 -2
  374. package/dist/components/layer-table/customElement.js +1 -2
  375. package/dist/components/map-basemap-gallery/customElement.js +1 -2
  376. package/dist/components/map-card/customElement.js +1 -2
  377. package/dist/components/map-draw-tools/customElement.js +1 -2
  378. package/dist/components/map-floor-filter/customElement.js +1 -2
  379. package/dist/components/map-fullscreen/customElement.js +1 -2
  380. package/dist/components/map-layer-picker/customElement.js +1 -2
  381. package/dist/components/map-legend/customElement.js +1 -2
  382. package/dist/components/map-picker/customElement.js +1 -2
  383. package/dist/components/map-search/customElement.js +1 -2
  384. package/dist/components/map-select-tools/customElement.js +1 -2
  385. package/dist/components/map-tools/customElement.js +1 -2
  386. package/dist/components/pci-calculator/customElement.js +1 -2
  387. package/dist/components/pdf-download/customElement.js +1 -2
  388. package/dist/components/public-notification/customElement.js +1 -2
  389. package/dist/components/refine-selection/customElement.js +1 -2
  390. package/dist/components/selection-tool/customElement.js +1 -2
  391. package/dist/components/solution-configure-titles/customElement.js +1 -2
  392. package/dist/components/solution-delete-dialog/customElement.js +1 -2
  393. package/dist/components/solution-deploy-dialog/customElement.js +1 -2
  394. package/dist/components/solution-deployed-card/customElement.js +1 -2
  395. package/dist/components/solution-deployed-card-panel/customElement.js +1 -2
  396. package/dist/components/solution-deploying-dialog/customElement.js +1 -2
  397. package/dist/components/solution-details-card/customElement.js +1 -2
  398. package/dist/components/solution-details-panel/customElement.js +1 -2
  399. package/dist/components/solution-item-accordion/customElement.js +1 -2
  400. package/dist/components/solution-item-diagram/customElement.js +1 -2
  401. package/dist/components/solution-item-icon/customElement.js +1 -2
  402. package/dist/components/solution-resource-card/customElement.js +1 -2
  403. package/dist/components/solution-snapshot-gallery/customElement.js +1 -2
  404. package/dist/components/solution-social-share/customElement.js +1 -2
  405. package/dist/components/solutions-all-panel/customElement.js +1 -2
  406. package/dist/components/solutions-all-shell/customElement.js +1 -2
  407. package/dist/components/solutions-deploy-app/customElement.js +1 -2
  408. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -2
  409. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -2
  410. package/dist/components/solutions-deployed-panel/customElement.js +1 -2
  411. package/dist/components/solutions-deployed-shell/customElement.js +1 -2
  412. package/dist/components/solutions-filter-panel/customElement.js +1 -2
  413. package/dist/components/solutions-resource-panel/customElement.js +1 -2
  414. package/dist/components/solutions-resources/customElement.js +1 -2
  415. package/dist/components/solutions-resources-shell/customElement.js +1 -2
  416. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -2
  417. package/dist/docs/api.json +1 -1
  418. package/dist/docs/docs.json +1 -1
  419. package/dist/docs/web-types.json +1 -1
  420. package/dist/index.js +1 -2
  421. package/dist/loader.js +1 -2
  422. package/dist/solutions-components_commit.txt +5 -5
  423. package/package.json +1 -1
  424. package/dist/cdn/3EBWIFV6.js +0 -4
  425. package/dist/cdn/3X7TN54W.js +0 -4
  426. package/dist/cdn/42IDMQSU.js +0 -4
  427. package/dist/cdn/4RNUWTWB.js +0 -4
  428. package/dist/cdn/6Y2NIHFH.js +0 -4
  429. package/dist/cdn/744ZEJG3.js +0 -4
  430. package/dist/cdn/7KSZFN33.js +0 -4
  431. package/dist/cdn/A2U7T523.js +0 -4
  432. package/dist/cdn/BQ3LXSRC.js +0 -4
  433. package/dist/cdn/C42IR4CY.js +0 -4
  434. package/dist/cdn/EMBDQZRT.js +0 -4
  435. package/dist/cdn/HHBFEFFS.js +0 -4
  436. package/dist/cdn/KS76YHRJ.js +0 -4
  437. package/dist/cdn/MCMPMO7Y.js +0 -4
  438. package/dist/cdn/MNXYNPGD.js +0 -4
  439. package/dist/cdn/NI5JJS6W.js +0 -4
  440. package/dist/cdn/OJCMLLCQ.js +0 -4
  441. package/dist/cdn/WSKE3GUH.js +0 -4
  442. package/dist/cdn/XH7LPNDE.js +0 -4
  443. package/dist/cdn/YID7X6BP.js +0 -4
  444. package/dist/cdn/YQWMCQ3A.js +0 -4
  445. package/dist/chunks/Auth.js.map +0 -1
  446. package/dist/chunks/appConfig.js.map +0 -1
  447. package/dist/chunks/cardFetchingUtils.js.map +0 -1
  448. package/dist/chunks/cardsHelpers.js.map +0 -1
  449. package/dist/chunks/common.js.map +0 -1
  450. package/dist/chunks/deployAppContexts.js.map +0 -1
  451. package/dist/chunks/downloadUtils.js.map +0 -1
  452. package/dist/chunks/getItemIcon.js.map +0 -1
  453. package/dist/chunks/getRelatedInfos.js.map +0 -1
  454. package/dist/chunks/helpers.js.map +0 -1
  455. package/dist/chunks/interfaces.js.map +0 -1
  456. package/dist/chunks/mapViewUtils.js.map +0 -1
  457. package/dist/chunks/pciUtils.js.map +0 -1
  458. package/dist/chunks/popupUtils.js.map +0 -1
  459. package/dist/chunks/publicNotificationContext.js.map +0 -1
  460. package/dist/chunks/queryUtils.js.map +0 -1
  461. package/dist/chunks/runtime.js.map +0 -1
  462. package/dist/chunks/solutions-deploy-app-nav.js.map +0 -1
  463. package/dist/chunks/useT9n.js.map +0 -1
  464. package/dist/components/arcgis-solutions-assistant/customElement.js.map +0 -1
  465. package/dist/components/buffer-tools/customElement.js.map +0 -1
  466. package/dist/components/card-manager/customElement.js.map +0 -1
  467. package/dist/components/consent-manager/customElement.js.map +0 -1
  468. package/dist/components/create-feature/customElement.js.map +0 -1
  469. package/dist/components/create-related-feature/customElement.js.map +0 -1
  470. package/dist/components/crowdsource-manager/customElement.js.map +0 -1
  471. package/dist/components/crowdsource-reporter/customElement.js.map +0 -1
  472. package/dist/components/deduct-calculator/customElement.js.map +0 -1
  473. package/dist/components/delete-button/customElement.js.map +0 -1
  474. package/dist/components/delete-dialog/customElement.js.map +0 -1
  475. package/dist/components/edit-card/customElement.js.map +0 -1
  476. package/dist/components/feature-details/customElement.js.map +0 -1
  477. package/dist/components/feature-list/customElement.js.map +0 -1
  478. package/dist/components/field-selection/customElement.js.map +0 -1
  479. package/dist/components/info-card/customElement.js.map +0 -1
  480. package/dist/components/layer-list/customElement.js.map +0 -1
  481. package/dist/components/layer-table/customElement.js.map +0 -1
  482. package/dist/components/map-basemap-gallery/customElement.js.map +0 -1
  483. package/dist/components/map-card/customElement.js.map +0 -1
  484. package/dist/components/map-draw-tools/customElement.js.map +0 -1
  485. package/dist/components/map-floor-filter/customElement.js.map +0 -1
  486. package/dist/components/map-fullscreen/customElement.js.map +0 -1
  487. package/dist/components/map-layer-picker/customElement.js.map +0 -1
  488. package/dist/components/map-legend/customElement.js.map +0 -1
  489. package/dist/components/map-picker/customElement.js.map +0 -1
  490. package/dist/components/map-search/customElement.js.map +0 -1
  491. package/dist/components/map-select-tools/customElement.js.map +0 -1
  492. package/dist/components/map-tools/customElement.js.map +0 -1
  493. package/dist/components/pci-calculator/customElement.js.map +0 -1
  494. package/dist/components/pdf-download/customElement.js.map +0 -1
  495. package/dist/components/public-notification/customElement.js.map +0 -1
  496. package/dist/components/refine-selection/customElement.js.map +0 -1
  497. package/dist/components/selection-tool/customElement.js.map +0 -1
  498. package/dist/components/solution-configure-titles/customElement.js.map +0 -1
  499. package/dist/components/solution-delete-dialog/customElement.js.map +0 -1
  500. package/dist/components/solution-deploy-dialog/customElement.js.map +0 -1
  501. package/dist/components/solution-deployed-card/customElement.js.map +0 -1
  502. package/dist/components/solution-deployed-card-panel/customElement.js.map +0 -1
  503. package/dist/components/solution-deploying-dialog/customElement.js.map +0 -1
  504. package/dist/components/solution-details-card/customElement.js.map +0 -1
  505. package/dist/components/solution-details-panel/customElement.js.map +0 -1
  506. package/dist/components/solution-item-accordion/customElement.js.map +0 -1
  507. package/dist/components/solution-item-diagram/customElement.js.map +0 -1
  508. package/dist/components/solution-item-icon/customElement.js.map +0 -1
  509. package/dist/components/solution-resource-card/customElement.js.map +0 -1
  510. package/dist/components/solution-snapshot-gallery/customElement.js.map +0 -1
  511. package/dist/components/solution-social-share/customElement.js.map +0 -1
  512. package/dist/components/solutions-all-panel/customElement.js.map +0 -1
  513. package/dist/components/solutions-all-shell/customElement.js.map +0 -1
  514. package/dist/components/solutions-deploy-app/customElement.js.map +0 -1
  515. package/dist/components/solutions-deploy-app-nav/customElement.js.map +0 -1
  516. package/dist/components/solutions-deployed-filter-panel/customElement.js.map +0 -1
  517. package/dist/components/solutions-deployed-panel/customElement.js.map +0 -1
  518. package/dist/components/solutions-deployed-shell/customElement.js.map +0 -1
  519. package/dist/components/solutions-filter-panel/customElement.js.map +0 -1
  520. package/dist/components/solutions-resource-panel/customElement.js.map +0 -1
  521. package/dist/components/solutions-resources/customElement.js.map +0 -1
  522. package/dist/components/solutions-resources-shell/customElement.js.map +0 -1
  523. package/dist/components/solutions-searchsort-toolbar/customElement.js.map +0 -1
  524. package/dist/index.js.map +0 -1
  525. package/dist/loader.js.map +0 -1
@@ -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.81 */
3
+ v1.2.0-next.83 */
4
4
  function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
@@ -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.81 */
4
- import{a as e}from"./IIA4DNL2.js";import{a as h}from"./IKVNKABC.js";import{b as d}from"./RFPZ3WKZ.js";import"./X74IHVQL.js";import"./G5YUC4KK.js";import{H as n,J as c,K as i,L as p,h as r,i as a}from"./XKPM35E6.js";import"./K2X7RYXL.js";export default $arcgis.t(([l,{watch:m}])=>{var g=r`:host{display:block}.instant-apps-compass{position:relative;height:100px;width:100px;border-radius:50%}.instant-apps-compass #instant-compass{position:absolute;top:calc(50% - 16px);right:calc(50% - 16px);z-index:10}.instant-apps-compass #dir-ring{height:100px;width:100px;border-radius:50%;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-border-1);position:relative}.instant-apps-compass #dir-ring .dir-heading{position:absolute;--calcite-fab-background-color: transparent;--calcite-fab-text-color: var(--calcite-color-text-1);--calcite-fab-shadow: none}.instant-apps-compass #dir-ring #north{right:37px;top:5px}.instant-apps-compass #dir-ring #east{right:6px;top:38px}.instant-apps-compass #dir-ring #west{left:4px;top:38px}.instant-apps-compass #dir-ring #south{right:38px;bottom:4px}`,u={base:"instant-apps-compass"},o=class extends n{constructor(){super(...arguments),this._messages=h({name:"instant-apps-compass",blocking:!0}),this.rotationWatcherKey="rotationWatcher",this.baseClass=u.base,this.rotation=0}static{this.properties={baseClass:16,rotation:16,view:0}}static{this.styles=g}get view(){return this._view}set view(t){this._view=t,this.handles?.has(this.rotationWatcherKey)&&this.handles?.remove(this.rotationWatcherKey),this.handles?.add(m(()=>t.rotation,s=>{this.rotation=Math.floor(s)}),this.rotationWatcherKey)}load(){this.initializeModules()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}initializeModules(){this.handles=new l}goToHeading(t){let s=this._view.viewpoint.clone();s.rotation=this.decideRotation(t),this._view.goTo(s)}decideRotation(t){switch(t){case"north":return 0;case"east":return 270;case"south":return 180;case"west":return 90}}render(){return a`<div class=${c(this.baseClass)}><arcgis-compass id=instant-compass .view=${this.view}></arcgis-compass>${this.renderDirectionRing()}</div>`}renderDirectionRing(){return e("dir-ring",a`<div id=dir-ring style=${i({transform:`rotate(${this.rotation}deg)`})}>${["north","east","south","west"].map(t=>this._renderHeading(t))}</div>`)}_renderHeading(t){let s=this._messages[t];return e(t,a`<calcite-button scale=s round kind=neutral class="dir-heading" appearance=transparent id=${t??p} style=${i({transform:`rotate(-${this.rotation}deg)`})} @click=${()=>this.goToHeading(t)}>${s.charAt(0).toLocaleUpperCase()}</calcite-button>`)}};d("instant-apps-compass",o);return o},"core/Handles","core/reactiveUtils")
3
+ v1.2.0-next.83 */
4
+ import{a as e}from"./PCY2EQA2.js";import{a as h}from"./DGSHCJHW.js";import{b as d}from"./T255MT5V.js";import"./5PKJIA6E.js";import"./FQO4QC3U.js";import{H as n,J as c,K as i,L as p,h as r,i as a}from"./ON4YBZIC.js";import"./QGZQM33A.js";export default $arcgis.t(([l,{watch:m}])=>{var g=r`:host{display:block}.instant-apps-compass{position:relative;height:100px;width:100px;border-radius:50%}.instant-apps-compass #instant-compass{position:absolute;top:calc(50% - 16px);right:calc(50% - 16px);z-index:10}.instant-apps-compass #dir-ring{height:100px;width:100px;border-radius:50%;background-color:var(--calcite-color-foreground-1);border:1px solid var(--calcite-color-border-1);position:relative}.instant-apps-compass #dir-ring .dir-heading{position:absolute;--calcite-fab-background-color: transparent;--calcite-fab-text-color: var(--calcite-color-text-1);--calcite-fab-shadow: none}.instant-apps-compass #dir-ring #north{right:37px;top:5px}.instant-apps-compass #dir-ring #east{right:6px;top:38px}.instant-apps-compass #dir-ring #west{left:4px;top:38px}.instant-apps-compass #dir-ring #south{right:38px;bottom:4px}`,u={base:"instant-apps-compass"},o=class extends n{constructor(){super(...arguments),this._messages=h({name:"instant-apps-compass",blocking:!0}),this.rotationWatcherKey="rotationWatcher",this.baseClass=u.base,this.rotation=0}static{this.properties={baseClass:16,rotation:16,view:0}}static{this.styles=g}get view(){return this._view}set view(t){this._view=t,this.handles?.has(this.rotationWatcherKey)&&this.handles?.remove(this.rotationWatcherKey),this.handles?.add(m(()=>t.rotation,s=>{this.rotation=Math.floor(s)}),this.rotationWatcherKey)}load(){this.initializeModules()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}initializeModules(){this.handles=new l}goToHeading(t){let s=this._view.viewpoint.clone();s.rotation=this.decideRotation(t),this._view.goTo(s)}decideRotation(t){switch(t){case"north":return 0;case"east":return 270;case"south":return 180;case"west":return 90}}render(){return a`<div class=${c(this.baseClass)}><arcgis-compass id=instant-compass .view=${this.view}></arcgis-compass>${this.renderDirectionRing()}</div>`}renderDirectionRing(){return e("dir-ring",a`<div id=dir-ring style=${i({transform:`rotate(${this.rotation}deg)`})}>${["north","east","south","west"].map(t=>this._renderHeading(t))}</div>`)}_renderHeading(t){let s=this._messages[t];return e(t,a`<calcite-button scale=s round kind=neutral class="dir-heading" appearance=transparent id=${t??p} style=${i({transform:`rotate(-${this.rotation}deg)`})} @click=${()=>this.goToHeading(t)}>${s.charAt(0).toLocaleUpperCase()}</calcite-button>`)}};d("instant-apps-compass",o);return o},"core/Handles","core/reactiveUtils")
@@ -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.81 */
4
- import a from"./J426IZBD.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
3
+ v1.2.0-next.83 */
4
+ import a from"./3BZYSMLP.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
5
5
  .instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-left: 30px !important;
7
7
  }
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import{a as m,b as o,c as T,d as E}from"./APJW3N36.js";import{a as t,b as e}from"./363WGXYQ.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./C2FNZM6D.js";import"./K2X7RYXL.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
3
+ v1.2.0-next.83 */
4
+ import{a as m,b as o,c as T,d as E}from"./3LFKICMU.js";import{a as t,b as e}from"./XKUKQCAO.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./72T3YDOR.js";import"./QGZQM33A.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import"./K2X7RYXL.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
3
+ v1.2.0-next.83 */
4
+ import"./QGZQM33A.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import"./K2X7RYXL.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.2.0-next.83 */
4
+ import"./QGZQM33A.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,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.81 */
4
- import{a as e}from"./JES7YBJK.js";import"./QAXQ5SRX.js";import"./NI6ASH26.js";import"./UPKL36N7.js";import"./KD7TBMC5.js";import"./DNKFSXWY.js";import"./PGMGGZTF.js";import"./APJW3N36.js";import"./363WGXYQ.js";import"./E2WPG5HZ.js";import"./ELGK7AWW.js";import"./XH34VJX7.js";import"./3AG7SWBZ.js";import"./KYNB7PW7.js";import"./ZKIMM3LB.js";import{a as t}from"./TFWSBZ23.js";import"./6SV337ZT.js";import"./YY5NSXOF.js";import"./QPLAP7VQ.js";import"./NQHBNV32.js";import"./5OPRR6KD.js";import"./EE2GWCUV.js";import"./C2FNZM6D.js";import"./K2X7RYXL.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f as buildUiSchema};
3
+ v1.2.0-next.83 */
4
+ import{a as e}from"./DJL6ZIKT.js";import"./O3JD4ZCK.js";import"./ZX2JRLZR.js";import"./3GFVYJ2N.js";import"./WGHY5LGA.js";import"./GKPIGYGE.js";import"./YDUAQE3Q.js";import"./3LFKICMU.js";import"./XKUKQCAO.js";import"./LH4THDSE.js";import"./I7DMCC7M.js";import"./XJTQD4E3.js";import"./L7QWQQAY.js";import"./QQIMGXAB.js";import"./E6CAJAFP.js";import{a as t}from"./S47H27R2.js";import"./ILEALHG5.js";import"./MH3UFEOS.js";import"./3I3LPUKN.js";import"./Q77HM64Z.js";import"./AB2RHFJW.js";import"./Z3A7BREF.js";import"./72T3YDOR.js";import"./QGZQM33A.js";var f=async(b,a,m)=>{let{themeColors:s}=a;return{type:"Layout",elements:[{type:"Section",labelKey:"statistic.sectionTitle",options:{section:"block",open:!0},elements:[{type:"Control",scope:"/properties/type",labelKey:"statistic.type.label",options:{control:"hub-field-input-tile-select",rules:[void 0,void 0,[{effect:e.SHOW,conditions:[!1]}]],enum:{i18nScope:"statistic.type.enum"}}},{labelKey:"statistic.displayValue",scope:"/properties/value",type:"Control",rule:n,options:{control:"hub-field-input-input"}},{scope:"/properties/dynamicMetric",type:"Control",labelKey:"statistic.dataSource",rule:o,options:{control:"hub-composite-input-service-query-metric"}},{type:"Section",labelKey:"formatting.sectionTitle",scope:"/properties/allowUnitFormatting",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},elements:[{labelKey:"formatting.unit.label",scope:"/properties/unit",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unit.helperText",placement:"bottom"}}},{labelKey:"formatting.unitPosition.label",scope:"/properties/unitPosition",type:"Control",rule:r,options:{helperText:{labelKey:"formatting.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"formatting.unitPosition.enum"}}}]},{type:"Section",labelKey:"advancedConfig.label",options:{section:"subblock",scale:"m"},rule:o,elements:[{scope:"/properties/serverTimeout",labelKey:"advancedConfig.serverTimeout.label",type:"Control",rule:o,options:{control:"hub-field-input-input",type:"number",helperText:{labelKey:"advancedConfig.serverTimeout.helperText",placement:"bottom"},messages:[{type:"ERROR",keyword:"type",labelKey:"advancedConfig.serverTimeout.errors.type",icon:!0},{type:"ERROR",keyword:"minimum",labelKey:"advancedConfig.serverTimeout.errors.minimum",icon:!0},{type:"ERROR",keyword:"maximum",labelKey:"advancedConfig.serverTimeout.errors.maximum",icon:!0}]}}]}]},{type:"Section",labelKey:"details.sectionTitle",options:{section:"block"},elements:[{labelKey:"details.title",scope:"/properties/cardTitle",type:"Control"},{labelKey:"details.subtitle",scope:"/properties/subtitle",type:"Control"},{labelKey:"details.trailingText.label",scope:"/properties/trailingText",type:"Control",options:{helperText:{labelKey:"details.trailingText.helperText",placement:"bottom"}}},{type:"Section",labelKey:"details.link.sectionTitle",scope:"/properties/allowLink",options:{section:"subblock",scale:"m",toggleDisplay:"switch"},rule:n,elements:[{labelKey:"details.link.sourceLink",scope:"/properties/sourceLink",type:"Control",rule:p,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"errors.sourceLink.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"errors.sourceLink.formatError"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"details.link.sourceTitle",scope:"/properties/sourceTitle",type:"Control",rule:p}]},{type:"Control",scope:"/properties/allowDynamicLink",labelKey:"details.allowDynamicLink",rule:o,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]},{type:"Section",labelKey:"appearance.sectionTitle",options:{section:"block"},elements:[{labelKey:"appearance.layout.label",scope:"/properties/layout",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.layout.enum"}}},{labelKey:"appearance.textAlign",scope:"/properties/textAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"appearance.valueColor",scope:"/properties/valueColor",type:"Control",options:{control:"hub-field-input-color",savedColors:s}},{labelKey:"appearance.dropShadow.label",scope:"/properties/dropShadow",type:"Control",rule:i,options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.dropShadow.enum"}}},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:c,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperVizText"}},elements:[{labelKey:"appearance.visualInterest.label",scope:"/properties/visualInterest",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:"appearance.visualInterest.enum"}}},{labelKey:"appearance.icon.label",scope:"/properties/icon",type:"Control",rule:u,options:{control:"hub-field-input-combobox",items:[{value:t.caretUp,labelKey:"appearance.icon.caretUp.label",icon:t.caretUp},{value:t.caretDown,labelKey:"appearance.icon.caretDown.label",icon:t.caretDown},{value:t.caretDouble,labelKey:"appearance.icon.caretDouble.label",icon:t.caretDouble}],selectionMode:"single"}}]},{type:"Section",labelKey:"appearance.styleSpecificSettings.label",rule:l,options:{helperText:{labelKey:"appearance.styleSpecificSettings.helperInfoText"}},elements:[{labelKey:"appearance.popoverText.label",scope:"/properties/popoverText",type:"Control",rule:l,options:{control:"hub-field-input-input",type:"textarea",rows:4}},{labelKey:"appearance.publisherText.label",scope:"/properties/publisherText",type:"Control",rule:l,options:{control:"hub-field-input-input"}}]}]},{type:"Section",labelKey:"sharing.sectionTitle",options:{section:"block"},elements:[{labelKey:"sharing.showShareIcon",scope:"/properties/shareable",type:"Control",options:{helperText:{labelKey:"sharing.showShareIconHelperText"},control:"hub-field-input-switch",layout:"inline-space-between"}},{labelKey:"sharing.shareableByValue",scope:"/properties/shareableByValue",type:"Control",rule:i},{labelKey:"sharing.shareableOnHover.label",scope:"/properties/shareableOnHover",type:"Control",rule:y,options:{control:"hub-field-input-switch",helperText:{labelKey:"sharing.shareableOnHover.helperText.label"},layout:"inline-space-between"}}]}]}},i={effect:e.HIDE,condition:{scope:"/properties/type",schema:{enum:["static","dynamic","itemQuery"]}}},l={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"informational"}}},c={effect:e.SHOW,condition:{scope:"/properties/layout",schema:{const:"simple"}}},u={effect:e.SHOW,condition:{scope:"/properties/visualInterest",schema:{const:"icon"}}},o={condition:{scope:"/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},n={condition:{scope:"/properties/type",schema:{const:"static"}},effect:e.SHOW},y={condition:{scope:"/properties/shareable",schema:{const:!0}},effect:e.SHOW},r={condition:{schema:{const:!0},scope:"/properties/allowUnitFormatting"},effect:e.SHOW},p={condition:{schema:{properties:{type:{const:"static"},allowLink:{const:!0}}}},effect:e.SHOW};export{f 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.81 */
4
- import{a as v}from"./IKVNKABC.js";import{b as h}from"./RFPZ3WKZ.js";import"./X74IHVQL.js";import"./G5YUC4KK.js";import{F as m,G as u,H as d,J as o,h as n,i as c,r,u as p}from"./XKPM35E6.js";import"./K2X7RYXL.js";var T=n`@layer{.instant-apps-measurement-panel{width:300px}.instant-apps-measurement-panel calcite-action-bar{--calcite-action-bar-items-space: 1.5em}.instant-apps-measurement-panel .esri-coordinate-conversion__conversions-view,.instant-apps-measurement-panel .esri-coordinate-conversion{max-width:300px}}`,$={content:"instant-apps-measurement__content"},l=class extends d{constructor(){super(...arguments),this._messages=v({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(e){if(!this?.measureTool)return;let a=e?.target;if(!(a instanceof HTMLElement))return;let t=a?.dataset.value;if(t!=="distance"&&t!=="area"&&t!=="point"&&t!=="clear")return;t&&this.measureTool.value&&(this.measureTool.value.activeTool=t);let s=document.getElementsByClassName("active-tool");for(let i=0;i<s?.length;i++)s[i]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(t===void 0||t==="clear"))}render(){return c`<calcite-panel class="instant-apps-measurement-panel" .heading=${this._messages.label} .closable=${this.closable}>${this.renderActionBar()}${this.renderMeasureToolPanel()}</calcite-panel>`}renderMeasureToolPanel(){let{view:e,coordinateFormat:a,areaUnit:t,linearUnit:s,activeToolType:i}=this;return c`<calcite-panel class=${o($.content)}><instant-apps-measurement-tool .view=${e} .measureConfiguration=${{coordinateFormat:a,areaUnit:t,linearUnit:s,activeToolType:i}} .activeTool=${this.activeToolType} ${u(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:e,activeToolType:a}=this;return c`<calcite-action-bar expand-disabled selection-appearance=highlight slot=action-bar><calcite-action class=${o(a==="distance"?"active-tool":"")} .text=${e.line} scale=m icon=measure data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.line}</calcite-tooltip></calcite-action><calcite-action class=${o(a==="area"?"active-tool":"")} .text=${e.area} icon=measure-area scale=m data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.area}</calcite-tooltip></calcite-action><calcite-action class=${o(a==="point"?"active-tool":"")} .text=${e.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.point}</calcite-tooltip></calcite-action><calcite-action .text=${e.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};h("instant-apps-measurement",l);export{l as InstantAppsMeasurement};
3
+ v1.2.0-next.83 */
4
+ import{a as v}from"./DGSHCJHW.js";import{b as h}from"./T255MT5V.js";import"./5PKJIA6E.js";import"./FQO4QC3U.js";import{F as m,G as u,H as d,J as o,h as n,i as c,r,u as p}from"./ON4YBZIC.js";import"./QGZQM33A.js";var T=n`@layer{.instant-apps-measurement-panel{width:300px}.instant-apps-measurement-panel calcite-action-bar{--calcite-action-bar-items-space: 1.5em}.instant-apps-measurement-panel .esri-coordinate-conversion__conversions-view,.instant-apps-measurement-panel .esri-coordinate-conversion{max-width:300px}}`,$={content:"instant-apps-measurement__content"},l=class extends d{constructor(){super(...arguments),this._messages=v({name:"instant-apps-measurement",blocking:!0}),this.measureTool=m(),this.closable=!1,this.measureActive=r()}static{this.properties={view:0,areaUnit:1,linearUnit:1,coordinateFormat:1,activeToolType:1,closable:5}}static{this.styles=T}static{this.shadowRootOptions=p}_handleToolClick(e){if(!this?.measureTool)return;let a=e?.target;if(!(a instanceof HTMLElement))return;let t=a?.dataset.value;if(t!=="distance"&&t!=="area"&&t!=="point"&&t!=="clear")return;t&&this.measureTool.value&&(this.measureTool.value.activeTool=t);let s=document.getElementsByClassName("active-tool");for(let i=0;i<s?.length;i++)s[i]?.classList?.remove("active-tool");a?.classList.add("active-tool"),this.measureActive.emit(!(t===void 0||t==="clear"))}render(){return c`<calcite-panel class="instant-apps-measurement-panel" .heading=${this._messages.label} .closable=${this.closable}>${this.renderActionBar()}${this.renderMeasureToolPanel()}</calcite-panel>`}renderMeasureToolPanel(){let{view:e,coordinateFormat:a,areaUnit:t,linearUnit:s,activeToolType:i}=this;return c`<calcite-panel class=${o($.content)}><instant-apps-measurement-tool .view=${e} .measureConfiguration=${{coordinateFormat:a,areaUnit:t,linearUnit:s,activeToolType:i}} .activeTool=${this.activeToolType} ${u(this.measureTool)}></instant-apps-measurement-tool></calcite-panel>`}renderActionBar(){let{_messages:e,activeToolType:a}=this;return c`<calcite-action-bar expand-disabled selection-appearance=highlight slot=action-bar><calcite-action class=${o(a==="distance"?"active-tool":"")} .text=${e.line} scale=m icon=measure data-value=distance @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.line}</calcite-tooltip></calcite-action><calcite-action class=${o(a==="area"?"active-tool":"")} .text=${e.area} icon=measure-area scale=m data-value=area @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.area}</calcite-tooltip></calcite-action><calcite-action class=${o(a==="point"?"active-tool":"")} .text=${e.point} scale=m icon=pin-plus data-value=point @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.point}</calcite-tooltip></calcite-action><calcite-action .text=${e.clear} scale=m icon=trash data-value=clear @click=${this._handleToolClick}><calcite-tooltip overlay-positioning=fixed close-on-click placement=top slot=tooltip>${e.clear}</calcite-tooltip></calcite-action></calcite-action-bar>`}};h("instant-apps-measurement",l);export{l as InstantAppsMeasurement};
@@ -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.81 */
4
- import d from"./U5IQMMUS.js";import c from"./577UZC43.js";import b from"./IBOVZJFD.js";import a from"./J426IZBD.js";import{a as X}from"./IIA4DNL2.js";import{b as Pe}from"./RFPZ3WKZ.js";import"./G5YUC4KK.js";import{G as Se,H as Ie,J as w,K as E,h as Ee,i as L,j as me,l as de,u as ze}from"./XKPM35E6.js";import{b as st,d as lt}from"./K2X7RYXL.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media(min-width:992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:le.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return le.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,d)
3
+ v1.2.0-next.83 */
4
+ import d from"./M6TJNQAA.js";import c from"./SSTRSKFG.js";import b from"./3MNISPPF.js";import a from"./3BZYSMLP.js";import{a as X}from"./PCY2EQA2.js";import{b as Pe}from"./T255MT5V.js";import"./FQO4QC3U.js";import{G as Se,H as Ie,J as w,K as E,h as Ee,i as L,j as me,l as de,u as ze}from"./ON4YBZIC.js";import{b as st,d as lt}from"./QGZQM33A.js";export default $arcgis.t(([Ye,D,le,ct,,,{a:U,b:G},{a:Te,b:fe,d:Fe,e:Me,f:ye,g:He,i:Be,o:ve,s:Ue,t:Q,u:$e,v:De,w:qe}])=>{var Ge=st((pe,We)=>{(function(b,t){typeof pe=="object"&&typeof We<"u"?t(pe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(pe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},u=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},h=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(u(e[l],i))return l}return-1},$=function(e,i,n,l){var p=e[i];if(p.vnodeSelector!==""){var c=p.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(u(d,p))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(p.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:p}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],k=!1,z=function(e){(e.children||[]).forEach(z),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},S=function(){k=!1,x.forEach(z),x.length=0},I=function(e){x.push(e),k||(k=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(S,{timeout:16}):setTimeout(S,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function q(e){return!M.includes(e)}var te=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,p=Object.keys(i).filter(q),c=p.length,A=0;A<c;A++){var f=p[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")ie(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),C=v.length,y=0;y<C;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var H=Object.keys(d),T=H.length,y=0;y<T;y++){var K=H[y],N=d[K];N&&(h(N),n.styleApplyer(e,K,N))}else if(f==="on"&&d)for(var re=0,se=Object.entries(i.on);re<se.length;re++){var ce=se[re],Y=ce[0],W=ce[1],j=typeof W=="function"?W:W.listener;l&&(j=l(Y,j,e,i)),j&&e.addEventListener(Y,j,typeof W=="function"?void 0:W.options)}else if(f!=="key"&&d!==null&&d!==void 0){var oe=typeof d;oe==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):oe==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Z=function(e,i,n){if(i)for(var l=0,p=i;l<p.length;l++){var c=p[l];F(c,e,void 0,n)}},B=function(e,i,n){Z(e,i.children,n),i.text&&(e.textContent=i.text),te(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var p,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var C=f.charAt(v);if(v===f.length||C==="."||C==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((p=e.properties)===null||p===void 0)&&p.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}B(c,e,l)}},J,ie=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},ue=function(e,i,n,l){if(n){for(var p=!1,c=Object.keys(n).filter(q),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],C=i[d];if(d==="class")C!==v&&(ie(e,C,!1),ie(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),H=m.length,T=0;T<H;T++){var K=m[T],N=!!v[K],re=!!C[K];N!==re&&(p=!0,N?y.add(K):y.remove(K))}else if(d==="styles")for(var se=Object.keys(v),ce=se.length,T=0;T<ce;T++){var Y=se[T],W=v[Y],j=C[Y];W!==j&&(p=!0,W?(h(W),l.styleApplyer(e,Y,W)):l.styleApplyer(e,Y,""))}else if(!v&&typeof C=="string"&&(v=""),d==="value"){var oe=e[d];oe!==v&&v!==C&&(e[d]=v),v!==C&&(p=!0)}else if(v!==C){var Re=typeof v;(Re!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Re==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),p=!0)}}return p}},Oe=function(e,i,n,l,p){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,C=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&u(y,m))C=J(y,m,p,i,n)||C,f++;else{var H=_(n,m,f+1);if(H>=0){for(v=f;v<H;v++)R(n[v]),$(n,v,e,"removed");C=J(n[H],m,p,i,n)||C,f=H+1}else F(m,i,f<c?n[f].domNode:void 0,p),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return C};J=function(e,i,n,l,p){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[p.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=ue(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ne=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,J(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},O=function(e){return r(Ne,e)},ae={create:function(e,i){return i=O(i),F(e,document.createElement("div"),void 0,i),ne(e,i)},append:function(e,i,n){return n=O(n),F(i,e,void 0,n),ne(i,n)},insertBefore:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),ne(i,n)},merge:function(e,i,n){return n=O(n),i.domNode=e,B(e,i,n),ne(i,n)},replace:function(e,i,n){return n=O(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ne(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},Ce=function(e,i,n){for(var l=0,p=i.length;l<p;l++){var c=i[l];Array.isArray(c)?Ce(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,p;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(p=[],Ce(e,n,p),p.length===0&&(p=void 0)),{vnodeSelector:e,properties:i,children:p,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},he;Array.prototype.find?he=function(e,i){return e.find(i)}:he=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?he(n.children,function(p){return p.domNode===l}):void 0}),n},it=function(e,i,n){return function(p,c,A,f){return l};function l(p){var c,A;n("domEvent",p);var f=i(),d=et(p.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var C;if(v){var y=(A=(c=v.properties["on".concat(p.type)])!==null&&c!==void 0?c:v.properties.on[p.type].listener)!==null&&A!==void 0?A:v.properties.on[p.type];C=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",p),C}},nt=function(e){var i,n=O(e),l=n.performanceLogger,p=!0,c,A=!1,f=[],d=[],v=function(y,m,H){var T,K=function(){return T};n.eventHandlerInterceptor=it(i,K,l),T=y(m,H(),n),f.push(T),d.push(H)},C=function(){if(c=void 0,!!p){p=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),p=!0}};return i={renderNow:C,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(C))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,p=!0,i.scheduleRender()},append:function(y,m){v(ae.append,y,m)},insertBefore:function(y,m){v(ae.insertBefore,y,m)},merge:function(y,m){v(ae.merge,y,m)},replace:function(y,m){v(ae.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var p=0;p<n.length;p++)e[p]!==n[p]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],p=[];return{results:p,map:function(c){for(var A=c.map(e),f=p.slice(),d=0,v=0;v<c.length;v++){var C=c[v],y=A[v];if(y===l[d])p[v]=f[d],n(C,f[d],v),d++;else{for(var m=!1,H=1;H<l.length+1;H++){var T=(d+H)%l.length;if(l[T]===y){p[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(p[v]=i(C,v))}}p.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ae,b.h=Ve}))});var Xe=lt(Ge(),1);var ot=96;function ee(b){return b?b/72*ot:0}var dt=(0,Xe.createProjector)(),Qe=10,Ae=20,ge=10,xe=20,ke={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function ft(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${me`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${me`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function vt(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${Ae}px`,s.className=ke.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),dt.append(s,ft.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=vt(t,s);else{let{size:u}=a,h=ee(u)+(s==="horizontal"?xe:ge),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=ke.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${h}px`):$&&($.style.height=`${h}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Je(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(ee(o)+ge)/2:(ee(o)-ee(a))/2}function be(b,t){if(!b)return null;let s=b.infos.map(a=>a.color),o=Ye.renderColorRampPreviewHTML(t.type==="full"?s:t.type==="above"?s.slice(0,3):s.slice(2,5),{width:t.width,height:t.height,align:t.rampAlignment,effectList:t.effectList});return o.className=ke.colorRamp,t.opacity!=null&&(o.style.opacity=t.opacity.toString()),o}function pt(b,t,s,o="vertical"){let a=0,r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u;for(let $=h;$<=_;$++)if(s&&$===u)a+=o==="horizontal"?Qe:Ae;else{let P=r[$].size,x=ee(P)+(o==="horizontal"?xe:ge);a+=x}return Math.round(a)}function we(b,t,s,o="vertical"){let a=pt(b,t,s,o),r=b.infos,u=Math.floor(r.length/2),h=t==="full"||t==="above"?0:u,_=t==="full"||t==="below"?r.length-1:u,$=t==="full"?r[h].size+r[_].size:t==="above"?r[h].size:r[_].size,P=s?o==="vertical"?Ae:Qe:0,x=o==="vertical"?ge*(t==="full"?2:1):xe*(t==="full"?2:1);return Math.round(a-(ee($)/2+P/2+x/2))}function gt(b,t,s="vertical"){let o=b.infos,a=o.find(({type:u})=>u==="size-ramp"),r=o.find(({type:u})=>u==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function ut(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function ht(b,t){return!0}var mt=Ee`@layer{instant-apps-interactive-legend-classic{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var( --calcite-color-text-1 );--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var( --calcite-color-text-2 );--instant-apps-interactive-legend-secondary-background-color: var( --calcite-color-background );--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}instant-apps-interactive-legend-classic .esri-legend__service{padding:0}instant-apps-interactive-legend-classic .esri-legend__layer-body,instant-apps-interactive-legend-classic .esri-legend__layer,instant-apps-interactive-legend-classic .esri-legend__layer-table,instant-apps-interactive-legend-classic .esri-legend__group-layer-child,instant-apps-interactive-legend-classic .esri-legend__layer-child-table{margin:0;overflow:hidden}instant-apps-interactive-legend-classic .esri-legend__layer-caption calcite-action{margin-right:5px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}instant-apps-interactive-legend-classic .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}instant-apps-interactive-legend-classic .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}instant-apps-interactive-legend-classic .esri-legend__layer-cell,instant-apps-interactive-legend-classic .esri-legend__layer-row{display:flex;align-items:center}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}instant-apps-interactive-legend-classic .esri-legend__layer-cell--symbols{justify-content:center;width:20%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{width:65%}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}instant-apps-interactive-legend-classic .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}instant-apps-interactive-legend-classic .esri-legend__layer-row,instant-apps-interactive-legend-classic .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{position:relative}instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}instant-apps-interactive-legend-classic .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media(min-width:992px){instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}instant-apps-interactive-legend-classic .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}}`,g={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},yt=24,Ke={display:"flex",alignItems:"flex-start"},_e={marginLeft:"3px"},V={display:"table-cell",verticalAlign:"middle"},Le=class extends Ie{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=mt}static{this.shadowRootOptions=ze}connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=new ct)}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&De(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await D.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async h=>await h.load()),a=(await Promise.allSettled(o)).map(h=>h?.status==="fulfilled"&&h?.value?h.value:null).filter(h=>!!h),r=[];a.forEach(h=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(h))}),await Promise.allSettled(r);let u=await fe(this.legendvm);G.set("data",{...U.data,...u}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:le.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return le.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:u}=t,h=this.messages[r],_=typeof this.messages[u]=="string"?this.messages[u]:u;return`${h}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?le.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(u=>{console.error(u)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(D?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(u=>{console.error(u)})}),r)}),this.handles?.add(D.when(()=>this.legendvm,()=>{D.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,D.when(()=>!this.legendvm?.view?.updating,()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(D.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(D.on(()=>a.children,"change",()=>{fe(this.legendvm).then(r=>{G.set("data",{...U.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(D.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{ve(this.legendvm,U.data).then(a=>{G.set("data",{...U.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=G.get("data")?.[t?.id],o=qe(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Te(this.legendvm,o);if($e({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await ve(this.legendvm,U.data);G.set("data",{...U.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...U.data?.[s?.id]};a?await ye(r,t,o,this.filterMode,a):await ye(r,t,o,this.filterMode),$e({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=G.get("compact")?` ${g.compact}`:"";return this.isLoading?X("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):X("interactive-legend-classic-container",L`<div class=${`${Q(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(g.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,u)=>this.renderLegendForElement(r,t.layer,t.effectList,t,u)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Q(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(g.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,u,h){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,k=Be(a,t,r),z=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,q)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,q,k,h)).filter(M=>!!M);R.length&&(x=L`<div class=${w(g.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(z)x=X("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Q(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let S=t.title,I=null;if(typeof S=="string")I=S;else if(S){let R=S,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in S&&(I=`${S.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Q(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!u} .isColorRamp=${_} .isRelationshipRamp=${z} .isInteractive=${k} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=gt(t,s);if(!a)return null;let u=we(a,"above",!0),h=we(a,"below",!0),_=12,$=be(r,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=be(r,{width:_,height:h,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Je(a),k=a.infos.map(B=>B.label),z=k.map((B,F)=>F===0?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:F===2?L`<div></div>`:null),S=k.length-1,I=Math.floor(k.length/2),R=k.map((B,F)=>F===I||F===S?L`<div class=${w(B?$?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${B}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},q={marginTop:`${x}px`},te={height:`${u}px`},Z={height:`${h}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map((B,F)=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(M)} .innerHTML=${B?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(g.layerInfo)}>${k[F]}</div>`:null}</div>`)}</div>${$?X("color-ramp-preview",L`<div style=${E(q)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(te)}>${z}</div></div></div><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${P}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(Z)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ut(t);if(!a)return null;let u=Je(a),h=12,_=we(a,"full",!1),$=be(r,{width:h,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?g.univariateAboveAndBelowLabel:g.rampLabel:"")}>${I.label}</div>`:null),k={display:"table-cell",verticalAlign:"middle"},z={marginTop:`${u}px`},S={height:`${_}px`};return X("univariate-above-and-below-ramp-preview",L`<div style=${E(Ke)}><div class=${w(g.layerBody)}>${a.infos.map(I=>L`<div class=${`${g.layerRow} ${g.sizeRamp}`}><div class=${w(g.symbol)} style=${E(k)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${X("color-ramp-preview",L`<div style=${E(z)}><div style=${E(_e)}><div style=${E(V)}><div class=${w(g.rampContainer)}>${$}</div></div><div style=${E(V)}><div class=${w(g.rampLabelsContainer)} style=${E(S)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",u=t.type==="stretch-ramp",h=t.preview,_=a?g.opacityRamp:"";h&&(h.classList.add(g.colorRamp),_&&h.classList.add(_)),s!=null&&h&&(h.style.opacity=s.toString());let $=o.map(k=>{let z;if(r){let S=this.messages[k.label];z=typeof S=="string"?S:k.label}else u?z="value"in k?this.getStretchStopLabel(k):k.label:z=k.label;return L`<div class=${w(k.label?g.rampLabel:"")}>${z}</div>`}),P={width:`${yt}px`},x={height:h?.style?.height};return L`<div class=${w(g.layerRow)}><div class=${w(g.symbolContainer)} style=${E({...P})}><div class=${w(g.rampContainer)} ${Se(k=>{k?.firstChild&&k?.firstChild?.remove(),k?.appendChild(h)})}></div></div><div class=${w(g.layerInfo)}><div class=${w(g.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,u,h,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,u,h,!0,t);let x=null,k=!ht(s,r.type);if("preview"in t){let{outerHTML:J}=t.preview;x=L`<div class=${w(g.symbol)} .innerHTML=${J??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,k));if(!x)return null;let z="",S=a?` ${g.sizeRamp}`:"",I,R=Me(s),M=Ue(R,P);if(U.data){let J=Fe(R,s,t,M,_),ie=M?M?.nestedInfos:R,ue=He(ie);I=R?.categories?.size===1?!J?.selected:ue||J?.selected}let q="label"in t?t.label:null,te=M&&!("value"in t)?!1:$,Z=G.get("compact"),B=this.getTitle(q,!1)||"",F=M?r.title:q??s?.id;return te?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${g.layerRow} ${g.interactiveLayerRow}${I?` ${g.infoSelected}`:""}`} title=${(Z?`${B}`:void 0)??de} .ariaPressed=${I?"true":"false"}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${this.getTitle(q,!1)||""}</div>${this.featureCount&&!Z?L`<instant-apps-interactive-legend-count class=${w(Q(this.el))} .categoryId=${F} .activeLayerInfo=${u} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(g.layerRow)}><div class=${`${g.symbolContainer}${z}${S}`}>${x}</div><div class=${`${g.layerInfo}${z}`}>${B}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:u}=t,h=o?` ${g.imageryLayerStretchedImage}`:"",_=o?"":` ${g.symbol}`,$={opacity:`${u??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??de} src=${r??de} width=${t.width} height=${t.height} class=${`$${h}${_}`} style=${E($)}>`}};Pe("instant-apps-interactive-legend-classic",Le);return Le},"symbols/support/symbolUtils","core/reactiveUtils","intl","core/Handles",a,b,c,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.81 */
4
- import"./K2X7RYXL.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
3
+ v1.2.0-next.83 */
4
+ import"./QGZQM33A.js";var a="Sinulla ei ole riitt\xE4v\xE4sti krediittej\xE4 t\xE4m\xE4n toiminnon toteuttamiseen. Pyyd\xE4 apua ArcGIS-j\xE4rjestelm\xE4n p\xE4\xE4k\xE4ytt\xE4j\xE4lt\xE4.",t="T\xE4m\xE4 ty\xF6kalu on julkaistu muistikirjasta. Organisaatiosi ArcGIS Notebooks -k\xE4ytt\xF6oikeus on ev\xE4tty. Ota yhteys p\xE4\xE4k\xE4ytt\xE4j\xE4\xE4n asetuksen muuttamista varten.",e="Kohteessa ${ dataPath } ei saa olla kohdetta ${ additionalProperty }.",i="Kohteen ${ dataPath } on vastattava jotakin n\xE4ist\xE4 skeemoista: ${ schemaOptions }.",s="Yrit\xE4 tallentaa kartta uudelleen.",o="Krediitin arviointi ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja arvioi krediitit uudelleen.",n="Analyysia suorittaessa tapahtui virhe.",r="Kohteen ${ dataPath } tulee olla yht\xE4 suuri kuin jokin n\xE4ist\xE4 sallituista arvoista: ${ allowedValues }.",l="Analyysihistorian tallennus ep\xE4onnistui",u="Historian tallennustila on t\xE4ynn\xE4. Poista joitain kohteita analyysihistoriasta ja yrit\xE4 tallentaa uudelleen.",d="Palvelun nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin.",k="Tilap\xE4isen karttatason tallennusta is\xE4nn\xF6ityn\xE4 karttatasona ei suoritettu loppuun.",m="Avainominaisuuksien nouto ep\xE4onnistui.",y="Karttatason lataus ep\xE4onnistui.",h="Karttataso ei ole k\xE4ytett\xE4viss\xE4.",v="Kohteessa ${ dataPath } ei saa olla yli ${ limit } kohdetta.",c="Mallia tallennettaessa tapahtui virhe. Yrit\xE4 tallentaa uudelleen.",p="Kohteessa ${ dataPath } ei saa olla alle ${ limit } kohdetta.",P="${ dataPath } ei saa olla alle ${ limit } merkki\xE4 pitk\xE4.",E="Mallikohteen lataus ep\xE4onnistui. Varmista, ett\xE4 malli on olemassa ja ett\xE4 k\xE4ytt\xF6oikeus on my\xF6nnetty.",j="Pyynn\xF6n suorittaminen ep\xE4onnistui.",S="Sinulla ei ole t\xE4m\xE4n ty\xF6kalun suoritusoikeutta. <calcite-link target='_blank' href='${ docLink }'>Lis\xE4tietoja</calcite-link>",T="Portaaliin kirjautuminen ep\xE4onnistui.",$="L\xE4ht\xF6tietojen luku ep\xE4onnistui.",f="Kohteesta ${ dataPath } puuttuu ominaisuus ${ missingProperty }.",F="T\xE4m\xE4n niminen tuloskarttataso on jo olemassa. Tuloskarttatasot on nimett\xE4v\xE4 yksil\xF6llisesti koko organisaatiossa. K\xE4yt\xE4 toista nime\xE4.",I="Tulosaineiston nimi sis\xE4lt\xE4\xE4 v\xE4hint\xE4\xE4n yhden virheellisen merkin. <a href='${docLink}' target='_blank'>Lue lis\xE4\xE4.</a>",L="Tilap\xE4isen karttatason julkaiseminen is\xE4nn\xF6ityn\xE4 karttatasona ei onnistunut v\xE4hint\xE4\xE4n yhden virheellisen kent\xE4n vuoksi. Suorita ty\xF6kalu uudelleen, jos haluat luoda karttatason kelvollisilla kentill\xE4.",K="Ty\xF6n l\xE4hetys ep\xE4onnistui. Vierit\xE4 alas, korjaa virheet ja suorita analyysi uudelleen.",V="Kohteessa ${ dataPath } on oltava v\xE4hint\xE4\xE4n yksi muu kuin v\xE4limerkki.",g={InsufficientCreditsError:a,accessBlocked:t,additionalProperty:e,anyOfValues:i,cannotWriteToItemResource:s,creditEstimationError:o,defaultError:n,enumValues:r,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:k,keyPropertiesError:m,layerLoadFailure:y,layerUnavailable:h,maxItems:v,mbFailedToSave:c,minItems:p,minLength:P,modelNotFound:E,networkError:j,noPermissionToAccessTool:S,portalLoadError:T,queryFeaturesError:$,requiredProperty:f,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:K,whiteSpacePattern:V};export{a as InsufficientCreditsError,t as accessBlocked,e as additionalProperty,i as anyOfValues,s as cannotWriteToItemResource,o as creditEstimationError,g as default,n as defaultError,r as enumValues,l as failedToSaveHistory,u as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,k as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,y as layerLoadFailure,h as layerUnavailable,v as maxItems,c as mbFailedToSave,p as minItems,P as minLength,E as modelNotFound,j as networkError,S as noPermissionToAccessTool,T as portalLoadError,$ as queryFeaturesError,f as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,K as toolValidationError,V as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import"./K2X7RYXL.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.83 */
4
+ import"./QGZQM33A.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import"./K2X7RYXL.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.2.0-next.83 */
4
+ import"./QGZQM33A.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -1,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.81 */
4
- import{a as E}from"./G5YUC4KK.js";import{o as m,p as h,t as v}from"./XKPM35E6.js";export default $arcgis.t(([{on:B,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},Y=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},T=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return T},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
3
+ v1.2.0-next.83 */
4
+ import{a as E}from"./FQO4QC3U.js";import{o as m,p as h,t as v}from"./ON4YBZIC.js";export default $arcgis.t(([{on:B,watch:f},{createObservable:x,trackAccess:w},{property:C,subclass:b},g])=>{var u=class extends v{constructor(t,n){super(t),this.Y=new Map,this.A=void 0,this.#o=x();let e=this;e.#e=n,e.Z(),e.setProvisionalExports(P(t,new WeakRef(e),t.M.length-1,e.instance,e.Y),!1),m(t,o=>{if(o){let c=f(()=>t[o],r=>{if(r===e.instance)return;let i=e.instance;e.exports=r,e.instance=r,e.Y.forEach((a,l)=>t.requestUpdate(a,i[l])),e.#t&&i.destroy(),e.#t=!1},{sync:!0});e.onDestroy(c.remove)}},e.exports)}#t;#o;#e;get exports(){return w(this.#o),super.exports}set exports(t){super.exports=t,this.#o.notify()}Z(){let t=this;t.instance="prototype"in t.#e&&"declaredClass"in t.#e.prototype?new t.#e:t.#e(),t.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},Y=E(u),P=(s,t,n,e,o)=>new Proxy(e,{get:(c,r)=>{let i=c[r];if(typeof r=="symbol"||o.has(r))return i;let a=s.M[n];return a.A=r,h(s,l=>{if(a.A=void 0,l!==void 0){let p=l.key;o.set(r,p);let d=s.constructor.getPropertyOptions(p),y=r!==p&&p.toLowerCase().includes("disable");k(t,d,r,p,y),d.i===void 0&&A(d,n,r,y)}},i)}}),k=(s,t,n,e,o,c)=>c=f(()=>{let r=s.deref();return r===void 0||r.component.manager.destroyed?c=c.remove():r.exports[n]},(r,i)=>{if(!c)return;s.deref().component?.requestUpdate(e,o?!i:i),t.c=!1},{sync:!0}),A=(s,t,n,e)=>{s.d.get=function(){let o=this.M[t]?.exports[n];return e?!o:o},s.d.set=function(o){let c=this.M[t];c.A!==n&&(c.exports[n]=e?!o:o)}};var O=s=>{let t=class extends g{},n=typeof s=="function"?s():s,e=Object.getOwnPropertyDescriptors(n);for(let[c,r]of Object.entries(e))Object.defineProperty(t.prototype,c,r),C()(t.prototype,c);let o=b()(t);return new o},T=s=>{let t=typeof s=="function"?s():s,n=O(t);return{state:n,get:e=>n[e],set:(e,o)=>n.set(e,o),onChange:(e,o)=>f(()=>n[e],c=>o(c),{sync:!0}).remove}};return T},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
@@ -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.81 */
4
- import{a as w}from"./7MXPBADK.js";import{a as W,b as H}from"./CJ2WXEBZ.js";import{d as N,g as B,h as V,i as X}from"./7U2IJZ5S.js";import"./F3KT7745.js";import{b as S,d as C,f as R}from"./4PQXEGJ7.js";import{a as F}from"./VCS3DJT7.js";import{a as Y}from"./ZDCMUR3D.js";import{a as J}from"./T6A3X33Q.js";import{b as h,c as E}from"./WLBDEAWL.js";import{m as u,p as T}from"./H4R3LN2J.js";import"./HTOXCBGV.js";import"./26FHEYQJ.js";import"./ZSVSJVF3.js";import{i as j}from"./WYATJDNR.js";import"./LO5DECJQ.js";import{a as m,c as M,e as P,i as l}from"./XHSFL6RF.js";import"./QQHURDY2.js";import"./WSQ4PWAE.js";import"./Z43PC3MT.js";import{a as A,b as O}from"./22I52HCB.js";import{s as L}from"./XEUTCC7L.js";import"./HM44KGTZ.js";import"./6PJ7WANN.js";import{a as f}from"./YK73LLPR.js";import"./BWQAKOA5.js";import"./XH34VJX7.js";import{b as g}from"./EE2GWCUV.js";import"./K2X7RYXL.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
3
+ v1.2.0-next.83 */
4
+ import{a as w}from"./6FQFEWNE.js";import{a as W,b as H}from"./N7TPSDQL.js";import{d as N,g as B,h as V,i as X}from"./FIGQYCIL.js";import"./SYPYKDJS.js";import{b as S,d as C,f as R}from"./Z7QIEDCB.js";import{a as F}from"./FFTXBGLZ.js";import{a as Y}from"./WEWDJFR6.js";import{a as J}from"./J2NJK2VV.js";import{b as h,c as E}from"./E4ZNYWSE.js";import{m as u,p as T}from"./MXD4C7ZC.js";import"./6UL2US2L.js";import"./TQKELAJE.js";import"./3TIB2UVP.js";import{i as j}from"./YGOJVAPT.js";import"./AORP6D63.js";import{a as m,c as M,e as P,i as l}from"./224VM3AU.js";import"./72N7FNKL.js";import"./OX4JSD2P.js";import"./6GXB4NOC.js";import{a as A,b as O}from"./APGWSEA7.js";import{s as L}from"./5UR7IQI2.js";import"./YDG55TUM.js";import"./YGZ6AV4V.js";import{a as f}from"./QCS7ERBZ.js";import"./VY6ZNOXV.js";import"./XJTQD4E3.js";import{b as g}from"./Z3A7BREF.js";import"./QGZQM33A.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey||"",t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:j(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:A},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},O),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=F(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import{a}from"./JTDMSYNC.js";import"./WYATJDNR.js";import"./LO5DECJQ.js";import"./XHSFL6RF.js";import"./QQHURDY2.js";import{a as s,b as r}from"./KVE5OH53.js";import"./WSQ4PWAE.js";import"./Z43PC3MT.js";import"./22I52HCB.js";import{a as o}from"./7WKBUH6C.js";import{a as i}from"./3RX2JQ27.js";import"./XEUTCC7L.js";import"./HM44KGTZ.js";import"./6PJ7WANN.js";import"./YK73LLPR.js";import"./BWQAKOA5.js";import"./JES7YBJK.js";import"./QAXQ5SRX.js";import"./NI6ASH26.js";import"./UPKL36N7.js";import"./KD7TBMC5.js";import"./DNKFSXWY.js";import"./PGMGGZTF.js";import"./APJW3N36.js";import"./363WGXYQ.js";import"./E2WPG5HZ.js";import"./ELGK7AWW.js";import"./XH34VJX7.js";import"./3AG7SWBZ.js";import"./KYNB7PW7.js";import"./ZKIMM3LB.js";import"./TFWSBZ23.js";import"./6SV337ZT.js";import"./YY5NSXOF.js";import"./QPLAP7VQ.js";import"./NQHBNV32.js";import"./5OPRR6KD.js";import"./EE2GWCUV.js";import"./C2FNZM6D.js";import"./K2X7RYXL.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
3
+ v1.2.0-next.83 */
4
+ import{a}from"./MRKWAHPL.js";import"./YGOJVAPT.js";import"./AORP6D63.js";import"./224VM3AU.js";import"./72N7FNKL.js";import{a as s,b as r}from"./RUWNRBA6.js";import"./OX4JSD2P.js";import"./6GXB4NOC.js";import"./APGWSEA7.js";import{a as o}from"./ZOQK5THP.js";import{a as i}from"./NNVBH5RX.js";import"./5UR7IQI2.js";import"./YDG55TUM.js";import"./YGZ6AV4V.js";import"./QCS7ERBZ.js";import"./VY6ZNOXV.js";import"./DJL6ZIKT.js";import"./O3JD4ZCK.js";import"./ZX2JRLZR.js";import"./3GFVYJ2N.js";import"./WGHY5LGA.js";import"./GKPIGYGE.js";import"./YDUAQE3Q.js";import"./3LFKICMU.js";import"./XKUKQCAO.js";import"./LH4THDSE.js";import"./I7DMCC7M.js";import"./XJTQD4E3.js";import"./L7QWQQAY.js";import"./QQIMGXAB.js";import"./E6CAJAFP.js";import"./S47H27R2.js";import"./ILEALHG5.js";import"./MH3UFEOS.js";import"./3I3LPUKN.js";import"./Q77HM64Z.js";import"./AB2RHFJW.js";import"./Z3A7BREF.js";import"./72T3YDOR.js";import"./QGZQM33A.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c 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.81 */
4
- import{a as e}from"./5OPRR6KD.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
3
+ v1.2.0-next.83 */
4
+ import{a as e}from"./AB2RHFJW.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r 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.81 */
4
- import{a as e}from"./5OPRR6KD.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
3
+ v1.2.0-next.83 */
4
+ import{a as e}from"./AB2RHFJW.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import"./K2X7RYXL.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.2.0-next.83 */
4
+ import"./QGZQM33A.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,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.81 */
4
- import e from"./YTYJBZPT.js";import b from"./TX7RKOAM.js";import a from"./INTRL2EQ.js";import"./Y5YXH7BK.js";import"./V4N2RW34.js";import{a as m}from"./TSRD3U5E.js";import"./X74IHVQL.js";import"./G5YUC4KK.js";import"./PBJX7ILC.js";import"./7U2IJZ5S.js";import"./F3KT7745.js";import"./4PQXEGJ7.js";import"./ZDCMUR3D.js";import"./H4R3LN2J.js";import"./26FHEYQJ.js";import"./WYATJDNR.js";import"./LO5DECJQ.js";import"./XHSFL6RF.js";import"./QQHURDY2.js";import"./Z43PC3MT.js";import"./22I52HCB.js";import"./XEUTCC7L.js";import"./HM44KGTZ.js";import"./6PJ7WANN.js";import"./YK73LLPR.js";import"./BWQAKOA5.js";import"./XH34VJX7.js";import{b as g}from"./JYJLV6EH.js";import{F as c,G as p,H as f,J as n,h,i as r,r as s,u as d}from"./XKPM35E6.js";import"./K2X7RYXL.js";export default $arcgis.t(([w,a,,,{e:u}])=>{var y=h`@layer{
3
+ v1.2.0-next.83 */
4
+ import e from"./APWVOQ5H.js";import b from"./I4XJ5KAX.js";import a from"./5STXQ2OS.js";import"./HTTY2O75.js";import"./E4NO7FPH.js";import{a as m}from"./I4K4JDLZ.js";import"./5PKJIA6E.js";import"./FQO4QC3U.js";import"./LM7W62ZA.js";import"./FIGQYCIL.js";import"./SYPYKDJS.js";import"./Z7QIEDCB.js";import"./WEWDJFR6.js";import"./MXD4C7ZC.js";import"./TQKELAJE.js";import"./YGOJVAPT.js";import"./AORP6D63.js";import"./224VM3AU.js";import"./72N7FNKL.js";import"./6GXB4NOC.js";import"./APGWSEA7.js";import"./5UR7IQI2.js";import"./YDG55TUM.js";import"./YGZ6AV4V.js";import"./QCS7ERBZ.js";import"./VY6ZNOXV.js";import"./XJTQD4E3.js";import{b as g}from"./ARGTZCKB.js";import{F as c,G as p,H as f,J as n,h,i as r,r as s,u as d}from"./ON4YBZIC.js";import"./QGZQM33A.js";export default $arcgis.t(([w,a,,,{e:u}])=>{var y=h`@layer{
5
5
  /** @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.81 */
4
- import{a as e,b as t}from"./363WGXYQ.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
3
+ v1.2.0-next.83 */
4
+ import{a as e,b as t}from"./XKUKQCAO.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p 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.81 */
3
+ v1.2.0-next.83 */
4
4
  export default $arcgis.t(([i])=>{async function J(o,y,a){let e=y?.layer;if(!o)return e?.effect?e.effect:e?.featureEffect?a==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=new i({includedEffect:o}).toJSON().includedEffect,u=n,s=e.effect,h=e.featureEffect,l=null;h?l=a==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=s;let p=l?n:null;if(!p)return i.fromJSON({includedEffect:n}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:r}=t;if(r)r.forEach((E,c)=>{E.type===d.type?r[c]=d:!t.value.find(m=>m.type===u[0].type)&&(t.value=[...t.value,...u])});else{let E=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),E&&(f=[...f,t])}})}),i.fromJSON({includedEffect:f}).includedEffect}return J},"layers/support/FeatureEffect")