@arcgis/map-components 6.0.0-next.1 → 6.0.0-next.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{ZWN6DXNO.js → 22I5XGTS.js} +2 -2
- package/dist/cdn/{5CER2N5T.js → 24MLXKMZ.js} +2 -2
- package/dist/cdn/{DMYMCGHJ.js → 26URLKXD.js} +2 -2
- package/dist/cdn/{63FA3UEL.js → 2BGZVOT3.js} +2 -2
- package/dist/cdn/{3A3DGDW5.js → 2F4IGA4W.js} +2 -2
- package/dist/cdn/{IJLCJVC4.js → 2KPCMM7D.js} +2 -2
- package/dist/cdn/{MW6AOK5D.js → 2S7DLLA7.js} +2 -2
- package/dist/cdn/{YWS5RHVM.js → 2SO5S66J.js} +2 -2
- package/dist/cdn/{NBHZZ4E6.js → 2TY3T3GH.js} +2 -2
- package/dist/cdn/{PYTZ3YBE.js → 2U3VASQT.js} +1 -1
- package/dist/cdn/{XTPRVANS.js → 2UKSCGYU.js} +2 -2
- package/dist/cdn/{7N4V2IN6.js → 366GLQ5R.js} +1 -1
- package/dist/cdn/{43IOCYG5.js → 36ZT6IRE.js} +2 -2
- package/dist/cdn/{CX45KI3X.js → 3C6FN5WT.js} +2 -2
- package/dist/cdn/{GV3IXBBT.js → 3GHQZCMV.js} +2 -2
- package/dist/cdn/{LHFB44QW.js → 3N5MWYUQ.js} +2 -2
- package/dist/cdn/{4F2ZWXO2.js → 3ONY25MG.js} +2 -2
- package/dist/cdn/{EKR2SAT2.js → 3UMLR76Y.js} +2 -2
- package/dist/cdn/{OHLJ6POC.js → 3VCGDZEU.js} +2 -2
- package/dist/cdn/{BLYJE76S.js → 42G6XTIG.js} +2 -2
- package/dist/cdn/{CIUI5B52.js → 4432P7Z5.js} +2 -2
- package/dist/cdn/{7UWE25UH.js → 44CQCIZB.js} +2 -2
- package/dist/cdn/{27MP6TEF.js → 4657ONKJ.js} +2 -2
- package/dist/cdn/4B2TLORL.js +2 -0
- package/dist/cdn/{SXQRPAPL.js → 4HNRKSQ2.js} +2 -2
- package/dist/cdn/{YHKTMUY7.js → 4IWYFG2G.js} +2 -2
- package/dist/cdn/{FMIWBKT4.js → 4KQA2GRX.js} +2 -2
- package/dist/cdn/{JCRPP54Z.js → 4L43F7HU.js} +1 -1
- package/dist/cdn/{XAD4PUBU.js → 4O3HLHQQ.js} +2 -2
- package/dist/cdn/{OUXE3CSQ.js → 4O6FFXUV.js} +2 -2
- package/dist/cdn/{ZPH7M75T.js → 4PI54LJH.js} +2 -2
- package/dist/cdn/{DOEKV7G3.js → 4WKWYFIH.js} +2 -2
- package/dist/cdn/{DL57EVZ4.js → 4XERPOOU.js} +2 -2
- package/dist/cdn/{J657IBDC.js → 4XJ6RYYC.js} +2 -2
- package/dist/cdn/{JPKB745U.js → 52CUDGKY.js} +2 -2
- package/dist/cdn/{4TTVVGYW.js → 53OXTCE6.js} +2 -2
- package/dist/cdn/{GQ6SYNZS.js → 54GFXFK4.js} +2 -2
- package/dist/cdn/{RQLMXLJC.js → 5AMF6NZN.js} +2 -2
- package/dist/cdn/{6BLFYSDN.js → 5DY7GHBN.js} +2 -2
- package/dist/cdn/{SFSWQGLY.js → 5ESNA4SF.js} +2 -2
- package/dist/cdn/{FFJCCMDZ.js → 5RAIBYCT.js} +2 -2
- package/dist/cdn/{I5ZESLWO.js → 5WKEDXRT.js} +2 -2
- package/dist/cdn/{3HS3DM5B.js → 62IE7RFR.js} +2 -2
- package/dist/cdn/{YPNGSV66.js → 65MI3MW2.js} +2 -2
- package/dist/cdn/{ELYDZHP5.js → 67PT3A4A.js} +2 -2
- package/dist/cdn/{PRTHX6OC.js → 6A2OF3TO.js} +2 -2
- package/dist/cdn/{POKO37D3.js → 6J3KSMFG.js} +1 -1
- package/dist/cdn/{JCR7S6RP.js → 6QH2NH2Z.js} +2 -2
- package/dist/cdn/{CORNSRXU.js → 6UYEO5Q7.js} +2 -2
- package/dist/cdn/{GXRPNW37.js → 6VO7G2UX.js} +2 -2
- package/dist/cdn/{AYJQLWX4.js → 75UV3NKU.js} +2 -2
- package/dist/cdn/77U2VO5P.js +2 -0
- package/dist/cdn/{ECNRW3D5.js → 7DFCYS72.js} +2 -2
- package/dist/cdn/{ZEKQYUW3.js → 7FCZLFJD.js} +2 -2
- package/dist/cdn/{TPC2FJJX.js → 7FFBCPVE.js} +2 -2
- package/dist/cdn/{VWN2LORT.js → 7FGOCFTQ.js} +2 -2
- package/dist/cdn/{TZ6WQV6O.js → 7TULU5QF.js} +2 -2
- package/dist/cdn/{Z5C6UBYP.js → 7VDBR3SK.js} +2 -2
- package/dist/cdn/{T4V5O3FK.js → 7VJQVX42.js} +2 -2
- package/dist/cdn/{F5WKI5HZ.js → A3DPMZWE.js} +2 -2
- package/dist/cdn/{5763ZV75.js → A4VK42OW.js} +2 -2
- package/dist/cdn/{UWKXYCO3.js → A7RLC6ZT.js} +2 -2
- package/dist/cdn/{VCRVQMYT.js → A7SZYQDH.js} +2 -2
- package/dist/cdn/ABOTJ6RE.js +2 -0
- package/dist/cdn/{TN5C3MSL.js → AL3PLZEE.js} +1 -1
- package/dist/cdn/{FZWFKZLW.js → ALVAGE57.js} +2 -2
- package/dist/cdn/AN7R3DP5.js +2 -0
- package/dist/cdn/{CF4OY56S.js → AS4FG6IT.js} +2 -2
- package/dist/cdn/{3LOGBSQP.js → BHCAFGIA.js} +1 -1
- package/dist/cdn/{2CWTV6TC.js → BI2SI2HK.js} +2 -2
- package/dist/cdn/BJWJ6E3L.js +2 -0
- package/dist/cdn/{TNFZHEWD.js → BLOQ2AJ5.js} +2 -2
- package/dist/cdn/{CQQM24VF.js → BQBWXR6P.js} +2 -2
- package/dist/cdn/{SP73K22L.js → BQGY4YCS.js} +2 -2
- package/dist/cdn/{KKP7ZZUD.js → BTVNXUZQ.js} +2 -2
- package/dist/cdn/{R2IBOCMY.js → BVTEQMDF.js} +2 -2
- package/dist/cdn/{UINNR6FV.js → C5XAFXEL.js} +2 -2
- package/dist/cdn/{LE373OSG.js → CBVICP6P.js} +2 -2
- package/dist/cdn/CF54A7MK.js +2 -0
- package/dist/cdn/{BSTO7TGD.js → CKS5ACAB.js} +2 -2
- package/dist/cdn/{5L5UYV3H.js → CKZBNHMD.js} +1 -1
- package/dist/cdn/CNYZSE22.js +2 -0
- package/dist/cdn/{PLVTYVUG.js → CP5JALYQ.js} +2 -2
- package/dist/cdn/{Y2LELW5Y.js → CPYVZPJ7.js} +2 -2
- package/dist/cdn/{VABVK3ZN.js → CR6PVUCT.js} +2 -2
- package/dist/cdn/{QPFX5XH3.js → CUVRESLH.js} +2 -2
- package/dist/cdn/CVJOD6H3.js +2 -0
- package/dist/cdn/{E4NTQBM3.js → DDSIQO4G.js} +2 -2
- package/dist/cdn/{VDTRRLON.js → DFUR3C3D.js} +1 -1
- package/dist/cdn/{4T2A7PAO.js → DK7HXJSX.js} +2 -2
- package/dist/cdn/{IU22RA7Z.js → DLWQZHNA.js} +2 -2
- package/dist/cdn/{7FVXPOAG.js → DNE47HSP.js} +2 -2
- package/dist/cdn/DTORO2OE.js +2 -0
- package/dist/cdn/{XAADUJ74.js → DUMHDAYP.js} +2 -2
- package/dist/cdn/{VCSX4G2U.js → DY2EOHFD.js} +2 -2
- package/dist/cdn/{O57LOC52.js → DYUCS5QP.js} +2 -2
- package/dist/cdn/{3SG4AC5C.js → DYWCAORU.js} +2 -2
- package/dist/cdn/{CGN2BQTU.js → E54VGGFM.js} +2 -2
- package/dist/cdn/{T2DT5I33.js → EH4CBZNF.js} +1 -1
- package/dist/cdn/{YPNJ5V4R.js → EHEWQ23K.js} +2 -2
- package/dist/cdn/{N4MW5VBL.js → EK7Y6JBZ.js} +2 -2
- package/dist/cdn/{YOUMOTN3.js → EMXGW73P.js} +2 -2
- package/dist/cdn/{3NL42TBJ.js → EOAVDNBZ.js} +2 -2
- package/dist/cdn/{7DAQGPGD.js → EPH5BN6X.js} +2 -2
- package/dist/cdn/{HZX7MSQG.js → ESOCZAMZ.js} +2 -2
- package/dist/cdn/{TILA2OKK.js → ET4UP4EQ.js} +2 -2
- package/dist/cdn/{FNSGB45I.js → EV7IIQBP.js} +2 -2
- package/dist/cdn/{R6HUY6QI.js → EZCHUWDK.js} +2 -2
- package/dist/cdn/{IMPFB7YV.js → F34QQ4DO.js} +2 -2
- package/dist/cdn/{PEH4U3YV.js → F5IHFPKA.js} +2 -2
- package/dist/cdn/{3WTBTYMS.js → F5JYYT42.js} +1 -1
- package/dist/cdn/{AI5PXN2E.js → FDJGQHUA.js} +2 -2
- package/dist/cdn/{J23DTKII.js → FF7BSRYW.js} +2 -2
- package/dist/cdn/{IZ46HAUJ.js → FH3WFF5O.js} +1 -1
- package/dist/cdn/{7EQZKGJN.js → FHHVGI4H.js} +2 -2
- package/dist/cdn/FIZMK7GS.js +1 -0
- package/dist/cdn/{IRZGEFF5.js → FPPWXIBA.js} +2 -2
- package/dist/cdn/{6J55YK5V.js → FQSHLYKX.js} +2 -2
- package/dist/cdn/{3MQPSWL6.js → FSBLGH6E.js} +2 -2
- package/dist/cdn/{BAOWXZTE.js → FXUZU52U.js} +1 -1
- package/dist/cdn/{GVZKVOM7.js → FZAQZSRA.js} +2 -2
- package/dist/cdn/{UCTJVPYB.js → G26V76WA.js} +2 -2
- package/dist/cdn/{RQG75Q2X.js → GCEBFEZ5.js} +2 -2
- package/dist/cdn/{GU3M4JMW.js → GDLDEHUJ.js} +1 -1
- package/dist/cdn/{MEZHGYCH.js → GFNCEZSN.js} +2 -2
- package/dist/cdn/{A4U2PDJP.js → GHVT7W4O.js} +2 -2
- package/dist/cdn/{54CLZESW.js → GII4POXM.js} +2 -2
- package/dist/cdn/{QX33OCXB.js → GIIYVCKT.js} +2 -2
- package/dist/cdn/{CZOM5NWO.js → GJKFDTVX.js} +2 -2
- package/dist/cdn/{SBIOND5K.js → GK47522P.js} +2 -2
- package/dist/cdn/{RZQNEEP6.js → GNSNEUMI.js} +2 -2
- package/dist/cdn/{MKCJXRXB.js → GS2HJTMU.js} +2 -2
- package/dist/cdn/{VWFQCWGB.js → GUHSWQMF.js} +2 -2
- package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
- package/dist/cdn/{EDTGV4YF.js → GUZCA62E.js} +2 -2
- package/dist/cdn/{HCN3UC4W.js → GUZYCRYS.js} +2 -2
- package/dist/cdn/{276JOEH5.js → H4LMELM2.js} +2 -2
- package/dist/cdn/{OX55WUIT.js → H7NR6B6S.js} +2 -2
- package/dist/cdn/{SFFTE3TG.js → HDHWPKJ4.js} +2 -2
- package/dist/cdn/{RKTSSP3O.js → HI7BF3DL.js} +2 -2
- package/dist/cdn/{UPZVIKOH.js → HJVHORPG.js} +2 -2
- package/dist/cdn/{N6VSP7BU.js → HKLBQ7JD.js} +2 -2
- package/dist/cdn/{JBHRVHGS.js → HPWF3IQV.js} +2 -2
- package/dist/cdn/{W3ENDJ6U.js → HQSY7TKA.js} +2 -2
- package/dist/cdn/{UMHGXP3S.js → HQWUQFN5.js} +2 -2
- package/dist/cdn/{TMJX7DFH.js → HU57LQOA.js} +1 -1
- package/dist/cdn/{BIWQEPK4.js → I4AEBGQM.js} +2 -2
- package/dist/cdn/{VEAJ52RN.js → IAWXCNTX.js} +2 -2
- package/dist/cdn/{FMBY3L4S.js → IBN4TKBI.js} +2 -2
- package/dist/cdn/{2COOBXHG.js → IDIAWXUO.js} +2 -2
- package/dist/cdn/{JAZGNQRP.js → IFR4IYSI.js} +2 -2
- package/dist/cdn/IITDAOGZ.js +2 -0
- package/dist/cdn/{4RMVG2NH.js → ILQDA7LL.js} +2 -2
- package/dist/cdn/{O7RSAJOS.js → IM6IDWYR.js} +1 -1
- package/dist/cdn/{N2HG34QB.js → IQOQTYRR.js} +2 -2
- package/dist/cdn/{4PGC5LTJ.js → J3FRSWZD.js} +2 -2
- package/dist/cdn/{Y4WOZJQX.js → J4CHCFLS.js} +2 -2
- package/dist/cdn/{Y2UYA3OR.js → JBK5HTJ2.js} +2 -2
- package/dist/cdn/{VSDQVSOV.js → JF7VJGL4.js} +2 -2
- package/dist/cdn/{IDKRMHDS.js → JXQEGZDB.js} +1 -1
- package/dist/cdn/{MUWOF7W4.js → JZHZCJTJ.js} +2 -2
- package/dist/cdn/{I23AZWQL.js → K23R26AN.js} +2 -2
- package/dist/cdn/{5UOXHOVU.js → K7ELALW4.js} +2 -2
- package/dist/cdn/{H77SMV46.js → K7XSWKZ2.js} +2 -2
- package/dist/cdn/{HLGU3U73.js → KBA5OIES.js} +2 -2
- package/dist/cdn/{XPGC5GAG.js → KCLVDXWB.js} +2 -2
- package/dist/cdn/{IXWGGAVX.js → KFTFKI6A.js} +2 -2
- package/dist/cdn/{Z42QB2QP.js → KLVBRTYU.js} +2 -2
- package/dist/cdn/{GP3PLD2F.js → KPUEQZ7O.js} +2 -2
- package/dist/cdn/{5SL2HI4G.js → KVYBIOH5.js} +2 -2
- package/dist/cdn/{ALROLX35.js → L46JLXJT.js} +2 -2
- package/dist/cdn/{JD74LG7K.js → L5IRXOCJ.js} +1 -1
- package/dist/cdn/{M7LDGJG6.js → LC37F7HF.js} +2 -2
- package/dist/cdn/{JE6NC2E6.js → LH2T4TMP.js} +2 -2
- package/dist/cdn/{V2GMDCVJ.js → LKAJVIS2.js} +2 -2
- package/dist/cdn/LOOJWRCW.js +2 -0
- package/dist/cdn/{QTOA5MBN.js → LU22VNJ7.js} +2 -2
- package/dist/cdn/{3JCF73F4.js → LUTUHOKB.js} +2 -2
- package/dist/cdn/{BEFZSVBT.js → LW4IDPBB.js} +2 -2
- package/dist/cdn/{6NWR2Z4F.js → LY6LSUSY.js} +2 -2
- package/dist/cdn/LZVMUNZC.js +2 -0
- package/dist/cdn/{ZFHHY72B.js → M2LKA37F.js} +2 -2
- package/dist/cdn/{ITRD7ZY4.js → M42QFFPZ.js} +2 -2
- package/dist/cdn/{RFSBZHJD.js → M4D5WUVD.js} +2 -2
- package/dist/cdn/{ZW2ZBNX2.js → M5KYBYZT.js} +2 -2
- package/dist/cdn/{Q73T55TC.js → M6YVO33A.js} +2 -2
- package/dist/cdn/{SQYMNL75.js → MA2GVVQJ.js} +2 -2
- package/dist/cdn/MA7GBKLW.js +2 -0
- package/dist/cdn/MBGCAZPS.js +4 -0
- package/dist/cdn/{GQXUCZYM.js → MCMACXJV.js} +2 -2
- package/dist/cdn/{7VVOJSSE.js → MDWBYUFG.js} +2 -2
- package/dist/cdn/{ZUAR3LO3.js → MFWSWLBW.js} +2 -2
- package/dist/cdn/{3O4SVNIK.js → MICLX7QW.js} +2 -2
- package/dist/cdn/{RHNZWKZV.js → MMYODAC2.js} +2 -2
- package/dist/cdn/{BQKVSKYK.js → MUNSXJ5X.js} +2 -2
- package/dist/cdn/{HX4CSRAB.js → MWIDHMQZ.js} +2 -2
- package/dist/cdn/{AYNGSZAL.js → N3DTZRST.js} +2 -2
- package/dist/cdn/{CEUIFOR6.js → NB7O2TXG.js} +1 -1
- package/dist/cdn/{DJTW52JH.js → ND7BSIVO.js} +1 -1
- package/dist/cdn/{QWOOD63Q.js → NDCZFJEK.js} +3 -3
- package/dist/cdn/{3A7S62FX.js → NFCFPU7K.js} +2 -2
- package/dist/cdn/{2DKTF2EL.js → NJPPZJ3L.js} +2 -2
- package/dist/cdn/{BKVCAAPF.js → NQOS7L2J.js} +2 -2
- package/dist/cdn/NWFGMNGG.js +2 -0
- package/dist/cdn/{45JO7F4Y.js → NWRWQZGL.js} +2 -2
- package/dist/cdn/{2AQYGR7K.js → NY7RHFLZ.js} +2 -2
- package/dist/cdn/{ISIH65JW.js → O5YJPUFM.js} +2 -2
- package/dist/cdn/{TU6ZG6ZI.js → O6HYZKBU.js} +2 -2
- package/dist/cdn/{MPKC74OS.js → OAMA6SL3.js} +2 -2
- package/dist/cdn/{5XVK5ZBK.js → OAMPGCZF.js} +2 -2
- package/dist/cdn/{3YXCLF3K.js → OAYNZFL2.js} +2 -2
- package/dist/cdn/{COKGOKO2.js → OCFIQBYK.js} +2 -2
- package/dist/cdn/{QMYL4UM7.js → OCQXPA57.js} +2 -2
- package/dist/cdn/{XAMLHDWZ.js → ONFKLY6Q.js} +2 -2
- package/dist/cdn/{7DDCU3NB.js → OPNJGHML.js} +2 -2
- package/dist/cdn/{R3IITUG6.js → OSDGWHZZ.js} +2 -2
- package/dist/cdn/{H5AYEQ6D.js → OUC5HWPQ.js} +2 -2
- package/dist/cdn/{OCLOCCB6.js → OX3WBUBR.js} +2 -2
- package/dist/cdn/{HX4CDWS4.js → P2I63WVL.js} +2 -2
- package/dist/cdn/P3PXDT5V.js +2 -0
- package/dist/cdn/{Q22KIHFH.js → PBHNO4J7.js} +2 -2
- package/dist/cdn/{2GDB3C5I.js → PBYHBRG7.js} +2 -2
- package/dist/cdn/{XURL7UVF.js → PDH2DA3L.js} +2 -2
- package/dist/cdn/{4GRP4KX3.js → PGK2ZJCX.js} +2 -2
- package/dist/cdn/{7MOL5GJB.js → PGSBUAGV.js} +2 -2
- package/dist/cdn/{WJZZ7SZO.js → PGUZODKZ.js} +2 -2
- package/dist/cdn/{I2A6UYGZ.js → PGXNWDD3.js} +2 -2
- package/dist/cdn/{KBHLE7HT.js → PIDNZKSJ.js} +2 -2
- package/dist/cdn/{LGW5AS6R.js → PJ5OUPGO.js} +2 -2
- package/dist/cdn/{AW3C3DKA.js → PPAFKBPN.js} +2 -2
- package/dist/cdn/{5M56ZA46.js → PS3KSP2J.js} +2 -2
- package/dist/cdn/{NRJ6LV6O.js → PWHXRRFU.js} +2 -2
- package/dist/cdn/{3XEPXV4Q.js → PY5VGH7F.js} +2 -2
- package/dist/cdn/{DPPZZO5W.js → PZSKFFTG.js} +2 -2
- package/dist/cdn/{K6D2JHC4.js → PZUVKZGQ.js} +2 -2
- package/dist/cdn/QCVMDYJD.js +2 -0
- package/dist/cdn/{RAOEF6YV.js → QEPANMVK.js} +2 -2
- package/dist/cdn/{OGAUCGGG.js → QKZ552KI.js} +2 -2
- package/dist/cdn/{CESFJ6AD.js → QNBNH7ME.js} +2 -2
- package/dist/cdn/{CL2NYK7A.js → QOIURU47.js} +2 -2
- package/dist/cdn/{7V7IKYJG.js → QPSAD5DG.js} +2 -2
- package/dist/cdn/{6IVEAPNI.js → QT7GRA34.js} +2 -2
- package/dist/cdn/{GTRQNPQ7.js → QTB5YKHB.js} +2 -2
- package/dist/cdn/{KO7RD6SS.js → QVAB57VJ.js} +2 -2
- package/dist/cdn/{3PVLBFNC.js → QWIDIEXY.js} +2 -2
- package/dist/cdn/{EAM45WZP.js → R2D2TXL4.js} +2 -2
- package/dist/cdn/{RYYBMDGS.js → R2P5JM7G.js} +2 -2
- package/dist/cdn/{6GFUBVBL.js → R5QMO5FY.js} +2 -2
- package/dist/cdn/{JRQYT5SI.js → R5TCWJ6V.js} +2 -2
- package/dist/cdn/{S6M66TIN.js → R5YW65AI.js} +2 -2
- package/dist/cdn/{TC6HL72N.js → R67ZOCIR.js} +2 -2
- package/dist/cdn/{LQ76PRWK.js → REGHMH6D.js} +2 -2
- package/dist/cdn/{4WAV5GOL.js → RGTUSH6U.js} +2 -2
- package/dist/cdn/{YLC4L2QV.js → RRSU6QD4.js} +2 -2
- package/dist/cdn/{AZ73DBU3.js → RUW7CDCH.js} +2 -2
- package/dist/cdn/{DSDPDMLP.js → RUYAWRPV.js} +2 -2
- package/dist/cdn/{AAUN23S6.js → RVEUCXT4.js} +2 -2
- package/dist/cdn/{3L2J4JFP.js → RZGWZ2FJ.js} +2 -2
- package/dist/cdn/{WVRJQQKH.js → S6BPBG7D.js} +2 -2
- package/dist/cdn/{AAMRTS35.js → S7ORGB5E.js} +2 -2
- package/dist/cdn/{55AW5TTI.js → SAOLD6MH.js} +2 -2
- package/dist/cdn/{XPIX7Z2Q.js → SEY3WDK2.js} +2 -2
- package/dist/cdn/{DMYAI77Y.js → SG55TVJ5.js} +2 -2
- package/dist/cdn/{B476G3EX.js → SHU4AE2X.js} +2 -2
- package/dist/cdn/{YAEJKOYY.js → SIFBGT4D.js} +2 -2
- package/dist/cdn/{TZ2LE7KS.js → SIZZ3BQA.js} +2 -2
- package/dist/cdn/{4WXSFT6G.js → SLAFIIZU.js} +2 -2
- package/dist/cdn/{27GJE7OY.js → SLSGW7B6.js} +2 -2
- package/dist/cdn/{IETZFE3P.js → SNNAV3AS.js} +2 -2
- package/dist/cdn/{4MJJOPAL.js → SOZWCZ7A.js} +1 -1
- package/dist/cdn/{X3DQNCTZ.js → SR4V2CUQ.js} +2 -2
- package/dist/cdn/{YU5BTZEI.js → SZ3T7YEB.js} +1 -1
- package/dist/cdn/{Z4WS2RBO.js → TA723HWT.js} +2 -2
- package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
- package/dist/cdn/{CJ4KIA26.js → TDZIH5OK.js} +2 -2
- package/dist/cdn/{JBR3FYAN.js → THJMCEEO.js} +2 -2
- package/dist/cdn/{4WP4DUBT.js → TJQ3GP5V.js} +2 -2
- package/dist/cdn/{3DUIQTNG.js → TKILR2SM.js} +2 -2
- package/dist/cdn/{4RGFCQOB.js → TMTFZSJS.js} +1 -1
- package/dist/cdn/{RPHJDEZH.js → TO6SOEDF.js} +2 -2
- package/dist/cdn/{OBMM7WJD.js → TPVHN6P2.js} +2 -2
- package/dist/cdn/{VTCM7AV2.js → TSNUOFL7.js} +2 -2
- package/dist/cdn/{E5JCJOB3.js → U5DIWFPP.js} +2 -2
- package/dist/cdn/{H4FH2RBM.js → UHI54OG6.js} +2 -2
- package/dist/cdn/{QTDJVI5F.js → UTV2A7J4.js} +2 -2
- package/dist/cdn/{BIU6VS3K.js → UZLEFNJL.js} +1 -1
- package/dist/cdn/{LL7R6ETJ.js → V2YPYCU6.js} +2 -2
- package/dist/cdn/{QMQV37ML.js → V62TVP3T.js} +2 -2
- package/dist/cdn/{CROCDACG.js → VDEMMP33.js} +2 -2
- package/dist/cdn/{3E56Q4ZY.js → VDKEQI3H.js} +2 -2
- package/dist/cdn/{B4CANXID.js → VKRAWBPC.js} +2 -2
- package/dist/cdn/{BZR4MSO5.js → VOBRCUIE.js} +2 -2
- package/dist/cdn/{XYNRLVTU.js → VTCE3YQW.js} +2 -2
- package/dist/cdn/{ZVZVHZYX.js → VUAYNF3K.js} +2 -2
- package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
- package/dist/cdn/{3KZAH5OY.js → W6PA72LV.js} +2 -2
- package/dist/cdn/{IFMBHZHX.js → WBBTZNZU.js} +2 -2
- package/dist/cdn/{D3LYSFXK.js → WEOKELJE.js} +2 -2
- package/dist/cdn/{VJVKFKSG.js → WJQUE4DR.js} +1 -1
- package/dist/cdn/WK4TNKKC.js +2 -0
- package/dist/cdn/{QOQRNYM5.js → WO26ZR5Z.js} +2 -2
- package/dist/cdn/{NBDQBLRI.js → WQI5PKS4.js} +2 -2
- package/dist/cdn/{5V2DO6ZW.js → WS46QSWM.js} +2 -2
- package/dist/cdn/{WCEDE4CZ.js → WSHG4LV7.js} +2 -2
- package/dist/cdn/{24DOFGMG.js → WUTCKBNC.js} +2 -2
- package/dist/cdn/{GT6FFZHJ.js → X7BOBKIH.js} +2 -2
- package/dist/cdn/{ZOHGLZNV.js → XCTPKDKL.js} +2 -2
- package/dist/cdn/{D47546HM.js → XHOI3WNI.js} +1 -1
- package/dist/cdn/XKCB2DEP.js +2 -0
- package/dist/cdn/{VJE33ARY.js → XP74F2F6.js} +2 -2
- package/dist/cdn/{PXAY7IM4.js → XULIO6Y3.js} +2 -2
- package/dist/cdn/{YKSVOTDV.js → XYF36P2O.js} +2 -2
- package/dist/cdn/{4W35GLNO.js → Y37UMTGV.js} +2 -2
- package/dist/cdn/{J6MU74RO.js → Y42K6IOP.js} +2 -2
- package/dist/cdn/{3ZXNGXHC.js → Y77AVOAH.js} +1 -1
- package/dist/cdn/{CUF7GCDT.js → YCHVPSSP.js} +2 -2
- package/dist/cdn/{B5GJ5JEW.js → YDZZPLVB.js} +2 -2
- package/dist/cdn/{P5HSMYWG.js → YFTQR2WS.js} +2 -2
- package/dist/cdn/{OJXNUBIA.js → YHPASRFL.js} +2 -2
- package/dist/cdn/{E53ARLWV.js → YTLRTUMD.js} +2 -2
- package/dist/cdn/{WBI4RS3V.js → YZUSPKNF.js} +2 -2
- package/dist/cdn/{XJ6DZ6AN.js → Z2UUXST4.js} +2 -2
- package/dist/cdn/{QKON7YGO.js → Z3W7LQ5M.js} +2 -2
- package/dist/cdn/{EESGZV4K.js → Z6AVJWLP.js} +2 -2
- package/dist/cdn/{JIQ4P34C.js → Z7H4V2JZ.js} +2 -2
- package/dist/cdn/{GF7RZ4IH.js → ZAUG5MSY.js} +2 -2
- package/dist/cdn/{5SLLYIWJ.js → ZBC5RBCD.js} +2 -2
- package/dist/cdn/{FCNNRX3Q.js → ZCFWKPXL.js} +1 -1
- package/dist/cdn/{KT7MEZHJ.js → ZF4DFDLT.js} +2 -2
- package/dist/cdn/{AENNGCAE.js → ZFO3PVZQ.js} +2 -2
- package/dist/cdn/{YWC5AUFV.js → ZGOAZB5L.js} +1 -1
- package/dist/cdn/{QJWFZYU4.js → ZHSESERJ.js} +2 -2
- package/dist/cdn/{EOTKZ4F3.js → ZIBQTNB6.js} +2 -2
- package/dist/cdn/{WQMZ7BDQ.js → ZKWI43WZ.js} +2 -2
- package/dist/cdn/{SREWXCMU.js → ZO7TUIUE.js} +2 -2
- package/dist/cdn/ZSPYPXBY.js +2 -0
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/GeolocationPositioning.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/attachment-utils.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/clipoardSymbolHelper.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/component-wrapper.js +1 -1
- package/dist/chunks/constants.js +1 -1
- package/dist/chunks/constants2.js +1 -1
- package/dist/chunks/css.js +1 -1
- package/dist/chunks/dateUtils.js +2 -2
- package/dist/chunks/earth-utils.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/field.js +1 -1
- package/dist/chunks/formattingUtils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/goTo.js +1 -1
- package/dist/chunks/graphicsLayerController.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/keyboard-utils.js +1 -1
- package/dist/chunks/layer-list-next.js +1 -1
- package/dist/chunks/layer-list-utils.js +1 -1
- package/dist/chunks/layer-utils.js +1 -1
- package/dist/chunks/layer-utils2.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/print-exports-panel-item-popover.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/sr.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/titleUtils.js +1 -1
- package/dist/chunks/types.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/urlUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useCloseEvent.js +1 -1
- package/dist/chunks/useLayerById.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/chunks/utils5.js +1 -1
- package/dist/chunks/utils6.js +1 -1
- package/dist/chunks/video-utils.js +1 -1
- package/dist/chunks/visible-element.js +1 -1
- package/dist/chunks/zoom.js +1 -1
- package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
- package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -14
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
- package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
- package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-building-level-item/customElement.js +1 -1
- package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
- package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-clipboard/customElement.js +1 -1
- package/dist/components/arcgis-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +27 -27
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-text/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
- package/dist/components/arcgis-feature-image/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-next/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
- package/dist/components/arcgis-feature-title/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-features-next/customElement.js +1 -1
- package/dist/components/arcgis-file-picker/customElement.js +1 -1
- package/dist/components/arcgis-filter-builder/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +4 -1
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
- package/dist/components/arcgis-paste/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
- package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-datum-transformation-input/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
- package/dist/components/arcgis-selection-list/customElement.js +1 -1
- package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-table-list-next/customElement.js +1 -1
- package/dist/components/arcgis-template-image/customElement.js +1 -1
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-view-popover/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-webgl-error/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/components/feature-form-next/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/package.json +7 -7
- package/dist/cdn/3DSZKELU.js +0 -2
- package/dist/cdn/5K54VOLZ.js +0 -2
- package/dist/cdn/AN3BGKZP.js +0 -2
- package/dist/cdn/DBA7NSTP.js +0 -2
- package/dist/cdn/EZCNI254.js +0 -2
- package/dist/cdn/F46CTQWP.js +0 -2
- package/dist/cdn/F4O7DFPZ.js +0 -2
- package/dist/cdn/GIOUZTHM.js +0 -2
- package/dist/cdn/HH5GEJCC.js +0 -2
- package/dist/cdn/KM2GXXBO.js +0 -4
- package/dist/cdn/KY3ND2AY.js +0 -2
- package/dist/cdn/PLTLRYBF.js +0 -2
- package/dist/cdn/QUZTFUWM.js +0 -1
- package/dist/cdn/S62FQUEJ.js +0 -2
- package/dist/cdn/TZHXSIXK.js +0 -2
- package/dist/cdn/WEAGLY7B.js +0 -2
- package/dist/cdn/WYNLO2MH.js +0 -2
- package/dist/cdn/XKHGN6LQ.js +0 -2
- package/dist/cdn/YDB2XJRU.js +0 -2
- package/dist/cdn/YY45XUPP.js +0 -2
- package/dist/cdn/YYCBU2CG.js +0 -2
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
+
import{a as $i}from"./V62TVP3T.js";import{a as Ci,b as Ti,c as ki,d as Mi,e as Si,f as Vt,g as te,h as os,i as Ei}from"./CF54A7MK.js";import{A as I,C as es,E as F,F as Yt,H as is,I as ss,J as rs,K as Ct,L as as,P as E,Q as ns,R as Tt,T as Tr,c as It,e as Gt,ga as Di,h as it,i as V,k as U,l as br,m as xr,o as ii,qa as Pi,r as vr,s as wr,u as Qt,y as N,z as wi}from"./LZVMUNZC.js";import{B as xe,C as Qe,D as ur,E as fr,F as Zi,H as Ji,I as Qi,J as pr,K as mr,L as gr,M as ti,N as ei,O as _r,Q as et,T as ht,U as P,Y as ts,c as rr,d as $,e as be,f as wt,h as ar,i as nr,j as vi,l as Je,m as or,n as qi,o as hr,p as lr,q as Jt,r as Et,s as cr,t as K,u as Ki,v as $t,w as dr,x as Y}from"./NWFGMNGG.js";import{a as Dt,b as vt,d as B,e as jt,f as ji}from"./EH4CBZNF.js";import{A as tr,E as pe,G as Ke,H as me,J as er,K as W,L as ir,N as sr,O as tt,P as ge,Q as mt,S as Ze,T as yr,U as Cr,X as Wt,b as pt,d as Ks,f as Ot,g as R,h as qt,i as je,j as Ht,k as Kt,m as xi,n as Zs,o as Js,p as w,r as ue,s as Zt,t as ye,u as Qs,v as qe,w as fe}from"./LY6LSUSY.js";import{a as Qr}from"./TAVTDQ6S.js";var hs=class{constructor(){this._targets=[],this._observer=new ResizeObserver(t=>{w(t,e=>{w(this._targets,i=>{i.target===e.target&&i.callback()})})})}addTarget(t,e){this._observer.observe(t,{box:"border-box"}),this._targets.push({target:t,callback:e})}removeTarget(t){this._observer.unobserve(t),pe(this._targets,e=>e.target!==t)}},Li=class o{constructor(){this._timer=null,this._targets=[]}addTarget(t,e){if(this._timer===null){let s=null,r=()=>{let a=Date.now();(s===null||a>s+o.delay)&&(s=a,w(this._targets,n=>{let h=n.target.getBoundingClientRect();(h.width!==n.size.width||h.height!==n.size.height)&&(n.size=h,n.callback())})),this._targets.length===0?this._timer=null:this._timer=requestAnimationFrame(r)};this._timer=requestAnimationFrame(r)}let i={width:0,height:0,left:0,right:0,top:0,bottom:0,x:0,y:0};this._targets.push({target:t,callback:e,size:i})}removeTarget(t){pe(this._targets,e=>e.target!==t),this._targets.length===0&&this._timer!==null&&(cancelAnimationFrame(this._timer),this._timer=null)}};Li.delay=200;var Ai=null;function ta(){return Ai===null&&(typeof ResizeObserver<"u"?Ai=new hs:Ai=new Li),Ai}var Ni=class{constructor(t,e){this._disposed=!1,this._sensor=ta(),this._element=t,this._listener=be(e),this._sensor.addTarget(t,e)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element),this._listener.dispose())}get sensor(){return this._sensor}};var ee=class extends N{};ee.className="InterfaceColors";ee.classNames=N.classNames.concat([ee.className]);var Pt=class extends F{_beforeChanged(){super._beforeChanged(),(this.isDirty("pointerBaseWidth")||this.isDirty("cornerRadius")||this.isDirty("pointerLength")||this.isDirty("pointerX")||this.isDirty("pointerY")||this.isDirty("width")||this.isDirty("height"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){this.markDirtyBounds();let t=this.width(),e=this.height();if(t>0&&e>0){let i=this.get("cornerRadius",8);i=it(i,0,Math.min(t/2,e/2));let s=this.get("pointerX",0),r=this.get("pointerY",0),a=this.get("pointerBaseWidth",15)/2,n=0,h=0,l=t,c=0,u=t,d=e,f=0,m=e,_=(s-n)*(d-h)-(r-h)*(u-n),p=(s-f)*(c-m)-(r-m)*(l-f),g=this._display;if(g.moveTo(i,0),_>0&&p>0){let y=Math.round(it(s,i+a,t-a-i));r=it(r,-1/0,0),g.lineTo(y-a,0),g.lineTo(s,r),g.lineTo(y+a,0)}if(g.lineTo(t-i,0),g.arcTo(t,0,t,i,i),_>0&&p<0){let y=Math.round(it(r,i+a,e-a-i));s=it(s,t,1/0),g.lineTo(t,i),g.lineTo(t,Math.max(y-a,i)),g.lineTo(s,r),g.lineTo(t,y+a)}if(g.lineTo(t,e-i),g.arcTo(t,e,t-i,e,i),_<0&&p<0){let y=Math.round(it(s,i+a,t-a-i));r=it(r,e,1/0),g.lineTo(t-i,e),g.lineTo(y+a,e),g.lineTo(s,r),g.lineTo(y-a,e)}if(g.lineTo(i,e),g.arcTo(0,e,0,e-i,i),_<0&&p>0){let y=Math.round(it(r,i+a,e-i-a));s=it(s,-1/0,0),g.lineTo(0,e-i),g.lineTo(0,y+a),g.lineTo(s,r),g.lineTo(0,Math.max(y-a,i))}g.lineTo(0,i),g.arcTo(0,0,i,0,i),g.closePath()}}}};Pt.className="PointedRectangle";Pt.classNames=F.classNames.concat([Pt.className]);var kt=class extends E{constructor(t,e,i,s=[]){super(t,e,i,s),this._fx=0,this._fy=0,this._w=0,this._h=0,this._htmlContentHovered=!1,this._focusAnnounce=!1}_afterNew(){this._settings.themeTags=et(this._settings.themeTags,["tooltip"]),super._afterNew(),this._setDefaultTagged("background",["tooltip","background"],()=>Pt.new(this._root,{})),this._label=this.children.push(Tt.new(this._root,{})),this._disposers.push(this._label.events.on("boundschanged",()=>{this._updateBackground()})),this._disposers.push(this.on("bounds",()=>{this._updateBackground()})),this._updateTextColor(),this._root.tooltipContainer.children.push(this),this.hide(0),this._disposers.push(this.label.onPrivate("htmlElement",t=>{t&&(this._disposers.push($(t,"pointerover",e=>{this._htmlContentHovered=!0})),this._disposers.push($(t,"pointerout",e=>{this._htmlContentHovered=!1})))})),this.on("visible",t=>{this._handleReaderAnnouncement()}),this.label.events.on("dataitemchanged",t=>{this._handleReaderAnnouncement()}),this._root._tooltips.push(this)}_handleReaderAnnouncement(){if((this.get("readerAnnounce")||this._focusAnnounce)&&this.isVisibleDeep()){let t=this.label.getAccessibleText();if(!this.get("readerAnnounce")&&this._repeatsTargetLabel(t))return;this._root.readerAlert(t)}}_repeatsTargetLabel(t){let e=this.get("tooltipTarget"),i=e&&e.getPrivate("focusElement"),s=i&&i.dom.getAttribute("aria-label"),r=a=>Qe(a).replace(/\s+/g," ").trim().toLowerCase();return s?r(s)==r(t):!1}get label(){return this._label}_dispose(){super._dispose(),Zt(this._root._tooltips,this)}_updateChildren(){super._updateChildren(),(this.isDirty("pointerOrientation")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight"))&&this.get("background")._markDirtyKey("width"),this.get("labelText")!=null&&this.label.set("text",this.get("labelText")),this.get("labelHTML")!=null&&this.label.set("html",this.get("labelHTML")),this.get("labelAriaLabel")!=null&&this.label.set("ariaLabel",this.get("labelAriaLabel"))}_changed(){if(super._changed(),(this.isDirty("pointTo")||this.isDirty("pointerOrientation"))&&this._updateBackground(),this.isDirty("tooltipTarget")&&this.updateBackgroundColor(),this.isDirty("keepTargetHover"))if(this.get("keepTargetHover")){let e=this.get("background");this._keepHoverDp=new mt([e.events.on("pointerover",i=>{let s=this.get("tooltipTarget");s&&(s.parent&&s.parent.getPrivate("tooltipTarget")==s&&(s=s.parent),s.hover())}),e.events.on("pointerout",i=>{let s=this.get("tooltipTarget");s&&(s.parent&&s.parent.getPrivate("tooltipTarget")==s&&(s=s.parent),this._htmlContentHovered||s.unhover())})]),this.label.onPrivate("htmlElement",i=>{this._keepHoverDp&&i&&this._keepHoverDp.disposers.push($(i,"pointerleave",s=>{let r=this.root._renderer.getEvent(s);e.events.dispatch("pointerout",{type:"pointerout",originalEvent:r.event,point:r.point,simulated:!1,target:e})}))})}else this._keepHoverDp&&(this._keepHoverDp.dispose(),this._keepHoverDp=void 0)}_onShow(){super._onShow(),this.updateBackgroundColor()}updateBackgroundColor(){let t=this.get("tooltipTarget"),e=this.get("background"),i,s;if(t&&e){if(i=t.get("fill"),s=t.get("stroke"),i==null&&(i=s),this.get("getFillFromSprite")&&(this._fillDp&&this._fillDp.dispose(),i!=null&&e._setC("fill",i),this._fillDp=t.on("fill",r=>{r!=null&&(e._setC("fill",r),this._updateTextColor(r))}),this._disposers.push(this._fillDp)),this.get("getFillGradientFromSprite")){this._fillGrDp&&this._fillGrDp.dispose();let r=t.get("fillGradient");r!=null&&e._setC("fillGradient",r),this._fillGrDp=t.on("fillGradient",a=>{a!=null&&e._setC("fillGradient",a)}),this._disposers.push(this._fillGrDp)}this.get("getStrokeFromSprite")&&(this._strokeDp&&this._strokeDp.dispose(),i!=null&&e._setC("stroke",i),this._strokeDp=t.on("fill",r=>{r!=null&&e._setC("stroke",r)}),this._disposers.push(this._strokeDp)),this.get("getLabelFillFromSprite")&&(this._labelDp&&this._labelDp.dispose(),i!=null&&this.label._setC("fill",i),this._labelDp=t.on("fill",r=>{r!=null&&this.label._setC("fill",r)}),this._disposers.push(this._labelDp))}this._updateTextColor(i)}_updateTextColor(t){this.get("autoTextColor")&&(t==null&&(t=this.get("background").get("fill")),t==null&&(t=this._root.interfaceColors.get("background")),t instanceof P&&this.label._setC("fill",P.alternative(t,this._root.interfaceColors.get("alternativeText"),this._root.interfaceColors.get("text"))))}_setDataItem(t){super._setDataItem(t),this.label._setDataItem(t)}_updateBackground(){super.updateBackground();let t=this._root.container;if(t){let e=.5,i=.5,s=this.get("centerX");s instanceof Dt&&(e=s.value);let r=this.get("centerY");r instanceof Dt&&(i=r.value);let a=t.width(),n=t.height(),h=this.parent,l=0,c=0;if(h){l=h.x(),c=h.y();let k=h.get("layerMargin");k&&(l+=k.left||0,c+=k.top||0,a+=(k.left||0)+(k.right||0),n+=(k.top||0)+(k.bottom||0))}let u=this.get("bounds",{left:-l,top:-c,right:a-l,bottom:n-c});this._updateBounds();let d=this.width(),f=this.height();d===0&&(d=this._w),f===0&&(f=this._h);let m=this.get("pointTo",{x:a/2,y:n/2}),_=m.x,p=m.y,g=this.get("pointerOrientation"),y=this.get("background"),x=0,v=0,b=0;y instanceof Pt&&(x=y.get("pointerLength",0),v=y.get("strokeWidth",0)/2,b=v,y._setC("width",d),y._setC("height",f));let C=0,T=0,M=u.right-u.left,S=u.bottom-u.top;g=="horizontal"||g=="left"||g=="right"?(v=0,g=="horizontal"?_>u.left+M/2?(_-=d*(1-e)+x,b*=-1):_+=d*e+x:g=="left"?_+=d*(1-e)+x:(_-=d*e+x,b*=-1)):(b=0,g=="vertical"?p>u.top+f/2+x?p-=f*(1-i)+x:(p+=f*i+x,v*=-1):g=="down"?p-=f*(1-i)+x:(p+=f*i+x,v*=-1)),_=it(_,u.left+d*e,u.left+M-d*(1-e))+b,p=it(p,u.top+f*i,u.top+S-f*(1-i))-v,C=m.x-_+d*e+b,T=m.y-p+f*i-v,this._fx=_,this._fy=p;let D=this.get("animationDuration",0);if(D>0&&this.get("visible")&&this.get("opacity")>.1){let k=this.get("animationEasing");this.animate({key:"x",to:_,duration:D,easing:k}),this.animate({key:"y",to:p,duration:D,easing:k})}else this._setC("x",_),this._setC("y",p);y instanceof Pt&&(y._setC("pointerX",C),y._setC("pointerY",T)),d>0&&(this._w=d),f>0&&(this._h=f)}}};kt.className="Tooltip";kt.classNames=E.classNames.concat([kt.className]);var ie=class extends N{_setDefaults(){this._setDefault("negativeBase",0),this._setDefault("numberFormat","#,###.#####"),this._setDefault("smallNumberThreshold",1);let t="_big_number_suffix_",e="_small_number_suffix_",i="_byte_suffix_";this._setDefault("bigNumberPrefixes",[{number:1e3,suffix:this._t(t+"3")},{number:1e6,suffix:this._t(t+"6")},{number:1e9,suffix:this._t(t+"9")},{number:1e12,suffix:this._t(t+"12")},{number:1e15,suffix:this._t(t+"15")},{number:1e18,suffix:this._t(t+"18")},{number:1e21,suffix:this._t(t+"21")},{number:1e24,suffix:this._t(t+"24")}]),this._setDefault("smallNumberPrefixes",[{number:1e-24,suffix:this._t(e+"24")},{number:1e-21,suffix:this._t(e+"21")},{number:1e-18,suffix:this._t(e+"18")},{number:1e-15,suffix:this._t(e+"15")},{number:1e-12,suffix:this._t(e+"12")},{number:1e-9,suffix:this._t(e+"9")},{number:1e-6,suffix:this._t(e+"6")},{number:.001,suffix:this._t(e+"3")}]),this._setDefault("bytePrefixes",[{number:1,suffix:this._t(i+"B")},{number:1024,suffix:this._t(i+"KB")},{number:1048576,suffix:this._t(i+"MB")},{number:1073741824,suffix:this._t(i+"GB")},{number:1099511627776,suffix:this._t(i+"TB")},{number:0x4000000000000,suffix:this._t(i+"PB")}]),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(t,e,i){(e==null||Ot(e)&&e.toLowerCase()==="number")&&(e=this.get("numberFormat",""));let s,r=Number(t);if(qt(e))try{return this.get("intlLocales")?new Intl.NumberFormat(this.get("intlLocales"),e).format(r):new Intl.NumberFormat(void 0,e).format(r)}catch{return"Invalid"}else{e=xe(e);let a=this.parseFormat(e,this._root.language),n;r>this.get("negativeBase")?n=a.positive:r<this.get("negativeBase")?n=a.negative:n=a.zero,i!=null&&!n.mod&&(n=er(n),n.decimals.active=r==0?0:i),s=n.template.split(Ht).join(this.applyFormat(r,n))}return this.get("forceLTR")===!0&&(s="\u200E"+s),s}parseFormat(t,e){let i=e.translateEmpty("_thousandSeparator"),s=e.translateEmpty("_decimalSeparator"),r={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:s},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:s},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:s},template:"",source:"",parsed:!1}};t=t.replace("||",Kt);let a=t.split("|");return r.positive.source=a[0],typeof a[2]>"u"?r.zero=r.positive:r.zero.source=a[2],typeof a[1]>"u"?r.negative=r.positive:r.negative.source=a[1],W(r,(n,h)=>{if(h.parsed)return;let l=h.source;l.toLowerCase()==="number"&&(l=this.get("numberFormat","#,###.#####"));let c=Ct.chunk(l,!0);for(let u=0;u<c.length;u++){let d=c[u];if(d.text=d.text.replace(Kt,"|"),d.type==="value"){let f=d.text.match(/[#0.,]+[ ]?[abespABESP%!]?[abespABESP‰!]?/);if(f)if(f===null||f[0]==="")h.template+=d.text;else{let m=f[0].match(/[abespABESP%‰!]{2}|[abespABESP%‰]{1}$/);m&&(h.mod=m[0].toLowerCase(),h.modSpacing=!!f[0].match(/[ ]{1}[abespABESP%‰!]{1}$/));let _=f[0].split(".");if(_[0]!==""){h.thousands.active=(_[0].match(/0/g)||[]).length,h.thousands.passive=(_[0].match(/\#/g)||[]).length+h.thousands.active;let p=_[0].split(",");p.length===1||(h.thousands.interval=(p.pop()||"").length,h.thousands.interval===0&&(h.thousands.interval=-1))}typeof _[1]>"u"||(h.decimals.active=(_[1].match(/0/g)||[]).length,h.decimals.passive=(_[1].match(/\#/g)||[]).length+h.decimals.active),h.template+=d.text.split(f[0]).join(Ht)}}else h.template+=d.text}h.parsed=!0}),r}applyFormat(t,e){let i=t<0;t=Math.abs(t);let s="",r="",a=e.mod?e.mod.split(""):[];if(a.indexOf("b")!==-1){let u=this.applyPrefix(t,this.get("bytePrefixes"),a.indexOf("!")!==-1);t=u[0],s=u[1],r=u[2],e.modSpacing&&(r=" "+r)}else if(a.indexOf("a")!==-1){let u=this.applyPrefix(t,t<this.get("smallNumberThreshold")?this.get("smallNumberPrefixes"):this.get("bigNumberPrefixes"),a.indexOf("!")!==-1);t=u[0],s=u[1],r=u[2],e.modSpacing&&(r=" "+r)}else if(a.indexOf("p")!==-1){let u=Math.min(t.toString().length+2,21);t=parseFloat(t.toPrecision(u)),s=this._root.language.translate("_percentPrefix"),r=this._root.language.translate("_percentSuffix"),s==""&&r==""&&(r="%")}else if(a.indexOf("%")!==-1){let u=Math.min(t.toString().length+2,21);t*=100,t=parseFloat(t.toPrecision(u)),r="%"}else if(a.indexOf("\u2030")!==-1){let u=Math.min(t.toString().length+3,21);t*=1e3,t=parseFloat(t.toPrecision(u)),r="\u2030"}if(a.indexOf("e")!==-1){let u;e.decimals.passive>=0?u=t.toExponential(e.decimals.passive).split("e"):u=t.toExponential().split("e"),t=Number(u[0]),r="e"+u[1],e.modSpacing&&(r=" "+r)}else if(e.decimals.passive===0)t=Math.round(t);else if(e.decimals.passive>0){let u=dr(t);if(u>0){let d=Math.pow(10,e.decimals.passive);t=Math.round(parseFloat((t*d).toFixed(u)))/d}}let n="",h=Ks(t).split("."),l=h[0];if(l.length<e.thousands.active&&(l=Array(e.thousands.active-l.length+1).join("0")+l),e.thousands.interval>0){let u=[],d=l.split("").reverse().join("");for(let f=0,m=l.length;f<=m;f+=e.thousands.interval){let _=d.substr(f,e.thousands.interval).split("").reverse().join("");_!==""&&u.unshift(_)}l=u.join(e.thousands.separator)}n+=l,h.length===1&&h.push("");let c=h[1];return c.length<e.decimals.active&&(c+=Array(e.decimals.active-c.length+1).join("0")),c!==""&&(n+=e.decimals.separator+c),n===""&&(n="0"),t!==0&&i&&a.indexOf("s")===-1&&(n="-"+n),s&&(n=s+n),r&&(n+=r),n}applyPrefix(t,e,i=!1){let s=t,r="",a="",n=!1,h=1;for(let l=0,c=e.length;l<c;l++)e[l].number<=t&&(e[l].number===0?s=0:(s=t/e[l].number,h=e[l].number),r=e[l].prefix,a=e[l].suffix,n=!0);return!n&&i&&e.length&&t!=0&&(s=t/e[0].number,r=e[0].prefix,a=e[0].suffix,n=!0),n&&(s=parseFloat(s.toPrecision(Math.min(h.toString().length+Math.floor(s).toString().replace(/[^0-9]*/g,"").length,21)))),[s,r,a]}escape(t){return t.replace("||",Kt)}unescape(t){return t.replace(Kt,"|")}};ie.className="NumberFormatter";ie.classNames=N.classNames.concat([ie.className]);function Mr(o,t){let e=0,i=0,s=1,r=0,a=0,n=0,h=0,l=0;return o.formatToParts(t).forEach(c=>{switch(c.type){case"year":e=+c.value;break;case"month":i=+c.value-1;break;case"day":s=+c.value;break;case"hour":r=+c.value;break;case"minute":a=+c.value;break;case"second":n=+c.value;break;case"fractionalSecond":h=+c.value;break;case"weekday":switch(c.value){case"Sun":l=0;break;case"Mon":l=1;break;case"Tue":l=2;break;case"Wed":l=3;break;case"Thu":l=4;break;case"Fri":l=5;break;case"Sat":l=6;break}}}),r===24&&(r=0),{year:e,month:i,day:s,hour:r,minute:a,second:n,millisecond:h,weekday:l}}function kr(o,t){let{year:e,month:i,day:s,hour:r,minute:a,second:n,millisecond:h}=Mr(o,t);return Date.UTC(e,i,s,r,a,n,h)}var si=class{constructor(t,e){if(!e)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this.name=t,this._utc=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"UTC",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3}),this._dtf=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3})}static new(t){return new this(t,!0)}convertLocal(t){let e=this.offsetUTC(t),i=t.getTimezoneOffset(),s=new Date(t);s.setUTCMinutes(s.getUTCMinutes()-(e-i));let r=s.getTimezoneOffset();return i!=r&&s.setUTCMinutes(s.getUTCMinutes()+r-i),s}offsetUTC(t){let e=kr(this._utc,t),i=kr(this._dtf,t);return(e-i)/6e4}parseDate(t){return Mr(this._dtf,t)}};var re=class extends N{_setDefaults(){this._setDefault("capitalize",!0),this._setDefault("dateFormat","yyyy-MM-dd"),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(t,e,i=!1){(typeof e>"u"||e==="")&&(e=this.get("dateFormat","yyyy-MM-dd"));let s,r=t;if(qt(e))try{let l=this.get("intlLocales");return l?new Intl.DateTimeFormat(l,e).format(r):new Intl.DateTimeFormat(void 0,e).format(r)}catch{return"Invalid"}let a=this.parseFormat(e),n=this._root.timezone,h=r;return n&&!this._root.utc&&!i&&(r=n.convertLocal(r)),R(r.getTime())?(s=this.applyFormat(r,a,i,h),this.get("capitalize")&&(s=s.replace(/^.{1}/,s.substr(0,1).toUpperCase())),s):"Invalid date"}applyFormat(t,e,i=!1,s){let r=e.template,a,n,h,l,c,u,d,f,m=t.getTime();this._root.utc&&!i?(a=t.getUTCFullYear(),n=t.getUTCMonth(),h=t.getUTCDay(),l=t.getUTCDate(),c=t.getUTCHours(),u=t.getUTCMinutes(),d=t.getUTCSeconds(),f=t.getUTCMilliseconds()):(a=t.getFullYear(),n=t.getMonth(),h=t.getDay(),l=t.getDate(),c=t.getHours(),u=t.getMinutes(),d=t.getSeconds(),f=t.getMilliseconds());for(let _=0,p=e.parts.length;_<p;_++){let g="";switch(e.parts[_]){case"G":g=this._t(a<0?"_era_bc":"_era_ad");break;case"yyyy":g=Math.abs(a).toString(),a<0&&(g+=this._t("_era_bc"));break;case"yyy":case"yy":case"y":g=Math.abs(a).toString().substr(-e.parts[_].length),a<0&&(g+=this._t("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":let y=pr(t,this._root.utc);e.parts[_]=="YYYY"?g=Math.abs(y).toString():g=Math.abs(y).toString().substr(-e.parts[_].length),y<0&&(g+=this._t("_era_bc"));break;case"u":break;case"q":g=""+Math.ceil((t.getMonth()+1)/3);break;case"MMMMM":g=this._t(this._getMonth(n)).substr(0,1);break;case"MMMM":g=this._t(this._getMonth(n));break;case"MMM":g=this._t(this._getShortMonth(n));break;case"MM":g=Y(n+1,2,"0");break;case"M":g=(n+1).toString();break;case"ww":g=Y(Qi(t,this._root.utc),2,"0");break;case"w":g=Qi(t,this._root.utc).toString();break;case"W":g=mr(t,this._root.utc).toString();break;case"dd":g=Y(l,2,"0");break;case"d":g=l.toString();break;case"DD":case"DDD":g=Y(Ji(t,this._root.utc).toString(),e.parts[_].length,"0");break;case"D":g=Ji(t,this._root.utc).toString();break;case"F":break;case"g":break;case"t":g=this._root.language.translateFunc("_dateOrd").call(this,l);break;case"E":g=(h||7).toString();break;case"EE":g=Y((h||7).toString(),2,"0");break;case"EEE":case"eee":g=this._t(this._getShortWeekday(h));break;case"EEEE":case"eeee":g=this._t(this._getWeekday(h));break;case"EEEEE":case"eeeee":g=this._t(this._getShortWeekday(h)).substr(0,1);break;case"e":case"ee":g=(h-(this._root.locale.firstDayOfWeek||1)+1).toString(),e.parts[_]=="ee"&&(g=Y(g,2,"0"));break;case"a":c>=12?g=this._t("PM"):g=this._t("AM");break;case"aa":c>=12?g=this._t("P.M."):g=this._t("A.M.");break;case"aaa":c>=12?g=this._t("P"):g=this._t("A");break;case"h":g=ti(c).toString();break;case"hh":g=Y(ti(c),2,"0");break;case"H":g=c.toString();break;case"HH":g=Y(c,2,"0");break;case"K":g=ti(c,0).toString();break;case"KK":g=Y(ti(c,0),2,"0");break;case"k":g=(c+1).toString();break;case"kk":g=Y(c+1,2,"0");break;case"m":g=u.toString();break;case"mm":g=Y(u,2,"0");break;case"s":g=d.toString();break;case"ss":g=Y(d,2,"0");break;case"S":case"SS":case"SSS":g=Math.round(f/1e3*Math.pow(10,e.parts[_].length)).toString();break;case"x":g=m.toString();break;case"n":case"nn":case"nnn":g=Y(f,e.parts[_].length,"0");break;case"z":g=ei(s||t,!1,!1,this._root.utc,this._root.timezone?this._root.timezone.name:void 0).replace(/[+-]+[0-9]+$/,"");break;case"zz":g=ei(s||t,!0,!1,this._root.utc,this._root.timezone?this._root.timezone.name:void 0);break;case"zzz":g=ei(s||t,!1,!0,this._root.utc,this._root.timezone?this._root.timezone.name:void 0).replace(/[+-]+[0-9]+$/,"");break;case"zzzz":g=ei(s||t,!0,!0,this._root.utc,this._root.timezone?this._root.timezone.name:void 0);break;case"Z":case"ZZ":let x=this._root.utc?"UTC":this._root.timezone;x instanceof si&&(x=x.name);let v=x?_r(x,s||t):t.getTimezoneOffset(),b=Math.abs(v)/60,C=Math.floor(b),T=b*60-C*60;this._root.utc&&(C=0,T=0),e.parts[_]=="Z"?(g="GMT",g+=v>0?"-":"+",g+=Y(C,2)+":"+Y(T,2)):(g=v>0?"-":"+",g+=Y(C,2)+Y(T,2));break;case"i":g=t.toISOString();break;case"I":g=t.toUTCString();break}r=r.replace(Ht,g)}return r}parseFormat(t){let e={template:"",parts:[]},i=Ct.chunk(t,!0);for(let s=0;s<i.length;s++){let r=i[s];if(r.type==="value"){if(r.text.match(/^date$/i)){let n=this.get("dateFormat","yyyy-MM-dd");Ot(n)||(n="yyyy-MM-dd"),r.text=n}let a=r.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|q|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(a)for(let n=0;n<a.length;n++)e.parts.push(a[n]),r.text=r.text.replace(a[n],Ht)}e.template+=r.text}return e}_months(){return["January","February","March","April","May","June","July","August","September","October","November","December"]}_getMonth(t){return this._months()[t]}_shortMonths(){return["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}_getShortMonth(t){return this._shortMonths()[t]}_weekdays(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}_getWeekday(t){return this._weekdays()[t]}_shortWeekdays(){return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}_getShortWeekday(t){return this._shortWeekdays()[t]}parse(t,e,i){if(typeof i>"u"&&(i=this._root.utc),t instanceof Date)return t;if(R(t))return new Date(t);if(e=="x")return new Date(parseInt(t));Ot(t)||(t=t.toString());let s,r="";e=xe(e),e=e.substr(0,t.length);let a=this.parseFormat(e),n={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},h={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:i},l=0,c=0;for(let f=0;f<a.parts.length;f++){switch(c=f+l+1,a.parts[f]){case"yyyy":case"YYYY":r+="([0-9]{4})",n.year=c;break;case"yyy":case"YYY":r+="([0-9]{3})",n.year3=c;break;case"yy":case"YY":r+="([0-9]{2})",n.year2=c;break;case"y":case"Y":r+="([0-9]{1})",n.year1=c;break;case"MMMM":r+="("+this.getStringList(this._months()).join("|")+")",n.monthLong=c;break;case"MMM":r+="("+this.getStringList(this._shortMonths()).join("|")+")",n.monthShort=c;break;case"MM":case"M":r+="([0-9]{2}|[0-9]{1})",n.month=c;break;case"ww":case"w":r+="([0-9]{2}|[0-9]{1})",n.week=c;break;case"dd":case"d":r+="([0-9]{2}|[0-9]{1})",n.day=c;break;case"DDD":case"DD":case"D":r+="([0-9]{3}|[0-9]{2}|[0-9]{1})",n.yearDay=c;break;case"dddd":r+="("+this.getStringList(this._weekdays()).join("|")+")",n.weekdayLong=c;break;case"ddd":r+="("+this.getStringList(this._shortWeekdays()).join("|")+")",n.weekdayShort=c;break;case"aaa":case"aa":case"a":r+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",n.am=c;break;case"hh":case"h":r+="([0-9]{2}|[0-9]{1})",n.hour12Base1=c;break;case"HH":case"H":r+="([0-9]{2}|[0-9]{1})",n.hourBase0=c;break;case"KK":case"K":r+="([0-9]{2}|[0-9]{1})",n.hour12Base0=c;break;case"kk":case"k":r+="([0-9]{2}|[0-9]{1})",n.hourBase1=c;break;case"mm":case"m":r+="([0-9]{2}|[0-9]{1})",n.minute=c;break;case"ss":case"s":r+="([0-9]{2}|[0-9]{1})",n.second=c;break;case"SSS":case"SS":case"S":r+="([0-9]{3}|[0-9]{2}|[0-9]{1})",n.millisecond=c,n.millisecondDigits=a.parts[f].length;break;case"nnn":case"nn":case"n":r+="([0-9]{3}|[0-9]{2}|[0-9]{1})",n.millisecond=c;break;case"x":r+="([0-9]{1,})",n.timestamp=c;break;case"Z":r+="GMT([-+]+[0-9]{2}:[0-9]{2})",n.zone=c;break;case"ZZ":r+="([\\-+]+[0-9]{2}[0-9]{2})",n.zone=c;break;case"i":r+="([0-9]{4})-?([0-9]{2})-?([0-9]{2})T?([0-9]{2}):?([0-9]{2}):?([0-9]{2})\\.?([0-9]{0,3})([zZ]|[+\\-][0-9]{2}:?[0-9]{2}|$)",n.iso=c,l+=7;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz":case"zzz":case"zz":case"z":case"t":l--;break}r+="[^0-9]*"}let u=new RegExp(r),d=t.match(u);if(d){if(n.year>-1&&(h.year=parseInt(d[n.year])),n.year3>-1){let f=parseInt(d[n.year3]);f+=1e3,h.year=f}if(n.year2>-1){let f=parseInt(d[n.year2]);f>50?f+=1e3:f+=2e3,h.year=f}if(n.year1>-1){let f=parseInt(d[n.year1]);f=Math.floor(new Date().getFullYear()/10)*10+f,h.year=f}if(n.monthLong>-1&&(h.month=this.resolveMonth(d[n.monthLong])),n.monthShort>-1&&(h.month=this.resolveShortMonth(d[n.monthShort])),n.month>-1&&(h.month=parseInt(d[n.month])-1),n.week>-1&&n.day===-1&&(h.month=0,h.day=gr(parseInt(d[n.week]),h.year,1,i)),n.day>-1&&(h.day=parseInt(d[n.day])),n.yearDay>-1&&(h.month=0,h.day=parseInt(d[n.yearDay])),n.hourBase0>-1&&(h.hour=parseInt(d[n.hourBase0])),n.hourBase1>-1&&(h.hour=parseInt(d[n.hourBase1])-1),n.hour12Base0>-1){let f=parseInt(d[n.hour12Base0]);f==11&&(f=0),n.am>-1&&!this.isAm(d[n.am])&&(f+=12),h.hour=f}if(n.hour12Base1>-1){let f=parseInt(d[n.hour12Base1]);f==12&&(f=0),n.am>-1&&!this.isAm(d[n.am])&&(f+=12),h.hour=f}if(n.minute>-1&&(h.minute=parseInt(d[n.minute])),n.second>-1&&(h.second=parseInt(d[n.second])),n.millisecond>-1){let f=parseInt(d[n.millisecond]);n.millisecondDigits==2?f*=10:n.millisecondDigits==1&&(f*=100),h.millisecond=f}if(n.timestamp>-1){h.timestamp=parseInt(d[n.timestamp]);let f=new Date(h.timestamp);h.year=f.getUTCFullYear(),h.month=f.getUTCMonth(),h.day=f.getUTCDate(),h.hour=f.getUTCHours(),h.minute=f.getUTCMinutes(),h.second=f.getUTCSeconds(),h.millisecond=f.getUTCMilliseconds()}n.zone>-1&&(h.offset=this.resolveTimezoneOffset(new Date(h.year,h.month,h.day),d[n.zone])),n.iso>-1&&(h.year=pt(d[n.iso+0]),h.month=pt(d[n.iso+1])-1,h.day=pt(d[n.iso+2]),h.hour=pt(d[n.iso+3]),h.minute=pt(d[n.iso+4]),h.second=pt(d[n.iso+5]),h.millisecond=pt(d[n.iso+6]),d[n.iso+7]=="Z"||d[n.iso+7]=="z"?h.utc=!0:d[n.iso+7]!=""&&(h.offset=this.resolveTimezoneOffset(new Date(h.year,h.month,h.day),d[n.iso+7]))),h.utc?s=new Date(Date.UTC(h.year,h.month,h.day,h.hour,h.minute,h.second,h.millisecond)):s=new Date(h.year,h.month,h.day,h.hour,h.minute+h.offset,h.second,h.millisecond)}else s=new Date(t);return s}resolveTimezoneOffset(t,e){if(e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){let s=e.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/),r=s[1],a=s[2],n=s[3],h=parseInt(a)*60+parseInt(n);r=="+"&&(h*=-1);let l=(t||new Date).getTimezoneOffset();return h-l}return 0}resolveMonth(t){let e=this._months().indexOf(t);return e>-1||!this._root.language.isDefault()&&(e=this._root.language.translateAll(this._months()).indexOf(t),e>-1)?e:0}resolveShortMonth(t){let e=this._shortMonths().indexOf(t);return e>-1||(e=this._months().indexOf(t),e>-1)||this._root.language&&!this._root.language.isDefault()&&(e=this._root.language.translateAll(this._shortMonths()).indexOf(t),e>-1)?e:0}isAm(t){return this.getStringList(["AM","A.M.","A"]).indexOf(t.toUpperCase())>-1}getStringList(t){let e=[];for(let i=0;i<t.length;i++)this._root.language?e.push(Zi(this._t(t[i]))):e.push(Zi(t[i]));return e}};re.className="DateFormatter";re.classNames=N.classNames.concat([re.className]);var ae=class extends N{constructor(){super(...arguments),this._unitAliases={Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"}}_setDefaults(){let t="_duration_millisecond",e="_duration_second",i="_duration_minute",s="_duration_hour",r="_duration_day",a="_duration_week",n="_duration_month",h="_duration_year",l="_second",c="_minute",u="_hour",d="_day",f="_week",m="_month",_="_year";this._setDefault("negativeBase",0),this._setDefault("baseUnit","second"),this._setDefault("durationFormats",{millisecond:{millisecond:this._t(t),second:this._t(t+l),minute:this._t(t+c),hour:this._t(t+u),day:this._t(t+d),week:this._t(t+f),month:this._t(t+m),year:this._t(t+_)},second:{second:this._t(e),minute:this._t(e+c),hour:this._t(e+u),day:this._t(e+d),week:this._t(e+f),month:this._t(e+m),year:this._t(e+_)},minute:{minute:this._t(i),hour:this._t(i+u),day:this._t(i+d),week:this._t(i+f),month:this._t(i+m),year:this._t(i+_)},hour:{hour:this._t(s),day:this._t(s+d),week:this._t(s+f),month:this._t(s+m),year:this._t(s+_)},day:{day:this._t(r),week:this._t(r+f),month:this._t(r+m),year:this._t(r+_)},week:{week:this._t(a),month:this._t(a+m),year:this._t(a+_)},month:{month:this._t(n),year:this._t(n+_)},year:{year:this._t(h)}}),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(t,e,i){let s=i||this.get("baseUnit");(typeof e>"u"||e==="")&&(this.get("durationFormat")!=null?e=this.get("durationFormat"):e=this.getFormat(pt(t),void 0,s)),e=xe(e);let r=this.parseFormat(e,s),a=Number(t),n;a>this.get("negativeBase")?n=r.positive:a<this.get("negativeBase")?n=r.negative:n=r.zero;let h=this.applyFormat(a,n);return n.color!==""&&(h="["+n.color+"]"+h+"[/]"),h}parseFormat(t,e){let i=e||this.get("baseUnit"),s={positive:{color:"",template:"",parts:[],source:"",baseUnit:i,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:i,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:i,parsed:!1,absolute:!1}};t=t.replace("||",Kt);let r=t.split("|");return s.positive.source=r[0],typeof r[2]>"u"?s.zero=s.positive:s.zero.source=r[2],typeof r[1]>"u"?s.negative=s.positive:s.negative.source=r[1],W(s,(a,n)=>{if(n.parsed)return;let h=n.source,l=[];l=n.source.match(/^\[([^\]]*)\]/),l&&l.length&&l[0]!==""&&(h=n.source.substr(l[0].length),n.color=l[1]);let c=Ct.chunk(h,!0);for(let u=0;u<c.length;u++){let d=c[u];if(d.text=d.text.replace(Kt,"|"),d.type==="value"){d.text.match(/[yYMdDwhHKkmsSn]+a/)&&(n.absolute=!0,d.text=d.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));let f=d.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(f)for(let m=0;m<f.length;m++)n.parts.push(f[m]),d.text=d.text.replace(f[m],Ht)}n.template+=d.text}n.parsed=!0}),s}applyFormat(t,e){let i=!e.absolute&&t<this.get("negativeBase");t=Math.abs(t);let s=this.toTimeStamp(t,e.baseUnit),r=e.template,a={millisecond:0,second:0,minute:0,hour:0,day:0,week:0,month:0,year:0};for(let n=0,h=e.parts.length;n<h;n++){let l=e.parts[n],c=this._toTimeUnit(l.substr(0,1)),u,d=this._getUnitValue(c);n<h-1?u=Math.floor(s/d):u=Math.round(s/d),a[c]+=u,s-=u*d}W(a,(n,h)=>{n=="millisecond"&&h==1e3?(a.second++,a.millisecond=0):n=="second"&&h==60?(a.minute++,a.second=0):n=="minute"&&h==60?(a.hour++,a.minute=0):n=="hour"&&h==24?(a.day++,a.hour=0):n=="day"&&h==7&&e.parts.indexOf("w")!==-1?(a.week++,a.day=0):n=="day"&&h==30?(a.month++,a.day=0):n=="month"&&h==12&&(a.year++,a.month=0)});for(let n=0,h=e.parts.length;n<h;n++){let l=e.parts[n],c=this._toTimeUnit(l.substr(0,1)),u=l.length;r=r.replace(Ht,Y(a[c],u,"0"))}return i&&(r="-"+r),r}toTimeStamp(t,e){return t*this._getUnitValue(e)}_toTimeUnit(t){switch(this._unitAliases[t]||t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}}getFormat(t,e,i){if(this.get("durationFormat")!=null)return this.get("durationFormat");if(i||(i=this.get("baseUnit")),e!=null&&t!=e){t=Math.abs(t),e=Math.abs(e);let s=this.getValueUnit(Math.max(t,e),i);return this.get("durationFormats")[i][s]}else{let s=this.getValueUnit(t,i);return this.get("durationFormats")[i][s]}}getValueUnit(t,e){e||(e=this.get("baseUnit"));let i,s=this.getMilliseconds(t,e);return ir(this._getUnitValues(),(r,a)=>{if(r==e||i){if(s/a<=1)return i||(i=r),!1;i=r}return!0}),i}getMilliseconds(t,e){return e||(e=this.get("baseUnit")),t*this._getUnitValue(e)}_getUnitValue(t){return this._getUnitValues()[t]}_getUnitValues(){return{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6}}};ae.className="DurationFormatter";ae.classNames=N.classNames.concat([ae.className]);var Fi={firstDayOfWeek:1,_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(o){let t="th";if(o<11||o>13)switch(o%10){case 1:t="st";break;case 2:t="nd";break;case 3:t="rd";break}return t},"Zoom Out":"",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:"",OK:"",Cancel:"",Delete:"",Settings:"",Expand:"","Move Up":"","Move Down":""};var Bi=class extends N{_setDefaults(){this.setPrivate("defaultLocale",Fi),super._setDefaults()}translate(t,e,...i){e||(e=this._root.locale||this.getPrivate("defaultLocale"));let s=t,r=e[t];if(r===null)s="";else if(r!=null)r&&(s=r);else if(e!==this.getPrivate("defaultLocale"))return this.translate(t,this.getPrivate("defaultLocale"),...i);if(i.length)for(let a=i.length,n=0;n<a;++n)s=s.split("%"+(n+1)).join(i[n]);return s}translateAny(t,e,...i){return this.translate(t,e,...i)}setTranslationAny(t,e,i){let s=i||this._root.locale;s[t]=e}setTranslationsAny(t,e){W(t,(i,s)=>{this.setTranslationAny(i,s,e)})}translateEmpty(t,e,...i){let s=this.translate(t,e,...i);return s==t?"":s}translateFunc(t,e){return this._root.locale[t]?this._root.locale[t]:e!==this.getPrivate("defaultLocale")?this.translateFunc(t,this.getPrivate("defaultLocale")):()=>""}translateAll(t,e){return this.isDefault()?t:Js(t,i=>this.translate(i,e))}isDefault(){return this.getPrivate("defaultLocale")===this._root.locale}};var At=class{constructor(t,e,i,s){this.x1=t,this.y1=e,this.x2=i,this.y2=s,this.type="linear",this.stops=[]}addColorStop(t,e){this.stops.push({offset:t,color:e})}},Lt=class{constructor(t,e,i,s,r,a){this.x1=t,this.y1=e,this.radius1=i,this.x2=s,this.y2=r,this.radius2=a,this.type="radial",this.stops=[]}addColorStop(t,e){this.stops.push({offset:t,color:e})}},Nt=class{constructor(t,e,i,s,r){this.graphics=t,this.background=e,this.repetition=i,this.width=s,this.height=r,this.type="pattern"}},Mt=class{constructor(t,e){this.source=t,this.repetition=e,this.type="raster"}};function Ri(o,t){for(;!(o.interactive&&!t(o));)if(o._parent)o=o._parent;else break}function ea(o,t,e){return $(o,vi(t),i=>{let s=qi(i),r=i.touches;r?(r.length==0&&(r=i.changedTouches),e(fe(r),s)):e([i],s)})}var ve=class extends ge{constructor(t){super(),this._host=t,this.interactionsEnabled=!0,this.tapToActivate=!1,this.tapToActivateTimeout=3e3,this._touchActive=!1,this._hovering=new Set,this._dragging=[],this._mousedown=[],this._listeners={},this._events={};let e=t.view;if(this._disposers.push(new tt(()=>{W(this._events,(i,s)=>{s.disposer.dispose()})})),wt("touchevents")){let i=s=>{this._dragging.length!==0&&ue(this._dragging,r=>r.value.shouldCancelTouch()?(s.preventDefault(),!1):!0),this._touchActiveTimeout&&this._delayTouchDeactivate()};this._disposers.push($(window,"touchstart",i,{passive:!1})),this._disposers.push($(e,"touchstart",i,{passive:!1})),this._disposers.push($(e,"touchmove",()=>{this._touchActiveTimeout&&this._delayTouchDeactivate()},{passive:!0})),this._disposers.push($(window,"click",s=>{this._touchActive=!1},{passive:!0})),this._disposers.push($(e,"click",s=>{window.setTimeout(()=>{this._touchActive=!0,this._delayTouchDeactivate()},100)},{passive:!0}))}wt("wheelevents")&&this._disposers.push($(e,"wheel",i=>{let s=!1;this._hovering.forEach(r=>{if(r.wheelable)return s=!0,!1}),s&&i.preventDefault()},{passive:!1}))}_delayTouchDeactivate(){this._touchActiveTimeout&&clearTimeout(this._touchActiveTimeout),this.tapToActivateTimeout>0&&(this._touchActiveTimeout=window.setTimeout(()=>{this._touchActive=!1},this.tapToActivateTimeout))}afterRender(){if(this._hovering.size&&this._lastPointerMoveEvent){let{events:t,target:e,native:i}=this._lastPointerMoveEvent;w(t,s=>{this._dispatchGlobalMousemove(s,e,i)})}}_withEvents(t,e){let i=this._events[t];if(i!==void 0){i.dispatching=!0;try{e(i)}finally{i.dispatching=!1,i.cleanup&&(i.cleanup=!1,pe(i.callbacks,s=>!s.disposed),i.callbacks.length===0&&(i.disposer.dispose(),delete this._events[t]))}}}_dispatchEventAll(t,e){this.interactionsEnabled&&this._withEvents(t,i=>{w(i.callbacks,s=>{s.disposed||s.callback.call(s.context,e)})})}_dispatchEvent(t,e,i){if(!this.interactionsEnabled)return!1;let s=!1;return this._withEvents(t,r=>{w(r.callbacks,a=>{!a.disposed&&a.object===e&&(a.callback.call(a.context,i),s=!0)})}),s}_dispatchMousedown(t,e){let i=t.button;if(i!=0&&i!=2&&i!=1&&i!==void 0)return;let s=this._host.getEvent(t),r=this._host._getHitTarget(s.originalPoint,s.bbox,e);if(r){let a=s.id,n=!1;Ri(r,h=>{let l={id:a,value:h};return this._mousedown.push(l),!n&&this._dispatchEvent("pointerdown",h,s)&&(n=!0,this._dragging.some(u=>u.value===h&&u.id===a)||this._dragging.push(l)),!0})}this._dispatchEventAll("globalpointerdown",s)}_dispatchGlobalMousemove(t,e,i){let s=this._host.getEvent(t),r=this._host._getHitTarget(s.originalPoint,s.bbox,e);s.native=i,r?(this._hovering.forEach(a=>{a.contains(r)||(this._hovering.delete(a),a.cursorOverStyle&&Je(document.body,"cursor",a._replacedCursorStyle),this._dispatchEvent("pointerout",a,s))}),s.native&&Ri(r,a=>(this._hovering.has(a)||(this._hovering.add(a),a.cursorOverStyle&&(a._replacedCursorStyle=or(document.body,"cursor"),Je(document.body,"cursor",a.cursorOverStyle)),this._dispatchEvent("pointerover",a,s)),!0))):(this._hovering.forEach(a=>{a.cursorOverStyle&&Je(document.body,"cursor",a._replacedCursorStyle),this._dispatchEvent("pointerout",a,s)}),this._hovering.clear()),this._dispatchEventAll("globalpointermove",s)}removeHovering(t){this._hovering.delete(t),t.cursorOverStyle&&Je(document.body,"cursor",t._replacedCursorStyle)}_dispatchGlobalMouseup(t,e){let i=this._host.getEvent(t);i.native=e,this._dispatchEventAll("globalpointerup",i)}_dispatchDragMove(t){if(this._dragging.length!==0){let e=this._host.getEvent(t),i=e.id;this._dragging.forEach(s=>{s.id===i&&this._dispatchEvent("pointermove",s.value,e)})}}_dispatchDragEnd(t,e){let i=t.button,s;if(i==0||i===void 0)s="click";else if(i==2)s="rightclick";else if(i==1)s="middleclick";else return;let r=this._host.getEvent(t),a=r.id;if(this._mousedown.length!==0){let n=this._host._getHitTarget(r.originalPoint,r.bbox,e);n&&this._mousedown.forEach(h=>{h.id===a&&h.value.contains(n)&&this._dispatchEvent(s,h.value,r)}),this._mousedown.length=0}this._dragging.length!==0&&(this._dragging.forEach(n=>{n.id===a&&this._dispatchEvent("pointerup",n.value,r)}),this._dragging.length=0)}_dispatchDoubleClick(t,e){let i=this._host.getEvent(t),s=this._host._getHitTarget(i.originalPoint,i.bbox,e);s&&Ri(s,r=>!this._dispatchEvent("dblclick",r,i))}_dispatchWheel(t,e){let i=this._host.getEvent(t),s=this._host._getHitTarget(i.originalPoint,i.bbox,e);s&&Ri(s,r=>!this._dispatchEvent("wheel",r,i))}_makeSharedEvent(t,e){if(this._listeners[t]===void 0){let i=e();this._listeners[t]=new Ze(()=>{delete this._listeners[t],i.dispose()})}return this._listeners[t].increment()}_onPointerEvent(t,e){let i=!1,s=null;function r(){s=null,i=!1}return new mt([new tt(()=>{s!==null&&clearTimeout(s),r()}),$(this._host.view,vi(t),a=>{i=!0,s!==null&&clearTimeout(s),s=window.setTimeout(r,0)}),ea(window,t,(a,n)=>{s!==null&&(clearTimeout(s),s=null),e(a,n,i),i=!1})])}_initEvent(t){switch(t){case"globalpointermove":case"pointerover":case"pointerout":return this._makeSharedEvent("pointermove",()=>{let e=(i,s,r)=>{this._lastPointerMoveEvent={events:i,target:s,native:r},w(i,a=>{this._dispatchGlobalMousemove(a,s,r)})};return new mt([this._onPointerEvent("pointerdown",e),this._onPointerEvent("pointermove",e)])});case"globalpointerup":return this._makeSharedEvent("pointerup",()=>{let e=this._onPointerEvent("pointerup",(s,r,a)=>{w(s,n=>{this._dispatchGlobalMouseup(n,a)}),this._lastPointerMoveEvent={events:s,target:r,native:a}}),i=this._onPointerEvent("pointercancel",(s,r,a)=>{w(s,n=>{this._dispatchGlobalMouseup(n,a)}),this._lastPointerMoveEvent={events:s,target:r,native:a}});return new tt(()=>{e.dispose(),i.dispose()})});case"click":case"rightclick":case"middleclick":case"pointerdown":case"globalpointerdown":case"pointermove":case"pointerup":return this._makeSharedEvent("pointerdown",()=>{let e=this._onPointerEvent("pointerdown",(a,n)=>{w(a,h=>{this._dispatchMousedown(h,n)})}),i=this._onPointerEvent("pointermove",a=>{w(a,n=>{this._dispatchDragMove(n)})}),s=this._onPointerEvent("pointerup",(a,n)=>{w(a,h=>{this._dispatchDragEnd(h,n)})}),r=this._onPointerEvent("pointercancel",(a,n)=>{w(a,h=>{this._dispatchDragEnd(h,n)})});return new tt(()=>{e.dispose(),i.dispose(),s.dispose(),r.dispose()})});case"dblclick":return this._makeSharedEvent("dblclick",()=>this._onPointerEvent("dblclick",(e,i)=>{w(e,s=>{this._dispatchDoubleClick(s,i)})}));case"wheel":return this._makeSharedEvent("wheel",()=>$(this._host.view,vi("wheel"),e=>{this._dispatchWheel(e,qi(e))},{passive:!1}))}}addEvent(t,e,i,s){let r=this._events[e];r===void 0&&(r=this._events[e]={disposer:this._initEvent(e),callbacks:[],dispatching:!1,cleanup:!1});let a={object:t,context:s,callback:i,disposed:!1};return r.callbacks.push(a),new tt(()=>{a.disposed=!0,r.dispatching?r.cleanup=!0:(ye(r.callbacks,a),r.callbacks.length===0&&(r.disposer.dispose(),delete this._events[e]))})}};var ia=(function(){function o(t,e){var i=[],s=!0,r=!1,a=void 0;try{for(var n=t[Symbol.iterator](),h;!(s=(h=n.next()).done)&&(i.push(h.value),!(e&&i.length===e));s=!0);}catch(l){r=!0,a=l}finally{try{!s&&n.return&&n.return()}finally{if(r)throw a}}return i}return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return o(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),ri=Math.PI*2,ls=function(t,e,i,s,r,a,n){var h=t.x,l=t.y;h*=e,l*=i;var c=s*h-r*l,u=r*h+s*l;return{x:c+a,y:u+n}},sa=function(t,e){var i=e===1.5707963267948966?.551915024494:e===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(e/4),s=Math.cos(t),r=Math.sin(t),a=Math.cos(t+e),n=Math.sin(t+e);return[{x:s-r*i,y:r+s*i},{x:a+n*i,y:n-a*i},{x:a,y:n}]},Sr=function(t,e,i,s){var r=t*s-e*i<0?-1:1,a=t*i+e*s;return a>1&&(a=1),a<-1&&(a=-1),r*Math.acos(a)},ra=function(t,e,i,s,r,a,n,h,l,c,u,d){var f=Math.pow(r,2),m=Math.pow(a,2),_=Math.pow(u,2),p=Math.pow(d,2),g=f*m-f*p-m*_;g<0&&(g=0),g/=f*p+m*_,g=Math.sqrt(g)*(n===h?-1:1);var y=g*r/a*d,x=g*-a/r*u,v=c*y-l*x+(t+i)/2,b=l*y+c*x+(e+s)/2,C=(u-y)/r,T=(d-x)/a,M=(-u-y)/r,S=(-d-x)/a,D=Sr(1,0,C,T),k=Sr(C,T,M,S);return h===0&&k>0&&(k-=ri),h===1&&k<0&&(k+=ri),[v,b,D,k]},aa=function(t){var e=t.px,i=t.py,s=t.cx,r=t.cy,a=t.rx,n=t.ry,h=t.xAxisRotation,l=h===void 0?0:h,c=t.largeArcFlag,u=c===void 0?0:c,d=t.sweepFlag,f=d===void 0?0:d,m=[];if(a===0||n===0)return[];var _=Math.sin(l*ri/360),p=Math.cos(l*ri/360),g=p*(e-s)/2+_*(i-r)/2,y=-_*(e-s)/2+p*(i-r)/2;if(g===0&&y===0)return[];a=Math.abs(a),n=Math.abs(n);var x=Math.pow(g,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(n,2);x>1&&(a*=Math.sqrt(x),n*=Math.sqrt(x));var v=ra(e,i,s,r,a,n,u,f,_,p,g,y),b=ia(v,4),C=b[0],T=b[1],M=b[2],S=b[3],D=Math.abs(S)/(ri/4);Math.abs(1-D)<1e-7&&(D=1);var k=Math.max(Math.ceil(D),1);S/=k;for(var A=0;A<k;A++)m.push(sa(M,S)),M+=S;return m.map(function(L){var H=ls(L[0],a,n,p,_,C,T),z=H.x,q=H.y,J=ls(L[1],a,n,p,_,C,T),Q=J.x,X=J.y,j=ls(L[2],a,n,p,_,C,T),xt=j.x,nt=j.y;return{x1:z,y1:q,x2:Q,y2:X,x:xt,y:nt}})},Dr=aa;function G(o,t){o.left=Math.min(o.left,t.x),o.top=Math.min(o.top,t.y),o.right=Math.max(o.right,t.x),o.bottom=Math.max(o.bottom,t.y)}function na(o,t,e){if(t!==e)throw new Error("Required "+e+" arguments for "+o+" but got "+t)}function ai(o,t,e){if(t<e)throw new Error("Required at least "+e+" arguments for "+o+" but got "+t)}function ct(o,t,e){if(ai(o,t,e),t%e!==0)throw new Error("Arguments for "+o+" must be in pairs of "+e)}function oa(o){for(let t=0;t<o.length;t+=7){let e=t+3,i=o[e];if(i.length>1){let s=/^([01])([01])(.*)$/.exec(i);s!==null&&(o.splice(e,0,s[1]),++e,o.splice(e,0,s[2]),++e,s[3].length>0?o[e]=s[3]:o.splice(e,1))}if(++e,i=o[e],i.length>1){let s=/^([01])(.+)$/.exec(i);s!==null&&(o.splice(e,0,s[1]),++e,o[e]=s[2])}}}function Er(o){if(o===0||o===1)return o;throw new Error("Flag must be 0 or 1")}var O=class{path(t){}addBounds(t){}},cs=class extends O{constructor(){super(...arguments),this.type="beginPath"}},ni=class extends O{constructor(t){super(),this.color=t,this.type="beginFill"}},ds=class extends O{constructor(t){super(),this.clearShadow=t,this.type="endFill"}},us=class extends O{constructor(){super(...arguments),this.type="endStroke"}},oi=class extends O{constructor(t,e,i,s){super(),this.width=t,this.color=e,this.lineJoin=i,this.lineCap=s,this.type="lineStyle"}},fs=class extends O{constructor(t){super(),this.dash=t,this.type="lineDash"}},ps=class extends O{constructor(t){super(),this.dashOffset=t,this.type="lineDashOffset"}},ms=class extends O{constructor(t,e,i,s){super(),this.x=t,this.y=e,this.width=i,this.height=s,this.type="drawRect"}path(t){t.rect(this.x,this.y,this.width,this.height)}addBounds(t){let e=this.x,i=this.y,s=e+this.width,r=i+this.height;G(t,{x:e,y:i}),G(t,{x:s,y:i}),G(t,{x:e,y:r}),G(t,{x:s,y:r})}},gs=class extends O{constructor(t,e,i){super(),this.x=t,this.y=e,this.radius=i,this.type="drawCircle"}path(t){t.moveTo(this.x+this.radius,this.y),t.arc(this.x,this.y,this.radius,0,2*Math.PI)}addBounds(t){G(t,{x:this.x-this.radius,y:this.y-this.radius}),G(t,{x:this.x+this.radius,y:this.y+this.radius})}},_s=class extends O{constructor(t,e,i,s){super(),this.x=t,this.y=e,this.radiusX=i,this.radiusY=s,this.type="drawEllipse"}path(t){t.ellipse(0,0,this.radiusX,this.radiusY,0,0,Math.PI*2)}addBounds(t){G(t,{x:this.x-this.radiusX,y:this.y-this.radiusY}),G(t,{x:this.x+this.radiusX,y:this.y+this.radiusY})}},ys=class extends O{constructor(t,e,i,s,r,a){super(),this.cx=t,this.cy=e,this.radius=i,this.startAngle=s,this.endAngle=r,this.anticlockwise=a,this.type="arc"}path(t){this.radius>0&&t.arc(this.cx,this.cy,this.radius,this.startAngle,this.endAngle,this.anticlockwise)}addBounds(t){let e=xr(this.cx,this.cy,this.startAngle*Gt,this.endAngle*Gt,this.radius);G(t,{x:e.left,y:e.top}),G(t,{x:e.right,y:e.bottom})}},bs=class extends O{constructor(t,e,i,s,r){super(),this.x1=t,this.y1=e,this.x2=i,this.y2=s,this.radius=r,this.type="arcTo"}path(t){this.radius>0&&t.arcTo(this.x1,this.y1,this.x2,this.y2,this.radius)}},xs=class extends O{constructor(t,e){super(),this.x=t,this.y=e,this.type="lineTo"}path(t){t.lineTo(this.x,this.y)}addBounds(t){G(t,{x:this.x,y:this.y})}},vs=class extends O{constructor(t,e){super(),this.x=t,this.y=e,this.type="moveTo"}path(t){t.moveTo(this.x,this.y)}addBounds(t){G(t,{x:this.x,y:this.y})}},ws=class extends O{constructor(){super(...arguments),this.type="closePath"}path(t){t.closePath()}},Cs=class extends O{constructor(t,e,i,s,r,a){super(),this.cpX=t,this.cpY=e,this.cpX2=i,this.cpY2=s,this.toX=r,this.toY=a,this.type="bezierCurveTo"}path(t){t.bezierCurveTo(this.cpX,this.cpY,this.cpX2,this.cpY2,this.toX,this.toY)}addBounds(t){G(t,{x:this.cpX,y:this.cpY}),G(t,{x:this.cpX2,y:this.cpY2}),G(t,{x:this.toX,y:this.toY})}},Ts=class extends O{constructor(t,e,i,s){super(),this.cpX=t,this.cpY=e,this.toX=i,this.toY=s,this.type="quadraticCurveTo"}path(t){t.quadraticCurveTo(this.cpX,this.cpY,this.toX,this.toY)}addBounds(t){G(t,{x:this.cpX,y:this.cpY}),G(t,{x:this.toX,y:this.toY})}},ks=class extends O{constructor(t,e,i,s,r){super(),this.color=t,this.blur=e,this.offsetX=i,this.offsetY=s,this.opacity=r,this.type="shadow"}},Ms=class extends O{constructor(t,e,i,s,r){super(),this.image=t,this.width=e,this.height=i,this.x=s,this.y=r,this.type="image"}addBounds(t){G(t,{x:this.x,y:this.y}),G(t,{x:this.width,y:this.height})}},Ss=class extends O{constructor(t,e){super(),this.id=t,this.name=e,this.type="beginGroup"}},Ds=class extends O{constructor(){super(...arguments),this.type="endGroup"}},zi=class{constructor(){this.ops=[],this.version=0,this._hasShadows=!1,this._strokeWidth=1}clear(){this.ops.length=0,this._strokeWidth=1,++this.version}beginFill(t,e=1){this._fillAlpha=e,t?t instanceof P?this.ops.push(new ni(t.toCSS(e))):this.ops.push(new ni(t)):this.ops.push(new ni("rgba(0, 0, 0, "+e+")"))}endFill(){this.ops.push(new ds(this._hasShadows))}endStroke(){this._strokeWidth>0&&isFinite(this._strokeWidth)&&this.ops.push(new us)}beginPath(){this.ops.push(new cs)}lineStyle(t=0,e,i=1,s,r){this._strokeAlpha=i,this._strokeWidth=t,e?e instanceof P?this.ops.push(new oi(t,e.toCSS(i),s,r)):this.ops.push(new oi(t,e,s,r)):this.ops.push(new oi(t,"rgba(0, 0, 0, "+i+")",s,r))}setLineDash(t){this.ops.push(new fs(t||[]))}setLineDashOffset(t=0){this.ops.push(new ps(t))}drawRect(t,e,i,s){this.ops.push(new ms(t,e,i,s))}drawCircle(t,e,i){this.ops.push(new gs(t,e,i))}drawEllipse(t,e,i,s){this.ops.push(new _s(t,e,i,s))}arc(t,e,i,s,r,a=!1){this.ops.push(new ys(t,e,i,s,r,a))}arcTo(t,e,i,s,r){this.ops.push(new bs(t,e,i,s,r))}lineTo(t,e){this.ops.push(new xs(t,e))}moveTo(t,e){this.ops.push(new vs(t,e))}bezierCurveTo(t,e,i,s,r,a){this.ops.push(new Cs(t,e,i,s,r,a))}quadraticCurveTo(t,e,i,s){this.ops.push(new Ts(t,e,i,s))}closePath(){this.ops.push(new ws)}shadow(t,e=0,i=0,s=0,r){this._hasShadows=!0,this.ops.push(new ks(r!=null?t.toCSS(r):t.toCSS(this._fillAlpha||this._strokeAlpha),e,i,s))}image(t,e,i,s,r){this.ops.push(new Ms(t,e,i,s,r))}beginGroup(t,e){this.ops.push(new Ss(t,e))}endGroup(){this.ops.push(new Ds)}svgPath(t){let e=0,i=0,s=null,r=null,a=null,n=null,h=/([MmZzLlHhVvCcSsQqTtAa])([^MmZzLlHhVvCcSsQqTtAa]*)/g,l=/[\u0009 \u000A\u000C\u000D]*([\+\-]?[0-9]*\.?[0-9]+(?:[eE][\+\-]?[0-9]+)?)[\u0009 \u000A\u000C\u000D]*,?/g,c=this.ops.length;try{let u;for(;(u=h.exec(t))!==null;){let d=u[1],f=u[2],m=[];for(;(u=l.exec(f))!==null;)m.push(u[1]);switch(d!=="S"&&d!=="s"&&d!=="C"&&d!=="c"&&(s=null,r=null),d!=="Q"&&d!=="q"&&d!=="T"&&d!=="t"&&(a=null,n=null),d){case"M":ct(d,m.length,2),e=+m[0],i=+m[1],this.moveTo(e,i);for(let p=2;p<m.length;p+=2)e=+m[p],i=+m[p+1],this.lineTo(e,i);break;case"m":ct(d,m.length,2),e+=+m[0],i+=+m[1],this.moveTo(e,i);for(let p=2;p<m.length;p+=2)e+=+m[p],i+=+m[p+1],this.lineTo(e,i);break;case"L":ct(d,m.length,2);for(let p=0;p<m.length;p+=2)e=+m[p],i=+m[p+1],this.lineTo(e,i);break;case"l":ct(d,m.length,2);for(let p=0;p<m.length;p+=2)e+=+m[p],i+=+m[p+1],this.lineTo(e,i);break;case"H":ai(d,m.length,1);for(let p=0;p<m.length;++p)e=+m[p],this.lineTo(e,i);break;case"h":ai(d,m.length,1);for(let p=0;p<m.length;++p)e+=+m[p],this.lineTo(e,i);break;case"V":ai(d,m.length,1);for(let p=0;p<m.length;++p)i=+m[p],this.lineTo(e,i);break;case"v":ai(d,m.length,1);for(let p=0;p<m.length;++p)i+=+m[p],this.lineTo(e,i);break;case"C":ct(d,m.length,6);for(let p=0;p<m.length;p+=6){let g=+m[p],y=+m[p+1];s=+m[p+2],r=+m[p+3],e=+m[p+4],i=+m[p+5],this.bezierCurveTo(g,y,s,r,e,i)}break;case"c":ct(d,m.length,6);for(let p=0;p<m.length;p+=6){let g=+m[p]+e,y=+m[p+1]+i;s=+m[p+2]+e,r=+m[p+3]+i,e+=+m[p+4],i+=+m[p+5],this.bezierCurveTo(g,y,s,r,e,i)}break;case"S":ct(d,m.length,4),(s===null||r===null)&&(s=e,r=i);for(let p=0;p<m.length;p+=4){let g=2*e-s,y=2*i-r;s=+m[p],r=+m[p+1],e=+m[p+2],i=+m[p+3],this.bezierCurveTo(g,y,s,r,e,i)}break;case"s":ct(d,m.length,4),(s===null||r===null)&&(s=e,r=i);for(let p=0;p<m.length;p+=4){let g=2*e-s,y=2*i-r;s=+m[p]+e,r=+m[p+1]+i,e+=+m[p+2],i+=+m[p+3],this.bezierCurveTo(g,y,s,r,e,i)}break;case"Q":ct(d,m.length,4);for(let p=0;p<m.length;p+=4)a=+m[p],n=+m[p+1],e=+m[p+2],i=+m[p+3],this.quadraticCurveTo(a,n,e,i);break;case"q":ct(d,m.length,4);for(let p=0;p<m.length;p+=4)a=+m[p]+e,n=+m[p+1]+i,e+=+m[p+2],i+=+m[p+3],this.quadraticCurveTo(a,n,e,i);break;case"T":ct(d,m.length,2),(a===null||n===null)&&(a=e,n=i);for(let p=0;p<m.length;p+=2)a=2*e-a,n=2*i-n,e=+m[p],i=+m[p+1],this.quadraticCurveTo(a,n,e,i);break;case"t":ct(d,m.length,2),(a===null||n===null)&&(a=e,n=i);for(let p=0;p<m.length;p+=2)a=2*e-a,n=2*i-n,e+=+m[p],i+=+m[p+1],this.quadraticCurveTo(a,n,e,i);break;case"A":case"a":let _=d==="a";oa(m),ct(d,m.length,7);for(let p=0;p<m.length;p+=7){let g=+m[p+5],y=+m[p+6];_&&(g+=e,y+=i);let x=Dr({px:e,py:i,rx:+m[p],ry:+m[p+1],xAxisRotation:+m[p+2],largeArcFlag:Er(+m[p+3]),sweepFlag:Er(+m[p+4]),cx:g,cy:y});w(x,v=>{this.bezierCurveTo(v.x1,v.y1,v.x2,v.y2,v.x,v.y),e=v.x,i=v.y})}break;case"Z":case"z":na(d,m.length,0),this.closePath();break}}}catch(u){this.ops.length=c,console.warn(`Error when parsing svgPath:
|
|
3
|
+
`+u.message+`
|
|
4
|
+
`+t)}}addBounds(t){w(this.ops,e=>{e.addBounds(t)})}};var we=class{constructor(t=1,e=0,i=0,s=1,r=0,a=0){this.a=t,this.b=e,this.c=i,this.d=s,this.tx=r,this.ty=a}setTransform(t,e,i,s,r,a=1){this.a=Math.cos(r)*a,this.b=Math.sin(r)*a,this.c=-Math.sin(r)*a,this.d=Math.cos(r)*a,this.tx=t-(i*this.a+s*this.c),this.ty=e-(i*this.b+s*this.d)}apply(t){return{x:this.a*t.x+this.c*t.y+this.tx,y:this.b*t.x+this.d*t.y+this.ty}}applyInverse(t){let e=1/(this.a*this.d+this.c*-this.b);return{x:this.d*e*t.x+-this.c*e*t.y+(this.ty*this.c-this.tx*this.d)*e,y:this.a*e*t.y+-this.b*e*t.x+(-this.ty*this.a+this.tx*this.b)*e}}append(t){let e=this.a,i=this.b,s=this.c,r=this.d;this.a=t.a*e+t.b*s,this.b=t.a*i+t.b*r,this.c=t.c*e+t.d*s,this.d=t.c*i+t.d*r,this.tx=t.tx*e+t.ty*s+this.tx,this.ty=t.tx*i+t.ty*r+this.ty}prepend(t){let e=this.tx;if(t.a!==1||t.b!==0||t.c!==0||t.d!==1){let i=this.a,s=this.c;this.a=i*t.a+this.b*t.c,this.b=i*t.b+this.b*t.d,this.c=s*t.a+this.d*t.c,this.d=s*t.b+this.d*t.d}this.tx=e*t.a+this.ty*t.c+t.tx,this.ty=e*t.b+this.ty*t.d+t.ty}copyFrom(t){this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.tx=t.tx,this.ty=t.ty}};function ha(o,t){return o===null||t===null?o===t:o.a===t.a&&o.b===t.b&&o.c===t.c&&o.d===t.d}function $r(o,t,e,i){let s=o.a,r=o.b,a=o.c,n=o.d,h=o.tx-t,l=o.ty-e;o.a=i.a*s+i.c*r,o.b=i.b*s+i.d*r,o.c=i.a*a+i.c*n,o.d=i.b*a+i.d*n,o.tx=t+i.a*h+i.c*l,o.ty=e+i.b*h+i.d*l}var Oi=class{constructor(){this._x=0,this._y=0}get x(){return this._x}get y(){return this._y}set x(t){this._x=t}set y(t){this._y=t}},Ut=class extends sr{constructor(t){super(),this.mask=null,this.visible=!0,this.exportable=!0,this.interactive=!1,this.inactive=null,this.wheelable=!1,this.cancelTouch=!1,this.isMeasured=!1,this.buttonMode=!1,this.alpha=1,this.compoundAlpha=1,this.angle=0,this.scale=1,this.x=0,this.y=0,this.crisp=!1,this.pivot=new Oi,this.deform=null,this._localMatrix=new we,this._matrix=new we,this._uMatrix=new we,this._mx=NaN,this._my=NaN,this._mpx=NaN,this._mpy=NaN,this._mAngle=NaN,this._mScale=NaN,this._mDeform=null,this._renderer=t}_dispose(){this._renderer._removeObject(this),this.getLayer().dirty=!0}getCanvas(){return this._renderer._layerCanvas(this.getLayer())}getLayer(){let t=this;for(;;){if(t._layer)return t._layer;if(t._parent)t=t._parent;else return this._renderer.defaultLayer}}setLayer(t,e){t==null?this._layer=void 0:(this._layer=this._renderer._useLayer(t,e),this._parent&&this._parent.registerChildLayer(this._layer))}markDirtyLayer(){this.getLayer().dirty=!0}clear(){this.invalidateBounds()}invalidateBounds(){this._localBounds=void 0}_addBounds(t){}contains(t){for(;;){if(t===this)return!0;if(t._parent)t=t._parent;else return!1}}toGlobal(t){return this._matrix.apply(t)}toLocal(t){return this._matrix.applyInverse(t)}getLocalMatrix(){return this._uMatrix.setTransform(0,0,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this.deform!==null&&$r(this._uMatrix,0,0,this.deform),this._uMatrix}getLocalBounds(){return this._localBounds||(this._localBounds={left:1e7,top:1e7,right:-1e7,bottom:-1e7},this._addBounds(this._localBounds)),this._localBounds}getContentBounds(){if(this.isMeasured)return this.getLocalBounds();let t=1e7,e={left:t,top:t,right:-t,bottom:-t};return this.isMeasured=!0,this._addBounds(e),this.isMeasured=!1,e.left>e.right?{left:0,top:0,right:0,bottom:0}:e}getAdjustedBounds(t){this._setMatrix();let e=this.getLocalMatrix(),i=e.apply({x:t.left,y:t.top}),s=e.apply({x:t.right,y:t.top}),r=e.apply({x:t.right,y:t.bottom}),a=e.apply({x:t.left,y:t.bottom});return{left:Math.min(i.x,s.x,r.x,a.x),top:Math.min(i.y,s.y,r.y,a.y),right:Math.max(i.x,s.x,r.x,a.x),bottom:Math.max(i.y,s.y,r.y,a.y)}}on(t,e,i){return this.interactive?this._renderer._interaction.addEvent(this,t,e,i):new tt(()=>{})}_setMatrix(){let t=this.pivot.x,e=this.pivot.y,i=this.deform;(this.x!==this._mx||this.y!==this._my||t!==this._mpx||e!==this._mpy||this.angle!==this._mAngle||this.scale!==this._mScale||!ha(i,this._mDeform))&&(this._localMatrix.setTransform(this.x,this.y,t,e,this.angle*Math.PI/180,this.scale),i!==null&&$r(this._localMatrix,this.x,this.y,i),this._mx=this.x,this._my=this.y,this._mpx=t,this._mpy=e,this._mAngle=this.angle,this._mScale=this.scale,this._mDeform=i===null?null:{a:i.a,b:i.b,c:i.c,d:i.d}),this._matrix.copyFrom(this._localMatrix),this._parent&&this._matrix.prepend(this._parent._matrix)}hovering(){return this._renderer._interaction._hovering.has(this)}dragging(){return this._renderer._interaction._dragging.some(t=>t.value===this)}shouldCancelTouch(){let t=this._renderer._interaction;return t.tapToActivate&&!t._touchActive?!1:this.cancelTouch?!0:this._parent?this._parent.shouldCancelTouch():!1}},dt=class extends Ut{constructor(){super(...arguments),this.interactiveChildren=!0,this._children=[]}addChild(t){t._parent=this,this._children.push(t),t._layer&&this.registerChildLayer(t._layer)}addChildAt(t,e){t._parent=this,this._children.splice(e,0,t),t._layer&&this.registerChildLayer(t._layer)}removeChild(t){t._parent=void 0,ye(this._children,t)}registerChildLayer(t){this._childLayers||(this._childLayers=[]),qe(this._childLayers,t),this._parent&&this._parent.registerChildLayer(t)}markDirtyLayer(t=!1){super.markDirtyLayer(),t&&this._childLayers&&w(this._childLayers,e=>e.dirty=!0)}_dispose(){super._dispose(),this._childLayers&&w(this._childLayers,t=>{t.dirty=!0})}},rt=class extends Ut{constructor(){super(...arguments),this._data=new zi,this.blendMode=es.NORMAL}clear(){super.clear(),this._data.clear(),this._contentBounds=void 0}getContentBounds(){return this.isMeasured||!this.visible?super.getContentBounds():(this._contentBounds||(this._contentBounds=super.getContentBounds()),this._contentBounds)}beginFill(t,e=1){t&&!(t instanceof P)&&(this.isMeasured=!0),this._data.beginFill(t,e)}endFill(){this._data.endFill()}endStroke(){this._data.endStroke()}beginPath(){this._data.beginPath()}lineStyle(t=0,e,i=1,s,r){this._data.lineStyle(t,e,i,s,r)}setLineDash(t){this._data.setLineDash(t)}setLineDashOffset(t=0){this._data.setLineDashOffset(t)}drawRect(t,e,i,s){this._data.drawRect(t,e,i,s)}drawCircle(t,e,i){this._data.drawCircle(t,e,i)}drawEllipse(t,e,i,s){this._data.drawEllipse(t,e,i,s)}arc(t,e,i,s,r,a=!1){this._data.arc(t,e,i,s,r,a)}arcTo(t,e,i,s,r){this._data.arcTo(t,e,i,s,r)}lineTo(t,e){this._data.lineTo(t,e)}moveTo(t,e){this._data.moveTo(t,e)}bezierCurveTo(t,e,i,s,r,a){this._data.bezierCurveTo(t,e,i,s,r,a)}quadraticCurveTo(t,e,i,s){this._data.quadraticCurveTo(t,e,i,s)}closePath(){this._data.closePath()}shadow(t,e=0,i=0,s=0,r){this._data.shadow(t,e,i,s,r)}image(t,e,i,s,r){this._data.image(t,e,i,s,r)}svgPath(t){this._data.svgPath(t)}beginGroup(t,e){this._data.beginGroup(t,e)}endGroup(){this._data.endGroup()}_addBounds(t){this.visible&&this.isMeasured&&this._data.addBounds(t)}},Ce=class{constructor(){this.lineHeight=vt(120),this.baselineRatio=.19,this.oversizedBehavior="none",this.breakWords=!1,this.ellipsis="\u2026",this.ignoreFormatting=!1}},ut=class extends Ut{constructor(t,e,i){super(t),this.resolution=1,this.textVisible=!0,this._originalScale=1,this.text=e,this.style=i}invalidateBounds(){super.invalidateBounds(),this._textInfo=void 0}invalidateVisibility(){this.textVisible=!0,this.scale=this._originalScale||1}_getFontStyle(t,e=!1){return Ci(this.style,t,e,()=>getComputedStyle(this._renderer.view).getPropertyValue("font-family"))}_addBounds(t){if(this.visible&&this.isMeasured){let e=this._renderer._measureText(this);G(t,{x:e.left,y:e.top}),G(t,{x:e.right,y:e.bottom})}}_layoutState(){return{lines:[],textVisible:this.textVisible,truncated:this.truncated,scale:this.scale,originalScale:this._originalScale}}_applyLayoutState(t){this._textInfo=t.lines,this.textVisible=t.textVisible,this.truncated=t.truncated,this.scale=t.scale,this._originalScale=t.originalScale}},at=class extends ut{constructor(){super(...arguments),this.textType="circular",this.inside=!1,this.orientation="auto",this.kerning=0,this._textReversed=!1}_inward(){let t=this.orientation;if(t!="auto")return t=="inward";let e=this.radius||0,i=this.startAngle||0,s=0,r=this.style.textAlign||"left",a=r=="left"?1:-1,n=0,h=0;return w(this._textInfo,l=>{let c=i+l.width/(e-l.height)/2*-a;c>n&&(n=c)}),r=="left"?h=(n+s/2)*Gt:r=="right"?h=(n-s/2)*Gt:h=i*Gt,h=br(h),h>=270||h<=90}_orient(){let t=this._textInfo,e=(this.style.textAlign||"left")=="left"?1:-1,i=!this._textReversed,s=this._inward();return s&&i&&t.reverse(),(e==-1&&s||e==1&&!s)&&i&&w(t,r=>{r.textChunks.reverse()}),this._textReversed=!0,s}_eachGlyph(t,e){let i=this.radius||0,s=this.startAngle||0,r=this.inside,a=this.style.textAlign||"left",n=this.kerning||0,h=a=="left"?1:-1;w(this._textInfo,l=>{let c=l.height;r||(i+=c);let u=s;a=="center"&&(u+=l.width/(i-c)/2*-h),u+=Math.PI*(t?0:1);let d=isFinite(u)?u:0,f=_=>{isFinite(_)&&(d+=_)},m=(t?1:-1)*(0-i+c/2);w(l.textChunks,_=>{f(_.width/2/(i-c)*h),e(_,d,m,c),f((_.width/2+n)/(i-c)*h)}),r&&(i-=c)})}},ft=class extends Ut{constructor(t,e){super(t),this.image=e}getLocalBounds(){if(!this._localBounds){let t=0,e=0;this.width&&(t=this.width),this.height&&(e=this.height),this._localBounds={left:0,top:0,right:t,bottom:e},this._addBounds(this._localBounds)}return this._localBounds}clear(){super.clear(),this.image=void 0,this._imageMask=void 0}};function la(o){let t=[0,0,0];for(let e=0;e<24;e++)t[e%3]<<=1,t[e%3]|=o&1,o>>=1;return(t[0]|0)+(t[1]<<8)+(t[2]<<16)}function Nr(o){let t=document.createElement("canvas");t.width=1,t.height=1;let e=t.getContext("2d",{willReadFrequently:!0});e.drawImage(o,0,0,1,1);try{return e.getImageData(0,0,1,1),!1}catch{return console.warn('Image "'+o.src+'" is loaded from different host and is not covered by CORS policy. For more information about the implications read here: https://www.amcharts.com/docs/v5/concepts/cors'),!0}}function hi(o){o.width=0,o.height=0,o.style.width="0px",o.style.height="0px"}function ci(o){return Math.floor(o)+.5}var li=new WeakMap;function Es(o,t){if(typeof t=="string")return t;let e=li.get(t);if(e===void 0){let i;if(t instanceof At)i=o.createLinearGradient(t.x1,t.y1,t.x2,t.y2);else if(t instanceof Lt)i=o.createRadialGradient(t.x1,t.y1,t.radius1,t.x2,t.y2,t.radius2);else if(t instanceof Nt||t instanceof Mt){let s=ca(o,t);return s?(li.set(t,s),s):t}else return t;w(t.stops,s=>{i.addColorStop(s.offset,s.color)}),e=i,li.set(t,e)}return e}function ca(o,t){if(t instanceof Mt)return o.createPattern(t.source,t.repetition);let e=document.createElement("canvas");if(e.width=t.width,e.height=t.height,!e.width||!e.height)return null;let i=e.getContext("2d");return Ii(t.background,i),Ii(t.graphics,i),o.createPattern(e,t.repetition)}function Hi(o,t,e){t.type==="image"?e!==void 0?(o.fillStyle=e,o.fillRect(t.x,t.y,t.width,t.height)):o.drawImage(t.image,t.x,t.y,t.width,t.height):t.path(o)}function $s(o,t,e,i){switch(t.type){case"beginPath":o.beginPath();break;case"beginFill":e!==void 0?o.fillStyle=e:o.fillStyle=Es(o,t.color);break;case"endFill":o.fill(),t.clearShadow&&(o.shadowColor="",o.shadowBlur=0,o.shadowOffsetX=0,o.shadowOffsetY=0);break;case"endStroke":o.stroke();break;case"lineStyle":e!==void 0?o.strokeStyle=e:o.strokeStyle=Es(o,t.color),o.lineWidth=t.width,t.lineJoin&&(o.lineJoin=t.lineJoin),t.lineCap&&(o.lineCap=t.lineCap);break;case"lineDash":o.setLineDash(t.dash);break;case"lineDashOffset":o.lineDashOffset=t.dashOffset;break;case"shadow":i||(t.opacity&&(o.fillStyle=t.color),o.shadowColor=t.color,o.shadowBlur=t.blur,o.shadowOffsetX=t.offsetX,o.shadowOffsetY=t.offsetY);break}}function _t(o,t){let e=o._renderer;return e instanceof ne?e:t.renderer}function da(o,t){let e=o._layer;return{inactive:o.inactive==null?t.inactive:o.inactive,layer:e?e instanceof ui?e:t.renderer.getLayer(e.order):t.layer,renderer:t.renderer}}function Fs(o,t){return o._colorId===void 0&&(o._colorId=_t(o,t).paintId(o)),o._colorId}function Xt(o,t){return!t.inactive&&(o.interactive||_t(o,t)._forceInteractive>0)}function ua(o,t){return o instanceof dt&&o.interactiveChildren||Xt(o,t)}function fi(o=0){return o>0}function Gi(o,t,e=0){let i=Xt(o,t),s=t.layer.order||0;return!!(i&&(s==0&&!fi(e)||s==e))}function pi(o,t){o.exportable===!1&&(t.layer.tainted=!0)}function Fr(o,t,e){let i=o._matrix,s=i.tx*e,r=i.ty*e;o.crisp&&o.deform===null&&(s=ci(s),r=ci(r)),t.setTransform(i.a*e,i.b*e,i.c*e,i.d*e,s,r)}function Ps(o,t,e,i){let s=o._matrix;t.setTransform(s.a*e,s.b*e,s.c*e,s.d*e,(s.tx+i.left)*e,(s.ty+i.top)*e)}function Pr(o,t,e,i){i.margin?Ps(o,t,i.scale||e,i.margin):Fr(o,t,i.scale||e)}function As(o,t,e=0){let i=_t(o,t);if(o.visible&&(o.exportable!==!1||!i._omitTainted)){o._setMatrix();let s=da(o,t),r=i.resolution,a=i._dirtyLayers,n=i._ghostLayer,h=n.context,l=o.mask;l&&l._setMatrix(),w(a,c=>{if(c){let u=c.context;u.save(),l&&(Pr(l,u,r,c),Ls(l,u),u.clip()),u.globalAlpha=o.compoundAlpha*o.alpha,Pr(o,u,r,c),o.filter&&(u.filter=o.filter)}}),h.save(),l&&ua(o,s)&&(Ps(l,h,r,n.margin),Ls(l,h),h.clip()),Ps(o,h,r,n.margin),s.layer.order>0&&!e&&Qs(i._deferredGhostLayers,s.layer.order),fa(o,s,e),h.restore(),w(a,c=>{c&&c.context.restore()})}}function fa(o,t,e){o instanceof dt?pa(o,t,e):o instanceof rt?ma(o,t,e):o instanceof at?_a(o,t,e):o instanceof ut?Br(o,t,e):o instanceof ft?xa(o,t,e):pi(o,t)}function pa(o,t,e){pi(o,t);let i=_t(o,t);o.interactive&&o.interactiveChildren&&++i._forceInteractive,w(o._children,s=>{s.compoundAlpha=o.compoundAlpha*o.alpha,As(s,t,e)}),o.interactive&&o.interactiveChildren&&--i._forceInteractive}function Ls(o,t){t.beginPath(),w(o._data.ops,e=>{Hi(t,e)})}function ma(o,t,e=0){pi(o,t);let i=t.layer.dirty,s=Xt(o,t),r=fi(e),a=Gi(o,t,e);if(i||s||r){let n=t.layer.context,h=_t(o,t)._ghostLayer.context;i&&!r&&(n.globalCompositeOperation=o.blendMode,n.beginPath());let l;a&&(h.beginPath(),l=Fs(o,t)),w(o._data.ops,c=>{i&&!r&&(Hi(n,c),$s(n,c,void 0,!1)),a&&(Hi(h,c,l),$s(h,c,l,!0))})}}function Ar(o,t,e,i){if(e===i)Fr(o,t,e);else{let s=o._matrix,r=s.tx*e,a=s.ty*i;o.crisp&&o.deform===null&&(r=ci(r),a=ci(a)),t.setTransform(s.a*e,s.b*i,s.c*e,s.d*i,r,a)}}function Ii(o,t,e=1,i=e){if(o.visible){o._setMatrix(),t.save();let s=o.mask;s&&(s._setMatrix(),Ar(s,t,e,i),Ls(s,t),t.clip()),t.globalAlpha=o.compoundAlpha*o.alpha,Ar(o,t,e,i),o.filter&&(t.filter=o.filter),t.globalCompositeOperation=o.blendMode,t.beginPath(),w(o._data.ops,r=>{Hi(t,r),$s(t,r,void 0,!1)}),t.restore()}}function Lr(o,t){o.style.textAlign&&(t.textAlign=o.style.textAlign),o.style.direction&&(t.direction=o.style.direction),o.style.textBaseline&&(t.textBaseline=o.style.textBaseline)}function Wi(o,t,e=!1,i=!1,s=!1){pi(o,t);let r=t.layer.context,a=_t(o,t)._ghostLayer.context,n=o.style,h=o._getFontStyle(void 0,i);s||(r.font=h,n.fill&&(n.fill instanceof P?r.fillStyle=n.fill.toCSS(n.fillOpacity!=null?n.fillOpacity:1):r.fillStyle=Es(r,n.fill)),n.shadowColor&&(r.shadowColor=n.shadowColor.toCSS(n.shadowOpacity!=null?n.shadowOpacity:1)),n.shadowBlur&&(r.shadowBlur=n.shadowBlur),n.shadowOffsetX&&(r.shadowOffsetX=n.shadowOffsetX),n.shadowOffsetY&&(r.shadowOffsetY=n.shadowOffsetY),Lr(o,r)),Xt(o,t)&&!e&&(a.font=h),Xt(o,t)&&!e&&(a.fillStyle=Fs(o,t),Lr(o,a))}function Bs(o,t){if(o instanceof at&&o.textType=="circular")return ga(o,t);let e=t.layer.context,i=_t(o,t)._ghostLayer.context;e.save(),i.save(),Wi(o,t,!0,Ti());let s=o._layoutState(),r=Mi(e,o.text,o.style,a=>o._getFontStyle(a),s);return o._applyLayoutState(s),e.restore(),i.restore(),r}function ga(o,t){let e=t.layer.context,i=_t(o,t)._ghostLayer.context;o._textReversed=!1,e.save(),i.save(),Wi(o,t,!0);let s=o._layoutState(),r=Si(e,o.text,o.style,a=>o._getFontStyle(a),s);return o._applyLayoutState(s),e.restore(),i.restore(),r}function Br(o,t,e=0){if(o._textInfo||Bs(o,t),o.textVisible){let i=Xt(o,t),s=t.layer.context,r=t.layer.dirty,a=_t(o,t)._ghostLayer.context,n=fi(e),h=Gi(o,t,e),l=r&&!n;if(!l&&!(o.interactive&&h))return;l&&s.save(),a.save(),Wi(o,t,!1,!1,!l),w(o._textInfo,(c,u)=>{w(c.textChunks,(d,f)=>{if(d.style&&(l&&(s.save(),s.font=d.style),a.save(),Xt(o,t)&&(a.font=d.style)),d.fill&&l&&(s.save(),s.fillStyle=d.fill.toCSS()),l&&s.fillText(d.text,d.offsetX,c.offsetY+d.offsetY),l&&(d.textDecoration=="underline"||d.textDecoration=="line-through")){let m=1,_=1,p=d.height,g=o.style.oversizedBehavior||"";if(["truncate","wrap","wrap-no-break"].indexOf(g)>-1){let v=ki(d.text,s,o.style);d.width=v.actualBoundingBoxLeft+v.actualBoundingBoxRight}let y=d.offsetX;switch(o.style.textAlign){case"right":case"end":y-=d.width;break;case"center":y-=d.width/2;break}if(d.style)switch(Ct.getTextStyle(d.style).fontWeight){case"bolder":case"bold":case"700":case"800":case"900":m=2;break}p&&(_=p/20);let x;d.textDecoration=="line-through"?x=m+c.offsetY+d.offsetY-d.height/2:x=m+_*1.5+c.offsetY+d.offsetY,x=ci(x),s.save(),s.beginPath(),d.fill?s.strokeStyle=d.fill.toCSS():o.style.fill&&o.style.fill instanceof P&&(s.strokeStyle=o.style.fill.toCSS()),s.lineWidth=m*_,s.moveTo(y,x),s.lineTo(y+d.width,x),s.stroke(),s.restore()}i&&o.interactive&&h&&a.fillText(d.text,d.offsetX,c.offsetY+d.offsetY),d.fill&&l&&s.restore(),d.style&&(l&&s.restore(),a.restore())})}),l&&s.restore(),a.restore()}}function _a(o,t,e=0){o.textType==="circular"?ya(o,t,e):Br(o,t,e)}function ya(o,t,e=0){if(o.textVisible){let i=Xt(o,t),s=t.layer.context,r=t.layer.dirty,a=_t(o,t)._ghostLayer.context,n=fi(e),h=Gi(o,t,e),l=r&&!n;if(!l&&!h)return;l&&s.save(),i&&a.save(),Wi(o,t,!1,!1,!l),o._textInfo||Bs(o,t);let c=o.radius||0,u=o.startAngle||0,d=o.inside,f=o.style.textAlign||"left",m=o.kerning||0,_=f=="left"?1:-1,p=o._orient();w(o._textInfo,(g,y)=>{let x=g.height;d||(c+=x);let v=u;f=="center"&&(v+=g.width/(c-x)/2*-_),v+=Math.PI*(p?0:1),l&&(s.save(),s.rotate(v)),i&&(a.save(),a.rotate(v));let b=0;w(g.textChunks,(C,T)=>{let M=C.text,S=C.width;b=S/2/(c-x)*_,l&&s.rotate(b),i&&a.rotate(b),C.style&&(l&&(s.save(),s.font=C.style),a.save(),i&&(a.font=C.style)),C.fill&&l&&(s.save(),s.fillStyle=C.fill.toCSS()),l&&(s.textBaseline="middle",s.textAlign="center"),i&&(a.textBaseline="middle",a.textAlign="center"),l&&s.fillText(M,0,(p?1:-1)*(0-c+x/2)),i&&h&&a.fillText(M,0,(p?1:-1)*(0-c+x/2)),C.fill&&l&&s.restore(),C.style&&(l&&s.restore(),a.restore()),b=(S/2+m)/(c-x)*_,l&&s.rotate(b),i&&a.rotate(b)}),l&&s.restore(),i&&a.restore(),d&&(c-=x)}),l&&s.restore(),i&&a.restore()}}function ba(o,t,e){if(o._imageMask===void 0){let i=o.width||t.naturalWidth,s=o.height||t.naturalHeight,r=document.createElement("canvas");r.width=i,r.height=s;let a=r.getContext("2d");a.imageSmoothingEnabled=!1,a.fillStyle=Fs(o,e),a.fillRect(0,0,i,s),Nr(t)||(a.globalCompositeOperation="destination-in",a.drawImage(t,0,0,i,s)),o._imageMask=r}return o._imageMask}function xa(o,t,e=0){if(pi(o,t),o.image){if(o.tainted===void 0&&(o.tainted=Nr(o.image),t.layer.tainted=!0),o.tainted&&_t(o,t)._omitTainted)return;let i=fi(e),s=Gi(o,t,e);if(t.layer.dirty&&!i){o.shadowColor&&(t.layer.context.shadowColor=o.shadowColor.toCSS(o.shadowOpacity!=null?o.shadowOpacity:1)),o.shadowBlur&&(t.layer.context.shadowBlur=o.shadowBlur),o.shadowOffsetX&&(t.layer.context.shadowOffsetX=o.shadowOffsetX),o.shadowOffsetY&&(t.layer.context.shadowOffsetY=o.shadowOffsetY);let r=o.width||o.image.naturalWidth,a=o.height||o.image.naturalHeight;t.layer.context.drawImage(o.image,0,0,r,a)}if(o.interactive&&Xt(o,t)&&s){let r=ba(o,o.image,t);_t(o,t)._ghostLayer.context.drawImage(r,0,0)}}}var di=class{constructor(t,e,i,s){this.event=t,this.originalPoint=e,this.point=i,this.bbox=s,this.simulated=!1,this.native=!0,wt("touchevents")&&t instanceof Touch?this.id=t.identifier:this.id=null}},ne=class extends ge{constructor(t){super(),this.view=document.createElement("div"),this._layerDom=document.createElement("div"),this.layers=[],this._dirtyLayers=[],this.defaultLayer=this.getLayer(0),this._ghostLayer=new Ns,this._deferredGhostLayers=[],this._patternCanvas=document.createElement("canvas"),this._patternContext=this._patternCanvas.getContext("2d"),this._realWidth=0,this._realHeight=0,this._calculatedWidth=0,this._calculatedHeight=0,this._colorId=0,this._colorMap={},this._forceInteractive=0,this._omitTainted=!1,t==null?this.resolution=window.devicePixelRatio:this.resolution=t,this.view.style.position="absolute",this.view.setAttribute("aria-hidden","true"),this.view.appendChild(this._layerDom),this._disposers.push(new tt(()=>{w(this.layers,e=>{hi(e.view),e.exportableView&&hi(e.exportableView)}),hi(this._ghostLayer.view),hi(this._patternCanvas)})),this._disposers.push(be(()=>{t==null&&(this.resolution=window.devicePixelRatio)})),this._interaction=new ve(this),this._disposers.push(this._interaction)}resetImageArray(){this._ghostLayer.imageArray=void 0}get interactionsEnabled(){return this._interaction.interactionsEnabled}set interactionsEnabled(t){this._interaction.interactionsEnabled=t}get tapToActivate(){return this._interaction.tapToActivate}set tapToActivate(t){this._interaction.tapToActivate=t}get tapToActivateTimeout(){return this._interaction.tapToActivateTimeout}set tapToActivateTimeout(t){this._interaction.tapToActivateTimeout=t}get debugGhostView(){return!!this._ghostLayer.view.parentNode}set debugGhostView(t){t?this._ghostLayer.view.parentNode||this.view.appendChild(this._ghostLayer.view):this._ghostLayer.view.parentNode&&this._ghostLayer.view.parentNode.removeChild(this._ghostLayer.view)}createLinearGradient(t,e,i,s){return new At(t,e,i,s)}createRadialGradient(t,e,i,s,r,a){return new Lt(t,e,i,s,r,a)}createPattern(t,e,i,s,r){let a=this.resolution,n=a!==1&&s>0&&r>0,h=n?Math.max(1,Math.round(s*a)):s,l=n?Math.max(1,Math.round(r*a)):r;this._patternCanvas.width=h,this._patternCanvas.height=l,this._patternContext.clearRect(0,0,h,l);let c=n?h/s:1,u=n?l/r:1;Ii(e,this._patternContext,c,u),Ii(t,this._patternContext,c,u);let d=new Nt(t,e,i,s,r),f=this._patternContext.createPattern(this._patternCanvas,i);return f&&n&&f.setTransform(new DOMMatrix([1/c,0,0,1/u,0,0])),li.set(d,f),d}createRasterPattern(t,e){let i=this._patternContext.createPattern(t,e);if(!i)return null;let s=new Mt(t,e);return li.set(s,i),s}makeContainer(){return new dt(this)}makeGraphics(){return new rt(this)}makeText(t,e){return new ut(this,t,e)}makeTextStyle(){return new Ce}makeRadialText(t,e){return new at(this,t,e)}makePicture(t){return new ft(this,t)}resizeLayer(t){t.resize(this._calculatedWidth,this._calculatedHeight,this._calculatedWidth,this._calculatedHeight,this.resolution)}resizeGhost(){this._ghostLayer.resize(this._calculatedWidth,this._calculatedHeight,this._calculatedWidth,this._calculatedHeight,this.resolution)}resize(t,e,i,s){this._realWidth=t,this._realHeight=e,this._calculatedWidth=i,this._calculatedHeight=s,w(this.layers,r=>{r&&(r.dirty=!0,this.resizeLayer(r))}),this.resizeGhost(),this.view.style.width=i+"px",this.view.style.height=s+"px"}createDetachedLayer(t=!1){let e=document.createElement("canvas"),i=e.getContext("2d",{willReadFrequently:t}),s=new ui(e,i);return e.style.position="absolute",e.style.top="0px",e.style.left="0px",s}getLayerByOrder(t){let e=this.layers,i=e.length;for(let s=0;s<i;s++){let r=e[s];if(r.order==t)return r}}getLayer(t,e=!0){let i=this.getLayerByOrder(t);if(i)return i;let s=this.createDetachedLayer(t==99);s.order=t,s.visible=e,s.view.className="am5-layer-"+t,s.visible&&this.resizeLayer(s);let r=this.layers;r.push(s),r.sort((l,c)=>l.order>c.order?1:l.order<c.order?-1:0);let a=r.length,n=xi(r,s),h;for(let l=n+1;l<a;l++)if(r[l].visible){h=r[l];break}return s.visible&&(h===void 0?this._layerDom.appendChild(s.view):this._layerDom.insertBefore(s.view,h.view)),s}render(t){this._dirtyLayers.length=0,this._deferredGhostLayers=[],w(this.layers,i=>{i&&i.dirty&&i.visible&&(this._dirtyLayers.push(i),i.clear())}),this._ghostLayer.clear(),As(t,{inactive:null,layer:this.defaultLayer,renderer:this});let e=this._deferredGhostLayers;e.length&&(e.sort((i,s)=>i-s),w(e,i=>{As(t,{inactive:null,layer:this.defaultLayer,renderer:this},i)})),this._ghostLayer.context.restore(),w(this._dirtyLayers,i=>{i.context.restore(),i.dirty=!1}),this._interaction.afterRender()}paintId(t){let e=la(++this._colorId),i=P.fromHex(e).toCSS();return this._colorMap[i]=t,i}_removeObject(t){t._colorId!==void 0&&delete this._colorMap[t._colorId],t instanceof ft&&t._imageMask&&hi(t._imageMask)}_useLayer(t,e){let s=this.getLayer(t,!0);return s.visible=!0,s.margin=e,e&&Jt(s.view,!1),this._ghostLayer.setMargin(this.layers),s.dirty=!0,this.resizeLayer(s),this.resizeGhost(),s}_layerCanvas(t){return t.view}_measureText(t){return Bs(t,{inactive:t.inactive,layer:t.getLayer(),renderer:this})}_adjustBoundingBox(t){let e=this._ghostLayer.margin;return new DOMRect(-e.left,-e.top,t.width+e.left+e.right,t.height+e.top+e.bottom)}getEvent(t,e=!0){let i=this.view.getBoundingClientRect(),s=t.clientX||0,r=t.clientY||0,a=this._calculatedWidth/this._realWidth,n=this._calculatedHeight/this._realHeight,h={x:s-i.left,y:r-i.top},l={x:(s-(e?i.left:0))*a,y:(r-(e?i.top:0))*n};return new di(t,h,l,this._adjustBoundingBox(i))}_getHitTarget(t,e,i){if(e.width===0||e.height===0||t.x<e.left||t.x>e.right||t.y<e.top||t.y>e.bottom||!i||!this._layerDom.contains(i))return;let s=this._ghostLayer.getImageData(t,e);if(s.data[0]===0&&s.data[1]===0&&s.data[2]===0)return!1;let r=P.fromRGB(s.data[0],s.data[1],s.data[2]).toCSS();return this._colorMap[r]}getObjectAtPoint(t){let e=this._ghostLayer.getImageArray(t);if(e[0]===0&&e[1]===0&&e[2]===0)return;let i=P.fromRGB(e[0],e[1],e[2]).toCSS();return this._colorMap[i]}removeHovering(t){this._interaction.removeHovering(t)}getCanvas(t,e){this.render(t),e||(e={});let i=this.resolution,s=Math.floor(this._calculatedWidth*this.resolution),r=Math.floor(this._calculatedHeight*this.resolution);if(e.minWidth&&e.minWidth>s){let f=e.minWidth/s;f*this.resolution>i&&(i=f*this.resolution)}if(e.minHeight&&e.minHeight>r){let f=e.minHeight/r;f*this.resolution>i&&(i=f*this.resolution)}if(e.maxWidth&&e.maxWidth<s){let f=e.maxWidth/s;f*this.resolution<i&&(i=f*this.resolution)}if(e.maxHeight&&e.maxHeight<r){let f=e.maxHeight/r;f*this.resolution<i&&(i=f*this.resolution)}e.maintainPixelRatio&&(i/=this.resolution);let a=[],n=!1,h=document.createElement("canvas");i!=this.resolution&&(n=!0,s=s*i/this.resolution,r=r*i/this.resolution),h.width=s,h.height=r,h.style.position="fixed",h.style.top="-10000px",this.view.appendChild(h),a.push(h);let l=h.getContext("2d"),c=0,u=0,d=!1;return w(this.layers,f=>{if(f&&f.visible&&(f.tainted||n)){d=!0,f.exportableView=f.view,f.exportableContext=f.context,f.view=document.createElement("canvas"),f.view.style.position="fixed",f.view.style.top="-10000px",this.view.appendChild(f.view),a.push(f.view);let m=0,_=0;f.margin&&(m+=f.margin.left||0+f.margin.right||0,_+=f.margin.top||0+f.margin.bottom||0),f.view.width=s+m,f.view.height=r+_,f.context=f.view.getContext("2d"),f.dirty=!0,f.scale=i}}),d&&(this._omitTainted=!0,this.render(t),this._omitTainted=!1),w(this.layers,f=>{if(f&&f.visible){let m=0,_=0;f.margin&&(m=-(f.margin.left||0)*this.resolution,_=-(f.margin.top||0)*this.resolution),l.drawImage(f.view,m,_),f.exportableView&&(f.view=f.exportableView,f.exportableView=void 0),f.exportableContext&&(f.context=f.exportableContext,f.exportableContext=void 0),c<f.view.clientWidth&&(c=f.view.clientWidth),u<f.view.clientHeight&&(u=f.view.clientHeight),f.scale=void 0}}),h.style.width=c+"px",h.style.height=u+"px",w(a,f=>{f.style.position="",f.style.top="",this.view.removeChild(f)}),h}},Ns=class{constructor(){this.margin={left:0,right:0,top:0,bottom:0},this._resolution=1,this._width=0,this._height=0,this.view=document.createElement("canvas"),this.context=this.view.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.view.style.position="absolute",this.view.style.top="0px",this.view.style.left="0px"}resize(t,e,i,s,r){this._resolution=r,t+=this.margin.left+this.margin.right,e+=this.margin.top+this.margin.bottom,i+=this.margin.left+this.margin.right,s+=this.margin.top+this.margin.bottom,this.view.style.left=-this.margin.left+"px",this.view.style.top=-this.margin.top+"px",this._width=Math.floor(t*r),this._height=Math.floor(e*r),this.view.width=this._width,this.view.style.width=i+"px",this.view.height=this._height,this.view.style.height=s+"px"}getImageData(t,e){return this.context.getImageData(Math.round((t.x-e.left)/e.width*this._width),Math.round((t.y-e.top)/e.height*this._height),1,1)}getImageArray(t){this.imageArray||(this.imageArray=this.context.getImageData(0,0,this._width,this._height).data);let e=this.imageArray,i=Math.round(t.x*this._resolution),r=(Math.round(t.y*this._resolution)*this._width+i)*4;return[e[r],e[r+1],e[r+2],e[r+3]]}setMargin(t){this.margin.left=0,this.margin.right=0,this.margin.top=0,this.margin.bottom=0,w(t,e=>{e.margin&&(this.margin.left=Math.max(this.margin.left,e.margin.left),this.margin.right=Math.max(this.margin.right,e.margin.right),this.margin.top=Math.max(this.margin.top,e.margin.top),this.margin.bottom=Math.max(this.margin.bottom,e.margin.bottom))})}clear(){this.context.save(),this.context.fillStyle="#000",this.context.fillRect(0,0,this._width,this._height)}},ui=class{constructor(t,e){this.tainted=!0,this.order=0,this.visible=!0,this.dirty=!0,this._width=0,this._height=0,this.view=t,this.context=e}resize(t,e,i,s,r){this.width!=null&&(t=this.width,i=this.width),this.height!=null&&(e=this.height,s=this.height),this.margin?(t+=this.margin.left+this.margin.right,e+=this.margin.top+this.margin.bottom,i+=this.margin.left+this.margin.right,s+=this.margin.top+this.margin.bottom,this.view.style.left=-this.margin.left+"px",this.view.style.top=-this.margin.top+"px"):(this.view.style.left="0px",this.view.style.top="0px"),this._width=Math.floor(t*r),this._height=Math.floor(e*r),this.view.width=this._width,this.view.style.width=i+"px",this.view.height=this._height,this.view.style.height=s+"px"}clear(){this.context.save(),this.context.clearRect(0,0,this._width,this._height)}};function Rr(o,t){o==null?requestAnimationFrame(t):setTimeout(()=>{requestAnimationFrame(t)},1e3/o)}var zr={text:"CanvasText",grid:"CanvasText",alternativeBackground:"CanvasText",stroke:"CanvasText",background:"Canvas",alternativeText:"Canvas",fill:"Canvas",primaryButton:"ButtonFace",primaryButtonHover:"ButtonFace",primaryButtonDown:"ButtonFace",primaryButtonActive:"ButtonFace",primaryButtonDisabled:"ButtonFace",secondaryButton:"ButtonFace",secondaryButtonHover:"ButtonFace",secondaryButtonDown:"ButtonFace",secondaryButtonActive:"ButtonFace",primaryButtonText:"ButtonText",primaryButtonStroke:"ButtonText",secondaryButtonText:"ButtonText",secondaryButtonStroke:"ButtonText",primaryButtonTextDisabled:"GrayText",disabled:"GrayText"},Rs,Yi;function Or(){return Rs===void 0&&(Rs=window.matchMedia?window.matchMedia("(forced-colors: active)"):null),Rs}function wa(){if(!Yi){let o={},t=document.createElement("div");t.style.cssText="position:absolute;width:0;height:0;overflow:hidden;forced-color-adjust:none",document.body.appendChild(t),w(["Canvas","CanvasText","ButtonFace","ButtonText","GrayText"],e=>{t.style.color=e,o[e]=P.fromCSS(getComputedStyle(t).color)}),document.body.removeChild(t),Yi=o}return Yi}var Vi=class o{constructor(t,e={},i){if(this._computedSettings={},this._isDirty=!1,this._isDirtyParents=!1,this._isDirtyAnimation=!1,this._dirty={},this._dirtyParents={},this._dirtyBounds={},this._dirtyPositions={},this._ticker=null,this._tickers=[],this._updateTick=!0,this.skipRenderFrame=!1,this.events=new yr,this.animationTime=null,this._animations=[],this.language=Bi.new(this,{}),this.locale=Fi,this.utc=!1,this.numberFormatter=ie.new(this,{}),this.dateFormatter=re.new(this,{}),this.durationFormatter=ae.new(this,{}),this.tabindex=0,this._tabindexes=[],this._a11yD=!1,this._focusElementDirty=!1,this._groupStops={},this._dirtyGroups={},this.verticalLayout=ss.new(this,{}),this.horizontalLayout=is.new(this,{}),this.gridLayout=rs.new(this,{}),this._paused=!1,this.autoResize=!0,this._fontHash=[],this._isDisposed=!1,this._disposers=[],this._tooltips=[],this._htmlEnabledContainers=[],this.entitiesById={},!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e,e.accessible==!1&&(this._a11yD=!0),e.useSafeResolution==null&&(e.useSafeResolution=!0,this._computedSettings.useSafeResolution=!0),e.sanitizeHTML==null&&(e.sanitizeHTML=!0,this._computedSettings.sanitizeHTML=!0);let s;e.useSafeResolution&&(s=Ki());let r=e.renderer||o.defaultRenderer;this._renderer=new r(s);let a=o._getDOM(t);this.interfaceColors=ee.new(this,{}),this.dom=a;let n=document.createElement("div");n.style.position="relative",n.style.width="100%",n.style.height="100%",a.appendChild(n);let h=e.tooltipContainerBounds;h&&(this._tooltipContainerSettings=h),this._inner=n,this._updateComputedStyles(),Qt.rootElements.push(this)}static new(t,e){let i=o._getDOM(t);w(Qt.rootElements,r=>{if(r.dom===i)if(Qt.autoDispose)r.dispose();else throw new Error("You cannot have multiple Roots on the same DOM node")});let s=new o(t,e,!0);return s._init(),s}static _getDOM(t){let e=t instanceof HTMLElement?t:document.getElementById(t);if(e===null)throw new Error("Could not find HTML element with id `"+t+"`");return e}moveDOM(t){let e;if(t instanceof HTMLElement?e=t:e=document.getElementById(t),e){for(;this.dom.childNodes.length>0;)e.appendChild(this.dom.childNodes[0]);this.dom=e,this._initResizeSensor(),this.resize()}}_handleLogo(){if(this._logo){let t=this.dom.offsetWidth,e=this.dom.offsetHeight;t<=150||e<=60?this._logo.hide():this._logo.show()}}_showBranding(){if(!this._logo){let t=this.tooltipContainer.children.push(E.new(this,{interactive:!0,interactiveChildren:!1,position:"absolute",setStateOnChildren:!0,paddingTop:9,paddingRight:9,paddingBottom:9,paddingLeft:9,scale:.6,y:vt(100),centerY:B,tooltipY:10,tooltipText:"Created using amCharts 5",tooltipX:B,cursorOverStyle:"pointer",background:Yt.new(this,{fill:ht(4671320),fillOpacity:0,tooltipY:5})}));t.set("tooltip",this.systemTooltip),t.events.on("click",()=>{window.open("https://www.amcharts.com/","_blank")}),t.states.create("hover",{});let e=t.children.push(F.new(this,{stroke:ht(13421772),strokeWidth:3,svgPath:"M5 25 L13 25h13.6c3.4 0 6 0 10.3-4.3s5.2-12 8.6-12c3.4 0 4.3 8.6 7.7 8.6M83.4 25H79.8c-3.4 0-6 0-10.3-4.3s-5.2-12-8.6-12-4.3 8.6-7.7 8.6",dx:-50,strokeOpacity:0}));e.states._createC("hover",{stroke:ht(3976191)});let i=t.children.push(F.new(this,{stroke:ht(8947848),strokeWidth:3,svgPath:"M83.4 25h-31C37 25 39.5 4.4 28.4 4.4S18.9 24.2 4.3 25H0",dx:50,strokeOpacity:0})),s=wr(vr),r=1500;t.setTimeout(()=>{i.animate({key:"strokeOpacity",to:1,duration:r,easing:s}),i.animate({key:"dx",to:0,duration:r,easing:s}),e.animate({key:"dx",to:0,duration:r,easing:s}),e.animate({key:"strokeOpacity",to:1,duration:r,easing:s})},3e3),i.states.create("hover",{stroke:ht(4671320)}),this._logo=t,this._handleLogo()}}_getRealSize(){return this.dom.getBoundingClientRect()}_getCalculatedSize(t){return this._settings.calculateSize?this._settings.calculateSize(t):{width:t.width,height:t.height}}_init(){let t=this._settings;t.accessible!==!1&&(t.focusable&&(this._inner.setAttribute("focusable","true"),this._inner.setAttribute("tabindex",this.tabindex+"")),t.ariaLabel&&this._inner.setAttribute("aria-label",t.ariaLabel),t.role&&this._inner.setAttribute("role",t.role));let e=this._renderer,i=this._getRealSize(),s=this._getCalculatedSize(i),r=Math.floor(s.width),a=Math.floor(s.height),n=Math.floor(i.width),h=Math.floor(i.height),l=E.new(this,{visible:!0,width:r,height:a});this._rootContainer=l,this._rootContainer._defaultThemes.push(Tr.new(this));let c=l.children.push(E.new(this,{width:B,height:B}));c._setC("visible",!0),this.container=c,e.resize(n,h,r,a),this._inner.appendChild(e.view),this._initResizeSensor();let u=document.fonts;if(u&&u.addEventListener){let f=()=>{let p=0;return u.forEach(g=>{g.status=="loaded"&&p++}),p},m=f(),_=()=>{let p=f();p>m&&!this._isDisposed&&(this._invalidateLabelBounds(this._rootContainer,!0),w(this._tooltips,g=>{this._invalidateLabelBounds(g,!0)})),m=p};this._disposers.push($(u,"loadingdone",_)),this._disposers.push($(u,"loading",()=>{u.ready.then(_)})),u.status=="loading"&&u.ready.then(_)}let d=document.createElement("div");if(this._htmlElementContainer=d,d.className="am5-html-container",d.style.position="absolute",d.style.pointerEvents="none",this._tooltipContainerSettings||(d.style.overflow="hidden"),this._inner.appendChild(d),this._a11yD!==!0){let f=document.createElement("div");f.className="am5-reader-container",f.setAttribute("role","alert"),f.style.position="absolute",f.style.width="1px",f.style.height="1px",f.style.overflow="hidden",f.style.clip="rect(1px, 1px, 1px, 1px)",this._readerAlertElement=f,this._inner.appendChild(this._readerAlertElement);let m=document.createElement("div");m.className="am5-focus-container",m.style.position="absolute",m.style.pointerEvents="none",m.style.top="0px",m.style.left="0px",m.style.overflow="hidden",m.style.width=r+"px",m.style.height=a+"px",m.setAttribute("role","graphics-document"),t.ariaLabel&&m.setAttribute("aria-label",t.ariaLabel),Jt(m,!1),this._focusElementContainer=m,this._inner.appendChild(this._focusElementContainer);let _=document.createElement("div");this._tooltipElementContainer=_,_.className="am5-tooltip-container",this._inner.appendChild(_),wt("keyboardevents")&&(this._disposers.push($(window,"keydown",p=>{let g=Et(p);g=="Shift"?this._isShift=!0:g=="Tab"&&(this._isShift=p.shiftKey)})),this._disposers.push($(window,"keyup",p=>{Et(p)=="Shift"&&(this._isShift=!1)})),this._disposers.push($(m,"click",()=>{let p=this._focusedSprite;if(p){let g=p.get("clickAnnounceText","");g!==""&&this.readerAlert(g);let y=e.getEvent(new MouseEvent("click"));p.events.dispatch("click",{type:"click",originalEvent:y.event,point:y.point,simulated:!0,target:p})}})),this._disposers.push($(m,"keydown",p=>{let g=this._focusedSprite;if(g){if(p.key=="Escape"){g.isDragging()&&this._stopKeyboardDrag(g),g.hideTooltip();return}let y=0,x=0,v=Et(p);switch(v){case"Enter":case" ":if(v==" "&&["button","checkbox","switch","radio","tab","option","menuitem","menuitemcheckbox","menuitemradio"].indexOf(g.get("role",""))===-1)return;let b=g.get("clickAnnounceText","");b!==""&&this.readerAlert(b),p.preventDefault();let C=e.getEvent(new MouseEvent("mouse"));g.events.dispatch("click",{type:"click",originalEvent:C.event,point:C.point,simulated:!0,target:g});return;case"ArrowLeft":y=-6;break;case"ArrowRight":y=6;break;case"ArrowUp":x=-6;break;case"ArrowDown":x=6;break;default:return}if(y!=0||x!=0){if(p.preventDefault(),g.get("focusableGroup")&&!p.shiftKey&&!g.isDragging())return;if(!g.isDragging()){this._keyboardDragPoint={x:0,y:0};let T=e.getEvent(new MouseEvent("mousedown",{clientX:0,clientY:0}));T.point={x:0,y:0},g.events.isEnabled("pointerdown")&&g.events.dispatch("pointerdown",{type:"pointerdown",originalEvent:T.event,point:T.point,simulated:!0,target:g})}let b=this._keyboardDragPoint;b.x+=y,b.y+=x;let C=e.getEvent(new MouseEvent("mousemove",{clientX:b.x,clientY:b.y}),!1);g.events.isEnabled("globalpointermove")&&g.events.dispatch("globalpointermove",{type:"globalpointermove",originalEvent:C.event,point:C.point,simulated:!0,target:g})}}})),this._disposers.push($(m,"keyup",p=>{if(this._focusedSprite){let g=this._focusedSprite,y=Et(p);switch(y){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":if(g.isDragging()){this._stopKeyboardDrag(g);return}else if(g.get("focusableGroup")){let x=g.get("focusableGroup"),v=this._tabindexes.filter(T=>T===g||T.get("focusableGroup")==x&&T.isVisibleDeep()&&this._canTab(T)),b=v.indexOf(g),C=v.length-1;b+=y=="ArrowRight"||y=="ArrowDown"?1:-1,b<0?b=C:b>C&&(b=0),nr(v[b].getPrivate("focusElement").dom)}break}}})))}this._startTicker(),this.setThemes([]),this._initForcedColors(),this._addTooltip(),this._hasLicense()||this._showBranding()}get systemTooltip(){if(!this._systemTooltip){let t=kt.new(this,{themeTags:["system"]});this._systemTooltip=t}return this._systemTooltip}_initResizeSensor(){this._resizeSensorDisposer&&this._resizeSensorDisposer.dispose(),this._resizeSensorDisposer=new Ni(this.dom,()=>{this.autoResize&&this.resize()}),this._disposers.push(this._resizeSensorDisposer)}resize(){let t=this._getRealSize(),e=this._getCalculatedSize(t),i=Math.floor(e.width),s=Math.floor(e.height);if(i>0&&s>0){let r=Math.floor(t.width),a=Math.floor(t.height),n=this._htmlElementContainer;if(n.style.width=i+"px",n.style.height=s+"px",this._a11yD!==!0){let l=this._focusElementContainer;l.style.width=i+"px",l.style.height=s+"px"}this._renderer.resize(r,a,i,s);let h=this._rootContainer;h.setPrivate("width",i),h.setPrivate("height",s),this._render(),this._handleLogo()}}_reapplySettings(){let t=this._settings,e=Ki();if(this._renderer.resolution=t.useSafeResolution&&e!=null?e:window.devicePixelRatio,t.tooltipContainerBounds&&(this._tooltipContainerSettings=t.tooltipContainerBounds),this._htmlElementContainer&&(this._htmlElementContainer.style.overflow=t.tooltipContainerBounds?"":"hidden"),t.accessible===!1&&(this._a11yD=!0),!this._a11yD){let i=this._inner;t.focusable?(i.setAttribute("focusable","true"),i.setAttribute("tabindex",this.tabindex+"")):(i.removeAttribute("focusable"),i.removeAttribute("tabindex")),t.ariaLabel!=null?i.setAttribute("aria-label",t.ariaLabel):i.removeAttribute("aria-label"),t.role!=null?i.setAttribute("role",t.role):i.removeAttribute("role")}this._updateForcedColors(),this._rootContainer&&(this._rootContainer.markDirty(),this._rootContainer.walkChildren(i=>{i.markDirty()})),this._render()}get settings(){return this._settings}_render(){if(this.skipRenderFrame){this.skipRenderFrame=!1;return}this._renderer.render(this._rootContainer._display),this._focusElementDirty&&(this._updateDirtyGroups(),this._updateCurrentFocus(),this._focusElementDirty=!1)}_runTickers(t){w(this._tickers,e=>{e(t)})}_runAnimations(t){let e=0;return pe(this._animations,i=>{let s=i._runAnimation(t);return s===ts.Stopped?!1:(s===ts.Playing&&++e,!0)}),this._isDirtyAnimation=!1,e===0}_runDirties(){let t={};for(;this._isDirtyParents;)this._isDirtyParents=!1,me(this._dirtyParents).forEach(([a,n])=>{delete this._dirtyParents[a],n.isDisposed()||(t[n.uid]=n,n._prepareChildren())});me(t).forEach(([a,n])=>{n._updateChildren()});let e=[];me(this._dirty).forEach(([a,n])=>{n.isDisposed()?delete this._dirty[a]:(e.push(n),n._beforeChanged())}),e.forEach(a=>{a._changed(),delete this._dirty[a.uid],a._clearDirty()}),this._isDirty=!1;let i={},s=[];me(this._dirtyBounds).forEach(([a,n])=>{delete this._dirtyBounds[a],n.isDisposed()||(i[n.uid]=n.depth(),s.push(n))}),this._positionHTMLElements(),s.sort((a,n)=>Cr(i[n.uid],i[a.uid])),s.forEach(a=>{a._updateBounds()});let r=this._dirtyPositions;me(r).forEach(([a,n])=>{delete r[a],n.isDisposed()||n._updatePosition()}),e.forEach(a=>{a._afterChanged()}),me(t).forEach(([a,n])=>{n._childrenPrep=!1,n._childrenUpdt=!1})}_renderFrame(t){if(this._updateTick){this.events.isEnabled("framestarted")&&this.events.dispatch("framestarted",{type:"framestarted",target:this,timestamp:t}),this._checkComputedStyles(),this._runTickers(t);let e=this._runAnimations(t);return this._runDirties(),this._render(),this._renderer.resetImageArray(),this._positionHTMLElements(),this.events.isEnabled("frameended")&&this.events.dispatch("frameended",{type:"frameended",target:this,timestamp:t}),this._tickers.length===0&&e&&!this._isDirtyAnimation&&!this._isDirty}else return!0}_runTicker(t,e){this.isDisposed()||(this.animationTime=t,this._renderFrame(t)?(this._ticker=null,this.animationTime=null):this._paused||(e?this._ticker:Rr(this.fps,this._ticker)))}_runTickerNow(t=1e4){if(!this.isDisposed()){let e=performance.now()+t;for(;;){let i=performance.now();if(i>=e){this.animationTime=null;break}if(this.animationTime=i,this._renderFrame(i)){this.animationTime=null;break}}}}_startTicker(){this._ticker===null&&(this.animationTime=null,this._ticker=t=>{this._runTicker(t)},Rr(this.fps,this._ticker))}get updateTick(){return this._updateTick}set updateTick(t){this._updateTick=t,t&&this._startTicker()}_addDirtyEntity(t){this._isDirty=!0,this._dirty[t.uid]===void 0&&(this._dirty[t.uid]=t),this._startTicker()}_addDirtyParent(t){this._isDirty=!0,this._isDirtyParents=!0,this._dirtyParents[t.uid]===void 0&&(this._dirtyParents[t.uid]=t),this._startTicker()}_addDirtyBounds(t){this._isDirty=!0,this._dirtyBounds[t.uid]===void 0&&(this._dirtyBounds[t.uid]=t),this._startTicker()}_addDirtyPosition(t){this._isDirty=!0,this._dirtyPositions[t.uid]===void 0&&(this._dirtyPositions[t.uid]=t),this._startTicker()}_addAnimation(t){this._isDirtyAnimation=!0,this._animations.indexOf(t)===-1&&this._animations.push(t),this._startTicker()}_markDirty(){this._isDirty=!0}_markDirtyRedraw(){this.events.once("frameended",()=>{this._isDirty=!0,this._startTicker()})}eachFrame(t){return this._tickers.push(t),this._startTicker(),new tt(()=>{ye(this._tickers,t)})}markDirtyGlobal(t){t||(t=this.container),t.walkChildren(e=>{e instanceof E&&this.markDirtyGlobal(e),e.markDirty(),e.markDirtyBounds()})}width(){return Math.floor(this._getCalculatedSize(this._getRealSize()).width)}height(){return Math.floor(this._getCalculatedSize(this._getRealSize()).height)}dispose(){this._isDisposed||(this._isDisposed=!0,this._rootContainer.dispose(),this._renderer.dispose(),this.horizontalLayout.dispose(),this.verticalLayout.dispose(),this.interfaceColors.dispose(),w(this._disposers,t=>{t.dispose()}),this._inner&&rr(this._inner),Zt(Qt.rootElements,this))}isDisposed(){return this._isDisposed}readerAlert(t){if(this._a11yD!==!0){let e=this._readerAlertElement;t=Qe(t),e.innerHTML==t&&(e.innerHTML=""),e.innerHTML=t}}setThemes(t){this._rootContainer.set("themes",t);let e=this.tooltipContainer;e&&e._applyThemes();let i=this.interfaceColors;i&&i._applyThemes()}_addTooltip(){if(!this.tooltipContainer){let t=this._tooltipContainerSettings,e=this._rootContainer.children.push(E.new(this,{position:"absolute",isMeasured:!1,width:B,height:B,layer:t?35:30,layerMargin:t||void 0}));this.tooltipContainer=e;let i=kt.new(this,{});this.container._setC("tooltip",i),i.hide(0),this._tooltip=i}}_registerTabindexOrder(t){this._a11yD!=!0&&(t.get("focusable")&&!t.getPrivate("focusExcluded")?qe(this._tabindexes,t):Zt(this._tabindexes,t),this._invalidateTabindexes())}_unregisterTabindexOrder(t){this._a11yD!=!0&&(Zt(this._tabindexes,t),this._invalidateTabindexes())}_invalidateTabindexes(){this._a11yD!=!0&&(this._tabindexes.sort((t,e)=>{let i=t.get("tabindexOrder",0),s=e.get("tabindexOrder",0);return i==s?0:i>s?1:-1}),w(this._tabindexes,(t,e)=>{t.getPrivate("focusElement")?this._moveFocusElement(e,t):this._makeFocusElement(e,t);let i=t.get("focusableGroup");i&&(this._dirtyGroups[i]=i)}),this._updateDirtyGroups())}_canFocus(t){return!!(t.get("visible")&&t.get("opacity")!==0&&t.get("role")!="tooltip"&&!t.get("ariaHidden")&&!t.isHidden()&&t.getPrivate("focusable")!==!1&&this._hasFocusSize(t))}_canTab(t){return this._canFocus(t)&&(this._focusedSprite===t||!t.getPrivate("focusOutOfView"))}_invalidateGroup(t){this._dirtyGroups[t]=t,this._focusElementDirty=!0}_updateDirtyGroups(){let t=this._dirtyGroups;this._dirtyGroups={},W(t,(e,i)=>{this._updateGroup(i)})}_updateGroup(t){let e=this._tabindexes.filter(s=>s.get("focusableGroup")==t&&s.getPrivate("focusElement")),i=this._groupStops[t];(!i||e.indexOf(i)==-1||!this._canTab(i))&&(i=tr(e,s=>this._canTab(s))),i?this._groupStops[t]=i:delete this._groupStops[t],w(e,s=>{let r=s.getPrivate("focusElement").dom;this._canTab(s)?r.setAttribute("tabindex",s===i?""+this.tabindex:"-1"):r.removeAttribute("tabindex")})}_updateCurrentFocus(){this._a11yD!=!0&&this._focusedSprite&&(this._decorateFocusElement(this._focusedSprite),this._positionFocusElement(this._focusedSprite))}_decorateFocusElement(t,e){if(this._a11yD==!0||(e||(e=t.getPrivate("focusElement").dom),!e))return;let i=t.get("toggleKey"),s=i=="active"||i=="disabled",r=t.get("role");r=="figure"&&s&&t.get("focusable")&&(r="button"),r?e.setAttribute("role",r):e.removeAttribute("role");let a=t.get("ariaExpanded");if(a!=null?e.setAttribute("aria-expanded",a?"true":"false"):e.removeAttribute("aria-expanded"),r=="button"&&s&&a==null){let x=i=="disabled"?!t.get("disabled"):!!t.get("active");e.setAttribute("aria-pressed",x?"true":"false")}else e.removeAttribute("aria-pressed");let n=t.get("ariaLabel");if(n){let x=as(t,n);e.setAttribute("aria-label",x)}else e.removeAttribute("aria-label");let h=t.get("ariaLive");h?e.setAttribute("aria-live",h):e.removeAttribute("aria-live");let l=t.get("ariaChecked");l!=null&&r&&["checkbox","option","radio","menuitemcheckbox","menuitemradio","treeitem"].indexOf(r)!==-1?e.setAttribute("aria-checked",l?"true":"false"):e.removeAttribute("aria-checked");let c=t.get("ariaCurrent");c!=null?e.setAttribute("aria-current",c):e.removeAttribute("aria-current");let u=t.get("ariaSelected");u!=null&&r&&["gridcell","option","row","tab","columnheader","rowheader","treeitem"].indexOf(r)!==-1?e.setAttribute("aria-selected",u?"true":"false"):e.removeAttribute("aria-selected"),t.get("ariaHidden")?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden");let d=t.get("ariaOrientation");d?e.setAttribute("aria-orientation",d):e.removeAttribute("aria-orientation");let f=t.get("ariaValueNow");f?e.setAttribute("aria-valuenow",f):e.removeAttribute("aria-valuenow");let m=t.get("ariaValueMin");m?e.setAttribute("aria-valuemin",m):e.removeAttribute("aria-valuemin");let _=t.get("ariaValueMax");_?e.setAttribute("aria-valuemax",_):e.removeAttribute("aria-valuemax");let p=t.get("ariaValueText");p?e.setAttribute("aria-valuetext",p):e.removeAttribute("aria-valuetext");let g=t.get("ariaControls");g?e.setAttribute("aria-controls",g):e.removeAttribute("aria-controls");let y=t.get("focusableGroup");this._canFocus(t)?(this._canTab(t)?y?e.setAttribute("tabindex",this._groupStops[y]===t?""+this.tabindex:"-1"):e.setAttribute("tabindex",""+this.tabindex):e.removeAttribute("tabindex"),e.removeAttribute("aria-hidden")):(e.removeAttribute("tabindex"),e.setAttribute("aria-hidden","true")),y&&this._invalidateGroup(y)}_initForcedColors(){let t=Or();t&&t.addEventListener&&this._disposers.push($(t,"change",()=>{Yi=void 0,this._updateForcedColors()})),this._updateForcedColors()}_updateForcedColors(){let t=Or(),e=t&&t.matches&&this._settings.forcedColors!==!1,i=this.interfaceColors;if(e){let s=wa();if(!this._forcedColorsBackup){let r={};W(zr,a=>{r[a]={value:i.get(a),user:i.isUserSetting(a)&&!i.isComputedSetting(a)}}),this._forcedColorsBackup=r}W(zr,(r,a)=>{i._setC(r,s[a])})}else if(this._forcedColorsBackup){let s=this._forcedColorsBackup;this._forcedColorsBackup=void 0,W(s,(r,a)=>{a.user?i.set(r,a.value):i.remove(r)}),i._applyThemes()}}_stopKeyboardDrag(t){let e=this._keyboardDragPoint||{x:0,y:0},i=this._renderer.getEvent(new MouseEvent("mouseup",{clientX:e.x,clientY:e.y}));t.events.isEnabled("globalpointerup")&&t.events.dispatch("globalpointerup",{type:"globalpointerup",originalEvent:i.event,point:i.point,simulated:!0,target:t}),this._keyboardDragPoint=void 0}_hasFocusSize(t){if(this._focusedSprite===t||t.height()||t.width())return!0;if(!t.get("isMeasured")){let e=t._focusBounds();return e.right>e.left||e.bottom>e.top}return!1}_makeFocusElement(t,e){if(e.getPrivate("focusElement")||this._a11yD==!0)return;let i=document.createElement("div");e.get("role")!="tooltip"&&(i.tabIndex=this.tabindex),i.style.position="absolute",Jt(i,!1);let s=[];e.setPrivate("focusElement",{dom:i,disposers:s}),this._decorateFocusElement(e),s.push($(i,"focus",r=>{this._handleFocus(r)})),s.push($(i,"blur",r=>{this._handleBlur(r)})),this._moveFocusElement(t,e)}_removeFocusElement(t){if(this._a11yD==!0)return;Zt(this._tabindexes,t);let e=t.getPrivate("focusElement");if(e){this._focusElementContainer.removeChild(e.dom),w(e.disposers,r=>{r.dispose()}),t.removePrivate("focusElement");let s=t.get("focusableGroup");s&&(this._groupStops[s]===t&&delete this._groupStops[s],this._invalidateGroup(s))}}_hideFocusElement(t){if(this._a11yD==!0)return;let e=t.getPrivate("focusElement");e.dom.style.display="none"}_moveFocusElement(t,e){if(this._a11yD==!0)return;let i=this._focusElementContainer,s=e.getPrivate("focusElement").dom;if(s===this._focusElementContainer.children[t])return;let r=this._focusElementContainer.children[t+1];r?i.insertBefore(s,r):i.append(s)}_positionFocusElement(t){if(this._a11yD==!0||t==null)return;this._focusElementContainer.scrollTop=0;let e=t._focusBounds(),i=e.right==e.left?t.width():e.right-e.left,s=e.top==e.bottom?t.height():e.bottom-e.top,r=this._settings.focusPadding!==void 0?this._settings.focusPadding:2,a=e.left-r,n=e.top-r;i<0&&(a+=i,i=Math.abs(i)),s<0&&(n+=s,s=Math.abs(s));let h=t.getPrivate("focusElement").dom;h.style.top=n+"px",h.style.left=a+"px",h.style.width=i+r*2+"px",h.style.height=s+r*2+"px"}_getSpriteByFocusElement(t){let e;return ue(this._tabindexes,(i,s)=>i.getPrivate("focusElement").dom===t?(e=i,!1):!0),e}_handleFocus(t){if(this._a11yD==!0)return;let e=this._getSpriteByFocusElement(t.target);if(!e)return;if(!e.isVisibleDeep()){this._focusNext(t.target,this._isShift?-1:1);return}this._positionFocusElement(e),this._focusedSprite=e,e.events.isEnabled("focus")&&e.events.dispatch("focus",{type:"focus",originalEvent:t,target:e});let i=e.get("focusableGroup");i&&(this._groupStops[i]=e,this._updateGroup(i))}_focusNext(t,e,i){if(this._a11yD==!0)return;let s=this.dom.getRootNode?this.dom.getRootNode():null,r=this.dom.ownerDocument||document;s&&(typeof ShadowRoot<"u"&&s instanceof ShadowRoot||s instanceof Document)&&(r=s);let a=Array.from(r.querySelectorAll(["a[href]","area[href]","button:not([disabled])","details","input:not([disabled])","iframe:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contentEditable=""]','[contentEditable="true"]','[contentEditable="TRUE"]','[tabindex]:not([tabindex^="-"])'].join(","))),n=a.indexOf(t)+e;n<0?n=a.length-1:n>=a.length&&(n=0);let h=a[n];if(i&&e==-1){let l=this._getSpriteByFocusElement(h);if(l&&l.get("focusableGroup")==i){this._focusNext(h,e);return}}h&&h.focus()}_handleBlur(t){if(this._a11yD==!0)return;let e=this._focusedSprite;e&&!e.isDisposed()&&e.events.isEnabled("blur")&&e.events.dispatch("blur",{type:"blur",originalEvent:t,target:e}),this._focusedSprite=void 0,e&&!e.isDisposed()&&e.getPrivate("focusElement")&&this._decorateFocusElement(e)}updateTooltip(t){if(this._a11yD==!0)return;let e=ur(Qe(t._getText())),i=t.getPrivate("tooltipElement");t.get("role")=="tooltip"&&e!=""?(i||(i=this._makeTooltipElement(t)),i.innerHTML!=e&&(i.innerHTML=e),i.setAttribute("aria-hidden",t.isVisibleDeep()?"false":"true")):i&&(i.remove(),t.removePrivate("tooltipElement"))}_makeTooltipElement(t){let e=this._tooltipElementContainer,i=document.createElement("div");return i.style.position="absolute",i.style.width="1px",i.style.height="1px",i.style.overflow="hidden",i.style.clip="rect(1px, 1px, 1px, 1px)",Jt(i,!1),this._decorateFocusElement(t,i),e.append(i),t.setPrivate("tooltipElement",i),i}_removeTooltipElement(t){if(this._a11yD==!0)return;let e=t.getPrivate("tooltipElement");if(e){let i=e.parentElement;i&&i.removeChild(e)}}_invalidateAccessibility(t){if(this._a11yD==!0)return;this._focusElementDirty=!0;let e=t.getPrivate("focusElement");t.get("focusable")&&!t.getPrivate("focusExcluded")?e&&(this._decorateFocusElement(t),this._focusedSprite===t&&this._positionFocusElement(t)):e&&this._removeFocusElement(t)}focused(t){return this._focusedSprite===t}documentPointToRoot(t){let e=this._getRealSize(),i=this._getCalculatedSize(e),s=i.width/e.width,r=i.height/e.height;return{x:(t.x-e.left)*s,y:(t.y-e.top)*r}}rootPointToDocument(t){let e=this._getRealSize(),i=this._getCalculatedSize(e),s=i.width/e.width,r=i.height/e.height;return{x:t.x/s+e.left,y:t.y/r+e.top}}addDisposer(t){return this._disposers.push(t),t}_updateComputedStyles(){let t=window.getComputedStyle(this.dom),e=this._fontHash,i=Ke(t).flatMap(s=>{var r;return typeof s=="string"&&s.startsWith("font")?[(r=t[s])===null||r===void 0?void 0:r.toString()]:[]});if(e.length!==i.length)return this._fontHash=i,!0;for(let s=0;s<e.length;s++)if(e[s]!==i[s])return this._fontHash=i,!0;return!1}_checkComputedStyles(){this._updateComputedStyles()&&this._invalidateLabelBounds(this.container)}_invalidateLabelBounds(t,e){t instanceof E?t.children.each(i=>{this._invalidateLabelBounds(i,e)}):t instanceof ns&&(t.markDirtyBounds(),e&&(t._display.invalidateBounds(),t.markDirty()))}_hasLicense(){for(let t=0;t<Qt.licenses.length;t++)if(Qt.licenses[t].match(/^AM5C.{5,}/i))return!0;return!1}_licenseApplied(){this._logo&&this._logo.set("forceHidden",!0)}get debugGhostView(){return this._renderer.debugGhostView}set debugGhostView(t){this._renderer.debugGhostView=t}set tapToActivate(t){this._renderer.tapToActivate=t}get tapToActivate(){return this._renderer.tapToActivate}set tapToActivateTimeout(t){this._renderer.tapToActivateTimeout=t}get tapToActivateTimeout(){return this._renderer.tapToActivateTimeout}_makeHTMLElement(t){let e=this._htmlElementContainer,i=document.createElement("div");t.setPrivate("htmlElement",i);let s=!1,r;t._walkParents(n=>{if(n.get("verticalScrollbar"))return s=!0,r=n,!1});let a;return s&&(a=document.createElement("div"),t.setPrivate("htmlElementWrapper",a),t.setPrivate("wrapperContainer",r),a.style.position="absolute",a.style.overflow="hidden",a.style.boxSizing="border-box",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",r.events.on("boundschanged",()=>{this._positionHTMLElement(t)})),i.style.position="absolute",i.style.overflow="auto",i.style.boxSizing="border-box",Jt(i,t.get("interactive",!1)),t.events.isEnabled("click")&&(Jt(i,!0),this._disposers.push($(i,"click",n=>{let h=this._renderer.getEvent(n);t.events.dispatch("click",{type:"click",originalEvent:h.event,point:h.point,simulated:!1,target:t})}))),this._positionHTMLElement(t),s?(a.append(i),e.append(a)):e.append(i),qe(this._htmlEnabledContainers,t),i}_positionHTMLElements(){w(this._htmlEnabledContainers,t=>{this._positionHTMLElement(t)})}_positionHTMLElement(t){let e=t.getPrivate("htmlElementWrapper");if(e){let s=t.getPrivate("wrapperContainer");if(s){let r=s.globalBounds();e.style.clipPath="rect("+r.top+"px "+r.right+"px "+r.bottom+"px "+r.left+"px)"}}let i=t.getPrivate("htmlElement");if(i){w(["paddingTop","paddingRight","paddingBottom","paddingLeft","minWidth","minHeight","maxWidth","maxHeight"],x=>{let v=t.get(x);v?i.style[x]=v+"px":i.style[x]=""}),w(["fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration"],x=>{let v=t.get(x);v?x=="fontSize"&&!Ot(v)?i.style[x]=v+"px":i.style[x]=v+"":i.style[x]=""});let a=t.compositeScale()||1,n=t.compositeRotation()||0;i.style.transform="",i.style.transformOrigin="";let h=t.compositeOpacity();setTimeout(()=>{i.style.opacity=h+""},10);let l=t.isVisibleDeep();l&&(i.style.display="block");let c={x:t.x()+t.get("dx",0),y:t.y()+t.get("dy",0)};t.parent&&(c=t.parent.toGlobal(c)),i.style.top=c.y+"px",i.style.left=c.x+"px";let u=t.get("width"),d=t.get("height"),f=0,m=0;if(u&&(f=t.width()),d&&(m=t.height()),!u||!d){i.style.position="fixed",i.style.width="",i.style.height="";let x=i.getBoundingClientRect();i.style.position="absolute",u||(f=x.width),d||(m=x.height);let v=f/a,b=m/a,C=t.get("centerX",0),T=t.get("centerY",0),M=0,S=0,D=0,k=0;C instanceof Dt?(M=-C.value*v,S=(1-C.value)*v):(M=-C,S=v-C),T instanceof Dt?(D=-T.value*b,k=(1-T.value)*b):(D=-T,k=b-T),t._localBounds={left:M,right:S,top:D,bottom:k};let A=t._adjustedLocalBounds,L=t._display.getAdjustedBounds(t._localBounds);t._adjustedLocalBounds=L,(A.left!==L.left||A.right!==L.right||A.top!==L.top||A.bottom!==L.bottom)&&t.markDirtyBounds()}f>0&&(i.style.minWidth=f+"px"),m>0&&(i.style.minHeight=m+"px"),(!l||h==0)&&(i.style.display="none");let _=t.get("centerX",0),p=ji(_)?_.percent+"%":_+"px",g=t.get("centerY",0),y=ji(g)?g.percent+"%":g+"px";(_||g)&&(i.style.transform="translate(-"+p+", -"+y+")"+i.style.transform),a!=1&&(i.style.transform+="scale("+a+")"),n!=0&&(i.style.transform+=" rotate("+n+"deg)"),i.style.transform!=""&&(i.style.transformOrigin=p+" "+y)}}_sanitizeHTML(t){return this._settings.sanitizeHTML?fr(t):t}_setHTMLContent(t,e){let i=t.getPrivate("htmlElement");i||(i=this._makeHTMLElement(t),this.autoResize||this.resize());let s=this._sanitizeHTML(e);i.innerHTML!=s&&(i.innerHTML=s)}_removeHTMLContent(t){let e=t.getPrivate("htmlElementWrapper"),i=t.getPrivate("htmlElement");e?(this._htmlElementContainer.removeChild(e),t.removePrivate("htmlElement"),t.removePrivate("htmlElementWrapper"),t.removePrivate("wrapperContainer")):i&&(this._htmlElementContainer.removeChild(i),t.removePrivate("htmlElement"),t.removePrivate("wrapperContainer")),Zt(this._htmlEnabledContainers,t)}};Vi.defaultRenderer=ne;var Ui;function Ca(o,t,e){let i=t.interfaceColors,s=i.get("secondaryButton").toCSS(),r=i.get("text").toCSS(),a=i.get("alternativeBackground").toCSS(.45);if(!Ui){let n=new mt([new K(o,".am5-modal",{width:"100%",height:"100%",position:"absolute","z-index":"100000",top:"0",left:"0"},t.nonce),new K(o,".am5-modal-curtain",{top:"0",left:"0",width:"100%",height:"100%",position:"absolute",background:i.get("background").toCSS(.5),"z-index":"100"},t.nonce),new K(o,".am5-modal-wrapper",{top:"0",left:"0",width:"100%",height:"100%",position:"absolute","text-align":"center","white-space":"nowrap",background:i.get("background").toCSS(.5),"z-index":"101"},t.nonce),new K(o,".am5-modal-wrapper:before",{content:"''",display:"inline-block",height:"100%","vertical-align":"middle","margin-right":"-0.25em"},t.nonce),new K(o,".am5-modal-content",{display:"inline-block",padding:"1.2em","vertical-align":"middle","text-align":"start","white-space":"normal",background:i.get("background").toCSS(),"border-radius":"4px","-webkit-box-shadow":"0px 0px 36px 0px "+a,"box-shadow":"0px 0px 36px 0px "+a,color:r},t.nonce),new K(o,".am5-modal-content h1",{"font-size":"1em",margin:"0 0 0.5em 0"},t.nonce),new K(o,".am5-modal-table",{display:"table",margin:"1em 0"},t.nonce),new K(o,".am5-modal-table-row",{display:"table-row"},t.nonce),new K(o,".am5-modal-table-heading",{display:"table-heading",padding:"3px 10px 3px 0"},t.nonce),new K(o,".am5-modal-table-cell",{display:"table-cell",padding:"3px 0 3px 0"},t.nonce),new K(o,".am5-modal-table-cell > *",{"vertical-align":"middle"},t.nonce),new K(o,".am5-modal-content input[type=text], .am5-modal-content input[type=number], .am5-modal-content select",{border:"1px solid "+s,"border-radius":"4px",padding:"3px 5px",margin:"2px"},t.nonce),new K(o,".am5-modal-input-narrow",{width:"70px"},t.nonce),new K(o,".am5-modal-button",{"font-weight":"400",color:i.get("secondaryButtonText").toCSS(),"line-height":"1.5","text-align":"center","text-decoration":"none","vertical-align":"middle",cursor:"pointer",padding:"0.2em 0.8em","font-size":"1em","border-radius":"0.25em",margin:"0 0.25em 0 0",border:"1px solid "+i.get("secondaryButtonStroke").toCSS(),background:i.get("secondaryButton").toCSS()},t.nonce),new K(o,".am5-modal-button:hover",{background:i.get("secondaryButtonHover").toCSS()},t.nonce),new K(o,".am5-modal-button.am5-modal-primary",{color:i.get("primaryButtonText").toCSS(),border:"1px solid "+i.get("primaryButtonStroke").toCSS(),background:i.get("primaryButton").toCSS()},t.nonce),new K(o,".am5-modal-button.am5-modal-primary:hover",{background:i.get("primaryButtonHover").toCSS()},t.nonce)]);Ui=new Ze(()=>{Ui=void 0,n.dispose()})}return Ui.increment()}var Te=class extends N{_afterNew(){super._afterNewApplyThemes(),this._setRawDefault("deactivateRoot",!0),Ca(cr(this._root.dom),this._root);let t=document.createElement("div");t.className="am5-modal",t.style.display="none",this.root._inner.appendChild(t),this.setPrivate("container",t);let e=document.createElement("div");e.className="am5-modal-curtain",t.appendChild(e),this.setPrivate("curtain",e),this._disposers.push($(e,"click",()=>{this.cancel()}));let i=document.createElement("div");i.className="am5-modal-wrapper",i.setAttribute("role","dialog"),i.setAttribute("aria-modal","true"),i.tabIndex=-1,t.appendChild(i),this.setPrivate("wrapper",i);let s=document.createElement("div");s.className="am5-modal-content",i.appendChild(s),this.setPrivate("content",s);let r=this.get("content");r&&(s.innerHTML=this._root._sanitizeHTML(r)),wt("keyboardevents")&&(this._disposers.push($(document,"keydown",a=>{this.isOpen()&&Et(a)=="Escape"&&this.cancel()})),this._disposers.push($(i,"keydown",a=>{if(Et(a)=="Tab"){let n=this._getFocusables();if(n.length==0){a.preventDefault();return}let h=n[0],l=n[n.length-1],c=document.activeElement;a.shiftKey&&(c===h||c===i)?(a.preventDefault(),l.focus()):!a.shiftKey&&c===l&&(a.preventDefault(),h.focus())}})))}_getFocusables(){let t=this.getPrivate("content").querySelectorAll("a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex^='-'])");return Array.prototype.filter.call(t,e=>e.offsetWidth>0||e.offsetHeight>0)}_updateLabel(){let t=this.getPrivate("wrapper"),e=this.get("ariaLabel");if(t.removeAttribute("aria-label"),t.removeAttribute("aria-labelledby"),e)t.setAttribute("aria-label",e);else{let i=this.getPrivate("content").querySelector("h1, h2, h3, h4, h5, h6");i&&(i.id||(i.id="am5-modal-title-"+this.uid),t.setAttribute("aria-labelledby",i.id))}}_restoreFocus(){let t=this._opener;this._opener=void 0;let e=document.activeElement;t&&t.focus&&document.contains(t)&&(!e||e===document.body||hr(this.getPrivate("container"),e))&&t.focus()}_beforeChanged(){super._beforeChanged(),this.isDirty("content")&&(this.getPrivate("content").innerHTML=this._root._sanitizeHTML(this.get("content",""))),(this.isDirty("content")||this.isDirty("ariaLabel"))&&this._updateLabel()}isOpen(){return this.getPrivate("container").style.display!="none"}open(){this.isOpen()||(this._opener=document.activeElement),this.getPrivate("container").style.display="block",this._updateLabel();let t=this._getFocusables();(t.length?t[0]:this.getPrivate("wrapper")).focus(),this.get("deactivateRoot")&&this.setTimeout(()=>{this._root._renderer.interactionsEnabled=!1},10),this.events.dispatch("opened",{type:"opened",target:this})}close(){this.getPrivate("container").style.display="none",this._restoreFocus(),this.get("deactivateRoot")&&(this._root._renderer.interactionsEnabled=!0),this.events.dispatch("closed",{type:"closed",target:this})}cancel(){this.getPrivate("container").style.display="none",this._restoreFocus(),this.get("deactivateRoot")&&(this._root._renderer.interactionsEnabled=!0),this.events.dispatch("cancelled",{type:"cancelled",target:this})}_dispose(){super._dispose();let t=this.getPrivate("container");t.parentElement&&t.parentElement.removeChild(t)}};Te.className="Modal";Te.classNames=N.classNames.concat([Te.className]);var ke=class extends N{_afterNew(){super._afterNewApplyThemes()}_beforeChanged(){if(super._beforeChanged(),this.isDirty("sprite")){let t=this.get("sprite");t&&(t._setC("position","absolute"),t.get("role")==null&&t._setC("role","figure"),this._disposers.push(t))}(this.isDirty("locationX")||this.isDirty("locationY"))&&this.series&&this.series._positionBullet(this)}};ke.className="Bullet";ke.classNames=N.classNames.concat([ke.className]);var Me=class extends te{_afterNew(){super._afterNew(),this.addTag("confirm"),wt("keyboardevents")&&this._disposers.push($(document,"keydown",t=>{let e=Et(t);this.get("active")&&e=="Escape"&&this._cancel()})),this._disposers.push($(document,"click",()=>{this._ignoreClick||this._cancel(),this._ignoreClick=!1})),this.events.on("click",()=>{this.get("active")||(this._ignoreClick=!0),this._confirm()})}_cancel(){this.get("active")&&(this.events.dispatch("cancelled",{type:"cancelled",target:this}),this.set("active",!1))}_confirm(){this.get("active")&&(this.events.dispatch("confirmed",{type:"confirmed",target:this}),this.set("active",!1),this.isFocus()&&this.setTimeout(()=>{this.set("active",!1),ar()},10))}_prepareChildren(){super._prepareChildren()}};Me.className="ConfirmButton";Me.classNames=te.classNames.concat([Me.className]);var oe=class extends F{_afterNew(){super._afterNew(),this._display.isMeasured=!0,this.setPrivateRaw("trustBounds",!0)}_beforeChanged(){super._beforeChanged(),this.isDirty("radius")&&(this._clear=!0)}_changed(){super._changed(),this._clear&&this._display.drawCircle(0,0,Math.abs(this.get("radius",10)))}};oe.className="Circle";oe.classNames=F.classNames.concat([oe.className]);var Se=class extends F{_beforeChanged(){if(super._beforeChanged(),this.isDirty("coordinates")){let t=[],e=this.get("coordinates");e&&w(e,i=>{t.push({x:i[0],y:i[1]})}),this.set("points",t)}if(this.isPrivateDirty("points")&&(this._clear=!0),this.isDirty("points")){this._clear=!0;let t=this.get("points"),e=this._prevSettings.points;if(e){if(t){let n=fe(t),h=fe(e),l=n.length,c=h.length;if(l>c){let u=fe(n);for(let d=0;d<l;d++){let f=Math.floor(d/l*c);u[d]={x:h[f].x,y:h[f].y}}h=u}else if(c>l){let u=fe(h);for(let d=0;d<c;d++){let f=Math.floor(d/c*l);u[d]={x:n[f].x,y:n[f].y}}n=u}this.setPrivateRaw("previousPoints",h),this.setPrivateRaw("points",n),this.morphAnimation=this.animatePrivate({key:"morphProgress",from:0,to:1,duration:this.get("animationDuration",0),easing:this.get("animationEasing")}),this._root.events.once("frameended",()=>{this._markDirtyPrivateKey("morphProgress")})}}else this.setPrivateRaw("previousPoints",t),this.setPrivateRaw("points",t);let i=1/0,s=-1/0,r=1/0,a=-1/0;if(t)for(let n=0,h=t.length;n<h;n++){let l=t[n];i=Math.min(i,l.x),s=Math.max(s,l.x),r=Math.min(r,l.y),a=Math.max(a,l.y)}this.setPrivate("minX",i),this.setPrivate("maxX",s),this.setPrivate("minY",r),this.setPrivate("maxY",a)}this.isPrivateDirty("morphProgress")&&(this._clear=!0)}_changed(){super._changed(),this._clear&&this._draw()}_draw(){let t=this.getPrivate("previousPoints"),e=this.getPrivate("points"),i=this.getPrivate("morphProgress",1);if(e&&t){let s=e[0],r=t[0];s&&this._display.moveTo(r.x+(s.x-r.x)*i,r.y+(s.y-r.y)*i);for(let a=1,n=e.length;a<n;a++){let h=e[a],l=t[a];this._display.lineTo(l.x+(h.x-l.x)*i,l.y+(h.y-l.y)*i)}this._display.closePath()}}_updateSize(){this.markDirty(),this._clear=!0}};Se.className="Polygon";Se.classNames=F.classNames.concat([Se.className]);var De=class extends F{_beforeChanged(){super._beforeChanged(),(this.isDirty("radiusX")||this.isDirty("radiusY")||this.isDirty("rotation"))&&(this._clear=!0)}_changed(){super._changed(),this._clear&&this._display.drawEllipse(0,0,Math.abs(this.get("radiusX")),Math.abs(this.get("radiusY")))}};De.className="Ellipse";De.classNames=F.classNames.concat([De.className]);var Ee=class extends F{_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("spikes"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let t=this._display,e=this.get("radius",0),i=$t(this.get("innerRadius",0),e),s=this.get("spikes",0),r=Math.PI/s,a=Math.PI/2*3;t.moveTo(0,-e);for(let n=0;n<s;n++)t.lineTo(Math.cos(a)*e,Math.sin(a)*e),a+=r,t.lineTo(Math.cos(a)*i,Math.sin(a)*i),a+=r;t.lineTo(0,-e),t.closePath()}}};Ee.className="Star";Ee.classNames=F.classNames.concat([Ee.className]);var Ft=class extends E{constructor(){super(...arguments),this._movePoints={},this._downScale=1,this._downX=0,this._downY=0,this.contents=this.children.push(E.new(this._root,{width:B,height:B,x:0,y:0,draggable:!0,background:Yt.new(this._root,{fill:ht(16777215),fillOpacity:0})}))}_afterNew(){super._afterNew();let t=this.contents.events;this._disposers.push(t.on("pointerdown",s=>{this._handleThisDown(s)})),this._disposers.push(t.on("globalpointerup",s=>{this._handleThisUp(s)})),this._disposers.push(t.on("globalpointermove",s=>{this._handleThisMove(s)}));let e=this.contents.get("background");e&&(e.adapters.add("width",s=>Number(s)*20),e.adapters.add("height",s=>Number(s)*20),e.adapters.add("x",s=>Number(s)-e.width()/2),e.adapters.add("y",s=>Number(s)-e.height()/2));let i=this.contents;i.adapters.add("x",s=>{let r=i.get("scale",1);if(R(s)&&r>=1){let a=this.get("maxPanOut",.4),n=i.width();s=Math.min(n*a,s),s=Math.max(this.width()-n*r*(1+a),s)}return s}),i.adapters.add("y",s=>{let r=i.get("scale",1);if(R(s)&&r>=1){let a=this.get("maxPanOut",.4),n=i.height();s=Math.min(n*a,s),s=Math.max(this.height()-n*r*(1+a),s)}return s})}_prepareChildren(){super._prepareChildren(),this.isDirty("wheelable")&&this._handleSetWheel(),this.contents._display.cancelTouch=this.get("pinchZoom",!1)}_handleSetWheel(){this.get("wheelable")?(this._wheelDp&&this._wheelDp.dispose(),this._wheelDp=this.events.on("wheel",t=>{let e=t.originalEvent;if(lr(e,this))e.preventDefault();else return;let i=this.toLocal(t.point);this._handleWheelZoom(e.deltaY,i)}),this._disposers.push(this._wheelDp)):this._wheelDp&&this._wheelDp.dispose()}_handleWheelZoom(t,e){let i=this.get("zoomStep",2),s=this.contents.get("scale",1),r=s;t>0?r=s/i:t<0&&(r=s*i),r!=s&&this.zoomToPoint(e,r)}zoomToPoint(t,e){e&&(e=it(e,this.get("minZoomLevel",1),this.get("maxZoomLevel",32)));let i=this.contents.get("scale",1),s=t.x,r=t.y,a=s,n=r,h=this.contents,l=h.x(),c=h.y(),u=a-(s-l)/i*e,d=n-(r-c)/i*e;return this._animateTo(u,d,e),this._za}zoomIn(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.contents.get("scale",1)*this.get("zoomStep",2))}zoomOut(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.contents.get("scale",1)/this.get("zoomStep",2))}goHome(){return this._animateTo(0,0,1)}_animateTo(t,e,i){let s=this.get("animationDuration",0),r=this.get("animationEasing"),a=this.contents;this._txa=a.animate({key:"x",to:t,duration:s,easing:r}),this._tya=a.animate({key:"y",to:e,duration:s,easing:r}),this._za=a.animate({key:"scale",to:i,duration:s,easing:r})}_handleThisUp(t){this._downPoints={}}_handleThisDown(t){let e=this.contents;this._downScale=e.get("scale",1);let i=e._downPoints,s=Ke(i).length;if(s==1){let r=i[1];r||(r=i[0]),r&&r.x==t.point.x&&r.y==t.point.y&&(s=0)}if(s>0){this._downX=e.x(),this._downY=e.y();let r=e._getDownPointId();if(r){let a=this._movePoints[r];a&&(e._downPoints[r]=a)}}}_handleThisMove(t){let i=t.originalEvent.pointerId;if(this.get("pinchZoom")&&i&&(this._movePoints[i]=t.point,Ke(this.contents._downPoints).length>1)){this._handlePinch();return}}_handlePinch(){let t=0,e=[],i=[];if(W(this.contents._downPoints,(s,r)=>{e[t]=r;let a=this._movePoints[s];a&&(i[t]=a),t++}),e.length>1&&i.length>1){this.contents._isDragging=!1;let s=e[0],r=e[1],a=i[0],n=i[1];if(s&&r&&a&&n){s=this.toLocal(s),r=this.toLocal(r),a=this.toLocal(a),n=this.toLocal(n);let h=Math.hypot(r.x-s.x,r.y-s.y),c=Math.hypot(n.x-a.x,n.y-a.y)/h*this._downScale,u={x:a.x+(n.x-a.x)/2,y:a.y+(n.y-a.y)/2},d={x:s.x+(r.x-s.x)/2,y:s.y+(r.y-s.y)/2},f=this._downX||0,m=this._downY||0,_=this._downScale,p=u.x-(-f+d.x)/_*c,g=u.y-(-m+d.y)/_*c;this.contents.setAll({x:p,y:g,scale:c})}}}};Ft.className="ZoomableContainer";Ft.classNames=E.classNames.concat([Ft.className]);var yt=class extends N{_afterNew(){super._afterNewApplyThemes()}getFill(t){return{addColorStop:(e,i)=>{}}}_changed(){super._changed()}getBounds(t){let e=this.get("target");if(e){let i=e.globalBounds(),s=t.toLocal({x:i.left,y:i.top}),r=t.toLocal({x:i.right,y:i.top}),a=t.toLocal({x:i.right,y:i.bottom}),n=t.toLocal({x:i.left,y:i.bottom});return{left:Math.min(s.x,r.x,a.x,n.x),top:Math.min(s.y,r.y,a.y,n.y),right:Math.max(s.x,r.x,a.x,n.x),bottom:Math.max(s.y,r.y,a.y,n.y)}}return t._display.getLocalBounds()}};yt.className="Gradient";yt.classNames=N.classNames.concat([yt.className]);var he=class extends yt{getFill(t){let e=this.get("rotation",0),i=this.getBounds(t),s=i.left||0,r=i.right||0,a=i.top||0,n=i.bottom||0,h=U(e),l=V(e),c=h*(r-s),u=l*(n-a);c==0&&(c=1),u==0&&(u=1);let d=Math.max(c,u),f=this._root._renderer.createLinearGradient(s,a,s+d*h,a+d*l),m=this.get("stops");if(m){let _=0;w(m,p=>{let g=p.offset;R(g)||(g=_/(m.length-1));let y=p.opacity;R(y)||(y=1);let x=p.color;if(x){let v=p.lighten;v&&(x=P.lighten(x,v));let b=p.brighten;b&&(x=P.brighten(x,b)),f.addColorStop(g,"rgba("+x.r+","+x.g+","+x.b+","+y+")")}_++})}return f}};he.className="LinearGradient";he.classNames=yt.classNames.concat([he.className]);var $e=class extends E{constructor(){super(...arguments),this.labelContainer=this.children.push(E.new(this._root,{})),this.markerContainer=this.children.push(E.new(this._root,{})),this.startLabel=this.labelContainer.children.push(Tt.new(this._root,{themeTags:["start"]})),this.endLabel=this.labelContainer.children.push(Tt.new(this._root,{themeTags:["end"]})),this.markers=this.addDisposer(new It(Wt.new({}),()=>Vt._new(this._root,{themeTags:et(this.markers.template.get("themeTags",[]),[this.get("orientation"),"heatlegend","marker"])},[this.markers.template])))}_afterNew(){this._settings.themeTags=et(this._settings.themeTags,["heatlegend",this._settings.orientation]),super._afterNew(),this._setC("tooltip",kt.new(this._root,{themeTags:["heatlegend"]}))}makeMarker(){let t=this.markers.make();return t.states.create("disabled",{}),t}showValue(t,e,i){let s=this.getTooltip();if(s&&R(t)){let r=this.get("startValue",0),a=this.get("endValue",1),n=(t-r)/(a-r);(n==1/0||n==-1/0||isNaN(n))&&(n=.5);let h=this.get("startColor"),l=this.get("endColor");e||(e=this.getNumberFormatter().format(t)),i||(i=P.interpolate(n,h,l)),s.label.set("text",e);let c;this.get("orientation")=="vertical"?c=this.markerContainer.toGlobal({x:0,y:this.innerHeight()*(1-n)}):c=this.markerContainer.toGlobal({x:this.innerWidth()*n,y:0});let u=s.get("background");u&&u.set("fill",i),s.set("pointTo",c),s.show()}}_prepareChildren(){super._prepareChildren();let t=this.labelContainer,e=this.get("orientation"),i=this.startLabel,s=this.endLabel,r=this.getTooltip();if(this.isDirty("orientation")&&(e=="vertical"?(this.markerContainer._setCAll({layout:this._root.verticalLayout,height:B}),this._setC("layout",this._root.horizontalLayout),i._setCAll({y:B,x:void 0,centerY:B,centerX:B}),s._setCAll({y:0,x:void 0,centerY:0,centerX:B}),t._setCAll({height:B,width:void 0}),r&&r._setC("pointerOrientation","horizontal")):(this.markerContainer._setCAll({layout:this._root.horizontalLayout,width:B}),this._setC("layout",this._root.verticalLayout),i._setCAll({x:0,y:void 0,centerX:0,centerY:0}),s._setCAll({x:B,y:void 0,centerX:B,centerY:0}),t._setCAll({width:B,height:void 0}),r&&r._setC("pointerOrientation","vertical"))),this.isDirty("stepCount")||this.isDirty("startColor")||this.isDirty("endColor")||this.isDirty("startOpacity")||this.isDirty("endOpacity")||this.isDirty("orientation")){let a=this.get("stepCount",1),n=this.get("startColor"),h=this.get("endColor"),l=this.get("startOpacity",1),c=this.get("endOpacity",1);if(this.markerContainer.children.clear(),a>1)for(let u=0;u<a;u++){let d=this.makeMarker();e=="vertical"?this.markerContainer.children.moveValue(d,0):this.markerContainer.children.push(d),n&&h&&d._setCAll({fill:P.interpolate(u/a,n,h),fillOpacity:vt(u/a*100).interpolate(l,c)})}else if(a==1){let u=this.makeMarker();this.markerContainer.children.push(u);let d=he.new(this._root,{stops:[{color:n,opacity:l},{color:h,opacity:c}]});if(e=="vertical"){d.set("rotation",90);let f=d.get("stops");f&&f.reverse()}else d.set("rotation",0);n&&h&&u._setC("fillGradient",d)}}(this.isDirty("startText")||this.isDirty("startValue"))&&i._setC("text",this.get("startText",this.getNumberFormatter().format(this.get("startValue",0)))),(this.isDirty("endText")||this.isDirty("endValue"))&&s._setC("text",this.get("endText",this.getNumberFormatter().format(this.get("endValue",1))))}};$e.className="HeatLegend";$e.classNames=E.classNames.concat([$e.className]);var Pe=class extends Di{constructor(){super(...arguments),this.itemContainers=this.addDisposer(new It(Wt.new({}),()=>E._new(this._root,{themeTags:et(this.itemContainers.template.get("themeTags",[]),["legend","item"]),themeTagsSelf:et(this.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"]),background:Vt.new(this._root,{themeTags:et(this.itemContainers.template.get("themeTags",[]),["legend","item","background"]),themeTagsSelf:et(this.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"])})},[this.itemContainers.template]))),this.markers=this.addDisposer(new It(Wt.new({}),()=>E._new(this._root,{themeTags:et(this.markers.template.get("themeTags",[]),["legend","marker"])},[this.markers.template]))),this.labels=this.addDisposer(new It(Wt.new({}),()=>Tt._new(this._root,{themeTags:et(this.labels.template.get("themeTags",[]),["legend","label"])},[this.labels.template]))),this.valueLabels=this.addDisposer(new It(Wt.new({}),()=>Tt._new(this._root,{themeTags:et(this.valueLabels.template.get("themeTags",[]),["legend","label","value"])},[this.valueLabels.template]))),this.markerRectangles=this.addDisposer(new It(Wt.new({}),()=>Vt._new(this._root,{themeTags:et(this.markerRectangles.template.get("themeTags",[]),["legend","marker","rectangle"])},[this.markerRectangles.template])))}_afterNew(){this._settings.themeTags=et(this._settings.themeTags,["legend"]),this.fields.push("name","stroke","fill"),super._afterNew()}makeItemContainer(t){let e=this.children.push(this.itemContainers.make());return e._setDataItem(t),this.itemContainers.push(e),e.states.create("disabled",{}),e}makeMarker(){let t=this.markers.make();return this.markers.push(t),t.states.create("disabled",{}),t}makeLabel(){let t=this.labels.make();return t.states.create("disabled",{}),t}makeValueLabel(){let t=this.valueLabels.make();return t.states.create("disabled",{}),t}makeMarkerRectangle(){let t=this.markerRectangles.make();return t.states.create("disabled",{}),t}processDataItem(t){super.processDataItem(t);let e=this.makeItemContainer(t),i=this.get("nameField"),s=this.get("fillField"),r=this.get("strokeField");if(e){let a=this.get("clickTarget","itemContainer"),n=t.dataContext;n&&n.set&&n.set("legendDataItem",t),e._setDataItem(t),t.set("itemContainer",e);let h=this.makeMarker();if(h){e.children.push(h),h._setDataItem(t),t.set("marker",h);let u=this.get("useDefaultMarker"),d=h.children.push(this.makeMarkerRectangle()),f=t.get("fill"),m=t.get("stroke");t.set("markerRectangle",d),n&&n.get&&(f=n.get(s,f),m=n.get(r,m)),m||(m=f),u?n&&n.on&&(n.on(s,()=>{d._setC("fill",n.get(s))}),n.on(r,()=>{d._setC("stroke",n.get(r))})):n&&n.createLegendMarker&&n.createLegendMarker(),d._setCAll({fill:f,stroke:m});let _=n&&n.component;_&&_.updateLegendMarker&&_.updateLegendMarker(n)}let l=this.makeLabel();if(l){e.children.push(l),l._setDataItem(t),t.set("label",l),l.text.on("text",()=>{e.setRaw("ariaLabel",l.text._getText()+(this.get("clickTarget")!=="none"?"; "+this._t("Press ENTER to toggle"):"")),e.markDirtyAccessibility()}),n&&n.get&&t.set("name",n.get(i));let u=t.get("name");u&&l.set("text",u)}let c=this.makeValueLabel();if(c&&(e.children.push(c),c._setDataItem(t),t.set("valueLabel",c)),n&&n.show&&(n.on("visible",u=>{e.set("disabled",!u)}),n.get("visible")||e.set("disabled",!0),a!="none")){let u=e;a=="marker"&&(u=h,e.events.on("click",d=>{d.simulated&&h.events.dispatch("click",Object.assign(Object.assign({},d),{target:h}))})),this._addClickEvents(u,n,t)}this.children.values.sort((u,d)=>{let f=u.dataItem?u.dataItem.dataContext:void 0,m=d.dataItem?d.dataItem.dataContext:void 0;if(f&&m){let _=this.data.indexOf(f),p=this.data.indexOf(m);if(_>p)return 1;if(_<p)return-1}return 0}),n&&n.updateLegendValue&&n.updateLegendValue()}}_addClickEvents(t,e,i){t.set("cursorOverStyle","pointer"),t.events.on("pointerover",()=>{let s=e.component;s&&s.hoverDataItem&&s.hoverDataItem(e)}),t.events.on("pointerout",()=>{let s=e.component;s&&s.hoverDataItem&&s.unhoverDataItem(e)}),t.events.on("click",()=>{let s=i.get("label").text._getText();e.show&&e.isHidden&&(e.isHidden()||e.get("visible")===!1)?(e.show(),t.set("disabled",!1),this._root.readerAlert(this._t("%1 shown",this._root.locale,s))):e.hide&&(e.hide(),t.set("disabled",!0),this._root.readerAlert(this._t("%1 hidden",this._root.locale,s)))})}disposeDataItem(t){super.disposeDataItem(t);let e=t.dataContext;e&&e.get&&e.get("legendDataItem")==t&&e.set("legendDataItem",void 0);let i=t.get("itemContainer");i&&(this.itemContainers.removeValue(i),i.dispose());let s=t.get("marker");s&&(this.markers.removeValue(s),s.dispose());let r=t.get("markerRectangle");r&&(this.markerRectangles.removeValue(r),r.dispose());let a=t.get("label");a&&(this.labels.removeValue(a),a.dispose());let n=t.get("valueLabel");n&&(this.valueLabels.removeValue(n),n.dispose())}};Pe.className="Legend";Pe.classNames=Di.classNames.concat([Pe.className]);var bt=class extends F{_beforeChanged(){super._beforeChanged(),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){super._changed(),this._clear&&!this.get("draw")&&this._draw()}_draw(){let t=this.width(),e=this.height(),i=this._display;i.moveTo(-t/2,e/2),i.lineTo(0,-e/2),i.lineTo(t/2,e/2),i.lineTo(-t/2,e/2),i.closePath()}_updateSize(){this.markDirty(),this._clear=!0}};bt.className="Triangle";bt.classNames=F.classNames.concat([bt.className]);var Bt=class o extends F{_beforeChanged(){super._beforeChanged(),this.isDirty("points")&&(this._clear=!0)}static makeOrthogonal(t){if(t.length>1){let e=[];for(let i=0;i<t.length-1;i++){let s=t[i],r=t[i+1];e.push(s),s.x!==r.x&&s.y!==r.y&&e.push({x:r.x,y:s.y})}e.push(t[t.length-1]),t=e}return t}_changed(){if(super._changed(),this._clear){let t=this._display,e=this.get("points",[]);if(e.length===0)return;e=o.makeOrthogonal(e),t.moveTo(e[0].x,e[0].y);for(let i=1;i<e.length;i++){let s=this.get("cornerRadius",0),r=e[i-1],a=e[i],n=e[i+1],h=a.y===r.y&&a.x!==r.x,l=a.x===r.x&&a.y!==r.y,c=n&&(h&&n.y!==a.y||l&&n.x!==a.x);if(s>0&&n&&c){if(l){s=Math.min(s,Math.abs(a.x-n.x)/2,Math.abs(a.y-r.y)/2);let u=Math.sign(a.y-r.y);t.lineTo(a.x,a.y-s*u);let d=n.x<a.x?-1:1;t.arcTo(a.x,a.y,a.x+s*d,a.y,s)}else if(h){s=Math.min(s,Math.abs(a.y-n.y)/2,Math.abs(a.x-r.x)/2);let u=Math.sign(a.x-r.x);t.lineTo(a.x-s*u,a.y);let d=n.y<a.y?-1:1;t.arcTo(a.x,a.y,a.x,a.y+s*d,s)}}else t.lineTo(a.x,a.y)}}}};Bt.className="OrthogonalLine";Bt.classNames=F.classNames.concat([Bt.className]);var Ae=class extends E{constructor(){super(...arguments),this.line=this.children.push(Bt.new(this._root,{themeTags:["line"]})),this.hitLine=this.children.push(Bt.new(this._root,{themeTags:["hit"]})),this.startArrow=this.children.push(bt.new(this._root,{themeTags:["start","arrow"]})),this.endArrow=this.children.push(bt.new(this._root,{themeTags:["end","arrow"]}))}_afterNew(){this.addTag("link"),super._afterNew()}_updateChildren(){if(super._updateChildren(),this.isDirty("points")){let t=Bt.makeOrthogonal(this.get("points",[]));this.line.set("points",t),this.hitLine.set("points",t);let e=this.startArrow,i=this.endArrow,s=t.length;if(s>1){let[r,a]=t;e.setAll({x:r.x,y:r.y,rotation:ii(r,a)-90});let n=t[s-1],h=t[s-2];i.setAll({x:n.x,y:n.y,rotation:ii(h,n)+90})}else if(s===1){let[r]=t;e.setAll({x:r.x,y:r.y,rotation:0}),i.setAll({x:r.x,y:r.y,rotation:0})}}}};Ae.className="Link";Ae.classNames=E.classNames.concat([Ae.className]);var Le=class extends wi{constructor(){super(...arguments),this._display=this._root._renderer.makePicture(void 0)}_changed(){if(super._changed(),this.isDirty("width")){let t=this.get("width");this._display.width=R(t)?t:void 0}if(this.isDirty("height")){let t=this.get("height");this._display.height=R(t)?t:void 0}if(this.isDirty("shadowColor")){this._display.clear();let t=this.get("shadowColor");this._display.shadowColor=t??void 0}this.isDirty("shadowBlur")&&(this._display.clear(),this._display.shadowBlur=this.get("shadowBlur")),this.isDirty("shadowOffsetX")&&(this._display.clear(),this._display.shadowOffsetX=this.get("shadowOffsetX")),this.isDirty("shadowOffsetY")&&(this._display.clear(),this._display.shadowOffsetY=this.get("shadowOffsetY")),this.isDirty("shadowOpacity")&&(this._display.clear(),this._display.shadowOpacity=this.get("shadowOpacity")),(this.isDirty("src")||this.isDirty("cors"))&&(this._display.clear(),this._load())}_load(){let t=this.get("src");if(t){let e=new Image;e.crossOrigin=this.get("cors","anonymous"),e.src=t;let i=this.events;e.decode().then(()=>{this._display.image=e,this._updateSize(),!i.isDisposed()&&i.isEnabled("loaded")&&i.dispatch("loaded",{type:"loaded",target:this})}).catch(s=>{!i.isDisposed()&&i.isEnabled("loaderror")&&i.dispatch("loaderror",{type:"loaderror",target:this})})}}_updateSize(){super._updateSize();let t=this._display.image;if(t){let e=this.getPrivate("width",this.get("width")),i=this.getPrivate("height",this.get("height")),s=t.width&&t.height?t.width/t.height:0;R(e)&&R(i)?(this._display.width=e,this._display.height=i):R(e)&&s?i=e/s:R(i)&&s?e=i*s:(e=t.width,i=t.height),R(e)&&(this._display.width=e),R(i)&&(this._display.height=i),this.markDirtyBounds(),this.markDirty()}}};Le.className="Picture";Le.classNames=wi.classNames.concat([Le.className]);var Ne=class extends Ei{_afterNew(){this._addOrientationClass(),super._afterNew(),this.endGrip.setPrivate("visible",!1),this.thumb.setPrivate("visible",!1)}updateGrips(){super.updateGrips();let t=this.startGrip;this.endGrip.setAll({x:t.x(),y:t.y()}),this.setRaw("end",this.get("start"))}};Ne.className="Slider";Ne.classNames=Ei.classNames.concat([Ne.className]);var Fe=class extends Pi{constructor(){super(...arguments),this.zoomableContainer=Ft.new(this._root,{width:B,height:B,isMeasured:!1})._markC("width","height","isMeasured")}_afterNew(){super._afterNew(),this.addTag("serialchartcontainer"),this.zoomableContainer.contents.children.push(this.seriesContainer),this.zoomableContainer.contents.children.push(this.bulletsContainer),this.chartContainer.children.push(this.zoomableContainer)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("zoomTools")){let t=this._prevSettings.zoomTools,e=this.get("zoomTools");e!==t&&(t&&t.dispose(),e&&(e.set("target",this.zoomableContainer),this.children.push(e)),this._prevSettings.zoomTools=e)}}};Fe.className="SerialChartContainer";Fe.classNames=Pi.classNames.concat([Fe.className]);var Be=class extends E{constructor(){super(...arguments),this.homeButton=this.children.push(te.new(this._root,{width:35,height:35,themeTags:["home"]})._markC("width","height","themeTags")),this.plusButton=this.children.push(te.new(this._root,{width:35,height:35,themeTags:["plus"]})._markC("width","height","themeTags")),this.minusButton=this.children.push(te.new(this._root,{width:35,height:35,themeTags:["minus"]})._markC("width","height","themeTags"))}_afterNew(){super._afterNew(),this._setC("position","absolute"),this._setC("layout",this._root.verticalLayout),this.addTag("zoomtools"),this.plusButton._setCAll({icon:F.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.minusButton._setCAll({icon:F.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.homeButton._setCAll({icon:F.new(this._root,{themeTags:["icon"]}),layout:void 0})}_prepareChildren(){if(super._prepareChildren(),this.isDirty("target")){let t=this.get("target");this._disposer&&(this._disposer.dispose(),this._disposer=void 0),this._targetDisposer&&(this._targetDisposer.dispose(),this._targetDisposer=void 0),t&&(t instanceof Ft&&(this._targetDisposer=this.addDisposer(t.contents.on("scale",e=>{e==t.get("minZoomLevel")?this.minusButton._setC("disabled",!0):this.minusButton._setC("disabled",!1),e==t.get("maxZoomLevel")?this.plusButton._setC("disabled",!0):this.plusButton._setC("disabled",!1)})),this.root.events.once("frameended",()=>{t.contents.get("scale",1)==t.get("minZoomLevel")&&this.minusButton._setC("disabled",!0)})),this._disposer=new mt([this.plusButton.events.on("click",()=>{t.zoomIn()}),this.minusButton.events.on("click",()=>{t.zoomOut()}),this.homeButton.events.on("click",()=>{t.goHome()})]))}}};Be.className="ZoomTools";Be.classNames=E.classNames.concat([Be.className]);var Re=class extends I{constructor(){super(...arguments),this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this._clearGrain=!1}_beforeChanged(){let t=this.get("width",200),e=this.get("height",200);this.canvas.width!==t&&(this.canvas.width=t),this.canvas.height!==e&&(this.canvas.height=e),(this.isDirty("size")||this.isDirty("density")||this.isDirty("minOpacity")||this.isDirty("maxOpacity")||this.isDirty("colors")||this.isDirty("horizontalGap")||this.isDirty("verticalGap"))&&(this._clearGrain=!0),super._beforeChanged()}_changed(){let t=this._clear;if(super._changed(),this._clearGrain||t){let e=this.get("width",200),i=this.get("height",200),s=this.context.createImageData(e,i),r=Math.max(1,this.get("size",1)),a=this.get("minOpacity",0),n=this.get("maxOpacity",.3),h=this.get("colors",[this.get("color",P.fromHex(0))]),l=e/r,c=i/r,u=this.get("density",1),d=this.get("horizontalGap",0)+1,f=this.get("verticalGap",0)+1,m=h.length,_=n-a,p=new Array(m),g=new Array(m),y=new Array(m);for(let T=0;T<m;T++)p[T]=h[T].r,g[T]=h[T].g,y[T]=h[T].b;let x=new Uint32Array(s.data.buffer),v=u>=1,b=d>1?d:0,C=f>1?f:0;for(let T=0;T<c;T++)if(!(C&&T%C!==0)){for(let M=0;M<l;M++)if(!(b&&M%b!==0)&&(v||Math.random()<u)){let S=m>1?Math.random()*m|0:0,D=(a+Math.random()*_)*255|0,k=(p[S]|g[S]<<8|y[S]<<16|D<<24)>>>0;r===1?x[T*e+M]=k:this._setRectData(M,T,r,e,x,k)}}this.context.putImageData(s,0,0),this._pattern=this._root._renderer.createRasterPattern(this.canvas,"repeat")}this._clearGrain=!1}_checkDirtyFill(){return!1}_setRectData(t,e,i,s,r,a){let n=t*i,h=e*i,l=n+i,c=h+i;for(var u=h;u<c;u++){let f=u*s+n;for(var d=n;d<l;d++)r[f]=a,f++}}};Re.className="GrainPattern";Re.classNames=I.classNames.concat([Re.className]);var ze=class extends yt{getFill(t){let e=this.getBounds(t),i=0,s=0,r=e.left||0,a=e.right||0,n=e.top||0,h=e.bottom||0,l=a-r,c=h-n,u=t.get("radius");R(u)?(i=0,s=0):(u=Math.min(l,c)/2,i=l/2,s=c/2);let d=this.get("x"),f=this.get("y");d!=null&&(i=$t(d,l)),f!=null&&(s=$t(f,c));let m=this._root._renderer.createRadialGradient(i,s,0,i,s,u),_=this.get("stops");if(_){let p=0;w(_,g=>{let y=g.offset;R(y)||(y=p/(_.length-1));let x=g.opacity;R(x)||(x=1);let v=g.color;if(v){let b=g.lighten;b&&(v=P.lighten(v,b));let C=g.brighten;C&&(v=P.brighten(v,C)),m.addColorStop(y,"rgba("+v.r+","+v.g+","+v.b+","+x+")")}p++})}return m}};ze.className="RadialGradient";ze.classNames=yt.classNames.concat([ze.className]);var le=class extends I{_beforeChanged(){super._beforeChanged(),(this.isDirty("gap")||this.isDirty("radius")||this.isDirty("checkered"))&&(this._clear=!0),this._optimizeTileSize()}_optimizeTileSize(){let t=this.get("repetition");if(t&&t!=="repeat"||this.get("rotation",0)!==0)return;let e=this.get("gap",0),i=this.get("radius",3)*2+e;if(i<=0)return;let s=this.get("checkered",!1)?2:1,r=Math.max(1,Math.round(i*s));this.get("width",100)!==r&&this.setRaw("width",r),this.get("height",100)!==r&&this.setRaw("height",r)}_draw(){super._draw();let t=this.get("checkered",!1),e=this.get("centered",!0),i=this.get("gap",0),s=this.get("rotation",0),r=this.get("width",100),a=this.get("height",100),n=this.get("radius",3),h=n*2+i,l=n*2+i,c=Math.round(r/h),u=Math.round(a/l);h=r/c,l=a/u,s!=0&&(this._display.x=h*U(s),this._display.y=l*V(s));let d=-2,f=c+2,m=-2,_=u+2;if(s!=0){let y=U(s),x=V(s),v=this._display.x,b=this._display.y,C=1/0,T=-1/0,M=1/0,S=-1/0,D=[[0,0],[r,0],[0,a],[r,a]];for(let k=0;k<D.length;k++){let A=D[k][0]-v,L=D[k][1]-b,H=y*A+x*L,z=-x*A+y*L;H<C&&(C=H),H>T&&(T=H),z<M&&(M=z),z>S&&(S=z)}d=Math.floor(C/h)-2,f=Math.ceil(T/h)+2,m=Math.floor(M/l)-2,_=Math.ceil(S/l)+2}let p=this.get("color"),g=this.get("colorOpacity");(p||g)&&this._display.beginFill(p,g);for(let y=m;y<_;y++)for(let x=d;x<f;x++)if(!t||(y&1)!=1&&(x&1)!=1||(y&1)==1&&(x&1)==1){let v=x*h,b=y*l;e&&(v+=h+i/2,b+=l+i/2),this._display.drawCircle(v-n,b-n,n)}(p||g)&&this._display.endFill()}};le.className="CirclePattern";le.classNames=I.classNames.concat([le.className]);var ce=class extends I{_beforeChanged(){super._beforeChanged(),(this.isDirty("gap")||this.isDirty("angle"))&&(this._clear=!0),this._optimizeTileSize()}_optimizeTileSize(){let t=this.get("repetition");if(t&&t!=="repeat"||this.get("rotation"))return;let e=this.get("gap",0);if(!e)return;let i=e+this.get("strokeWidth",1),s=this.get("angle",0)*Math.PI/180,r=Math.abs(Math.sin(s)),a=Math.abs(Math.cos(s)),n=4,h=Math.max(1,Math.ceil((r>1e-6?i/r:1)*n)),l=Math.max(1,Math.ceil((a>1e-6?i/a:1)*n));this.get("width",100)>h&&this.setRaw("width",h),this.get("height",100)>l&&this.setRaw("height",l)}_draw(){super._draw();let t=this.get("width",100),e=this.get("height",100),i=this.get("gap",0),s=this.get("strokeWidth",1);if(!i)this._display.moveTo(0,0),this._display.lineTo(t,0);else{let n=i+s,h=e/n,l=this.get("angle",0)*Math.PI/180;if(l===0)for(let c=-h;c<h*2;c++){let u=Math.round(c*n-n/2)+.5;this._display.moveTo(-t,u),this._display.lineTo(t*2,u)}else{let c=Math.cos(l),u=Math.sin(l),d=Math.max(Math.abs(t*u),Math.abs(e*c));d>1e-6&&(n=d/Math.max(1,Math.round(d/n)));let f=Math.sqrt(t*t+e*e)*2,m=n/Math.max(Math.abs(c),Math.abs(u)),_=Math.ceil(f/m)*2;for(let p=-_;p<_;p++){let g=p*n,y=g*u-f*c,x=g*c+f*u,v=g*u+f*c,b=g*c-f*u;this._display.moveTo(y,x),this._display.lineTo(v,b)}}}this._display.lineStyle(s,this.get("color"),this.get("colorOpacity"));let r=this.get("strokeDasharray");R(r)&&(r<.5?r=[0]:r=[r]),this._display.setLineDash(r);let a=this.get("strokeDashoffset");a&&this._display.setLineDashOffset(a),this._display.endStroke()}};ce.className="LinePattern";ce.classNames=I.classNames.concat([ce.className]);var de=class extends I{_beforeChanged(){super._beforeChanged(),(this.isDirty("gap")||this.isDirty("rotateShapes")||this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("checkered"))&&(this._clear=!0),this._optimizeTileSize()}_optimizeTileSize(){let t=this.get("repetition");if(t&&t!=="repeat"||this.get("rotation",0)!==0&&!this.get("rotateShapes",!1))return;let e=this.get("gap",0),i=this.get("maxWidth",5)+e,s=this.get("maxHeight",5)+e;if(i<=0||s<=0)return;let r=this.get("checkered",!1)?2:1,a=Math.max(1,Math.round(i*r)),n=Math.max(1,Math.round(s*r));this.get("width",100)!==a&&this.setRaw("width",a),this.get("height",100)!==n&&this.setRaw("height",n)}_draw(){super._draw();let t=this.get("checkered",!1),e=this.get("centered",!0),i=this.get("gap",0),s=this.get("rotation",0),r=this.get("rotateShapes",!1),a=this.get("width",100),n=this.get("height",100),h=this.get("maxWidth",5),l=this.get("maxHeight",5),c=this._display,u=h+i,d=l+i,f=Math.round(a/u),m=Math.round(n/d);u=a/f,d=n/m;let _=r?0:s,p=r?s:0;c.angle=_,_!=0?(c.x=u/2*U(_),c.y=-d/2*V(_)):(c.x=0,c.y=0);let g=0,y=f,x=0,v=m;if(p!=0)g=-1,y=f+1,x=-1,v=m+1;else if(_!=0){let z=U(_),q=V(_),J=c.x,Q=c.y,X=1/0,j=-1/0,xt=1/0,nt=-1/0,ot=[[0,0],[a,0],[0,n],[a,n]];for(let zt=0;zt<ot.length;zt++){let js=ot[zt][0]-J,qs=ot[zt][1]-Q,yi=z*js+q*qs,bi=-q*js+z*qs;yi<X&&(X=yi),yi>j&&(j=yi),bi<xt&&(xt=bi),bi>nt&&(nt=bi)}g=Math.floor(X/u)-2,y=Math.ceil(j/u)+2,x=Math.floor(xt/d)-2,v=Math.ceil(nt/d)+2}let b=U(p),C=V(p),T=h/2,M=l/2,S=T*b,D=T*C,k=M*b,A=M*C;for(let z=x;z<v;z++)for(let q=g;q<y;q++)if(!t||(z&1)!=1&&(q&1)!=1||(z&1)==1&&(q&1)==1){let J=q*u,Q=z*d;if(e&&(J+=(u-h)/2,Q+=(d-l)/2),p!=0){let X=J+T,j=Q+M;c.moveTo(X-S+A,j-D-k),c.lineTo(X+S+A,j+D-k),c.lineTo(X+S-A,j+D+k),c.lineTo(X-S-A,j-D+k),c.closePath()}else c.drawRect(J,Q,h,l)}let L=this.get("color"),H=this.get("colorOpacity");(L||H)&&(c.beginFill(L,H),c.endFill())}};de.className="RectanglePattern";de.classNames=I.classNames.concat([de.className]);var Oe=class extends I{_beforeChanged(){super._beforeChanged(),(this.isDirty("gap")||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("spikes")||this.isDirty("checkered")||this.isDirty("rotateShapes"))&&(this._clear=!0),this._optimizeTileSize()}_optimizeTileSize(){let t=this.get("repetition");if(t&&t!=="repeat"||this.get("rotation",0)!==0&&!this.get("rotateShapes",!1))return;let e=this.get("gap",0),i=this.get("radius",5)*2+e;if(i<=0)return;let s=this.get("checkered",!1)?2:1,r=Math.max(1,Math.round(i*s));this.get("width",100)!==r&&this.setRaw("width",r),this.get("height",100)!==r&&this.setRaw("height",r)}_draw(){super._draw();let t=this.get("checkered",!1),e=this.get("centered",!0),i=this.get("gap",0),s=this.get("rotation",0),r=this.get("rotateShapes",!1),a=this.get("width",100),n=this.get("height",100),h=this.get("radius",5),l=$t(this.get("innerRadius",vt(50)),h),c=this.get("spikes",5),u=this._display,d=h*2+i,f=h*2+i,m=Math.round(a/d),_=Math.round(n/f);d=a/m,f=n/_;let p=r?0:s,g=r?s:0;u.angle=p,p!=0?(u.x=d/2*U(p),u.y=-f/2*V(p)):(u.x=0,u.y=0);let y=0,x=m,v=0,b=_;if(g!=0)y=-1,x=m+1,v=-1,b=_+1;else if(p!=0){let D=U(p),k=V(p),A=u.x,L=u.y,H=1/0,z=-1/0,q=1/0,J=-1/0,Q=[[0,0],[a,0],[0,n],[a,n]];for(let X=0;X<Q.length;X++){let j=Q[X][0]-A,xt=Q[X][1]-L,nt=D*j+k*xt,ot=-k*j+D*xt;nt<H&&(H=nt),nt>z&&(z=nt),ot<q&&(q=ot),ot>J&&(J=ot)}y=Math.floor(H/d)-2,x=Math.ceil(z/d)+2,v=Math.floor(q/f)-2,b=Math.ceil(J/f)+2}let C=U(g),T=V(g);for(let D=v;D<b;D++)for(let k=y;k<x;k++)if(!t||(D&1)!=1&&(k&1)!=1||(D&1)==1&&(k&1)==1){let A=k*d,L=D*f;e?(A+=d/2,L+=f/2):(A+=h,L+=h),this._drawStar(A,L,h,l,c,C,T)}let M=this.get("color"),S=this.get("colorOpacity");(M||S)&&(u.beginFill(M,S),u.endFill())}_drawStar(t,e,i,s,r,a,n){let h=this._display,l=Math.PI/r,c=Math.PI/2*3,u=0,d=-i;h.moveTo(t+u*a-d*n,e+u*n+d*a);for(let f=0;f<r;f++)u=Math.cos(c)*i,d=Math.sin(c)*i,h.lineTo(t+u*a-d*n,e+u*n+d*a),c+=l,u=Math.cos(c)*s,d=Math.sin(c)*s,h.lineTo(t+u*a-d*n,e+u*n+d*a),c+=l;u=0,d=-i,h.lineTo(t+u*a-d*n,e+u*n+d*a),h.closePath()}};Oe.className="StarPattern";Oe.classNames=I.classNames.concat([Oe.className]);var He=class extends I{_beforeChanged(){super._beforeChanged(),(this.isDirty("gap")||this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("checkered")||this.isDirty("rotateShapes"))&&(this._clear=!0),this._optimizeTileSize()}_optimizeTileSize(){let t=this.get("repetition");if(t&&t!=="repeat"||this.get("rotation",0)!==0&&!this.get("rotateShapes",!1))return;let e=this.get("gap",0),i=this.get("maxWidth",8)+e,s=this.get("maxHeight",8)+e;if(i<=0||s<=0)return;let r=this.get("checkered",!1)?2:1,a=Math.max(1,Math.round(i*r)),n=Math.max(1,Math.round(s*r));this.get("width",100)!==a&&this.setRaw("width",a),this.get("height",100)!==n&&this.setRaw("height",n)}_draw(){super._draw();let t=this.get("checkered",!1),e=this.get("centered",!0),i=this.get("gap",0),s=this.get("rotation",0),r=this.get("rotateShapes",!1),a=this.get("width",100),n=this.get("height",100),h=this.get("maxWidth",8),l=this.get("maxHeight",8),c=this._display,u=h+i,d=l+i,f=Math.round(a/u),m=Math.round(n/d);u=a/f,d=n/m;let _=r?0:s,p=r?s:0;c.angle=_,_!=0?(c.x=u/2*U(_),c.y=-d/2*V(_)):(c.x=0,c.y=0);let g=0,y=f,x=0,v=m;if(p!=0)g=-1,y=f+1,x=-1,v=m+1;else if(_!=0){let k=U(_),A=V(_),L=c.x,H=c.y,z=1/0,q=-1/0,J=1/0,Q=-1/0,X=[[0,0],[a,0],[0,n],[a,n]];for(let j=0;j<X.length;j++){let xt=X[j][0]-L,nt=X[j][1]-H,ot=k*xt+A*nt,zt=-A*xt+k*nt;ot<z&&(z=ot),ot>q&&(q=ot),zt<J&&(J=zt),zt>Q&&(Q=zt)}g=Math.floor(z/u)-2,y=Math.ceil(q/u)+2,x=Math.floor(J/d)-2,v=Math.ceil(Q/d)+2}let b=U(p),C=V(p),T=h/2,M=l/2;for(let k=x;k<v;k++)for(let A=g;A<y;A++)if(!t||(k&1)!=1&&(A&1)!=1||(k&1)==1&&(A&1)==1){let L=A*u,H=k*d;e?(L+=u/2,H+=d/2):(L+=T,H+=M),this._point(L,H,-T,M,b,C,!0),this._point(L,H,0,-M,b,C,!1),this._point(L,H,T,M,b,C,!1),c.closePath()}let S=this.get("color"),D=this.get("colorOpacity");(S||D)&&(c.beginFill(S,D),c.endFill())}_point(t,e,i,s,r,a,n){let h=t+i*r-s*a,l=e+i*a+s*r;n?this._display.moveTo(h,l):this._display.lineTo(h,l)}};He.className="TrianglePattern";He.classNames=I.classNames.concat([He.className]);var Ie=class extends I{constructor(){super(...arguments),this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this._clearPath=!1,this._bbox={x:0,y:0,w:1,h:1}}_beforeChanged(){this._optimizeTileSize(),super._beforeChanged();let t=this.get("width",100),e=this.get("height",100);this.canvas.width!==t&&(this.canvas.width=t),this.canvas.height!==e&&(this.canvas.height=e),(this._clear||this.isDirty("svgPath")||this.isDirty("gap")||this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("checkered")||this.isDirty("centered"))&&(this._clearPath=!0)}_optimizeTileSize(){let t=this.get("repetition");if(t&&t!=="repeat"||this._authored("width")||this._authored("height"))return;let e=this._motif(),i=this.get("gap",0),s=e.w+i,r=e.h+i;if(s<=0||r<=0)return;let a=this.get("checkered",!1)?2:1,n=Math.max(1,Math.round(s*a)),h=Math.max(1,Math.round(r*a));this.get("width",100)!==n&&this._setCRaw("width",n),this.get("height",100)!==h&&this._setCRaw("height",h)}_authored(t){return this.isUserSetting(t)&&!this.isComputedSetting(t)}_motif(){let t=this.get("svgPath");t!=null&&t!==this._bboxPath&&(this._bbox=this._getPathBounds(t),this._bboxPath=t);let e=this._bbox,i=this.get("maxWidth"),s=this.get("maxHeight");if(i==null&&s==null)return{scale:1,w:e.w,h:e.h};let r=Math.min(i!=null?i/e.w:1/0,s!=null?s/e.h:1/0);return{scale:r,w:i??e.w*r,h:s??e.h*r}}_changed(){if(super._changed(),this._clearPath){let t=this.get("svgPath");t!=null&&this._renderPattern(t)}this._clearPath=!1}_renderPattern(t){let e=this._motif(),i=this.get("width",100),s=this.get("height",100),r=this.get("gap",0),a=e.w,n=e.h,h=this.get("checkered",!1),l=this.get("centered",!0),c=this.get("rotation",0)*Math.PI/180,u=this.context;u.setTransform(1,0,0,1,0,0),u.clearRect(0,0,i,s);let d=this.get("fill"),f=this.get("fillOpacity",1);d&&f>0&&(u.fillStyle=d.toCSS(f),u.fillRect(0,0,i,s));let m=this.get("color");u.fillStyle=m?m.toCSS(this.get("colorOpacity",1)):"#000000";let _=new Path2D(t),p=this._bbox,g=e.scale,y=p.x+p.w/2,x=p.y+p.h/2,v=a+r,b=n+r,C=Math.max(1,Math.round(i/v)),T=Math.max(1,Math.round(s/b));this.get("maxWidth")==null&&this.get("maxHeight")==null&&(this._authored("width")||this._authored("height"))&&(C=1,T=1),v=i/C,b=s/T;for(let M=-1;M<=T;M++)for(let S=-1;S<=C;S++){if(h&&(M&1)!==(S&1))continue;let D=l?S*v+v/2:S*v+r/2+a/2,k=l?M*b+b/2:M*b+r/2+n/2;u.save(),u.translate(D,k),c!==0&&u.rotate(c),u.scale(g,g),u.translate(-y,-x),u.fill(_),u.restore()}this._pattern=this._root._renderer.createRasterPattern(this.canvas,this.get("repetition","repeat"))}_getPathBounds(t){let e="http://www.w3.org/2000/svg",i=document.createElementNS(e,"svg");i.style.cssText="position:absolute;left:-10000px;top:-10000px;width:0;height:0;overflow:hidden;";let s=document.createElementNS(e,"path");s.setAttribute("d",t),i.appendChild(s),document.body.appendChild(i);let r=0,a=0,n=1,h=1;try{let l=s.getBBox();r=l.x,a=l.y,n=l.width||1,h=l.height||1}catch{}return document.body.removeChild(i),{x:r,y:a,w:n,h}}};Ie.className="PathPattern";Ie.classNames=I.classNames.concat([Ie.className]);var Ge=class extends N{_afterNew(){if(super._afterNewApplyThemes(),this.get("patterns",[]).length===0){let t=this.get("color",this.root.interfaceColors.get("stroke"));this.set("patterns",[this.getLinePattern({width:1e3,height:1e3,angle:45,strokeWidth:1,color:t}),this.getRectanglePattern({width:10,height:10,rotation:0,maxWidth:4,maxHeight:4,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:-45,strokeWidth:1,gap:6,color:t}),this.getCirclePattern({width:11,height:11,radius:2,color:t}),this.getLinePattern({width:6,height:6,angle:90,strokeWidth:1,color:t}),this.getRectanglePattern({width:14,height:14,rotation:45,rotateShapes:!0,gap:4,maxWidth:6,maxHeight:6,checkered:!0,color:t}),this.getLinePattern({width:6,height:6,angle:0,strokeWidth:1,color:t}),this.getRectanglePattern({width:15,height:15,rotation:0,gap:5,maxWidth:5,maxHeight:5,checkered:!0,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:45,strokeWidth:2,gap:3,strokeDasharray:[4,2],color:t}),this.getCirclePattern({width:20,height:20,radius:3,gap:4,checkered:!0,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:-45,strokeWidth:2,gap:3,strokeDasharray:[4,2],color:t}),this.getRectanglePattern({width:10,height:10,rotation:0,gap:1,maxWidth:9,maxHeight:9,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:-45,strokeWidth:2,gap:1,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:45,strokeWidth:2,gap:1,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:0,strokeWidth:3,gap:1,color:t}),this.getLinePattern({width:1e3,height:1e3,angle:90,strokeWidth:3,gap:1,color:t})])}this._dirty.patterns=!1}_beforeChanged(){this.isDirty("patterns")&&this.reset()}getIndex(t){let e=this.get("patterns",[]);if(t<e.length&&e[t]!==null)return e[t];if(t>e.length-1){let i=t%e.length;return e[i]}return 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))}getLinePattern(t){return ce.new(this.root,t)}getRectanglePattern(t){return de.new(this.root,t)}getCirclePattern(t){return le.new(this.root,t)}};Ge.className="PatternSet";Ge.classNames=N.classNames.concat([Ge.className]);var zs=class{static parse(t,e){e=this._applyDefaults(e);try{if(Ot(t)){let i=JSON.parse(t);return e.reverse&&je(i)&&i.reverse(),i}else{if(je(t)||qt(t))return t;throw"Unable to parse JSON data"}}catch{return}}static _applyDefaults(t){let e={},i={reverse:!1};return t||(t={}),W(i,(s,r)=>{e[s]=t[s]!=null?t[s]:r}),e}},Os=class{static parse(t,e){e=this._applyDefaults(e);let i=this.CSVToArray(t,e.delimiter),s=[],r=[],a,n;for(n=0;n<e.skipRows;n++)i.shift();if(e.useColumnNames){r=i.shift();for(let l=0;l<r.length;l++)a=r[l]!=null?r[l].replace(/^\s+|\s+$/gm,""):"",a===""&&(a="col"+l),r[l]=a}let h;for(;h=e.reverse?i.pop():i.shift(),!!h;){if(e.skipEmpty&&h.length===1&&h[0]==="")continue;let l={};for(n=0;n<h.length;n++)a=r[n]===void 0?"col"+n:r[n],l[a]=h[n];s.push(l)}return s}static CSVToArray(t,e){e=e||",";let i=new RegExp("(\\"+e+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+e+"\\r\\n]*))","gi"),s=[[]],r=null;for(;r=i.exec(t),!(!r||r[0].length===0);){let a=r[1];a.length&&a!==e&&s.push([]);let n;r[2]?n=r[2].replace(new RegExp('""',"g"),'"'):n=r[3],s[s.length-1].push(n)}return s}static _applyDefaults(t){let e={},i={delimiter:",",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1};return t||(t={}),W(i,(s,r)=>{e[s]=t[s]!=null?t[s]:r}),e}};var Hs=class extends N{constructor(){super(...arguments),this._checkDates=!1,this._checkNumbers=!1,this._checkColors=!1,this._checkEmpty=!1,this._checkDeep=!1}_afterNew(){super._afterNew(),this._checkFeatures(),this.on("dateFields",()=>this._checkFeatures()),this.on("dateFormat",()=>this._checkFeatures()),this.on("numericFields",()=>this._checkFeatures()),this.on("colorFields",()=>this._checkFeatures()),this.on("emptyAs",()=>this._checkFeatures())}_checkFeatures(){(this.isDirty("dateFields")||this.isDirty("dateFormat"))&&(this._checkDates=this.get("dateFields")&&this.get("dateFields").length>0),this.isDirty("numericFields")&&(this._checkNumbers=this.get("numericFields")&&this.get("numericFields").length>0),this.isDirty("colorFields")&&(this._checkColors=this.get("colorFields")&&this.get("colorFields").length>0),this.isDirty("emptyAs")&&(this._checkEmpty=this.get("emptyAs")!=null),this._checkDeepFeatures()}_checkDeepFeatures(){let t=[];w(["dateFields","numericFields","colorFields"],e=>{w(this.get(e,[]),i=>{let s=i.split(".");for(s.pop();s.length>0;)t.push(s.join(".")),s.pop()})}),this._checkDeep=t.length>0,this.setPrivate("deepFields",t)}processMany(t){je(t)&&(this._checkDates||this._checkNumbers||this._checkColors||this._checkEmpty)&&w(t,e=>{this.processRow(e)})}processRow(t,e=""){W(t,(i,s)=>{let r=e+i;this._checkEmpty&&(t[i]=this._maybeToEmpty(t[i])),this._checkNumbers&&(t[i]=this._maybeToNumber(r,t[i])),this._checkDates&&(t[i]=this._maybeToDate(r,t[i])),this._checkColors&&(t[i]=this._maybeToColor(r,t[i])),this._checkDeep&&this.getPrivate("deepFields",[]).indexOf(r)!==-1&&qt(t[i])&&this.processRow(t[i],r+".")})}_maybeToNumber(t,e){return this.get("numericFields").indexOf(t)!==-1?pt(e):e}_maybeToDate(t,e){return this.get("dateFields").indexOf(t)!==-1?this._root.dateFormatter.parse(e,this.get("dateFormat","")).getTime():e}_maybeToEmpty(t){return(t==null||t==="")&&this.get("emptyAs")!=null?this.get("emptyAs"):t}_maybeToColor(t,e){return this.get("colorFields").indexOf(t)!==-1?P.fromAny(e):e}};var We=class extends E{constructor(){super(...arguments),this.rectangle=this.children.push(Yt.new(this._root,{themeTags:["rectangle"],fillOpacity:0,fill:ht(16777215)})),this.gripL=this._createGrip("left"),this.gripR=this._createGrip("right"),this.gripT=this._createGrip("top"),this.gripB=this._createGrip("bottom"),this._is=1,this._ix=0,this._iw=0,this._isHover=!1}_afterNew(){super._afterNew(),this.addTag("resizer"),this.set("visible",!1),this.gripL.events.on("dragged",t=>{this._resize(t.target,-1)}),this.gripR.events.on("dragged",t=>{this._resize(t.target,1)}),this.gripL.events.on("dragstart",t=>{this._resizeStart(t.target)}),this.gripR.events.on("dragstart",t=>{this._resizeStart(t.target)}),this.gripT.events.on("dragged",t=>{this._rotate(t,90)}),this.gripB.events.on("dragged",t=>{this._rotate(t,-90)}),this.gripT.events.on("dragstart",t=>{this._resizeStart(t.target)}),this.gripB.events.on("dragstart",t=>{this._resizeStart(t.target)})}_resizeStart(t){let e=this.get("sprite");e&&(this._is=e.get("scale",1),this._ix=t.x(),this._iw=this.width()/2)}_resize(t,e){let i=this.get("sprite"),s=this.get("spriteTemplate");if(i){let r=Math.max(.01,this._is*(1+e*(t.x()-this._ix)/this._iw));s?s.set("scale",r):i.set("scale",r),i.states.lookup("default").set("scale",r),this._updatePositions()}}_rotate(t,e){let i=this.get("sprite"),s=this.get("spriteTemplate");if(i){let r=this.parent;if(r){let a=this.get("rotationStep",10),n=Math.round((ii({x:this.x(),y:this.y()},r.toLocal(t.point))+e)/a)*a;s?s.set("rotation",n):i.set("rotation",n),i.states.lookup("default").set("rotation",n),this._updatePositions()}}}_createGrip(t){let e=this.children.push(E.new(this._root,{themeTags:["grip",t],setStateOnChildren:!0,draggable:!0}));return e.children.push(Vt.new(this._root,{themeTags:["outline"],centerX:jt,centerY:jt})),e.children.push(Vt.new(this._root,{centerX:jt,centerY:jt})),e}_updateChildren(){if(super._updateChildren(),this.isDirty("sprite")){let t=this.get("sprite");if(this._positionDP&&(this._positionDP.dispose(),this._positionDP=void 0),t){this.show(0),this.setPrivate("visible",!0),this._updatePositions();let e=t.parent;e&&e.children.moveValue(this,0),this._positionDP=new mt([t.events.on("positionchanged",()=>{this._updatePositions()}),t.events.on("boundschanged",()=>{this._updatePositions()})])}else this.hide(0),this.setPrivate("visible",!1)}(this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation"))&&this._updatePositions()}_updatePositions(){let t=this.get("sprite");if(t){let e=t.localBounds(),i=t.get("scale",1),s=20,r=(e.right-e.left)*i+s,a=(e.bottom-e.top)*i+s,n=t.get("rotation",0),h=this.rectangle,l=t.get("centerX",jt),c=t.get("centerY",jt),u=0;l instanceof Dt&&(u=l.value);let d=0;c instanceof Dt&&(d=c.value),h.setAll({centerX:l,centerY:c,width:r,height:a}),this.setAll({x:t.x()+s*(u-.5)*U(n)-s*(d-.5)*V(n),y:t.y()+s*(d-.5)*U(n)+s*(u-.5)*V(n),width:r,height:a,rotation:n}),this.gripT.setAll({x:(.5-u)*r,y:-d*a}),this.gripB.setAll({x:(.5-u)*r,y:(1-d)*a}),this.gripL.setAll({x:-u*r,y:(.5-d)*a}),this.gripR.setAll({x:(1-u)*r,y:(.5-d)*a}),this.rectangle.setAll({width:r,height:a})}}};We.className="SpriteResizer";We.classNames=E.classNames.concat([We.className]);var Rt=Math.PI*2;function _e(...o){for(let t=0;t<o.length;t++)if(!isFinite(o[t]))return!1;return!0}var Ye=class{constructor(t=3){this._precision=t,this._parts=[],this._x=0,this._y=0,this._startX=0,this._startY=0,this._hasPoint=!1}get d(){return this._parts.join("")}clear(){this._parts.length=0,this._hasPoint=!1}_n(t){let e=Math.pow(10,this._precision);return String(Math.round(t*e)/e)}_point(t,e){return this._n(t)+" "+this._n(e)}moveTo(t,e){_e(t,e)&&(this._parts.push("M"+this._point(t,e)),this._x=this._startX=t,this._y=this._startY=e,this._hasPoint=!0)}lineTo(t,e){if(_e(t,e)){if(!this._hasPoint){this.moveTo(t,e);return}this._parts.push("L"+this._point(t,e)),this._x=t,this._y=e}}closePath(){this._hasPoint&&(this._parts.push("Z"),this._x=this._startX,this._y=this._startY)}rect(t,e,i,s){_e(t,e,i,s)&&(this.moveTo(t,e),this._parts.push("L"+this._point(t+i,e)+"L"+this._point(t+i,e+s)+"L"+this._point(t,e+s)+"Z"),this._x=t,this._y=e)}bezierCurveTo(t,e,i,s,r,a){_e(t,e,i,s,r,a)&&(this._hasPoint||this.moveTo(t,e),this._parts.push("C"+this._point(t,e)+" "+this._point(i,s)+" "+this._point(r,a)),this._x=r,this._y=a)}quadraticCurveTo(t,e,i,s){_e(t,e,i,s)&&(this._hasPoint||this.moveTo(t,e),this._parts.push("Q"+this._point(t,e)+" "+this._point(i,s)),this._x=i,this._y=s)}arc(t,e,i,s,r,a=!1){this.ellipse(t,e,i,i,0,s,r,a)}ellipse(t,e,i,s,r,a,n,h=!1){if(!_e(t,e,i,s,r,a,n)||i<0||s<0)return;let l=a%Rt;l<0&&(l+=Rt);let c=n+(l-a);!h&&c-l>=Rt?c=l+Rt:h&&l-c>=Rt?c=l-Rt:!h&&l>c?c=l+(Rt-(l-c)%Rt):h&&l<c&&(c=l-(Rt-(c-l)%Rt));let u=Math.cos(r),d=Math.sin(r),f=b=>{let C=i*Math.cos(b),T=s*Math.sin(b);return[t+C*u-T*d,e+C*d+T*u]},[m,_]=f(l);this.lineTo(m,_);let p=c-l;if(p===0||i===0||s===0){let[b,C]=f(c);this.lineTo(b,C);return}let g=Math.ceil(Math.abs(p)/Math.PI-1e-9),y=p/g,x=this._n(r*180/Math.PI),v=p>0?"1":"0";for(let b=1;b<=g;b++){let[C,T]=f(l+y*b);this._parts.push("A"+this._n(i)+" "+this._n(s)+" "+x+" 0 "+v+" "+this._point(C,T)),this._x=C,this._y=T}}arcTo(t,e,i,s,r){if(!_e(t,e,i,s,r))return;this._hasPoint||this.moveTo(t,e);let a=this._x,n=this._y;if(a===t&&n===e||t===i&&e===s||r===0){this.lineTo(t,e);return}let h=a-t,l=n-e,c=i-t,u=s-e,d=Math.hypot(h,l),f=Math.hypot(c,u),m=h*u-l*c;if(Math.abs(m)<1e-9*d*f){this.lineTo(t,e);return}let _=(h*c+l*u)/(d*f),p=Math.acos(Math.max(-1,Math.min(1,_))),g=r/Math.tan(p/2),y=t+h/d*g,x=e+l/d*g,v=t+c/f*g,b=e+u/f*g;this.lineTo(y,x),this._parts.push("A"+this._n(r)+" "+this._n(r)+" 0 0 "+(m<0?"1":"0")+" "+this._point(v,b)),this._x=v,this._y=b}};function St(o){return o.replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\uFFFE\uFFFF]/g,"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}var Hr=new WeakMap;function Ur(o){try{return o.toDataURL()}catch{return""}}var Ir=new WeakMap;function Ta(o,t){let e=o._data,i=Ir.get(t);return(!i||i.data!==e||i.version!==e.version)&&(i={data:e,version:e.version,url:Ur(t)},Ir.set(t,i)),i.url}var mi=class{constructor(t){this._prefix=t,this._ids=new Map,this._next=0,this.used=new Set}begin(){this.used=new Set}id(t,e){let i=this._ids.get(e);return i===void 0&&(i=this._prefix+t+ ++this._next,this._ids.set(e,i)),this.used.add(e),i}withId(t){let e=this._ids.get(t);return t.replace(/^<(\w+)/,'<$1 id="'+e+'"')}sweep(){let t=this.used;this._ids.forEach((e,i)=>{t.has(i)||this._ids.delete(i)})}},gi=class{constructor(t,e,i=1,s=!1){this.precision=t,this.defs=e,this.resolution=i,this.live=s,this.blend=!1,this._paints=new Map,this._p=Math.pow(10,t),this.href=s?"href":"xlink:href"}n(t){let e=this._p;return String(Math.round(t*e)/e)}defsMarkup(){let t=[];return this.defs.used.forEach(e=>{t.push(this.defs.withId(e))}),t.join("")}matrix(t,e=!1){let i=t.tx,s=t.ty;if(e){let r=this.resolution;i=(Math.floor(i*r)+.5)/r,s=(Math.floor(s*r)+.5)/r}return"matrix("+this.n(t.a)+" "+this.n(t.b)+" "+this.n(t.c)+" "+this.n(t.d)+" "+this.n(i)+" "+this.n(s)+")"}paint(t,e){if(typeof e=="string")return this.color(t,e);let i=this._paints.get(e);if(i===void 0){if(e instanceof At)i=this.defs.id("g",'<linearGradient gradientUnits="userSpaceOnUse" x1="'+this.n(e.x1)+'" y1="'+this.n(e.y1)+'" x2="'+this.n(e.x2)+'" y2="'+this.n(e.y2)+'">'+this._stops(e.stops)+"</linearGradient>");else if(e instanceof Lt)i=this.defs.id("g",'<radialGradient gradientUnits="userSpaceOnUse" cx="'+this.n(e.x2)+'" cy="'+this.n(e.y2)+'" r="'+this.n(e.radius2)+'" fx="'+this.n(e.x1)+'" fy="'+this.n(e.y1)+'" fr="'+this.n(e.radius1)+'">'+this._stops(e.stops)+"</radialGradient>");else if(e instanceof Nt){let s=[];Vr(this,e.background,s),Vr(this,e.graphics,s),i=this.defs.id("p",'<pattern patternUnits="userSpaceOnUse" width="'+this.n(e.width)+'" height="'+this.n(e.height)+'">'+s.join("")+"</pattern>")}else if(e instanceof Mt){let s=e.source.width,r=e.source.height,a=Hr.get(e);if(a===void 0&&(a=Ur(e.source),Hr.set(e,a)),!a||!s||!r)return t+'="none"';i=this.defs.id("p",'<pattern patternUnits="userSpaceOnUse" width="'+s+'" height="'+r+'"><image width="'+s+'" height="'+r+'" '+this.href+'="'+a+'"/></pattern>')}else return t+'="none"';this._paints.set(e,i)}return t+'="url(#'+i+')"'}color(t,e){let i=/^rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*(?:,\s*([\d.]+)\s*)?\)$/.exec(e);if(i){let s=t+'="rgb('+Math.round(+i[1])+","+Math.round(+i[2])+","+Math.round(+i[3])+')"';return i[4]!==void 0&&+i[4]<1?s+" "+t+'-opacity="'+this.n(+i[4])+'"':s}return t+'="'+St(e)+'"'}_stops(t){return t.map(e=>'<stop offset="'+this.n(e.offset)+'" '+this.color("stop-color",e.color).replace("stop-color-opacity","stop-opacity")+"/>").join("")}shadow(t,e,i,s,r,a,n){if(!e&&!i&&!s)return;let h=this.resolution;e/=h,i/=h,s/=h;let l=r.a*r.d-r.b*r.c||1,c=(r.d*i-r.c*s)/l,u=(-r.b*i+r.a*s)/l,d=Math.sqrt(Math.abs(l))||1;return this._dropShadow(t,e/2/d,c,u,a,n)}_dropShadow(t,e,i,s,r,a=0){let n=this.color("flood-color",t).replace("flood-color-opacity","flood-opacity"),h='x="-50%" y="-50%" width="200%" height="200%"';if(r&&r.right>=r.left&&r.bottom>=r.top){let l=r.right-r.left,c=r.bottom-r.top,u=3*e+Math.abs(i)+a,d=3*e+Math.abs(s)+a;(u>l/2||d>c/2)&&(h='filterUnits="userSpaceOnUse" x="'+this.n(r.left-u)+'" y="'+this.n(r.top-d)+'" width="'+this.n(l+2*u)+'" height="'+this.n(c+2*d)+'"')}return this.defs.id("s","<filter "+h+' color-interpolation-filters="sRGB"><feDropShadow dx="'+this.n(i)+'" dy="'+this.n(s)+'" stdDeviation="'+this.n(e)+'" '+n+"/></filter>")}cssFilter(t,e,i){let s=this.resolution,r=e.a*e.d-e.b*e.c||1,a=(Math.sqrt(Math.abs(r))||1)*s;return t.replace(/([a-z-]+)\(((?:[^()]|\([^()]*\))*)\)/gi,(n,h,l)=>{let c=h.toLowerCase();if(c==="blur"){let u=/^\s*(-?[\d.]+)(px)?\s*$/.exec(l);return u?"blur("+this.n(+u[1]/a)+"px)":n}else if(c==="drop-shadow"){let u=l.match(/[a-z-]+\([^()]*\)|\S+/gi)||[],d=[],f=[],m=!1;if(w(u,v=>{let b=/^(-?[\d.]+)(px)?$/.exec(v);b?d.push(+b[1]):/^-?[\d.]+[a-z%]+$/i.test(v)?m=!0:f.push(v)}),m||d.length<2)return n;let _=d[0]/s,p=d[1]/s,g=(e.d*_-e.c*p)/r,y=(-e.b*_+e.a*p)/r,x=d.length>2?d[2]/a:0;return"url(#"+this._dropShadow(f.length?f.join(" "):"#000",x,g,y,i)+")"}return n})}clip(t){let e=Xr(t,this.precision);if(e.clip===void 0){let i=new Ye(this.precision);w(t._data.ops,s=>{s.path(i)}),e.clip=i.d}return this.defs.id("c",'<clipPath><path transform="'+this.matrix(t._matrix)+'" d="'+e.clip+'"/></clipPath>')}};function _i(o,t,e,i,s){let r=' transform="'+o.matrix(t._matrix,t.crisp&&t.deform===null)+'"';e<1&&(r+=' opacity="'+o.n(e)+'"');let a=[];s&&a.push("url(#"+s+")"),i&&i.trim()!=="none"&&a.push(o.cssFilter(i,t._matrix,t.getLocalBounds()));let n="";return a.length&&(n+="filter:"+a.join(" ")+";"),t instanceof rt&&t.blendMode&&t.blendMode!="source-over"&&(ka(t.blendMode)?Ma():(n+="mix-blend-mode:"+(t.blendMode=="lighter"?"plus-lighter":t.blendMode)+";",o.blend=!0)),n&&(r+=' style="'+St(n)+'"'),r}function ka(o){return o=="destination-over"||o=="source-atop"||o=="xor"}var Gr=!1;function Ma(){Gr||(Gr=!0,console.warn("amCharts SVG: blend modes DST_OVER, SRC_ATOP and XOR are canvas-only; they are drawn as NORMAL."))}function Is(o){return typeof o=="string"||o instanceof At||o instanceof Lt||o instanceof Nt||o instanceof Mt}var Wr=new WeakMap;function Xr(o,t){let e=o._data,i=Wr.get(o);return(!i||i.version!==e.version||i.length!==e.ops.length||i.precision!==t)&&(i={version:e.version,length:e.ops.length,precision:t},Wr.set(o,i)),i}function jr(o,t,e,i,s){let r=Xr(t,o.precision),a=!r.paths,n=r.paths||(r.paths=[]),h=0,l=()=>(a&&n.push(c.d),n[h++]),c=new Ye(o.precision),u="#000",d="#000",f=1,m="miter",_="butt",p=[],g=0,y,x=b=>{let C=b&&y?o.shadow(y.color,y.blur,y.offsetX,y.offsetY,t._matrix,t.getLocalBounds(),f*5):void 0;return _i(o,t,e,i,C)},v=[];for(w(t._data.ops,b=>{switch(b.type){case"beginPath":a&&(c=new Ye(o.precision));break;case"beginFill":Is(b.color)&&(u=b.color);break;case"beginGroup":v.push(s.length),s.push("<g"+Sa(o,b.id,b.name)+">");break;case"endGroup":{let C=v.pop();C!==void 0&&(s.length==C+1?s.pop():s.push("</g>"));break}case"endFill":{let C=l();C&&(o.live||!Yr(u))&&s.push("<path"+x(!0)+' d="'+C+'" '+o.paint("fill",u)+"/>"),b.clearShadow&&(y=void 0);break}case"lineStyle":Is(b.color)&&(d=b.color),b.width>0&&isFinite(b.width)&&(f=b.width),b.lineJoin&&(m=b.lineJoin),b.lineCap&&(_=b.lineCap);break;case"endStroke":{let C=l();if(C&&(o.live||!Yr(d))){let T=' fill="none" '+o.paint("stroke",d)+' stroke-width="'+o.n(f)+'" stroke-miterlimit="10"';m!="miter"&&(T+=' stroke-linejoin="'+m+'"'),_!="butt"&&(T+=' stroke-linecap="'+_+'"'),p.length&&(T+=' stroke-dasharray="'+p.map(M=>o.n(M)).join(" ")+'"',g&&(T+=' stroke-dashoffset="'+o.n(g)+'"')),s.push("<path"+x(!0)+' d="'+C+'"'+T+"/>")}break}case"lineDash":Zs(b.dash,C=>!(C>=0&&isFinite(C)))||(p=b.dash);break;case"lineDashOffset":isFinite(b.dashOffset)&&(g=b.dashOffset);break;case"shadow":y=b;break;case"image":Da(o,t,b,e,i,s);break;default:a&&b.path(c)}});v.length;){let b=v.pop();s.length==b+1?s.pop():s.push("</g>")}}function Yr(o){if(typeof o!="string")return!1;let t=/^rgba\([^,]+,[^,]+,[^,]+,\s*([\d.]+)\s*\)$/.exec(o);return!!t&&+t[1]<=0}function Sa(o,t,e){let i="";return t!=null&&t!==""&&(i+=(o.live?' data-id="':' id="')+St(t)+'"'),e!=null&&e!==""&&(i+=' data-name="'+St(e)+'"'),i}function Da(o,t,e,i,s,r){if(!isFinite(e.x)||!isFinite(e.y)||!isFinite(e.width)||!isFinite(e.height))return;let a=e.image,n=a instanceof HTMLCanvasElement?Ta(t,a):a.src;n&&r.push("<image"+_i(o,t,i,s)+' x="'+o.n(e.x)+'" y="'+o.n(e.y)+'" width="'+o.n(e.width)+'" height="'+o.n(e.height)+'" '+o.href+'="'+St(n)+'" preserveAspectRatio="none"/>')}function Vr(o,t,e){t.visible&&(t._setMatrix(),jr(o,t,t.compoundAlpha*t.alpha,t.filter,e))}function Ea(o,t){switch(o){case"center":return"middle";case"end":return"end";case"left":return t?"end":void 0;case"right":return t?void 0:"end"}}function $a(o){switch(o){case"top":return"text-before-edge";case"hanging":return"hanging";case"middle":return"central";case"ideographic":return"ideographic";case"bottom":return"text-after-edge"}}function Pa(o,t,e,i,s){o.live&&!t._textInfo&&t._renderer._measureText(t);let r=t._textInfo;if(!t.textVisible||!r)return;let a=t.style,n=Ci(a,void 0,!1,()=>getComputedStyle(t._renderer.view).getPropertyValue("font-family")),h=a.direction=="rtl",l;a.fill instanceof P?l=o.color("fill",a.fill.toCSS(a.fillOpacity!=null?a.fillOpacity:1)):a.fill&&Is(a.fill)?l=o.paint("fill",a.fill):l='fill="#000"';let c;if(a.shadowColor&&(c=o.shadow(a.shadowColor.toCSS(a.shadowOpacity!=null?a.shadowOpacity:1),a.shadowBlur||0,a.shadowOffsetX||0,a.shadowOffsetY||0,t._matrix,t.getLocalBounds())),t instanceof at&&t.textType=="circular"){let _=o.live?t._orient():t._inward();Aa(o,t,_,n,l,e,i,c,s);return}let u=_i(o,t,e,i,c),d=Ea(a.textAlign,h);d&&(u+=' text-anchor="'+d+'"');let f=$a(a.textBaseline);f&&(u+=' dominant-baseline="'+f+'"'),h&&(u+=' direction="rtl"');let m=[];w(r,_=>{w(_.textChunks,p=>{let g=p.style||n,y=p.fill?o.color("fill",p.fill.toCSS()):l,x=p.offsetX,v=_.offsetY+p.offsetY;if(!(!isFinite(x)||!isFinite(v))&&(p.text!==""&&m.push('<text x="'+o.n(x)+'" y="'+o.n(v)+'" '+y+' style="font:'+St(g)+';white-space:pre">'+St(p.text)+"</text>"),p.textDecoration=="underline"||p.textDecoration=="line-through")){let b=1,C=1,T=p.height,M=p.offsetX;switch(a.textAlign){case"right":case"end":M-=p.width;break;case"center":M-=p.width/2;break}if(p.style)switch(Ct.getTextStyle(p.style).fontWeight){case"bolder":case"bold":case"700":case"800":case"900":b=2;break}T&&(C=T/20);let S;if(p.textDecoration=="line-through"?S=b+_.offsetY+p.offsetY-p.height/2:S=b+C*1.5+_.offsetY+p.offsetY,S=Math.floor(S)+.5,!isFinite(S)||!isFinite(M)||!isFinite(p.width))return;let D='stroke="#000"';p.fill?D=o.color("stroke",p.fill.toCSS()):a.fill instanceof P&&(D=o.color("stroke",a.fill.toCSS())),m.push('<path d="M'+o.n(M)+" "+o.n(S)+"L"+o.n(M+p.width)+" "+o.n(S)+'" fill="none" '+D+' stroke-width="'+o.n(b*C)+'"/>')}})}),m.length&&s.push("<g"+u+">"+m.join("")+"</g>")}function Aa(o,t,e,i,s,r,a,n,h){let l=[];t._eachGlyph(e,(c,u,d)=>{if(!isFinite(d))return;let f=c.style||i,m=c.fill?o.color("fill",c.fill.toCSS()):s;l.push('<text transform="rotate('+o.n(u*Gt)+')" x="0" y="'+o.n(d)+'" text-anchor="middle" dominant-baseline="central" '+m+' style="font:'+St(f)+';white-space:pre">'+St(c.text)+"</text>")}),l.length&&h.push("<g"+_i(o,t,r,a,n)+">"+l.join("")+"</g>")}function La(o,t,e,i,s){let r=t.image;if(!r||t.tainted&&!o.live)return;let a=t.width||r.naturalWidth,n=t.height||r.naturalHeight;if(!isFinite(a)||!isFinite(n))return;let h;t.shadowColor&&(h=o.shadow(t.shadowColor.toCSS(t.shadowOpacity!=null?t.shadowOpacity:1),t.shadowBlur||0,t.shadowOffsetX||0,t.shadowOffsetY||0,t._matrix,{left:0,top:0,right:a,bottom:n})),s.push("<image"+_i(o,t,e,i,h)+' width="'+o.n(a)+'" height="'+o.n(n)+'" '+o.href+'="'+St(r.src)+'" preserveAspectRatio="none"/>')}function qr(o,t,e,i,s,r,a){if(!t.visible||t.exportable===!1&&!o.live)return;t._setMatrix(),t._layer&&(i=t._layer);let n=s*t.alpha;if(n>=0&&n<=1&&(s=n),s<=0&&!o.live)return;t.filter&&(r=t.filter);let h=[];if(t instanceof dt)w(t._children,l=>{qr(o,l,e,i,s,r,h)});else if(i===e&&isFinite(t._matrix.tx)&&isFinite(t._matrix.ty)&&isFinite(t._matrix.a)){let l=[];t instanceof rt?jr(o,t,s,r,l):t instanceof ut?Pa(o,t,s,r,l):t instanceof ft&&La(o,t,s,r,l),l.length&&h.push({node:t,markup:l.join("")})}if(h.length){let l=t.mask;l?(l._setMatrix(),a.push({node:t,clip:o.clip(l),items:h})):w(h,c=>{a.push(c)})}}function Gs(o,t,e,i,s=1){let r=[];return qr(o,t,e,i,s,void 0,r),r}function Ws(o){return"url(#"+o+")"}function Kr(o){return o.map(t=>"items"in t?'<g clip-path="'+Ws(t.clip)+'">'+Kr(t.items)+"</g>":t.markup).join("")}function Ys(o){return o?"isolation:isolate":""}function Na(o,t={}){let e,i=t.width,s=t.height,r=t.title;if(o instanceof Ut)e=o;else{let _="_rootContainer"in o?o:o._root;r==null&&(r=_.settings.ariaLabel);let p=_._rootContainer._display;e="_rootContainer"in o?p:o._display,_._renderer.render(p),i==null&&(i=_.width()||_._rootContainer.width()),s==null&&(s=_.height()||_._rootContainer.height())}let a=new mi(t.idPrefix!=null?t.idPrefix:"am5-"),n=new gi(t.precision!=null?t.precision:3,a),h=e._renderer,l=[],c=e.getLayer(),u=1;for(let _=e._parent;_;_=_._parent)_.alpha>=0&&_.alpha<=1&&(u*=_.alpha);w(h.layers,_=>{if(_.visible){n.blend=!1;let p=Kr(Gs(n,e,_,c,u));if(p){let g=Ys(n.blend);l.push('<g class="am5-layer-'+_.order+'"'+(g?' style="'+g+'"':"")+' aria-hidden="true">'+p+"</g>")}}});let d=n.n(i||0),f=n.n(s||0),m=n.defsMarkup();return'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+d+'" height="'+f+'" viewBox="0 0 '+d+" "+f+'" role="img">'+(r?"<title>"+St(r)+"</title>":"")+(m?"<defs>"+m+"</defs>":"")+(t.background?'<rect width="'+d+'" height="'+f+'" '+n.color("fill",t.background)+' aria-hidden="true"/>':"")+l.join("")+"</svg>"}var Vs=class{constructor(){this.bounds={left:1/0,top:1/0,right:-1/0,bottom:-1/0},this._x=0,this._y=0,this._startX=0,this._startY=0}_add(t,e){let i=this.bounds;t<i.left&&(i.left=t),t>i.right&&(i.right=t),e<i.top&&(i.top=e),e>i.bottom&&(i.bottom=e)}_to(t,e){this._add(t,e),this._x=t,this._y=e}moveTo(t,e){this._to(t,e),this._startX=t,this._startY=e}lineTo(t,e){this._to(t,e)}closePath(){this._x=this._startX,this._y=this._startY}rect(t,e,i,s){this._add(t+i,e+s),this.moveTo(t,e)}arc(t,e,i,s,r,a){this._add(t-i,e-i),this._add(t+i,e+i),this._to(t+i*Math.cos(r),e+i*Math.sin(r))}arcTo(t,e,i,s,r){let a=this._x-t,n=this._y-e,h=i-t,l=s-e,c=Math.sqrt(a*a+n*n),u=Math.sqrt(h*h+l*l),d=a*l-n*h;if(c===0||u===0||d===0||r===0){this._to(t,e);return}let f=(a*h+n*l)/(c*u),m=r*Math.sqrt((1+f)/(1-f));this._add(t,e),this._add(t+a/c*m,e+n/c*m),this._to(t+h/u*m,e+l/u*m)}ellipse(t,e,i,s,r,a,n,h){let l=Math.max(i,s);this._add(t-l,e-l),this._add(t+l,e+l);let c=i*Math.cos(n),u=s*Math.sin(n);this._to(t+c*Math.cos(r)-u*Math.sin(r),e+c*Math.sin(r)+u*Math.cos(r))}bezierCurveTo(t,e,i,s,r,a){this._add(t,e),this._add(i,s),this._to(r,a)}quadraticCurveTo(t,e,i,s){this._add(t,e),this._to(i,s)}},Xi=class{constructor(){this._force=0,this._clipPaths=new Map,this._images=new WeakMap}invalidate(){this._entries=void 0,this._clipPaths.clear()}hit(t,e,i){this._entries||(this._entries=this._collect(t,e));let s=this._entries;for(let r=s.length-1;r>=0;--r){let a=s[r];if(!a.node.isDisposed()&&this._hitNode(a,i)&&this._inClips(a.clips,i))return a.node}}_getContext(){if(!this._context){let t=document.createElement("canvas");t.width=1,t.height=1,this._context=t.getContext("2d")}return this._context}_collect(t,e){let i={};this._force=0,this._walk(t,null,e,void 0,i);let s=Object.keys(i).map(Number).sort((a,n)=>a-n),r=[];return w(s,a=>{w(i[a],n=>{r.push(n)})}),r}_walk(t,e,i,s,r){if(!t.visible)return;t._setMatrix();let a=t.inactive==null?e:t.inactive,n=t._layer||i,h=!a&&(t.interactive||this._force>0),l=t.mask;if(l&&(t instanceof dt&&t.interactiveChildren||h)&&(l._setMatrix(),s=s?s.concat([l]):[l]),t instanceof dt){let c=t.interactive&&t.interactiveChildren;c&&++this._force,w(t._children,u=>{this._walk(u,a,n,s,r)}),c&&--this._force}else if(h&&this._onGhost(t)){let c=n.order||0;if(c>=0){let u=r[c];u||(u=r[c]=[]),u.push({node:t,clips:s})}}}_onGhost(t){return t instanceof rt||t instanceof at&&t.textType=="circular"?!0:t instanceof ut?t.interactive:t instanceof ft?t.interactive&&!!t.image:!1}_hitNode(t,e){let i=t.node,s=i._matrix.applyInverse(e),r=s.x,a=s.y;if(!isFinite(r)||!isFinite(a))return!1;if(i instanceof rt)return this._hitGraphics(t,i,r,a);if(i instanceof at&&i.textType=="circular")return this._hitCircularText(i,r,a);if(i instanceof ut){let n=i._textBounds;return i.textVisible&&!!i._textInfo&&!!n&&r>=n.left&&r<=n.right&&a>=n.top&&a<=n.bottom}else if(i instanceof ft)return this._hitImage(i,r,a);return!1}_hitGraphics(t,e,i,s){let r=e._data.ops,a=t.bounds;if(!a){let c=new Vs,u=1;w(r,d=>{d.type==="lineStyle"&&(u=Math.max(u,d.width*5)),d.path(c)}),a=t.bounds=c.bounds,a.left-=u,a.top-=u,a.right+=u,a.bottom+=u}if(i<a.left||i>a.right||s<a.top||s>a.bottom)return!1;let n=this._getContext();n.save();let h=new Path2D,l=!1;return ue(r,c=>{switch(c.type){case"beginPath":h=new Path2D;break;case"endFill":l=n.isPointInPath(h,i,s);break;case"endStroke":l=n.isPointInStroke(h,i,s);break;case"lineStyle":n.lineWidth=c.width,c.lineJoin&&(n.lineJoin=c.lineJoin),c.lineCap&&(n.lineCap=c.lineCap);break;case"lineDash":n.setLineDash(c.dash);break;case"lineDashOffset":n.lineDashOffset=c.dashOffset;break;default:c.path(h)}return!l}),n.restore(),l}_hitCircularText(t,e,i){if(!t.textVisible||!t._textInfo)return!1;let s=!1;return t._eachGlyph(t._inward(),(r,a,n,h)=>{if(!s){let l=Math.cos(a),c=Math.sin(a),u=e*l+i*c,d=-e*c+i*l;s=Math.abs(u)<=r.width/2&&Math.abs(d-n)<=h/2}}),s}_hitImage(t,e,i){let s=t.image;if(!s)return!1;let r=t.width||s.naturalWidth,a=t.height||s.naturalHeight;if(e<0||i<0||e>=r||i>=a)return!1;let n=this._images.get(t);if((!n||n.image!==s||n.width!==r||n.height!==a)&&(n={image:s,width:r,height:a,data:Fa(s,r,a)},this._images.set(t,n)),!n.data)return!0;let h=(Math.floor(i)*Math.floor(r)+Math.floor(e))*4+3;return n.data[h]===255}_inClips(t,e){if(!t)return!0;let i=this._getContext(),s=!0;return ue(t,r=>{let a=this._clipPaths.get(r);if(!a){a=new Path2D;let h=a;w(r._data.ops,l=>{l.path(h)}),this._clipPaths.set(r,a)}let n=r._matrix.applyInverse(e);return s=i.isPointInPath(a,n.x,n.y),s}),s}};function Fa(o,t,e){let i=document.createElement("canvas");i.width=t,i.height=e;let s=i.getContext("2d",{willReadFrequently:!0});s.imageSmoothingEnabled=!1,s.drawImage(o,0,0,t,e);try{return s.getImageData(0,0,i.width,i.height).data}catch{return null}}var Ve="http://www.w3.org/2000/svg",Ba=0,Us=class{constructor(t,e){this.element=t,this.order=0,this.visible=!0,this.dirty=!0,this._defsElement=document.createElementNS(Ve,"defs"),this._defElements=new Map,this._content=document.createElementNS(Ve,"g"),this._leaves=new Map,this._clips=new Map,this._defs=new mi(e),t.appendChild(this._defsElement),t.appendChild(this._content)}resize(t,e){this.width!=null&&(t=this.width),this.height!=null&&(e=this.height);let i=this.margin||{left:0,right:0,top:0,bottom:0},s=String(t+i.left+i.right),r=String(e+i.top+i.bottom),a=this.element;a.setAttribute("x",String(-i.left)),a.setAttribute("y",String(-i.top)),a.setAttribute("width",s),a.setAttribute("height",r),a.setAttribute("viewBox",-i.left+" "+-i.top+" "+s+" "+r)}},Xs=class extends ge{constructor(t){super(),this.view=document.createElement("div"),this._svg=document.createElementNS(Ve,"svg"),this._id=++Ba,this._realWidth=0,this._realHeight=0,this._calculatedWidth=0,this._calculatedHeight=0,this.layers=[],this.defaultLayer=this.getLayer(0),this._hitTester=new Xi,this._measureCanvas=document.createElement("canvas"),this._measureContext=this._measureCanvas.getContext("2d"),this._parser=document.createElementNS(Ve,"g"),t==null?this.resolution=window.devicePixelRatio:this.resolution=t,this.view.style.position="absolute",this.view.setAttribute("aria-hidden","true");let e=this._svg;e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.overflow="visible",e.style.willChange="transform",e.style.setProperty("user-select","none"),e.style.setProperty("-webkit-user-select","none"),this.view.appendChild(e);let i=this._measureCanvas;i.width=0,i.height=0,i.style.position="absolute",i.style.visibility="hidden",this.view.appendChild(i),this._disposers.push(new tt(()=>{w(this.layers,s=>{s._canvas&&(s._canvas.width=0,s._canvas.height=0)}),this.view.innerHTML=""})),this._disposers.push(be(()=>{t==null&&(this.resolution=window.devicePixelRatio)})),this._interaction=new ve(this),this._disposers.push(this._interaction)}get interactionsEnabled(){return this._interaction.interactionsEnabled}set interactionsEnabled(t){this._interaction.interactionsEnabled=t}get tapToActivate(){return this._interaction.tapToActivate}set tapToActivate(t){this._interaction.tapToActivate=t}get tapToActivateTimeout(){return this._interaction.tapToActivateTimeout}set tapToActivateTimeout(t){this._interaction.tapToActivateTimeout=t}get debugGhostView(){return!1}set debugGhostView(t){}createLinearGradient(t,e,i,s){return new At(t,e,i,s)}createRadialGradient(t,e,i,s,r,a){return new Lt(t,e,i,s,r,a)}createPattern(t,e,i,s,r){return new Nt(this._snapshot(t),this._snapshot(e),i,s,r)}_snapshot(t){let e=new rt(this);return e._data.ops=t._data.ops.slice(),e.visible=t.visible,e.alpha=t.alpha,e.compoundAlpha=t.compoundAlpha,e.x=t.x,e.y=t.y,e.angle=t.angle,e.scale=t.scale,e.pivot.x=t.pivot.x,e.pivot.y=t.pivot.y,e.crisp=t.crisp,e.filter=t.filter,e.blendMode=t.blendMode,e}createRasterPattern(t,e){if(!t.width||!t.height)return null;let i=document.createElement("canvas");return i.width=t.width,i.height=t.height,i.getContext("2d").drawImage(t,0,0),new Mt(i,e)}makeContainer(){return new dt(this)}makeGraphics(){return new rt(this)}makeText(t,e){return new ut(this,t,e)}makeTextStyle(){return new Ce}makeRadialText(t,e){return new at(this,t,e)}makePicture(t){return new ft(this,t)}resize(t,e,i,s){this._realWidth=t,this._realHeight=e,this._calculatedWidth=i,this._calculatedHeight=s,w(this.layers,r=>{r.dirty=!0,r.resize(i,s),this._resizeCanvas(r)}),this.view.style.width=i+"px",this.view.style.height=s+"px",this._svg.setAttribute("width",String(i)),this._svg.setAttribute("height",String(s))}getLayerByOrder(t){let e=this.layers,i=e.length;for(let s=0;s<i;s++){let r=e[s];if(r.order==t)return r}}getLayer(t,e=!0){let i=this.getLayerByOrder(t);if(i)return i;let s=document.createElementNS(Ve,"svg");s.setAttribute("class","am5-layer-"+t),s.setAttribute("overflow","hidden"),s.setAttribute("pointer-events","none");let r=new Us(s,"am5s"+this._id+"l"+String(t).replace(/[^\w]/g,"_")+"-");r.order=t,r.visible=e,r.resize(this._calculatedWidth,this._calculatedHeight);let a=this.layers;a.push(r),a.sort((h,l)=>h.order-l.order);let n=a[xi(a,r)+1];return n===void 0?this._svg.appendChild(s):this._svg.insertBefore(s,n.element),this._applyVisible(r),r}_applyVisible(t){t.visible?t.element.removeAttribute("display"):t.element.setAttribute("display","none")}render(t){this._root=t,w(this.layers,e=>{e.dirty&&e.visible&&(this._renderLayer(t,e),e.dirty=!1)}),this._hitTester.invalidate(),this._interaction.afterRender()}_renderLayer(t,e){let i=e._defs;i.begin();let s=new gi(3,i,this.resolution,!0),r=Gs(s,t,e,this.defaultLayer),a=new Map,n=new Map,h=[];if(this._match(e,r,a,n,h),e._leaves.forEach((c,u)=>{a.get(u)!==c&&w(c.elements,d=>{d.remove()})}),e._clips.forEach((c,u)=>{n.get(u)!==c&&c.element.remove()}),h.length){let c=this._parse(h.map(u=>"<g>"+u.markup+"</g>"));w(h,(u,d)=>{u.elements=Array.prototype.slice.call(c[d].children)})}this._place(e._content,r,a,n),e._leaves=a,e._clips=n,this._syncDefs(e),i.sweep();let l=Ys(s.blend);l?e.element.setAttribute("style",l):e.element.removeAttribute("style")}_match(t,e,i,s,r){w(e,a=>{if("items"in a){let n=t._clips.get(a.node);n||(n={clip:"",element:document.createElementNS(Ve,"g")}),n.clip!==a.clip&&(n.clip=a.clip,n.element.setAttribute("clip-path",Ws(a.clip))),s.set(a.node,n),this._match(t,a.items,i,s,r)}else{let n=t._leaves.get(a.node);(!n||n.markup!==a.markup)&&(n={markup:a.markup,elements:[]},r.push(n)),i.set(a.node,n)}})}_place(t,e,i,s){let r=t.firstChild,a=n=>{n===r?r=r.nextSibling:t.insertBefore(n,r)};for(w(e,n=>{if("items"in n){let h=s.get(n.node);this._place(h.element,n.items,i,s),a(h.element)}else w(i.get(n.node).elements,a)});r;){let n=r.nextSibling;t.removeChild(r),r=n}}_syncDefs(t){let e=t._defs,i=e.used,s=t._defElements;s.forEach((a,n)=>{i.has(n)||(a.remove(),s.delete(n))});let r=[];if(i.forEach(a=>{s.has(a)||r.push(a)}),r.length){let a=this._parse(r.map(n=>e.withId(n)));w(r,(n,h)=>{let l=a[h];t._defsElement.appendChild(l),s.set(n,l)})}}_parse(t){let e=this._parser;e.innerHTML=t.join("");let i=Array.prototype.slice.call(e.children);return e.innerHTML="",i}_removeObject(t){this._hitTester.invalidate()}_useLayer(t,e){let s=this.getLayer(t,!0);return s.visible=!0,s.margin=e,s.dirty=!0,s.resize(this._calculatedWidth,this._calculatedHeight),this._applyVisible(s),s}_layerCanvas(t){let e=t;if(!e._canvas){let i=document.createElement("canvas");i.style.position="absolute",i.style.top="0px",i.style.left="0px",i.style.pointerEvents="none",e._canvas=i,this._resizeCanvas(e),this.view.appendChild(i)}return e._canvas}_resizeCanvas(t){let e=t._canvas;e&&(e.width=Math.floor(this._calculatedWidth*this.resolution),e.height=Math.floor(this._calculatedHeight*this.resolution),e.style.width=this._calculatedWidth+"px",e.style.height=this._calculatedHeight+"px")}_measureText(t){let e=this._measureContext,i=t.style,s=t instanceof at&&t.textType=="circular";s&&(t._textReversed=!1),e.save(),e.font=t._getFontStyle(void 0,s?!1:Ti()),i.textAlign&&(e.textAlign=i.textAlign),i.direction&&(e.direction=i.direction),i.textBaseline&&(e.textBaseline=i.textBaseline);let r=t._layoutState(),a=h=>t._getFontStyle(h),n=s?Si(e,t.text,i,a,r):Mi(e,t.text,i,a,r);if(t._applyLayoutState(r),!s&&["truncate","wrap","wrap-no-break"].indexOf(i.oversizedBehavior||"")>-1){let h=t._getFontStyle();w(r.lines,l=>{w(l.textChunks,c=>{if(c.textDecoration=="underline"||c.textDecoration=="line-through"){e.font=c.style||h;let u=ki(c.text,e,i);c.width=u.actualBoundingBoxLeft+u.actualBoundingBoxRight}})})}return e.restore(),t._textBounds=n,n}_margin(){let t={left:0,right:0,top:0,bottom:0};return w(this.layers,e=>{e.margin&&(t.left=Math.max(t.left,e.margin.left),t.right=Math.max(t.right,e.margin.right),t.top=Math.max(t.top,e.margin.top),t.bottom=Math.max(t.bottom,e.margin.bottom))}),t}getEvent(t,e=!0){let i=this.view.getBoundingClientRect(),s=t.clientX||0,r=t.clientY||0,a=this._calculatedWidth/this._realWidth,n=this._calculatedHeight/this._realHeight,h={x:s-i.left,y:r-i.top},l={x:(s-(e?i.left:0))*a,y:(r-(e?i.top:0))*n},c=this._margin();return new di(t,h,l,new DOMRect(-c.left,-c.top,i.width+c.left+c.right,i.height+c.top+c.bottom))}_getHitTarget(t,e,i){if(e.width===0||e.height===0||t.x<e.left||t.x>e.right||t.y<e.top||t.y>e.bottom||!i||!this.view.contains(i))return;let s=this._margin(),r=this.resolution,a=Math.floor((this._calculatedWidth+s.left+s.right)*r),n=Math.floor((this._calculatedHeight+s.top+s.bottom)*r),h=Math.round((t.x-e.left)/e.width*a),l=Math.round((t.y-e.top)/e.height*n);return this._hitTest({x:(h+.5)/r-s.left,y:(l+.5)/r-s.top})||!1}_hitTest(t){if(this._root)return this._hitTester.hit(this._root,this.defaultLayer,t)}getObjectAtPoint(t){let e=this.resolution;return this._hitTest({x:(Math.round(t.x*e)+.5)/e,y:(Math.round(t.y*e)+.5)/e})}removeHovering(t){this._interaction.removeHovering(t)}resetImageArray(){}getCanvas(t,e){let i=new ne(this.resolution),s=i.view;s.style.visibility="hidden",this.view.appendChild(s);try{return i.resize(this._realWidth,this._realHeight,this._calculatedWidth,this._calculatedHeight),w(this.layers,r=>{r.visible&&i._useLayer(r.order,r.margin)}),i.getCanvas(t,e)}finally{this.view.removeChild(s),i.dispose()}}};var Ue=class extends E{constructor(){super(...arguments),this.label=this.children.push(os.new(this._root,{})),this.buttonsContainer=this.children.push(E.new(this._root,{themeTags:["buttons"]})),this.upButton=this.buttonsContainer.children.push(bt.new(this._root,{themeTags:["upbutton"]})),this.downButton=this.buttonsContainer.children.push(bt.new(this._root,{themeTags:["downbutton"]}))}_afterNew(){this.addTag("numericstepper"),this.set("layout",this._root.horizontalLayout),this.label.adapters.add("text",t=>(t&&t.replace(/\D/g,""),t===""&&(t="0"),t)),this.set("background",Yt.new(this._root,{fillOpacity:0,fill:ht(16777215)})),this.buttonsContainer.states._createC("hidden",{opacity:0,visible:!0}),this.events.on("pointerover",()=>{this.buttonsContainer.set("active",!0)}),this.events.on("pointerout",()=>{this.buttonsContainer.set("active",!1)}),this.label.on("text",t=>{if(t){let e=parseFloat(t);isNaN(e)||this.set("value",e)}}),this.upButton.events.on("click",()=>{this.set("value",this.get("value",0)+1)}),this.downButton.events.on("click",()=>{this.set("value",Math.max(0,this.get("value",0)-1))}),super._afterNew()}_updateChildren(){super._updateChildren();let t=this.get("value",0),e=this.label;if(this.isDirty("value")&&e.set("text",t.toString()),this.isDirty("disabled")){let i=this.get("disabled",!1);this.set("interactive",!i),this.upButton.set("interactive",!i),this.downButton.set("interactive",!i),i?(this.label.set("editOn","none"),this.buttonsContainer.hide(0)):(this.label.set("editOn","click"),this.buttonsContainer.show(0))}}};Ue.className="NumericStepper";Ue.classNames=E.classNames.concat([Ue.className]);var Xe=class extends E{constructor(){super(...arguments),this.circle=this.children.push(oe.new(this._root,{themeTags:["background"]})),this.label=this.children.push(Tt.new(this._root,{})),this.slice=this.children.push($i.new(this._root,{isMeasured:!1})),this.backgroundSlice=this.children.push($i.new(this._root,{themeTags:["background"]}))}_afterNew(){this.addTag("progresspie"),super._afterNew()}_updateChildren(){if(super._updateChildren(),this.isDirty("width")||this.isDirty("height")||this.isDirty("radius")||this.isDirty("innerRadius")){let t=this.innerWidth(),e=this.innerHeight(),i=$t(this.get("radius",B),Math.min(t,e)/2),s=$t(this.get("innerRadius",vt(80)),i);this.slice.setAll({radius:i,innerRadius:s}),this.backgroundSlice.setAll({radius:i,innerRadius:s}),this.circle.set("radius",i)}if(this.isDirty("value")){let t=this.get("value",0);this.slice.set("arc",t*360),this.backgroundSlice.set("arc",360),this.label.setAll({text:this.getNumberFormatter().format(t*100,this.get("numberFormat","#'"))}),this.root.events.once("frameended",()=>{this.label.markDirtyKey("text")})}}};Xe.className="ProgressPie";Xe.classNames=E.classNames.concat([Xe.className]);var Jr={};Qr(Jr,{load:()=>Ra,readBlob:()=>Zr});function Ra(o,t,e){return new Promise((i,s)=>{let r=e!=null&&e.responseType=="blob",a=new XMLHttpRequest;if(a.onload=()=>{if(a.status===200){let n,h;if(r){h=a.response,Zr(h).then(c=>{let u={xhr:a,error:!1,response:c,blob:h,type:a.getResponseHeader("Content-Type"),target:t};i(u)},()=>{s({xhr:a,error:!0,blob:h,type:a.getResponseHeader("Content-Type"),target:t})});return}else n=a.responseText||a.response;let l={xhr:a,error:!1,response:n,blob:h,type:a.getResponseHeader("Content-Type"),target:t};i(l)}else s({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:t})},a.onerror=()=>{s({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:t})},a.open("GET",o,!0),e&&e.withCredentials&&(a.withCredentials=!0),e!=null){if(e.requestHeaders!=null)for(let n=0;n<e.requestHeaders.length;n++){let h=e.requestHeaders[n];a.setRequestHeader(h.key,h.value)}e.responseType!=null&&(a.responseType=e.responseType)}a.send()})}function Zr(o){return new Promise((t,e)=>{let i=new FileReader;i.onload=s=>{t(i.result)},i.onerror=s=>{e(s)},i.readAsText(o)})}export{ee as a,Pt as b,kt as c,ie as d,si as e,re as f,ae as g,ne as h,ui as i,Vi as j,Te as k,ke as l,Me as m,oe as n,Se as o,De as p,Ee as q,Ft as r,yt as s,he as t,$e as u,Pe as v,bt as w,Bt as x,Ae as y,Le as z,Ne as A,Fe as B,Be as C,Re as D,ze as E,le as F,ce as G,de as H,Oe as I,He as J,Ie as K,Ge as L,zs as M,Os as N,Hs as O,We as P,Na as Q,Xs as R,Ue as S,Xe as T,Jr as U};
|