@arcgis/map-components 6.0.0-next.0 → 6.0.0-next.10

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 (704) hide show
  1. package/dist/cdn/{ZWN6DXNO.js → 22I5XGTS.js} +2 -2
  2. package/dist/cdn/{J657IBDC.js → 24KCDMDH.js} +2 -2
  3. package/dist/cdn/{5CER2N5T.js → 24MLXKMZ.js} +2 -2
  4. package/dist/cdn/{DMYMCGHJ.js → 26URLKXD.js} +2 -2
  5. package/dist/cdn/{AAMRTS35.js → 2CEJU3YF.js} +2 -2
  6. package/dist/cdn/{3A3DGDW5.js → 2CGIS34C.js} +2 -2
  7. package/dist/cdn/{RPHJDEZH.js → 2KBLNC6Y.js} +2 -2
  8. package/dist/cdn/{IJLCJVC4.js → 2KPCMM7D.js} +2 -2
  9. package/dist/cdn/{PYTZ3YBE.js → 2U3VASQT.js} +1 -1
  10. package/dist/cdn/{XTPRVANS.js → 2UKSCGYU.js} +2 -2
  11. package/dist/cdn/{7N4V2IN6.js → 366GLQ5R.js} +1 -1
  12. package/dist/cdn/{43IOCYG5.js → 36ZT6IRE.js} +2 -2
  13. package/dist/cdn/{CX45KI3X.js → 3C6FN5WT.js} +2 -2
  14. package/dist/cdn/{GV3IXBBT.js → 3GHQZCMV.js} +2 -2
  15. package/dist/cdn/{4F2ZWXO2.js → 3ONY25MG.js} +2 -2
  16. package/dist/cdn/{EKR2SAT2.js → 3UMLR76Y.js} +2 -2
  17. package/dist/cdn/{OHLJ6POC.js → 3VCGDZEU.js} +2 -2
  18. package/dist/cdn/{UCTJVPYB.js → 3X4TCM6A.js} +2 -2
  19. package/dist/cdn/{BLYJE76S.js → 42G6XTIG.js} +2 -2
  20. package/dist/cdn/42LHTN2R.js +2 -0
  21. package/dist/cdn/{27MP6TEF.js → 4657ONKJ.js} +2 -2
  22. package/dist/cdn/4B2TLORL.js +2 -0
  23. package/dist/cdn/{JCR7S6RP.js → 4EO2342P.js} +2 -2
  24. package/dist/cdn/{BZR4MSO5.js → 4ER6YIYW.js} +2 -2
  25. package/dist/cdn/{SXQRPAPL.js → 4HNRKSQ2.js} +2 -2
  26. package/dist/cdn/{YHKTMUY7.js → 4IWYFG2G.js} +2 -2
  27. package/dist/cdn/{FMIWBKT4.js → 4KQA2GRX.js} +2 -2
  28. package/dist/cdn/{JCRPP54Z.js → 4L43F7HU.js} +1 -1
  29. package/dist/cdn/{XAD4PUBU.js → 4O3HLHQQ.js} +2 -2
  30. package/dist/cdn/{OUXE3CSQ.js → 4O6FFXUV.js} +2 -2
  31. package/dist/cdn/4UDLUCTE.js +2 -0
  32. package/dist/cdn/{DOEKV7G3.js → 4WKWYFIH.js} +2 -2
  33. package/dist/cdn/{DL57EVZ4.js → 4XERPOOU.js} +2 -2
  34. package/dist/cdn/{JPKB745U.js → 52CUDGKY.js} +2 -2
  35. package/dist/cdn/{4TTVVGYW.js → 53OXTCE6.js} +2 -2
  36. package/dist/cdn/{GQ6SYNZS.js → 54GFXFK4.js} +2 -2
  37. package/dist/cdn/{RQLMXLJC.js → 5AMF6NZN.js} +2 -2
  38. package/dist/cdn/{6BLFYSDN.js → 5DY7GHBN.js} +2 -2
  39. package/dist/cdn/{SFSWQGLY.js → 5ESNA4SF.js} +2 -2
  40. package/dist/cdn/5ITYFVDX.js +2 -0
  41. package/dist/cdn/{FFJCCMDZ.js → 5RAIBYCT.js} +2 -2
  42. package/dist/cdn/{I5ZESLWO.js → 5WKEDXRT.js} +2 -2
  43. package/dist/cdn/{CQQM24VF.js → 5YHHJ5ZE.js} +2 -2
  44. package/dist/cdn/{3HS3DM5B.js → 62IE7RFR.js} +2 -2
  45. package/dist/cdn/{YPNGSV66.js → 65MI3MW2.js} +2 -2
  46. package/dist/cdn/{7AHOPT65.js → 677OZNT4.js} +2 -2
  47. package/dist/cdn/{TC6HL72N.js → 67B7TPGQ.js} +2 -2
  48. package/dist/cdn/{ELYDZHP5.js → 67PT3A4A.js} +2 -2
  49. package/dist/cdn/{PRTHX6OC.js → 6A2OF3TO.js} +2 -2
  50. package/dist/cdn/{POKO37D3.js → 6J3KSMFG.js} +1 -1
  51. package/dist/cdn/{ITRD7ZY4.js → 6N7GPFZ4.js} +2 -2
  52. package/dist/cdn/{CORNSRXU.js → 6UYEO5Q7.js} +2 -2
  53. package/dist/cdn/{GXRPNW37.js → 6VO7G2UX.js} +2 -2
  54. package/dist/cdn/{AYJQLWX4.js → 75UV3NKU.js} +2 -2
  55. package/dist/cdn/77U2VO5P.js +2 -0
  56. package/dist/cdn/{ECNRW3D5.js → 7DFCYS72.js} +2 -2
  57. package/dist/cdn/{TPC2FJJX.js → 7FFBCPVE.js} +2 -2
  58. package/dist/cdn/{VWN2LORT.js → 7FGOCFTQ.js} +2 -2
  59. package/dist/cdn/7HS2SX6W.js +2 -0
  60. package/dist/cdn/{ZFHHY72B.js → 7JVPR5EI.js} +2 -2
  61. package/dist/cdn/{Z5C6UBYP.js → 7VDBR3SK.js} +2 -2
  62. package/dist/cdn/{T4V5O3FK.js → 7VJQVX42.js} +2 -2
  63. package/dist/cdn/7YHGGHJY.js +2 -0
  64. package/dist/cdn/{UWKXYCO3.js → A7RLC6ZT.js} +2 -2
  65. package/dist/cdn/{VCRVQMYT.js → A7SZYQDH.js} +2 -2
  66. package/dist/cdn/ABOTJ6RE.js +2 -0
  67. package/dist/cdn/{N2HG34QB.js → AFP64NRH.js} +2 -2
  68. package/dist/cdn/{RQG75Q2X.js → AIMWEMBX.js} +2 -2
  69. package/dist/cdn/{TN5C3MSL.js → AL3PLZEE.js} +1 -1
  70. package/dist/cdn/AN7R3DP5.js +2 -0
  71. package/dist/cdn/{3LOGBSQP.js → BHCAFGIA.js} +1 -1
  72. package/dist/cdn/{2CWTV6TC.js → BI2SI2HK.js} +2 -2
  73. package/dist/cdn/BJWJ6E3L.js +2 -0
  74. package/dist/cdn/{R2IBOCMY.js → BVTEQMDF.js} +2 -2
  75. package/dist/cdn/{MW6AOK5D.js → BZQIIXMP.js} +2 -2
  76. package/dist/cdn/{CF4OY56S.js → C5N4AOB6.js} +2 -2
  77. package/dist/cdn/{UINNR6FV.js → C5XAFXEL.js} +2 -2
  78. package/dist/cdn/CF54A7MK.js +2 -0
  79. package/dist/cdn/{BSTO7TGD.js → CKS5ACAB.js} +2 -2
  80. package/dist/cdn/{5L5UYV3H.js → CKZBNHMD.js} +1 -1
  81. package/dist/cdn/CNYZSE22.js +2 -0
  82. package/dist/cdn/{PLVTYVUG.js → CP5JALYQ.js} +2 -2
  83. package/dist/cdn/CPYVZPJ7.js +2 -0
  84. package/dist/cdn/{QPFX5XH3.js → CUVRESLH.js} +2 -2
  85. package/dist/cdn/CVJOD6H3.js +2 -0
  86. package/dist/cdn/{VYYFRZLI.js → CWA47RNK.js} +2 -2
  87. package/dist/cdn/CZVI23H5.js +2 -0
  88. package/dist/cdn/{VDTRRLON.js → DFUR3C3D.js} +1 -1
  89. package/dist/cdn/{4T2A7PAO.js → DK7HXJSX.js} +2 -2
  90. package/dist/cdn/{7FVXPOAG.js → DNE47HSP.js} +2 -2
  91. package/dist/cdn/DPNB5GBY.js +2 -0
  92. package/dist/cdn/{XPIX7Z2Q.js → DPVRHPHQ.js} +2 -2
  93. package/dist/cdn/DTORO2OE.js +2 -0
  94. package/dist/cdn/{XAADUJ74.js → DUMHDAYP.js} +2 -2
  95. package/dist/cdn/{VCSX4G2U.js → DY2EOHFD.js} +2 -2
  96. package/dist/cdn/{3SG4AC5C.js → DYWCAORU.js} +2 -2
  97. package/dist/cdn/{CGN2BQTU.js → E54VGGFM.js} +2 -2
  98. package/dist/cdn/{T2DT5I33.js → EH4CBZNF.js} +1 -1
  99. package/dist/cdn/{B476G3EX.js → EJKAIZAE.js} +2 -2
  100. package/dist/cdn/{N4MW5VBL.js → EK7Y6JBZ.js} +2 -2
  101. package/dist/cdn/{YOUMOTN3.js → EMXGW73P.js} +2 -2
  102. package/dist/cdn/{ZPH7M75T.js → ENDFTFEF.js} +2 -2
  103. package/dist/cdn/{HZX7MSQG.js → ESOCZAMZ.js} +2 -2
  104. package/dist/cdn/{TILA2OKK.js → ET4UP4EQ.js} +2 -2
  105. package/dist/cdn/{FNSGB45I.js → EV7IIQBP.js} +2 -2
  106. package/dist/cdn/F4S2DPYN.js +2 -0
  107. package/dist/cdn/{PEH4U3YV.js → F5IHFPKA.js} +2 -2
  108. package/dist/cdn/{3WTBTYMS.js → F5JYYT42.js} +1 -1
  109. package/dist/cdn/F6CXHAHU.js +2 -0
  110. package/dist/cdn/{YPNJ5V4R.js → FBV5KXOY.js} +2 -2
  111. package/dist/cdn/{J23DTKII.js → FF7BSRYW.js} +2 -2
  112. package/dist/cdn/{IZ46HAUJ.js → FH3WFF5O.js} +1 -1
  113. package/dist/cdn/{LHFB44QW.js → FHBTVQHP.js} +2 -2
  114. package/dist/cdn/{7EQZKGJN.js → FHHVGI4H.js} +2 -2
  115. package/dist/cdn/FIZMK7GS.js +1 -0
  116. package/dist/cdn/{IRZGEFF5.js → FPPWXIBA.js} +2 -2
  117. package/dist/cdn/{6J55YK5V.js → FQSHLYKX.js} +2 -2
  118. package/dist/cdn/{3MQPSWL6.js → FSBLGH6E.js} +2 -2
  119. package/dist/cdn/{TZ2LE7KS.js → FTCHTEUY.js} +2 -2
  120. package/dist/cdn/{BAOWXZTE.js → FXUZU52U.js} +1 -1
  121. package/dist/cdn/FYR4QVEY.js +2 -0
  122. package/dist/cdn/{GVZKVOM7.js → FZAQZSRA.js} +2 -2
  123. package/dist/cdn/{2COOBXHG.js → G72ISZDZ.js} +2 -2
  124. package/dist/cdn/{GU3M4JMW.js → GDLDEHUJ.js} +1 -1
  125. package/dist/cdn/{A4U2PDJP.js → GHVT7W4O.js} +2 -2
  126. package/dist/cdn/{CZOM5NWO.js → GJKFDTVX.js} +2 -2
  127. package/dist/cdn/GJTUYTTG.js +2 -0
  128. package/dist/cdn/{SBIOND5K.js → GK47522P.js} +2 -2
  129. package/dist/cdn/{7DAQGPGD.js → GLQMCCUM.js} +2 -2
  130. package/dist/cdn/{NZBID35V.js → GNSNEUMI.js} +2 -2
  131. package/dist/cdn/{CJ4KIA26.js → GNWRCB5F.js} +2 -2
  132. package/dist/cdn/{MKCJXRXB.js → GS2HJTMU.js} +2 -2
  133. package/dist/cdn/{2DKTF2EL.js → GSVPPSX6.js} +2 -2
  134. package/dist/cdn/{VWFQCWGB.js → GUHSWQMF.js} +2 -2
  135. package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
  136. package/dist/cdn/{EDTGV4YF.js → GUZCA62E.js} +2 -2
  137. package/dist/cdn/{HCN3UC4W.js → GUZYCRYS.js} +2 -2
  138. package/dist/cdn/{276JOEH5.js → H4LMELM2.js} +2 -2
  139. package/dist/cdn/{OX55WUIT.js → H7NR6B6S.js} +2 -2
  140. package/dist/cdn/HA4XWZH4.js +2 -0
  141. package/dist/cdn/{SFFTE3TG.js → HDHWPKJ4.js} +2 -2
  142. package/dist/cdn/{4WP4DUBT.js → HEIKRBJK.js} +2 -2
  143. package/dist/cdn/{MEZHGYCH.js → HGP7GVZU.js} +2 -2
  144. package/dist/cdn/{RKTSSP3O.js → HI7BF3DL.js} +2 -2
  145. package/dist/cdn/HIBFGEAJ.js +2 -0
  146. package/dist/cdn/{UPZVIKOH.js → HJVHORPG.js} +2 -2
  147. package/dist/cdn/{N6VSP7BU.js → HKLBQ7JD.js} +2 -2
  148. package/dist/cdn/{JBHRVHGS.js → HPWF3IQV.js} +2 -2
  149. package/dist/cdn/{DPPZZO5W.js → HQDOPV3Q.js} +2 -2
  150. package/dist/cdn/HQSY7TKA.js +2 -0
  151. package/dist/cdn/{UMHGXP3S.js → HQWUQFN5.js} +2 -2
  152. package/dist/cdn/{TMJX7DFH.js → HU57LQOA.js} +1 -1
  153. package/dist/cdn/{YWS5RHVM.js → HWKMLOOG.js} +2 -2
  154. package/dist/cdn/{KKP7ZZUD.js → HYMCX7JZ.js} +2 -2
  155. package/dist/cdn/{5763ZV75.js → HZTF3LOF.js} +2 -2
  156. package/dist/cdn/{BIWQEPK4.js → I4AEBGQM.js} +2 -2
  157. package/dist/cdn/{VEAJ52RN.js → IAWXCNTX.js} +2 -2
  158. package/dist/cdn/{FMBY3L4S.js → IBN4TKBI.js} +2 -2
  159. package/dist/cdn/{JAZGNQRP.js → IFR4IYSI.js} +2 -2
  160. package/dist/cdn/{27GJE7OY.js → IHUJKT47.js} +2 -2
  161. package/dist/cdn/IITDAOGZ.js +2 -0
  162. package/dist/cdn/{O7RSAJOS.js → IM6IDWYR.js} +1 -1
  163. package/dist/cdn/{I2A6UYGZ.js → IQOSVEZ5.js} +2 -2
  164. package/dist/cdn/{4PGC5LTJ.js → J3FRSWZD.js} +2 -2
  165. package/dist/cdn/{QX33OCXB.js → J3IDFYN3.js} +2 -2
  166. package/dist/cdn/{Y4WOZJQX.js → J4CHCFLS.js} +2 -2
  167. package/dist/cdn/{WBI4RS3V.js → JQ4K46KY.js} +2 -2
  168. package/dist/cdn/{54CLZESW.js → JQ7MMDQT.js} +2 -2
  169. package/dist/cdn/{IDKRMHDS.js → JXQEGZDB.js} +1 -1
  170. package/dist/cdn/{3YXCLF3K.js → JXU37SH6.js} +2 -2
  171. package/dist/cdn/{MUWOF7W4.js → JZHZCJTJ.js} +2 -2
  172. package/dist/cdn/{I23AZWQL.js → K23R26AN.js} +2 -2
  173. package/dist/cdn/{5UOXHOVU.js → K7ELALW4.js} +2 -2
  174. package/dist/cdn/K7XSWKZ2.js +2 -0
  175. package/dist/cdn/{HLGU3U73.js → KBA5OIES.js} +2 -2
  176. package/dist/cdn/{XPGC5GAG.js → KCLVDXWB.js} +2 -2
  177. package/dist/cdn/KKLTZBSE.js +2 -0
  178. package/dist/cdn/{SP73K22L.js → KRMN6HAV.js} +2 -2
  179. package/dist/cdn/{5SL2HI4G.js → KVYBIOH5.js} +2 -2
  180. package/dist/cdn/{ALROLX35.js → L46JLXJT.js} +2 -2
  181. package/dist/cdn/{JD74LG7K.js → L5IRXOCJ.js} +1 -1
  182. package/dist/cdn/{QOQRNYM5.js → L7DFXEAX.js} +2 -2
  183. package/dist/cdn/{YKSVOTDV.js → LBSIU6XT.js} +2 -2
  184. package/dist/cdn/{M7LDGJG6.js → LC37F7HF.js} +2 -2
  185. package/dist/cdn/{JE6NC2E6.js → LH2T4TMP.js} +2 -2
  186. package/dist/cdn/{KRVLKKXB.js → LKAJVIS2.js} +2 -2
  187. package/dist/cdn/LOOJWRCW.js +2 -0
  188. package/dist/cdn/{3JCF73F4.js → LUTUHOKB.js} +2 -2
  189. package/dist/cdn/{BEFZSVBT.js → LW4IDPBB.js} +2 -2
  190. package/dist/cdn/{6NWR2Z4F.js → LY6LSUSY.js} +2 -2
  191. package/dist/cdn/LZVMUNZC.js +2 -0
  192. package/dist/cdn/M3ZQGUYQ.js +2 -0
  193. package/dist/cdn/{RFSBZHJD.js → M4D5WUVD.js} +2 -2
  194. package/dist/cdn/{SQYMNL75.js → MA2GVVQJ.js} +2 -2
  195. package/dist/cdn/MA7GBKLW.js +2 -0
  196. package/dist/cdn/MBGCAZPS.js +4 -0
  197. package/dist/cdn/{GQXUCZYM.js → MCMACXJV.js} +2 -2
  198. package/dist/cdn/{7VVOJSSE.js → MDWBYUFG.js} +2 -2
  199. package/dist/cdn/{4WXSFT6G.js → MGBFC5IV.js} +2 -2
  200. package/dist/cdn/{3O4SVNIK.js → MICLX7QW.js} +2 -2
  201. package/dist/cdn/MMYODAC2.js +2 -0
  202. package/dist/cdn/{VSDQVSOV.js → MNSGXIJP.js} +2 -2
  203. package/dist/cdn/{HX4CSRAB.js → MWIDHMQZ.js} +2 -2
  204. package/dist/cdn/{AYNGSZAL.js → N3DTZRST.js} +2 -2
  205. package/dist/cdn/{3NL42TBJ.js → N5KEEUBQ.js} +2 -2
  206. package/dist/cdn/{CEUIFOR6.js → NB7O2TXG.js} +1 -1
  207. package/dist/cdn/{DJTW52JH.js → ND7BSIVO.js} +1 -1
  208. package/dist/cdn/{2KP3MSHV.js → NDCZFJEK.js} +3 -3
  209. package/dist/cdn/{3A7S62FX.js → NFCFPU7K.js} +2 -2
  210. package/dist/cdn/NWFGMNGG.js +2 -0
  211. package/dist/cdn/{45JO7F4Y.js → NWRWQZGL.js} +2 -2
  212. package/dist/cdn/{2AQYGR7K.js → NY7RHFLZ.js} +2 -2
  213. package/dist/cdn/{ISIH65JW.js → O5YJPUFM.js} +2 -2
  214. package/dist/cdn/{TU6ZG6ZI.js → O6HYZKBU.js} +2 -2
  215. package/dist/cdn/{MPKC74OS.js → OAMA6SL3.js} +2 -2
  216. package/dist/cdn/{5XVK5ZBK.js → OAMPGCZF.js} +2 -2
  217. package/dist/cdn/{COKGOKO2.js → OCFIQBYK.js} +2 -2
  218. package/dist/cdn/{QMYL4UM7.js → OCQXPA57.js} +2 -2
  219. package/dist/cdn/{IXWGGAVX.js → OICQWHES.js} +2 -2
  220. package/dist/cdn/{XAMLHDWZ.js → ONFKLY6Q.js} +2 -2
  221. package/dist/cdn/{4RMVG2NH.js → OP3APZ4U.js} +2 -2
  222. package/dist/cdn/{H5AYEQ6D.js → OUC5HWPQ.js} +2 -2
  223. package/dist/cdn/{OCLOCCB6.js → OX3WBUBR.js} +2 -2
  224. package/dist/cdn/{HX4CDWS4.js → P2I63WVL.js} +2 -2
  225. package/dist/cdn/{7DDCU3NB.js → P35MNXU2.js} +2 -2
  226. package/dist/cdn/{Q22KIHFH.js → PBHNO4J7.js} +2 -2
  227. package/dist/cdn/{2GDB3C5I.js → PBYHBRG7.js} +2 -2
  228. package/dist/cdn/{XURL7UVF.js → PDH2DA3L.js} +2 -2
  229. package/dist/cdn/{7MOL5GJB.js → PGSBUAGV.js} +2 -2
  230. package/dist/cdn/PGUZODKZ.js +2 -0
  231. package/dist/cdn/{KBHLE7HT.js → PIDNZKSJ.js} +2 -2
  232. package/dist/cdn/{NBHZZ4E6.js → PKMTOHZH.js} +2 -2
  233. package/dist/cdn/{AW3C3DKA.js → PPAFKBPN.js} +2 -2
  234. package/dist/cdn/{WCEDE4CZ.js → PPVXOP43.js} +2 -2
  235. package/dist/cdn/{5M56ZA46.js → PS3KSP2J.js} +2 -2
  236. package/dist/cdn/{NRJ6LV6O.js → PWHXRRFU.js} +2 -2
  237. package/dist/cdn/{3XEPXV4Q.js → PY5VGH7F.js} +2 -2
  238. package/dist/cdn/PZUVKZGQ.js +2 -0
  239. package/dist/cdn/Q3B3NI7P.js +2 -0
  240. package/dist/cdn/QCVMDYJD.js +2 -0
  241. package/dist/cdn/{RAOEF6YV.js → QEPANMVK.js} +2 -2
  242. package/dist/cdn/{OGAUCGGG.js → QKZ552KI.js} +2 -2
  243. package/dist/cdn/{BKVCAAPF.js → QLXQ4L2R.js} +2 -2
  244. package/dist/cdn/{CESFJ6AD.js → QNBNH7ME.js} +2 -2
  245. package/dist/cdn/{CL2NYK7A.js → QOIURU47.js} +2 -2
  246. package/dist/cdn/{7V7IKYJG.js → QPSAD5DG.js} +2 -2
  247. package/dist/cdn/QSZL5NEG.js +2 -0
  248. package/dist/cdn/{6IVEAPNI.js → QT7GRA34.js} +2 -2
  249. package/dist/cdn/{KO7RD6SS.js → QVAB57VJ.js} +2 -2
  250. package/dist/cdn/{3PVLBFNC.js → QWIDIEXY.js} +2 -2
  251. package/dist/cdn/{EAM45WZP.js → R2D2TXL4.js} +2 -2
  252. package/dist/cdn/{RYYBMDGS.js → R2P5JM7G.js} +2 -2
  253. package/dist/cdn/{HKGNXMRR.js → R4FDXNHP.js} +2 -2
  254. package/dist/cdn/{6GFUBVBL.js → R5QMO5FY.js} +2 -2
  255. package/dist/cdn/{S6M66TIN.js → R5YW65AI.js} +2 -2
  256. package/dist/cdn/{2JWHVMJ3.js → R6C6U6JB.js} +2 -2
  257. package/dist/cdn/{Q73T55TC.js → R6X7LUKH.js} +2 -2
  258. package/dist/cdn/{LQ76PRWK.js → REGHMH6D.js} +2 -2
  259. package/dist/cdn/RLXUS2AY.js +2 -0
  260. package/dist/cdn/RNF5KVNY.js +2 -0
  261. package/dist/cdn/{F5WKI5HZ.js → RQ2YV64E.js} +2 -2
  262. package/dist/cdn/{YLC4L2QV.js → RRSU6QD4.js} +2 -2
  263. package/dist/cdn/{AZ73DBU3.js → RUW7CDCH.js} +2 -2
  264. package/dist/cdn/{DSDPDMLP.js → RUYAWRPV.js} +2 -2
  265. package/dist/cdn/{AAUN23S6.js → RVEUCXT4.js} +2 -2
  266. package/dist/cdn/{3L2J4JFP.js → RZGWZ2FJ.js} +2 -2
  267. package/dist/cdn/{WVRJQQKH.js → S6BPBG7D.js} +2 -2
  268. package/dist/cdn/{55AW5TTI.js → SAOLD6MH.js} +2 -2
  269. package/dist/cdn/{3V3PYL2L.js → SCYBJTZA.js} +2 -2
  270. package/dist/cdn/{DMYAI77Y.js → SG55TVJ5.js} +2 -2
  271. package/dist/cdn/{YAEJKOYY.js → SIFBGT4D.js} +2 -2
  272. package/dist/cdn/SKP3TGF4.js +2 -0
  273. package/dist/cdn/{4MJJOPAL.js → SOZWCZ7A.js} +1 -1
  274. package/dist/cdn/SQPX5U3U.js +2 -0
  275. package/dist/cdn/{YU5BTZEI.js → SZ3T7YEB.js} +1 -1
  276. package/dist/cdn/{Z4WS2RBO.js → TA723HWT.js} +2 -2
  277. package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
  278. package/dist/cdn/{IU22RA7Z.js → TDGAGI7B.js} +2 -2
  279. package/dist/cdn/{4WAV5GOL.js → TEOOLQG2.js} +2 -2
  280. package/dist/cdn/TFADSF2R.js +2 -0
  281. package/dist/cdn/{JBR3FYAN.js → THJMCEEO.js} +2 -2
  282. package/dist/cdn/{3DUIQTNG.js → TKILR2SM.js} +2 -2
  283. package/dist/cdn/{4RGFCQOB.js → TMTFZSJS.js} +1 -1
  284. package/dist/cdn/{OBMM7WJD.js → TPVHN6P2.js} +2 -2
  285. package/dist/cdn/{VTCM7AV2.js → TSNUOFL7.js} +2 -2
  286. package/dist/cdn/{GT6FFZHJ.js → TYHCB472.js} +2 -2
  287. package/dist/cdn/{E5JCJOB3.js → U5DIWFPP.js} +2 -2
  288. package/dist/cdn/{VABVK3ZN.js → UFRX7JW5.js} +2 -2
  289. package/dist/cdn/{H4FH2RBM.js → UHI54OG6.js} +2 -2
  290. package/dist/cdn/{J6MU74RO.js → UMOO7WYM.js} +2 -2
  291. package/dist/cdn/{QTDJVI5F.js → UTV2A7J4.js} +2 -2
  292. package/dist/cdn/{BIU6VS3K.js → UZLEFNJL.js} +1 -1
  293. package/dist/cdn/{LL7R6ETJ.js → V2YPYCU6.js} +2 -2
  294. package/dist/cdn/{ZW2ZBNX2.js → V3BFPL23.js} +2 -2
  295. package/dist/cdn/{E4NTQBM3.js → V4JEBKPJ.js} +2 -2
  296. package/dist/cdn/{QMQV37ML.js → V62TVP3T.js} +2 -2
  297. package/dist/cdn/{3DPVKWFO.js → VDEMMP33.js} +2 -2
  298. package/dist/cdn/{B4CANXID.js → VKRAWBPC.js} +2 -2
  299. package/dist/cdn/{XYNRLVTU.js → VTCE3YQW.js} +2 -2
  300. package/dist/cdn/{N6QTPGCU.js → VUAYNF3K.js} +2 -2
  301. package/dist/cdn/{3TGYCCNJ.js → VYOH4T4L.js} +2 -2
  302. package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
  303. package/dist/cdn/W275EQEJ.js +2 -0
  304. package/dist/cdn/{IFMBHZHX.js → WBBTZNZU.js} +2 -2
  305. package/dist/cdn/{D3LYSFXK.js → WEOKELJE.js} +2 -2
  306. package/dist/cdn/{VJVKFKSG.js → WJQUE4DR.js} +1 -1
  307. package/dist/cdn/WK4TNKKC.js +2 -0
  308. package/dist/cdn/{5V2DO6ZW.js → WS46QSWM.js} +2 -2
  309. package/dist/cdn/{D47546HM.js → XHOI3WNI.js} +1 -1
  310. package/dist/cdn/XKCB2DEP.js +2 -0
  311. package/dist/cdn/{VJE33ARY.js → XP74F2F6.js} +2 -2
  312. package/dist/cdn/{3E56Q4ZY.js → XPC6K7AE.js} +2 -2
  313. package/dist/cdn/XSE3E4FM.js +2 -0
  314. package/dist/cdn/{PXAY7IM4.js → XULIO6Y3.js} +2 -2
  315. package/dist/cdn/{4W35GLNO.js → Y37UMTGV.js} +2 -2
  316. package/dist/cdn/{X3DQNCTZ.js → Y6764PBB.js} +2 -2
  317. package/dist/cdn/{CIUI5B52.js → Y6ZXMGO2.js} +2 -2
  318. package/dist/cdn/{3ZXNGXHC.js → Y77AVOAH.js} +1 -1
  319. package/dist/cdn/{CUF7GCDT.js → YCHVPSSP.js} +2 -2
  320. package/dist/cdn/{B5GJ5JEW.js → YDZZPLVB.js} +2 -2
  321. package/dist/cdn/{OJXNUBIA.js → YHPASRFL.js} +2 -2
  322. package/dist/cdn/{R3IITUG6.js → YODE6QAO.js} +2 -2
  323. package/dist/cdn/{E53ARLWV.js → YTLRTUMD.js} +2 -2
  324. package/dist/cdn/{KXGVE4NK.js → Z2UUXST4.js} +2 -2
  325. package/dist/cdn/{EESGZV4K.js → Z6AVJWLP.js} +2 -2
  326. package/dist/cdn/{JIQ4P34C.js → Z7H4V2JZ.js} +2 -2
  327. package/dist/cdn/{GF7RZ4IH.js → ZAUG5MSY.js} +2 -2
  328. package/dist/cdn/{5SLLYIWJ.js → ZBC5RBCD.js} +2 -2
  329. package/dist/cdn/{FCNNRX3Q.js → ZCFWKPXL.js} +1 -1
  330. package/dist/cdn/{KT7MEZHJ.js → ZF4DFDLT.js} +2 -2
  331. package/dist/cdn/{YWC5AUFV.js → ZGOAZB5L.js} +1 -1
  332. package/dist/cdn/{QJWFZYU4.js → ZHSESERJ.js} +2 -2
  333. package/dist/cdn/{EOTKZ4F3.js → ZIBQTNB6.js} +2 -2
  334. package/dist/cdn/{WQMZ7BDQ.js → ZKWI43WZ.js} +2 -2
  335. package/dist/cdn/{SREWXCMU.js → ZO7TUIUE.js} +2 -2
  336. package/dist/cdn/ZSPYPXBY.js +2 -0
  337. package/dist/cdn/assets/bookmarks/t9n/messages.en.json +1 -1
  338. package/dist/cdn/assets/feature-next/t9n/messages.en.json +1 -1
  339. package/dist/cdn/assets/features-next/t9n/messages.en.json +1 -1
  340. package/dist/cdn/index.js +2 -2
  341. package/dist/cdn/main.css +1 -1
  342. package/dist/chunks/AnalysisViewModel.js +1 -1
  343. package/dist/chunks/GeolocationPositioning.js +1 -1
  344. package/dist/chunks/action-utils.js +8 -8
  345. package/dist/chunks/async-utils.js +1 -1
  346. package/dist/chunks/attachment-utils.js +1 -1
  347. package/dist/chunks/chart-utils.js +1 -1
  348. package/dist/chunks/chartCommon.js +1 -1
  349. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  350. package/dist/chunks/component-utils.js +1 -1
  351. package/dist/chunks/component-wrapper.js +1 -1
  352. package/dist/chunks/constants.js +1 -1
  353. package/dist/chunks/constants2.js +1 -1
  354. package/dist/chunks/css.js +1 -1
  355. package/dist/chunks/dateUtils.js +2 -2
  356. package/dist/chunks/earth-utils.js +1 -1
  357. package/dist/chunks/esri-main.js +2 -2
  358. package/dist/chunks/feature-utils.js +1 -1
  359. package/dist/chunks/field.js +1 -1
  360. package/dist/chunks/formattingUtils.js +1 -1
  361. package/dist/chunks/globalCss.js +1 -1
  362. package/dist/chunks/goTo.js +1 -1
  363. package/dist/chunks/graphicsLayerController.js +1 -1
  364. package/dist/chunks/handle.js +1 -1
  365. package/dist/chunks/heading.js +1 -1
  366. package/dist/chunks/keyboard-utils.js +1 -1
  367. package/dist/chunks/layer-list-next.js +1 -1
  368. package/dist/chunks/layer-list-utils.js +1 -1
  369. package/dist/chunks/layer-utils.js +1 -1
  370. package/dist/chunks/layer-utils2.js +1 -1
  371. package/dist/chunks/legacyIcon.js +1 -1
  372. package/dist/chunks/maybe.js +1 -1
  373. package/dist/chunks/measurementUtils.js +1 -1
  374. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  375. package/dist/chunks/resources.js +1 -1
  376. package/dist/chunks/runtime.js +2 -2
  377. package/dist/chunks/screenLocation.js +1 -1
  378. package/dist/chunks/slots.js +2 -2
  379. package/dist/chunks/sr.js +1 -1
  380. package/dist/chunks/svgUtils.js +1 -1
  381. package/dist/chunks/time-utils.js +1 -1
  382. package/dist/chunks/titleUtils.js +1 -1
  383. package/dist/chunks/types.js +1 -1
  384. package/dist/chunks/univariateUtils.js +1 -1
  385. package/dist/chunks/urlUtils.js +1 -1
  386. package/dist/chunks/useArcgisViewReadyError.js +121 -107
  387. package/dist/chunks/useCloseEvent.js +1 -1
  388. package/dist/chunks/useLayerById.js +1 -1
  389. package/dist/chunks/useT9n.js +1 -1
  390. package/dist/chunks/useView.js +1 -1
  391. package/dist/chunks/useViewModel.js +1 -1
  392. package/dist/chunks/useWidget.js +1 -1
  393. package/dist/chunks/utils.js +1 -1
  394. package/dist/chunks/utils2.js +1 -1
  395. package/dist/chunks/utils3.js +1 -1
  396. package/dist/chunks/utils4.js +1 -1
  397. package/dist/chunks/utils5.js +1 -1
  398. package/dist/chunks/utils6.js +1 -1
  399. package/dist/chunks/video-utils.js +1 -1
  400. package/dist/chunks/visible-element.js +1 -1
  401. package/dist/chunks/zoom.js +1 -1
  402. package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
  403. package/dist/components/arcgis-aggregated-features/customElement.js +2 -2
  404. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +8 -3
  405. package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -14
  406. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +8 -3
  407. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  408. package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
  409. package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
  410. package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
  411. package/dist/components/arcgis-attachments/customElement.js +1 -1
  412. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
  413. package/dist/components/arcgis-basemap-gallery/customElement.js +11 -11
  414. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  415. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  416. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +13 -13
  417. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +30 -30
  418. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +1 -1
  419. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  420. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  421. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  422. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  423. package/dist/components/arcgis-building-level-item/customElement.js +2 -2
  424. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  425. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  426. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  427. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +10 -10
  428. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +17 -17
  429. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  430. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  431. package/dist/components/arcgis-color-select/customElement.js +1 -1
  432. package/dist/components/arcgis-compass/customElement.js +1 -1
  433. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  434. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  435. package/dist/components/arcgis-daylight/customElement.js +1 -1
  436. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +8 -3
  437. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  438. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  439. package/dist/components/arcgis-directions/customElement.js +1 -1
  440. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +8 -3
  441. package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
  442. package/dist/components/arcgis-editor/customElement.d.ts +18 -5
  443. package/dist/components/arcgis-editor/customElement.js +4 -1
  444. package/dist/components/arcgis-elevation-profile/customElement.d.ts +15 -7
  445. package/dist/components/arcgis-elevation-profile/customElement.js +94 -90
  446. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  447. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  448. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  449. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  450. package/dist/components/arcgis-expand/customElement.js +1 -1
  451. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +7 -0
  452. package/dist/components/arcgis-exploratory-analysis/customElement.js +52 -52
  453. package/dist/components/arcgis-feature/customElement.js +1 -1
  454. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  455. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  456. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  457. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  458. package/dist/components/arcgis-feature-fields/customElement.js +21 -21
  459. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  460. package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
  461. package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
  462. package/dist/components/arcgis-feature-form-text/customElement.d.ts +7 -0
  463. package/dist/components/arcgis-feature-form-text/customElement.js +24 -0
  464. package/dist/components/arcgis-feature-form-text/index.d.ts +1 -0
  465. package/dist/components/arcgis-feature-form-text/index.js +1 -0
  466. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  467. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  468. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  469. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  470. package/dist/components/arcgis-feature-next/customElement.d.ts +14 -6
  471. package/dist/components/arcgis-feature-next/customElement.js +32 -32
  472. package/dist/components/arcgis-feature-relationship/customElement.js +70 -70
  473. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  474. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  475. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  476. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  477. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +22 -22
  478. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +16 -16
  479. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  480. package/dist/components/arcgis-features/customElement.js +1 -1
  481. package/dist/components/arcgis-features-next/customElement.d.ts +3 -3
  482. package/dist/components/arcgis-features-next/customElement.js +110 -100
  483. package/dist/components/arcgis-file-picker/customElement.js +1 -1
  484. package/dist/components/arcgis-filter-builder/customElement.js +1 -1
  485. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  486. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  487. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  488. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  489. package/dist/components/arcgis-home/customElement.js +1 -1
  490. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  491. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  492. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  493. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  494. package/dist/components/arcgis-layer-list-next/customElement.d.ts +10 -10
  495. package/dist/components/arcgis-layer-list-next/customElement.js +15 -15
  496. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  497. package/dist/components/arcgis-legend/customElement.d.ts +2 -2
  498. package/dist/components/arcgis-legend/customElement.js +2 -2
  499. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  500. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  501. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  502. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  503. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  504. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  505. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  506. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  507. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  508. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  509. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  510. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  511. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  512. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  513. package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -0
  514. package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
  515. package/dist/components/arcgis-link-chart/customElement.d.ts +24 -14
  516. package/dist/components/arcgis-link-chart/customElement.js +6 -6
  517. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  518. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  519. package/dist/components/arcgis-locate/customElement.js +1 -1
  520. package/dist/components/arcgis-map/customElement.d.ts +41 -30
  521. package/dist/components/arcgis-map/customElement.js +10 -10
  522. package/dist/components/arcgis-measurement-content/customElement.js +7 -7
  523. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  524. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  525. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +11 -3
  526. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +10 -10
  527. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  528. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  529. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  530. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  531. package/dist/components/arcgis-paste/customElement.js +1 -1
  532. package/dist/components/arcgis-popup/customElement.d.ts +3 -3
  533. package/dist/components/arcgis-popup/customElement.js +41 -37
  534. package/dist/components/arcgis-presentation/customElement.js +1 -1
  535. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  536. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  537. package/dist/components/arcgis-print/customElement.js +1 -1
  538. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  539. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +18 -18
  540. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  541. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  542. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  543. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  544. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  545. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  546. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  547. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  548. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  549. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  550. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  551. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  552. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  553. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  554. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  555. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  556. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  557. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  558. package/dist/components/arcgis-scene/customElement.d.ts +24 -14
  559. package/dist/components/arcgis-scene/customElement.js +10 -10
  560. package/dist/components/arcgis-search/customElement.js +1 -1
  561. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  562. package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
  563. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  564. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  565. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  566. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  567. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  568. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  569. package/dist/components/arcgis-sketch/customElement.d.ts +18 -7
  570. package/dist/components/arcgis-sketch/customElement.js +1 -1
  571. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  572. package/dist/components/arcgis-slice/customElement.js +25 -25
  573. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  574. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  575. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  576. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  577. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  578. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  579. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  580. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  581. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  582. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  583. package/dist/components/arcgis-spinner/customElement.js +1 -1
  584. package/dist/components/arcgis-swipe/customElement.js +1 -1
  585. package/dist/components/arcgis-table-list/customElement.js +1 -1
  586. package/dist/components/arcgis-table-list-next/customElement.d.ts +4 -4
  587. package/dist/components/arcgis-table-list-next/customElement.js +6 -6
  588. package/dist/components/arcgis-template-image/customElement.js +1 -1
  589. package/dist/components/arcgis-time-bar/customElement.js +25 -26
  590. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  591. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  592. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  593. package/dist/components/arcgis-time-bar-slider/customElement.js +49 -47
  594. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  595. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  596. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  597. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  598. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  599. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  600. package/dist/components/arcgis-track/customElement.js +1 -1
  601. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  602. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  603. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  604. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  605. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  606. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  607. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
  608. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +17 -17
  609. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  610. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
  611. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  612. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  613. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  614. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  615. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
  616. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +2 -2
  617. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  618. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  619. package/dist/components/arcgis-version-management/customElement.js +38 -38
  620. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  621. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  622. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  623. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  624. package/dist/components/arcgis-video/customElement.js +7 -7
  625. package/dist/components/arcgis-video-player/VideoPlayerViewModel.d.ts +2 -1
  626. package/dist/components/arcgis-video-player/customElement.d.ts +2 -6
  627. package/dist/components/arcgis-video-player/customElement.js +1 -1
  628. package/dist/components/arcgis-video-player/types.d.ts +6 -0
  629. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  630. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  631. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  632. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  633. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  634. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  635. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  636. package/dist/components/arcgis-volume-measurement/customElement.d.ts +30 -10
  637. package/dist/components/arcgis-volume-measurement/customElement.js +63 -63
  638. package/dist/components/arcgis-weather/customElement.js +1 -1
  639. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  640. package/dist/components/arcgis-zoom/customElement.js +1 -1
  641. package/dist/components/feature-form-next/customElement.js +1 -1
  642. package/dist/docs/api.json +1 -1
  643. package/dist/docs/docs.json +1 -1
  644. package/dist/docs/vscode.css-custom-data.json +1 -1
  645. package/dist/docs/vscode.html-custom-data.json +1 -1
  646. package/dist/docs/web-types.json +1 -1
  647. package/dist/index.d.ts +4 -0
  648. package/dist/index.js +1 -1
  649. package/dist/loader.js +12 -11
  650. package/dist/types/lumina.d.ts +10 -5
  651. package/dist/types/preact.d.ts +11 -5
  652. package/dist/types/react.d.ts +12 -5
  653. package/dist/types/stencil.d.ts +10 -5
  654. package/dist/utils/layer-list-utils.d.ts +2 -2
  655. package/package.json +7 -7
  656. package/dist/cdn/3DSZKELU.js +0 -2
  657. package/dist/cdn/4GRP4KX3.js +0 -2
  658. package/dist/cdn/7R2TTA5R.js +0 -2
  659. package/dist/cdn/AI5PXN2E.js +0 -2
  660. package/dist/cdn/AKDB2XVJ.js +0 -2
  661. package/dist/cdn/AN3BGKZP.js +0 -2
  662. package/dist/cdn/BCCCO3CN.js +0 -2
  663. package/dist/cdn/D7RGMPF3.js +0 -2
  664. package/dist/cdn/DBA7NSTP.js +0 -2
  665. package/dist/cdn/E7RFFMRP.js +0 -2
  666. package/dist/cdn/EZCNI254.js +0 -2
  667. package/dist/cdn/F46CTQWP.js +0 -2
  668. package/dist/cdn/F4O7DFPZ.js +0 -2
  669. package/dist/cdn/FDXRUZWU.js +0 -2
  670. package/dist/cdn/FUQD5XQR.js +0 -2
  671. package/dist/cdn/FZWFKZLW.js +0 -2
  672. package/dist/cdn/GIOUZTHM.js +0 -2
  673. package/dist/cdn/GP3PLD2F.js +0 -2
  674. package/dist/cdn/GTRQNPQ7.js +0 -2
  675. package/dist/cdn/HH5GEJCC.js +0 -2
  676. package/dist/cdn/IETZFE3P.js +0 -2
  677. package/dist/cdn/JBHAJ6GW.js +0 -2
  678. package/dist/cdn/K6D2JHC4.js +0 -2
  679. package/dist/cdn/KJ6TWPZT.js +0 -2
  680. package/dist/cdn/KM2GXXBO.js +0 -4
  681. package/dist/cdn/KY3ND2AY.js +0 -2
  682. package/dist/cdn/LE373OSG.js +0 -2
  683. package/dist/cdn/LGW5AS6R.js +0 -2
  684. package/dist/cdn/NIUMOIYZ.js +0 -2
  685. package/dist/cdn/NOIAW4P4.js +0 -2
  686. package/dist/cdn/O57LOC52.js +0 -2
  687. package/dist/cdn/P5HSMYWG.js +0 -2
  688. package/dist/cdn/PLTLRYBF.js +0 -2
  689. package/dist/cdn/QDXORLKV.js +0 -2
  690. package/dist/cdn/QKON7YGO.js +0 -2
  691. package/dist/cdn/QUZTFUWM.js +0 -1
  692. package/dist/cdn/S62FQUEJ.js +0 -2
  693. package/dist/cdn/TZHXSIXK.js +0 -2
  694. package/dist/cdn/UHK5GFKQ.js +0 -2
  695. package/dist/cdn/WEAGLY7B.js +0 -2
  696. package/dist/cdn/WYNLO2MH.js +0 -2
  697. package/dist/cdn/XIYYT5SJ.js +0 -2
  698. package/dist/cdn/XKHGN6LQ.js +0 -2
  699. package/dist/cdn/Y2LELW5Y.js +0 -2
  700. package/dist/cdn/YDB2XJRU.js +0 -2
  701. package/dist/cdn/YY45XUPP.js +0 -2
  702. package/dist/cdn/Z6AYJE6L.js +0 -2
  703. package/dist/cdn/ZEKQYUW3.js +0 -2
  704. package/dist/cdn/ZOHGLZNV.js +0 -2
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{H as Si,P as $i,S as Ai,T as P,U as Ze,V as Bi,W as Ii,X as ce,a as Y,d as wi,g as pe,k as Xe,o as Pi,u as q,x as ki,y as Ci,z as Ri}from"./PLTLRYBF.js";import{a as A,b as le,d as R,e as k}from"./T2DT5I33.js";import{A as xi,C as bi,F as mt,G as Ht,H as Di,J as O,N as gt,P as _t,R as Ti,S as St,T as qe,U as Li,W as Je,X as Mi,a as _i,b as We,c as yi,e as Ve,g as w,h as je,j as ze,m as Gt,n as Ge,o as _,p as ft,r as he,s as X,u as Ke,w as de,x as Ye,y as vi,z as ue}from"./6NWR2Z4F.js";import{a as Ue}from"./H6RQVSYM.js";function Kt(n,t){if(!(n>=0&&n<t))throw new Error("Index out of bounds: "+n)}var lt=class{constructor(t=[]){this.events=new St,this._values=t}get values(){return this._values}contains(t){return this._values.indexOf(t)!==-1}removeValue(t){let e=0,i=this._values.length;for(;e<i;)this._values[e]===t?(this.removeIndex(e),--i):++e}indexOf(t){return Gt(this._values,t)}get length(){return this._values.length}hasIndex(t){return t>=0&&t<this._values.length}getIndex(t){return this._values[t]}_onPush(t){this.events.isEnabled("push")&&this.events.dispatch("push",{type:"push",target:this,newValue:t})}_onInsertIndex(t,e){this.events.isEnabled("insertIndex")&&this.events.dispatch("insertIndex",{type:"insertIndex",target:this,index:t,newValue:e})}_onSetIndex(t,e,i){this.events.isEnabled("setIndex")&&this.events.dispatch("setIndex",{type:"setIndex",target:this,index:t,oldValue:e,newValue:i})}_onSwap(t,e){this.events.isEnabled("swap")&&this.events.dispatch("swap",{type:"swap",target:this,a:t,b:e})}_onRemoveIndex(t,e){this.events.isEnabled("removeIndex")&&this.events.dispatch("removeIndex",{type:"removeIndex",target:this,index:t,oldValue:e})}_onMoveIndex(t,e,i){this.events.isEnabled("moveIndex")&&this.events.dispatch("moveIndex",{type:"moveIndex",target:this,oldIndex:t,newIndex:e,value:i})}_onClear(t){this.events.isEnabled("clear")&&this.events.dispatch("clear",{type:"clear",target:this,oldValues:t})}setIndex(t,e){Kt(t,this._values.length);let i=this._values[t];return i!==e&&(this._values[t]=e,this._onSetIndex(t,i,e)),i}insertIndex(t,e){return Kt(t,this._values.length+1),de(this._values,t,e),this._onInsertIndex(t,e),e}swap(t,e){let i=this._values.length;if(Kt(t,i),Kt(e,i),t!==e){let a=this._values[t],s=this._values[e];this._values[t]=s,this._values[e]=a,this._onSwap(a,s)}}removeIndex(t){Kt(t,this._values.length);let e=this._values[t];return Ye(this._values,t),this._onRemoveIndex(t,e),e}moveValue(t,e){let i=this.indexOf(t);if(i!==-1)if(Ye(this._values,i),e==null){let a=this._values.length;this._values.push(t),this._onMoveIndex(i,a,t)}else de(this._values,e,t),this._onMoveIndex(i,e,t);else e==null?(this._values.push(t),this._onPush(t)):(de(this._values,e,t),this._onInsertIndex(e,t));return t}push(t){return this._values.push(t),this._onPush(t),t}unshift(t){return this.insertIndex(0,t),t}pushAll(t){_(t,e=>{this.push(e)})}copyFrom(t){this.pushAll(t._values)}pop(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)}shift(){return this._values.length?this.removeIndex(0):void 0}setAll(t){let e=this._values;this._values=[],this._onClear(e),_(t,i=>{this._values.push(i),this._onPush(i)})}clear(){this.setAll([])}*[Symbol.iterator](){let t=this._values.length;for(let e=0;e<t;++e)yield this._values[e]}each(t){_(this._values,t)}eachReverse(t){ft(this._values,t)}},Yt=class extends lt{constructor(){super(...arguments),this.autoDispose=!0,this._disposed=!1}swap(t,e){let i=this.autoDispose;this.autoDispose=!1,super.swap(t,e),this.autoDispose=i}_onSetIndex(t,e,i){this.autoDispose&&e.dispose(),super._onSetIndex(t,e,i)}_onRemoveIndex(t,e){this.autoDispose&&e.dispose(),super._onRemoveIndex(t,e)}_onClear(t){this.autoDispose&&_(t,e=>{e.dispose()}),super._onClear(t)}_dispose(){this.autoDispose&&_(this._values,t=>{t.dispose()})}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}},Ei=class extends Yt{constructor(t,e){super(),this.template=t,this.make=e}_dispose(){super._dispose(),this.autoDispose&&this.template.dispose()}};var Nt={};Ue(Nt,{DEGREES:()=>me,HALFPI:()=>Qe,PI:()=>ge,RADIANS:()=>$t,boundsOverlap:()=>ws,ceil:()=>us,circlesOverlap:()=>ks,closest:()=>Ts,cos:()=>dt,fitAngleToRange:()=>_s,fitToRange:()=>_e,getAngle:()=>ys,getArcBounds:()=>ms,getArcPoint:()=>fe,getCubicControlPointA:()=>ps,getCubicControlPointB:()=>cs,getPointOnCubicCurve:()=>xs,getPointOnLine:()=>bs,getPointOnQuadraticCurve:()=>vs,inBounds:()=>ti,mergeBounds:()=>gs,normalizeAngle:()=>yt,resolveLocationOnPath:()=>Ds,round:()=>ds,sin:()=>ht,spiralPoints:()=>Ps,tan:()=>fs});var ge=Math.PI,Qe=ge/2,$t=ge/180,me=180/ge;function ds(n,t,e){if(!w(t)||t<=0){let i=Math.round(n);return e&&i-n==.5&&i--,i}else{let i=Math.pow(10,t);return Math.round(n*i)/i}}function us(n,t){if(!w(t)||t<=0)return Math.ceil(n);{let e=Math.pow(10,t);return Math.ceil(n*e)/e}}function ps(n,t,e,i,a){return{x:(-n.x+t.x/i+e.x)*i,y:(-n.y+t.y/a+e.y)*a}}function cs(n,t,e,i,a){return{x:(n.x+t.x/i-e.x)*i,y:(n.y+t.y/a-e.y)*a}}function _e(n,t,e){return Math.min(Math.max(n,t),e)}function ht(n){return Math.sin($t*n)}function fs(n){return Math.tan($t*n)}function dt(n){return Math.cos($t*n)}function yt(n){return n=n%360,n<0&&(n+=360),n}function ms(n,t,e,i,a){if(!Number.isFinite(e)||!Number.isFinite(i)||Math.abs(i-e)>=360){let u=Number.isFinite(a)?Math.abs(a):0;return{left:n-u,top:t-u,right:n+u,bottom:t+u}}let s=Number.MAX_VALUE,r=Number.MAX_VALUE,o=-Number.MAX_VALUE,h=-Number.MAX_VALUE,l=[];l.push(fe(a,e)),l.push(fe(a,i));let d=Math.min(Math.floor(e/90)*90,Math.floor(i/90)*90),p=Math.max(Math.ceil(e/90)*90,Math.ceil(i/90)*90);for(let u=d;u<=p;u+=90)u>=e&&u<=i&&l.push(fe(a,u));for(let u=0;u<l.length;u++){let f=l[u];f.x<s&&(s=f.x),f.y<r&&(r=f.y),f.x>o&&(o=f.x),f.y>h&&(h=f.y)}return{left:n+s,top:t+r,right:n+o,bottom:t+h}}function fe(n,t){return{x:n*dt(t),y:n*ht(t)}}function gs(n){let t=n.length;if(t>0){let e=n[0],i=e.left,a=e.top,s=e.right,r=e.bottom;if(t>1)for(let o=1;o<t;o++)e=n[o],i=Math.min(e.left,i),s=Math.max(e.right,s),a=Math.min(e.top,a),r=Math.max(e.bottom,r);return{left:i,right:s,top:a,bottom:r}}return{left:0,right:0,top:0,bottom:0}}function _s(n,t,e){if(t>e){let r=t;t=e,e=r}n=yt(n);let i=(t-yt(t))/360;n<t&&(n+=360*(i+1));let a=t+(e-t)/2+180,s=t+(e-t)/2-180;return n>e&&(n-360>t?n-=360:n<a?n=e:n=t),n<t&&(n>s?n=t:n=e),n}function ti(n,t){return n.x>=t.left&&n.y>=t.top&&n.x<=t.right&&n.y<=t.bottom}function ys(n,t){t||(t={x:n.x*2,y:n.y*2});let e=t.x-n.x,i=t.y-n.y,a=Math.atan2(i,e)*me;return a<0&&(a+=360),yt(a)}function vs(n,t,e,i){let a=(1-i)*(1-i)*n.x+2*(1-i)*i*e.x+i*i*t.x,s=(1-i)*(1-i)*n.y+2*(1-i)*i*e.y+i*i*t.y;return{x:a,y:s}}function xs(n,t,e,i,a){let s=1-a,r=s*s*s*n.x+3*s*s*a*e.x+3*s*a*a*i.x+a*a*a*t.x,o=s*s*s*n.y+3*s*s*a*e.y+3*s*a*a*i.y+a*a*a*t.y;return{x:r,y:o}}function bs(n,t,e){return{x:n.x+(t.x-n.x)*e,y:n.y+(t.y-n.y)*e}}function Ds(n,t){let e=t.length;if(e>0){let i=t[e-1],a=n*i,s=0;for(let l=0;l<e;l++)if(t[l]>=a){s=l;break}let r=s>0?t[s-1]:0,o=t[s]-r,h=o>0?(a-r)/o:0;return{index:s,t:h}}return{index:0,t:0}}function Ts(n,t){return n.reduce(function(e,i){return Math.abs(i-t)<Math.abs(e-t)?i:e})}function ws(n,t){let e=n.left<t.right&&n.right>t.left,i=n.top<t.bottom&&n.bottom>t.top;return e&&i}function Ps(n,t,e,i,a,s,r,o,h){let l=a+.01;o=yt(o),h=yt(h);let d=o*$t;h<o&&(h+=360);let p=[];for(;l<e+r;){let u=s;u/2>l&&(u=2*l);let f=Math.max(.01,Math.min(1,l/200));u=u*f;let m=d*me,g={x:n+l*Math.cos(d),y:t+l*i/e*Math.sin(d)};if(p.push(g),l=a+.01+(m-o)/360*r,d+=2*Math.asin(u/2/l),d*me>h+360*Math.ceil((e-a)/r))break}return p.shift(),p}function ks(n,t){return Math.hypot(n.x-t.x,n.y-t.y)<=n.radius+t.radius}var De={};Ue(De,{bounce:()=>Wi,byName:()=>si,circle:()=>Fi,cubic:()=>Q,easingInfo:()=>be,elastic:()=>zi,exp:()=>Hi,inOut:()=>Ui,linear:()=>Ft,out:()=>ut,pow:()=>Cs,quad:()=>Oi,sine:()=>Ni,yoyo:()=>ii});function xe(n,t){return n._easingInfo=t,n}function be(n){return n?n._easingInfo:void 0}function Ft(n){return n}function Oi(n){return n*n}function Q(n){return n*n*n}function Cs(n,t){return Math.pow(n,t)}function Hi(n){return Math.pow(2,10*n-10)}function Ni(n){return 1-Math.cos(n*Qe)}function Fi(n){return 1-Math.sqrt(1-n*n)}function ii(n){let t=function(i){return i<.5?n(i*2):n((1-i)*2)},e=be(n);return e&&!e.yoyo?xe(t,Object.assign(Object.assign({},e),{yoyo:!0})):t}function ut(n){let t=function(i){return 1-n(1-i)},e=be(n);return e&&!e.ease&&!e.yoyo?xe(t,Object.assign(Object.assign({},e),{ease:"out"})):t}function Ui(n){let t=function(i){return i<=.5?n(i*2)/2:1-n((1-i)*2)/2},e=be(n);return e&&!e.ease&&!e.yoyo?xe(t,Object.assign(Object.assign({},e),{ease:"inOut"})):t}var ei=4/11,Rs=6/11,Ss=8/11,$s=3/4,As=9/11,Bs=10/11,Is=15/16,Ls=21/22,Ms=63/64,ye=1/ei/ei;function Wi(n){return 1-Es(1-n)}function Es(n){return n=n,n<ei?ye*n*n:n<Ss?ye*(n-=Rs)*n+$s:n<Bs?ye*(n-=As)*n+Is:ye*(n-=Ls)*n+Ms}var Os=2*Math.PI,Vi=1,ji=.3/Os,Hs=Math.asin(1/Vi)*ji;function zi(n){let t=n;return Vi*Math.pow(2,10*--t)*Math.sin((Hs-t)/ji)}var Gi={linear:Ft,quad:Oi,cubic:Q,exp:Hi,sine:Ni,circle:Fi,bounce:Wi,elastic:zi};O(Gi,(n,t)=>{xe(t,{easing:String(n)})});function si(n,t){let e=n&&Gi[n]||Ft;return t==="out"?ut(e):t==="inOut"?Ui(e):e}var ri=class{constructor(){this.version="5.20.8",this.licenses=[],this.entitiesById={},this.rootElements=[],this.autoDispose=!1,this.geometryFunctions={}}},At=new ri;function dr(n){At.licenses.push(n)}function ur(){let n;for(;n=At.rootElements.pop();)n.dispose()}function pr(n){let t;return At.rootElements.forEach(e=>{e.dom.id==n&&(t=e)}),t}var ai=class{constructor(t,e){this._userSettings={},this._computedSettings={},this._entity=t,this._settings=e,O(e,i=>{this._userSettings[i]=!0})}get(t,e){let i=this._settings[t];return i!==void 0?i:e}setRaw(t,e){this._settings[t]=e}set(t,e){this._userSettings[t]=!0,delete this._computedSettings[t],this.setRaw(t,e)}_setCRaw(t,e){this.setRaw(t,e),this._computedSettings[t]=!0}_setC(t,e){let i=!this._computedSettings[t]&&this._settings[t]===e;this.set(t,e),i||(this._computedSettings[t]=!0)}remove(t){delete this._userSettings[t],delete this._computedSettings[t],delete this._settings[t]}setAll(t){Ht(t).forEach(([e,i])=>{this.set(e,i)})}_eachSetting(t){O(this._settings,t)}apply(){let t={};t.stateAnimationEasing=!0,t.stateAnimationDuration=!0;let e=this._entity.states.lookup("default");this._eachSetting((i,a)=>{t[i]||(t[i]=!0,this!==e&&(i in e._settings||e._setCRaw(i,this._entity.get(i))),this._entity._setC(i,a))})}applyAnimate(t){t==null&&(t=this._settings.stateAnimationDuration),t==null&&(t=this.get("stateAnimationDuration",this._entity.get("stateAnimationDuration",0)));let e=this._settings.stateAnimationEasing;e==null&&(e=this.get("stateAnimationEasing",this._entity.get("stateAnimationEasing",Q)));let i=this._entity.states.lookup("default"),a={};a.stateAnimationEasing=!0,a.stateAnimationDuration=!0;let s={};return this._eachSetting((r,o)=>{if(!a[r]){a[r]=!0,this!=i&&(r in i._settings||i._setCRaw(r,this._entity.get(r)));let h=this._entity.animate({key:r,to:o,duration:t,easing:e});h&&(s[r]=h)}}),s}},Te=class{constructor(t){this._states={},this._entity=t}lookup(t){return this._states[t]}create(t,e){let i=this._states[t];if(i)return i.setAll(e),i;{let a=new ai(this._entity,e);return this._states[t]=a,a}}_createC(t,e){let i=this.create(t,e);return O(e,a=>{i._computedSettings[a]=!0}),i}remove(t){delete this._states[t]}apply(t){let e=this._states[t];e&&e.apply(),this._entity._applyState(t)}applyAnimate(t,e){let i,a=this._states[t];return a&&(i=a.applyAnimate(e)),this._entity._applyStateAnimated(t,e),i}};var ni=class{constructor(t){this._callbacks={},this._disabled={},this._entity=t}add(t,e){let i=this._callbacks[t];return i===void 0&&(i=this._callbacks[t]=[]),i.push(e),this._entity._markDirtyKey(t),new gt(()=>{X(i,e)&&this._entity._markDirtyKey(t)})}remove(t){let e=this._callbacks[t];e!==void 0&&(delete this._callbacks[t],e.length!==0&&this._entity._markDirtyKey(t))}enable(t){this._disabled[t]&&(delete this._disabled[t],this._entity._markDirtyKey(t))}disable(t){this._disabled[t]||(this._disabled[t]=!0,this._entity._markDirtyKey(t))}fold(t,e){if(!this._disabled[t]){let i=this._callbacks[t];if(i!==void 0)for(let a=0,s=i.length;a<s;++a)e=i[a](e,this._entity,t)}return e}},Ut=class{constructor(t,e,i,a,s,r,o){this._time=0,this._stopped=!1,this._playing=!0,this.events=new St,this._animation=t,this._from=e,this._to=i,this._duration=a,this._easing=s,this._loops=r,this._interpolate=Ii(e,i),this._oldTime=o}get to(){return this._to}get duration(){return this._duration}get easing(){return this._easing}get loops(){return this._loops}get from(){return this._from}get playing(){return this._playing}get stopped(){return this._stopped}stop(){this._stopped||(this._stopped=!0,this._playing=!1,this.events.isEnabled("stopped")&&this.events.dispatch("stopped",{type:"stopped",target:this}))}pause(){this._playing=!1,this._oldTime=null}play(){!this._stopped&&!this._playing&&(this._playing=!0,this._animation._startAnimation())}get percentage(){return this._time/this._duration}waitForStop(){return new Promise((t,e)=>{if(this._stopped)t();else{let i=()=>{a.dispose(),t()},a=this.events.on("stopped",i)}})}_checkEnded(){return this._loops>1?(--this._loops,!1):!0}_run(t){this._oldTime!==null&&(this._time+=t-this._oldTime,this._time>this._duration&&(this._time=this._duration)),this._oldTime=t}_reset(t){this._oldTime=t,this._time=0}_value(t){if(t<=0)return this._from;let e=this._easing(t);return e>=.999999?this._to:e<=1e-6?this._from:this._interpolate(e,this._from,this._to)}},Ns=0,Xt=0,Zt=class{constructor(t){this.uid=++Ns,this._privateSettings={},this._settingEvents={},this._privateSettingEvents={},this._debouncedSettingEvents={},this._debouncedPrivateSettingEvents={},this._prevSettings={},this._prevPrivateSettings={},this._animatingSettings={},this._animatingPrivateSettings={},this._disposed=!1,this._userProperties={},this._computedProperties={},this._animationBases={},this._animationWriting=0,this.enableDispose=!0,this._settings=t}_checkDirty(){mt(this._settings).forEach(t=>{this._userProperties[t]=!0,this._markDirtyKey(t)})}resetUserSettings(){this._userProperties={},this._computedProperties={}}_runAnimation(t){let e=ce.Stopped;if(!this.isDisposed()){let i=!1,a=!1;O(this._animatingSettings,(s,r)=>{if(r.stopped)this._stopAnimation(s);else if(r.playing){r._run(t);let o=r.percentage;o>=1?r._checkEnded()?this._setAnimated(s,r._value(1)):(i=!0,r._reset(t),this._set(s,r._value(1))):(i=!0,this._set(s,r._value(o)))}else a=!0}),O(this._animatingPrivateSettings,(s,r)=>{if(r.stopped)this._stopAnimationPrivate(s);else if(r.playing){r._run(t);let o=r.percentage;o>=1?r._checkEnded()?this.setPrivate(s,r._value(1)):(i=!0,r._reset(t),this._setPrivate(s,r._value(1))):(i=!0,this._setPrivate(s,r._value(o)))}else a=!0}),i?e=ce.Playing:a&&(e=ce.Paused)}return e}_markDirtyKey(t){this.markDirty()}_markDirtyPrivateKey(t){this.markDirty()}on(t,e){let i=this._settingEvents[t];return i===void 0&&(i=this._settingEvents[t]=[]),i.push(e),new gt(()=>{X(i,e),i.length===0&&delete this._settingEvents[t]})}off(t,e){let i=this._settingEvents[t];i!==void 0&&e!==void 0?X(i,e):delete this._settingEvents[t]}once(t,e){let i=this.on(t,(a,s,r)=>{i.dispose(),e(a,s,r)});return i}_onDebouncedHelper(t,e,i,a){let s=t[e];s===void 0&&(s=t[e]=[]);let r={cb:i,delay:a};return s.push(r),new gt(()=>{r.timeout&&window.clearTimeout(r.timeout),X(s,r),s.length===0&&delete t[e]})}_offDebouncedHelper(t,e,i){let a=t[e];if(a!==void 0)if(i!==void 0){let s=vi(a,r=>r.cb===i);if(s!==-1){let r=a[s];r.timeout&&window.clearTimeout(r.timeout),a.splice(s,1),a.length===0&&delete t[e]}}else _(a,s=>{s.timeout&&window.clearTimeout(s.timeout)}),delete t[e]}onDebounced(t,e,i){return this._onDebouncedHelper(this._debouncedSettingEvents,t,e,i)}offDebounced(t,e){this._offDebouncedHelper(this._debouncedSettingEvents,t,e)}onceDebounced(t,e,i){let a=this.onDebounced(t,(s,r,o)=>{a.dispose(),e(s,r,o)},i);return a}onPrivate(t,e){let i=this._privateSettingEvents[t];return i===void 0&&(i=this._privateSettingEvents[t]=[]),i.push(e),new gt(()=>{X(i,e),i.length===0&&delete this._privateSettingEvents[t]})}offPrivate(t,e){let i=this._privateSettingEvents[t];i!==void 0&&e!==void 0?X(i,e):delete this._privateSettingEvents[t]}onPrivateDebounced(t,e,i){return this._onDebouncedHelper(this._debouncedPrivateSettingEvents,t,e,i)}offDebouncedPrivate(t,e){this._offDebouncedHelper(this._debouncedPrivateSettingEvents,t,e)}getRaw(t,e){let i=this._settings[t];return i!==void 0?i:e}has(t){return t in this._settings}get(t,e){return this.getRaw(t,e)}_sendKeyEvent(t,e){let i=this._settingEvents[t];i!==void 0&&_(i.slice(),s=>{s(e,this,t)});let a=this._debouncedSettingEvents[t];a!==void 0&&_(a,s=>{s.timeout&&window.clearTimeout(s.timeout),s.timeout=window.setTimeout(()=>{s.timeout=void 0,s.cb(e,this,t)},s.delay)})}_sendPrivateKeyEvent(t,e){let i=this._privateSettingEvents[t];i!==void 0&&_(i.slice(),s=>{s(e,this,t)});let a=this._debouncedPrivateSettingEvents[t];a!==void 0&&_(a,s=>{s.timeout&&window.clearTimeout(s.timeout),s.timeout=window.setTimeout(()=>{s.timeout=void 0,s.cb(e,this,t)},s.delay)})}_setRaw(t,e,i){this._prevSettings[t]=e,this._sendKeyEvent(t,i)}setRaw(t,e){let i=this._settings[t];this._settings[t]=e,i!==e&&this._setRaw(t,i,e)}_set(t,e){let i=this._settings[t];this._settings[t]=e,i!==e&&(this._setRaw(t,i,e),this._markDirtyKey(t))}_stopAnimation(t){let e=this._animatingSettings[t];e&&(delete this._animatingSettings[t],e.stop())}set(t,e){return this._set(t,e),this._stopAnimation(t),e}remove(t){t in this._settings&&(this._prevSettings[t]=this._settings[t],delete this._settings[t],this._sendKeyEvent(t,void 0),this._markDirtyKey(t)),this._stopAnimation(t)}removeAll(){_(mt(this._settings),t=>{this.remove(t)})}getPrivate(t,e){let i=this._privateSettings[t];return i!==void 0?i:e}_setPrivateRaw(t,e,i){this._prevPrivateSettings[t]=e,this._sendPrivateKeyEvent(t,i)}setPrivateRaw(t,e){let i=this._privateSettings[t];this._privateSettings[t]=e,i!==e&&this._setPrivateRaw(t,i,e)}_setPrivate(t,e){let i=this._privateSettings[t];this._privateSettings[t]=e,i!==e&&(this._setPrivateRaw(t,i,e),this._markDirtyPrivateKey(t))}_stopAnimationPrivate(t){let e=this._animatingPrivateSettings[t];e&&(e.stop(),delete this._animatingPrivateSettings[t])}setPrivate(t,e){return this._setPrivate(t,e),this._stopAnimationPrivate(t),e}removePrivate(t){t in this._privateSettings&&(this._prevPrivateSettings[t]=this._privateSettings[t],delete this._privateSettings[t],this._markDirtyPrivateKey(t)),this._stopAnimationPrivate(t)}setAll(t){O(t,(e,i)=>{this.set(e,i)})}_setAnimated(t,e){let i=this._userProperties[t]&&!this._computedProperties[t];this._animationWriting++;try{this.set(t,e)}finally{this._animationWriting--}i||(this._computedProperties[t]=!0)}animate(t){let e=t.key,i=t.to,a=t.duration||0,s=t.loops||1,r=t.from===void 0?this.get(e):t.from,o=t.easing===void 0?Ft:t.easing;if(a===0)this._setAnimated(e,i);else if(r===void 0||r===i)this._setAnimated(e,i);else{this._setAnimated(e,r);let l=this._animatingSettings[e]=new Ut(this,r,i,a,o,s,this._animationTime());return this._startAnimation(),l}let h=new Ut(this,r,i,a,o,s,null);return h.stop(),h}animatePrivate(t){let e=t.key,i=t.to,a=t.duration||0,s=t.loops||1,r=t.from===void 0?this.getPrivate(e):t.from,o=t.easing===void 0?Ft:t.easing;if(a===0)this.setPrivate(e,i);else if(r===void 0||r===i)this.setPrivate(e,i);else{this.setPrivate(e,r);let l=this._animatingPrivateSettings[e]=new Ut(this,r,i,a,o,s,this._animationTime());return this._startAnimation(),l}let h=new Ut(this,r,i,a,o,s,null);return h.stop(),h}_dispose(){}isDisposed(){return this._disposed}dispose(){this.enableDispose&&!this._disposed&&(this._disposed=!0,this._dispose())}},V=class extends Zt{constructor(t,e,i,a=[]){if(super(e),this.states=new Te(this),this.adapters=new ni(this),this.events=this._createEvents(),this._userPrivateProperties={},this._dirty={},this._dirtyPrivate={},this._templates=[],this._defaultThemes=[],this._templateDisposers=[],this._disposers=[],this._runSetup=!0,this._disposerProperties={},this._declaredAnimations=[],this._declaredTimers=[],!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._root=t,this._internalTemplates=a,e.id&&this._registerId(e.id)}static new(t,e,i){let a=Xt===0&&e.themeTags?e.themeTags.slice():void 0;Xt++;try{let s=new this(t,e,!0);return s._userThemeTags=a,s._template=i,s._afterNew(),s}finally{Xt--}}static _new(t,e,i=[]){Xt++;try{let a=new this(t,e,!0,i);return a._afterNew(),a}finally{Xt--}}_afterNew(){this._checkDirty();let t=!1,e=this._template;e&&(t=!0,e._setObjectTemplate(this)),_(this._internalTemplates,i=>{t=!0,i._setObjectTemplate(this)}),t&&this._applyTemplates(!1),this.states.create("default",{}),this._setDefaults()}_afterNewApplyThemes(){this._checkDirty();let t=this._template;t&&t._setObjectTemplate(this),_(this._internalTemplates,e=>{e._setObjectTemplate(this)}),this.states.create("default",{}),this._setDefaults(),this._applyThemes()}_createEvents(){return new St}get classNames(){return this.constructor.classNames}get className(){return this.constructor.className}_setDefaults(){}_setDefaultFn(t,e){let i=this.get(t);if(i)return i;{let a=e();return this._setC(t,a),a}}_setDefault(t,e){this.has(t)||(super.set(t,e),this._computedProperties[t]=!0)}_setRawDefault(t,e){this.has(t)||(super.setRaw(t,e),this._computedProperties[t]=!0)}_clearDirty(){mt(this._dirty).forEach(t=>{this._dirty[t]=!1}),mt(this._dirtyPrivate).forEach(t=>{this._dirtyPrivate[t]=!1})}isDirty(t){return!!this._dirty[t]}isPrivateDirty(t){return!!this._dirtyPrivate[t]}_markDirtyKey(t){this._dirty[t]=!0,super._markDirtyKey(t)}_markDirtyPrivateKey(t){this._dirtyPrivate[t]=!0,super._markDirtyKey(t)}isType(t){return this.classNames.indexOf(t)!==-1}_pushPropertyDisposer(t,e){let i=this._disposerProperties[t];return i===void 0&&(i=this._disposerProperties[t]=[]),i.push(e),e}_disposeProperty(t){let e=this._disposerProperties[t];e!==void 0&&(_(e,i=>{i.dispose()}),delete this._disposerProperties[t])}set template(t){let e=this._template;e!==t&&(this._template=t,e&&e._removeObjectTemplate(this),t&&t._setObjectTemplate(this),this._applyTemplates())}get template(){return this._template}markDirty(){this._root._addDirtyEntity(this)}_startAnimation(){this._root._addAnimation(this)}_animationTime(){return this._root.animationTime}_applyState(t){}_applyStateAnimated(t,e){}get(t,e){let i=this.adapters.fold(t,this._settings[t]);return i!==void 0?i:e}isUserSetting(t){return this._userProperties[t]||!1}set(t,e){return this._userProperties[t]=!0,delete this._computedProperties[t],this._animationWriting||delete this._animationBases[t],super.set(t,e)}_setC(t,e){let i=this._userProperties[t]&&!this._computedProperties[t]&&this._settings[t]===e,a=this.set(t,e);return i||(this._computedProperties[t]=!0),a}_setCRaw(t,e){let i=this._userProperties[t]&&!this._computedProperties[t]&&this._settings[t]===e;this.setRaw(t,e),i||(this._computedProperties[t]=!0)}_markC(...t){return _(t,e=>{this._computedProperties[e]=!0}),this}_setCAll(t){O(t,(e,i)=>{this._setC(e,i)})}isComputedSetting(t){return this._computedProperties[t]||!1}setRaw(t,e){this._userProperties[t]=!0,delete this._computedProperties[t],this._animationWriting||delete this._animationBases[t],super.setRaw(t,e)}_setSoft(t,e){return this._userProperties[t]?e:super.set(t,e)}remove(t){delete this._userProperties[t],delete this._computedProperties[t],this._removeTemplateProperty(t)}setPrivate(t,e){return this._userPrivateProperties[t]=!0,super.setPrivate(t,e)}setPrivateRaw(t,e){this._userPrivateProperties[t]=!0,super.setPrivateRaw(t,e)}removePrivate(t){delete this._userPrivateProperties[t],this._removeTemplatePrivateProperty(t)}_setTemplateProperty(t,e,i){if(!this._userProperties[e]){let a=this._findTemplateByKey(e);t===a&&super.set(e,i)}}_setTemplatePrivateProperty(t,e,i){if(!this._userPrivateProperties[e]){let a=this._findTemplateByPrivateKey(e);t===a&&super.setPrivate(e,i)}}_removeTemplateProperty(t){if(!this._userProperties[t]){let e=this._findTemplateByKey(t);e?super.set(t,e._settings[t]):super.remove(t)}}_removeTemplatePrivateProperty(t){if(!this._userPrivateProperties[t]){let e=this._findTemplateByPrivateKey(t);e?super.setPrivate(t,e._privateSettings[t]):super.removePrivate(t)}}_walkParents(t){t(this._root._rootContainer),t(this)}_applyStateByKey(t){let e=this.states.create(t,{}),i={};this._eachTemplate(a=>{let s=a.states.lookup(t);s&&s._apply(e,i)}),O(e._settings,a=>{!i[a]&&!e._userSettings[a]&&e.remove(a)})}_applyTemplate(t,e){this._templateDisposers.push(t._apply(this,e)),O(t._settings,(i,a)=>{!e.settings[i]&&!this._userProperties[i]&&(e.settings[i]=!0,super.set(i,a))}),O(t._privateSettings,(i,a)=>{!e.privateSettings[i]&&!this._userPrivateProperties[i]&&(e.privateSettings[i]=!0,super.setPrivate(i,a))}),this._runSetup&&t.setup&&(this._runSetup=!1,t.setup(this))}_findStaticTemplate(t){if(this._template&&t(this._template))return this._template}_eachTemplate(t){this._findStaticTemplate(e=>(t(e),!1)),ft(this._internalTemplates,t),_(this._templates,t)}_applyTemplates(t=!0){t&&this._disposeTemplates();let e={settings:{},privateSettings:{},states:{}};this._eachTemplate(i=>{this._applyTemplate(i,e)}),t&&(O(this._settings,i=>{!this._userProperties[i]&&!e.settings[i]&&super.remove(i)}),O(this._privateSettings,i=>{!this._userPrivateProperties[i]&&!e.privateSettings[i]&&super.removePrivate(i)}))}_findTemplate(t){let e=this._findStaticTemplate(t);if(e===void 0){let i=xi(this._internalTemplates,t);return i===void 0?ue(this._templates,t):i}else return e}_findTemplateByKey(t){return this._findTemplate(e=>t in e._settings)}_findTemplateByPrivateKey(t){return this._findTemplate(e=>t in e._privateSettings)}_disposeTemplates(){_(this._templateDisposers,t=>{t.dispose()}),this._templateDisposers.length=0}_removeTemplates(){_(this._templates,t=>{t._removeObjectTemplate(this)}),this._templates.length=0}_applyThemes(t=!1){if(this.get("ignoreThemes"))return!1;let e=!1,i=[],a=[],s=new Set,r=this.get("themeTagsSelf");return r&&_(r,o=>{s.add(o)}),this._walkParents(o=>{o===this._root._rootContainer&&(e=!0),o._defaultThemes.length>0&&i.push(o._defaultThemes);let h=o.get("themes");h&&a.push(h);let l=o.get("themeTags");l&&_(l,d=>{s.add(d)})}),a=i.concat(a),this._removeTemplates(),(e||t)&&ft(this.classNames,o=>{let h=[];_(a,l=>{_(l,d=>{let p=d._lookupRules(o);p&&ft(p,u=>{if(u.tags.every(m=>s.has(m))){let m=bi(h,g=>{let x=qe(u.tags.length,g.tags.length);return x===0?Li(u.tags,g.tags,qe):x});h.splice(m.index,0,u)}})})}),_(h,l=>{this._templates.push(l.template),l.template._setObjectTemplate(this)})}),this._applyTemplates(),(e||t)&&(this._runSetup=!1),e||t}_changed(){}_stopDeclaredAnimations(t=!0){_(this._declaredTimers,e=>this.removeDispose(e)),this._declaredTimers=[],_(this._declaredAnimations,e=>e.animation.stop()),this._declaredAnimations=[],t&&(O(this._animationBases,(e,i)=>{this._set(e,i.value),i.user?this._userProperties[e]=!0:delete this._userProperties[e],i.computed?this._computedProperties[e]=!0:delete this._computedProperties[e]}),this._animationBases={})}_playDeclaredAnimations(){this._stopDeclaredAnimations();let t=this.get("animations");!t||!t.length||_(t,e=>{let i=e.target==="dataItem"?this.dataItem:this,a=e.key;if(!i||!a)return;i===this&&!this._animationBases[a]&&(this._animationBases[a]={value:this._settings[a],user:!!this._userProperties[a],computed:!!this._computedProperties[a]});let s=si(e.easing,e.ease),r=e.duration||0,o=e.loops===0?1/0:e.loops||1,h=()=>{if(i.isDisposed())return;let l=i.animate({key:a,from:e.from,to:e.to,duration:e.yoyo?r*2:r,easing:e.yoyo?ii(s):s,loops:o});this._declaredAnimations.push({target:i,key:a,animation:l})};e.delay?this._declaredTimers.push(this.setTimeout(h,e.delay)):h()})}_beforeChanged(){if(this.isDirty("animations")&&this._playDeclaredAnimations(),this.isDirty("id")){let t=this.get("id");t&&this._registerId(t);let e=this._prevSettings.id;e&&(delete this._root.entitiesById[e],delete At.entitiesById[e])}}_registerId(t){if(this._root.entitiesById[t]&&this._root.entitiesById[t]!==this)throw new Error('An entity with id "'+t+'" already exists.');this._root.entitiesById[t]=this,At.entitiesById[t]=this}_afterChanged(){}addDisposer(t){return this._disposers.push(t),t}_dispose(){super._dispose(),this._stopDeclaredAnimations(!1);let t=this._template;t&&t._removeObjectTemplate(this),_(this._internalTemplates,i=>{i._removeObjectTemplate(this)}),this._removeTemplates(),this._disposeTemplates(),this.events.dispose(),this._disposers.forEach(i=>{i.dispose()}),O(this._disposerProperties,(i,a)=>{_(a,s=>{s.dispose()})});let e=this.get("id");e&&(delete this._root.entitiesById[e],delete At.entitiesById[e])}setTimeout(t,e){let i=setTimeout(()=>{this.removeDispose(a),t()},e),a=new gt(()=>{clearTimeout(i)});return this._disposers.push(a),a}removeDispose(t){if(!this.isDisposed()){let e=Gt(this._disposers,t);e>-1&&this._disposers.splice(e,1)}t.dispose()}hasTag(t){return Gt(this.get("themeTags",[]),t)!==-1}addTag(t){if(!this.hasTag(t)){let e=this.get("themeTags",[]);e.push(t),this.set("themeTags",e)}}_getUserThemeTags(){let t=this._userThemeTags;if(!t)return[];let e=this.get("themeTags",[]);return t.filter(i=>e.indexOf(i)!==-1)}_addUserThemeTags(t){let e=this._userThemeTags||[];_(t,i=>{e.indexOf(i)===-1&&e.push(i)}),this._userThemeTags=e}removeTag(t){if(this.hasTag(t)){let e=this.get("themeTags",[]);he(e,t),this.set("themeTags",e)}}_t(t,e,...i){return this._root.language.translate(t,e,...i)}get root(){return this._root}};V.className="Entity";V.classNames=["Entity"];var we=class n extends St{constructor(t){super(),this._rendererDisposers={},this._dispatchParents=!0,this._sprite=t}_makePointerEvent(t,e){return{type:t,originalEvent:e.event,point:e.point,simulated:e.simulated,native:e.native,target:this._sprite}}_onRenderer(t,e){this._sprite._setC("interactive",!0),this._sprite._display.interactive=!0;let i=this._rendererDisposers[t];if(i===void 0){let a=this._sprite._display.on(t,s=>{e.call(this,s)});i=this._rendererDisposers[t]=new Ti(()=>{delete this._rendererDisposers[t],a.dispose()})}return i.increment()}_on(t,e,i,a,s,r,o){let h=super._on(t,e,i,a,s,r,o),l=n.RENDERER_EVENTS[e];return l!==void 0&&(h.disposer=new _t([h.disposer,this._onRenderer(e,l)])),h}stopParentDispatch(){this._dispatchParents=!1}dispatchParents(t,e){let i=this._dispatchParents;this._dispatchParents=!0;try{this.dispatch(t,e),this._dispatchParents&&this._sprite.parent&&this._sprite.parent.events.dispatchParents(t,e)}finally{this._dispatchParents=i}}};we.RENDERER_EVENTS={click:function(n){this.isEnabled("click")&&!this._sprite.isDragging()&&this._sprite._hasDown()&&!this._sprite._hasMoved(this._makePointerEvent("click",n))&&this.dispatch("click",this._makePointerEvent("click",n))},rightclick:function(n){this.isEnabled("rightclick")&&this.dispatch("rightclick",this._makePointerEvent("rightclick",n))},middleclick:function(n){this.isEnabled("middleclick")&&this.dispatch("middleclick",this._makePointerEvent("middleclick",n))},dblclick:function(n){this.dispatchParents("dblclick",this._makePointerEvent("dblclick",n))},pointerover:function(n){let t=this._sprite,e=!0;if(t.getPrivate("trustBounds")){t._getBounds();let i=t.globalBounds();if(t.isType("Graphics")){let a=t.get("strokeWidth",1)/2;a>=1&&(i.left-=a,i.right+=a,i.top-=a,i.bottom+=a)}ti(n.point,i)||(e=!1,t._root._renderer.removeHovering(t._display))}e&&this.isEnabled("pointerover")&&this.dispatch("pointerover",this._makePointerEvent("pointerover",n))},pointerout:function(n){this.isEnabled("pointerout")&&this.dispatch("pointerout",this._makePointerEvent("pointerout",n))},pointerdown:function(n){this.dispatchParents("pointerdown",this._makePointerEvent("pointerdown",n))},pointerup:function(n){this.isEnabled("pointerup")&&this.dispatch("pointerup",this._makePointerEvent("pointerup",n))},globalpointerup:function(n){this.isEnabled("globalpointerup")&&this.dispatch("globalpointerup",this._makePointerEvent("globalpointerup",n))},globalpointermove:function(n){this.isEnabled("globalpointermove")&&this.dispatch("globalpointermove",this._makePointerEvent("globalpointermove",n))},globalpointerdown:function(n){this.isEnabled("globalpointerdown")&&this.dispatch("globalpointerdown",this._makePointerEvent("globalpointerdown",n))},wheel:function(n){this.dispatchParents("wheel",{type:"wheel",target:this._sprite,originalEvent:n.event,point:n.point})}};var U=class extends V{constructor(){super(...arguments),this._adjustedLocalBounds={left:0,right:0,top:0,bottom:0},this._localBounds={left:0,right:0,top:0,bottom:0},this._sizeDirty=!1,this._isDragging=!1,this._isHidden=!1,this._isShowing=!1,this._isHiding=!1,this._isDown=!1,this._downPoints={}}_afterNew(){this.setPrivateRaw("visible",!0),super._afterNew()}markDirtyKey(t){this._markDirtyKey(t)}_markDirtyKey(t){super._markDirtyKey(t),(t=="x"||t=="y"||t=="dx"||t=="dy")&&(this.markDirtyBounds(),this._addPercentagePositionChildren(),this.markDirtyPosition())}_markDirtyPrivateKey(t){super._markDirtyPrivateKey(t),(t=="x"||t=="y")&&this.markDirtyPosition()}_removeTemplateField(){this._templateField&&this._templateField._removeObjectTemplate(this)}_createEvents(){return new we(this)}_processTemplateField(){let t,e=this.get("templateField");if(e){let i=this.dataItem;if(i){let a=i.dataContext;a&&(t=a[e],!(t instanceof Je)&&t&&(t=Je.new(t)))}}this._templateField!==t&&(this._removeTemplateField(),this._templateField=t,t&&t._setObjectTemplate(this),this._applyTemplates())}_setDataItem(t){let e=this._dataItem;this._dataItem=t,this._processTemplateField();let i="dataitemchanged";if(t!=e){let a=this.get("animations");a&&a.some(s=>s.target==="dataItem")&&this._markDirtyKey("animations"),this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this,oldDataItem:e,newDataItem:t})}}set dataItem(t){this._setDataItem(t)}get dataItem(){if(this._dataItem)return this._dataItem;{let t=this._parent;for(;t;){if(t._dataItem)return t._dataItem;t=t._parent}}}_addPercentageSizeChildren(){let t=this.parent;t&&(this.get("width")instanceof A||this.get("height")instanceof A?Ke(t._percentageSizeChildren,this):X(t._percentageSizeChildren,this))}_addPercentagePositionChildren(){let t=this.parent;t&&(this.get("x")instanceof A||this.get("y")instanceof A?Ke(t._percentagePositionChildren,this):X(t._percentagePositionChildren,this))}markDirtyPosition(){this._root._addDirtyPosition(this)}updatePivotPoint(){let t=this._localBounds;if(t){let e=this.get("centerX");e!=null&&(this._display.pivot.x=t.left+q(e,t.right-t.left));let i=this.get("centerY");i!=null&&(this._display.pivot.y=t.top+q(i,t.bottom-t.top))}}_beforeChanged(){if(super._beforeChanged(),this._handleStates(),this.isDirty("tooltip")){let t=this._prevSettings.tooltip;t&&t.dispose()}if((this.isDirty("layer")||this.isDirty("layerMargin"))&&(this._display.setLayer(this.get("layer"),this.get("layerMargin")),this.markDirtyLayer()),this.isDirty("tooltipPosition")){let t=this._tooltipMoveDp;t&&(t.dispose(),this._tooltipMoveDp=void 0);let e=this._tooltipPointerDp;e&&(e.dispose(),this._tooltipPointerDp=void 0),this.get("tooltipPosition")=="pointer"&&(this.isHover()&&(this._tooltipMoveDp=this.events.on("globalpointermove",i=>{this.showTooltip(i.point)})),this._tooltipPointerDp=new _t([this.events.on("pointerover",()=>{let i=this._tooltipMoveDp;i&&(i.dispose(),this._tooltipMoveDp=void 0),this._tooltipMoveDp=this.events.on("globalpointermove",a=>{this.showTooltip(a.point)})}),this.events.on("pointerout",()=>{let i=this._tooltipMoveDp;i&&(i.dispose(),this._tooltipMoveDp=void 0)})]))}}_handleStates(){this.isDirty("active")&&(this.get("active")?(this.states.applyAnimate("active"),this._setC("ariaChecked",!0)):(this.isHidden()||this.states.applyAnimate("default"),this._setC("ariaChecked",!1)),this.markDirtyAccessibility()),this.isDirty("disabled")&&(this.get("disabled")?(this.states.applyAnimate("disabled"),this._setC("ariaChecked",!1)):(this.isHidden()||this.states.applyAnimate("default"),this._setC("ariaChecked",!0)),this.markDirtyAccessibility())}_changed(){super._changed();let t=this._display,e=this.events;if(this.isDirty("draggable")){let a=this.get("draggable");a?(this._setC("interactive",!0),this._dragDp=new _t([e.on("pointerdown",s=>{this.dragStart(s)}),e.on("globalpointermove",s=>{this.dragMove(s)}),e.on("globalpointerup",s=>{this.dragStop(s)})])):this._dragDp&&(this._dragDp.dispose(),this._dragDp=void 0),t.cancelTouch=!!a}if(this.isDirty("tooltipText")||this.isDirty("tooltipHTML")||this.isDirty("showTooltipOn")){let a=this.get("tooltipText"),s=this.get("tooltipHTML"),r=this.get("showTooltipOn","hover");this._tooltipDp&&(this._tooltipDp.dispose(),this._tooltipDp=void 0),(a||s)&&(r=="click"?(this._tooltipDp=new _t([e.on("click",()=>{this.setTimeout(()=>{let o=this.getTooltip();o&&!o.isHidden()&&o.get("tooltipTarget")===this?this.hideTooltip():this.showTooltip()},10)}),wi(document,"click",o=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)):r=="always"||(this._tooltipDp=new _t([e.on("pointerover",()=>{this.showTooltip()}),e.on("pointerout",()=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)))}if(this.isDirty("toggleKey")){let a=this.get("toggleKey");a&&a!="none"?this._toggleDp=e.on("click",()=>{this._isDragging||this.set(a,!this.get(a))}):this._toggleDp&&(this._toggleDp.dispose(),this._toggleDp=void 0)}if(this.isDirty("opacity")&&(t.alpha=Math.max(0,this.get("opacity",1)),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("rotation")&&(this.markDirtyBounds(),t.angle=this.get("rotation",0)),this.isDirty("scale")&&(this.markDirtyBounds(),t.scale=this.get("scale",0)),(this.isDirty("centerX")||this.isDirty("centerY"))&&(this.markDirtyBounds(),this.updatePivotPoint()),(this.isDirty("visible")||this.isPrivateDirty("visible")||this.isDirty("forceHidden"))&&(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden")?(t.visible=!1,this.hideTooltip()):t.visible=!0,this.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("width")||this.isDirty("height")){this.markDirtyBounds(),this._addPercentageSizeChildren();let a=this.parent;a&&(this.isDirty("width")&&this.get("width")instanceof A||this.isDirty("height")&&this.get("height")instanceof A)&&(a.markDirty(),a._prevWidth=0),this._sizeDirty=!0}if((this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("minWidth")||this.isDirty("minHeight")||this.isPrivateDirty("maxWidth")||this.isPrivateDirty("maxHeight")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight")||this.isDirty("marginLeft")||this.isDirty("marginTop")||this.isDirty("marginRight")||this.isDirty("marginBottom"))&&(this.markDirtyBounds(),this._sizeDirty=!0),this._sizeDirty&&this._updateSize(),this.isDirty("wheelable")){let a=this.get("wheelable");a&&this._setC("interactive",!0),t.wheelable=!!a}(this.isDirty("tabindexOrder")||this.isDirty("focusableGroup"))&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this)),this.isDirty("filter")&&(t.filter=this.get("filter"));let i=this.get("filter","");if(this.isDirty("blur")){let a=this.get("blur",0);a!=0&&(i+=" blur("+a+"px)")}if(this.isDirty("saturate")){let a=this.get("saturate",1);a!=1&&(i+=" saturate("+a+")")}if(this.isDirty("brightness")){let a=this.get("brightness",1);a!=1&&(i+=" brightness("+a+")")}if(this.isDirty("contrast")){let a=this.get("contrast",1);a!=1&&(i+=" contrast("+a+")")}if(this.isDirty("sepia")){let a=this.get("sepia",0);a!=0&&(i+=" sepia("+a+")")}if(this.isDirty("hue")){let a=this.get("hue",0);a!=0&&(i+=" hue-rotate("+a+"deg)")}if(this.isDirty("invert")){let a=this.get("invert",0);a!=0&&(i+=" invert("+a+")")}if(i&&(t.filter=i),this.isDirty("cursorOverStyle")&&(t.cursorOverStyle=this.get("cursorOverStyle")),this.isDirty("hoverOnFocus")&&(this.get("hoverOnFocus")?this._focusDp=new _t([e.on("focus",()=>{this.showTooltip()}),e.on("blur",()=>{this.hideTooltip()})]):this._focusDp&&(this._focusDp.dispose(),this._focusDp=void 0)),this.isDirty("focusable")&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this),this.markDirtyAccessibility(),this._disposers.push(e.on("blur",()=>{this.setPrivateRaw("touchHovering",!1)})),this._disposers.push(e.once("boundschanged",()=>{this.markDirtyAccessibility()}))),this.isPrivateDirty("focusable")&&this.markDirtyAccessibility(),(this.isDirty("role")||this.isDirty("ariaLive")||this.isDirty("ariaChecked")||this.isDirty("ariaHidden")||this.isDirty("ariaOrientation")||this.isDirty("ariaValueNow")||this.isDirty("ariaValueMin")||this.isDirty("ariaValueMax")||this.isDirty("ariaValueText")||this.isDirty("ariaLabel")||this.isDirty("ariaControls"))&&this.markDirtyAccessibility(),this.isDirty("exportable")&&(t.exportable=this.get("exportable")),this.isDirty("interactive")){let a=this.events;this.get("interactive")&&!a.isDisposed()?this._hoverDp=new _t([a.on("click",s=>{Xe(s.originalEvent)&&(this.getPrivate("touchHovering")||this.setTimeout(()=>{this._handleOver(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.showTooltip(),this.setPrivateRaw("touchHovering",!0),this.events.dispatch("pointerover",{type:"pointerover",target:s.target,originalEvent:s.originalEvent,point:s.point,simulated:s.simulated})},10))}),a.on("globalpointerup",s=>{Xe(s.originalEvent)&&this.getPrivate("touchHovering")&&!this.isHover()&&(this._handleOut(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.hideTooltip(),this.setPrivateRaw("touchHovering",!1),this.events.dispatch("pointerout",{type:"pointerout",target:s.target,originalEvent:s.originalEvent,point:s.point,simulated:s.simulated})),this._isDown&&this._handleUp(s)}),a.on("pointerover",()=>{this._handleOver()}),a.on("pointerout",()=>{this._handleOut()}),a.on("pointerdown",s=>{this._handleDown(s)})]):(this._display.interactive=!1,this._hoverDp&&(this._hoverDp.dispose(),this._hoverDp=void 0))}this.isDirty("forceInactive")&&(this._display.inactive=this.get("forceInactive",null)),this.get("showTooltipOn")=="always"&&this._display.visible&&this.showTooltip()}dragStart(t){this._dragEvent=t,this.events.stopParentDispatch()}dragStop(t){if(this._dragEvent=void 0,this._dragPoint=void 0,this.events.stopParentDispatch(),this._isDragging){this._isDragging=!1;let e="dragstop";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}}_handleOver(){this.isHidden()||(this.get("active")&&this.states.lookup("hoverActive")?this.states.applyAnimate("hoverActive"):this.get("disabled")&&this.states.lookup("hoverDisabled")?this.states.applyAnimate("hoverDisabled"):this.states.applyAnimate("hover"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleOut(){this.isHidden()||(this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):(this.states.lookup("hover")||this.states.lookup("hoverActive"))&&this.states.applyAnimate("default"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleUp(t){if(!this.isHidden()){this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):this.states.lookup("down")&&(this.isHover()?this.states.applyAnimate("hover"):this.states.applyAnimate("default")),this._downPoint=void 0;let e=pe(t.originalEvent);delete this._downPoints[e],mt(this._downPoints).length==0&&(this._isDown=!1)}}_hasMoved(t){let e=pe(t.originalEvent),i=this._downPoints[e];if(i){let a=Math.abs(i.x-t.point.x),s=Math.abs(i.y-t.point.y);return a>5||s>5}return!1}_hasDown(){return mt(this._downPoints).length>0}_handleDown(t){let e=this.parent;if(e&&!this.get("draggable")&&e._handleDown(t),this.get("interactive")&&!this.isHidden()){this.states.lookup("down")&&this.states.applyAnimate("down"),this._downPoint={x:t.point.x,y:t.point.y},this._isDown=!0;let i=pe(t.originalEvent);this._downPoints[i]={x:t.point.x,y:t.point.y}}}dragMove(t){let e=this._dragEvent;if(e){if(e.simulated&&!t.simulated)return!0;let i=0,a=this.parent,s=1;for(;a!=null;)i+=a.get("rotation",0),a=a.parent,a&&(s*=a.get("scale",1));let r=(t.point.x-e.point.x)/s,o=(t.point.y-e.point.y)/s,h=this.events;if(e.simulated&&!this._isDragging){this._isDragging=!0,this._dragEvent=t,this._dragPoint={x:this.x(),y:this.y()};let l="dragstart";h.isEnabled(l)&&h.dispatch(l,{type:l,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}if(this._isDragging){let l=this._dragPoint;this.set("x",l.x+r*dt(i)+o*ht(i)),this.set("y",l.y+o*dt(i)-r*ht(i));let d="dragged";h.isEnabled(d)&&h.dispatch(d,{type:d,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}else if(Math.hypot(r,o)>5){this._isDragging=!0,this._dragEvent=t,this._dragPoint={x:this.x(),y:this.y()};let l="dragstart";h.isEnabled(l)&&h.dispatch(l,{type:l,target:this,originalEvent:t.originalEvent,point:t.point,simulated:t.simulated})}}}_updateSize(){}_getBounds(){this._localBounds=this._display.getLocalBounds()}depth(){let t=this.parent,e=0;for(;;)if(t)++e,t=t.parent;else return e}markDirtySize(){this._sizeDirty=!0,this.markDirty()}markDirtyBounds(){let t=this._display;if(this.get("isMeasured")){this._root._addDirtyBounds(this),t.isMeasured=!0,t.invalidateBounds();let e=this.parent;e&&this.get("position")!="absolute"&&(e.get("width")==null||e.get("height")==null||e.get("layout"))&&e.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()}}markDirtyAccessibility(){this._root._invalidateAccessibility(this)}markDirtyLayer(){this._display.markDirtyLayer(!0)}markDirty(){super.markDirty(),this.markDirtyLayer()}_updateBounds(){let t=this._adjustedLocalBounds,e;if(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden")?(e={left:0,right:0,top:0,bottom:0},this._localBounds=e,this._adjustedLocalBounds=e):(this._getBounds(),this._fixMinBounds(this._localBounds),this.updatePivotPoint(),this._adjustedLocalBounds=this._display.getAdjustedBounds(this._localBounds),e=this._adjustedLocalBounds),!t||t.left!==e.left||t.top!==e.top||t.right!==e.right||t.bottom!==e.bottom){let i="boundschanged";this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this}),this.parent&&(this.parent.markDirty(),this.parent.markDirtyBounds()),this.getPrivate("showingTooltip")&&this.showTooltip()}}_fixMinBounds(t){let e=this.get("minWidth",this.getPrivate("minWidth")),i=this.get("minHeight",this.getPrivate("minHeight"));w(e)&&t.right-t.left<e&&(t.right=t.left+e),w(i)&&t.bottom-t.top<i&&(t.bottom=t.top+i);let a=this.getPrivate("width"),s=this.getPrivate("height");w(a)&&(a>0?t.right=t.left+a:t.left=t.right+a),w(s)&&(s>0?t.bottom=t.top+s:t.top=t.bottom+s)}_removeParent(t){t&&(t.children.removeValue(this),X(t._percentageSizeChildren,this),X(t._percentagePositionChildren,this))}_clearDirty(){super._clearDirty(),this._sizeDirty=!1}hover(){this.isDisposed()||(this.showTooltip(),this._handleOver())}unhover(){this.isDisposed()||(this.hideTooltip(),this._handleOut())}showTooltip(t){if(!this.isDisposed()){let e=this.getTooltip(),i=this.get("tooltipText"),a=this.get("tooltipHTML");if((i||a)&&e){let s=this.get("tooltipPosition"),r=this.getPrivate("tooltipTarget",this);if(s=="pointer"&&!t&&(t=this.getPrivate("lastTooltipCoords")),(s=="fixed"||!t)&&(this._display._setMatrix(),t=this.toGlobal(r._getTooltipPoint())),s=="pointer"){let l=this.getPrivate("lastTooltipCoords");if(l&&l.x==t.x&&l.y==t.y)return;this.setPrivate("lastTooltipCoords",t)}e.set("pointTo",t),e.set("tooltipTarget",r),e.get("x")||e.set("x",t.x),e.get("y")||e.set("y",t.y),i&&e.label.set("text",i),a&&e.label.set("html",a);let o=this.dataItem;if(o&&e.label._setDataItem(o),this.get("showTooltipOn")=="always"&&(t.x<0||t.x>this._root.width()||t.y<0||t.y>this._root.height())){this.hideTooltip();return}e.label.text.markDirtyText();let h=e.show();return this.setPrivateRaw("showingTooltip",!0),h}}}hideTooltip(){let t=this.getTooltip();if(t&&(this.removePrivate("lastTooltipCoords"),t.get("tooltipTarget")==this.getPrivate("tooltipTarget",this)||this.get("tooltip")==t)){let e=t.get("keepTargetHover")&&t.get("stateAnimationDuration",0)==0?400:void 0,i=t.hide(e);return this.setPrivateRaw("showingTooltip",!1),i}}_getTooltipPoint(){let t=this._localBounds;if(t){let e=0,i=0;return this.get("isMeasured")?(e=t.left+q(this.get("tooltipX",0),t.right-t.left),i=t.top+q(this.get("tooltipY",0),t.bottom-t.top)):(e=q(this.get("tooltipX",0),this.width()),i=q(this.get("tooltipY",0),this.height())),{x:e,y:i}}return{x:0,y:0}}getTooltip(){let t=this.get("tooltip");if(t)return t;{let e=this.parent;if(e)return e.getTooltip()}}_updatePosition(){let t=this.parent,e=this.get("dx",0),i=this.get("dy",0),a=this.get("x"),s=this.getPrivate("x"),r=0,o=0,h=this.get("position");a instanceof A&&(t?a=t.innerWidth()*a.value+t.get("paddingLeft",0):a=0),w(a)?r=a+e:s!=null?r=s:t&&h=="relative"&&(r=t.get("paddingLeft",0)+e);let l=this.get("y"),d=this.getPrivate("y");l instanceof A&&(t?l=t.innerHeight()*l.value+t.get("paddingTop",0):l=0),w(l)?o=l+i:d!=null?o=d:t&&h=="relative"&&(o=t.get("paddingTop",0)+i);let p=this._display;if(p.x!=r||p.y!=o){p.invalidateBounds(),p.x=r,p.y=o;let u="positionchanged";this.events.isEnabled(u)&&this.events.dispatch(u,{type:u,target:this})}this.getPrivate("showingTooltip")&&this.showTooltip()}x(){let t=this.get("x"),e=this.getPrivate("x"),i=this.parent;return i?t instanceof A?q(t,i.innerWidth())+i.get("paddingLeft",0):w(t)?t:e??i.get("paddingLeft",this._display.x):this._display.x}y(){let t=this.getPrivate("y");if(t!=null)return t;let e=this.get("y"),i=this.parent;return i?e instanceof A?q(e,i.innerHeight())+i.get("paddingTop",0):w(e)?e:t??i.get("paddingTop",this._display.y):this._display.y}_dispose(){super._dispose(),this._display.dispose(),this._removeTemplateField(),this._removeParent(this.parent),this._root._removeFocusElement(this);let t=this.get("tooltip");t&&t.dispose(),this.markDirty()}adjustedLocalBounds(){return this._fixMinBounds(this._adjustedLocalBounds),this._adjustedLocalBounds}localBounds(){return this._localBounds}bounds(){let t=this._adjustedLocalBounds,e=this.x(),i=this.y();return{left:t.left+e,right:t.right+e,top:t.top+i,bottom:t.bottom+i}}globalBounds(){let t=this.localBounds(),e=this.toGlobal({x:t.left,y:t.top}),i=this.toGlobal({x:t.right,y:t.top}),a=this.toGlobal({x:t.right,y:t.bottom}),s=this.toGlobal({x:t.left,y:t.bottom});return{left:Math.min(e.x,i.x,a.x,s.x),top:Math.min(e.y,i.y,a.y,s.y),right:Math.max(e.x,i.x,a.x,s.x),bottom:Math.max(e.y,i.y,a.y,s.y)}}_onShow(t){}_onHide(t){}appear(t,e){return Y(this,void 0,void 0,function*(){return yield this.hide(0),e?new Promise((i,a)=>{this.setTimeout(()=>{i(this.show(t))},e)}):this.show(t)})}show(t){return Y(this,void 0,void 0,function*(){if(!this._isShowing){this._isHidden=!1,this._isShowing=!0,this._isHiding=!1,this.states.lookup("default").get("visible")&&this._setC("visible",!0),this._onShow(t);let e=this.states.applyAnimate("default",t);yield Ze(e),this._isShowing=!1}})}hide(t){return Y(this,void 0,void 0,function*(){if(!this._isHiding&&!this._isHidden){this._isHiding=!0,this._isShowing=!1;let e=this.states.lookup("hidden");e||(e=this.states._createC("hidden",{opacity:0,visible:!1})),this._isHidden=!0,this._onHide(t);let i=this.states.applyAnimate("hidden",t);yield Ze(i),this._isHiding=!1}})}isHidden(){return this._isHidden}isShowing(){return this._isShowing}isHiding(){return this._isHiding}isHover(){return this._display.hovering()}isFocus(){return this._root.focused(this)}isDragging(){return this._isDragging}isVisible(){return!!(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden"))}isVisibleDeep(){return this._parent?this._parent.isVisibleDeep()&&this.isVisible():this.isVisible()}compositeOpacity(){let t=this.get("opacity",1);return this._parent?this._parent.compositeOpacity()*t:t}compositeScale(){let t=this.get("scale",1);return this._parent?this._parent.compositeScale()*t:t}compositeRotation(){let t=this.get("rotation",0);return this._parent?this._parent.compositeRotation()+t:t}width(){let t=this.get("width"),e=this.get("maxWidth",this.getPrivate("maxWidth")),i=this.get("minWidth",this.getPrivate("minWidth")),a=this.getPrivate("width"),s=0;if(w(a))s=a;else if(t==null)this._adjustedLocalBounds&&(s=this._adjustedLocalBounds.right-this._adjustedLocalBounds.left);else if(t instanceof A){let r=this.parent;r?s=r.innerWidth()*t.value:s=this._root.width()*t.value}else w(t)&&(s=t);return w(i)&&(s=Math.max(i,s)),w(e)&&(s=Math.min(e,s)),s}maxWidth(){let t=this.get("maxWidth",this.getPrivate("maxWidth"));if(w(t))return t;{let i=this.get("width");if(w(i))return i}let e=this.parent;return e?e.innerWidth():this._root.width()}maxHeight(){let t=this.get("maxHeight",this.getPrivate("maxHeight"));if(w(t))return t;{let i=this.get("height");if(w(i))return i}let e=this.parent;return e?e.innerHeight():this._root.height()}height(){let t=this.get("height"),e=this.get("maxHeight",this.getPrivate("maxHeight")),i=this.get("minHeight",this.getPrivate("minHeight")),a=this.getPrivate("height"),s=0;if(w(a))s=a;else if(t==null)this._adjustedLocalBounds&&(s=this._adjustedLocalBounds.bottom-this._adjustedLocalBounds.top);else if(t instanceof A){let r=this.parent;r?s=r.innerHeight()*t.value:s=this._root.height()*t.value}else w(t)&&(s=t);return w(i)&&(s=Math.max(i,s)),w(e)&&(s=Math.min(e,s)),s}_findStaticTemplate(t){return this._templateField&&t(this._templateField)?this._templateField:super._findStaticTemplate(t)}_walkParents(t){(this._parent||this._virtualParent)&&this._walkParent(t)}_walkParent(t){this._parent?this._parent._walkParent(t):this._virtualParent&&this._virtualParent._walkParent(t),t(this)}set virtualParent(t){this._virtualParent!==t&&(this._virtualParent=t,this._applyThemes())}get parent(){return this._parent}_setParent(t,e=!1){let i=this._parent;t!==i&&(this.markDirtyBounds(),t.markDirty(),this._parent=t,e&&(this._removeParent(i),t&&(this._addPercentageSizeChildren(),this._addPercentagePositionChildren())),this.markDirtyPosition(),this._applyThemes())}getNumberFormatter(){return this.get("numberFormatter",this._root.numberFormatter)}getDateFormatter(){return this.get("dateFormatter",this._root.dateFormatter)}getDurationFormatter(){return this.get("durationFormatter",this._root.durationFormatter)}toGlobal(t){return this._display.toGlobal(t)}toLocal(t){return this._display.toLocal(t)}_getDownPoint(){let t=this._getDownPointId();if(t)return this._downPoints[t]}_getDownPointId(){if(this._downPoints)return Di(this._downPoints,(t,e)=>t>e?1:t<e?-1:0)[0]}toFront(){let t=this.parent;t&&t.children.moveValue(this,t.children.length-1)}toBack(){let t=this.parent;t&&t.children.moveValue(this,0)}};U.className="Sprite";U.classNames=V.classNames.concat([U.className]);var vt=class extends V{constructor(){super(...arguments),this._display=this._root._renderer.makeGraphics(),this._backgroundDisplay=this._root._renderer.makeGraphics(),this._clear=!1}_afterNew(){super._afterNewApplyThemes()}get pattern(){return this._pattern}_draw(){}_beforeChanged(){super._beforeChanged(),(this.isDirty("repetition")||this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation")||this.isDirty("strokeWidth")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("colorOpacity")||this.isDirty("fillOpacity"))&&(this._clear=!0),this._checkDirtyFill()}_checkDirtyFill(){(this.isDirty("color")||this.isDirty("fill"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let t=this.get("repetition",""),e=this.get("width",100),i=this.get("height",100),a=this.get("fill"),s=this.get("fillOpacity",1),r=this._backgroundDisplay,o=this._display;o.clear(),r.clear(),a&&s>0&&(r.beginFill(a,s),r.drawRect(0,0,e,i),r.endFill()),o.angle=this.get("rotation",0),this._draw(),this._pattern=this._root._renderer.createPattern(o,r,t,e,i)}this._clear=!1}};vt.className="Pattern";vt.classNames=V.classNames.concat([vt.className]);var xt=class extends vt{_beforeChanged(){super._beforeChanged(),this._clear=!0,this.isDirty("src")&&this._load();let t=this.get("canvas");t&&(this.set("width",t.width),this.set("height",t.height))}_draw(){super._draw();let t=this.get("colorOpacity");t!==void 0&&(this._display.alpha=Math.max(0,t));let e=this._image;if(e){let a=this.get("width",100),s=this.get("height",100),r=this.get("fit","image"),o=0,h=0;r=="pattern"?(o=a,h=s,this.markDirty()):(o=e.width,h=e.height,r=="image"&&(this.set("width",o),this.set("height",h)));let l=this.get("centered",!0),d=0,p=0;l&&(d=a/2-o/2,p=s/2-h/2),this._display.image(e,o,h,d,p)}let i=this.get("canvas");i&&this._display.image(i,i.width,i.height,0,0)}_load(){let t=this.get("src");if(t){let e=new Image;e.src=t,e.decode().then(()=>{this._image=e,this._draw(),this.events.isEnabled("loaded")&&this.events.dispatch("loaded",{type:"loaded",target:this})}).catch(i=>{})}}};xt.className="PicturePattern";xt.classNames=vt.classNames.concat([xt.className]);var Pe;(function(n){n.ADD="lighter",n.COLOR="color",n.COLOR_BURN="color-burn",n.COLOR_DODGE="color-dodge",n.DARKEN="darken",n.DIFFERENCE="difference",n.DST_OVER="destination-over",n.EXCLUSION="exclusion",n.HARD_LIGHT="hard-light",n.HUE="hue",n.LIGHTEN="lighten",n.LUMINOSITY="luminosity",n.MULTIPLY="multiply",n.NORMAL="source-over",n.OVERLAY="overlay",n.SATURATION="saturation",n.SCREEN="screen",n.SOFT_LIGHT="soft-light",n.SRC_ATOP="source-atop",n.XOR="xor"})(Pe||(Pe={}));var Hr=["fill","fillOpacity","stroke","strokeWidth","strokeOpacity","fillPattern","strokePattern","fillGradient","strokeGradient","strokeDasharray","strokeDashoffset","shadowBlur","shadowColor","shadowOpacity","shadowOffsetX","shadowOffsetY","blur","sepia","invert","brightness","hue","contrast","saturate"],tt=class extends U{constructor(){super(...arguments),this._display=this._root._renderer.makeGraphics(),this._clear=!1}_beforeChanged(){if(super._beforeChanged(),(this.isDirty("draw")||this.isDirty("svgPath"))&&this.markDirtyBounds(),(this.isDirty("fill")||this.isDirty("stroke")||this.isDirty("visible")||this.isDirty("forceHidden")||this.isDirty("scale")||this.isDirty("fillGradient")||this.isDirty("strokeGradient")||this.isDirty("fillPattern")||this.isDirty("strokePattern")||this.isDirty("fillOpacity")||this.isDirty("strokeOpacity")||this.isDirty("strokeWidth")||this.isDirty("draw")||this.isDirty("blendMode")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("svgPath")||this.isDirty("lineJoin")||this.isDirty("lineCap")||this.isDirty("shadowColor")||this.isDirty("shadowBlur")||this.isDirty("shadowOffsetX")||this.isDirty("shadowOffsetY")||this.isDirty("shadowOpacity"))&&(this._clear=!0),this._display.crisp=this.get("crisp",!1),this.isDirty("fillGradient")){let t=this.get("fillGradient");if(t){this._display.isMeasured=!0;let e=t.get("target");e&&(this._disposers.push(e.events.on("boundschanged",()=>{this._markDirtyKey("fill")})),this._disposers.push(e.events.on("positionchanged",()=>{this._markDirtyKey("fill")})))}}if(this.isDirty("strokeGradient")){let t=this.get("strokeGradient");if(t){this._display.isMeasured=!0;let e=t.get("target");e&&(this._disposers.push(e.events.on("boundschanged",()=>{this._markDirtyKey("stroke")})),this._disposers.push(e.events.on("positionchanged",()=>{this._markDirtyKey("stroke")})))}}}_changed(){if(super._changed(),this._clear){this.markDirtyBounds(),this.markDirtyLayer(),this._display.clear();let t=this.get("strokeDasharray");w(t)&&(t<.5?t=[0]:t=[t]),this._display.setLineDash(t);let e=this.get("strokeDashoffset");e&&this._display.setLineDashOffset(e);let i=this.get("blendMode",Pe.NORMAL);this._display.blendMode=i;let a=this.get("draw");a&&typeof a=="function"&&a(this._display,this);let s=this.get("svgPath");s!=null&&this._display.svgPath(s)}}_afterChanged(){if(super._afterChanged(),this._clear){let t=this.get("fill"),e=this.get("fillGradient"),i=this.get("fillPattern"),a=this.get("fillOpacity"),s=this.get("stroke"),r=this.get("strokeGradient"),o=this.get("strokePattern"),h=this.get("shadowColor"),l=this.get("shadowBlur"),d=this.get("shadowOffsetX"),p=this.get("shadowOffsetY"),u=this.get("shadowOpacity");if(h&&(l||d||p)&&this._display.shadow(h,l,d,p,u),t&&!e&&(this._display.beginFill(t,a),this._display.endFill()),e){if(t){let m=e.get("stops",[]);m.length&&_(m,g=>{(!g.color||g.colorInherited)&&t&&(g.color=t,g.colorInherited=!0),(g.opacity==null||g.opacityInherited)&&(g.opacity=a,g.opacityInherited=!0)})}let f=e.getFill(this);f&&(this._display.beginFill(f,a),this._display.endFill())}if(i){let f=i.pattern;f&&(this._display.beginFill(f,a),this._display.endFill(),i instanceof xt&&i.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}if(s||r||o){let f=this.get("strokeOpacity"),m=this.get("strokeWidth",1);this.get("nonScalingStroke")&&(m=m/this.get("scale",1)),this.get("crisp")&&(m/=this._root._renderer.resolution);let g=this.get("lineJoin"),x=this.get("lineCap");if(s&&!r&&(this._display.lineStyle(m,s,f,g,x),this._display.endStroke()),r){let v=r.get("stops",[]);v.length&&_(v,D=>{(!D.color||D.colorInherited)&&s&&(D.color=s,D.colorInherited=!0),(D.opacity==null||D.opacityInherited)&&(D.opacity=f,D.opacityInherited=!0)});let c=r.getFill(this);c&&(this._display.lineStyle(m,c,f,g,x),this._display.endStroke())}if(o){let v=o.pattern;v&&(this._display.lineStyle(m,v,f,g,x),this._display.endStroke(),o instanceof xt&&o.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}}this.getPrivate("showingTooltip")&&this.showTooltip()}this._clear=!1}};tt.className="Graphics";tt.classNames=U.classNames.concat([tt.className]);var ct=class extends tt{_afterNew(){super._afterNew(),this._display.isMeasured=!0,this.setPrivateRaw("trustBounds",!0)}_beforeChanged(){super._beforeChanged(),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("containStroke"))&&(this._clear=!0)}_changed(){super._changed(),this._clear&&!this.get("draw")&&this._draw()}_draw(){let t=this.width(),e=this.height(),i=0,a=0,s=t/Math.abs(t),r=e/Math.abs(e);if(this.get("containStroke",!1)){let o=this.get("strokeWidth",0);t-=o*s,e-=o*r,i+=o/2*s,a+=o/2*r}this._display.drawRect(i,a,t,e)}_updateSize(){this.markDirty(),this._clear=!0}};ct.className="Rectangle";ct.classNames=tt.classNames.concat([ct.className]);function Z(n,t){n.get("reverseChildren",!1)?n.children.eachReverse(t):n.children.each(t)}var G=class extends V{};G.className="Layout";G.classNames=V.classNames.concat([G.className]);var bt=class extends G{updateContainer(t){let e=t.get("paddingLeft",0),i=t.innerWidth(),a=0;Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("width");if(o instanceof A){a+=o.value;let h=i*o.value,l=r.get("minWidth",r.getPrivate("minWidth",-1/0));l>h&&(i-=l,a-=o.value);let d=r.get("maxWidth",r.getPrivate("maxWidth",1/0));h>d&&(i-=d,a-=o.value)}else w(o)||(o=r.width()),i-=o+r.get("marginLeft",0)+r.get("marginRight",0)}}),(i<=0||i==1/0)&&(i=.1),Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("width");if(o instanceof A){let h=i*o.value/a-r.get("marginLeft",0)-r.get("marginRight",0),l=r.get("minWidth",r.getPrivate("minWidth",-1/0)),d=r.get("maxWidth",r.getPrivate("maxWidth",1/0));h=Math.min(Math.max(l,h),d),r.setPrivate("width",h)}else r._prevSettings.width instanceof A&&r.setPrivate("width",void 0)}});let s=e;Z(t,r=>{if(r.get("position")=="relative")if(r.isVisible()){let o=r.adjustedLocalBounds(),h=r.get("marginLeft",0),l=r.get("marginRight",0),d=r.get("maxWidth"),p=o.left,u=o.right;d&&u-p>d&&(u=p+d);let f=s+h-p;r.setPrivate("x",f),s=f+u+l}else r.setPrivate("x",void 0)})}};bt.className="HorizontalLayout";bt.classNames=G.classNames.concat([bt.className]);var Dt=class extends G{updateContainer(t){let e=t.get("paddingTop",0),i=t.innerHeight(),a=0;Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("height");if(o instanceof A){a+=o.value;let h=i*o.value,l=r.get("minHeight",r.getPrivate("minHeight",-1/0));l>h&&(i-=l,a-=o.value);let d=r.get("maxHeight",r.getPrivate("maxHeight",1/0));h>d&&(i-=d,a-=o.value)}else w(o)||(o=r.height()),i-=o+r.get("marginTop",0)+r.get("marginBottom",0)}}),(i<=0||i==1/0)&&(i=.1),Z(t,r=>{if(r.isVisible()&&r.get("position")=="relative"){let o=r.get("height");if(o instanceof A){let h=i*o.value/a-r.get("marginTop",0)-r.get("marginBottom",0),l=r.get("minHeight",r.getPrivate("minHeight",-1/0)),d=r.get("maxHeight",r.getPrivate("maxHeight",1/0));h=Math.min(Math.max(l,h),d),r.setPrivate("height",h)}else r._prevSettings.height instanceof A&&r.setPrivate("height",void 0)}});let s=e;Z(t,r=>{if(r.get("position")=="relative")if(r.isVisible()){let o=r.adjustedLocalBounds(),h=r.get("marginTop",0),l=o.top,d=o.bottom,p=r.get("maxHeight");p&&d-l>p&&(d=l+p);let u=r.get("marginBottom",0),f=s+h-l;r.setPrivate("y",f),s=f+d+u}else r.setPrivate("y",void 0)})}};Dt.className="VerticalLayout";Dt.classNames=G.classNames.concat([Dt.className]);var st=class extends G{_afterNew(){this._setRawDefault("maxColumns",Number.MAX_VALUE),super._afterNew()}updateContainer(t){let e=t.get("paddingLeft",0),i=t.get("paddingRight",0),a=t.get("paddingTop",0),s=t.maxWidth()-e-i,r=s,o=1;Z(t,m=>{if(m.get("visible")&&m.getPrivate("visible")&&!m.get("forceHidden")&&m.get("position")!="absolute"){let g=m.width();g<r&&(r=g),g>o&&(o=g)}}),r=_e(r,1,s),o=_e(o,1,s);let h=1;this.get("fixedWidthGrid")?h=s/o:h=s/r,h=Math.max(1,Math.floor(h)),h=Math.min(this.get("maxColumns",Number.MAX_VALUE),h);let l=this.getColumnWidths(t,h,o,s),d=a,p=0,u=0;h=l.length;let f=e;Z(t,m=>{if(m.get("position")=="relative"&&m.isVisible()){let g=m.get("marginTop",0),x=m.get("marginBottom",0),v=m.adjustedLocalBounds(),c=m.get("marginLeft",0),D=m.get("marginRight",0),C=f+c-v.left,B=d+g-v.top;m.setPrivate("x",C),m.setPrivate("y",B),f+=l[p]+D,u=Math.max(u,m.height()+g+x),p++,p>=h&&(p=0,f=e,d+=u,u=0)}})}getColumnWidths(t,e,i,a){let s=0,r=[],o=0;return Z(t,h=>{let l=h.adjustedLocalBounds();h.get("position")!="absolute"&&h.isVisible()&&(this.get("fixedWidthGrid")?r[o]=i:r[o]=Math.max(r[o]|0,l.right-l.left+h.get("marginLeft",0)+h.get("marginRight",0)),o<t.children.length-1&&(o++,o==e&&(o=0)))}),_(r,h=>{s+=h}),s>a?e>2?(e-=1,this.getColumnWidths(t,e,i,a)):[a]:r}};st.className="GridLayout";st.classNames=G.classNames.concat([st.className]);var Wt=class{static escape(t){return t.replace(/\[\[/g,this.prefix+"1").replace(/([^\/\]]{1})\]\]/g,"$1"+this.prefix+"2").replace(/\]\]/g,this.prefix+"2").replace(/\{\{/g,this.prefix+"3").replace(/\}\}/g,this.prefix+"4").replace(/\'\'/g,this.prefix+"5")}static unescape(t){return t.replace(new RegExp(this.prefix+"1","g"),"[[").replace(new RegExp(this.prefix+"2","g"),"]]").replace(new RegExp(this.prefix+"3","g"),"{{").replace(new RegExp(this.prefix+"4","g"),"}}").replace(new RegExp(this.prefix+"5","g"),"''")}static cleanUp(t){return t.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")}static chunk(t,e=!1,i=!1){let a=[];t=this.escape(t);let s=e?t.split("'"):[t];for(let r=0;r<s.length;r++){let o=s[r];if(o!=="")if(r%2===0){o=o.replace(/\]\[/g,"]"+ze+"["),o=o.replace(/\[\]/g,"[ ]");let h=o.split(/[\[\]]+/);for(let l=0;l<h.length;l++){let d=this.cleanUp(this.unescape(h[l]));d!==ze&&d!==""&&(l%2===0?a.push({type:"value",text:d}):a.push({type:i?"value":"format",text:"["+d+"]"}))}}else{let h=o.split(/[\[\]]+/);for(let l=0;l<h.length;l++){let d=this.cleanUp(this.unescape(h[l]));d!==""&&(l%2===0?a.push({type:"text",text:d}):this.isImage(d)?a.push({type:"image",text:"["+d+"]"}):a.push({type:"format",text:"["+d+"]"}))}}}return a}static isImage(t){return!!t.match(/img[ ]?:/)}static getTextStyle(t){let e={};if(t==""||t=="[ ]")return{};let i=t.match(/('[^']*')|("[^"]*")/gi);if(i)for(let s=0;s<i.length;s++)t=t.replace(i[s],i[s].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));let a=t.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w\-]+)|(\/)/gi);if(!a)return{};for(let s=0;s<a.length;s++)if(a[s].match(/^(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)$/i))e.fontWeight=a[s];else if(a[s].match(/^(underline|line-through)$/i))e.textDecoration=a[s];else if(a[s]!="/")if(!a[s].match(/:/))e.fill=P.fromString(a[s]);else{let r=a[s].replace("+"," ").split(/:[ ]*/);e[r[0]]=r[1]}return e}};Wt.prefix="__amcharts__";function Vt(n,t){if(t!=null){t=""+t,t=Wt.escape(t);let e=t.match(/\{([^}]+)\}/g),i;if(e)for(i=0;i<e.length;i++){let a=e[i].replace(/\{([^}]+)\}/,"$1"),s=oi(n,a,"");s==null&&(s=""),t=t.split(e[i]).join(s)}t=Wt.unescape(t)}else t="";return t}function oi(n,t,e){let i,a=n.dataItem,s=[],r=/(format[a-zA-Z]*)\((.*)\)|([^.]+)/g,o;for(;o=r.exec(t),o!==null;)if(o[3]){s.push({prop:o[3]});let h=n.getDateFormatter().get("dateFields",[]),l=n.getNumberFormatter().get("numericFields",[]),d=n.getDurationFormatter().get("durationFields",[]);h.indexOf(o[3])!==-1?s.push({method:"formatDate",params:[]}):l.indexOf(o[3])!==-1?s.push({method:"formatNumber",params:[]}):d.indexOf(o[3])!==-1&&s.push({method:"formatDuration",params:[]})}else{let h=[];if(ki(o[2])!=""){let l=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,d;for(;d=l.exec(o[2]),d!==null;)h.push(d[1]||d[2]||d[3])}s.push({method:o[1],params:h})}if(a){i=Bt(n,s,a._settings),(i==null||je(i))&&(i=Bt(n,s,a));let h=a.dataContext;i==null&&h&&(i=Bt(n,s,h),i==null&&(i=Bt(n,[{prop:t}],h)),i==null&&h.dataContext&&(i=Bt(n,s,h.dataContext))),i==null&&a.component&&a.component.dataItem!==a&&(i=oi(a.component,t,e))}return i==null&&(i=Bt(n,s,n)),i==null&&n.parent&&(i=oi(n.parent,t,e)),i}function Fs(n,t){let e=n.getPrivate("customData");if(je(e))return e[t]}function Bt(n,t,e,i){let a=e,s=!1;for(let r=0,o=t.length;r<o;r++){let h=t[r];if(h.prop){if(a instanceof U){let l=a.get(h.prop);l==null&&(l=a.getPrivate(h.prop)),l==null&&(l=Fs(a,h.prop)),l==null&&(l=a[h.prop]),a=l}else if(a.get){let l=a.get(h.prop);l==null&&(l=a[h.prop]),a=l}else a=a[h.prop];if(a==null)return}else switch(h.method){case"formatNumber":let l=We(a);l!=null&&(a=n.getNumberFormatter().format(l,i||h.params[0]||void 0),s=!0);break;case"formatDate":let d=yi(a);if(!Ve(d)||_i(d.getTime()))return;d!=null&&(a=n.getDateFormatter().format(d,i||h.params[0]||void 0),s=!0);break;case"formatDuration":let p=We(a);p!=null&&(a=n.getDurationFormatter().format(p,i||h.params[0]||void 0,h.params[1]||void 0),s=!0);break;case"urlEncode":case"encodeURIComponent":a=encodeURIComponent(a);break;default:a[h.method]&&a[h.method].apply(e,h.params);break}}if(!s){let r=[{method:"",params:i}];if(i==null)w(a)?(r[0].method="formatNumber",r[0].params=""):Ve(a)&&(r[0].method="formatDate",r[0].params="");else{let o=Ri(i);o==="number"?r[0].method="formatNumber":o==="date"?r[0].method="formatDate":o==="duration"&&(r[0].method="formatDuration")}r[0].method&&(a=Bt(n,r,a))}return a}var ke=class extends lt{constructor(t){super(),this._disposed=!1,this._container=t,this._events=this.events.onAll(e=>{if(e.type==="clear")_(e.oldValues,i=>{this._onRemoved(i)});else if(e.type==="push")this._onInserted(e.newValue);else if(e.type==="setIndex")this._onRemoved(e.oldValue),this._onInserted(e.newValue,e.index);else if(e.type==="insertIndex")this._onInserted(e.newValue,e.index);else if(e.type==="removeIndex")this._onRemoved(e.oldValue);else if(e.type==="moveIndex")this._onRemoved(e.value),this._onInserted(e.value,e.newIndex);else throw new Error("Unknown IListEvent type")})}_onInserted(t,e){t._setParent(this._container,!0);let i=this._container._childrenDisplay;e===void 0?i.addChild(t._display):i.addChildAt(t._display,e)}_onRemoved(t){this._container._childrenDisplay.removeChild(t._display),this._container.markDirtyBounds(),this._container.markDirty()}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._events.dispose(),_(this.values,t=>{t.dispose()}))}};var M=class n extends U{constructor(){super(...arguments),this._display=this._root._renderer.makeContainer(),this._childrenDisplay=this._root._renderer.makeContainer(),this.children=new ke(this),this._percentageSizeChildren=[],this._percentagePositionChildren=[],this._prevWidth=0,this._prevHeight=0,this._contentWidth=0,this._contentHeight=0,this._childrenPrep=!1,this._childrenUpdt=!1}_afterNew(){super._afterNew(),this._display.addChild(this._childrenDisplay)}_setDefaultTagged(t,e,i){let a=this._setDefaultFn(t,i),s=a;return s.set("themeTags",$i(s.get("themeTags",[]),e)),a}_afterChanged(){super._afterChanged(),this._childrenPrep=!1,this._childrenUpdt=!1}_dispose(){ft(this.allChildren(),t=>{t.dispose()}),this.getPrivate("htmlElement")&&this._root._removeHTMLContent(this),super._dispose()}_beforeChanged(){this._childrenPrep||this._prepareChildren(),this._childrenUpdt||this._updateChildren(),super._beforeChanged()}_changed(){if(super._changed(),this.isDirty("interactiveChildren")&&(this._display.interactiveChildren=this.get("interactiveChildren",!1)),this.isDirty("layout")&&(this._prevWidth=0,this._prevHeight=0,this.markDirtyBounds(),this._prevSettings.layout&&this.children.each(t=>{t.removePrivate("x"),t.removePrivate("y")})),(this.isDirty("paddingTop")||this.isDirty("paddingBottom")||this.isDirty("paddingLeft")||this.isDirty("paddingRight"))&&(this.children.each(t=>{t.markDirtyPosition()}),this.markDirtyBounds()),this.isDirty("maskContent")){let t=this._childrenDisplay,e=this._contentMask;this.get("maskContent")?e||(e=ct.new(this._root,{x:-.5,y:-.5,width:this.width()+1,height:this.height()+1}),this._contentMask=e,t.addChildAt(e._display,0),t.mask=e._display):e&&(t.removeChild(e._display),t.mask=null,e.dispose(),this._contentMask=void 0)}}_updateSize(){super._updateSize(),_(this._percentageSizeChildren,t=>{t._updateSize()}),_(this._percentagePositionChildren,t=>{t.markDirtyPosition(),t._updateSize()}),this.updateBackground()}updateBackground(){let t=this.get("background"),e=this._localBounds;if(e&&!this.isHidden()){let i=e.left,a=e.top,s=e.right-i,r=e.bottom-a,o=this.get("maxWidth"),h=this.get("maxHeight");h&&r>h&&(r=h),o&&s>o&&(s=o);let l=this.width(),d=this.height();t&&(t._setCAll({width:s,height:r,x:i,y:a}),this._display.interactive&&(t._display.interactive=!0));let p=this._contentMask;p&&p.setAll({width:l+1,height:d+1});let u=this.get("verticalScrollbar");if(u){u.set("height",d),u.set("x",l-u.width()-u.get("marginRight",0));let f=Math.min(1,d/this._contentHeight),m=Math.max(0,1-f),g=u.get("start",0);g>m&&(g=m,u._setC("start",g)),u._setC("end",g+f);let x=u.get("background");x&&x.setAll({width:u.width(),height:d});let v=!0;this._contentHeight<=d&&(v=!1),u.setPrivate("visible",v)}}}_applyThemes(t=!1){return super._applyThemes(t)?(this.eachChildren(e=>{e._applyThemes(t)}),!0):!1}_applyState(t){super._applyState(t),this.get("setStateOnChildren")&&this.eachChildren(e=>{e.states.apply(t)})}_applyStateAnimated(t,e){super._applyStateAnimated(t,e),this.get("setStateOnChildren")&&this.eachChildren(i=>{i.states.applyAnimate(t,e)})}innerWidth(){return this.width()-this.get("paddingRight",0)-this.get("paddingLeft",0)}innerHeight(){return this.height()-this.get("paddingTop",0)-this.get("paddingBottom",0)}_getBounds(){if(this.get("html")){let t=this._localBounds;t&&(this._contentWidth=t.right-t.left,this._contentHeight=t.bottom-t.top)}else{let t=this.get("width"),e=this.get("height"),i=this.getPrivate("width"),a=this.getPrivate("height"),s={left:0,top:0,right:this.width(),bottom:this.height()},r=this.get("layout"),o=!1,h=!1;if((r instanceof bt||r instanceof st)&&(o=!0),r instanceof Dt&&(h=!0),!((t!=null||i!=null)&&(e!=null||a!=null)&&!this.get("verticalScrollbar"))){let l=Number.MAX_VALUE,d=l,p=-l,u=l,f=-l,m=this.get("paddingLeft",0),g=this.get("paddingTop",0),x=this.get("paddingRight",0),v=this.get("paddingBottom",0);this.children.each(C=>{if(C.get("position")!="absolute"&&C.get("isMeasured")){let B=C.adjustedLocalBounds(),H=C.x(),z=C.y(),N=H+B.left,I=H+B.right,E=z+B.top,L=z+B.bottom;o&&(N-=C.get("marginLeft",0),I+=C.get("marginRight",0)),h&&(E-=C.get("marginTop",0),L+=C.get("marginBottom",0)),N<d&&(d=N),I>p&&(p=I),E<u&&(u=E),L>f&&(f=L)}}),d==l&&(d=0),p==-l&&(p=0),u==l&&(u=0),f==-l&&(f=0),s.left=d-m,s.top=u-g,s.right=p+x,s.bottom=f+v;let c=this.get("minWidth");w(c)&&c>0&&s.right-s.left<c&&(s.right>=c?s.left=s.right-c:s.right=s.left+c);let D=this.get("minHeight");w(D)&&D>0&&s.bottom-s.top<D&&(s.bottom>=D?s.top=s.bottom-D:s.bottom=s.top+D)}this._contentWidth=s.right-s.left,this._contentHeight=s.bottom-s.top,w(t)&&(s.left=0,s.right=t),w(i)&&(s.left=0,s.right=i),w(e)&&(s.top=0,s.bottom=e),w(a)&&(s.top=0,s.bottom=a),this._localBounds=s}}_updateBounds(){let t=this.get("layout");t&&t.updateContainer(this),super._updateBounds(),this.updateBackground()}markDirty(){super.markDirty(),this._root._addDirtyParent(this)}_prepareChildren(){this._childrenPrep=!0;let t=this.innerWidth(),e=this.innerHeight();if(t!=this._prevWidth||e!=this._prevHeight){let i=this.get("layout"),a=!1,s=!1;i&&((i instanceof bt||i instanceof st)&&(a=!0),i instanceof Dt&&(s=!0)),_(this._percentageSizeChildren,r=>{if(!a){let o=r.get("width");o instanceof A&&r.setPrivate("width",o.value*t)}if(!s){let o=r.get("height");o instanceof A&&r.setPrivate("height",o.value*e)}}),_(this._percentagePositionChildren,r=>{r.markDirtyPosition(),r.markDirtyBounds()}),this._prevWidth=t,this._prevHeight=e,this._sizeDirty=!0,this.updateBackground()}}_updateHTMLContent(){let t=this.get("html","");t&&t!==""?this._root._setHTMLContent(this,Vt(this,t)):this._root._removeHTMLContent(this),this._root._positionHTMLElement(this)}scrollToChild(t){let e=this.get("verticalScrollbar");if(e){let i=t.y(),a=this.innerHeight(),s=t.height(),r=this._contentHeight,o=Math.max(0,1-this.height()/r);if(i+s*.7+this._childrenDisplay.y>a||i-s*.3+this._childrenDisplay.y<0){let h=Math.max(0,Math.min(o,(i-s/2)/r));e.animate({key:"start",to:h,duration:e.get("animationDuration",0),easing:e.get("animationEasing")})}}}_updateChildren(){if(this._childrenUpdt=!0,this.isDirty("html")&&this._updateHTMLContent(),this.isDirty("verticalScrollbar")){let t=this.get("verticalScrollbar");if(t)t._setParent(this),t.startGrip.setPrivate("visible",!1),t.endGrip.setPrivate("visible",!1),this.set("maskContent",!0),this.set("paddingRight",t.width()+t.get("marginRight",0)+t.get("marginLeft",0)),this._setDefaultTagged("background",["background"],()=>ct.new(this._root,{fillOpacity:0,fill:this._root.interfaceColors.get("alternativeBackground")})),this._vsbd0=this.events.on("wheel",e=>{let i=e.originalEvent;if(Pi(i,this))i.preventDefault();else return;let a=i.deltaY/5e3,s=t.get("start",0),r=t.get("end",1);s+a<=0&&(a=-s),r+a>=1&&(a=1-r),s+a>=0&&r+a<=1&&(t._setC("start",s+a),t._setC("end",r+a))}),this._disposers.push(this._vsbd0),this._vsbd1=t.events.on("rangechanged",()=>{let e=this._contentHeight,i=this._childrenDisplay,a=this._contentMask;i.y=-t.get("start",0)*e,i.markDirtyLayer(),a&&(a._display.y=-i.y,i.mask=a._display)}),this._disposers.push(this._vsbd1),this._display.addChild(t._display);else{let e=this._prevSettings.verticalScrollbar;if(e){this._display.removeChild(e._display),this._vsbd0&&this._vsbd0.dispose(),this._vsbd1&&this._vsbd1.dispose();let i=this._childrenDisplay;i.y=0,this.setPrivate("height",void 0),this.set("maskContent",!1),this.set("paddingRight",void 0)}}}if(this.isDirty("background")){let t=this._prevSettings.background;t&&this._display.removeChild(t._display);let e=this.get("background");e instanceof U&&(e._setC("isMeasured",!1),e._setParent(this),e.get("templateField")&&e._processTemplateField(),this._display.addChildAt(e._display,0),e instanceof ct&&!e.isUserSetting("crisp")&&e._setC("crisp",!0))}if(this.isDirty("mask")){let t=this.get("mask"),e=this._prevSettings.mask;if(e&&(this._display.removeChild(e._display),e!=t&&e.dispose()),t){let i=t.parent;i&&i.children.removeValue(t),t._setParent(this),this._display.addChildAt(t._display,0),this._childrenDisplay.mask=t._display}else this._childrenDisplay.mask=this._contentMask?this._contentMask._display:null}}_processTemplateField(){super._processTemplateField(),this.children.each(t=>{t._processTemplateField()})}walkChildren(t){this.children.each((e,i)=>{e instanceof n&&e.walkChildren(t),t(e,i)})}eachChildren(t){let e=this.get("background");e&&t(e);let i=this.get("verticalScrollbar");i&&t(i);let a=this.get("mask");a&&t(a),this.children.values.forEach(s=>{t(s)})}allChildren(){let t=[];return this.eachChildren(e=>{t.push(e)}),t}_setDataItem(t){let e=t!==this._dataItem;super._setDataItem(t);let i=this.get("background");i&&i.get("templateField")&&i._processTemplateField();let a=this.get("html","");a&&a!==""&&e&&this._root._setHTMLContent(this,Vt(this,a))}contentWidth(){return this._contentWidth}contentHeight(){return this._contentHeight}};M.className="Container";M.classNames=U.classNames.concat([M.className]);var rt=class extends U{constructor(){super(...arguments),this.textStyle=this._root._renderer.makeTextStyle(),this._display=this._root._renderer.makeText("",this.textStyle),this._textStyles=["textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","maxChars"]}_updateBounds(){if(this.get("text")){super._updateBounds();let t=this.get("fillGradient");t&&(this._display.style.fill=t.getFill(this))}else{let t={left:0,right:0,top:0,bottom:0};this._adjustedLocalBounds=t}}_changed(){super._changed(),this._display.clear();let t=this.textStyle;if(this.isDirty("opacity")){let e=this.get("opacity",1);this._display.alpha=e}if((this.isDirty("text")||this.isDirty("populateText"))&&(this._display.text=this._getText(),this.markDirtyBounds(),this.get("role")=="tooltip"&&this._root.updateTooltip(this)),this.isPrivateDirty("tooltipElement")&&this.getPrivate("tooltipElement")&&this._disposers.push(new gt(()=>{this._root._removeTooltipElement(this)})),this.isDirty("width")&&(t.wordWrapWidth=this.width(),this.markDirtyBounds()),this.isDirty("oversizedBehavior")&&(t.oversizedBehavior=this.get("oversizedBehavior","none"),this._display.invalidateVisibility(),this.markDirtyBounds()),this.isDirty("breakWords")&&(t.breakWords=this.get("breakWords",!1),this.markDirtyBounds()),this.isDirty("ellipsis")&&(t.ellipsis=this.get("ellipsis"),this.markDirtyBounds()),this.isDirty("ignoreFormatting")&&(t.ignoreFormatting=this.get("ignoreFormatting",!1),this.markDirtyBounds()),this.isDirty("minScale")&&(t.minScale=this.get("minScale",0),this.markDirtyBounds()),this.isDirty("fill")||this.isDirty("fillGradient")){let e=this.get("fill"),i=this.get("fillGradient"),a=this.get("fillOpacity");if(i){if(e){let s=i.get("stops",[]);s.length&&_(s,r=>{(!r.color||r.colorInherited)&&e&&(r.color=e,r.colorInherited=!0),(r.opacity==null||r.opacityInherited)&&(r.opacity=a,r.opacityInherited=!0)})}t.fill=i.getFill(this)}else e&&(t.fill=e)}if(this.isDirty("fillOpacity")){let e=this.get("fillOpacity",1);e&&(t.fillOpacity=e)}(this.isDirty("maxWidth")||this.isPrivateDirty("maxWidth"))&&(t.maxWidth=this.get("maxWidth",this.getPrivate("maxWidth")),this.markDirtyBounds()),(this.isDirty("maxHeight")||this.isPrivateDirty("maxHeight"))&&(t.maxHeight=this.get("maxHeight",this.getPrivate("maxHeight")),this.markDirtyBounds()),_(this._textStyles,e=>{this._dirty[e]&&(t[e]=this.get(e),this.markDirtyBounds())}),t.fontSize=this.get("fontSize"),t.fontFamily=this.get("fontFamily"),this._display.style=t,this.isDirty("role")&&this.get("role")=="tooltip"&&this._root.updateTooltip(this)}_getText(){let t=this.get("text","");return this.get("maxChars")&&(t=Ci(t,this.get("maxChars",1e8),this.get("breakWords"),this.get("ellipsis"))),this.get("populateText")?Vt(this,t):t}_getAccessibleText(){let t=this.get("ariaLabel");return t!==void 0?this.get("populateText")?Vt(this,t):t:this._getText()}markDirtyText(){this._display.text=this._getText(),this.get("role")=="tooltip"&&this._root.updateTooltip(this),this.markDirtyBounds(),this.markDirty()}_setDataItem(t){super._setDataItem(t),this.get("populateText")&&this.markDirtyText()}getNumberFormatter(){return this.parent?this.parent.getNumberFormatter():super.getNumberFormatter()}getDateFormatter(){return this.parent?this.parent.getDateFormatter():super.getDateFormatter()}getDurationFormatter(){return this.parent?this.parent.getDurationFormatter():super.getDurationFormatter()}};rt.className="Text";rt.classNames=U.classNames.concat([rt.className]);var K=class extends M{constructor(){super(...arguments),this._textKeys=["text","fill","fillGradient","fillOpacity","textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","populateText","role","ignoreFormatting","maxChars","ariaLabel"]}get text(){return this._text}_afterNew(){super._afterNew(),this._makeText(),_(this._textKeys,t=>{let e=this._getTextKeyValue(t);e!=null&&this._text.set(t,e)}),this.get("html","")!==""&&this._text.set("text",""),this.onPrivate("maxWidth",()=>{this._setMaxDimentions()}),this.onPrivate("maxHeight",()=>{this._setMaxDimentions()})}_makeText(){this._text=this.children.push(rt.new(this._root,{}))}_getTextKeyValue(t){if((t==="fontFamily"||t==="fontSize"||t==="fontWeight")&&!this.isUserSetting(t)){let e=this._root.settings[t];if(e!=null)return e}return this.get(t)}_updateChildren(){super._updateChildren();let t=this._text;if(_(this._textKeys,i=>{this._text.set(i,this._getTextKeyValue(i))}),(this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("rotation"))&&this._setMaxDimentions(),this.get("html","")!==""?t.set("text",""):(t.set("text",this.get("text")),this._maybeUpdateHTMLColor()),(this.isDirty("fill")||this.isDirty("fillGradient"))&&this._maybeUpdateHTMLColor(),this.isDirty("textAlign")||this.isDirty("width")){let i=this.get("textAlign"),a;this.get("width")!=null?i=="right"?a=R:i=="center"?a=k:a=0:i=="left"||i=="start"?a=this.get("paddingLeft",0):(i=="right"||i=="end")&&(a=-this.get("paddingRight",0)),t.set("x",a)}let e=this.get("background");e&&e.setPrivate("visible",t._display.textVisible)}_maybeUpdateHTMLColor(){let t=this.getPrivate("htmlElement");t&&this.get("fill")&&(t.style.color=this.get("fill").toCSSHex())}_setMaxDimentions(){let t=this.get("rotation"),e=t==90||t==270||t==-90,i=this._text,a=this.get("maxWidth",this.getPrivate("maxWidth",1/0));w(a)?i.set(e?"maxHeight":"maxWidth",a-this.get("paddingTop",0)-this.get("paddingBottom",0)):i.set(e?"maxHeight":"maxWidth",void 0);let s=this.get("maxHeight",this.getPrivate("maxHeight",1/0));w(s)?i.set(e?"maxWidth":"maxHeight",s-this.get("paddingLeft",0)-this.get("paddingRight",0)):i.set(e?"maxWidth":"maxHeight",void 0),this.root.events.once("frameended",()=>{i.markDirtyBounds()})}_setDataItem(t){super._setDataItem(t),this._markDirtyKey("text"),this._markDirtyKey("html");let e=this._text;e.get("populateText")&&e.markDirtyText();let i=this.get("html");i&&i!==""&&this._updateHTMLContent()}getText(){return this._text._getText()}getAccessibleText(){return this._text._getAccessibleText()}};K.className="Label";K.classNames=M.classNames.concat([K.className]);var Ce=class extends lt{incrementRef(){}decrementRef(){}_onPush(t){this.processor&&this.processor.processRow(t),super._onPush(t)}_onInsertIndex(t,e){this.processor&&this.processor.processRow(e),super._onInsertIndex(t,e)}_onSetIndex(t,e,i){this.processor&&this.processor.processRow(i),super._onSetIndex(t,e,i)}},Ki=class{constructor(t){this._value=t}incrementRef(){}decrementRef(){}};var Jt=class extends Zt{constructor(t,e,i){super(i),this.dataContext=e,this.component=t,this._settings.visible=!0,this._checkDirty()}markDirty(){this.component.markDirtyValues(this)}_startAnimation(){this.component._root._addAnimation(this)}_animationTime(){return this.component._root.animationTime}_dispose(){this.component&&this.component.disposeDataItem(this),super._dispose()}show(t){this.setRaw("visible",!0),this.component&&this.component.showDataItem(this,t)}hide(t){this.setRaw("visible",!1),this.component&&this.component.hideDataItem(this,t)}isHidden(){return!this.get("visible")}},Tt=class extends M{constructor(){super(...arguments),this._data=new Ce,this._dataItems=[],this._mainDataItems=this._dataItems,this.valueFields=[],this.fields=["id"],this._valuesDirty=!1,this._dataChanged=!1,this._dataGrouped=!1,this.inited=!1}set data(t){t.incrementRef(),this._data.decrementRef(),this._data=t}get data(){return this._data}_dispose(){super._dispose(),this._data.decrementRef()}_onDataClear(){}_afterNew(){super._afterNew(),this._data.incrementRef(),this._updateFields(),this._disposers.push(this.data.events.onAll(t=>{let e=this._mainDataItems;if(this.markDirtyValues(),this._markDirtyGroup(),this._dataChanged=!0,t.type==="clear")_(e,i=>{i.dispose()}),e.length=0,this._onDataClear();else if(t.type==="push"){let i=new Jt(this,t.newValue,this._makeDataItem(t.newValue));e.push(i),this.processDataItem(i)}else if(t.type==="setIndex"){let i=e[t.index],a=this._makeDataItem(t.newValue);i.bullets&&i.bullets.length==0&&(i.bullets=void 0),Ht(a).forEach(([s,r])=>{i.get(s)!=r&&i.animate({key:s,to:r,duration:this.get("interpolationDuration",0),easing:this.get("interpolationEasing")})}),i.dataContext=t.newValue}else if(t.type==="insertIndex"){let i=new Jt(this,t.newValue,this._makeDataItem(t.newValue));e.splice(t.index,0,i),this.processDataItem(i)}else if(t.type==="removeIndex")e[t.index].dispose(),e.splice(t.index,1);else if(t.type==="moveIndex"){let i=e[t.oldIndex];e.splice(t.oldIndex,1),e.splice(t.newIndex,0,i)}else throw new Error("Unknown IStreamEvent type");this._afterDataChange()}))}_postUpdateData(){}updateData(t){let e=0;_(t,(i,a)=>{let s=this.dataItems[a];if(!s)this.data.push(i);else{let r=s.dataContext;r&&Ht(i).forEach(([h,l])=>{r[h]=l});let o=this._makeDataItem(r);Ht(o).forEach(([h,l])=>{var d;if(s.get(h)!=l){s.set(h,l);let p=(d=this._valueFieldsF[h])===null||d===void 0?void 0:d.workingKey;p&&s.set(p,l)}})}e=a});for(let i=this.dataItems.length-1;i>e;i--){let a=this.dataItems[i];he(this.dataItems,a),a.dispose()}this._postUpdateData()}_updateFields(){this.valueFields&&(this._valueFields=[],this._valueFieldsF={},_(this.valueFields,t=>{this.get(t+"Field")&&(this._valueFields.push(t),this._valueFieldsF[t]={fieldKey:t+"Field",workingKey:t+"Working"})})),this.fields&&(this._fields=[],this._fieldsF={},_(this.fields,t=>{this.get(t+"Field")&&(this._fields.push(t),this._fieldsF[t]=t+"Field")}))}get dataItems(){return this._dataItems}processDataItem(t){}_makeDataItem(t){let e={};return this._valueFields&&_(this._valueFields,i=>{let a=this.get(this._valueFieldsF[i].fieldKey);e[i]=t[a],e[this._valueFieldsF[i].workingKey]=e[i]}),this._fields&&_(this._fields,i=>{let a=this.get(this._fieldsF[i]);e[i]=t[a]}),e}makeDataItem(t,e){let i=new Jt(this,e,t);return this.processDataItem(i),i}pushDataItem(t,e){let i=this.makeDataItem(t,e);return this._mainDataItems.push(i),i}disposeDataItem(t){}showDataItem(t,e){return Y(this,void 0,void 0,function*(){t.set("visible",!0)})}hideDataItem(t,e){return Y(this,void 0,void 0,function*(){t.set("visible",!1)})}_clearDirty(){super._clearDirty(),this._valuesDirty=!1}_afterDataChange(){}_afterChanged(){if(super._afterChanged(),this._dataChanged){let t="datavalidated";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this}),this._dataChanged=!1}if(this._valuesDirty){let t="valueschanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}this.inited=!0}markDirtyValues(t){this.markDirty(),this._valuesDirty=!0}_markDirtyGroup(){this._dataGrouped=!1}markDirtySize(){this._sizeDirty=!0,this.markDirty()}getDataItemById(t){return ue(this.dataItems,e=>e.get("id")==t)}};Tt.className="Component";Tt.classNames=M.classNames.concat([Tt.className]);var Qi={};Ue(Qi,{add:()=>js,checkChange:()=>qi,chooseInterval:()=>Ji,copy:()=>Vs,getDateIntervalDuration:()=>Us,getDuration:()=>et,getIntervalDuration:()=>Xi,getNextUnit:()=>Yi,getTime:()=>Ws,getUnitValue:()=>Gs,now:()=>Zi,roun:()=>zs,round:()=>It,sleep:()=>li,timeUnitDurations:()=>Re});function li(n){return new Promise((t,e)=>{setTimeout(t,n)})}var Re={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:365.242/12*864e5,year:31536e6};function Yi(n){switch(n){case"year":return;case"month":return"year";case"week":return"month";case"day":return"month";case"hour":return"day";case"minute":return"hour";case"second":return"minute";case"millisecond":return"second"}}function et(n,t){return t==null&&(t=1),Re[n]*t}function Xi(n){return n?Re[n.timeUnit]*n.count:0}function Us(n,t,e,i,a){let s=n.timeUnit,r=n.count;if(s=="hour"||s=="minute"||s=="second"||s=="millisecond")return Re[n.timeUnit]*n.count;{let o=It(new Date(t.getTime()),s,r,e,i,void 0,a).getTime(),h=o+r*et(s)*1.05;return h=It(new Date(h),s,1,e,i,void 0,a).getTime(),h-o}}function Zi(){return new Date}function Ws(){return Zi().getTime()}function Vs(n){return new Date(n.getTime())}function qi(n,t,e,i,a){if(t-n>et(e,1.2))return!0;let s=new Date(n),r=new Date(t);a&&(s=a.convertLocal(s),r=a.convertLocal(r));let o=0,h=0;!i&&e!="millisecond"&&(o=s.getTimezoneOffset(),s.setUTCMinutes(s.getUTCMinutes()-o),h=r.getTimezoneOffset(),r.setUTCMinutes(r.getUTCMinutes()-h));let l=!1;switch(e){case"year":s.getUTCFullYear()!=r.getUTCFullYear()&&(l=!0);break;case"month":(s.getUTCFullYear()!=r.getUTCFullYear()||s.getUTCMonth()!=r.getUTCMonth())&&(l=!0);break;case"day":(s.getUTCMonth()!=r.getUTCMonth()||s.getUTCDate()!=r.getUTCDate())&&(l=!0);break;case"hour":s.getUTCHours()!=r.getUTCHours()&&(l=!0);break;case"minute":s.getUTCMinutes()!=r.getUTCMinutes()&&(l=!0);break;case"second":s.getUTCSeconds()!=r.getUTCSeconds()&&(l=!0);break;case"millisecond":s.getTime()!=r.getTime()&&(l=!0);break}if(l)return l;let d=Yi(e);return d?qi(n,t,d,i,a):!1}function js(n,t,e,i,a){let s=0;switch(!i&&t!="millisecond"&&(s=n.getTimezoneOffset(),a&&(s-=a.offsetUTC(n)),n.setUTCMinutes(n.getUTCMinutes()-s)),t){case"day":let r=n.getUTCDate();n.setUTCDate(r+e);break;case"second":let o=n.getUTCSeconds();n.setUTCSeconds(o+e);break;case"millisecond":let h=n.getUTCMilliseconds();n.setUTCMilliseconds(h+e);break;case"hour":let l=n.getUTCHours();n.setUTCHours(l+e);break;case"minute":let d=n.getUTCMinutes();n.setUTCMinutes(d+e);break;case"year":let p=n.getUTCFullYear();n.setUTCFullYear(p+e);break;case"month":let u=n.getUTCDate(),f=new Date(n.getUTCFullYear(),n.getUTCMonth(),0).getUTCDate(),m=n.getUTCMonth();u>f?n.setUTCMonth(m+e,f):n.setUTCMonth(m+e);break;case"week":let g=n.getUTCDate();n.setUTCDate(g+e*7);break}if(!i&&t!="millisecond"&&(n.setUTCMinutes(n.getUTCMinutes()+s),t=="day"||t=="week"||t=="month"||t=="year")){let r=n.getTimezoneOffset();if(a&&(r+=a.offsetUTC(n)),r!=s){let o=r-s;n.setUTCMinutes(n.getUTCMinutes()+o),n.getTimezoneOffset()!=r&&n.setUTCMinutes(n.getUTCMinutes()-o)}}return n}function zs(n,t,e,i,a){let s;return a!=null&&(s=new Date(a)),It(new Date(n),t,e,i.locale.firstDayOfWeek,i.utc,s,i.timezone).getTime()}function It(n,t,e,i,a,s,r){if(!r||a){let o=0;switch(!a&&t!="millisecond"&&(o=n.getTimezoneOffset(),n.setUTCMinutes(n.getUTCMinutes()-o)),t){case"day":let h=n.getUTCDate();if(e>1){if(s){s=It(s,"day",1);let v=n.getTime()-s.getTime(),c=Math.floor(v/et("day")/e),D=et("day",c*e);n.setTime(s.getTime()+D-o*et("minute"))}}else n.setUTCDate(h);n.setUTCHours(0,0,0,0);break;case"second":let l=n.getUTCSeconds();e>1&&(l=Math.floor(l/e)*e),n.setUTCSeconds(l,0);break;case"millisecond":if(e==1)return n;let d=n.getUTCMilliseconds();d=Math.floor(d/e)*e,n.setUTCMilliseconds(d);break;case"hour":let p=n.getUTCHours();e>1&&(p=Math.floor(p/e)*e),n.setUTCHours(p,0,0,0);break;case"minute":let u=n.getUTCMinutes();e>1&&(u=Math.floor(u/e)*e),n.setUTCMinutes(u,0,0);break;case"month":let f=n.getUTCMonth();e>1&&(e==2||e==3||e==4||e==6)&&(f=Math.floor(f/e)*e),n.setUTCMonth(f,1),n.setUTCHours(0,0,0,0);break;case"year":let m=n.getUTCFullYear();e>1&&(m=Math.floor(m/e)*e),n.setUTCFullYear(m,0,1),n.setUTCHours(0,0,0,0);break;case"week":if(e>1&&s){s=It(s,"week",1);let v=n.getTime()-s.getTime(),c=Math.floor(v/et("week")/e),D=et("week",c*e);n.setTime(s.getTime()+D-o*et("minute"))}let g=n.getUTCDate(),x=n.getUTCDay();w(i)||(i=1),x>=i?g=g-x+i:g=g-(7+x)+i,n.setUTCDate(g),n.setUTCHours(0,0,0,0);break}if(!a&&t!="millisecond"&&(n.setUTCMinutes(n.getUTCMinutes()+o),t=="day"||t=="week"||t=="month"||t=="year")){let h=n.getTimezoneOffset();if(h!=o){let l=h-o;n.setUTCMinutes(n.getUTCMinutes()+l)}}return n}else{if(isNaN(n.getTime()))return n;let o=n.getTime(),h=r.offsetUTC(n),l=n.getTimezoneOffset(),d=r.parseDate(n),p=d.year,u=d.month,f=d.day,m=d.hour,g=d.minute,x=d.second,v=d.millisecond,c=d.weekday,D=h-l;switch(t){case"day":if(e>1&&s){s=It(s,"day",1,i,a,void 0,r);let I=n.getTime()-s.getTime(),E=Math.floor(I/et("day")/e),L=et("day",E*e);n.setTime(s.getTime()+L),d=r.parseDate(n),p=d.year,u=d.month,f=d.day}m=0,g=D,x=0,v=0;break;case"second":g+=D,e>1&&(x=Math.floor(x/e)*e),v=0;break;case"millisecond":g+=D,e>1&&(v=Math.floor(v/e)*e);break;case"hour":e>1&&(m=Math.floor(m/e)*e),g=D,x=0,v=0;break;case"minute":e>1&&(g=Math.floor(g/e)*e),g+=D,x=0,v=0;break;case"month":e>1&&(u=Math.floor(u/e)*e),f=1,m=0,g=D,x=0,v=0;break;case"year":e>1&&(p=Math.floor(p/e)*e),u=0,f=1,m=0,g=D,x=0,v=0;break;case"week":w(i)||(i=1),c>=i?f=f-c+i:f=f-(7+c)+i,m=0,g=D,x=0,v=0;break}n=new Date(p,u,f,m,g,x,v);let C=n.getTime(),B=36e5;t=="hour"&&(B=36e5*e),C+B<=o&&(t=="hour"||t=="minute"||t=="second"||t=="millisecond")&&(n=new Date(C+B));let H=n.getTimezoneOffset(),N=r.offsetUTC(n)-H;return N!=D&&n.setTime(n.getTime()+(N-D)*6e4),n}}function Ji(n,t,e,i){let a=i[n],s=Xi(a),r=i.length-1;if(n>=r)return Object.assign({},i[r]);let o=Math.ceil(t/s);return t<s&&n>0?Object.assign({},i[n-1]):o<=e?Object.assign({},i[n]):n+1<i.length?Ji(n+1,t,e,i):Object.assign({},i[n])}function Gs(n,t){switch(t){case"day":return n.getDate();case"second":return n.getSeconds();case"millisecond":return n.getMilliseconds();case"hour":return n.getHours();case"minute":return n.getMinutes();case"month":return n.getMonth();case"year":return n.getFullYear();case"week":return Si(n)}}var Qt=class extends Tt{constructor(){super(...arguments),this._aggregatesCalculated=!1,this._selectionAggregatesCalculated=!1,this._dataProcessed=!1,this._baseSeriesDirty=!1,this.bullets=new lt,this.bulletsContainer=M.new(this._root,{width:R,height:R,position:"absolute"})}_afterNew(){this.valueFields.push("value","customValue"),this.fields.push("url"),super._afterNew(),this.setPrivate("customData",{}),this._disposers.push(this.bullets.events.onAll(()=>{this._handleBullets(this.dataItems)}))}_dispose(){this.bulletsContainer.dispose(),super._dispose()}startIndex(){let t=this.dataItems.length;return Math.min(this.getPrivate("startIndex",0),t)}endIndex(){let t=this.dataItems.length;return Math.max(0,Math.min(this.getPrivate("endIndex",t),t))}_handleBullets(t){_(t,e=>{let i=e.bullets;i&&(_(i,a=>{a.dispose()}),e.bullets=void 0)}),this.markDirtyValues()}_makeBullets(t){this._shouldMakeBullet(t)&&(t.bullets=[],this.bullets.each(e=>{this._makeBullet(t,e)}))}_shouldMakeBullet(t){return!0}_makeBullet(t,e,i){let a=e(this._root,this,t);return a&&(a._index=i,this._makeBulletReal(t,a)),a}_getBulletContainer(t){return this.bulletsContainer}_makeBulletReal(t,e){let i=e.get("sprite");i&&(i._setDataItem(t),i.setRaw("position","absolute"),this._applyBulletDefaultPaint(i,t),this._linkSprite(i,t),this._getBulletContainer(t).children.push(i)),e.series=this,t.bullets.push(e)}_linkSprite(t,e){let i=!1,a=s=>{s&&!i&&(i=!0,t.events.on("click",()=>{this.openUrl(e)})),!(t.isUserSetting("cursorOverStyle")&&!t.isComputedSetting("cursorOverStyle"))&&(s?t._setC("cursorOverStyle","pointer"):t.get("cursorOverStyle")=="pointer"&&t.remove("cursorOverStyle"))};a(e.get("url")),t.addDisposer(e.on("url",s=>a(s)))}openUrl(t){let e=t.get("url");if(e&&!/^(javascript|data|vbscript):/i.test(String(e).replace(/[\s\x00-\x1f]/g,""))){let i=this.get("linkTarget","_self");window.open(e,i,i=="_blank"?"noopener":void 0)}}_applyBulletDefaultPaint(t,e){if(t.isType("Graphics")&&t.get("fill")==null&&t.get("fillGradient")==null&&t.get("fillPattern")==null&&t.get("stroke")==null&&t.get("strokeGradient")==null){let a=e?e.get("fill"):void 0;t.set("fill",a??this.get("fill")),t.set("fillGradient",this.get("fillGradient")),t.set("fillPattern",this.get("fillPattern")),t.set("stroke",this.get("stroke")),t.set("strokeGradient",this.get("strokeGradient"))}}addBullet(t,e){t.bullets||(t.bullets=[]),e&&this._makeBulletReal(t,e)}_clearDirty(){super._clearDirty(),this._aggregatesCalculated=!1,this._baseSeriesDirty=!1,this._selectionAggregatesCalculated=!1}_prepareChildren(){super._prepareChildren();let t=this.dataItems,e=t.length,i=this.startIndex(),a=this.endIndex();if(this.isDirty("urlField")){this._updateFields();let r=this.get("urlField");_(t,o=>{let h=o.dataContext;o.set("url",r&&h?h[r]:void 0)})}if(this.isDirty("name")&&this.updateLegendValue(),this.isDirty("heatRules")&&(this._valuesDirty=!0),this.isPrivateDirty("baseValueSeries")){let r=this.getPrivate("baseValueSeries");r&&this._disposers.push(r.onPrivate("startIndex",()=>{this._baseSeriesDirty=!0,this.markDirtyValues()}))}if(this.get("calculateAggregates")&&(this._valuesDirty&&!this._dataProcessed&&(this._aggregatesCalculated||(this._calculateAggregates(0,e),this._aggregatesCalculated=!0,i!=0&&(this._psi=void 0))),(this._psi!=i||this._pei!=a||this.isPrivateDirty("adjustedStartIndex"))&&!this._selectionAggregatesCalculated&&(i===0&&a===e&&this._aggregatesCalculated||this._calculateAggregates(i,a),this._selectionAggregatesCalculated=!0)),this.isDirty("tooltip")){let r=this.get("tooltip");r&&(r.hide(0),r.set("tooltipTarget",this))}if(this.isDirty("fill")||this.isDirty("stroke")){let r,o=this.get("legendDataItem");if(o&&(r=o.get("markerRectangle"),r&&this.isVisible())){if(this.isDirty("stroke")){let h=this.get("stroke");r.set("stroke",h)}if(this.isDirty("fill")){let h=this.get("fill");r.set("fill",h)}}this.updateLegendMarker(void 0)}if(this.bullets.length>0){let r=this.startIndex(),o=this.endIndex();o<e&&o++;for(let h=r;h<o;h++){let l=t[h];l.bullets||this._makeBullets(l)}}}_handleRemoved(){}_adjustStartIndex(t){return t}_calculateAggregates(t,e){let i=this._valueFields;if(!i)throw new Error("No value fields are set for the series.");let a=this.get("excludeFromAggregate");a&&(i=i.filter(x=>a.indexOf(x)==-1));let s={},r={},o={},h={},l={},d={},p={},u={},f={};for(let x=0,v=i.length;x<v;x++){let c=i[x];s[c]=0,r[c]=0,o[c]=0}let m=this.dataItems,g=m.length;for(let x=0,v=i.length;x<v;x++){let c=i[x],D=c+"Change",C=c+"ChangePercent",B=c+"ChangePrevious",H=c+"ChangePreviousPercent",z=c+"ChangeSelection",N=c+"ChangeSelectionPercent",I="valueY";(c==="valueX"||c.endsWith("ValueX"))&&(I="valueX");let E=this.getPrivate("baseValueSeries"),L=this.getPrivate("adjustedStartIndex",t),F=(y,T,S)=>{if(t===0){let nt=d[I],Rt=T-nt;y.setRaw(D,Rt),y.setRaw(C,Rt/nt*100)}let Ct=T-f[I],at=T-d[I];y.setRaw(B,Ct),y.setRaw(H,Ct/f[I]*100),y.setRaw(z,at),y.setRaw(N,at/d[I]*100),f[S]=T};for(let y=L;y<e;y++){let T=m[y];if(T){let S=T.get(c);if(S!=null){h[c]==null&&(h[c]=S),l[c]==null&&(l[c]=S),d[c]==null&&(d[c]=S,f[c]=S,E&&(d[I]=E._getBase(I)));break}}}for(let y=L;y<e;y++){let T=m[y];if(T){let S=T._settings[c];S!=null&&(o[c]++,s[c]+=S,r[c]+=Math.abs(S),h[c]>S&&(h[c]=S),l[c]<S&&(l[c]=S),p[c]=S,F(T,S,c))}}if(u[c]=s[c]/o[c],e<g){let y=m[e];if(y){let T=y.get(c);T!=null&&F(y,T,c)}}if(e+1<g){let y=m[e+1];if(y){let T=y.get(c);T!=null&&F(y,T,c)}}t>0&&t--,delete f[c];for(let y=t;y<L;y++){let T=m[y];if(T){let S=T.get(c);f[c]==null&&(f[c]=S),S!=null&&F(T,S,c)}}}for(let x=0,v=i.length;x<v;x++){let c=i[x];this.setPrivate(c+"AverageSelection",u[c]),this.setPrivate(c+"CountSelection",o[c]),this.setPrivate(c+"SumSelection",s[c]),this.setPrivate(c+"AbsoluteSumSelection",r[c]),this.setPrivate(c+"LowSelection",h[c]),this.setPrivate(c+"HighSelection",l[c]),this.setPrivate(c+"OpenSelection",d[c]),this.setPrivate(c+"CloseSelection",p[c])}if(t===0&&e===g)for(let x=0,v=i.length;x<v;x++){let c=i[x];this.setPrivate(c+"Average",u[c]),this.setPrivate(c+"Count",o[c]),this.setPrivate(c+"Sum",s[c]),this.setPrivate(c+"AbsoluteSum",r[c]),this.setPrivate(c+"Low",h[c]),this.setPrivate(c+"High",l[c]),this.setPrivate(c+"Open",d[c]),this.setPrivate(c+"Close",p[c])}}_updateChildren(){super._updateChildren(),this._psi=this.startIndex(),this._pei=this.endIndex(),this.isDirty("visible")&&this.bulletsContainer.set("visible",this.get("visible"));let t=this.get("heatRules");if(this._valuesDirty&&t&&t.length>0&&_(t,e=>{let i=e.minValue||this.getPrivate(e.dataField+"Low")||0,a=e.maxValue||this.getPrivate(e.dataField+"High")||0;_(e.target._entities,s=>{let r=s.dataItem.get(e.dataField);if(!w(r)){e.neutral&&s._setC(e.key,e.neutral);let o=s.states;if(o){let h=o.lookup("default");h&&e.neutral&&h._setC(e.key,e.neutral)}if(!e.customFunction)return}if(e.customFunction)e.customFunction.call(this,s,i,a,r);else{let o;e.logarithmic?o=(Math.log(r)*Math.LOG10E-Math.log(i)*Math.LOG10E)/(Math.log(a)*Math.LOG10E-Math.log(i)*Math.LOG10E):o=(r-i)/(a-i),w(r)&&(!w(o)||Math.abs(o)==1/0)&&(o=.5);let h;w(e.min)?h=e.min+(e.max-e.min)*o:e.min instanceof P?h=P.interpolate(o,e.min,e.max):e.min instanceof A&&(h=Bi(o,e.min,e.max)),s._setC(e.key,h);let l=s.states;if(l){let d=l.lookup("default");d&&d._setC(e.key,h)}}})}),this.get("visible")){let e=this.dataItems,i=e.length,a=this.startIndex(),s=this.endIndex();s<i&&s++,a>0&&a--;for(let r=0;r<a;r++)this._hideBullets(e[r]);for(let r=a;r<s;r++)this._positionBullets(e[r]);for(let r=s;r<i;r++)this._hideBullets(e[r])}}_positionBullets(t){t.bullets&&_(t.bullets,e=>{this._positionBullet(e);let i=e.get("sprite");e.get("dynamic")&&(i&&(i._markDirtyKey("fill"),i.markDirtySize()),i instanceof M&&i.walkChildren(a=>{a._markDirtyKey("fill"),a.markDirtySize(),a instanceof K&&a.text.markDirtyText()})),i instanceof K&&i.get("populateText")&&i.text.markDirtyText()})}_hideBullets(t){t.bullets&&_(t.bullets,e=>{let i=e.get("sprite");i&&i.setPrivate("visible",!1)})}_positionBullet(t){}_placeBulletsContainer(t){t.bulletsContainer.children.moveValue(this.bulletsContainer)}_removeBulletsContainer(){let t=this.bulletsContainer;t.parent&&t.parent.children.removeValue(t)}disposeDataItem(t){let e=t.bullets;e&&(_(e,i=>{i.dispose()}),t.bullets=void 0)}_getItemReaderLabel(){return""}showDataItem(t,e){let i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return Y(this,void 0,void 0,function*(){let a=[i.showDataItem.call(this,t,e)],s=t.bullets;s&&_(s,r=>{let o=r.get("sprite");o&&a.push(o.show(e))}),yield Promise.all(a)})}hideDataItem(t,e){let i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return Y(this,void 0,void 0,function*(){let a=[i.hideDataItem.call(this,t,e)],s=t.bullets;s&&_(s,r=>{let o=r.get("sprite");o&&a.push(o.hide(e))}),yield Promise.all(a)})}_sequencedShowHide(t,e){return Y(this,void 0,void 0,function*(){if(this.get("sequencedInterpolation"))if(w(e)||(e=this.get("interpolationDuration",0)),e>0){let i=this.startIndex(),a=this.endIndex();yield Promise.all(Ge(this.dataItems,(s,r)=>Y(this,void 0,void 0,function*(){let o=e||0;(r<i-10||r>a+10)&&(o=0);let h=this.get("sequencedDelay",0)+o/(a-i);yield li(h*(r-i)),t?yield this.showDataItem(s,o):yield this.hideDataItem(s,o)})))}else yield Promise.all(Ge(this.dataItems,i=>t?this.showDataItem(i,0):this.hideDataItem(i,0)))})}updateLegendValue(t){if(t){let e=t.get("legendDataItem");if(e){let i=e.get("valueLabel");if(i){let s=i.text,r="";i._setDataItem(t),r=this.get("legendValueText",s.get("text","")),i.set("text",r),s.markDirtyText()}let a=e.get("label");if(a){let s=a.text,r="";a._setDataItem(t),r=this.get("legendLabelText",s.get("text","")),a.set("text",r),s.markDirtyText()}}}}updateLegendMarker(t){}_onHide(){super._onHide();let t=this.getTooltip();t&&t.hide()}hoverDataItem(t){}unhoverDataItem(t){}_getBase(t){let e=this.dataItems[this.startIndex()];return e?e.get(t):0}};Qt.className="Series";Qt.classNames=Tt.classNames.concat([Qt.className]);function hi(n,t){for(let e=0,i=t.length;e<i;e++){let a=t[e];if(a.length>0){let s=a[0];if(s.length>0){let r=s[0];n.moveTo(r.x,r.y);for(let o=0,h=a.length;o<h;o++)Ks(n,a[o])}}}}function Ks(n,t){for(let e=0,i=t.length;e<i;e++){let a=t[e];n.lineTo(a.x,a.y)}}var wt=class extends tt{_beforeChanged(){super._beforeChanged(),(this.isDirty("points")||this.isDirty("segments")||this._sizeDirty||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let t=this.get("points"),e=this.get("segments");if(t&&t.length>0){let i=t[0];this._display.moveTo(i.x,i.y),hi(this._display,[[t]])}else if(e)hi(this._display,e);else if(!this.get("draw")){let i=this.width(),a=this.height();this._display.moveTo(0,0),this._display.lineTo(i,a)}}}};wt.className="Line";wt.classNames=tt.classNames.concat([wt.className]);var Lt=class extends rt{constructor(){super(...arguments),this._display=this._root._renderer.makeRadialText("",this.textStyle)}_afterNew(){super._afterNew()}_beforeChanged(){super._beforeChanged(),this._display.clear(),this.isDirty("textType")&&(this._display.textType=this.get("textType"),this.markDirtyBounds()),this.isDirty("radius")&&(this._display.radius=this.get("radius"),this.markDirtyBounds()),this.isDirty("startAngle")&&(this._display.startAngle=(this.get("startAngle",0)+90)*$t,this.markDirtyBounds()),this.isDirty("inside")&&(this._display.inside=this.get("inside"),this.markDirtyBounds()),this.isDirty("orientation")&&(this._display.orientation=this.get("orientation"),this.markDirtyBounds()),this.isDirty("kerning")&&(this._display.kerning=this.get("kerning"),this.markDirtyBounds())}};Lt.className="RadialText";Lt.classNames=rt.classNames.concat([Lt.className]);var te=class extends K{constructor(){super(...arguments),this._flipped=!1}_afterNew(){this._textKeys.push("textType","kerning"),super._afterNew()}_makeText(){this._text=this.children.push(Lt.new(this._root,{}))}baseRadius(){let t=this.getPrivate("radius",0),e=this.getPrivate("innerRadius",0),i=this.get("baseRadius",0);return e+q(i,t-e)}radius(){let t=this.get("inside",!1);return this.baseRadius()+this.get("radius",0)*(t?-1:1)}_updateChildren(){if(super._updateChildren(),this.isDirty("baseRadius")||this.isPrivateDirty("radius")||this.isPrivateDirty("innerRadius")||this.isDirty("labelAngle")||this.isDirty("radius")||this.isDirty("inside")||this.isDirty("orientation")||this.isDirty("textType")){let t=this.get("textType","adjusted"),e=this.get("inside",!1),i=this.get("orientation"),a=yt(this.get("labelAngle",0));this._text.set("startAngle",this.get("labelAngle",0)),this._text.set("inside",e);let s=ht(a),r=dt(a),o=this.baseRadius(),h=this.radius();if(this._display.angle=0,t=="circular")this._setCAll({paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}),this.setRaw("x",void 0),this.setRaw("y",void 0),this._text.set("orientation",i),this._text.set("radius",h);else{o==0&&(a=0,h=0);let l=h*r,d=h*s;t=="radial"?(this.setRaw("x",l),this.setRaw("y",d),a<90||a>270||i!="auto"?(this._display.angle=a,this._flipped=!1):(this._display.angle=a+180,this._flipped=!0),this._dirty.rotation=!1):t=="adjusted"?(this.setRaw("centerX",k),this.setRaw("centerY",k),this.setRaw("x",l),this.setRaw("y",d)):t=="regular"&&(this.setRaw("x",l),this.setRaw("y",d))}this.markDirtyPosition(),this.markDirtyBounds()}}_updatePosition(){let t=this.get("textType","regular"),e=this.get("inside",!1),i=0,a=0,s=this.get("labelAngle",0),r=this.localBounds(),o=r.right-r.left,h=r.bottom-r.top;if(t=="radial"){if(this._flipped){let l=this.get("centerX");l instanceof A&&(o=o*(1-l.value*2)),i=o*dt(s),a=o*ht(s)}}else!e&&t=="adjusted"&&(i=o/2*dt(s),a=h/2*ht(s));this._setCRaw("dx",i),this._setCRaw("dy",a),super._updatePosition()}get text(){return this._text}};te.className="RadialLabel";te.classNames=K.classNames.concat([te.className]);var Pt=class extends M{constructor(){super(...arguments),this.chartContainer=this.children.push(M.new(this._root,{width:R,height:R,interactiveChildren:!1})),this.bulletsContainer=M.new(this._root,{interactiveChildren:!1,isMeasured:!1,position:"absolute",width:R,height:R})}};Pt.className="Chart";Pt.classNames=M.classNames.concat([Pt.className]);var ee=class extends Pt{constructor(){super(...arguments),this.seriesContainer=M.new(this._root,{width:R,height:R,isMeasured:!1}),this.series=new Yt}_afterNew(){super._afterNew(),this._disposers.push(this.series);let t=this.seriesContainer.children;this._disposers.push(this.series.events.onAll(e=>{if(e.type==="clear"){_(e.oldValues,s=>{this._removeSeries(s)});let i=this.get("colors");i&&i.reset();let a=this.get("patterns");a&&a.reset()}else if(e.type==="push")t.moveValue(e.newValue),this._processSeries(e.newValue);else if(e.type==="setIndex")t.setIndex(e.index,e.newValue),this._processSeries(e.newValue);else if(e.type==="insertIndex")t.insertIndex(e.index,e.newValue),this._processSeries(e.newValue);else if(e.type==="removeIndex")this._removeSeries(e.oldValue);else if(e.type==="moveIndex")t.moveValue(e.value,e.newIndex),this._processSeries(e.value);else if(e.type==="swap"){let i=e.a,a=e.b,s=this.series.indexOf(i),r=this.series.indexOf(a);t.moveValue(i,r),t.moveValue(a,s),this.series.each(o=>{this._processSeries(o),o.markDirtyValues()})}else throw new Error("Unknown IListEvent type")}))}_processSeries(t){t.chart=this,t._placeBulletsContainer(this)}_removeSeries(t){t._handleRemoved(),t.isDisposed()||(this.seriesContainer.children.removeValue(t),t._removeBulletsContainer())}};ee.className="SerialChart";ee.classNames=Pt.classNames.concat([ee.className]);var ie=class extends wt{};ie.className="Tick";ie.classNames=wt.classNames.concat([ie.className]);var se=class extends V{_afterNew(){super._afterNewApplyThemes(),this._dirty.colors=!1}_beforeChanged(){this.isDirty("colors")&&this.reset()}generateColors(){this.setPrivate("currentPass",this.getPrivate("currentPass",0)+1);let t=this.getPrivate("currentPass"),e=this.get("colors",[this.get("baseColor",P.fromHex(16711680))]);this.getPrivate("numColors")||this.setPrivate("numColors",e.length);let i=this.getPrivate("numColors"),a=0,s=this.get("passOptions"),r=this.get("reuse");for(let o=a;o<i;o++)if(r)e.push(e[o]);else{let h=e[o].toHSL(),l=h.h+(s.hue||0)*t;for(;l>1;)l-=1;let d=h.s+(s.saturation||0)*t;d>1&&(d=1),d<0&&(d=0);let p=h.l+(s.lightness||0)*t;for(;p>1;)p-=1;e.push(P.fromHSL(l,d,p))}}getIndex(t){let e=this.get("colors",[]),i=this.get("saturation");return t>=e.length?(this.generateColors(),this.getIndex(t)):i!=null?P.saturate(e[t],i):e[t]}next(){let t=this.getPrivate("currentStep",this.get("startIndex",0));return this.setPrivate("currentStep",t+this.get("step",1)),this.getIndex(t)}reset(){this.setPrivate("currentStep",this.get("startIndex",0)),this.setPrivate("currentPass",0)}};se.className="ColorSet";se.classNames=V.classNames.concat([se.className]);function b(n,t,e,i){n.set(t,e.get(i)),e.on(i,a=>{n.set(t,a)})}var ts=class extends Mi{setupDefaultRules(){super.setupDefaultRules();let t=this._root.language,e=this._root.interfaceColors,i=this._root.horizontalLayout,a=this._root.verticalLayout,s=this.rule.bind(this);s("InterfaceColors").setAll({stroke:P.fromHex(15066597),fill:P.fromHex(15987699),primaryButton:P.fromHex(6788316),primaryButtonHover:P.fromHex(6779356),primaryButtonDown:P.fromHex(6872182),primaryButtonActive:P.fromHex(6872182),primaryButtonDisabled:P.fromHex(14342874),primaryButtonTextDisabled:P.fromHex(16777215),primaryButtonText:P.fromHex(16777215),primaryButtonStroke:P.fromHex(16777215),secondaryButton:P.fromHex(14277081),secondaryButtonHover:P.fromHex(10724259),secondaryButtonDown:P.fromHex(9276813),secondaryButtonActive:P.fromHex(15132390),secondaryButtonText:P.fromHex(0),secondaryButtonStroke:P.fromHex(16777215),grid:P.fromHex(0),background:P.fromHex(16777215),alternativeBackground:P.fromHex(0),text:P.fromHex(0),alternativeText:P.fromHex(16777215),disabled:P.fromHex(11382189),positive:P.fromHex(5288704),negative:P.fromHex(11730944)});{let r=s("ColorSet");r.setAll({passOptions:{hue:.05,saturation:0,lightness:0},colors:[P.fromHex(6797276)],step:1,reuse:!1,startIndex:0}),r.setPrivate("currentStep",0),r.setPrivate("currentPass",0)}s("Entity").setAll({stateAnimationDuration:0,stateAnimationEasing:ut(Q)}),s("Component").setAll({interpolationDuration:0,interpolationEasing:ut(Q)}),s("Sprite").setAll({visible:!0,scale:1,opacity:1,rotation:0,position:"relative",tooltipX:k,tooltipY:k,tooltipPosition:"fixed",isMeasured:!0}),s("Sprite").states.create("default",{visible:!0,opacity:1}),s("Container").setAll({interactiveChildren:!0,setStateOnChildren:!1}),s("Graphics").setAll({strokeWidth:1}),s("Chart").setAll({width:R,height:R,interactiveChildren:!1}),s("ZoomableContainer").setAll({width:R,height:R,wheelable:!0,pinchZoom:!0,maxZoomLevel:32,minZoomLevel:1,zoomStep:2,animationEasing:ut(Q),animationDuration:600,maxPanOut:.4}),s("ZoomableContainer",["serialchartcontainer"]).setAll({wheelable:!1,pinchZoom:!1,maskContent:!0}),s("Sprite",["horizontal","center"]).setAll({centerX:k,x:k}),s("Sprite",["vertical","center"]).setAll({centerY:k,y:k}),s("Container",["horizontal","layout"]).setAll({layout:i}),s("Container",["vertical","layout"]).setAll({layout:a}),s("Pattern").setAll({repetition:"repeat",width:50,height:50,rotation:0,fillOpacity:1}),s("LinePattern").setAll({gap:6,colorOpacity:1,width:49,height:49}),s("RectanglePattern").setAll({gap:6,checkered:!1,centered:!0,maxWidth:5,maxHeight:5,width:48,height:48,strokeWidth:0}),s("CirclePattern").setAll({gap:5,checkered:!1,centered:!1,radius:3,strokeWidth:0,width:45,height:45}),s("GrainPattern").setAll({width:200,height:200,colors:[P.fromHex(0)],size:1,horizontalGap:0,verticalGap:0,density:1,minOpacity:0,maxOpacity:.2});{let r=s("PatternSet");r.setAll({step:1}),b(r,"color",e,"stroke")}s("LinearGradient").setAll({rotation:90}),s("Legend").setAll({fillField:"fill",strokeField:"stroke",nameField:"name",layout:st.new(this._root,{}),layer:30,clickTarget:"itemContainer"}),s("Container",["legend","item","itemcontainer"]).setAll({paddingLeft:5,paddingRight:5,paddingBottom:5,paddingTop:5,layout:i,setStateOnChildren:!0,interactiveChildren:!1,ariaChecked:!0,focusable:!0,ariaLabel:t.translate("Press ENTER to toggle"),role:"checkbox"});{let r=s("Rectangle",["legend","item","background"]);r.setAll({fillOpacity:0}),b(r,"fill",e,"background")}s("Container",["legend","marker"]).setAll({setStateOnChildren:!0,centerY:k,paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:0,width:18,height:18}),s("RoundedRectangle",["legend","marker","rectangle"]).setAll({width:R,height:R,cornerRadiusBL:3,cornerRadiusTL:3,cornerRadiusBR:3,cornerRadiusTR:3});{let r=s("RoundedRectangle",["legend","marker","rectangle"]).states.create("disabled",{});b(r,"fill",e,"disabled"),b(r,"stroke",e,"disabled")}s("Label",["legend","label"]).setAll({centerY:k,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,populateText:!0});{let r=s("Label",["legend","label"]).states.create("disabled",{});b(r,"fill",e,"disabled")}s("Label",["legend","value","label"]).setAll({centerY:k,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,width:50,centerX:R,populateText:!0});{let r=s("Label",["legend","value","label"]).states.create("disabled",{});b(r,"fill",e,"disabled")}s("HeatLegend").setAll({stepCount:1}),s("RoundedRectangle",["heatlegend","marker"]).setAll({cornerRadiusTR:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusBL:0}),s("RoundedRectangle",["vertical","heatlegend","marker"]).setAll({height:R,width:15}),s("RoundedRectangle",["horizontal","heatlegend","marker"]).setAll({width:R,height:15}),s("HeatLegend",["vertical"]).setAll({height:R}),s("HeatLegend",["horizontal"]).setAll({width:R}),s("Label",["heatlegend","start"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5}),s("Label",["heatlegend","end"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5});{let r=s("Label");r.setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontSize:"1em",populateText:!1}),b(r,"fill",e,"text")}s("RadialLabel").setAll({textType:"regular",centerY:k,centerX:k,inside:!1,radius:0,baseRadius:R,orientation:"auto",textAlign:"center"}),s("EditableLabel").setAll({editOn:"click",themeTags:["editablelabel"],multiLine:!0}),s("RoundedRectangle",["editablelabel","background"]).setAll({fillOpacity:0,fill:P.fromHex(0),cornerRadiusBL:3,cornerRadiusBR:3,cornerRadiusTL:3,cornerRadiusTR:3,strokeOpacity:0,stroke:P.fromHex(0)}),s("RoundedRectangle",["editablelabel","background"]).states.create("active",{strokeOpacity:.2}),s("RoundedRectangle").setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8}),s("PointedRectangle").setAll({pointerBaseWidth:15,pointerLength:10,cornerRadius:8}),s("Slice").setAll({shiftRadius:0,dRadius:0,dInnerRadius:0});{let r=s("Tick");r.setAll({strokeOpacity:.15,isMeasured:!1,length:4.5,position:"absolute",crisp:!0}),b(r,"stroke",e,"grid")}s("Bullet").setAll({locationX:.5,locationY:.5}),s("Tooltip").setAll({position:"absolute",getFillFromSprite:!0,getStrokeFromSprite:!1,autoTextColor:!0,paddingTop:9,paddingBottom:8,paddingLeft:10,paddingRight:10,marginBottom:5,pointerOrientation:"vertical",centerX:k,centerY:k,animationEasing:ut(Q),exportable:!1}),s("Tooltip",["system"]).setAll({pointerOrientation:"horizontal",paddingTop:4,paddingRight:7,paddingBottom:4,paddingLeft:7});{let r=s("PointedRectangle",["tooltip","system","background"]);r.setAll({strokeOpacity:.3}),b(r,"fill",e,"background"),b(r,"stroke",e,"grid")}s("Label",["tooltip","system"]).setAll({fontSize:12,fill:e.get("background")}),s("Polygon").setAll({animationEasing:ut(Q)}),s("Link").setAll({cornerRadius:8,setStateOnChildren:!0});{let r=s("OrthogonalLine",["link","line"]);r.setAll({isMeasured:!1,crisp:!0});let o=r.states.create("active",{strokeWidth:2});b(o,"stroke",e,"negative")}s("OrthogonalLine",["link","hit"]).setAll({strokeWidth:10,opacity:0,strokeOpacity:0});{let r=s("OrthogonalLine");r.setAll({strokeWidth:1,strokeOpacity:1,cornerRadius:10}),b(r,"stroke",e,"grid")}{let r=s("Triangle",["link"]);r.setAll({width:14,height:10,centerY:0}),b(r,"fill",e,"grid"),b(r,"stroke",e,"grid"),r.states.create("default",{stateAnimationDuration:0});let o=r.states.create("active",{stateAnimationDuration:0,stroke:Ai(16777215),strokeWidth:2});o.set("draw",h=>{h.arc(0,0,11,0,Math.PI*2),h.moveTo(-4,-4),h.lineTo(4,4),h.moveTo(4,-4),h.lineTo(-4,4)}),b(o,"fill",e,"negative")}s("PointedRectangle",["tooltip","background"]).setAll({strokeOpacity:.9,cornerRadius:4,pointerLength:4,pointerBaseWidth:8,fillOpacity:.9,stroke:P.fromHex(16777215)});{let r=s("Label",["tooltip"]);r.setAll({role:"tooltip",populateText:!0,paddingRight:0,paddingTop:0,paddingLeft:0,paddingBottom:0}),b(r,"fill",e,"alternativeText")}s("Button").setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,interactive:!0,layout:i,interactiveChildren:!1,setStateOnChildren:!0,focusable:!0}),s("Button").states.create("hover",{}),s("Button").states.create("down",{stateAnimationDuration:0}),s("Button").states.create("active",{}),s("Button").states.create("disabled",{forceInactive:!0});{let r=s("RoundedRectangle",["button","background"]);b(r,"fill",e,"primaryButton"),b(r,"stroke",e,"primaryButtonStroke")}{let r=s("RoundedRectangle",["button","background"]).states.create("hover",{});b(r,"fill",e,"primaryButtonHover")}{let r=s("RoundedRectangle",["button","background"]).states.create("down",{stateAnimationDuration:0});b(r,"fill",e,"primaryButtonDown")}{let r=s("RoundedRectangle",["button","background"]).states.create("active",{});b(r,"fill",e,"primaryButtonActive")}{let r=s("RoundedRectangle",["button","background"]).states.create("disabled",{});b(r,"fill",e,"primaryButtonDisabled")}{let r=s("Graphics",["button","icon"]).states.create("disabled",{});b(r,"fill",e,"primaryButtonTextDisabled")}{let r=s("Label",["button"]).states.create("disabled",{});b(r,"fill",e,"primaryButtonTextDisabled")}{let r=s("Graphics",["button","icon"]);r.setAll({forceInactive:!0}),b(r,"stroke",e,"primaryButtonText")}{let r=s("Label",["button"]);b(r,"fill",e,"primaryButtonText")}s("ConfirmButton").setAll({toggleKey:"active",setStateOnChildren:!0,label:K.new(this._root,{text:t.translate("Confirm"),forceHidden:!0})});{let r=s("RoundedRectangle",["button","background","confirm"]).states.create("active",{});b(r,"fill",e,"negative")}s("Label",["button","confirm"]).setAll({paddingTop:0,paddingBottom:0,paddingRight:3,paddingLeft:5}),s("Label",["button","confirm"]).states.create("default",{stateAnimationDuration:0}),s("Label",["button","confirm"]).states.create("active",{forceHidden:!1,stateAnimationDuration:0});{let r=s("Graphics",["icon","confirm","button"]);r.setAll({stateAnimationDuration:0}),r.states.create("default",{stateAnimationDuration:0}),b(r,"stroke",e,"primaryButtonText")}{let r=s("Graphics",["icon","confirm","button"]).states.create("active",{svgPath:"M -5 1 L 0 6 L 8 -5",strokeWidth:2});b(r,"stroke",e,"primaryButtonText")}{let r=s("Graphics",["icon","confirm","button","secondary"]).states.create("active",{});b(r,"stroke",e,"primaryButtonText")}{let r=s("RoundedRectangle",["button","background","confirm","secondary"]).states.create("active",{fillOpacity:1});b(r,"fill",e,"negative")}{let r=s("RoundedRectangle",["button","background","confirm","secondary"]).states.create("hoverActive",{fillOpacity:1});b(r,"fill",e,"negative")}s("Button",["button","confirm"]).states.create("hoverActive",{}),s("Button",["zoom"]).setAll({paddingTop:18,paddingBottom:18,paddingLeft:12,paddingRight:12,centerX:46,centerY:-10,y:0,x:R,role:"button",ariaLabel:t.translate("Zoom Out"),layer:30});{let r=s("RoundedRectangle",["background","button","zoom"]);r.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),b(r,"fill",e,"primaryButton")}{let r=s("RoundedRectangle",["background","button","zoom"]).states.create("hover",{});b(r,"fill",e,"primaryButtonHover")}{let r=s("RoundedRectangle",["background","button","zoom"]).states.create("down",{stateAnimationDuration:0});b(r,"fill",e,"primaryButtonDown")}{let r=s("Graphics",["icon","button","zoom"]);r.setAll({crisp:!0,strokeOpacity:.7,draw:o=>{o.moveTo(0,0),o.lineTo(12,0)}}),b(r,"stroke",e,"primaryButtonText")}s("Button",["resize"]).setAll({paddingTop:9,paddingBottom:9,paddingLeft:13,paddingRight:13,draggable:!0,centerX:k,centerY:k,position:"absolute",role:"slider",ariaValueMin:"0",ariaValueMax:"100",ariaLabel:t.translate("Use up and down arrows to move selection")});{let r=s("RoundedRectangle",["background","resize","button"]);r.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),b(r,"fill",e,"secondaryButton"),b(r,"stroke",e,"secondaryButtonStroke")}{let r=s("RoundedRectangle",["background","resize","button"]).states.create("hover",{});b(r,"fill",e,"secondaryButtonHover")}{let r=s("RoundedRectangle",["background","resize","button"]).states.create("down",{stateAnimationDuration:0});b(r,"fill",e,"secondaryButtonDown")}{let r=s("Graphics",["resize","button","icon"]);r.setAll({interactive:!1,crisp:!0,strokeOpacity:.5,draw:o=>{o.moveTo(0,.5),o.lineTo(0,12.5),o.moveTo(4,.5),o.lineTo(4,12.5)}}),b(r,"stroke",e,"secondaryButtonText")}s("Button",["resize","vertical"]).setAll({rotation:90,cursorOverStyle:"ns-resize"}),s("Button",["resize","horizontal"]).setAll({cursorOverStyle:"ew-resize"}),s("Button",["play"]).setAll({paddingTop:13,paddingBottom:13,paddingLeft:14,paddingRight:14,ariaLabel:t.translate("Play"),toggleKey:"active"});{let r=s("RoundedRectangle",["play","background"]);r.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),b(r,"fill",e,"primaryButton")}{let r=s("Graphics",["play","icon"]);r.setAll({stateAnimationDuration:0,dx:1,draw:o=>{o.moveTo(0,-5),o.lineTo(8,0),o.lineTo(0,5),o.lineTo(0,-5)}}),b(r,"fill",e,"primaryButtonText")}s("Graphics",["play","icon"]).states.create("default",{stateAnimationDuration:0}),s("Graphics",["play","icon"]).states.create("active",{stateAnimationDuration:0,draw:r=>{r.moveTo(-4,-5),r.lineTo(-1,-5),r.lineTo(-1,5),r.lineTo(-4,5),r.lineTo(-4,-5),r.moveTo(4,-5),r.lineTo(1,-5),r.lineTo(1,5),r.lineTo(4,5),r.lineTo(4,-5)}}),s("Button",["switch"]).setAll({paddingTop:4,paddingBottom:4,paddingLeft:4,paddingRight:4,ariaLabel:t.translate("Press ENTER to toggle"),toggleKey:"active",width:40,height:24,layout:null});{let r=s("RoundedRectangle",["switch","background"]);r.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),b(r,"fill",e,"primaryButton")}{let r=s("Circle",["switch","icon"]);r.setAll({radius:8,centerY:0,centerX:0,dx:0}),b(r,"fill",e,"primaryButtonText")}s("Graphics",["switch","icon"]).states.create("active",{dx:16}),s("Scrollbar").setAll({start:0,end:1,layer:30,animationEasing:ut(Q)}),s("Scrollbar",["vertical"]).setAll({marginRight:13,marginLeft:13,minWidth:12,height:R}),s("Scrollbar",["horizontal"]).setAll({marginTop:13,marginBottom:13,minHeight:12,width:R}),this.rule("Button",["scrollbar"]).setAll({exportable:!1});{let r=s("RoundedRectangle",["scrollbar","main","background"]);r.setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8,fillOpacity:.8}),b(r,"fill",e,"fill")}{let r=s("RoundedRectangle",["scrollbar","thumb"]);r.setAll({role:"slider",ariaLive:"polite",position:"absolute",draggable:!0}),b(r,"fill",e,"secondaryButton")}{let r=s("RoundedRectangle",["scrollbar","thumb"]).states.create("hover",{});b(r,"fill",e,"secondaryButtonHover")}{let r=s("RoundedRectangle",["scrollbar","thumb"]).states.create("down",{stateAnimationDuration:0});b(r,"fill",e,"secondaryButtonDown")}s("RoundedRectangle",["scrollbar","thumb","vertical"]).setAll({x:k,width:R,centerX:k,ariaLabel:t.translate("Use up and down arrows to move selection")}),s("RoundedRectangle",["scrollbar","thumb","horizontal"]).setAll({y:k,centerY:k,height:R,ariaLabel:t.translate("Use left and right arrows to move selection")});{let r=s("PointedRectangle",["axis","tooltip","background"]);r.setAll({cornerRadius:0}),b(r,"fill",e,"alternativeBackground")}s("Label",["axis","tooltip"]).setAll({role:void 0}),s("Label",["axis","tooltip","y"]).setAll({textAlign:"right"}),s("Label",["axis","tooltip","y","opposite"]).setAll({textAlign:"left"}),s("Label",["axis","tooltip","x"]).setAll({textAlign:"center"}),s("Tooltip",["categoryaxis"]).setAll({labelText:"{category}"}),s("Star").setAll({spikes:5,innerRadius:5,radius:10}),s("Tooltip",["stock"]).setAll({paddingTop:6,paddingBottom:5,paddingLeft:7,paddingRight:7}),s("Tooltip",["indicator"]).setAll({forceHidden:!0}),s("PointedRectangle",["tooltip","stock","axis"]).setAll({pointerLength:0,pointerBaseWidth:0,cornerRadius:3}),s("Label",["tooltip","stock"]).setAll({fontSize:"0.8em"}),s("SpriteResizer").setAll({rotationStep:10,isMeasured:!1}),s("Container",["resizer","grip"]).states.create("hover",{});{let r=s("RoundedRectangle",["resizer","grip"]);r.setAll({strokeOpacity:.7,strokeWidth:1,fillOpacity:1,width:12,height:12}),b(r,"fill",e,"background"),b(r,"stroke",e,"alternativeBackground")}{let r=s("RoundedRectangle",["resizer","grip","outline"]);r.setAll({strokeOpacity:0,fillOpacity:0,width:20,height:20}),r.states.create("hover",{fillOpacity:.3}),b(r,"fill",e,"alternativeBackground")}s("RoundedRectangle",["resizer","grip","left"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0}),s("RoundedRectangle",["resizer","grip","right"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0});{let r=s("Rectangle",["resizer","rectangle"]);r.setAll({strokeDasharray:[2,2],strokeOpacity:.5,strokeWidth:1}),b(r,"stroke",e,"alternativeBackground")}s("Graphics",["button","plus","icon"]).setAll({x:k,y:k,draw:r=>{r.moveTo(-4,0),r.lineTo(4,0),r.moveTo(0,-4),r.lineTo(0,4)}}),s("Graphics",["button","minus","icon"]).setAll({x:k,y:k,draw:r=>{r.moveTo(-4,0),r.lineTo(4,0)}}),s("Graphics",["button","home","icon"]).setAll({x:k,y:k,svgPath:"M 8 -1 L 6 -1 L 6 7 L 2 7 L 2 1 L -2 1 L -2 7 L -6 7 L -6 -1 L -8 -1 L 0 -9 L 8 -1 Z M 8 -1"}),s("Button",["zoomtools"]).setAll({marginTop:1,marginBottom:2}),s("ZoomTools").setAll({x:R,centerX:R,y:R,centerY:R,paddingRight:10,paddingBottom:10}),s("ProgressPie").setAll({radius:R,width:50,height:50,centerX:le(-50),centerY:le(-50),innerRadius:le(85),numberFormat:"#."});{let r=s("Label",["progresspie"]);r.setAll({centerX:k,centerY:k,fontSize:"0.75em"}),b(r,"fill",e,"primaryButton")}{let r=s("Circle",["progresspie"]);r.setAll({fillOpacity:.5}),b(r,"fill",e,"background")}{let r=s("Slice",["progresspie"]);r.setAll({startAngle:-90}),b(r,"fill",e,"primaryButton")}{let r=s("Slice",["progresspie","background"]);r.setAll({fillOpacity:.2,arc:360}),b(r,"fill",e,"primaryButton")}s("EditableLabel",["numericstepper"]).setAll({y:k,centerY:k,multiLine:!1,marginRight:2});{let r=s("Container",["numericstepper","buttons"]);r.setAll({layout:this._root.verticalLayout,centerY:k,y:k,marginRight:10,opacity:0}),r.states.create("active",{opacity:1}),r.states.create("default",{opacity:0})}{let r=s("Triangle",["numericstepper"]);r.setAll({width:17,height:11,marginTop:3,marginBottom:3,strokeWidth:5,strokeOpacity:0,cursorOverStyle:"pointer"}),b(r,"fill",e,"secondaryButton")}s("Triangle",["downbutton"]).setAll({rotation:180})}};function $(n){return function(){return n}}var di=Math.abs,W=Math.atan2,kt=Math.cos,es=Math.max,Se=Math.min,it=Math.sin,Mt=Math.sqrt,j=1e-12,jt=Math.PI,re=jt/2,is=2*jt;function ss(n){return n>1?0:n<-1?jt:Math.acos(n)}function ui(n){return n>=1?re:n<=-1?-re:Math.asin(n)}var pi=Math.PI,ci=2*pi,Et=1e-6,Xs=ci-Et;function rs(n){this._+=n[0];for(let t=1,e=n.length;t<e;++t)this._+=arguments[t]+n[t]}function Zs(n){let t=Math.floor(n);if(!(t>=0))throw new Error(`invalid digits: ${n}`);if(t>15)return rs;let e=10**t;return function(i){this._+=i[0];for(let a=1,s=i.length;a<s;++a)this._+=Math.round(arguments[a]*e)/e+i[a]}}var Ot=class{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=t==null?rs:Zs(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,i,a){this._append`Q${+t},${+e},${this._x1=+i},${this._y1=+a}`}bezierCurveTo(t,e,i,a,s,r){this._append`C${+t},${+e},${+i},${+a},${this._x1=+s},${this._y1=+r}`}arcTo(t,e,i,a,s){if(t=+t,e=+e,i=+i,a=+a,s=+s,s<0)throw new Error(`negative radius: ${s}`);let r=this._x1,o=this._y1,h=i-t,l=a-e,d=r-t,p=o-e,u=d*d+p*p;if(this._x1===null)this._append`M${this._x1=t},${this._y1=e}`;else if(u>Et)if(!(Math.abs(p*h-l*d)>Et)||!s)this._append`L${this._x1=t},${this._y1=e}`;else{let f=i-r,m=a-o,g=h*h+l*l,x=f*f+m*m,v=Math.sqrt(g),c=Math.sqrt(u),D=s*Math.tan((pi-Math.acos((g+u-x)/(2*v*c)))/2),C=D/c,B=D/v;Math.abs(C-1)>Et&&this._append`L${t+C*d},${e+C*p}`,this._append`A${s},${s},0,0,${+(p*f>d*m)},${this._x1=t+B*h},${this._y1=e+B*l}`}}arc(t,e,i,a,s,r){if(t=+t,e=+e,i=+i,r=!!r,i<0)throw new Error(`negative radius: ${i}`);let o=i*Math.cos(a),h=i*Math.sin(a),l=t+o,d=e+h,p=1^r,u=r?a-s:s-a;this._x1===null?this._append`M${l},${d}`:(Math.abs(this._x1-l)>Et||Math.abs(this._y1-d)>Et)&&this._append`L${l},${d}`,i&&(u<0&&(u=u%ci+ci),u>Xs?this._append`A${i},${i},0,1,${p},${t-o},${e-h}A${i},${i},0,1,${p},${this._x1=l},${this._y1=d}`:u>Et&&this._append`A${i},${i},0,${+(u>=pi)},${p},${this._x1=t+i*Math.cos(s)},${this._y1=e+i*Math.sin(s)}`)}rect(t,e,i,a){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${i=+i}v${+a}h${-i}Z`}toString(){return this._}};function as(){return new Ot}as.prototype=Ot.prototype;function zt(n){let t=3;return n.digits=function(e){if(!arguments.length)return t;if(e==null)t=null;else{let i=Math.floor(e);if(!(i>=0))throw new RangeError(`invalid digits: ${e}`);t=i}return n},()=>new Ot(t)}function qs(n){return n.innerRadius}function Js(n){return n.outerRadius}function Qs(n){return n.startAngle}function tr(n){return n.endAngle}function er(n){return n&&n.padAngle}function ir(n,t,e,i,a,s,r,o){var h=e-n,l=i-t,d=r-a,p=o-s,u=p*h-d*l;if(!(u*u<j))return u=(d*(t-s)-p*(n-a))/u,[n+u*h,t+u*l]}function $e(n,t,e,i,a,s,r){var o=n-e,h=t-i,l=(r?s:-s)/Mt(o*o+h*h),d=l*h,p=-l*o,u=n+d,f=t+p,m=e+d,g=i+p,x=(u+m)/2,v=(f+g)/2,c=m-u,D=g-f,C=c*c+D*D,B=a-s,H=u*g-m*f,z=(D<0?-1:1)*Mt(es(0,B*B*C-H*H)),N=(H*D-c*z)/C,I=(-H*c-D*z)/C,E=(H*D+c*z)/C,L=(-H*c+D*z)/C,F=N-x,y=I-v,T=E-x,S=L-v;return F*F+y*y>T*T+S*S&&(N=E,I=L),{cx:N,cy:I,x01:-d,y01:-p,x11:N*(a/B-1),y11:I*(a/B-1)}}function sr(){var n=qs,t=Js,e=$(0),i=null,a=Qs,s=tr,r=er,o=null,h=zt(l);function l(){var d,p,u=+n.apply(this,arguments),f=+t.apply(this,arguments),m=a.apply(this,arguments)-re,g=s.apply(this,arguments)-re,x=di(g-m),v=g>m;if(o||(o=d=h()),f<u&&(p=f,f=u,u=p),!(f>j))o.moveTo(0,0);else if(x>is-j)o.moveTo(f*kt(m),f*it(m)),o.arc(0,0,f,m,g,!v),u>j&&(o.moveTo(u*kt(g),u*it(g)),o.arc(0,0,u,g,m,v));else{var c=m,D=g,C=m,B=g,H=x,z=x,N=r.apply(this,arguments)/2,I=N>j&&(i?+i.apply(this,arguments):Mt(u*u+f*f)),E=Se(di(f-u)/2,+e.apply(this,arguments)),L=E,F=E,y,T;if(I>j){var S=ui(I/u*it(N)),Ct=ui(I/f*it(N));(H-=S*2)>j?(S*=v?1:-1,C+=S,B-=S):(H=0,C=B=(m+g)/2),(z-=Ct*2)>j?(Ct*=v?1:-1,c+=Ct,D-=Ct):(z=0,c=D=(m+g)/2)}var at=f*kt(c),nt=f*it(c),Rt=u*kt(B),ae=u*it(B);if(E>j){var ne=f*kt(D),oe=f*it(D),Me=u*kt(C),Ee=u*it(C),ot;if(x<jt)if(ot=ir(at,nt,Me,Ee,ne,oe,Rt,ae)){var Oe=at-ot[0],He=nt-ot[1],Ne=ne-ot[0],Fe=oe-ot[1],mi=1/it(ss((Oe*Ne+He*Fe)/(Mt(Oe*Oe+He*He)*Mt(Ne*Ne+Fe*Fe)))/2),gi=Mt(ot[0]*ot[0]+ot[1]*ot[1]);L=Se(E,(u-gi)/(mi-1)),F=Se(E,(f-gi)/(mi+1))}else L=F=0}z>j?F>j?(y=$e(Me,Ee,at,nt,f,F,v),T=$e(ne,oe,Rt,ae,f,F,v),o.moveTo(y.cx+y.x01,y.cy+y.y01),F<E?o.arc(y.cx,y.cy,F,W(y.y01,y.x01),W(T.y01,T.x01),!v):(o.arc(y.cx,y.cy,F,W(y.y01,y.x01),W(y.y11,y.x11),!v),o.arc(0,0,f,W(y.cy+y.y11,y.cx+y.x11),W(T.cy+T.y11,T.cx+T.x11),!v),o.arc(T.cx,T.cy,F,W(T.y11,T.x11),W(T.y01,T.x01),!v))):(o.moveTo(at,nt),o.arc(0,0,f,c,D,!v)):o.moveTo(at,nt),!(u>j)||!(H>j)?o.lineTo(Rt,ae):L>j?(y=$e(Rt,ae,ne,oe,u,-L,v),T=$e(at,nt,Me,Ee,u,-L,v),o.lineTo(y.cx+y.x01,y.cy+y.y01),L<E?o.arc(y.cx,y.cy,L,W(y.y01,y.x01),W(T.y01,T.x01),!v):(o.arc(y.cx,y.cy,L,W(y.y01,y.x01),W(y.y11,y.x11),!v),o.arc(0,0,u,W(y.cy+y.y11,y.cx+y.x11),W(T.cy+T.y11,T.cx+T.x11),v),o.arc(T.cx,T.cy,L,W(T.y11,T.x11),W(T.y01,T.x01),!v))):o.arc(0,0,u,B,C,v)}if(o.closePath(),d)return o=null,d+""||null}return l.centroid=function(){var d=(+n.apply(this,arguments)+ +t.apply(this,arguments))/2,p=(+a.apply(this,arguments)+ +s.apply(this,arguments))/2-jt/2;return[kt(p)*d,it(p)*d]},l.innerRadius=function(d){return arguments.length?(n=typeof d=="function"?d:$(+d),l):n},l.outerRadius=function(d){return arguments.length?(t=typeof d=="function"?d:$(+d),l):t},l.cornerRadius=function(d){return arguments.length?(e=typeof d=="function"?d:$(+d),l):e},l.padRadius=function(d){return arguments.length?(i=d==null?null:typeof d=="function"?d:$(+d),l):i},l.startAngle=function(d){return arguments.length?(a=typeof d=="function"?d:$(+d),l):a},l.endAngle=function(d){return arguments.length?(s=typeof d=="function"?d:$(+d),l):s},l.padAngle=function(d){return arguments.length?(r=typeof d=="function"?d:$(+d),l):r},l.context=function(d){return arguments.length?(o=d??null,l):o},l}var Pn=Array.prototype.slice;function Ae(n){return typeof n=="object"&&"length"in n?n:Array.from(n)}function ns(n){this._context=n}ns.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,t){switch(n=+n,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,t):this._context.moveTo(n,t);break;case 1:this._point=2;default:this._context.lineTo(n,t);break}}};function Be(n){return new ns(n)}function Ie(n){return n[0]}function Le(n){return n[1]}function fi(n,t){var e=$(!0),i=null,a=Be,s=null,r=zt(o);n=typeof n=="function"?n:n===void 0?Ie:$(n),t=typeof t=="function"?t:t===void 0?Le:$(t);function o(h){var l,d=(h=Ae(h)).length,p,u=!1,f;for(i==null&&(s=a(f=r())),l=0;l<=d;++l)!(l<d&&e(p=h[l],l,h))===u&&((u=!u)?s.lineStart():s.lineEnd()),u&&s.point(+n(p,l,h),+t(p,l,h));if(f)return s=null,f+""||null}return o.x=function(h){return arguments.length?(n=typeof h=="function"?h:$(+h),o):n},o.y=function(h){return arguments.length?(t=typeof h=="function"?h:$(+h),o):t},o.defined=function(h){return arguments.length?(e=typeof h=="function"?h:$(!!h),o):e},o.curve=function(h){return arguments.length?(a=h,i!=null&&(s=a(i)),o):a},o.context=function(h){return arguments.length?(h==null?i=s=null:s=a(i=h),o):i},o}function rr(n,t,e){var i=null,a=$(!0),s=null,r=Be,o=null,h=zt(l);n=typeof n=="function"?n:n===void 0?Ie:$(+n),t=typeof t=="function"?t:t===void 0?$(0):$(+t),e=typeof e=="function"?e:e===void 0?Le:$(+e);function l(p){var u,f,m,g=(p=Ae(p)).length,x,v=!1,c,D=new Array(g),C=new Array(g);for(s==null&&(o=r(c=h())),u=0;u<=g;++u){if(!(u<g&&a(x=p[u],u,p))===v)if(v=!v)f=u,o.areaStart(),o.lineStart();else{for(o.lineEnd(),o.lineStart(),m=u-1;m>=f;--m)o.point(D[m],C[m]);o.lineEnd(),o.areaEnd()}v&&(D[u]=+n(x,u,p),C[u]=+t(x,u,p),o.point(i?+i(x,u,p):D[u],e?+e(x,u,p):C[u]))}if(c)return o=null,c+""||null}function d(){return fi().defined(a).curve(r).context(s)}return l.x=function(p){return arguments.length?(n=typeof p=="function"?p:$(+p),i=null,l):n},l.x0=function(p){return arguments.length?(n=typeof p=="function"?p:$(+p),l):n},l.x1=function(p){return arguments.length?(i=p==null?null:typeof p=="function"?p:$(+p),l):i},l.y=function(p){return arguments.length?(t=typeof p=="function"?p:$(+p),e=null,l):t},l.y0=function(p){return arguments.length?(t=typeof p=="function"?p:$(+p),l):t},l.y1=function(p){return arguments.length?(e=p==null?null:typeof p=="function"?p:$(+p),l):e},l.lineX0=l.lineY0=function(){return d().x(n).y(t)},l.lineY1=function(){return d().x(n).y(e)},l.lineX1=function(){return d().x(i).y(t)},l.defined=function(p){return arguments.length?(a=typeof p=="function"?p:$(!!p),l):a},l.curve=function(p){return arguments.length?(r=p,s!=null&&(o=r(s)),l):r},l.context=function(p){return arguments.length?(p==null?s=o=null:o=r(s=p),l):s},l}function os(n,t,e){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-t),n._y2+n._k*(n._y1-e),n._x2,n._y2)}function ls(n,t){this._context=n,this._k=(1-t)/6}ls.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:os(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(n,t){switch(n=+n,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,t):this._context.moveTo(n,t);break;case 1:this._point=2,this._x1=n,this._y1=t;break;case 2:this._point=3;default:os(this,n,t);break}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ar=(function n(t){function e(i){return new ls(i,t)}return e.tension=function(i){return n(+i)},e})(0);function hs(n,t){this._context=n,this._t=t}hs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(n,t){switch(n=+n,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,t):this._context.moveTo(n,t);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(n,t);else{var e=this._x*(1-this._t)+n*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,t)}break}}this._x=n,this._y=t}};function nr(n){return new hs(n,1)}export{lt as a,Yt as b,Ei as c,$t as d,me as e,ds as f,us as g,_e as h,ht as i,fs as j,dt as k,yt as l,ms as m,gs as n,ys as o,Ts as p,Nt as q,Q as r,ut as s,De as t,At as u,dr as v,ur as w,pr as x,V as y,U as z,vt as A,xt as B,Pe as C,Hr as D,tt as E,ct as F,G,bt as H,Dt as I,st as J,Wt as K,Vt as L,oi as M,Fs as N,Bt as O,M as P,rt as Q,K as R,b as S,ts as T,Ce as U,Ki as V,Jt as W,Tt as X,Yi as Y,et as Z,Xi as _,Us as $,qi as aa,zs as ba,It as ca,Ji as da,Gs as ea,Qi as fa,Qt as ga,wt as ha,Lt as ia,te as ja,sr as ka,fi as la,rr as ma,ar as na,nr as oa,Pt as pa,ee as qa,ie as ra,se as sa};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as f,b as y,c as v}from"./LGW5AS6R.js";import{a}from"./TN5C3MSL.js";import{a as p}from"./QDXORLKV.js";import b from"./FZWFKZLW.js";import{f as m}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{N as e,O as s,P as n,R as l,X as c,a as o,b as t,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:w},u,{c:d}])=>{var R=o`:host{width:100%;height:100%}`,g=d(u,{omitProps:["container","focusRegionEnabled","navigation","scale","ui"]}),r=class extends n{constructor(){super(),this._containerRef=e(),this._direction=m(),this._mapRef=e(),this._slotGroupRefs=y(),this.autoDestroyDisabled=!1,this.view=g(this),this.attributionMode=this.view.attributionMode,this.ready=this.view.ready,this.layer=this.view.layer,this.map=this.view.map,this.operationalDataVisible=this.view.operationalDataVisible,this.arcgisViewReadyChange=h()}static{this.properties={autoDestroyDisabled:5,view:32,aria:0,attributionMode:1,ready:36,layer:0,map:0,operationalDataVisible:5}}static{this.styles=[p,f,R]}get aria(){return this.view?.aria}set aria(i){this.view&&(this.view.aria=i)}async destroy(){await this.manager.destroy()}loaded(){let i=this;i.el.childElem=this._mapRef.value,this.view.container??=i.el.childElem,this.manager.onLifecycle(()=>[w(()=>this.layer,()=>{this.layer&&this.view&&(this.view.layer=this.layer,this.layer.loaded||this.layer.load())},{initial:!0}),w(()=>this.view.ready,()=>{this.view.ready&&this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}renderMain(){return t`<div class=${`root ${a.base}`} ${s(this._mapRef)}></div>`}render(){return t`${this.renderMain()}<section class=${l(a.containerUI)} ${s(this._containerRef)}>${v({direction:this._direction,slotGroupRefs:this._slotGroupRefs})}</section>`}};c("arcgis-video",r);return r},"core/reactiveUtils","views/VideoView",b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{g as r}from"./JAZGNQRP.js";import{Y as o}from"./EKR2SAT2.js";var s=r(o);export{s as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./3O4SVNIK.js";import"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,{c:r}])=>{return r},"widgets/BatchAttributeForm/inputs/support/inputUtils",a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{j as m}from"./KM2GXXBO.js";import"./QMQV37ML.js";import"./GIOUZTHM.js";import{v as p}from"./TZHXSIXK.js";import"./PLTLRYBF.js";import"./T2DT5I33.js";import"./6NWR2Z4F.js";import"./H6RQVSYM.js";export default $arcgis.t(([{getLocale:a,getLocaleLanguage:n}])=>{p("AM5C241025748");var e="en-US",o=new Map([["ar",()=>import("./5M56ZA46.js")],["bg-BG",()=>import("./QMYL4UM7.js")],["bs-BA",()=>import("./7FVXPOAG.js")],["ca-ES",()=>import("./MUWOF7W4.js")],["cs-CZ",()=>import("./RYYBMDGS.js")],["da-DK",()=>import("./BLYJE76S.js")],["de-DE",()=>import("./BIWQEPK4.js")],["de-CH",()=>import("./OUXE3CSQ.js")],["el-GR",()=>import("./D3LYSFXK.js")],["en-US",()=>import("./GQ6SYNZS.js")],["en-CA",()=>import("./3XEPXV4Q.js")],["es-ES",()=>import("./ZWN6DXNO.js")],["et-EE",()=>import("./45JO7F4Y.js")],["fi-FI",()=>import("./27MP6TEF.js")],["fr-FR",()=>import("./43IOCYG5.js")],["he-IL",()=>import("./COKGOKO2.js")],["hr-HR",()=>import("./AZ73DBU3.js")],["hu-HU",()=>import("./OCLOCCB6.js")],["id-ID",()=>import("./4W35GLNO.js")],["it-IT",()=>import("./BEFZSVBT.js")],["ja-JP",()=>import("./UPZVIKOH.js")],["ko-KR",()=>import("./AYJQLWX4.js")],["lt-LT",()=>import("./VWN2LORT.js")],["lv-LV",()=>import("./OJXNUBIA.js")],["no-NO",()=>import("./CESFJ6AD.js")],["nb-NO",()=>import("./CESFJ6AD.js")],["nl-NL",()=>import("./5CER2N5T.js")],["pl-PL",()=>import("./I5ZESLWO.js")],["pt-BR",()=>import("./FMBY3L4S.js")],["pt-PT",()=>import("./B4CANXID.js")],["ro-RO",()=>import("./PXAY7IM4.js")],["ru-RU",()=>import("./KO7RD6SS.js")],["sk-SK",()=>import("./3JCF73F4.js")],["sl-SL",()=>import("./XAMLHDWZ.js")],["sr-RS",()=>import("./EAM45WZP.js")],["sv-SE",()=>import("./VCRVQMYT.js")],["th-TH",()=>import("./UINNR6FV.js")],["tr-TR",()=>import("./RFSBZHJD.js")],["uk-UA",()=>import("./LQ76PRWK.js")],["vi-VN",()=>import("./QPFX5XH3.js")],["zh-CN",()=>import("./H4FH2RBM.js")],["zh-HK",()=>import("./EDTGV4YF.js")],["zh-TW",()=>import("./EDTGV4YF.js")]]);function s(t){if(!t)return e;if(o.has(t))return t;let r=n();return r&&o.has(r)?r:e}async function l(t,r=a()){let i=m.new(t);return i.locale=(await o.get(s(r))()).default,i}return l},"intl")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import b from"./GXRPNW37.js";import a from"./TMJX7DFH.js";import"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,a])=>{return a},a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{D as u,E as d,F as g,N as y,O as f,P as _,S as v,X as b,a as h,b as s,e as p,f as l,p as m}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([x,{isSharedTemplateMetadata:D,isStandardFeatureTemplate:C},{renderPreviewHTML:L},{isTable:M}])=>{var n=class extends g{constructor(t){if(super(t),this.it=l,t.type!==u.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===l||t==null)return this._t=void 0,this.it=t;if(t===p)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let i=[t];return i.raw=i,this._t={_$litType$:this.constructor.resultType,strings:i,values:[]}}};n.directiveName="unsafeHTML",n.resultType=1;var w=d(n);var O=h`.esri-thumbnail-preview{width:22px;height:22px;background-position:50% 50%;background-repeat:no-repeat}.template-image-container{width:32px;height:32px;display:flex;align-items:center;justify-content:center}`;async function $(e,t,i){if(D(e)&&e.thumbnail){let T=`data:image/png;base64,${e.thumbnail.imageData}`;return s`<div class="esri-thumbnail-preview" style=${v({backgroundImage:`url(${T})`})}></div>`}if(M(t))return s`<calcite-icon icon=table scale=s></calcite-icon>`;let r=await H(t,e);if(r==null)return null;let a={maxSize:24,ariaLabel:i?.ariaLabel};C(e)&&"renderer"in t&&t.renderer?.type==="dictionary"&&(a.fieldMap=t.renderer.fieldMap??void 0,a.feature={attributes:e.prototype.attributes??{}});let o=await L(r,a);return o?s`${w(o.outerHTML)}`:null}async function H(e,t){if(D(t))return await I(e);if("renderer"in e&&e.renderer){let{renderer:i}=e,r=new x({attributes:t.prototype.attributes});if("getSymbolAsync"in i){let a=await i.getSymbolAsync(r);if(a)return a}}return await I(e)}async function S(e){let t=e==="point"||e==="multipoint"?await $arcgis.t(m=>m[0],"symbols/SimpleMarkerSymbol"):e==="polyline"?await $arcgis.t(m=>m[0],"symbols/SimpleLineSymbol"):e==="polygon"||e==="mesh"||e==="multipatch"?await $arcgis.t(m=>m[0],"symbols/SimpleFillSymbol"):null;return t?new t.default:null}async function I(e){return"geometryType"in e&&e.geometryType?await S(e.geometryType):null}var c=class extends _{constructor(){super(...arguments),this._lastRun=0,this._attempted=!1,this._isCurrentlyInView=!1,this._intersectionObserver=null,this._imageContainerDiv=y(),this._generatedImageData=null}static{this.properties={_generatedImageData:16,template:0}}static{this.styles=O}get rootLayer(){return this.template?.layer?.type==="subtype-sublayer"?this.template.layer.parent:this.template?.layer}willUpdate(t){t.has("template")&&(this.hasUpdated||this.template!==null)&&this._resetData()}updated(){!this._attempted&&this._isCurrentlyInView&&(this._attempted=!0,this._handleImage().catch(t=>{m("warn",this,"Failed processing image")}))}loaded(){this.manager.onLifecycle(()=>(this._addIntersectionObserver(),()=>{this._removeIntersectionObserver()}))}_resetData(){this._generatedImageData=null,this._attempted=!1}async _generateImage(){return this.template?await $(this.template.template,this.template.layer):""}async _handleImage(){let t=++this._lastRun;if(!this._generatedImageData||this._generatedImageData==="")try{let i=await this._generateImage();if(this._lastRun!==t||this._generatedImageData===i)return;this._generatedImageData=i}finally{this._attempted=!0}}_addIntersectionObserver(){let t={rootMargin:"50px 0px",threshold:.01};this._imageContainerDiv.value&&requestAnimationFrame(()=>{this.isConnected&&(this._intersectionObserver=new IntersectionObserver(i=>{let r=!1;i.forEach(a=>{a.intersectionRatio>0&&!r?(r=!0,this._isCurrentlyInView=!0,this._handleImage().catch(o=>{m("warn",this,"Failed processing image")})):this._isCurrentlyInView=!1})},t),this._intersectionObserver?.observe(this._imageContainerDiv.value))})}_removeIntersectionObserver(){this._intersectionObserver?.disconnect(),this._intersectionObserver=null}render(){return s`<div class="template-image-container" ${f(this._imageContainerDiv)}>${this._generatedImageData??""}</div>`}};b("arcgis-template-image",c);return c},"Graphic","applications/Components/templateUtils","symbols/support/symbolUtils","applications/Components/layerUtils")
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./QJWFZYU4.js";import"./KBHLE7HT.js";import"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import a from"./WVRJQQKH.js";import"./KBHLE7HT.js";import"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import d from"./WVRJQQKH.js";import{a as c}from"./KBHLE7HT.js";import b from"./TMJX7DFH.js";import{a as w}from"./WEAGLY7B.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{R as g,V as h,X as y,a as f,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{stripHTML:_},{formatNumber:F,substitute:b},{h:u},$])=>{var v=f`:host{position:relative;flex:1 1 auto}.list-item--hidden{display:none}.feature-observer{bottom:var(--calcite-spacing-xxl);position:relative;text-align:center;z-index:2}.loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.notice-container{margin-bottom:var(--calcite-spacing-xs)}`,A="nested",m=class extends ${constructor(){super(...arguments),this._messagesFeature=w({name:"feature",blocking:!0}),this.autoDestroyDisabled=!1,this.displayCount=3,this.useFeatureNextFlowItem=!1,this.flowType="feature-utility-network-association-type"}static{this.properties={autoDestroyDisabled:5,description:1,displayCount:9,flowItems:0,useFeatureNextFlowItem:5,flowType:1,heading:1,map:0,messageOverrides:0,referenceElement:1,spatialReference:0,timeZone:1,view:0}}static{this.styles=v}async destroy(){await this.manager.destroy()}_featureViewModelMatch(e,t){let i=e.graphic,s=i?.layer,o=null;u(s)&&s.parent?o=s.parent.globalIdField??null:s&&"globalIdField"in s&&(o=s.globalIdField);let r=o?i?.getAttribute(o):null,l=t.graphic,n=l?.layer,d=null;u(n)&&n.parent?d=n.parent.globalIdField??null:n&&"globalIdField"in n&&(d=n.globalIdField);let p=d?l?.getAttribute(d):null;return!!(r&&p&&r===p)}_findFlowItem(e){return this.flowItems?.findIndex(t=>{if(t.flowType!=="feature-association")return!1;let i=t.viewModel;return this._featureViewModelMatch(i,e)})??-1}_formatPercentAlong(e){let{percentAlong:t}=e;return t==null?"":F(t,{style:"percent",maximumFractionDigits:2})}async _handleFeatureClick(e,t,i){let{flowItems:s}=this;if(e){s?.destroyAll();return}if(t<0||!s){await this._selectAssociation(i);return}for(;s.length>t+1;)s.pop()}_isConnectivityAssociation(e){let{associationType:t}=e;return t==="connectivity"||t==="junction-junction-connectivity"||t==="junction-edge-from-connectivity"||t==="junction-edge-midspan-connectivity"||t==="junction-edge-to-connectivity"}_isConnectivityMidspanAssociation(e){return e.associationType==="junction-edge-midspan-connectivity"}_isParentFeature(e){let t=this.flowItems?.getItemAt(0);if(!t)return!1;let i=t.parentFeatureViewModel;return this._featureViewModelMatch(i,e)}async _selectAssociation(e){let{flowItems:t}=this;if(!t)return;let i=this.useFeatureNextFlowItem?h(c(this.parentFeatureViewModel,a`<arcgis-feature-next .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature-next>`)):h(c(this.parentFeatureViewModel,a`<arcgis-feature .autoDestroyDisabled=${this.autoDestroyDisabled} .flowItems=${t} .flowType=${"feature-association"} .graphic=${e.graphic} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view}></arcgis-feature>`));t.push(i)}_showAllAssociations(e){let{flowItems:t,description:i}=this;if(!t||!e)return;this.showAllEnabled=!0;let s=e?.title??"";t.push(h(a`<arcgis-feature-utility-network-association-list .autoDestroyDisabled=${this.autoDestroyDisabled} .associationViewModels=${this.associationViewModels} .description=${i} .flowItems=${t} .flowType=${this.flowType} .heading=${s} .messageOverrides=${this.messageOverrides} .parentFeatureViewModel=${this.parentFeatureViewModel} .referenceElement=${this.referenceElement} .selectedLayer=${e} .showAllEnabled=${this.showAllEnabled} .useFeatureNextFlowItem=${this.useFeatureNextFlowItem}></arcgis-feature-utility-network-association-list>`))}render(){let{associationViewModels:e,state:t}=this,i=this.selectedLayer?.title??this._messagesFeature.noTitle??"";return a`<div class="root">${t==="loading"||t==="querying"?this._renderLoading():a`<calcite-list .displayMode=${A} .filterEnabled=${this.showAllEnabled&&!!this.selectedLayer} .filterLabel=${this._messages.associationFilterPlaceholder} .filterPlaceholder=${this._messages.associationFilterPlaceholder} .label=${i}>${this.showAllEnabled&&this.selectedLayer?a`${this._renderFeatureCountWarning()}${this._renderAssociatedFeatureListPage()}${this._renderFeatureObserver()}`:Array.from(e.keys(),s=>this._renderTypeList(s))}</calcite-list>`}</div>`}_renderAssociatedFeature(e){let{featureViewModel:t,title:i}=e,s=this.state==="loading",o=this._findFlowItem(t),r=o<0&&this._isParentFeature(t),l=r||o>=0,n=`associated-feature-${e.association.globalId}`;return a`<calcite-list-item class=${g(s?"list-item--hidden":"")} .description=${_(e.terminalName??"")} .label=${_(i)} @calciteListItemSelect=${async()=>await this._handleFeatureClick(r,o,t)}>${this._isConnectivityAssociation(e.association)?this._renderConnectivityIcon(e.association.associationType,n):null}${this._isConnectivityMidspanAssociation(e.association)?a`<calcite-chip .label=${this._formatPercentAlong(e.association)} scale=s slot=content-end>${this._formatPercentAlong(e.association)}</calcite-chip>`:null}${this._renderChevronIconNode(l)}</calcite-list-item>`}_renderAssociatedFeatureList(e){return e.toArray().map(t=>this._renderAssociatedFeature(t))}_renderAssociatedFeatureListPage(){let e=this.associationViewModels.get(this.selectedLayer).slice(0,this.endIndex);return[...this._renderTooltips(e),...this._renderAssociatedFeatureList(e)]}_renderChevronIconNode(e){return a`<calcite-icon flip-rtl .icon=${e?"move-up":"chevron-right"} scale=s slot=content-end></calcite-icon>`}_renderItemTooltip(e){let{tooltipReferenceMap:t}=this,i=`associated-feature-${e.association.globalId}`;return this._isConnectivityAssociation(e.association)?a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(i)}>${this.getConnectivityTooltip(e.association.associationType)}</calcite-tooltip>`:null}_renderTypeList(e){let{displayCount:t}=this,i=this.associationViewModels.get(e),s=i.slice(0,t),o=s.length<i.length,r=b(this._messagesFeature.numberRecords??"",{number:i.length.toString()}),l=this._messagesFeature.showAll??"";return c("show-all",a`<calcite-list-item expanded .label=${e.title} .value=${e.id}><calcite-chip .label=${String(i.length)} scale=s slot=content-end>${i.length}</calcite-chip><calcite-list .group=${e.id} .label=${e.title??""}>${[this._renderTooltips(s),this._renderAssociatedFeatureList(s)]}${o?c("show-all-item",a`<calcite-list-item .description=${r} .label=${l} @calciteListItemSelect=${()=>this._showAllAssociations(e)}><calcite-icon icon=list scale=s slot=content-end></calcite-icon></calcite-list-item>`):null}</calcite-list></calcite-list-item>`)}_renderTooltips(e){return e.toArray().map(t=>this._renderItemTooltip(t))}};y("arcgis-feature-utility-network-association-list",m);return m},"applications/Components/stringUtils","intl",b,d)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import h from"./B5GJ5JEW.js";import{a as X,b as G,c as E,d as m,e as M,f as I,g as u,j as g,k as v}from"./BAOWXZTE.js";import{a as d}from"./POKO37D3.js";import f from"./DSDPDMLP.js";import"./VJVKFKSG.js";import{a as J}from"./UMHGXP3S.js";import e from"./CQQM24VF.js";import{a as F}from"./WEAGLY7B.js";import{a as $}from"./JD74LG7K.js";import c from"./FZWFKZLW.js";import b from"./JBHRVHGS.js";import{h as H}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{N as A,O as k,P as C,R as z,S as j,U as S,X as B,a as P,b as p,x as L}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([re,{property:a,subclass:se},{watch:ne},{convertUnit:K},,,,q,{e:T},Z])=>{var ae=P`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-view-corner-radius: var(--arcgis-view-corner-radius, 0px);--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}.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{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__heading{word-break:break-word}.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}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted var(--calcite-color-foreground-current)}}.esri-slider{-webkit-user-select:none;user-select:none;direction:ltr;width:100%;height:100%;display:flex}.esri-disabled{pointer-events:none}.esri-disabled .esri-slider__content,.esri-disabled .esri-slider__min,.esri-disabled .esri-slider__max{opacity:var(--calcite-opacity-light)}.esri-slider--reversed.esri-slider--horizontal{flex-direction:row-reverse}.esri-slider--reversed.esri-slider--vertical{flex-direction:column}.esri-slider--horizontal{flex-direction:row}.esri-slider--horizontal .esri-slider__content{height:auto}.esri-slider--horizontal .esri-slider__track{width:100%;height:2px}.esri-slider--horizontal .esri-slider__segment--interactive:hover{cursor:ew-resize}.esri-slider--horizontal .esri-slider__anchor{width:1px;height:100%}.esri-slider--horizontal .esri-slider__label{text-align:center;margin:0 11px;top:-30px;left:-50px}.esri-slider--horizontal .esri-slider__label-input{text-align:center}.esri-slider--horizontal .esri-slider__max,.esri-slider--horizontal .esri-slider__min{flex:none;width:50px;height:auto;margin:auto}.esri-slider--horizontal .esri-slider__ticks{width:100%;margin:9px 0 0;top:100%;left:0}.esri-slider--horizontal .esri-slider__tick{width:1px;height:5px}.esri-slider--horizontal .esri-slider__tick-label{margin-top:18px}.esri-slider--vertical{flex-direction:column-reverse}.esri-slider--vertical .esri-slider__content{flex-direction:column;width:auto}.esri-slider--vertical .esri-slider__track{flex-direction:column;flex:1 0 0;width:2px;height:100%}.esri-slider--vertical .esri-slider__segment--interactive:hover{cursor:ns-resize}.esri-slider--vertical .esri-slider__anchor{width:100%;height:1px}.esri-slider--vertical .esri-slider__label{text-align:left;top:-10px;left:20px}.esri-slider--vertical .esri-slider__max,.esri-slider--vertical .esri-slider__min{flex:0 0 22px;width:100%;margin:auto}.esri-slider--vertical .esri-slider__ticks{margin:0 0 0 11px;top:0;left:100%}.esri-slider--vertical .esri-slider__tick{width:5px;height:1px}.esri-slider--vertical .esri-slider__tick-label{margin-left:30px}.esri-slider__content{z-index:0;flex:1 0 auto;justify-content:center;align-items:center;margin:auto;line-height:0;display:flex;position:relative}.esri-slider__track{touch-action:none;background-color:var(--calcite-color-border-ghost);display:inline-block;position:relative}.esri-slider__segment{transform-origin:0 0;will-change:transform;touch-action:none;width:100%;height:100%;position:absolute;top:0;left:0}.esri-slider__segment:hover{cursor:pointer}.esri-slider__anchor{touch-action:none;-webkit-user-select:none;user-select:none;background-color:var(--calcite-color-brand);position:absolute}.esri-slider__anchor:focus .esri-slider__thumb,.esri-slider__anchor:focus .esri-slider__label{outline:inherit}.esri-slider__anchor--moving:focus .esri-slider__thumb{cursor:grabbing;border:3px solid var(--calcite-color-brand-press)}.esri-slider__anchor--moving .esri-slider__label:hover,.esri-slider__anchor--moving .esri-slider__label--interactive:hover{cursor:grabbing}.esri-slider__thumb{box-sizing:border-box;z-index:1;touch-action:none;background-color:var(--calcite-color-foreground-2);border:2px solid var(--calcite-color-brand);border-radius:16px;width:16px;height:16px;transition:all .125s ease-in-out;position:absolute;top:-7px;left:-7px}.esri-slider__thumb:hover{cursor:grab;border-width:3px;border-color:var(--calcite-color-brand-press);width:19.2px;height:19.2px;top:-8.6px;left:-8.6px}.esri-slider__label{min-width:80px;line-height:var(--calcite-font-line-height-fixed-xl);position:absolute}.esri-slider__label:hover{cursor:grab}.esri-slider__label--interactive:hover,.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{cursor:pointer;text-decoration:underline}.esri-slider__label-input{z-index:1;width:100%;position:relative}.esri-slider__extra-content{display:inline-block}.esri-slider__max,.esri-slider__min{text-align:center;justify-content:center;align-items:center;height:22px;line-height:var(--calcite-font-line-height-fixed-xl);display:flex}.esri-slider__max--interactive:hover,.esri-slider__min--interactive:hover{background-color:var(--calcite-color-foreground-2)}.esri-slider__range-input{text-align:center;width:100%;padding:1px 0}.esri-slider__ticks{z-index:0;height:100%;display:inline-block;position:absolute}.esri-slider__tick{background:var(--calcite-color-foreground-1);position:absolute}.esri-slider__tick-label{width:max-content;position:absolute}:dir(rtl) .esri-slider__label,:dir(rtl) .esri-slider__max,:dir(rtl) .esri-slider__min,:dir(rtl) .esri-slider__tick-label{direction:rtl;unicode-bidi:plaintext}:dir(rtl) .esri-slider__range-input,:dir(rtl) .esri-slider__label-input{unicode-bidi:plaintext}:host{width:300px;position:relative}.root{--calcite-label-margin-bottom: 0;padding:var(--arcgis-internal-padding)}.content{flex-direction:column;display:flex;gap:var(--arcgis-internal-panel-gap)}.header{display:flex;align-items:center;justify-content:space-between;margin-block-end:var(--calcite-spacing-sm);&.no-content{margin-block-end:calc(var(--calcite-spacing-sm) * -1)}}.heading{margin:0}.settings-content{display:flex;flex-direction:column;gap:var(--calcite-spacing-xxl);padding:var(--calcite-spacing-md);>div{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);>p{margin:0;font-size:var(--calcite-font-size-md)}}}.warning-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}`,le=Object.defineProperty,oe=Object.getOwnPropertyDescriptor,n=(i,t,e,r)=>{for(var l=r>1?void 0:r?oe(t,e):t,c=i.length-1,h;c>=0;c--)(h=i[c])&&(l=(r?h(t,e,l):h(l))||l);return r&&l&&le(t,e,l),l},s=class extends Z{constructor(){super(...arguments),this._resettingUnits=!1,this.supportedViewType="3d",this.unsupportedErrorMessage="The Volume Measurement component is only supported in 3D views."}initialize(){this.addHandles([ne(()=>({analysis:this.analysis,volumeDisplayUnit:this._userVolumeDisplayUnit,elevationDisplayUnit:this._userElevationDisplayUnit,areaDisplayUnit:this._userAreaDisplayUnit,perimeterDisplayUnit:this._userPerimeterDisplayUnit,elevationInputUnit:this._userElevationInputUnit}),({analysis:i,volumeDisplayUnit:t,elevationDisplayUnit:e,areaDisplayUnit:r,perimeterDisplayUnit:l,elevationInputUnit:c})=>{this._resettingUnits||(t&&(i.displayUnits.volume=t),e&&(i.displayUnits.elevation=e),r&&(i.displayUnits.area=r),l&&(i.displayUnits.length=l),c&&(i.inputUnits.elevation=c))},{sync:!0,initial:!0})])}get _defaultElevationInputUnit(){return this.defaultMeasurementSystem==="metric"?"meters":"feet"}get state(){let{analysis:i,disabled:t,operationState:e,ready:r,supported:l}=this,{valid:c}=i;return X({supported:l,disabled:t,ready:r,operationState:e,valid:c})}get displayState(){return G(this.state,this.analysis.geometry!=null)}get measurement(){let{analysisView:i}=this,t=i?.result,e=i?.error==null;return{mode:"euclidean",totalVolume:u(t?.totalVolume,e),cutVolume:u(t?.cutVolume,e),fillVolume:u(t?.fillVolume,e),netVolume:u(t?.netVolume,e),area:u(t?.area,e),perimeter:u(t?.perimeter,e)}}constructAnalysis(){return new re}async place(i){await this.analysisView?.place(i)}clearAnalysis(){this.analysis.geometry=null}get volumeDisplayUnitOptions(){return g(this._userVolumeUnitOptions,I,I)}set volumeDisplayUnitOptions(i){this._userVolumeUnitOptions=i}get volumeDisplayUnit(){let i=this.volumeDisplayUnitOptions;return v({userUnit:this._userVolumeDisplayUnit,analysisUnit:this.analysis.displayUnits?.volume,options:i,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.volume})}set volumeDisplayUnit(i){this._userVolumeDisplayUnit=i}get elevationDisplayUnitOptions(){return g(this._userElevationDisplayUnitOptions,m,m)}set elevationDisplayUnitOptions(i){this._userElevationDisplayUnitOptions=i}get elevationDisplayUnit(){let i=this.elevationDisplayUnitOptions;return v({userUnit:this._userElevationDisplayUnit,analysisUnit:this.analysis.displayUnits?.elevation,options:i,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.verticalLength})}set elevationDisplayUnit(i){this._userElevationDisplayUnit=i}get elevationInputUnitOptions(){return g(this._userElevationInputUnitOptions,E,E)}set elevationInputUnitOptions(i){this._userElevationInputUnitOptions=i}get elevationInputUnit(){let i=this.elevationInputUnitOptions,t=this.view?.options.inputUnits.verticalLength,e=t==="imperial"?"feet":t==="metric"?"meters":t;return v({userUnit:this._userElevationInputUnit,analysisUnit:this.analysis.inputUnits?.elevation,options:i,defaultUnit:this._defaultElevationInputUnit,viewUnit:e})}set elevationInputUnit(i){let{cutFillOptions:t,inputUnits:e}=this.analysis,{targetElevation:r}=t;i&&r!=null&&(t.targetElevation=K(r,e.elevation??"meters",i)),this._userElevationInputUnit=i}get areaDisplayUnitOptions(){return g(this._userAreaUnitOptions,M,M)}set areaDisplayUnitOptions(i){this._userAreaUnitOptions=i}get areaDisplayUnit(){let i=this.areaDisplayUnitOptions;return v({userUnit:this._userAreaDisplayUnit,analysisUnit:this.analysis.displayUnits?.area,options:i,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.area})}set areaDisplayUnit(i){this._userAreaDisplayUnit=i}get perimeterDisplayUnitOptions(){return g(this._userPerimeterDisplayUnitOptions,m,m)}set perimeterDisplayUnitOptions(i){this._userPerimeterDisplayUnitOptions=i}get perimeterDisplayUnit(){let i=this.perimeterDisplayUnitOptions;return v({userUnit:this._userPerimeterDisplayUnit,analysisUnit:this.analysis.displayUnits?.length,options:i,defaultUnit:this.defaultMeasurementSystem,viewUnit:this.view?.options.displayUnits.length})}set perimeterDisplayUnit(i){this._userPerimeterDisplayUnit=i}get canResetElevationInputUnit(){return this._userElevationInputUnit!=null||this.analysis.inputUnits.elevation!=null}get canResetElevationDisplayUnit(){return this._userElevationDisplayUnit!=null||this.analysis.displayUnits.elevation!=null}get canResetVolumeDisplayUnit(){return this._userVolumeDisplayUnit!=null||this.analysis.displayUnits.volume!=null}get canResetAreaDisplayUnit(){return this._userAreaDisplayUnit!=null||this.analysis.displayUnits.area!=null}get canResetPerimeterDisplayUnit(){return this._userPerimeterDisplayUnit!=null||this.analysis.displayUnits.length!=null}resetUnit(i){let{cutFillOptions:t,inputUnits:e,displayUnits:r}=this.analysis;this._resettingUnits=!0;try{switch(i){case"elevation-input":{let{targetElevation:l}=t;l!=null&&e.elevation!=null&&(t.targetElevation=K(l,e.elevation,"meters")),this._userElevationInputUnit=void 0,e.elevation=null;break}case"elevation":this._userElevationDisplayUnit=void 0,r.elevation=null;break;case"volume":this._userVolumeDisplayUnit=void 0,r.volume=null;break;case"area":this._userAreaDisplayUnit=void 0,r.area=null;break;case"length":this._userPerimeterDisplayUnit=void 0,r.length=null;break}}finally{this._resettingUnits=!1}}};n([a()],s.prototype,"_defaultElevationInputUnit",1);n([a()],s.prototype,"state",1);n([a()],s.prototype,"displayState",1);n([a({readOnly:!0})],s.prototype,"measurement",1);n([a()],s.prototype,"volumeDisplayUnitOptions",1);n([a()],s.prototype,"volumeDisplayUnit",1);n([a()],s.prototype,"_userVolumeDisplayUnit",2);n([a()],s.prototype,"_userVolumeUnitOptions",2);n([a()],s.prototype,"elevationDisplayUnitOptions",1);n([a()],s.prototype,"elevationDisplayUnit",1);n([a()],s.prototype,"_userElevationDisplayUnit",2);n([a()],s.prototype,"_userElevationDisplayUnitOptions",2);n([a()],s.prototype,"elevationInputUnitOptions",1);n([a()],s.prototype,"elevationInputUnit",1);n([a()],s.prototype,"_userElevationInputUnit",2);n([a()],s.prototype,"_userElevationInputUnitOptions",2);n([a()],s.prototype,"areaDisplayUnitOptions",1);n([a()],s.prototype,"areaDisplayUnit",1);n([a()],s.prototype,"_userAreaDisplayUnit",2);n([a()],s.prototype,"_userAreaUnitOptions",2);n([a()],s.prototype,"perimeterDisplayUnitOptions",1);n([a()],s.prototype,"perimeterDisplayUnit",1);n([a()],s.prototype,"_userPerimeterDisplayUnit",2);n([a()],s.prototype,"_userPerimeterDisplayUnitOptions",2);n([a({readOnly:!0})],s.prototype,"canResetElevationInputUnit",1);n([a({readOnly:!0})],s.prototype,"canResetElevationDisplayUnit",1);n([a({readOnly:!0})],s.prototype,"canResetVolumeDisplayUnit",1);n([a({readOnly:!0})],s.prototype,"canResetAreaDisplayUnit",1);n([a({readOnly:!0})],s.prototype,"canResetPerimeterDisplayUnit",1);s=n([se("components.volume-measurement.VolumeMeasurementViewModel")],s);var ce=q(s),V=class extends C{constructor(){super(...arguments),this.viewModel=ce(this),this.messages=F({blocking:!0}),this.#e=A(),this._settingsPopoverIsOpen=!1,this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.icon="cut-and-fill-volume-calculation",this.interactionDisabled=this.viewModel.interactionDisabled,this.state=this.viewModel.state,this.volumeDisplayUnit=this.viewModel.volumeDisplayUnit,this.volumeDisplayUnitOptions=this.viewModel.volumeDisplayUnitOptions,this.elevationDisplayUnit=this.viewModel.elevationDisplayUnit,this.elevationDisplayUnitOptions=this.viewModel.elevationDisplayUnitOptions,this.elevationInputUnit=this.viewModel.elevationInputUnit,this.elevationInputUnitOptions=this.viewModel.elevationInputUnitOptions,this.areaDisplayUnit=this.viewModel.areaDisplayUnit,this.areaDisplayUnitOptions=this.viewModel.areaDisplayUnitOptions,this.perimeterDisplayUnit=this.viewModel.perimeterDisplayUnit,this.perimeterDisplayUnitOptions=this.viewModel.perimeterDisplayUnitOptions,this.hideHeader=!1,this.hideSettingsButton=!1,this.hideResetUnitsButton=!1,this.hideElevationDisplayUnitSelect=!1,this.hideElevationInputUnitSelect=!1,this.hideVolumeDisplayUnitSelect=!1,this.hideModeSelect=!1,this.hideStartButton=!1,this.hideVisualization=this.viewModel.hideVisualization,this.headingLevel=2,this.hideAreaDisplayUnitSelect=!1,this.hidePerimeterDisplayUnitSelect=!1,this.arcgisPropertyChange=H()("analysis","interactionDisabled","state"),this.arcgisReady=L()}static{this.properties={_settingsPopoverIsOpen:16,view:0,analysis:0,autoDestroyDisabled:5,icon:3,interactionDisabled:5,label:1,messageOverrides:0,referenceElement:1,mode:1,state:32,volumeDisplayUnit:1,volumeDisplayUnitOptions:0,elevationDisplayUnit:1,elevationDisplayUnitOptions:0,elevationInputUnit:1,elevationInputUnitOptions:0,areaDisplayUnit:1,areaDisplayUnitOptions:0,perimeterDisplayUnit:1,perimeterDisplayUnitOptions:0,hideHeader:5,hideSettingsButton:5,hideResetUnitsButton:5,hideElevationDisplayUnitSelect:5,hideElevationInputUnitSelect:5,hideVolumeDisplayUnitSelect:5,hideModeSelect:5,hideStartButton:5,hideVisualization:5,headingLevel:9,hideAreaDisplayUnitSelect:5,hidePerimeterDisplayUnitSelect:5}}static{this.styles=ae}#e;get mode(){return this.viewModel.analysis.measureType}set mode(t){this.viewModel.analysis.measureType=t}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){T(this.viewModel.start())}#i(t){t&&queueMicrotask(()=>{this.isConnected&&(t.referenceElement=this.#e.value)})}_onSettingsPopoverClose(){this._settingsPopoverIsOpen=!1}_onSettingsPopoverOpen(){this._settingsPopoverIsOpen=!0}render(){let{hideResetUnitsButton:t,messages:e,viewModel:r}=this,{measurement:l,state:c}=r,h=this.volumeDisplayUnitOptions,U=this.volumeDisplayUnit,b=this.elevationDisplayUnitOptions,f=this.elevationDisplayUnit,_=this.elevationInputUnitOptions,N=this.elevationInputUnit,Q=this.perimeterDisplayUnitOptions,W=this.perimeterDisplayUnit,Y=this.areaDisplayUnitOptions,ee=this.areaDisplayUnit,R=r.analysisView?.error?.name,ie=[y({hidden:this.hideElevationInputUnitSelect,options:_,selectLabel:e.elevationInputUnit,value:N,canReset:!t&&r.canResetElevationInputUnit,resetLabel:e.reset,onReset:()=>r.resetUnit("elevation-input"),onChange:o=>{this.viewModel.elevationInputUnit=o}})],te=[y({hidden:this.hideElevationDisplayUnitSelect,options:b,selectLabel:e.elevationDisplayUnit,value:f,canReset:!t&&r.canResetElevationDisplayUnit,resetLabel:e.reset,onReset:()=>r.resetUnit("elevation"),onChange:o=>{this.viewModel.elevationDisplayUnit=o}}),y({hidden:this.hideVolumeDisplayUnitSelect,options:h,selectLabel:e.volumeDisplayUnit,value:U,canReset:!t&&r.canResetVolumeDisplayUnit,resetLabel:e.reset,onReset:()=>r.resetUnit("volume"),onChange:o=>{this.viewModel.volumeDisplayUnit=o}}),y({hidden:this.hideAreaDisplayUnitSelect,options:Y,selectLabel:e.areaDisplayUnit,value:ee,canReset:!t&&r.canResetAreaDisplayUnit,resetLabel:e.reset,onReset:()=>r.resetUnit("area"),onChange:o=>{this.viewModel.areaDisplayUnit=o}}),y({hidden:this.hidePerimeterDisplayUnitSelect,options:Q,selectLabel:e.perimeterDisplayUnit,value:W,canReset:!t&&r.canResetPerimeterDisplayUnit,resetLabel:e.reset,onReset:()=>r.resetUnit("length"),onChange:o=>{this.viewModel.perimeterDisplayUnit=o}})],x=[this.hideElevationInputUnitSelect].filter(o=>!o).length===0,w=[this.hideElevationDisplayUnitSelect,this.hideVolumeDisplayUnitSelect,this.hideAreaDisplayUnitSelect,this.hidePerimeterDisplayUnitSelect].filter(o=>!o).length===0,D=this.hideSettingsButton||x&&w,O=(this._settingsPopoverIsOpen?e.hideSettings:e.showSettings)??"";return p`<div aria-label=${e.componentLabel??S} class=${z({root:!0,[$.widget]:!0,[$.panel]:!0})} role=presentation>${c==="disabled"&&p`<calcite-scrim></calcite-scrim>`||""}${d({hidden:this.hideHeader&&D,children:p`<div class=${z({header:!0,"no-content":this.hideHeader})}>${d({hidden:this.hideHeader,children:J({class:"heading",level:this.headingLevel,children:e.title})})}<span style=${j({flex:1})}></span>${d({hidden:D,children:p`<calcite-action icon=gear slot=settings .text=${O} title=${O??S} ${k(this.#e)}></calcite-action><calcite-popover slot=settings .label=${O} .referenceElement=${this.#e.value} overlay-positioning=fixed placement=bottom-end auto-close .open=${D?!1:void 0} @calcitePopoverOpen=${this._onSettingsPopoverOpen} @calcitePopoverClose=${this._onSettingsPopoverClose} ${k(this.#i)}><div class="settings-content">${d({hidden:x,children:p`<div><p .hidden=${w}>${e.inputUnits}</p>${ie}</div>`})}${d({hidden:w,children:p`<div><p .hidden=${x}>${e.displayUnits}</p>${te}</div>`})}</div></calcite-popover>`})}</div>`})}<div class="content">${d({hidden:this.hideModeSelect,children:p`<calcite-label>${this.messages.measurementMode}<calcite-select label="Select measurement mode" .value=${this.mode} @calciteSelectChange=${o=>{this.analysis.measureType=o.target.selectedOption.value}}><calcite-option value=cut-fill>${e.cutAndFillMode}</calcite-option><calcite-option value=stockpile>${e.stockpileMode}</calcite-option></calcite-select></calcite-label>`})}${R!=null&&pe({error:R,messages:e})||""}<arcgis-measurement-content .state=${r.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[{title:e.cutVolume,measurement:l.cutVolume},{title:e.fillVolume,measurement:l.fillVolume},{title:e.netVolume,measurement:l.netVolume},{title:e.area,measurement:l.area},{title:e.perimeter,measurement:l.perimeter}]}>${d({hidden:this.hideStartButton,children:p`<calcite-button slot=actions width=full .disabled=${c==="disabled"||this.interactionDisabled} @click=${()=>{this.viewModel.start({clear:!0})}}>${e.newMeasurement}</calcite-button>`})}</arcgis-measurement-content></div></div>`}};function y(i){let{hidden:t,options:e,selectLabel:r,value:l,canReset:c,resetLabel:h,onReset:U,onChange:b}=i;return t?null:p`<arcgis-unit-select .options=${e} .selectLabel=${r} .value=${l} .canReset=${c} .resetLabel=${h} @arcgisInternalUnitReset=${U} @arcgisUnitSelectChange=${f=>{let _=f.detail;e.includes(_)&&b(_)}}></arcgis-unit-select>`}function pe(i){let t,{messages:e,error:r}=i;switch(r){case"insufficient-data":t=e.errorInsufficientData;break;case"perimeter-too-large":t=e.errorPerimeterTooLarge;break;case"unsupported-coordinate-system":t=e.errorUnsupportedCoordinateSystem;break;case"unsupported-layer-transparency":t=e.errorUnsupportedLayerTransparency;break;default:t=e.errorUnknown;break}return p`<calcite-notice aria-live=polite open icon=exclamation-mark-triangle-f kind=warning><div slot=title class="warning-title">${t}</div><div slot=message>${t}</div></calcite-notice>`}B("arcgis-volume-measurement",V);return V},"analysis/VolumeMeasurementAnalysis","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/unitUtils",a,b,c,e,f,h)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import h from"./DSDPDMLP.js";import"./VJVKFKSG.js";import g from"./CQQM24VF.js";import{a as x}from"./WEAGLY7B.js";import f from"./FZWFKZLW.js";import e from"./JBHRVHGS.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as S,X as V,a as b,b as c,p as d,q as y,x as u}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{once:N,watch:M},B,,,,E,{a:_}])=>{var q=b`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-view-corner-radius: var(--arcgis-view-corner-radius, 0px);--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}`,R=E(B),f=class extends S{constructor(){super(...arguments),this._messages=x({blocking:!0}),this.#t=[],this.#r=[],this.#a=[],this.#e=R(this),this._currentPage=1,this._filterText="",this._isInitialFeatureServiceInvalid=!1,this._mode="browse-services",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.#e.state,this.versioningStates=this.#e.versioningStates,this.view=this.#e.view,this.arcgisReady=u(),this.arcgisVersioningStateChanged=u()}static{this.properties={_currentPage:16,_editVersionInfo:16,_filterText:16,_isInitialFeatureServiceInvalid:16,_loadError:16,_mode:16,_selectedFeatureService:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,initialVersionInfos:0,label:1,messageOverrides:0,mode:1,pageSize:9,referenceElement:1,state:32,versioningStates:0,view:0}}static{this.styles=q}#t;#r;#a;#e;get initialVersionInfos(){return this.#t}set initialVersionInfos(e){this.#t=e.map(i=>({...i,url:this.#y(i.url)}))}async destroy(){await this.manager.destroy()}async load(){N(()=>this.#e.state==="failed"||this.#e.state==="ready").then(()=>{this._loadError||(this.#S(),this._loadError||this.#l())}),this.manager.onLifecycle(()=>[M(()=>this.view?.map,()=>{this.#b()})])}#l(){this.initialVersionInfos.forEach(e=>{try{this.#c(e)}catch(i){y(this)(i)}})}#c(e){let{url:i,name:a}=e,r=this.#e.versioningStateLookup.get(i);if(!r){this._isInitialFeatureServiceInvalid=!0,d("error",this,`No versioning state found for feature service ${i}`);return}let t=r?.versionInfos.find(g=>g.versionIdentifier.name.toUpperCase()===a.toUpperCase());if(!t){this.#r.push(i),this.requestUpdate(),d("error",this,`Version ${a} not found in the versioning state for feature service ${i}`);return}let s=t.versionIdentifier,l=r?.currentVersionInfo?.versionIdentifier;s.guid!==l?.guid&&this.#e.changeVersion(i,s.name,s.guid)}#s(e){let{_messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-version-management-service-found":return i.loadErrors.noVersionManagementServiceFound;case"no-view-property":return i.loadErrors.noViewProperty;case"webmap-failed-to-load":return i.loadErrors.webmapFailedToLoad;default:return e}}#i(e){let{_messages:i}=this,a=!1,r,t,s;switch(e){case"invalid-feature-service":a=!0,r=i.loadErrors.invalidInitialFeatureService,t=this.#w,s=i.headers.invalidInitialFeatureService;break;case"no-version-management-service-found":r=this.#s("no-version-management-service-found");break;case"view-model-load":r=this.#s(this.#e.loadError??"");break;case"webmap-load":r=this.#s("webmap-failed-to-load");break}return c`<calcite-notice .closable=${a} icon kind=warning open scale=s width=full @calciteNoticeClose=${t}>${s?c`<div slot=title>${s}</div>`:void 0}<div slot=message>${r}</div></calcite-notice>`}async#d(e){e.stopPropagation();let{alterVersionParameters:i}=e.detail;await this.#e.alterVersion(i).finally(()=>{this._mode="browse-versions"})&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:i.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(i.featureServerUrl)})}async#g(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{createVersionParameters:a,switchToVersion:r}=e.detail,t=await this.#e.createVersion(a).finally(()=>{this._mode="browse-versions"});t&&(i.emit({type:"version-created",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)}),r&&await this.#e.changeVersion(a.featureServerUrl,t.versionIdentifier.name,t.versionIdentifier.guid).then(s=>{s&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)})}))}#v(e){e.stopPropagation(),this._mode="browse-versions",this._editVersionInfo=void 0}async#h(e){e.stopPropagation(),await this.#e.getVersionInfos(e.detail.serviceUrl)}#p(e){e.stopPropagation(),this._filterText=e.detail.filterText,this.#n()}async#o(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{actionType:a,serviceUrl:r,versionInfo:t}=e.detail;switch(a){case"changeVersion":{await this.#e.changeVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"deleteVersion":{await this.#e.deleteVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"editVersion":{this._mode="edit-version",this._editVersionInfo={...e.detail.versionInfo};break}}}#m(e){e.stopPropagation(),this._mode="create-version"}#u(e){e.stopPropagation(),this._currentPage=e.detail.currentPage}#f(e){e.detail.name==="selectedFeatureService"&&(this._selectedFeatureService=e.target.selectedFeatureService,this._mode="browse-versions",this.#n())}#w(){this._isInitialFeatureServiceInvalid=!1}#$(){this._mode="browse-services"}#I(){this._mode="browse-versions",this._editVersionInfo=void 0}async#b(){let e=this.view?.map;try{e.loaded||await e.load()}catch(i){this._loadError="webmap-failed-to-load",_(i,this,"Error while loading 'view.map'")}}#y(e){return e.replace(/\/+$/u,"")}#n(){this._currentPage=1}#S(){if(!this.#e?.versioningStateLookup.size){this._loadError="no-version-management-service-found",d("error",this,"No version management service found");return}this.#e?.versioningStateLookup.forEach((e,i)=>{e.loadStatus==="failed"&&(this.#a.push(i),d("error",this,`Failed to load versioning state for feature service ${i}`))}),this.requestUpdate()}render(){let{_currentPage:e,_editVersionInfo:i,_filterText:a,_messages:r,_mode:t,_selectedFeatureService:s,closable:l,label:g,pageSize:v,state:o}=this,k=this._loadError==="webmap-failed-to-load"?this.#i("webmap-load"):void 0,F=o==="disabled"&&this.#e.loadError?this.#i("view-model-load"):void 0,P=this._loadError==="no-version-management-service-found"?this.#i("no-version-management-service-found"):void 0,U=this._isInitialFeatureServiceInvalid?this.#i("invalid-feature-service"):void 0,L=Array.from(this.#e.serviceNameLookup,([n,A])=>({url:n,name:A})),h=s?.url??"",w=this.#e?.versioningStateLookup.get(h),p=w?.versionInfos??[],C=w?.currentVersionInfo??void 0,D=p.length<=v,m=a===""?p:p.filter(n=>n.versionIdentifier.name.toUpperCase().includes(a.toUpperCase())||n.versionIdentifier.guid.toUpperCase().includes(a.toUpperCase())),$=m.slice((e-1)*v,e*v);$.length===0&&this.#n();let I=this.#e.userLookup.get(h),T=this.#e.versionAdministratorLookup.get(h),z=(this.#e.serverVersionLookup.get(h)??0)>=11.2;return c`<calcite-flow><calcite-flow-item .closable=${l} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-services"}>${k}${F}${P}${U}${L.map(n=>c`<arcgis-version-management-service-item .allowEditingDisabled=${this.allowEditingDisabled} .invalidInitialVersion=${this.#r.includes(n.url)} .messages=${r} .selectedFeatureService=${s} .serviceName=${n.name} .serviceUrl=${n.url} .versioningStateFailedToLoad=${this.#a.includes(n.url)} .viewModel=${this.#e} @arcgisInternalManageVersion=${this.#o} @arcgisPropertyChange=${this.#f}></arcgis-version-management-service-item>`)}</calcite-flow-item><calcite-flow-item .closable=${l} .description=${s?.name} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-versions"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#$()}}><arcgis-version-management-version-list .currentPage=${e} .currentUser=${I} .currentVersionInfo=${C} .executionError=${this.#e.executionError??void 0} .featureServiceName=${s?.name} .featureServiceUrl=${s?.url} .hideFilter=${D} .isVersionAdministrator=${T} .isVersioningApiAvailable=${z} .messages=${r} .mode=${t} .totalPages=${Math.ceil(m.length/v)} .totalVersions=${m.length} .versionInfos=${$} @arcgisInternalFilterVersions=${this.#p} @arcgisInternalGetVersions=${this.#h} @arcgisInternalManageVersion=${this.#o} @arcgisInternalNewVersion=${this.#m} @arcgisInternalPageChange=${this.#u}></arcgis-version-management-version-list></calcite-flow-item><calcite-flow-item .closable=${l} .description=${t==="create-version"?"":i?.versionIdentifier.name} .heading=${t==="create-version"?r?.actions.newVersion:r?.actions.editVersion} .loading=${o==="loading"||o==="executing"} .selected=${t==="create-version"||t==="edit-version"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#I()}}><arcgis-version-management-version-properties .currentUser=${I} .editVersionInfo=${i} .featureServiceUrl=${s?.url} .messages=${r} .mode=${t} @arcgisInternalAlterVersion=${this.#d} @arcgisInternalCreateVersion=${this.#g} @arcgisInternalDiscardEdits=${this.#v}></arcgis-version-management-version-properties></calcite-flow-item></calcite-flow>`}};V("arcgis-version-management",f);return f},"core/reactiveUtils","versionManagement/VersionManager",a,e,f,g,h)