@arcgis/map-components 5.0.0-next.76 → 5.0.0-next.78

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 (412) hide show
  1. package/dist/cdn/{L53GRZM6.js → 2E76AFQV.js} +2 -2
  2. package/dist/cdn/{3VCTLMCV.js → 2HCJDB5T.js} +2 -2
  3. package/dist/cdn/{77PDHJ5W.js → 2NKYGZSQ.js} +2 -2
  4. package/dist/cdn/{OLVHALLW.js → 2PSJTMEU.js} +2 -2
  5. package/dist/cdn/{R73S4IXD.js → 2RHMFHZB.js} +2 -2
  6. package/dist/cdn/{QA7RE3Q2.js → 2UFZFZDH.js} +2 -2
  7. package/dist/cdn/{IPUTSIS5.js → 2YNV46PY.js} +2 -2
  8. package/dist/cdn/{PZPWHGMB.js → 33N4XLUK.js} +2 -2
  9. package/dist/cdn/{GF2YKM7P.js → 3B2WQABB.js} +2 -2
  10. package/dist/cdn/{CLDQAAKH.js → 3B6GA3V7.js} +2 -2
  11. package/dist/cdn/{CJIYW2O5.js → 3C5TFFP4.js} +2 -2
  12. package/dist/cdn/{XJEMIDNJ.js → 3JKTRS6J.js} +2 -2
  13. package/dist/cdn/{5LAC5UI6.js → 3OVZISSI.js} +2 -2
  14. package/dist/cdn/{M3L3J7MW.js → 44EWMBV5.js} +2 -2
  15. package/dist/cdn/{C3MYPN5S.js → 4APAGO7A.js} +2 -2
  16. package/dist/cdn/{TXJXYEYI.js → 4E6Z3YI3.js} +2 -2
  17. package/dist/cdn/{UTETCPBK.js → 4EWFY27N.js} +2 -2
  18. package/dist/cdn/{5WW7EFGT.js → 4HWQRAEY.js} +2 -2
  19. package/dist/cdn/{XHM2PBKY.js → 4JKFHFTV.js} +2 -2
  20. package/dist/cdn/{K6WAVNZG.js → 4LU7LLKK.js} +2 -2
  21. package/dist/cdn/{GF26GKZK.js → 4N42B6VD.js} +2 -2
  22. package/dist/cdn/{B36SDP6B.js → 4QUYSX2Y.js} +2 -2
  23. package/dist/cdn/{KDRFZZDQ.js → 4RNYXM6N.js} +2 -2
  24. package/dist/cdn/{CMNBLY4P.js → 4ZETHYJG.js} +2 -2
  25. package/dist/cdn/{TIXV7HES.js → 546U5XNX.js} +2 -2
  26. package/dist/cdn/{H55SKDNO.js → 56HV6R2X.js} +2 -2
  27. package/dist/cdn/{IPFIEM27.js → 5CCS4EET.js} +2 -2
  28. package/dist/cdn/{CPLYATAV.js → 5DHUBASH.js} +2 -2
  29. package/dist/cdn/{SAXQFDOK.js → 5EVPBMYK.js} +1 -1
  30. package/dist/cdn/{PS7W5LTM.js → 5FSCU6KS.js} +2 -2
  31. package/dist/cdn/{3IUWOYJ5.js → 5MILS376.js} +2 -2
  32. package/dist/cdn/{C27KKCKO.js → 5MS5BJEO.js} +2 -2
  33. package/dist/cdn/{TIJMZ5GG.js → 5TOWW7DT.js} +2 -2
  34. package/dist/cdn/{PJ37UPSB.js → 67HA3FNX.js} +2 -2
  35. package/dist/cdn/{G4ISDXTS.js → 6CBIYNP6.js} +2 -2
  36. package/dist/cdn/{L3YOXZUU.js → 6JBN7TJ3.js} +2 -2
  37. package/dist/cdn/{YJGILT4R.js → 6JPSW5MV.js} +2 -2
  38. package/dist/cdn/{HSMFQV6P.js → 6LIGCQRN.js} +2 -2
  39. package/dist/cdn/{2B3SCRMJ.js → 6UC76AFA.js} +2 -2
  40. package/dist/cdn/{53V7CYOV.js → 6UWAYE74.js} +2 -2
  41. package/dist/cdn/{5UWEGXAQ.js → 6YV2DY2F.js} +2 -2
  42. package/dist/cdn/{NQYTU5YU.js → 77A3VW2N.js} +2 -2
  43. package/dist/cdn/{Z3MS4FAM.js → 7ASJU2WR.js} +2 -2
  44. package/dist/cdn/{QKE7ORLX.js → 7R2OIRSO.js} +2 -2
  45. package/dist/cdn/{64VUIVMM.js → 7RQQDJQ6.js} +2 -2
  46. package/dist/cdn/{VI57TCGO.js → 7WMVC2MG.js} +2 -2
  47. package/dist/cdn/{HWEAJOUU.js → A3DVKKTC.js} +2 -2
  48. package/dist/cdn/A5MDJMWZ.js +4 -0
  49. package/dist/cdn/{STTE33IX.js → AGTU6XHX.js} +2 -2
  50. package/dist/cdn/{CMAV6YDW.js → AJFQBQEJ.js} +2 -2
  51. package/dist/cdn/{ZW5AMTYB.js → AJGQEVVS.js} +2 -2
  52. package/dist/cdn/{F653BVEQ.js → AK5EOOSM.js} +2 -2
  53. package/dist/cdn/{KTXE3L6O.js → AN2VVSHP.js} +2 -2
  54. package/dist/cdn/{DDBRSHC2.js → B3DVHZFX.js} +2 -2
  55. package/dist/cdn/{KOHYLAD2.js → B6Y5QQGB.js} +2 -2
  56. package/dist/cdn/BQGTDCPV.js +4 -0
  57. package/dist/cdn/{MLD25XWV.js → BQIVLUZO.js} +2 -2
  58. package/dist/cdn/{CXM4TBWX.js → BR7RZKUP.js} +1 -1
  59. package/dist/cdn/{4VQXTRNO.js → BRPO4EVV.js} +2 -2
  60. package/dist/cdn/{BARQ6YNG.js → BVBBRZCQ.js} +2 -2
  61. package/dist/cdn/{3XPED6AL.js → C5YYYWQX.js} +2 -2
  62. package/dist/cdn/{KTXOGHXD.js → C7HX6EJ2.js} +2 -2
  63. package/dist/cdn/{PGD7UKOW.js → CBACB6A3.js} +2 -2
  64. package/dist/cdn/{25Y3263G.js → CHZ2PSZM.js} +2 -2
  65. package/dist/cdn/{ACZAPQWQ.js → CK6FEQEP.js} +2 -2
  66. package/dist/cdn/{AEN523TM.js → CPUVZNZO.js} +2 -2
  67. package/dist/cdn/{QTRQHZTW.js → CQUJCKSA.js} +2 -2
  68. package/dist/cdn/{AALMEA4R.js → CU2FGUCU.js} +2 -2
  69. package/dist/cdn/{NOFWYO2R.js → CWDQRMBT.js} +2 -2
  70. package/dist/cdn/{WM7MWGL4.js → DDIGKS6M.js} +2 -2
  71. package/dist/cdn/{NZQOHWSO.js → DIM5JX46.js} +2 -2
  72. package/dist/cdn/{XRXUFPMB.js → DM337MEY.js} +2 -2
  73. package/dist/cdn/{3DS6QDAO.js → DOC5TALG.js} +2 -2
  74. package/dist/cdn/{NU7L4H7T.js → DWYMA2EL.js} +2 -2
  75. package/dist/cdn/{HZ4GV4CE.js → E52GD5VU.js} +2 -2
  76. package/dist/cdn/{XSYRZ32T.js → EKWCZAIC.js} +2 -2
  77. package/dist/cdn/{YL4YXHA2.js → EPVEFOCA.js} +2 -2
  78. package/dist/cdn/{6JO7CRTA.js → EXCNBZE5.js} +2 -2
  79. package/dist/cdn/{SRBJZYQL.js → F735VTJL.js} +2 -2
  80. package/dist/cdn/{KXHI6E3L.js → FCFXRQSY.js} +2 -2
  81. package/dist/cdn/FFZBWBP4.js +4 -0
  82. package/dist/cdn/{737UOMB4.js → FMB56UWX.js} +2 -2
  83. package/dist/cdn/{B3VC2ISS.js → FNR74IIZ.js} +2 -2
  84. package/dist/cdn/{XM3IIZFR.js → FOARB34P.js} +2 -2
  85. package/dist/cdn/{6LYKWYG2.js → FQOJNJCA.js} +2 -2
  86. package/dist/cdn/{YYI6QRH4.js → FSDDLUET.js} +2 -2
  87. package/dist/cdn/{PAY7VXZH.js → G4FY4UE4.js} +2 -2
  88. package/dist/cdn/{TCNI4LN2.js → G5G657TP.js} +2 -2
  89. package/dist/cdn/{UO75T4NW.js → G6NQ5ODC.js} +2 -2
  90. package/dist/cdn/{MLKU7HQ7.js → GBYAVAYF.js} +2 -2
  91. package/dist/cdn/{KJ6TSDCH.js → GC5IOO5H.js} +2 -2
  92. package/dist/cdn/{LOXQ7A2I.js → GCYOVBO2.js} +2 -2
  93. package/dist/cdn/{4SAJBJDU.js → GDJ4Z7O4.js} +2 -2
  94. package/dist/cdn/{E5NAHGEV.js → GIEIBYKL.js} +1 -1
  95. package/dist/cdn/{G2EH4DBF.js → GIPUL2MU.js} +2 -2
  96. package/dist/cdn/{UN5MYB6S.js → GJ2GI2SO.js} +2 -2
  97. package/dist/cdn/{YUMXDBZX.js → GQR3HTIC.js} +2 -2
  98. package/dist/cdn/{FCBHJBL7.js → GVNEE6CZ.js} +2 -2
  99. package/dist/cdn/{VFPLQFBG.js → HPTE5YEB.js} +2 -2
  100. package/dist/cdn/{VYYNCQMM.js → HUEYB4KY.js} +2 -2
  101. package/dist/cdn/{CB2VXXBG.js → HUZKSO5V.js} +2 -2
  102. package/dist/cdn/{BACGNDN3.js → I57DRQAJ.js} +1 -1
  103. package/dist/cdn/{VQ4WZXJF.js → IC67QJZ6.js} +2 -2
  104. package/dist/cdn/{U4S47T7Q.js → IF365TZM.js} +2 -2
  105. package/dist/cdn/{BZPVYVRS.js → IGAVEGZZ.js} +2 -2
  106. package/dist/cdn/{PD37KRH4.js → IIN3FDMU.js} +2 -2
  107. package/dist/cdn/{7TASAEAI.js → IJCIB2RR.js} +2 -2
  108. package/dist/cdn/{WGPOTUJN.js → IM7KTUUS.js} +2 -2
  109. package/dist/cdn/{4Q76FFWS.js → IO72KRJ5.js} +2 -2
  110. package/dist/cdn/{6DTSIDI5.js → IW5KBYJH.js} +2 -2
  111. package/dist/cdn/{ZJPC3226.js → J6OPHQPN.js} +2 -2
  112. package/dist/cdn/{5Y5VERDB.js → JG2WXFLV.js} +2 -2
  113. package/dist/cdn/{7CO6H7TJ.js → JPILUHYA.js} +1 -1
  114. package/dist/cdn/{ARTWBOV3.js → JVBEWJVA.js} +2 -2
  115. package/dist/cdn/{KYDBSUUG.js → JVRA7JJN.js} +2 -2
  116. package/dist/cdn/{X6QHZA2P.js → JWT2O6IR.js} +2 -2
  117. package/dist/cdn/{WRB7WTDA.js → K3PWYJ4U.js} +2 -2
  118. package/dist/cdn/{HJ3PKJAL.js → KEPVABMG.js} +1 -1
  119. package/dist/cdn/{TB3432PI.js → KK7M4I4R.js} +1 -1
  120. package/dist/cdn/{RFP6TUBR.js → KKTBV2AX.js} +2 -2
  121. package/dist/cdn/{G32WDLP4.js → KVHSOWVW.js} +2 -2
  122. package/dist/cdn/{USTH4B3N.js → L7NQCHD2.js} +2 -2
  123. package/dist/cdn/{YRW4ZASD.js → LJEILBTH.js} +2 -2
  124. package/dist/cdn/{DEDGPCI7.js → LJYOALCO.js} +1 -1
  125. package/dist/cdn/LWTAVAEQ.js +4 -0
  126. package/dist/cdn/{FQ4WVK77.js → LYOS23CE.js} +2 -2
  127. package/dist/cdn/{JVKUTQOU.js → M6FWY7W3.js} +2 -2
  128. package/dist/cdn/{ZZEEFIR7.js → MEUN3NDG.js} +2 -2
  129. package/dist/cdn/{ICMM3UDR.js → MGF6IIGF.js} +2 -2
  130. package/dist/cdn/{P5QNCAO6.js → MS7DBA4D.js} +2 -2
  131. package/dist/cdn/{MC7DRT3F.js → MWJ3TSNQ.js} +2 -2
  132. package/dist/cdn/{P4NUH3PS.js → N4ZYC2ZR.js} +2 -2
  133. package/dist/cdn/{3T23FJDI.js → N72FIXOH.js} +1 -1
  134. package/dist/cdn/{KHAL2WS5.js → N7HNNLMW.js} +2 -2
  135. package/dist/cdn/{XJWOQKEN.js → NFXMEDRO.js} +2 -2
  136. package/dist/cdn/{KN6VHHUB.js → NGISEUNU.js} +1 -1
  137. package/dist/cdn/{5YW64FFC.js → O66GNFAR.js} +2 -2
  138. package/dist/cdn/{KWDJ5D4E.js → OPNGQX6R.js} +2 -2
  139. package/dist/cdn/{5PVNCVIG.js → OSNCGZUN.js} +2 -2
  140. package/dist/cdn/{ZZSEUNKF.js → OTEGYKGA.js} +2 -2
  141. package/dist/cdn/{OG6HWP4L.js → OVTP3V2D.js} +2 -2
  142. package/dist/cdn/{XJN4BQUS.js → P6LKDHLU.js} +2 -2
  143. package/dist/cdn/{PNWWJ3F3.js → P7JBNLVF.js} +2 -2
  144. package/dist/cdn/{QH5D6IWT.js → PFBLPW7P.js} +2 -2
  145. package/dist/cdn/{AZ5EYELQ.js → PLVKFWBL.js} +2 -2
  146. package/dist/cdn/{UXE4V2Y2.js → PSAVNP74.js} +3 -3
  147. package/dist/cdn/{VXANQHFN.js → PUD7QTHR.js} +2 -2
  148. package/dist/cdn/{3VSP6GJW.js → PUM7M522.js} +2 -2
  149. package/dist/cdn/{4PH4BC5I.js → PW5J6MUL.js} +2 -2
  150. package/dist/cdn/{JMYSWG3Z.js → Q4NYTN3Q.js} +2 -2
  151. package/dist/cdn/{NGZ2FAND.js → Q5P5YGTR.js} +2 -2
  152. package/dist/cdn/{R3IKOU3Y.js → QA3XEQ24.js} +2 -2
  153. package/dist/cdn/{AAUJBBB2.js → QAEFC6RA.js} +2 -2
  154. package/dist/cdn/{QX6MNS4G.js → QFSNYQ6R.js} +2 -2
  155. package/dist/cdn/{M5PSGR5G.js → QHBGPRY6.js} +2 -2
  156. package/dist/cdn/{KQU5I5Y3.js → QKW2SJUK.js} +2 -2
  157. package/dist/cdn/{7SM5U3X3.js → QMBCUGPT.js} +2 -2
  158. package/dist/cdn/{OV4M6HTA.js → QOLRCIOX.js} +1 -1
  159. package/dist/cdn/{IFIKWDQD.js → QVPJJDGB.js} +2 -2
  160. package/dist/cdn/{7KOZNDDV.js → QVQC2UK2.js} +2 -2
  161. package/dist/cdn/{R2OYQCFK.js → R2HW3GV7.js} +2 -2
  162. package/dist/cdn/{6NLSCTPH.js → RCQMRF5Q.js} +2 -2
  163. package/dist/cdn/{J7FHUKNB.js → RDGVW2TB.js} +2 -2
  164. package/dist/cdn/{KQJZC7WS.js → REFY3ZYY.js} +2 -2
  165. package/dist/cdn/{5WKWDU2G.js → RG2ZQMD5.js} +2 -2
  166. package/dist/cdn/{SFZHMY4L.js → RH3YVMX6.js} +2 -2
  167. package/dist/cdn/{HGNH7I2F.js → RJWE5TD6.js} +1 -1
  168. package/dist/cdn/{EKTXEEEL.js → RM6CAMRN.js} +2 -2
  169. package/dist/cdn/{CVHLMMYB.js → RYLBIDSI.js} +2 -2
  170. package/dist/cdn/{PJQ3IJXO.js → RYLRLTR5.js} +2 -2
  171. package/dist/cdn/{3XGBN7AF.js → RYU33DP7.js} +2 -2
  172. package/dist/cdn/{WC3JPUUE.js → S33MJ2RJ.js} +2 -2
  173. package/dist/cdn/{J6VI2DLG.js → SC3FD2ES.js} +2 -2
  174. package/dist/cdn/{WGTT2YQF.js → SFWSMJCC.js} +2 -2
  175. package/dist/cdn/{3B7DRRY5.js → SNE5TY5X.js} +2 -2
  176. package/dist/cdn/{ZTU63IYR.js → SQS3UD5F.js} +2 -2
  177. package/dist/cdn/{HWE2PWOK.js → T2PYP3SC.js} +2 -2
  178. package/dist/cdn/{5B6OVW6I.js → TFL23VBR.js} +1 -1
  179. package/dist/cdn/{MGJDKC36.js → TG4WUD34.js} +2 -2
  180. package/dist/cdn/{TXZSD3YW.js → TI33YDPL.js} +2 -2
  181. package/dist/cdn/{GXUNZFYP.js → TI3B4UN2.js} +2 -2
  182. package/dist/cdn/{4E6BKK7Z.js → TIKM4HOV.js} +2 -2
  183. package/dist/cdn/{2H6PKLNM.js → TJ6PTFVC.js} +2 -2
  184. package/dist/cdn/{BTRKBKBY.js → TVUPLY6Y.js} +2 -2
  185. package/dist/cdn/{CM2J2TEN.js → TXS6KPQQ.js} +2 -2
  186. package/dist/cdn/{7CGSIHOK.js → U4XGPAHK.js} +2 -2
  187. package/dist/cdn/{LTF6D6GA.js → U6T6NTCL.js} +2 -2
  188. package/dist/cdn/{LQVH4LI2.js → UJ27PVYK.js} +1 -1
  189. package/dist/cdn/{3MJTIC7H.js → UNT26VSC.js} +2 -2
  190. package/dist/cdn/{XEBQDDB3.js → UPSZXWBB.js} +2 -2
  191. package/dist/cdn/{C3T27XGY.js → UUPJG3ER.js} +2 -2
  192. package/dist/cdn/{CQEFGIAS.js → UURXLICW.js} +2 -2
  193. package/dist/cdn/{2HUX27AM.js → V7FUDO55.js} +2 -2
  194. package/dist/cdn/{LCZALBJ5.js → VC2GP4QM.js} +2 -2
  195. package/dist/cdn/{N5WFHPN2.js → VFJNHL63.js} +2 -2
  196. package/dist/cdn/{55DTENNW.js → VI3HYLGD.js} +2 -2
  197. package/dist/cdn/{ZQFZ7TLS.js → VPNOQGVJ.js} +2 -2
  198. package/dist/cdn/{FRSYHCRM.js → WCQTZB4F.js} +2 -2
  199. package/dist/cdn/{K6WVPV7J.js → WNV4QN2L.js} +2 -2
  200. package/dist/cdn/{PNZN5RHJ.js → WNZHBPY6.js} +2 -2
  201. package/dist/cdn/{6YKMNDYW.js → WXHQDBRC.js} +2 -2
  202. package/dist/cdn/WY4O4W2X.js +4 -0
  203. package/dist/cdn/{7SYOWFFF.js → X762CJWA.js} +2 -2
  204. package/dist/cdn/{JTRCJBRF.js → X7A3LQXE.js} +2 -2
  205. package/dist/cdn/{NZ3GSC3B.js → XEWYRA5S.js} +2 -2
  206. package/dist/cdn/{3E5OLT5E.js → XHKHXHT5.js} +2 -2
  207. package/dist/cdn/{6W46DYPF.js → XJNEP6U5.js} +2 -2
  208. package/dist/cdn/{FS5X5SJE.js → XQ2QCC65.js} +2 -2
  209. package/dist/cdn/{3QKD66X2.js → XQEHXY3D.js} +2 -2
  210. package/dist/cdn/{DI6JB4FE.js → XT4C32N5.js} +2 -2
  211. package/dist/cdn/{N3XZQPOO.js → XVIQWI62.js} +2 -2
  212. package/dist/cdn/{KIV3SGYC.js → XW32OHGI.js} +2 -2
  213. package/dist/cdn/{EQVXYY6T.js → XWWX2WMS.js} +2 -2
  214. package/dist/cdn/{3GFKVGOH.js → Y2GB44DN.js} +1 -1
  215. package/dist/cdn/{Q5MSSYJC.js → Y7YWDBHH.js} +1 -1
  216. package/dist/cdn/{TEL2XOLG.js → YAEWQD3M.js} +2 -2
  217. package/dist/cdn/{W42TVDKH.js → YDC7HRPZ.js} +2 -2
  218. package/dist/cdn/{5JJTSO62.js → YGU3O3UZ.js} +2 -2
  219. package/dist/cdn/{LWPYDG4G.js → YJX25XMU.js} +1 -1
  220. package/dist/cdn/{6JYRBSMJ.js → YK3HQSZ3.js} +2 -2
  221. package/dist/cdn/{ECE3FAPJ.js → YL2NW3TI.js} +2 -2
  222. package/dist/cdn/{MJOKR7CK.js → YL6F5AOT.js} +2 -2
  223. package/dist/cdn/{LV4C2FUJ.js → ZA5NR3R6.js} +2 -2
  224. package/dist/cdn/{RKU3HRNX.js → ZCRITYQE.js} +2 -2
  225. package/dist/cdn/{PTKHDU6F.js → ZLDC6RES.js} +2 -2
  226. package/dist/cdn/{JRWONR67.js → ZNZDKIX7.js} +2 -2
  227. package/dist/cdn/{QVMRWANP.js → ZPTIONYH.js} +2 -2
  228. package/dist/cdn/{GRVIYGQ5.js → ZRTO7MFD.js} +2 -2
  229. package/dist/cdn/{VZH25QKL.js → ZSPZV434.js} +2 -2
  230. package/dist/cdn/{ECK3EIWG.js → ZTLUPXIR.js} +2 -2
  231. package/dist/cdn/{N4AXFIBB.js → ZX73MM37.js} +2 -2
  232. package/dist/cdn/{Z6Y5R3DA.js → ZYRFJ6ZS.js} +2 -2
  233. package/dist/cdn/{A4XNGQMO.js → ZZQPDMUZ.js} +2 -2
  234. package/dist/cdn/index.js +2 -2
  235. package/dist/chunks/AnalysisViewModel.js +1 -1
  236. package/dist/chunks/action-utils.js +1 -1
  237. package/dist/chunks/async-utils.js +1 -1
  238. package/dist/chunks/basemap-gallery-resources.js +1 -1
  239. package/dist/chunks/chart-utils.js +1 -1
  240. package/dist/chunks/chartCommon.js +1 -1
  241. package/dist/chunks/component-utils.js +1 -1
  242. package/dist/chunks/constants.js +1 -1
  243. package/dist/chunks/createCloseEvent.js +1 -1
  244. package/dist/chunks/esri-main.js +1 -1
  245. package/dist/chunks/feature-utils.js +1 -1
  246. package/dist/chunks/globalCss.js +1 -1
  247. package/dist/chunks/handle.js +1 -1
  248. package/dist/chunks/heading.js +1 -1
  249. package/dist/chunks/layer-list.js +1 -1
  250. package/dist/chunks/legacyIcon.js +1 -1
  251. package/dist/chunks/maybe.js +1 -1
  252. package/dist/chunks/measurementUtils.js +1 -1
  253. package/dist/chunks/runtime.js +1 -1
  254. package/dist/chunks/screenLocation.js +1 -1
  255. package/dist/chunks/slots.js +1 -1
  256. package/dist/chunks/svgUtils.js +1 -1
  257. package/dist/chunks/time-utils.js +1 -1
  258. package/dist/chunks/univariateUtils.js +1 -1
  259. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  260. package/dist/chunks/useHandles.js +1 -1
  261. package/dist/chunks/useT9n.js +1 -1
  262. package/dist/chunks/useView.js +1 -1
  263. package/dist/chunks/useViewModel.js +1 -1
  264. package/dist/chunks/useWidget.js +1 -1
  265. package/dist/chunks/utils.js +1 -1
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/visible-element.js +1 -1
  268. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  269. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  270. package/dist/components/arcgis-attachments/customElement.js +1 -1
  271. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  272. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  273. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  275. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  276. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  277. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-color-select/customElement.js +1 -1
  279. package/dist/components/arcgis-compass/customElement.js +1 -1
  280. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  281. package/dist/components/arcgis-daylight/customElement.js +1 -1
  282. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  283. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  284. package/dist/components/arcgis-directions/customElement.js +1 -1
  285. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  286. package/dist/components/arcgis-editor/customElement.js +1 -1
  287. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  288. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  289. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  290. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  291. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  292. package/dist/components/arcgis-expand/customElement.js +1 -1
  293. package/dist/components/arcgis-feature/customElement.js +1 -1
  294. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  295. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  296. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  297. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  298. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  299. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  301. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  304. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  306. package/dist/components/arcgis-features/customElement.js +1 -1
  307. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  308. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  309. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  310. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  311. package/dist/components/arcgis-home/customElement.js +1 -1
  312. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  313. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  314. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  315. package/dist/components/arcgis-legend/customElement.js +1 -1
  316. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  317. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  318. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  319. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  320. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  321. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  330. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  331. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  332. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  333. package/dist/components/arcgis-locate/customElement.js +1 -1
  334. package/dist/components/arcgis-map/customElement.js +1 -1
  335. package/dist/components/arcgis-measurement/customElement.js +1 -1
  336. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  337. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  338. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  339. package/dist/components/arcgis-placement/customElement.js +1 -1
  340. package/dist/components/arcgis-popup/customElement.js +1 -1
  341. package/dist/components/arcgis-presentation/customElement.js +1 -1
  342. package/dist/components/arcgis-print/customElement.js +1 -1
  343. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  344. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  345. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  346. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  347. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  348. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  349. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  350. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  351. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  352. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  353. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  354. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  355. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  356. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  357. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  358. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  359. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  360. package/dist/components/arcgis-scene/customElement.js +1 -1
  361. package/dist/components/arcgis-search/customElement.js +1 -1
  362. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  363. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  364. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  365. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +1 -1
  366. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +1 -1
  367. package/dist/components/arcgis-sketch/customElement.js +1 -1
  368. package/dist/components/arcgis-slice/customElement.js +1 -1
  369. package/dist/components/arcgis-spinner/customElement.js +1 -1
  370. package/dist/components/arcgis-swipe/customElement.js +1 -1
  371. package/dist/components/arcgis-table-list/customElement.js +1 -1
  372. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  373. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  374. package/dist/components/arcgis-track/customElement.js +1 -1
  375. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  376. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  377. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  378. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  379. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  380. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +16 -19
  381. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  382. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  383. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  384. package/dist/components/arcgis-utility-network-trace-results/customElement.js +26 -26
  385. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  386. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  387. package/dist/components/arcgis-version-management/customElement.js +1 -1
  388. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  389. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  390. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  391. package/dist/components/arcgis-video/customElement.js +1 -1
  392. package/dist/components/arcgis-video-player/customElement.js +1 -1
  393. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  394. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  395. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  396. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  397. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  398. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  399. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  400. package/dist/components/arcgis-weather/customElement.js +1 -1
  401. package/dist/components/arcgis-zoom/customElement.js +1 -1
  402. package/dist/docs/api.json +2 -2
  403. package/dist/docs/docs.json +2 -2
  404. package/dist/docs/web-types.json +1 -1
  405. package/dist/index.js +1 -1
  406. package/dist/loader.js +1 -1
  407. package/package.json +3 -3
  408. package/dist/cdn/33CHERX6.js +0 -4
  409. package/dist/cdn/HNPCLTOL.js +0 -4
  410. package/dist/cdn/IHODQBTQ.js +0 -4
  411. package/dist/cdn/P3JGENPW.js +0 -4
  412. package/dist/cdn/VJTHTLLI.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import{a as ve}from"./DI6JB4FE.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./PZPWHGMB.js";import{N as O,a as H,u as k}from"./GF2YKM7P.js";import{a as ge,b as ee,d as T,e as f}from"./7CO6H7TJ.js";import{U as j,V as ye,g as X,o as w}from"./7TASAEAI.js";import"./3GFKVGOH.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
3
+ v5.0.0-next.78 */
4
+ import{a as ve}from"./XT4C32N5.js";import{B as de,C as q,K as re,M as fe,N as _e,ba as ue,c as R,ea as xe,i as P,j as v,k as A,l as me,la as ce,m as he,ma as ae,n as be,na as we,o as te}from"./33N4XLUK.js";import{N as O,a as H,u as k}from"./3B2WQABB.js";import{a as ge,b as ee,d as T,e as f}from"./JPILUHYA.js";import{U as j,V as ye,g as X,o as w}from"./IJCIB2RR.js";import"./Y2GB44DN.js";var ie=class extends ye{setupDefaultRules(){super.setupDefaultRules();let t=this._root.interfaceColors,e=this.rule.bind(this);e("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:we.new(this._root,{}),width:T,height:T}),e("PieChart").setAll({radius:ee(80),startAngle:-90,endAngle:270}),e("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),e("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),e("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),e("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),e("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),e("Slice",["pie"]).states.create("hover",{scale:1.04}),e("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),e("Tick",["pie"]).setAll({location:1}),e("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),e("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),e("FunnelSlice").setAll({interactive:!0,expandDistance:0}),e("FunnelSlice").states.create("hover",{expandDistance:.15}),e("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["funnel"]).setAll({location:1}),e("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),e("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),e("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),e("PyramidSeries").setAll({valueIs:"area"}),e("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),e("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),e("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),e("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),e("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),e("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),e("Tick",["pyramid"]).setAll({location:1}),e("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),e("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),e("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),e("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),e("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),e("Tick",["pictorial"]).setAll({location:.5});{let i=e("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),_e(i,"fill",t,"alternativeBackground")}}};var $=class extends ce{_afterNew(){this._defaultThemes.push(ie.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(t){super._processSeries(t),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};Object.defineProperty($,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty($,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ce.classNames.concat([$.className])});var C=class extends ue{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}makeSlice(t){let e=this.slicesContainer.children.push(this.slices.make());return e.on("fill",()=>{this.updateLegendMarker(t)}),e.on("fillPattern",()=>{this.updateLegendMarker(t)}),e.on("stroke",()=>{this.updateLegendMarker(t)}),e._setDataItem(t),t.set("slice",e),this.slices.push(e),e}makeLabel(t){let e=this.labelsContainer.children.push(this.labels.make());return e._setDataItem(t),t.set("label",e),this.labels.push(e),e}_shouldMakeBullet(t){return t.get("value")!=null}makeTick(t){let e=this.ticksContainer.children.push(this.ticks.make());return e._setDataItem(t),t.set("tick",e),this.ticks.push(e),e}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){let t=this.get("colors");t&&t.reset();let e=this.get("patterns");e&&e.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let t=0,e=0,i=0,s=1/0,r=0;w(this._dataItems,a=>{let l=a.get("valueWorking",0);t+=l,e+=Math.abs(l)}),w(this._dataItems,a=>{let l=a.get("valueWorking",0);l>i&&(i=l),l<s&&(s=l),r++;let n=l/e;e==0&&(n=0),a.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",s),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",t),this.setPrivateRaw("valueAverage",t/r),this.setPrivateRaw("valueAbsoluteSum",e)}}show(t){let e=Object.create(null,{show:{get:()=>super.show}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.show.call(this,t)),i.push(this._sequencedShowHide(!0,t)),yield Promise.all(i)})}hide(t){let e=Object.create(null,{hide:{get:()=>super.hide}});return H(this,void 0,void 0,function*(){let i=[];i.push(e.hide.call(this,t)),i.push(this._sequencedShowHide(!1,t)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&w(this._dataItems,t=>{t.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&w(this._dataItems,t=>{this.updateLegendValue(t)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),w(this.dataItems,t=>{this._updateTick(t)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(t){if(super.processDataItem(t),t.get("fill")==null){let e=this.get("colors");e&&t.setRaw("fill",e.next())}if(t.get("fillPattern")==null){let e=this.get("patterns");e&&t.setRaw("fillPattern",e.next())}}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){let s=[i.showDataItem.call(this,t,e)];X(e)||(e=this.get("stateAnimationDuration",0));let r=this.get("stateAnimationEasing"),a=t.get("value"),l=t.animate({key:"valueWorking",to:a,duration:e,easing:r});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.show(e));let u=t.get("label");u&&s.push(u.show(e));let o=t.get("slice");o&&s.push(o.show(e)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(s)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){let s=[i.hideDataItem.call(this,t,e)],r=this.states.create("hidden",{});X(e)||(e=r.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let a=r.get("stateAnimationEasing",this.get("stateAnimationEasing")),l=t.animate({key:"valueWorking",to:0,duration:e,easing:a});l&&s.push(l.waitForStop());let n=t.get("tick");n&&s.push(n.hide(e));let u=t.get("label");u&&s.push(u.hide(e));let o=t.get("slice");o.hideTooltip(),o&&s.push(o.hide(e)),yield Promise.all(s)})}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("label");e&&(this.labels.removeValue(e),e.dispose());let i=t.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let s=t.get("slice");s&&(this.slices.removeValue(s),s.dispose())}hoverDataItem(t){let e=t.get("slice");e&&!e.isHidden()&&e.hover()}unhoverDataItem(t){let e=t.get("slice");e&&e.unhover()}updateLegendMarker(t){if(t){let e=t.get("slice");if(e){let i=t.get("legendDataItem");if(i){let s=i.get("markerRectangle");w(de,r=>{e.get(r)!=null&&s.set(r,e.get(r))})}}}}_arrangeDown(t){if(t){let e=this._getNextDown();t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.top;i.y+r<e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(t){if(t){let e=this._getNextUp();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.bottom;i.y+r>e&&(i.y=e-r),i.label.set("y",i.y),e=i.y+s.top})}}_arrangeRight(t){if(t){let e=0;t.sort((i,s)=>i.y>s.y?1:i.y<s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.left;i.y+r<e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.right})}}_arrangeLeft(t){if(t){let e=this.labelsContainer.maxWidth();t.sort((i,s)=>i.y<s.y?1:i.y>s.y?-1:0),w(t,i=>{let s=i.label.adjustedLocalBounds(),r=s.right;i.y+r>e&&(i.y=e-r),i.label.set("x",i.y),e=i.y+s.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(t){}_dispose(){super._dispose();let t=this.chart;t&&t.series.removeValue(this)}};Object.defineProperty(C,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(C,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ue.classNames.concat([C.className])});var G=class extends ${constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_prepareChildren(){super._prepareChildren();let t=this.chartContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.get("startAngle",0),r=this.get("endAngle",0),a=this.get("innerRadius"),l=he(0,0,s,r,1),n=e/(l.right-l.left),u=i/(l.bottom-l.top),o={left:0,right:0,top:0,bottom:0};if(a instanceof ge){let p=a.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(i,e))/g,o=he(0,0,s,r,p),this.setPrivateRaw("irModifyer",p/a.value)}l=be([l,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=k(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(l.bottom+l.top)/2,dx:-h*(l.right+l.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(t){let e=k(this.get("radius",0),this._maxRadius),i=k(this.get("innerRadius",0),e);if(t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("radius");return a!=null?i+k(a,e-i):i+(e-i)/r*(s+1)}return e}innerRadius(t){let e=this.radius(),i=k(this.get("innerRadius",0),e);if(i<0&&(i=e+i),t){let s=this.series.indexOf(t),r=this.series.length,a=t.get("innerRadius");return a!=null?i+k(a,e-i):i+(e-i)/r*s}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};Object.defineProperty(G,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(G,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([G.className])});var U=class extends C{_makeSlices(){return new R(j.new({}),()=>ve._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>xe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e.on("scale",()=>{this._updateTick(t)}),e.on("shiftRadius",()=>{this._updateTick(t)}),e.events.on("positionchanged",()=>{this._updateTick(t)});let i=this.makeLabel(t);i.events.on("positionchanged",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){let t=this.chart;return t?t._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let t=this.chart;return t?-t._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let t=this.chart;if(t){if(this.isDirty("alignLabels")){let e=this.labels.template;if(this.get("alignLabels"))e.set("textType","aligned");else{let i=e.get("textType");(i==null||i=="aligned")&&e.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let e=this.get("startAngle",t.get("startAngle",-90)),s=this.get("endAngle",t.get("endAngle",270))-e,r=e,a=t.radius(this);this.setPrivateRaw("radius",a);let l=t.innerRadius(this)*t.getPrivate("irModifyer",1);l<0&&(l=a+l),w(this._dataItems,n=>{this.updateLegendValue(n);let u=s*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",a),o.set("innerRadius",l),o.set("startAngle",r),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=me(r+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",a),h.setPrivate("innerRadius",l),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=a+h.get("radius",0),g=a*P(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",T),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",a*P(m))}r+=u,this._updateTick(n)})}}}_updateTick(t){let e=t.get("tick"),i=t.get("label"),s=t.get("slice"),r=e.get("location",1);if(e&&i&&s){let a=(s.get("shiftRadius",0)+s.get("radius",0))*s.get("scale",1)*r,l=i.get("labelAngle",0),n=A(l),u=P(l),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=i.x(),g=i.y();let c=[];if(p!=0||g!=0){if(i.get("textType")=="circular"){let y=i.radius()-i.get("paddingBottom",0),_=i.get("labelAngle",0);p=y*A(_),g=y*P(_)}let b=-h;i.getPrivate("left")&&(b=m),c=[{x:s.x()+a*n,y:s.y()+a*u},{x:p+b,y:g},{x:p,y:g}]}e.set("points",c)}}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.get("innerRadius",0),a=s.get("radius",0),l=s.get("startAngle",0),n=s.get("arc",0),u=t.get("locationX",.5),o=t.get("locationY",.5),m=l+n*u,h=r+(a-r)*o;e.setAll({x:A(m)*h,y:P(m)*h})}}}};Object.defineProperty(U,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(U,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([U.className])});var M=class extends q{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tlx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_trx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_try",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_blx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bly",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_brx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cprx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cplx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cpry",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_cply",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){super._afterNew(),this.set("draw",t=>{let e=this.width(),i=this.height(),s=Math.min(e,i)/2,r=k(this.get("cornerRadiusTL",0),s),a=k(this.get("cornerRadiusTR",0),s),l=k(this.get("cornerRadiusBR",0),s),n=k(this.get("cornerRadiusBL",0),s),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,b=this._bly;o==h&&(o=o-.01),g==b&&(g=g-.01);let y=te({x:m,y:h},{x:u,y:o}),_=te({x:u,y:o},{x:p,y:g}),x=te({x:p,y:g},{x:c,y:b}),d=te({x:c,y:b},{x:m,y:h});this.get("orientation")=="horizontal"?(r=Math.min(r,Math.abs(h-o)/2),a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(b-g)/2),n=Math.min(n,Math.abs(b-g)/2)):(r=Math.min(r,Math.abs(m-u)/2),a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let D=m-r*v((y-d)/2)*A(d),S=h-r*v((y-d)/2)*P(d),Y=m-r*v((d-y)/2)*A(y),Z=h-r*v((d-y)/2)*P(y),N=u-a*v((_-y)/2)*A(y),ne=o-a*v((_-y)/2)*P(y),z=u-a*v((y-_)/2)*A(_),B=o-a*v((y-_)/2)*P(_),J=p-l*v((x-_)/2)*A(_),F=g-l*v((x-_)/2)*P(_),Q=p-l*v((_-x)/2)*A(x),I=g-l*v((_-x)/2)*P(x),pe=c-n*v((d-x)/2)*A(x),se=b-n*v((d-x)/2)*P(x),oe=c-n*v((x-d)/2)*A(d),Ae=b-n*v((x-d)/2)*P(d);t.moveTo(Y,Z),t.lineTo(N,ne),t.arcTo(u,o,z,B,a),t.quadraticCurveTo(this._cprx,this._cpry,J,F),t.arcTo(p,g,Q,I,l),t.lineTo(pe,se),t.arcTo(c,b,oe,Ae,n),t.quadraticCurveTo(this._cplx,this._cply,D,S),t.arcTo(m,h,Y,Z,r)})}getPoint(t,e){let i=this.width(),s=this.height(),r=this.get("topWidth",0),a=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*e,h=n+(u-n)*e;return{x:m+(h-m)*t,y:s*e}}else{let l=-r/2,n=r/2,u=a/2,o=-a/2,m=l+(o-l)*t,h=n+(u-n)*t;return{x:i*t,y:m+(h-m)*e}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")){let t=this.width(),e=this.height(),i=this.get("topWidth",0),s=this.get("bottomWidth",0);this._clear=!0;let r=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-i/2,this._tly=0,this._trx=i/2,this._try=0,this._brx=s/2,this._bry=e,this._blx=-s/2,this._bly=e,this._cprx=this._trx+(this._brx-this._trx)/2+r*e,this._cpry=this._try+.5*e,this._cplx=this._tlx+(this._blx-this._tlx)/2-r*e,this._cply=this._tly+.5*e):(this._tly=i/2,this._tlx=0,this._try=-i/2,this._trx=0,this._bry=-s/2,this._brx=t,this._bly=s/2,this._blx=t,this._cpry=this._try+(this._bry-this._try)/2-r*t,this._cprx=this._trx+.5*t,this._cply=this._tly+(this._bly-this._tly)/2+r*t,this._cplx=this._tlx+.5*t)}super._changed()}};Object.defineProperty(M,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSlice"});Object.defineProperty(M,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:q.classNames.concat([M.className])});var W=class extends C{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"funnel"}),Object.defineProperty(this,"links",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLinks())}),Object.defineProperty(this,"_total",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_count",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_nextCoord",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_opposite",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_makeSlices(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new R(j.new({}),()=>fe._new(this._root,{themeTags:O(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new R(j.new({}),()=>ae._new(this._root,{themeTags:O(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new R(j.new({}),()=>M._new(this._root,{themeTags:O(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(t){let e=this.slicesContainer.children.push(this.links.make());return e._setDataItem(t),t.set("link",e),this.links.push(e),e}_afterNew(){super._afterNew();let t=this.slicesContainer;t.setAll({isMeasured:!0,position:"relative",width:ee(100),height:ee(100)}),t.onPrivate("width",()=>{this.markDirtySize()}),t.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this.set("layout",this._root.horizontalLayout):this.set("layout",this._root.verticalLayout)}processDataItem(t){super.processDataItem(t);let e=this.makeSlice(t);e._setDataItem(t),t.set("slice",e),this.makeLink(t);let i=this.makeLabel(t);i.on("x",()=>{this._updateTick(t)}),i.on("y",()=>{this._updateTick(t)}),this.makeTick(t),e.events.on("positionchanged",()=>{i.markDirty()}),e.events.on("boundschanged",()=>{let s=e.dataItem;s&&this._updateTick(s)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let t=0,e=0;if(w(this.dataItems,i=>{let s=i.get("value");X(s)&&(e++,s>0?t+=Math.abs(i.get("valueWorking",s)/s):this.get("ignoreZeroValues",!1)||i.isHidden()?e--:t+=1)}),this._total=1/e*t,this._count=e,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty)){let i=this.slicesContainer,s;this.get("orientation")=="vertical"?s=i.innerHeight():s=i.innerWidth(),this._nextCoord=this.get("startLocation",0)*s,this.markDirtyBounds();let r=0;w(this._dataItems,a=>{this.updateLegendValue(a),a.set("index",r),r++;let l=a.get("slice"),n=a.get("tick"),u=a.get("label"),o=a.get("link"),m=a.get("fill"),h=a.get("fillPattern");l._setDefault("fill",m),l._setDefault("stroke",m),l._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=a.get("value");X(p)&&(p==0&&this.get("ignoreZeroValues")?(l.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(l.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(a),this.isLast(a)?o.setPrivate("visible",!1):a.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let t=this.get("orientation"),e=this.labelsContainer,i=this.labels.template;this.get("alignLabels")?(e.set("position","relative"),e.setAll({isMeasured:!0}),t=="vertical"?(this.set("layout",this._root.horizontalLayout),i.setAll({centerX:T,x:T})):(this.set("layout",this._root.verticalLayout),i.setAll({centerX:0,x:0}))):(e.setAll({isMeasured:!1,position:"absolute"}),t=="vertical"?(e.setAll({x:f}),i.setAll({centerX:f,x:0})):(e.setAll({y:f}),i.setAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(t){let e=t.get("index"),i=t.get("valueWorking",0);if(e<this.dataItems.length-1){let s=this.dataItems[e+1];if(i=s.get("valueWorking",0),s.isHidden()||s.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(s)}return i}isLast(t){let e=t.get("index");if(e==this.dataItems.length-1)return!0;for(let i=e+1;i<this.dataItems.length;i++)if(!this.dataItems[i].isHidden())return!1;return!0}decorateSlice(t){let e=this.get("orientation"),i=t.get("slice"),s=t.get("label"),r=t.get("link"),a=this.slicesContainer,l=a.innerWidth(),n=a.innerHeight(),u=l;e=="horizontal"&&(u=n);let o=this.getNextValue(t),m=t.get("value",0),h=Math.abs(t.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):t.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let b=h/g*u,y=(h-(h-o)*p)/g*u;i.setAll({topWidth:b,bottomWidth:y,orientation:e}),r.setAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:e});let _=this.get("startLocation",0),x=this.get("endLocation",1);if(e=="vertical"){let d=r.height()*c;n=n*(x-_)+d,i.set("y",this._nextCoord);let D=Math.min(1e5,Math.max(0,n/this._count*c/this._total-d));i.setAll({height:D,x:l/2});let S=this._nextCoord+D/2;s.set("y",S),this._nextCoord+=D+d,r.setAll({y:this._nextCoord-d,x:l/2})}else{let d=r.width()*c;l=l*(x-_)+d,i.set("x",this._nextCoord);let D=Math.min(1e5,Math.max(0,l/this._count*c/this._total-d));i.setAll({width:D,y:n/2});let S=this._nextCoord+D/2;s.set("x",S),this._nextCoord+=D+d,r.setAll({x:this._nextCoord-d,y:n/2})}}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").hide(e),i.hideDataItem.call(this,t,e)})}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return H(this,void 0,void 0,function*(){return t.get("link").show(e),i.showDataItem.call(this,t,e)})}_updateTick(t){if(this.get("alignLabels")){let e=t.get("tick"),i=t.get("label"),s=t.get("slice");if(e&&s&&i){let r=this.labelsContainer,a=this.slicesContainer,l=e.get("location",.5),n=r.width(),u=r.height(),o=r.get("paddingLeft",0),m=r.get("paddingRight",0),h=r.get("paddingTop",0),p=r.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},b={x:0,y:0};this._opposite&&(l=1-l),this.get("orientation")=="vertical"?(g=s.getPoint(l,.5),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.x=n,c.y=i.y(),b.x=n-o,b.y=c.y):(c.x=a.x()+a.width(),c.y=i.y(),b.x=c.x+n-i.width()-m,b.y=c.y)):(g=s.getPoint(.5,l),g.x+=s.x()+a.x(),g.y+=s.y()+a.y(),this._opposite?(c.y=u,c.x=i.x(),b.y=u-h,b.x=c.x):(c.y=a.y()+a.height(),c.x=i.x(),b.y=c.y+u-i.height()-p,b.x=c.x)),e.set("points",[g,c,b])}}}disposeDataItem(t){super.disposeDataItem(t);let e=t.get("link");e&&(this.links.removeValue(e),e.dispose())}_positionBullet(t){let e=t.get("sprite");if(e){let s=e.dataItem.get("slice");if(s){let r=s.width(),a=s.height(),l=t.get("locationX",.5),n=t.get("locationY",.5),u=0,o=0;this.get("orientation")=="horizontal"?o=a/2:u=r/2,e.setAll({x:s.x()+r*l-u,y:s.y()-o+a*n})}}}};Object.defineProperty(W,"className",{enumerable:!0,configurable:!0,writable:!0,value:"FunnelSeries"});Object.defineProperty(W,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:C.classNames.concat([W.className])});var V=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pyramid"}),Object.defineProperty(this,"_nextSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0}decorateSlice(t){let e=this.get("orientation"),i=this.slicesContainer,s=t.get("slice"),r=t.get("label"),a=t.get("link"),l=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",T),p=Math.abs(t.get("valueWorking",0)),g=t.get("value",0),c,b,y=i.innerHeight(),_=i.innerWidth(),x=a.width(),d=a.height();e=="horizontal"&&([_,y]=[y,_],[x,d]=[d,x]);let D=_/2,S=1;g!=0?S=p/Math.abs(g):t.isHidden()&&(S=1e-6),d*=S,y=y*(o-u)-d*(this._count*this._total-1);let Y=k(m,_);X(this._nextSize)||(this._nextSize=Y);let Z=k(h,_),N=this._nextSize,ne=Math.atan2(y,Y-Z),z=Math.tan(Math.PI/2-ne);if(z==0&&(z=1e-8),l=="area"){let se=(Y+Z)/2*y*p/n,oe=Math.abs(N*N-2*se*z);c=(N-Math.sqrt(oe))/z,c>0?b=(2*se-c*N)/c:b=N}else c=y*p/n,b=N-c*z;let B=this._nextCoord+c/2,J=D,F=this._nextCoord,Q=D,I=F+c;e=="vertical"?(r.set("y",B),r.get("opacity")>0&&this._rLabels.push({label:r,y:B}),s.set("height",c)):(r.set("x",B),r.get("opacity")>0&&this._hLabels.push({label:r,y:B}),[J,F]=[F,J],[Q,I]=[I,Q],s.set("width",c)),s.setAll({orientation:e,bottomWidth:b,topWidth:N,x:J,y:F}),a.setAll({orientation:e,x:Q,y:I,topWidth:b,bottomWidth:b}),this._nextSize=b,this._nextCoord+=c+d}};Object.defineProperty(V,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PyramidSeries"});Object.defineProperty(V,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([V.className])});var K=class extends V{constructor(){super(...arguments),Object.defineProperty(this,"_tag",{enumerable:!0,configurable:!0,writable:!0,value:"pictorial"}),Object.defineProperty(this,"seriesMask",{enumerable:!0,configurable:!0,writable:!0,value:q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f})}),Object.defineProperty(this,"seriesGraphics",{enumerable:!0,configurable:!0,writable:!0,value:this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f}))})}_afterNew(){super._afterNew(),this.set("topWidth",T),this.set("bottomWidth",T),this.set("valueIs","height"),this.slicesContainer.set("mask",this.seriesMask)}_updateScale(){let t=this.slicesContainer,e=t.innerWidth(),i=t.innerHeight(),s=this.seriesMask,r=this.seriesGraphics,a=s.get("scale",1),l=s.localBounds(),n=l.right-l.left,u=l.bottom-l.top;this.get("orientation")=="horizontal"?a=e/n:a=i/u,a!=1/0&&a!=NaN&&(s.set("scale",a),s.set("x",e/2),s.set("y",i/2),r.set("scale",a),r.set("x",e/2),r.set("y",i/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let t=this.get("svgPath");this.seriesMask.set("svgPath",t),this.seriesGraphics.set("svgPath",t)}this._updateScale()}};Object.defineProperty(K,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PictorialStackedSeries"});Object.defineProperty(K,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:V.classNames.concat([K.className])});var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};Object.defineProperty(E,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SlicedChart"});Object.defineProperty(E,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$.classNames.concat([E.className])});export{ie as DefaultTheme,W as FunnelSeries,M as FunnelSlice,$ as PercentChart,C as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,V as PyramidSeries,E as SlicedChart};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
3
+ v5.0.0-next.78 */
4
4
  function r(n){return n.hidden?null:n.children}export{r as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import f from"./J7FHUKNB.js";import"./BACGNDN3.js";import e from"./6YKMNDYW.js";import"./OV4M6HTA.js";import{a as E}from"./UTETCPBK.js";import"./VQ4WZXJF.js";import d from"./GRVIYGQ5.js";import{a as k}from"./5WW7EFGT.js";import{a as _}from"./HJ3PKJAL.js";import c from"./7SM5U3X3.js";import a from"./4VQXTRNO.js";import{g as L}from"./SFZHMY4L.js";import"./N5WFHPN2.js";import"./5B6OVW6I.js";import"./HGNH7I2F.js";import{I as w,J as r,L as b,O as $,a as v,b as o,s as y}from"./KN6VHHUB.js";import"./3GFKVGOH.js";export default $arcgis.t(([T,{property:u,subclass:V},{ignoreAbortErrors:A},{watch:j},,,z,,S])=>{var B=v`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,p;g>=0;g--)(p=e[g])&&(l=(d?p(i,t,l):p(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends S{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new T}};c([u()],n.prototype,"_excludingLayers",2);c([u({readOnly:!0})],n.prototype,"state",1);c([u()],n.prototype,"shape",1);c([u()],n.prototype,"tiltEnabled",1);c([u()],n.prototype,"excludedLayers",1);c([u()],n.prototype,"excludeGroundSurface",1);n=c([V("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=y()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(!d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:p}=this.viewModel,m=this.excludeGroundSurface,C=p.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:p.toArray(),excludeGroundSurface:m,onLayerClick:G=>{this.excludedLayers.remove(G)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
3
+ v5.0.0-next.78 */
4
+ import f from"./RDGVW2TB.js";import"./I57DRQAJ.js";import e from"./WXHQDBRC.js";import"./QOLRCIOX.js";import{a as E}from"./4EWFY27N.js";import"./IC67QJZ6.js";import d from"./ZRTO7MFD.js";import{a as k}from"./4HWQRAEY.js";import{a as _}from"./KEPVABMG.js";import c from"./QMBCUGPT.js";import a from"./BRPO4EVV.js";import{g as L}from"./RH3YVMX6.js";import"./VFJNHL63.js";import"./TFL23VBR.js";import"./RJWE5TD6.js";import{I as w,J as r,L as b,O as $,a as v,b as o,s as y}from"./NGISEUNU.js";import"./Y2GB44DN.js";export default $arcgis.t(([T,{property:u,subclass:V},{ignoreAbortErrors:A},{watch:j},,,z,,S])=>{var B=v`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,p;g>=0;g--)(p=e[g])&&(l=(d?p(i,t,l):p(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends S{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new T}};c([u()],n.prototype,"_excludingLayers",2);c([u({readOnly:!0})],n.prototype,"state",1);c([u()],n.prototype,"shape",1);c([u()],n.prototype,"tiltEnabled",1);c([u()],n.prototype,"excludedLayers",1);c([u()],n.prototype,"excludeGroundSurface",1);n=c([V("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=y()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(!d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:p}=this.viewModel,m=this.excludeGroundSurface,C=p.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:p.toArray(),excludeGroundSurface:m,onLayerClick:G=>{this.excludedLayers.remove(G)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import a from"./LQVH4LI2.js";import{K as O,L as e,b as U,c as s}from"./KN6VHHUB.js";export default $arcgis.t(([{getBoundingBox:J,computeBBox:K,getTransformMatrix:Q},M,{e:N,f:F}])=>{var V=0;function X(){return V++}var Y=0;function Z(){return Y++}var _=0;function tt(){return _++}var R=new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),et="http://www.w3.org/2000/svg",it=Math.PI;function ot(t){let{pattern:o,linearGradient:i}=t;if(o)return s`<pattern height=${o.height??e} id=${o.id??e} patternUnits=userSpaceOnUse width=${o.width??e} x=${o.x??0??e} y=${o.y??0??e}><image height=${o.image.height??e} href=${o.image.href??e} width=${o.image.width??e} x=${o.image.x??e} y=${o.image.y??e} /></pattern>`;if(i){let n=i.stops.map(r=>s`<stop offset=${r.offset??e} stop-color=${r.color??e} />`);return s`<linearGradient gradientUnits=userSpaceOnUse id=${i.id??e} x1=${i.x1??e} x2=${i.x2??e} y1=${i.y1??e} y2=${i.y2??e}>${n}</linearGradient>`}return null}function E(t){if(!t)return{fill:"none",pattern:null,linearGradient:null};if(!("type"in t))return{fill:new M(t).toString(),pattern:null,linearGradient:null};if(t.type==="pattern"){let i=`patternId-${X()}`;return{fill:`url(#${i})`,pattern:{id:i,x:t.x,y:t.y,width:t.width,height:t.height,image:{x:0,y:0,width:t.width,height:t.height,href:t.src}},linearGradient:null}}let o=`linearGradientId-${Z()}`;return{fill:`url(#${o})`,pattern:null,linearGradient:{id:o,x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stops:t.colors.map(i=>({offset:i.offset,color:i.color&&new M(i.color).toString()}))}}}function D(t){let o={color:"none",width:1,cap:"butt",join:"4",dashArray:"none",dashOffset:"0"};return t&&(t.width!=null&&(o.width=t.width),t.cap&&(o.cap=t.cap),t.join&&(o.join=t.join.toString()),t.color&&(o.color=new M(t.color).toString()),t.dashArray&&(o.dashArray=t.dashArray),t.dashoffset&&(o.dashOffset=t.dashoffset),t.style&&!t.dashArray&&(o.dashArray=nt(t).join(",")||"none")),o}function nt(t){if(!t?.style)return[];let{dashArray:o,style:i,width:n}=t;if(typeof o=="string"&&o!=="none")return o.split(",").map(l=>Number(l));let r=n??0,d=R.has(i)?R.get(i).map(l=>l*r):[];if(t.cap!=="butt")for(let[l,h]of d.entries())d[l]=l%2===1?h+r:Math.max(h-r,1);return d}function rt(t){return t.map(o=>`${o.command} ${o.values.join(" ")}`).join(" ").trim()}function j(t,o){if(t==null)throw new Error("value is None")}function I(t,o,i,n,r){if(t){if(t.type==="circle")return s`<circle cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd r=${t.r??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-dashoffset=${i.dashOffset??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="ellipse")return s`<ellipse cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd rx=${t.rx??e} ry=${t.ry??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="rect")return s`<rect fill=${o??e} fill-rule=evenodd height=${t.height??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="image")return s`<image aria-label=${r??""??e} height=${t.height??e} href=${t.src??e} preserveAspectRatio=none width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="path"){let d=typeof t.path!="string"?rt(t.path):t.path;return s`<path d=${d??e} fill=${o??e} fill-rule=evenodd stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`}if(t.type==="text")return j(n),s`<text dominant-baseline=${(n.dominantBaseline==="inherit"||n.dominantBaseline==="alphabetic"||n.dominantBaseline==="auto"||n.dominantBaseline==="central"||n.dominantBaseline==="hanging"||n.dominantBaseline==="ideographic"||n.dominantBaseline==="mathematical"||n.dominantBaseline==="middle"||n.dominantBaseline==="text-bottom"||n.dominantBaseline==="text-top"?n.dominantBaseline:void 0)??e} fill=${o??e} fill-rule=evenodd font-family=${n.font.family??e} font-size=${n.font.size??e} font-style=${n.font.style??e} font-variant=${n.font.variant??e} font-weight=${n.font.weight??e} kerning=${n.kerning??e} rotate=${n.rotate??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} text-anchor=${(n.align==="inherit"||n.align==="middle"||n.align==="end"||n.align==="start"?n.align:void 0)??e} text-decoration=${(n.decoration==="inherit"||n.decoration==="none"||n.decoration==="blink"||n.decoration==="line-through"||n.decoration==="overline"||n.decoration==="underline"?n.decoration:void 0)??e} text-rendering=auto x=${t.x??e} y=${t.y??e}>${t.text}</text>`}return null}function at(t,o,i){let n=C(t);if(!n)return null;let{strength:r,radius:d}=n,l=r>0?d:0,h=5**(o/100)*(.4+o/100),u=(r+l*.5)*h,c=(r+l)*o,f=r*4+1;return s`<filter filterUnits=userSpaceOnUse height=300% .id=${`bloom${i}`} width=300% x=-100% y=-100%><feMorphology in=SourceGraphic operator=dilate radius=${u??e} result=dilate /><feGaussianBlur in=dilate result=blur stdDeviation=${c/25} /><feGaussianBlur in=blur result=intensityBlur stdDeviation=${c/50} /><feComponentTransfer in=SourceGraphic result=intensityBrightness><feFuncR slope=${f??e} type=linear /><feFuncG slope=${f??e} type=linear /><feFuncB slope=${f??e} type=linear /></feComponentTransfer><feMerge><feMergeNode in=intensityBlur /><feMergeNode in=intensityBrightness /><feGaussianBlur stdDeviation=${r/10} /></feMerge></filter>`}function x(t,o){let i=t*(it/180);return Math.abs(o*Math.sin(i))+Math.abs(o*Math.cos(i))}function T(t,o){let i={align:null,decoration:null,kerning:null,rotate:null,font:{style:null,variant:null,weight:null,size:null,family:null}};if(t){let n=t.alignBaseline,r=n==="baseline"?"auto":n==="top"?"text-top":n==="bottom"?"hanging":n;i.align=t.align,i.dominantBaseline=r,i.decoration=t.decoration,i.kerning=t.kerning?"auto":"0",i.rotate=t.rotated?"90":"0",j(o),i.font.style=o.style||"normal",i.font.variant=o.variant||"normal",i.font.weight=o.weight||"normal",i.font.size=o.size?.toString()||"10pt",i.font.family=o.family||"serif"}return i}function st(t,o){if(!t||t.length===0)return null;let i=[];for(let n of t){let{shape:r,fill:d,stroke:l,font:h}=n,u=E(d),c=D(l),f=r.type==="text"?T(r,h):null,a=I(r,u.fill,c,f);a&&i.push(a)}return s`<mask id=${o??e} maskUnits=userSpaceOnUse><g>${i}</g></mask>`}function C(t){let o=t?.match(/bloom\(\s*([^\s]+)\s+([^\s]+)\s+([^\s]+)\s*\)/iu);if(!o)return null;let[,i,n,r]=o;return{strength:Number(i),radius:N(F(n)),threshold:Number(r)}}function ut(t,o,i,n={}){let r=[],d=[],l=tt(),h=at(n.cssEffectFilter,o,l),u=null;if(h){let a=C(n.cssEffectFilter),$=n.clipBloomEffect||!a?.strength?0:(a.strength+a.radius/2)/3,p=o+o*$,m=i+i*$;u=[Math.max(p,10),Math.max(m,10)]}let c=o,f=i;if(n.useRotationSize)for(let a=0;a<t.length;a++){let $=n.rotations?.[a]??0;c=Math.max(x($,o),c),f=Math.max(x($,i),f)}for(let a=0;a<t.length;a++){let $=t[a],p=[],m=[],S=0,k=0,w=0;for(let y of $){let{shape:g,fill:P,stroke:A,font:W,offset:b}=y;!n.ignoreStrokeWidth&&g.type!=="text"&&(S+=A?.width||0);let z=E(P),q=D(A),H=g.type==="text"?T(g,W):null;r.push(ot(z)),p.push(I(g,z.fill,q,H,n.ariaLabel)),m.push(J(g)),b&&(k+=b[0],w+=b[1])}let v=n.rotations?.[a]??0;n.useRotationSize&&(k+=(c-x(v,o))/2,w+=(f-x(v,i))/2);let L=K(m),G=Q(L,o,i,S,n.scale??!1,v,n.useRotationSize??!1,[k,w],u),B=null;if(n.masking){let y=`mask-${a}`,g=n.masking[a];r.push(st(g,y)),B=`url(#${y})`}d.push(B?s`<g mask=${B??e}><g transform=${G??e}>${p}</g></g>`:s`<g transform=${G??e}>${p}</g>`)}return h&&(j(u),c=u[0],f=u[1]),U`<svg aria-label=${n.ariaLabel??e} height=${f??e} role=img style=${O("display: block;")} width=${c??e} xmlns=${et}>${s`${h}<defs>${r}</defs>${h?s`<g filter=${`url(#bloom${l})`}>${d}</g>`:d}`}</svg>`}return{a:ot,b:E,c:D,d:I,e:ut}},"applications/Components/svgUtils","Color",a)
3
+ v5.0.0-next.78 */
4
+ import a from"./UJ27PVYK.js";import{K as O,L as e,b as U,c as s}from"./NGISEUNU.js";export default $arcgis.t(([{getBoundingBox:J,computeBBox:K,getTransformMatrix:Q},M,{e:N,f:F}])=>{var V=0;function X(){return V++}var Y=0;function Z(){return Y++}var _=0;function tt(){return _++}var R=new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),et="http://www.w3.org/2000/svg",it=Math.PI;function ot(t){let{pattern:o,linearGradient:i}=t;if(o)return s`<pattern height=${o.height??e} id=${o.id??e} patternUnits=userSpaceOnUse width=${o.width??e} x=${o.x??0??e} y=${o.y??0??e}><image height=${o.image.height??e} href=${o.image.href??e} width=${o.image.width??e} x=${o.image.x??e} y=${o.image.y??e} /></pattern>`;if(i){let n=i.stops.map(r=>s`<stop offset=${r.offset??e} stop-color=${r.color??e} />`);return s`<linearGradient gradientUnits=userSpaceOnUse id=${i.id??e} x1=${i.x1??e} x2=${i.x2??e} y1=${i.y1??e} y2=${i.y2??e}>${n}</linearGradient>`}return null}function E(t){if(!t)return{fill:"none",pattern:null,linearGradient:null};if(!("type"in t))return{fill:new M(t).toString(),pattern:null,linearGradient:null};if(t.type==="pattern"){let i=`patternId-${X()}`;return{fill:`url(#${i})`,pattern:{id:i,x:t.x,y:t.y,width:t.width,height:t.height,image:{x:0,y:0,width:t.width,height:t.height,href:t.src}},linearGradient:null}}let o=`linearGradientId-${Z()}`;return{fill:`url(#${o})`,pattern:null,linearGradient:{id:o,x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stops:t.colors.map(i=>({offset:i.offset,color:i.color&&new M(i.color).toString()}))}}}function D(t){let o={color:"none",width:1,cap:"butt",join:"4",dashArray:"none",dashOffset:"0"};return t&&(t.width!=null&&(o.width=t.width),t.cap&&(o.cap=t.cap),t.join&&(o.join=t.join.toString()),t.color&&(o.color=new M(t.color).toString()),t.dashArray&&(o.dashArray=t.dashArray),t.dashoffset&&(o.dashOffset=t.dashoffset),t.style&&!t.dashArray&&(o.dashArray=nt(t).join(",")||"none")),o}function nt(t){if(!t?.style)return[];let{dashArray:o,style:i,width:n}=t;if(typeof o=="string"&&o!=="none")return o.split(",").map(l=>Number(l));let r=n??0,d=R.has(i)?R.get(i).map(l=>l*r):[];if(t.cap!=="butt")for(let[l,h]of d.entries())d[l]=l%2===1?h+r:Math.max(h-r,1);return d}function rt(t){return t.map(o=>`${o.command} ${o.values.join(" ")}`).join(" ").trim()}function j(t,o){if(t==null)throw new Error("value is None")}function I(t,o,i,n,r){if(t){if(t.type==="circle")return s`<circle cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd r=${t.r??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-dashoffset=${i.dashOffset??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="ellipse")return s`<ellipse cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd rx=${t.rx??e} ry=${t.ry??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="rect")return s`<rect fill=${o??e} fill-rule=evenodd height=${t.height??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="image")return s`<image aria-label=${r??""??e} height=${t.height??e} href=${t.src??e} preserveAspectRatio=none width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="path"){let d=typeof t.path!="string"?rt(t.path):t.path;return s`<path d=${d??e} fill=${o??e} fill-rule=evenodd stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`}if(t.type==="text")return j(n),s`<text dominant-baseline=${(n.dominantBaseline==="inherit"||n.dominantBaseline==="alphabetic"||n.dominantBaseline==="auto"||n.dominantBaseline==="central"||n.dominantBaseline==="hanging"||n.dominantBaseline==="ideographic"||n.dominantBaseline==="mathematical"||n.dominantBaseline==="middle"||n.dominantBaseline==="text-bottom"||n.dominantBaseline==="text-top"?n.dominantBaseline:void 0)??e} fill=${o??e} fill-rule=evenodd font-family=${n.font.family??e} font-size=${n.font.size??e} font-style=${n.font.style??e} font-variant=${n.font.variant??e} font-weight=${n.font.weight??e} kerning=${n.kerning??e} rotate=${n.rotate??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} text-anchor=${(n.align==="inherit"||n.align==="middle"||n.align==="end"||n.align==="start"?n.align:void 0)??e} text-decoration=${(n.decoration==="inherit"||n.decoration==="none"||n.decoration==="blink"||n.decoration==="line-through"||n.decoration==="overline"||n.decoration==="underline"?n.decoration:void 0)??e} text-rendering=auto x=${t.x??e} y=${t.y??e}>${t.text}</text>`}return null}function at(t,o,i){let n=C(t);if(!n)return null;let{strength:r,radius:d}=n,l=r>0?d:0,h=5**(o/100)*(.4+o/100),u=(r+l*.5)*h,c=(r+l)*o,f=r*4+1;return s`<filter filterUnits=userSpaceOnUse height=300% .id=${`bloom${i}`} width=300% x=-100% y=-100%><feMorphology in=SourceGraphic operator=dilate radius=${u??e} result=dilate /><feGaussianBlur in=dilate result=blur stdDeviation=${c/25} /><feGaussianBlur in=blur result=intensityBlur stdDeviation=${c/50} /><feComponentTransfer in=SourceGraphic result=intensityBrightness><feFuncR slope=${f??e} type=linear /><feFuncG slope=${f??e} type=linear /><feFuncB slope=${f??e} type=linear /></feComponentTransfer><feMerge><feMergeNode in=intensityBlur /><feMergeNode in=intensityBrightness /><feGaussianBlur stdDeviation=${r/10} /></feMerge></filter>`}function x(t,o){let i=t*(it/180);return Math.abs(o*Math.sin(i))+Math.abs(o*Math.cos(i))}function T(t,o){let i={align:null,decoration:null,kerning:null,rotate:null,font:{style:null,variant:null,weight:null,size:null,family:null}};if(t){let n=t.alignBaseline,r=n==="baseline"?"auto":n==="top"?"text-top":n==="bottom"?"hanging":n;i.align=t.align,i.dominantBaseline=r,i.decoration=t.decoration,i.kerning=t.kerning?"auto":"0",i.rotate=t.rotated?"90":"0",j(o),i.font.style=o.style||"normal",i.font.variant=o.variant||"normal",i.font.weight=o.weight||"normal",i.font.size=o.size?.toString()||"10pt",i.font.family=o.family||"serif"}return i}function st(t,o){if(!t||t.length===0)return null;let i=[];for(let n of t){let{shape:r,fill:d,stroke:l,font:h}=n,u=E(d),c=D(l),f=r.type==="text"?T(r,h):null,a=I(r,u.fill,c,f);a&&i.push(a)}return s`<mask id=${o??e} maskUnits=userSpaceOnUse><g>${i}</g></mask>`}function C(t){let o=t?.match(/bloom\(\s*([^\s]+)\s+([^\s]+)\s+([^\s]+)\s*\)/iu);if(!o)return null;let[,i,n,r]=o;return{strength:Number(i),radius:N(F(n)),threshold:Number(r)}}function ut(t,o,i,n={}){let r=[],d=[],l=tt(),h=at(n.cssEffectFilter,o,l),u=null;if(h){let a=C(n.cssEffectFilter),$=n.clipBloomEffect||!a?.strength?0:(a.strength+a.radius/2)/3,p=o+o*$,m=i+i*$;u=[Math.max(p,10),Math.max(m,10)]}let c=o,f=i;if(n.useRotationSize)for(let a=0;a<t.length;a++){let $=n.rotations?.[a]??0;c=Math.max(x($,o),c),f=Math.max(x($,i),f)}for(let a=0;a<t.length;a++){let $=t[a],p=[],m=[],S=0,k=0,w=0;for(let y of $){let{shape:g,fill:P,stroke:A,font:W,offset:b}=y;!n.ignoreStrokeWidth&&g.type!=="text"&&(S+=A?.width||0);let z=E(P),q=D(A),H=g.type==="text"?T(g,W):null;r.push(ot(z)),p.push(I(g,z.fill,q,H,n.ariaLabel)),m.push(J(g)),b&&(k+=b[0],w+=b[1])}let v=n.rotations?.[a]??0;n.useRotationSize&&(k+=(c-x(v,o))/2,w+=(f-x(v,i))/2);let L=K(m),G=Q(L,o,i,S,n.scale??!1,v,n.useRotationSize??!1,[k,w],u),B=null;if(n.masking){let y=`mask-${a}`,g=n.masking[a];r.push(st(g,y)),B=`url(#${y})`}d.push(B?s`<g mask=${B??e}><g transform=${G??e}>${p}</g></g>`:s`<g transform=${G??e}>${p}</g>`)}return h&&(j(u),c=u[0],f=u[1]),U`<svg aria-label=${n.ariaLabel??e} height=${f??e} role=img style=${O("display: block;")} width=${c??e} xmlns=${et}>${s`${h}<defs>${r}</defs>${h?s`<g filter=${`url(#bloom${l})`}>${d}</g>`:d}`}</svg>`}return{a:ot,b:E,c:D,d:I,e:ut}},"applications/Components/svgUtils","Color",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import{b as m}from"./M3L3J7MW.js";import{b as p,e as u}from"./SFZHMY4L.js";import{a as h}from"./HGNH7I2F.js";import{b as l,s as n,u as c}from"./KN6VHHUB.js";export default $arcgis.t(([{watch:a,when:g}])=>{var d=class extends c{constructor(t){super(t),this.direction=u(),this.attributionHeight=0,this.component.listen("arcgisViewClick",o=>{this._handleOpenPopup(o.detail)}),this.component.listenOn(globalThis,"unhandledrejection",o=>{if(o.reason?.name==="webgl:required"){let{name:e}=o.reason;this.webGLError={name:e}}})}hostLifecycle(){let t;return[a(()=>this.component.view?.ready,()=>{let o=this.component.view,e=o.container?.querySelector(".esri-attribution");!e||!o||(t?.disconnect(),t=new ResizeObserver(()=>{let r=e.clientHeight;if(r===this.attributionHeight)return;let s=r-this.attributionHeight;if(s!==0){if(!this.component.el.shadowRoot)return;let b=getComputedStyle(this.component.el.shadowRoot.host).getPropertyValue("--arcgis-layout-overlay-space-bottom").trim(),f=Number.parseInt(b)+s;this.component.el.style.setProperty("--arcgis-layout-overlay-space-bottom",`${f}px`)}this.attributionHeight=r}),t.observe(e))},{once:!0}),g(()=>this.component.view.popup?.visible,()=>{this.popupRef?.visible&&(this.popupRef.visible=!1)}),{remove:()=>{t?.disconnect()}}]}openPopup(t){this.popupRef?this.popupRef.open(t):this.component.view.openPopup(t)}closePopup(){this.popupRef?this.popupRef.visible=!1:this.component.view.closePopup()}async _handleOpenPopup(t){if(this.popupRef&&!this.component.popupDisabled){t.stopPropagation();let{location:o,promises:e}=await this.popupRef?.handleViewClick(t);e?.length&&(this.component.view.closePopup(),this.popupRef?.open({location:o,promises:e}))}}_handlePopupSlotChange(t){let o=h(t.target,"arcgis-popup");!this.popupRef&&o.length?this.popupRef=o[0]:o.length||(this.popupRef=void 0)}_webGLErrorAlert(){return this.webGLError?l`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>`:null}render(){return m(this.direction,t=>this._handlePopupSlotChange(t),this._webGLErrorAlert())}},L=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>{let{map:e}=i;if(!e||e.destroyed)return[];let r=[];return e.loadError&&r.push(e),e.basemap?.loadError&&r.push(e.basemap),e.ground.loadError&&r.push(e.ground),[...e.allLayers,...e.allTables].forEach(s=>{s.loadError&&r.push(s)}),r},e=>{e.length&&(i.loadErrorSources=e,o.emit())})),o}),G=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>i.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&o.emit()})),o});return{a:d,b:L,c:G}},"core/reactiveUtils")
3
+ v5.0.0-next.78 */
4
+ import{b as m}from"./44EWMBV5.js";import{b as p,e as u}from"./RH3YVMX6.js";import{a as h}from"./RJWE5TD6.js";import{b as l,s as n,u as c}from"./NGISEUNU.js";export default $arcgis.t(([{watch:a,when:g}])=>{var d=class extends c{constructor(t){super(t),this.direction=u(),this.attributionHeight=0,this.component.listen("arcgisViewClick",o=>{this._handleOpenPopup(o.detail)}),this.component.listenOn(globalThis,"unhandledrejection",o=>{if(o.reason?.name==="webgl:required"){let{name:e}=o.reason;this.webGLError={name:e}}})}hostLifecycle(){let t;return[a(()=>this.component.view?.ready,()=>{let o=this.component.view,e=o.container?.querySelector(".esri-attribution");!e||!o||(t?.disconnect(),t=new ResizeObserver(()=>{let r=e.clientHeight;if(r===this.attributionHeight)return;let s=r-this.attributionHeight;if(s!==0){if(!this.component.el.shadowRoot)return;let b=getComputedStyle(this.component.el.shadowRoot.host).getPropertyValue("--arcgis-layout-overlay-space-bottom").trim(),f=Number.parseInt(b)+s;this.component.el.style.setProperty("--arcgis-layout-overlay-space-bottom",`${f}px`)}this.attributionHeight=r}),t.observe(e))},{once:!0}),g(()=>this.component.view.popup?.visible,()=>{this.popupRef?.visible&&(this.popupRef.visible=!1)}),{remove:()=>{t?.disconnect()}}]}openPopup(t){this.popupRef?this.popupRef.open(t):this.component.view.openPopup(t)}closePopup(){this.popupRef?this.popupRef.visible=!1:this.component.view.closePopup()}async _handleOpenPopup(t){if(this.popupRef&&!this.component.popupDisabled){t.stopPropagation();let{location:o,promises:e}=await this.popupRef?.handleViewClick(t);e?.length&&(this.component.view.closePopup(),this.popupRef?.open({location:o,promises:e}))}}_handlePopupSlotChange(t){let o=h(t.target,"arcgis-popup");!this.popupRef&&o.length?this.popupRef=o[0]:o.length||(this.popupRef=void 0)}_webGLErrorAlert(){return this.webGLError?l`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>`:null}render(){return m(this.direction,t=>this._handlePopupSlotChange(t),this._webGLErrorAlert())}},L=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>{let{map:e}=i;if(!e||e.destroyed)return[];let r=[];return e.loadError&&r.push(e),e.basemap?.loadError&&r.push(e.basemap),e.ground.loadError&&r.push(e.ground),[...e.allLayers,...e.allTables].forEach(s=>{s.loadError&&r.push(s)}),r},e=>{e.length&&(i.loadErrorSources=e,o.emit())})),o}),G=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>i.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&o.emit()})),o});return{a:d,b:L,c:G}},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import e from"./EKTXEEEL.js";import b from"./7SM5U3X3.js";import a from"./4VQXTRNO.js";import"./SFZHMY4L.js";import"./N5WFHPN2.js";import"./5B6OVW6I.js";import"./HGNH7I2F.js";import{I as l,O as d,a as r,s as c}from"./KN6VHHUB.js";import"./3GFKVGOH.js";export default $arcgis.t(([h,,,g])=>{var p=r`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{max-width:fit-content}.esri-utility-network-association-list__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-utility-network-association-list__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-utility-network-association-list__limit-notice-container{margin-bottom:var(--calcite-spacing-md)}.esri-utility-network-association-list__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-un-associations__action{height:48px}.esri-un-associations__action-refresh{--calcite-color-icon-color: var(--calcite-color-brand)}.esri-un-associations__block-content{border-bottom:none;margin:0}.esri-un-associations__block-section-settings{border-style:none;padding:0}.esri-un-associations__combobox,.esri-un-associations__combobox-item{max-width:300px}.esri-un-associations__div-controls-main{background:var(--calcite-color-foreground-1);gap:.5rem;padding:.5rem 0;display:grid}.esri-un-associations__div-controls-symbol-picker{margin-top:.75rem}.esri-un-associations__dropdown{border:1px solid var(--calcite-color-border-input)}.esri-un-associations__dropdown-item-line-cap{background-position:50%;background-repeat:no-repeat;height:10px}.esri-un-associations__dropdown-item-line-pattern{height:3px}.esri-un-associations__dropdown-selected-item-line-cap{background-position:50%;background-repeat:no-repeat;background-size:275px 10px;width:100%;height:10px}.esri-un-associations__dropdown-selected-item-line-pattern{width:100%;height:3px}.esri-un-associations__dropdown-trigger{align-items:center;width:100%;height:24px;margin:0 6px;display:flex}.esri-un-associations__label{height:1rem}.esri-un-associations__label-and-combobox,.esri-un-associations__label-and-slider{flex-direction:column;display:flex}.esri-un-associations__label-and-toggle{width:inherit;flex-direction:row;justify-content:space-between;padding-right:.25rem;display:flex}.esri-un-associations__panel{max-height:calc(100vh - 48px - .5rem)}.esri-un-associations__slider{padding:0 .5rem}.esri-un-associations__status-icon-container{width:48px;height:48px}.esri-un-associations__status-icon-warning{--calcite-color-icon-color: var(--calcite-color-status-warning);padding:16px}.esri-un-associations__switch{align-self:center;padding:.5rem}.esri-un-associations__switch-container{width:48px;height:48px;display:flex}.esri-un-associations__widget-container{border-bottom:none;width:350px;margin:0}`,m=g(h),n=class extends l{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=c()}static{this.properties={view:0,autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.styles=p}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let i=this.el.view.map.utilityNetworks?.getItemAt(0);await i?.load(),this.utilityNetwork=i}}willUpdate(i){this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(i,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(i,a){let e=`show${a}`,o=`hide${a}`,s=`visibleElements${a}`,t=this;i.has(e)?t[s]=!!t[e]:i.has(o)?t[s]=!t[o]:i.has(s)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${s} is deprecated. Use ${e in t?e:o} instead..`),e in t?t[e]=!!t[s]:o in t&&(t[o]=!t[s]))}};d("arcgis-utility-network-associations",n);return n},"widgets/UtilityNetworkAssociations",a,b,e)
3
+ v5.0.0-next.78 */
4
+ import e from"./RM6CAMRN.js";import b from"./QMBCUGPT.js";import a from"./BRPO4EVV.js";import"./RH3YVMX6.js";import"./VFJNHL63.js";import"./TFL23VBR.js";import"./RJWE5TD6.js";import{I as l,O as d,a as r,s as c}from"./NGISEUNU.js";import"./Y2GB44DN.js";export default $arcgis.t(([h,,,g])=>{var p=r`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{max-width:fit-content}.esri-utility-network-association-list__feature-observer{z-index:2;text-align:center;position:relative;bottom:20px}.esri-utility-network-association-list__filter-container{z-index:1;margin-bottom:var(--calcite-spacing-md);top:var(--calcite-spacing-md)}.esri-utility-network-association-list__limit-notice-container{margin-bottom:var(--calcite-spacing-md)}.esri-utility-network-association-list__loading-container{justify-content:center;width:100%;padding:var(--calcite-spacing-md) 0;display:flex}.esri-un-associations__action{height:48px}.esri-un-associations__action-refresh{--calcite-color-icon-color: var(--calcite-color-brand)}.esri-un-associations__block-content{border-bottom:none;margin:0}.esri-un-associations__block-section-settings{border-style:none;padding:0}.esri-un-associations__combobox,.esri-un-associations__combobox-item{max-width:300px}.esri-un-associations__div-controls-main{background:var(--calcite-color-foreground-1);gap:.5rem;padding:.5rem 0;display:grid}.esri-un-associations__div-controls-symbol-picker{margin-top:.75rem}.esri-un-associations__dropdown{border:1px solid var(--calcite-color-border-input)}.esri-un-associations__dropdown-item-line-cap{background-position:50%;background-repeat:no-repeat;height:10px}.esri-un-associations__dropdown-item-line-pattern{height:3px}.esri-un-associations__dropdown-selected-item-line-cap{background-position:50%;background-repeat:no-repeat;background-size:275px 10px;width:100%;height:10px}.esri-un-associations__dropdown-selected-item-line-pattern{width:100%;height:3px}.esri-un-associations__dropdown-trigger{align-items:center;width:100%;height:24px;margin:0 6px;display:flex}.esri-un-associations__label{height:1rem}.esri-un-associations__label-and-combobox,.esri-un-associations__label-and-slider{flex-direction:column;display:flex}.esri-un-associations__label-and-toggle{width:inherit;flex-direction:row;justify-content:space-between;padding-right:.25rem;display:flex}.esri-un-associations__panel{max-height:calc(100vh - 48px - .5rem)}.esri-un-associations__slider{padding:0 .5rem}.esri-un-associations__status-icon-container{width:48px;height:48px}.esri-un-associations__status-icon-warning{--calcite-color-icon-color: var(--calcite-color-status-warning);padding:16px}.esri-un-associations__switch{align-self:center;padding:.5rem}.esri-un-associations__switch-container{width:48px;height:48px;display:flex}.esri-un-associations__widget-container{border-bottom:none;width:350px;margin:0}`,m=g(h),n=class extends l{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=c()}static{this.properties={view:0,autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.styles=p}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let i=this.el.view.map.utilityNetworks?.getItemAt(0);await i?.load(),this.utilityNetwork=i}}willUpdate(i){this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(i,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(i,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(i,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(i,a){let e=`show${a}`,o=`hide${a}`,s=`visibleElements${a}`,t=this;i.has(e)?t[s]=!!t[e]:i.has(o)?t[s]=!t[o]:i.has(s)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${s} is deprecated. Use ${e in t?e:o} instead..`),e in t?t[e]=!!t[s]:o in t&&(t[o]=!t[s]))}};d("arcgis-utility-network-associations",n);return n},"widgets/UtilityNetworkAssociations",a,b,e)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import{I as s,O as r,b as a}from"./KN6VHHUB.js";import"./3GFKVGOH.js";export default $arcgis.t(([{watch:p}])=>{var t=class extends s{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.dpi,e=>this._dpi=e<=0?1:e,{initial:!0})])}_handleDPIChange(e){let n=this.viewModel.templateOptions,i=Number(e.target.value);if(Number.isNaN(i)||i<=0||!Number.isFinite(i)){e.target.value=`${this._dpi}`;return}n.dpi=i}render(){return a`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};r("arcgis-print-dpi-input",t);return t},"core/reactiveUtils")
3
+ v5.0.0-next.78 */
4
+ import{I as s,O as r,b as a}from"./NGISEUNU.js";import"./Y2GB44DN.js";export default $arcgis.t(([{watch:p}])=>{var t=class extends s{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.dpi,e=>this._dpi=e<=0?1:e,{initial:!0})])}_handleDPIChange(e){let n=this.viewModel.templateOptions,i=Number(e.target.value);if(Number.isNaN(i)||i<=0||!Number.isFinite(i)){e.target.value=`${this._dpi}`;return}n.dpi=i}render(){return a`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};r("arcgis-print-dpi-input",t);return t},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import b from"./GXUNZFYP.js";import a from"./LQVH4LI2.js";import{b as _}from"./HGNH7I2F.js";import{I as p,J as i,K as e,O as m,a as g,b as t}from"./KN6VHHUB.js";import"./3GFKVGOH.js";export default $arcgis.t(([,{a:v,b:b,d:f,f:y,g:h,h:s,i:u}])=>{var F=g`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row,.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__size-ramp~.arcgis-legend__layer-cell--info{width:80%;max-width:80%}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-legend__univariate-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__univariate-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-legend__univariate-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-legend__univariate-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-legend__univariate-label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-legend__univariate-label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",sizeRamp:"arcgis-legend__size-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateLabel:"arcgis-legend__univariate-label"},n=class extends p{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=F}render(){let{legendElement:w,opacity:x}=this,{sizeRampElement:l,colorRampElement:c}=y(w,this.messages);if(!l)return null;let $=v(l),z=12,o=f(l,"full",!1),L=b(c,{width:z,height:o,rampAlignment:"vertical",opacity:x,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages.previewColorRampAriaLabel}),E=l.infos.length-1,C=l.infos.map((r,d)=>d===0||d===E?t`<div class=${i(r.label?c?a.univariateLabel:a.rampLabel:void 0)}>${r.label}</div>`:null),R={display:"table-cell",verticalAlign:"middle"},j={marginTop:`${$}px`},A={height:`${o}px`};return t`<div style=${e(u)}><div class=${i(a.layerBody)}>${l.infos.map(r=>t`<div class=${i(_(a.layerRow,a.sizeRamp))}><div class=${i(a.symbol)} style=${e(R)}>${r.preview}</div></div>`)}</div><div style=${e(j)}><div style=${e(h)}><div style=${e(s)}><div class=${i(a.rampContainer)}>${L}</div></div><div style=${e(s)}><div class=${i(a.rampLabelsContainer)} style=${e(A)}>${C}</div></div></div></div></div>`}};m("arcgis-legend-classic-univariate-color-size-ramp",n);return n},a,b)
3
+ v5.0.0-next.78 */
4
+ import b from"./TI3B4UN2.js";import a from"./UJ27PVYK.js";import{b as _}from"./RJWE5TD6.js";import{I as p,J as i,K as e,O as m,a as g,b as t}from"./NGISEUNU.js";import"./Y2GB44DN.js";export default $arcgis.t(([,{a:v,b:b,d:f,f:y,g:h,h:s,i:u}])=>{var F=g`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm)}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row,.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__size-ramp~.arcgis-legend__layer-cell--info{width:80%;max-width:80%}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-legend__univariate-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__univariate-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-legend__univariate-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-legend__univariate-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-legend__univariate-label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-legend__univariate-label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",sizeRamp:"arcgis-legend__size-ramp",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateLabel:"arcgis-legend__univariate-label"},n=class extends p{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=F}render(){let{legendElement:w,opacity:x}=this,{sizeRampElement:l,colorRampElement:c}=y(w,this.messages);if(!l)return null;let $=v(l),z=12,o=f(l,"full",!1),L=b(c,{width:z,height:o,rampAlignment:"vertical",opacity:x,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages.previewColorRampAriaLabel}),E=l.infos.length-1,C=l.infos.map((r,d)=>d===0||d===E?t`<div class=${i(r.label?c?a.univariateLabel:a.rampLabel:void 0)}>${r.label}</div>`:null),R={display:"table-cell",verticalAlign:"middle"},j={marginTop:`${$}px`},A={height:`${o}px`};return t`<div style=${e(u)}><div class=${i(a.layerBody)}>${l.infos.map(r=>t`<div class=${i(_(a.layerRow,a.sizeRamp))}><div class=${i(a.symbol)} style=${e(R)}>${r.preview}</div></div>`)}</div><div style=${e(j)}><div style=${e(h)}><div style=${e(s)}><div class=${i(a.rampContainer)}>${L}</div></div><div style=${e(s)}><div class=${i(a.rampLabelsContainer)} style=${e(A)}>${C}</div></div></div></div></div>`}};m("arcgis-legend-classic-univariate-color-size-ramp",n);return n},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import{R as e}from"./GF2YKM7P.js";import"./7CO6H7TJ.js";import{V as t}from"./7TASAEAI.js";import"./3GFKVGOH.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
3
+ v5.0.0-next.78 */
4
+ import{R as e}from"./3B2WQABB.js";import"./JPILUHYA.js";import{V as t}from"./IJCIB2RR.js";import"./Y2GB44DN.js";var r=class extends t{setupDefaultRules(){super.setupDefaultRules(),this.rule("InterfaceColors").setAll({stroke:e.fromHex(0),fill:e.fromHex(2829099),primaryButton:e.lighten(e.fromHex(6788316),-.2),primaryButtonHover:e.lighten(e.fromHex(6779356),-.2),primaryButtonDown:e.lighten(e.fromHex(6872181),-.2),primaryButtonActive:e.lighten(e.fromHex(6872182),-.2),primaryButtonText:e.fromHex(16777215),primaryButtonStroke:e.lighten(e.fromHex(6788316),-.2),secondaryButton:e.fromHex(3881787),secondaryButtonHover:e.lighten(e.fromHex(3881787),.1),secondaryButtonDown:e.lighten(e.fromHex(3881787),.15),secondaryButtonActive:e.lighten(e.fromHex(3881787),.2),secondaryButtonText:e.fromHex(12303291),secondaryButtonStroke:e.lighten(e.fromHex(3881787),-.2),grid:e.fromHex(12303291),background:e.fromHex(0),alternativeBackground:e.fromHex(16777215),text:e.fromHex(16777215),alternativeText:e.fromHex(0),disabled:e.fromHex(11382189),positive:e.fromHex(5288704),negative:e.fromHex(11730944)})}};var b=r;export{b as default};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import c from"./SAXQFDOK.js";import a from"./GRVIYGQ5.js";import{a as F}from"./5WW7EFGT.js";import{g as L}from"./SFZHMY4L.js";import{b as E}from"./HGNH7I2F.js";import{H as M,I as x,J as l,L as _,O as b,a as y,b as o,s as I}from"./KN6VHHUB.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=L()("flowItems","state"),this.arcgisReady=I()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,position:3,icon:1,isFeatureFromTable:5,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideTitle:5,hideContent:5,hideAttachmentsContent:5,hideContentAttachments:5,hideCustomContent:5,hideExpressionContent:5,hideContentExpression:5,hideFieldsContent:5,hideContentFields:5,hideMediaContent:5,hideContentMedia:5,showRelationshipContent:5,hideTextContent:5,hideContentText:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,hideLastEditInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get hideTitle(){return this.hideHeading}set hideTitle(e){this.hideHeading=e}get hideContentAttachments(){return this.hideAttachmentsContent}set hideContentAttachments(e){this.hideAttachmentsContent=e}get hideContentExpression(){return this.hideExpressionContent}set hideContentExpression(e){this.hideExpressionContent=e}get hideContentFields(){return this.hideFieldsContent}set hideContentFields(e){this.hideFieldsContent=e}get hideContentMedia(){return this.hideMediaContent}set hideContentMedia(e){this.hideMediaContent=e}get hideContentText(){return this.hideTextContent}set hideContentText(e){this.hideTextContent=e}get hideLastEditInfo(){return this.hideLastEditedInfo}set hideLastEditInfo(e){this.hideLastEditedInfo=e}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.text});return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${M(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??_}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=B(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c)
3
+ v5.0.0-next.78 */
4
+ import c from"./5EVPBMYK.js";import a from"./ZRTO7MFD.js";import{a as F}from"./4HWQRAEY.js";import{g as L}from"./RH3YVMX6.js";import{b as E}from"./RJWE5TD6.js";import{H as M,I as x,J as l,L as _,O as b,a as y,b as o,s as I}from"./NGISEUNU.js";export default $arcgis.t(([H,{substitute:B},Z,{watch:P},{stripHTML:U},T,{b:A,c:V,d:R,e:k,f:D,j:N,q:h}])=>{var z=y`:host{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1);--calcite-color-background: var(--calcite-color-foreground-1)}.arcgis-feature{flex:1 1 auto}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-lg);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child,.arcgis-feature__content-element:last-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}`,f="arcgis-feature",d={base:f,container:`${f}__size-container`,main:`${f}__main-container`,contentElement:`${f}__content-element`,lastEditedInfo:`${f}__last-edited-info`,loadingSpinnerContainer:`${f}__loading-container`},S=T(H),C=class extends x{constructor(){super(...arguments),this.messages=F(),this._rootFlowNode=null,this.flowType="feature",this.internalFlowItems=new Z,this.viewModel=S(this),this.view=this.viewModel.view,this.icon="icon",this.isFeatureFromTable=this.viewModel.isFeatureFromTable,this.graphic=this.viewModel.graphic,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=L()("flowItems","state"),this.arcgisReady=I()}static{this.properties={flowType:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,internalFlowItems:16,viewModel:0,view:0,flowItems:0,referenceElement:1,position:3,icon:1,isFeatureFromTable:5,graphic:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideTitle:5,hideContent:5,hideAttachmentsContent:5,hideContentAttachments:5,hideCustomContent:5,hideExpressionContent:5,hideContentExpression:5,hideFieldsContent:5,hideContentFields:5,hideMediaContent:5,hideContentMedia:5,showRelationshipContent:5,hideTextContent:5,hideContentText:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,hideLastEditInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=z}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}get hideTitle(){return this.hideHeading}set hideTitle(e){this.hideHeading=e}get hideContentAttachments(){return this.hideAttachmentsContent}set hideContentAttachments(e){this.hideAttachmentsContent=e}get hideContentExpression(){return this.hideExpressionContent}set hideContentExpression(e){this.hideExpressionContent=e}get hideContentFields(){return this.hideFieldsContent}set hideContentFields(e){this.hideFieldsContent=e}get hideContentMedia(){return this.hideMediaContent}set hideContentMedia(e){this.hideMediaContent=e}get hideContentText(){return this.hideTextContent}set hideContentText(e){this.hideTextContent=e}get hideLastEditInfo(){return this.hideLastEditedInfo}set hideLastEditInfo(e){this.hideLastEditedInfo=e}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}async updateGeometry(){return await this.viewModel.updateGeometry()}loaded(){this.manager.onLifecycle(()=>[P(()=>[this.internalFlowItems?.length],()=>this._setFocus())])}_removeFlowItems(){this.internalFlowItems?.removeAll()}_storeRootFlowNode(e){this._rootFlowNode=e}_setFocus(){this._rootFlowNode?.setFocus()}_handleDrillInBackClick(){this.internalFlowItems?.pop()}render(){let{state:e}=this.viewModel,t=o`<div class=${l(d.container)}>${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return o`<div class=${l(d.base)}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return o`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:o`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return o`<div class=${l(d.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.title}),r=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.description});return o`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${s} .displayType=${e.displayType} .attachmentKeywords=${e.attachmentKeywords??void 0} .attachmentTypes=${e.attachmentTypes??void 0} .graphic=${this.graphic??void 0} .description=${r} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return o`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c,graphic:p}=this,u=!!e?.fieldInfos,m=(e.fieldInfos??r?.fieldInfos??[])?.filter(({fieldName:g})=>!!g&&(N(g)||D(g)||g in n)),v=r?.expressionInfos,$=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),w=h({values:n,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${$} class=${l(d.contentElement)} .messages=${this.messages} .graphic=${p??void 0} .isContentFieldInfos=${u} .layer=${s} .description=${w} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${m} .expressionInfos=${v??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,popupTemplate:r,globalValues:c}=this,{formattedAttributes:p,relatedInfos:u}=this.viewModel,m={...p?.global,...p?.content?.[t]},v=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.title}),$=h({values:i,fieldInfoMap:a,globalValues:c,layer:s,text:e.description});return o`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(d.contentElement)} .description=${$} .values=${i} .layer=${s} .graphic=${n??void 0} .messages=${this.messages} .fieldInfoMap=${a} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${r??void 0} .relatedInfos=${u} .formattedValues=${m}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:a}=this,s=h({values:t,fieldInfoMap:i,globalValues:a,layer:n,text:e.text});return o`<arcgis-feature-content .creator=${s} .graphic=${this.graphic??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return o`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(d.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:a,sourceLayer:s,globalValues:r}=this,{displayCount:c,orderByFields:p,relationshipId:u}=e,{formattedAttributes:m,view:v}=this.viewModel,$={...m?.global,...m?.content?.[t]},w=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.title}),g=h({values:i,fieldInfoMap:a,globalValues:r,layer:s,text:e.description});return o`<arcgis-feature-relationship class=${l(d.contentElement)} .flowItems=${this.flowItems??this.internalFlowItems} .description=${g} .layer=${s} .map=${this.map??void 0} .displayCount=${c} .graphic=${n??void 0} .heading=${w} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${p??void 0} .relationshipId=${u??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${$} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(e){let{fieldInfoMap:t,globalValues:i,graphic:n,messages:a,sourceLayer:s,values:r}=this,c=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.title}),p=h({values:r,fieldInfoMap:t,globalValues:i,layer:s,text:e.description});return o`<arcgis-feature-utility-network-associations .associationTypes=${e.associationTypes} class=${l(d.contentElement)} .description=${p} .flowItems=${this.flowItems??this.internalFlowItems} .graphic=${n??void 0} .heading=${c} .headingLevel=${this.headingLevel} .layer=${s} .map=${this.map??void 0} .messages=${a} .parentFeatureViewModel=${this.viewModel} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.viewModel.view??void 0}></arcgis-feature-utility-network-associations>`}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation(e):null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?o`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(d.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e,internalFlowItems:t,headingLevel:i,state:n,messages:a}=this;if(e)return null;let s=o`<div class=${l(d.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`,r=a.returnToInitialFeature??"";return this.flowItems?s:o`<calcite-flow ${M(this._storeRootFlowNode)}><calcite-flow-item .loading=${n==="loading"} .headingLevel=${i} .heading=${this.hideHeading?void 0:U(this.heading)} .selected=${!t.length}>${s}</calcite-flow-item>${t.toArray().map((c,p)=>o`<calcite-flow-item @calciteFlowItemBack=${u=>{u.preventDefault(),this._handleDrillInBackClick()}} .loading=${n==="loading"} .headingLevel=${i} .selected=${p===t.length-1}><calcite-action appearance=transparent icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${r} title=${r??_}></calcite-action>${c}</calcite-flow-item>`)}</calcite-flow>`}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:a}=i,s=i.type==="edit"?a?t.lastEditedByUser:t.lastEdited:a?t.lastCreatedByUser:t.lastCreated,r=B(s??"",{date:n,user:a});return o`<div class=${l(E(d.lastEditedInfo,d.contentElement))}>${r}</div>`}};b("arcgis-feature",C);return C},"widgets/Feature/FeatureViewModel","intl","core/Collection","core/reactiveUtils","applications/Components/stringUtils",a,c)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.76 */
4
- import b from"./7SM5U3X3.js";import a from"./4VQXTRNO.js";import{a as r}from"./SFZHMY4L.js";export default $arcgis.t(([{watch:a},{b:n},{c:i}])=>{var v=(e,o)=>s=>m(s,e),t=class extends i{#o=void 0;constructor(o,s){super(o,s),new n(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)
3
+ v5.0.0-next.78 */
4
+ import b from"./QMBCUGPT.js";import a from"./BRPO4EVV.js";import{a as r}from"./RH3YVMX6.js";export default $arcgis.t(([{watch:a},{b:n},{c:i}])=>{var v=(e,o)=>s=>m(s,e),t=class extends i{#o=void 0;constructor(o,s){super(o,s),new n(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)