@arcgis/map-components 5.0.0-next.130 → 5.0.0-next.131
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/{FCAICPH7.js → 2C5VJ3UG.js} +2 -2
- package/dist/cdn/{FGGGL7JZ.js → 2DBHQE42.js} +2 -2
- package/dist/cdn/2LEB6IXM.js +4 -0
- package/dist/cdn/{KGJJK4MX.js → 2TISPSZX.js} +2 -2
- package/dist/cdn/2VC7GY3G.js +4 -0
- package/dist/cdn/{XD2A3YDH.js → 2VN2LJE2.js} +2 -2
- package/dist/cdn/{WRELT35Q.js → 2WRQZ4IX.js} +2 -2
- package/dist/cdn/{SGSCW5GO.js → 32ARBSL5.js} +2 -2
- package/dist/cdn/{C3LVFBEJ.js → 34DCKHMJ.js} +2 -2
- package/dist/cdn/{6BR7AMA5.js → 3H4L6GXZ.js} +2 -2
- package/dist/cdn/{7WA7UAOC.js → 3TR7SQT2.js} +2 -2
- package/dist/cdn/{KTYT73UZ.js → 3UBZ6ENF.js} +2 -2
- package/dist/cdn/{IJHLOUOX.js → 3WMM4KG7.js} +2 -2
- package/dist/cdn/{KNXUBDBF.js → 443OATXQ.js} +1 -1
- package/dist/cdn/{4N2NKGHJ.js → 45BP34L5.js} +2 -2
- package/dist/cdn/{D4YUZXKC.js → 4HTTPWLB.js} +2 -2
- package/dist/cdn/{UOZYYTGD.js → 4K7JYQAP.js} +2 -2
- package/dist/cdn/{3BKM3VT5.js → 4MG3KXGQ.js} +2 -2
- package/dist/cdn/{VLSTLA2H.js → 4NWZPN7Y.js} +2 -2
- package/dist/cdn/{BUZI5663.js → 4R7HBNTP.js} +2 -2
- package/dist/cdn/{MX6ODMMA.js → 4T7GYED2.js} +2 -2
- package/dist/cdn/{K6NRLFID.js → 54HMINUT.js} +2 -2
- package/dist/cdn/{RNFAOA5L.js → 5JGCW2RB.js} +2 -2
- package/dist/cdn/{DXNGLHQF.js → 5LVGRAPR.js} +2 -2
- package/dist/cdn/{CNCIPLJK.js → 5P3KP7HJ.js} +2 -2
- package/dist/cdn/{QZZYQCPP.js → 5Q6ULNVK.js} +2 -2
- package/dist/cdn/{3UZLNJ3R.js → 5RCRYGGO.js} +2 -2
- package/dist/cdn/{IOCVWQQC.js → 5T7SICOG.js} +2 -2
- package/dist/cdn/{AIGJMWPB.js → 5W7NU7D4.js} +2 -2
- package/dist/cdn/{5IR26FIF.js → 5YLOQIYB.js} +2 -2
- package/dist/cdn/{QDRTEF5Q.js → 6B34635P.js} +2 -2
- package/dist/cdn/{273D4AJG.js → 6DTE5YGG.js} +2 -2
- package/dist/cdn/{7YGXIFRF.js → 6KOI5LAV.js} +2 -2
- package/dist/cdn/{FSK72FS5.js → 6KYFPF3X.js} +2 -2
- package/dist/cdn/{72LM5DRL.js → 6SGOBCZX.js} +2 -2
- package/dist/cdn/{5MH45ZZP.js → 7BOXDTRW.js} +2 -2
- package/dist/cdn/{Z4BTJSZ4.js → 7HGIZ37D.js} +2 -2
- package/dist/cdn/{4SCPNRZI.js → 7INCCGUO.js} +2 -2
- package/dist/cdn/{WVAFY4JZ.js → 7N4IQRHC.js} +2 -2
- package/dist/cdn/{YSR3PO7X.js → 7W7NMNJ4.js} +2 -2
- package/dist/cdn/{7ONWZWKS.js → 7ZK2443S.js} +2 -2
- package/dist/cdn/{7VAC3W2P.js → A35ZI7AY.js} +2 -2
- package/dist/cdn/{OWDP64LW.js → A6B5OK7U.js} +3 -3
- package/dist/cdn/{FWSSW3QO.js → AAQTTYDD.js} +2 -2
- package/dist/cdn/{ALMBTIPD.js → ABMN6RBM.js} +2 -2
- package/dist/cdn/ADDDDSEW.js +4 -0
- package/dist/cdn/{AWYHV4BZ.js → AI2JBIW3.js} +2 -2
- package/dist/cdn/{7KMLMTFB.js → AP7QRPO3.js} +2 -2
- package/dist/cdn/{AI5PFERM.js → AX6M2T3M.js} +2 -2
- package/dist/cdn/{CRVLOAKH.js → B4BVH2BO.js} +2 -2
- package/dist/cdn/{TTWS2PS6.js → BCN4CSVF.js} +2 -2
- package/dist/cdn/{WSPXJA6Z.js → BDBRLY5I.js} +2 -2
- package/dist/cdn/{ZG755LV3.js → BEJUHAES.js} +2 -2
- package/dist/cdn/{LSITS7EL.js → BEPEPSLP.js} +2 -2
- package/dist/cdn/{VEM763B5.js → BKBTWS5E.js} +1 -1
- package/dist/cdn/{6YX4ZDUN.js → BL6GMNZY.js} +2 -2
- package/dist/cdn/{JH65AKBD.js → BLPQ2KPN.js} +1 -1
- package/dist/cdn/{COKBWGPZ.js → BQG665VK.js} +1 -1
- package/dist/cdn/{DWLCKMCT.js → BRZCXHWL.js} +2 -2
- package/dist/cdn/{NHRR24MP.js → BS44G7UG.js} +2 -2
- package/dist/cdn/{AGDS25LT.js → BSU6LBHA.js} +2 -2
- package/dist/cdn/{ABNWMT66.js → BSVAWS4J.js} +2 -2
- package/dist/cdn/{3M64UB7L.js → BWS3TZVY.js} +2 -2
- package/dist/cdn/{MEPPMUGF.js → C2BQUHIP.js} +2 -2
- package/dist/cdn/{FPWFYSG7.js → C5Q3H3V2.js} +2 -2
- package/dist/cdn/{JIS5Z2NQ.js → C7UDQPI4.js} +2 -2
- package/dist/cdn/{OLOLMKUZ.js → CKNDAMVY.js} +2 -2
- package/dist/cdn/{IVI6MMFW.js → COA6JFTT.js} +2 -2
- package/dist/cdn/{LRLQNRT5.js → COQ4YRVI.js} +2 -2
- package/dist/cdn/{WC2IACPD.js → CYGCI626.js} +2 -2
- package/dist/cdn/{MRI5F77C.js → D2WD3RE3.js} +2 -2
- package/dist/cdn/{LDTWY6JP.js → D7BBGDWT.js} +2 -2
- package/dist/cdn/{MOCJSBG3.js → DBWI6WWV.js} +2 -2
- package/dist/cdn/{VS3EU5ZZ.js → DCAKJ5EN.js} +1 -1
- package/dist/cdn/{V77V5UCG.js → DFUMDB56.js} +2 -2
- package/dist/cdn/{DXHLP5T6.js → E2CAY73D.js} +2 -2
- package/dist/cdn/{2YJMTKLY.js → EEUK3GDK.js} +2 -2
- package/dist/cdn/{MLVQMUJT.js → EKLFBLTZ.js} +2 -2
- package/dist/cdn/{3T4GXGYP.js → EPXIQBBI.js} +2 -2
- package/dist/cdn/{5SGGYLCQ.js → ER263LAP.js} +1 -1
- package/dist/cdn/{HVTPD4IS.js → ER55N4CG.js} +2 -2
- package/dist/cdn/{SVX7O643.js → ERGXKKQC.js} +1 -1
- package/dist/cdn/{IMJALWDK.js → ERO3X76H.js} +2 -2
- package/dist/cdn/FA4IDN3L.js +4 -0
- package/dist/cdn/{XZCESP2K.js → FFYPGAC3.js} +2 -2
- package/dist/cdn/{A3QT7FIL.js → FGL4YX5B.js} +2 -2
- package/dist/cdn/{MYBXIUBW.js → FLKOI5RY.js} +2 -2
- package/dist/cdn/{PKRV65YR.js → FTEDE6VC.js} +2 -2
- package/dist/cdn/{ITI4IO7P.js → FWI6QSHG.js} +2 -2
- package/dist/cdn/{2YWAKNQS.js → G57ZYGCU.js} +2 -2
- package/dist/cdn/{WIPYKZM6.js → G6MC7URR.js} +2 -2
- package/dist/cdn/{DMI357UW.js → G7PVZNYR.js} +1 -1
- package/dist/cdn/{EPGAF27U.js → GAKX3B6Q.js} +2 -2
- package/dist/cdn/{ISGRZU5Z.js → GMW327OA.js} +2 -2
- package/dist/cdn/{AWEGJANY.js → GUAEHTUM.js} +2 -2
- package/dist/cdn/{GFCK4IWT.js → GVAW73YJ.js} +2 -2
- package/dist/cdn/{3SNIAF6T.js → GWTFI7DP.js} +2 -2
- package/dist/cdn/{2ZHZV7J4.js → H3TF43Q5.js} +2 -2
- package/dist/cdn/{4O7GUDLV.js → H7A4ZV4Z.js} +2 -2
- package/dist/cdn/{KPIU5U35.js → HEL32WEJ.js} +2 -2
- package/dist/cdn/{2OOAP2JE.js → HEVWYV6B.js} +1 -1
- package/dist/cdn/{A2LWTRKJ.js → HX7VCYEQ.js} +2 -2
- package/dist/cdn/{PFS6ER4B.js → IBQ7K5DY.js} +2 -2
- package/dist/cdn/{AVVV233S.js → IGSZ2J3W.js} +2 -2
- package/dist/cdn/{7UEPKMTJ.js → J5PXZDGZ.js} +2 -2
- package/dist/cdn/{DZ43X3TQ.js → J75TCX33.js} +2 -2
- package/dist/cdn/{OV4T6IER.js → JB2QPJ5J.js} +2 -2
- package/dist/cdn/{IW54VTNI.js → JBUCALOT.js} +2 -2
- package/dist/cdn/{IVSSXCPW.js → JDYVQSV7.js} +2 -2
- package/dist/cdn/{OMFILRTD.js → JEIA3M6K.js} +2 -2
- package/dist/cdn/JNWPPZPY.js +4 -0
- package/dist/cdn/{VK7YTBFE.js → JP32ANXG.js} +2 -2
- package/dist/cdn/{EFC3DCOZ.js → JUU5UNQX.js} +2 -2
- package/dist/cdn/{IAB5G3YO.js → JWQJT4ME.js} +2 -2
- package/dist/cdn/{EP6C2EWS.js → JXPBNAG4.js} +2 -2
- package/dist/cdn/{PCTO7ILU.js → KDUWMAF2.js} +2 -2
- package/dist/cdn/{FMDMGKXF.js → KI3ROXZ2.js} +2 -2
- package/dist/cdn/{W272MLLF.js → KINH3SX6.js} +2 -2
- package/dist/cdn/{ODPE2GUK.js → KLAMRSNT.js} +1 -1
- package/dist/cdn/{ERPWZLG7.js → KLZA47AN.js} +1 -1
- package/dist/cdn/{O7Z6INZW.js → KQOCGMAF.js} +2 -2
- package/dist/cdn/{WSQKTBEP.js → KYMFEX5I.js} +2 -2
- package/dist/cdn/{3OJM66KR.js → L3CU46PP.js} +2 -2
- package/dist/cdn/{MPISCCCU.js → L3SA7VXN.js} +2 -2
- package/dist/cdn/{RM4ORLHN.js → L4C2OC72.js} +2 -2
- package/dist/cdn/{O4GZEW5N.js → L4OB2WYZ.js} +2 -2
- package/dist/cdn/{DGQGFUUV.js → LFFRS34X.js} +2 -2
- package/dist/cdn/{SUICBFYT.js → LFUQYFCU.js} +2 -2
- package/dist/cdn/{MKSKVWCZ.js → LLBPSE3N.js} +2 -2
- package/dist/cdn/{4DOH6ZPJ.js → LLTQWICU.js} +2 -2
- package/dist/cdn/{F6ZJNQWX.js → LOTGLC27.js} +2 -2
- package/dist/cdn/{CUA33WR2.js → LQK7TZID.js} +2 -2
- package/dist/cdn/{F6KRFX4A.js → LRBM6LTD.js} +2 -2
- package/dist/cdn/{JH5IZIET.js → LRER5MCY.js} +2 -2
- package/dist/cdn/{C7NRHQB2.js → LZAJRAFD.js} +2 -2
- package/dist/cdn/{OT57BGSR.js → LZKMCTOE.js} +2 -2
- package/dist/cdn/{WUADODWW.js → M2WZM5GK.js} +2 -2
- package/dist/cdn/{33XP7JV3.js → MIODUDNC.js} +2 -2
- package/dist/cdn/{BU67MYAE.js → MKLF2JV6.js} +2 -2
- package/dist/cdn/{QXO7RO3K.js → MPQMHTFC.js} +2 -2
- package/dist/cdn/{WK2GJDAK.js → MT25O23D.js} +2 -2
- package/dist/cdn/{JYWBKQTJ.js → MV3M5EPC.js} +1 -1
- package/dist/cdn/{MZVZQOHQ.js → MVF4WUDK.js} +2 -2
- package/dist/cdn/{6FB22LRW.js → MVLLWL4Z.js} +2 -2
- package/dist/cdn/{A33TJF6M.js → N3ORCZR5.js} +2 -2
- package/dist/cdn/{QH7QL4AQ.js → NJIUZVJE.js} +2 -2
- package/dist/cdn/{DDGKT3DB.js → NQX5GWS7.js} +2 -2
- package/dist/cdn/{IPKM7UYB.js → NRVCTA7U.js} +1 -1
- package/dist/cdn/{DQ3JZPGQ.js → O2JFXQET.js} +2 -2
- package/dist/cdn/{427XGOFN.js → O5HE776M.js} +2 -2
- package/dist/cdn/{37U5HOMX.js → O66IYENB.js} +2 -2
- package/dist/cdn/{DWTU4UON.js → O6GJGA6X.js} +2 -2
- package/dist/cdn/{KWXQTFJ4.js → OBWWZT6R.js} +2 -2
- package/dist/cdn/{YQJVQ3VX.js → OETUTWFG.js} +2 -2
- package/dist/cdn/{6GNJEACD.js → OI4ZHV3O.js} +2 -2
- package/dist/cdn/{NAJUYU3B.js → OPEOUTUE.js} +2 -2
- package/dist/cdn/{VDTHVJJ6.js → OTYEQFLF.js} +2 -2
- package/dist/cdn/{IECS2DNH.js → OWNDTCI5.js} +2 -2
- package/dist/cdn/{GNYKPRRA.js → OXJ7YEPT.js} +2 -2
- package/dist/cdn/{SYKIB7IV.js → OYN3DOG4.js} +2 -2
- package/dist/cdn/{C5IBIZ5U.js → P42H2UM2.js} +2 -2
- package/dist/cdn/{T7LFIJJ2.js → P6KGNHO5.js} +2 -2
- package/dist/cdn/{3BX4XLKK.js → P7HAC4JP.js} +2 -2
- package/dist/cdn/{EYZM7FGS.js → P7QZXAOB.js} +2 -2
- package/dist/cdn/{4WMLOFQG.js → PAV4YIMG.js} +2 -2
- package/dist/cdn/{2JM6MM7I.js → PBM34OQB.js} +2 -2
- package/dist/cdn/{3KCQF7QZ.js → PQKCF6BP.js} +2 -2
- package/dist/cdn/{6E5SP3OZ.js → PRAXDA4E.js} +2 -2
- package/dist/cdn/{F2TRYFJJ.js → PS5AK2R2.js} +2 -2
- package/dist/cdn/{CQRYC4EX.js → PT6ZLLJ6.js} +2 -2
- package/dist/cdn/{AAL5PSL3.js → PU7CV5TT.js} +2 -2
- package/dist/cdn/{HV6KM4YU.js → PVJCO3S5.js} +2 -2
- package/dist/cdn/{C3TFVAAU.js → PWDQ4HJO.js} +2 -2
- package/dist/cdn/{TZNTDCOI.js → Q4DM2F6L.js} +2 -2
- package/dist/cdn/{CPNIVRMD.js → Q5Y46VLM.js} +2 -2
- package/dist/cdn/{ADEIYQ3M.js → QAS3ANXK.js} +2 -2
- package/dist/cdn/{IZOHSSD2.js → QFCHBSYU.js} +2 -2
- package/dist/cdn/{2DQFZK6K.js → QGTKNCVA.js} +2 -2
- package/dist/cdn/{BQ2LOG35.js → QI2AAPUW.js} +2 -2
- package/dist/cdn/{XC57VMCW.js → QK7RODYW.js} +1 -1
- package/dist/cdn/{VWA4MFVF.js → QO7LPO4K.js} +2 -2
- package/dist/cdn/{L5O7EL7B.js → QR5UMDWS.js} +1 -1
- package/dist/cdn/{VGCM7CZR.js → R23EFELV.js} +2 -2
- package/dist/cdn/{FRUXRTFZ.js → RDEYYO5I.js} +2 -2
- package/dist/cdn/{5RYE2OA7.js → RE3DY44T.js} +2 -2
- package/dist/cdn/{VAIC4HJO.js → RJK75ICG.js} +2 -2
- package/dist/cdn/{GHOGHU52.js → RMCPP7ZJ.js} +2 -2
- package/dist/cdn/{E7GW5SCH.js → RNCQIFCD.js} +2 -2
- package/dist/cdn/{RKSWGCG2.js → RY52JN2S.js} +2 -2
- package/dist/cdn/{3QL2O7EZ.js → S72WB5KG.js} +2 -2
- package/dist/cdn/{EUJYYSUP.js → S7BJ2X54.js} +2 -2
- package/dist/cdn/{EDFXNAPL.js → S7KROTW5.js} +2 -2
- package/dist/cdn/{J3XLB4HW.js → SDOYINI3.js} +2 -2
- package/dist/cdn/{VQ4UN6EY.js → SJCSHGAK.js} +2 -2
- package/dist/cdn/{CMQPNSYA.js → SN75W46F.js} +2 -2
- package/dist/cdn/{MDVO5ICF.js → SOOYEYV5.js} +2 -2
- package/dist/cdn/SUVM3JK7.js +6 -0
- package/dist/cdn/{5FOW6YUQ.js → SVQU7R26.js} +2 -2
- package/dist/cdn/{NGMXUXKU.js → SZDGMWEH.js} +2 -2
- package/dist/cdn/{PVDXCHB6.js → T36I3MWD.js} +2 -2
- package/dist/cdn/{JS4RMDUB.js → T3PAKVKX.js} +2 -2
- package/dist/cdn/{KPHGZRPZ.js → TB3WXEKO.js} +2 -2
- package/dist/cdn/{AT4MLUMV.js → TGG745ZF.js} +2 -2
- package/dist/cdn/{N5PLN6UT.js → TJSOGXWJ.js} +2 -2
- package/dist/cdn/{LOGFVWT7.js → TKEMQN72.js} +2 -2
- package/dist/cdn/{F2D3SQLG.js → TNW4GPDJ.js} +2 -2
- package/dist/cdn/{UCEIQT4G.js → TSP4P3RU.js} +2 -2
- package/dist/cdn/{LLWCHIRZ.js → TWPY27VD.js} +2 -2
- package/dist/cdn/{E7ZKV6QE.js → TYKMZ6TV.js} +2 -2
- package/dist/cdn/{Z4MQNX7M.js → TYWNDCT7.js} +2 -2
- package/dist/cdn/{FTLDE5I3.js → U35ZWYAH.js} +2 -2
- package/dist/cdn/{5RU43IKL.js → UGXKJUII.js} +2 -2
- package/dist/cdn/{OIVM4CDO.js → UO5JQHS6.js} +2 -2
- package/dist/cdn/{7FXLBG7N.js → UQVU47IH.js} +2 -2
- package/dist/cdn/{TB2ZV27X.js → UTWMHHXI.js} +2 -2
- package/dist/cdn/{65PMMGMW.js → UW2LDUW6.js} +2 -2
- package/dist/cdn/{MSE2C7JS.js → UZL46MKF.js} +2 -2
- package/dist/cdn/{M75GS5AF.js → V4QVH6LK.js} +2 -2
- package/dist/cdn/{ZVITYBPH.js → V72TTLFZ.js} +2 -2
- package/dist/cdn/{CJMEQQNN.js → VIIHZLKV.js} +2 -2
- package/dist/cdn/{B7V6YTCV.js → VXA3745K.js} +2 -2
- package/dist/cdn/{P2L35YQE.js → VZYU2EAA.js} +2 -2
- package/dist/cdn/{D2ANKIY2.js → W4MZLZ74.js} +2 -2
- package/dist/cdn/{TOKYQHHC.js → W5STZPQQ.js} +2 -2
- package/dist/cdn/{E5HMAWVU.js → W6S4FI4P.js} +2 -2
- package/dist/cdn/{CZ5BAOYU.js → WBAL5LPS.js} +2 -2
- package/dist/cdn/{SKBFDKL5.js → WBL4EN7M.js} +2 -2
- package/dist/cdn/{UUCU63UO.js → WYDTFU7Y.js} +2 -2
- package/dist/cdn/{IXWCPWIP.js → WYMFVJMY.js} +2 -2
- package/dist/cdn/X376MKWJ.js +4 -0
- package/dist/cdn/{2VY3EJAZ.js → X54JKOHD.js} +2 -2
- package/dist/cdn/{54G64NWE.js → XKFBKSCS.js} +2 -2
- package/dist/cdn/{HKVKJ42P.js → XTCLYQFA.js} +2 -2
- package/dist/cdn/{ZLCNSFM2.js → XU3Y73KT.js} +2 -2
- package/dist/cdn/{EQ7S24XG.js → Y2CQAJAB.js} +2 -2
- package/dist/cdn/{F45242VE.js → YDNLIBON.js} +2 -2
- package/dist/cdn/{JR247NVJ.js → YDYANNAM.js} +2 -2
- package/dist/cdn/{2YW63F3T.js → YFHKIMKI.js} +2 -2
- package/dist/cdn/{VR665NIO.js → YHCUTQBL.js} +2 -2
- package/dist/cdn/{BWDDRHW7.js → YUZPWIOT.js} +1 -1
- package/dist/cdn/{5HQ4DWVB.js → Z3EJ4HHX.js} +2 -2
- package/dist/cdn/{WEAFJJTK.js → Z47EONQ4.js} +2 -2
- package/dist/cdn/{S3EHREUF.js → ZDRHLINL.js} +2 -2
- package/dist/cdn/{GOFETD2T.js → ZH34XN6Y.js} +2 -2
- package/dist/cdn/{XC6RSO2F.js → ZJYRTO36.js} +2 -2
- package/dist/cdn/{DTJG7Z5E.js → ZMSJAK4Y.js} +2 -2
- package/dist/cdn/{MCNXX6R7.js → ZOPRT6UV.js} +1 -1
- package/dist/cdn/{BB5ZQDHA.js → ZSCW5324.js} +2 -2
- package/dist/cdn/{OJQI2BYY.js → ZXTASDYG.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/building-layer-utils.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.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/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +6 -6
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/goTo.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.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/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/time-utils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useCloseEvent.js +1 -1
- package/dist/chunks/useHandles.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/visible-element.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +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-toggle/customElement.d.ts +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-color-select/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-coordinate-conversion/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.d.ts +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 +1 -1
- 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-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +185 -69
- 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-media/chartCommon.d.ts +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +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-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-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.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +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.d.ts +2 -2
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +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.d.ts +15 -11
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +9 -0
- package/dist/components/arcgis-popup/customElement.js +165 -173
- package/dist/components/arcgis-presentation/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +2 -2
- 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-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-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-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +14 -10
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/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-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-size-legacy/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.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/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-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +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-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-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/controllers/uiController.d.ts +37 -0
- package/dist/docs/api.json +54 -12
- package/dist/docs/docs.json +42 -12
- package/dist/docs/vscode.html-custom-data.json +12 -3
- package/dist/docs/web-types.json +29 -16
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +5 -6
- package/dist/cdn/2AID2AMN.js +0 -4
- package/dist/cdn/2ANCSLPH.js +0 -4
- package/dist/cdn/2AVWUMLS.js +0 -4
- package/dist/cdn/2JMO4UUL.js +0 -4
- package/dist/cdn/2NRU6C5W.js +0 -4
- package/dist/cdn/2T353DS2.js +0 -4
- package/dist/cdn/2VP6HPDQ.js +0 -4
- package/dist/cdn/35GEANJV.js +0 -4
- package/dist/cdn/3F7DBEJ6.js +0 -4
- package/dist/cdn/3FP7ZIXX.js +0 -4
- package/dist/cdn/3HMGRYPZ.js +0 -4
- package/dist/cdn/3JPF2IAK.js +0 -4
- package/dist/cdn/3XFIAFKZ.js +0 -4
- package/dist/cdn/45CPYXXN.js +0 -4
- package/dist/cdn/4FHZVNAO.js +0 -4
- package/dist/cdn/4MFNPUNV.js +0 -6
- package/dist/cdn/4NL7IMSH.js +0 -6
- package/dist/cdn/527OITH2.js +0 -4
- package/dist/cdn/5EUUAGUD.js +0 -4
- package/dist/cdn/5GBKYS56.js +0 -4
- package/dist/cdn/5IFEDRJX.js +0 -4
- package/dist/cdn/5P56VO4G.js +0 -4
- package/dist/cdn/5TYG3W24.js +0 -4
- package/dist/cdn/5UIMVHXG.js +0 -4
- package/dist/cdn/675Q76JS.js +0 -4
- package/dist/cdn/6BWH6GTF.js +0 -4
- package/dist/cdn/6I3HCHLH.js +0 -4
- package/dist/cdn/6Q2FIFU5.js +0 -4
- package/dist/cdn/6T5O6DFY.js +0 -4
- package/dist/cdn/6WTJJP5X.js +0 -4
- package/dist/cdn/745V6ZW2.js +0 -4
- package/dist/cdn/772WPN6M.js +0 -4
- package/dist/cdn/7AQISCSV.js +0 -4
- package/dist/cdn/7CZC6NWI.js +0 -4
- package/dist/cdn/7K3WOZ5I.js +0 -4
- package/dist/cdn/7KBGK7W3.js +0 -4
- package/dist/cdn/7VC3ZQBJ.js +0 -4
- package/dist/cdn/ACBREBVI.js +0 -4
- package/dist/cdn/AH7UA2UL.js +0 -4
- package/dist/cdn/AJ6DDLAE.js +0 -4
- package/dist/cdn/AKNSUKND.js +0 -4
- package/dist/cdn/ALR5KUWZ.js +0 -4
- package/dist/cdn/AMK3VFAV.js +0 -4
- package/dist/cdn/AQZLGW4Y.js +0 -4
- package/dist/cdn/ATHC4W3T.js +0 -4
- package/dist/cdn/ATTBMVGW.js +0 -4
- package/dist/cdn/AZES4GML.js +0 -4
- package/dist/cdn/BALZH2UH.js +0 -4
- package/dist/cdn/BOFDKPQC.js +0 -4
- package/dist/cdn/BOIV4JMX.js +0 -4
- package/dist/cdn/BOPDFO6V.js +0 -4
- package/dist/cdn/BS3EL3SK.js +0 -7
- package/dist/cdn/BSVAVTHD.js +0 -4
- package/dist/cdn/BUYOJADS.js +0 -4
- package/dist/cdn/BW4BTOCN.js +0 -4
- package/dist/cdn/BYZOBYOQ.js +0 -4
- package/dist/cdn/C5DLIWR5.js +0 -4
- package/dist/cdn/CACDCHCP.js +0 -4
- package/dist/cdn/CETC2NXI.js +0 -4
- package/dist/cdn/CJOQ2KCY.js +0 -4
- package/dist/cdn/CKNALZP6.js +0 -4
- package/dist/cdn/CMPJ7JMB.js +0 -4
- package/dist/cdn/CR7CIM7G.js +0 -4
- package/dist/cdn/CSP35IEW.js +0 -4
- package/dist/cdn/CUYRIK4A.js +0 -4
- package/dist/cdn/CYUQ74J5.js +0 -4
- package/dist/cdn/DBJJRWFJ.js +0 -4
- package/dist/cdn/DCK2DQNY.js +0 -4
- package/dist/cdn/DD3YIW7O.js +0 -4
- package/dist/cdn/DFKN7FEE.js +0 -4
- package/dist/cdn/DIYR75LY.js +0 -4
- package/dist/cdn/DKRIDNXA.js +0 -4
- package/dist/cdn/DM2L2PRZ.js +0 -4
- package/dist/cdn/DO7TTWPD.js +0 -4
- package/dist/cdn/DOIUEIGU.js +0 -4
- package/dist/cdn/DTTBU2P4.js +0 -4
- package/dist/cdn/DVI2MQV4.js +0 -4
- package/dist/cdn/DWKYDKPK.js +0 -4
- package/dist/cdn/DX3M2PYU.js +0 -4
- package/dist/cdn/E5ELL3W7.js +0 -4
- package/dist/cdn/EBYILFVY.js +0 -4
- package/dist/cdn/EIK3PDQC.js +0 -4
- package/dist/cdn/EM2HIOSU.js +0 -4
- package/dist/cdn/EYNI2NVI.js +0 -4
- package/dist/cdn/F5MGLUXW.js +0 -4
- package/dist/cdn/FALL5DZP.js +0 -4
- package/dist/cdn/FGEJEDTP.js +0 -4
- package/dist/cdn/FJO4Q2W6.js +0 -4
- package/dist/cdn/FPH3W2XL.js +0 -4
- package/dist/cdn/FRTNYXTW.js +0 -4
- package/dist/cdn/FTSVRD7A.js +0 -4
- package/dist/cdn/G5TO7IYJ.js +0 -4
- package/dist/cdn/G732K5NF.js +0 -4
- package/dist/cdn/G7V6CZUX.js +0 -4
- package/dist/cdn/GAZKUNPI.js +0 -4
- package/dist/cdn/GCFW7D7D.js +0 -6
- package/dist/cdn/GEQEBMKV.js +0 -4
- package/dist/cdn/GLCIILHU.js +0 -4
- package/dist/cdn/GLS7FBTL.js +0 -4
- package/dist/cdn/GNMWO5AA.js +0 -4
- package/dist/cdn/GNQAU3VN.js +0 -4
- package/dist/cdn/GQW3WPT7.js +0 -4
- package/dist/cdn/GSFHCVO2.js +0 -4
- package/dist/cdn/GW537WSS.js +0 -4
- package/dist/cdn/GXALHFJS.js +0 -4
- package/dist/cdn/GYZLDBC6.js +0 -4
- package/dist/cdn/H4DKKKGV.js +0 -4
- package/dist/cdn/HE4BZPVL.js +0 -4
- package/dist/cdn/HHIMVBAS.js +0 -4
- package/dist/cdn/HP4DOUG5.js +0 -4
- package/dist/cdn/HQ6COFFX.js +0 -4
- package/dist/cdn/HTDLVWNF.js +0 -4
- package/dist/cdn/I5QFGTVY.js +0 -4
- package/dist/cdn/I6BALCDI.js +0 -4
- package/dist/cdn/IAFLASFL.js +0 -4
- package/dist/cdn/ICX7XVLG.js +0 -4
- package/dist/cdn/II3BKDEH.js +0 -4
- package/dist/cdn/IRRX3KQC.js +0 -4
- package/dist/cdn/IUOJJTVH.js +0 -4
- package/dist/cdn/IVUVP6KI.js +0 -4
- package/dist/cdn/J4UELN2R.js +0 -4
- package/dist/cdn/JAI4U4W3.js +0 -4
- package/dist/cdn/JAQNOXW5.js +0 -4
- package/dist/cdn/JCRIURMY.js +0 -4
- package/dist/cdn/JH2MXNAO.js +0 -4
- package/dist/cdn/JIEVUE5O.js +0 -4
- package/dist/cdn/JM2QSUQC.js +0 -4
- package/dist/cdn/JPJAP6T6.js +0 -4
- package/dist/cdn/JSAOU5DI.js +0 -4
- package/dist/cdn/JX3ZRFWF.js +0 -4
- package/dist/cdn/JXCWNLZ4.js +0 -4
- package/dist/cdn/K3PL6GI7.js +0 -4
- package/dist/cdn/K7ABUMMP.js +0 -4
- package/dist/cdn/KDEOG7C6.js +0 -4
- package/dist/cdn/KEI6U6BE.js +0 -9
- package/dist/cdn/KRS5CHH4.js +0 -4
- package/dist/cdn/KU4VODZN.js +0 -4
- package/dist/cdn/LDFIYQX3.js +0 -4
- package/dist/cdn/LEUQKSUM.js +0 -4
- package/dist/cdn/LFOXG4FC.js +0 -4
- package/dist/cdn/LI5D7EOF.js +0 -4
- package/dist/cdn/LIFZ2FQ2.js +0 -4
- package/dist/cdn/LJ5BLABA.js +0 -4
- package/dist/cdn/LN5FSVZP.js +0 -4
- package/dist/cdn/LRLGHGC4.js +0 -4
- package/dist/cdn/LRSCHWRC.js +0 -4
- package/dist/cdn/LTAIHMKS.js +0 -4
- package/dist/cdn/MDMK4RTS.js +0 -4
- package/dist/cdn/MMBFGEVV.js +0 -4
- package/dist/cdn/MOLXOMTK.js +0 -4
- package/dist/cdn/MX2YUSYL.js +0 -4
- package/dist/cdn/N7CADSRF.js +0 -4
- package/dist/cdn/NA2CWZRF.js +0 -4
- package/dist/cdn/NEMDQHJ6.js +0 -6
- package/dist/cdn/NFPMOMSA.js +0 -4
- package/dist/cdn/NFVHEJGV.js +0 -4
- package/dist/cdn/NPFQEPIY.js +0 -4
- package/dist/cdn/NS33QZ44.js +0 -4
- package/dist/cdn/NSDQVAT5.js +0 -4
- package/dist/cdn/NYWQO3ST.js +0 -4
- package/dist/cdn/NZJO6SAA.js +0 -4
- package/dist/cdn/OCBV37BE.js +0 -4
- package/dist/cdn/ONTVLJMD.js +0 -4
- package/dist/cdn/OQDXG7M5.js +0 -4
- package/dist/cdn/OTJWNOST.js +0 -4
- package/dist/cdn/P5OHTG2S.js +0 -4
- package/dist/cdn/PAMVJKTH.js +0 -4
- package/dist/cdn/PHNJRVCS.js +0 -4
- package/dist/cdn/PHQ3QSLQ.js +0 -4
- package/dist/cdn/PLM4MUST.js +0 -4
- package/dist/cdn/PM3QUUFM.js +0 -4
- package/dist/cdn/PNMO2T34.js +0 -4
- package/dist/cdn/Q5JRSFMS.js +0 -4
- package/dist/cdn/QJVQZZBV.js +0 -4
- package/dist/cdn/QL5K267J.js +0 -4
- package/dist/cdn/QUIXF6QU.js +0 -4
- package/dist/cdn/QUPKA5OZ.js +0 -4
- package/dist/cdn/RBWUBXHS.js +0 -4
- package/dist/cdn/ROO72ZFZ.js +0 -4
- package/dist/cdn/RRXKIUZM.js +0 -4
- package/dist/cdn/RS2PY2TJ.js +0 -4
- package/dist/cdn/RTFJQUU7.js +0 -4
- package/dist/cdn/S5SITQKN.js +0 -4
- package/dist/cdn/SAHGR4TF.js +0 -4
- package/dist/cdn/SCY3YC64.js +0 -4
- package/dist/cdn/SCZ2VKBO.js +0 -4
- package/dist/cdn/SFKMLSTD.js +0 -4
- package/dist/cdn/SLMC2I6A.js +0 -4
- package/dist/cdn/SMFQANNS.js +0 -4
- package/dist/cdn/SMMKPEGO.js +0 -4
- package/dist/cdn/SRV2UMYX.js +0 -4
- package/dist/cdn/SSPQFAFV.js +0 -4
- package/dist/cdn/T3FD3PCO.js +0 -4
- package/dist/cdn/T44CKC77.js +0 -4
- package/dist/cdn/T55Q2EJZ.js +0 -4
- package/dist/cdn/TASHP363.js +0 -4
- package/dist/cdn/TIGFA3AQ.js +0 -4
- package/dist/cdn/TJ45NBEA.js +0 -4
- package/dist/cdn/TJOUJGRS.js +0 -4
- package/dist/cdn/TN4NPOEU.js +0 -4
- package/dist/cdn/TRDLU6LC.js +0 -4
- package/dist/cdn/TS5KSXFW.js +0 -4
- package/dist/cdn/U5QNICVO.js +0 -4
- package/dist/cdn/UM7FG7CW.js +0 -4
- package/dist/cdn/UNAM2JGV.js +0 -4
- package/dist/cdn/UUBJOPGX.js +0 -4
- package/dist/cdn/UUJHO5RH.js +0 -4
- package/dist/cdn/UURSI6QQ.js +0 -4
- package/dist/cdn/VF3M3TCT.js +0 -4
- package/dist/cdn/VHHK5XYE.js +0 -4
- package/dist/cdn/VJZ4KQNL.js +0 -4
- package/dist/cdn/VLCUE2RT.js +0 -4
- package/dist/cdn/VLDDF2XX.js +0 -4
- package/dist/cdn/VLHENMRM.js +0 -4
- package/dist/cdn/VPEEPQOX.js +0 -4
- package/dist/cdn/VSWDQ6HM.js +0 -4
- package/dist/cdn/VTJFOMJL.js +0 -4
- package/dist/cdn/VUTTSDU2.js +0 -4
- package/dist/cdn/VUU5TUV4.js +0 -4
- package/dist/cdn/VXSAR3OF.js +0 -4
- package/dist/cdn/WAI4G5S6.js +0 -4
- package/dist/cdn/WCG3HME6.js +0 -4
- package/dist/cdn/WHRAJOTL.js +0 -4
- package/dist/cdn/WISAEQEK.js +0 -4
- package/dist/cdn/WKDQ5IJZ.js +0 -4
- package/dist/cdn/WN55E2EW.js +0 -4
- package/dist/cdn/WPG37TFI.js +0 -4
- package/dist/cdn/WS5ADWFR.js +0 -4
- package/dist/cdn/WSNLZSDI.js +0 -4
- package/dist/cdn/WT3MYQZS.js +0 -4
- package/dist/cdn/WUBGBZRQ.js +0 -4
- package/dist/cdn/WWU3WIMM.js +0 -4
- package/dist/cdn/WXGZYK4Q.js +0 -4
- package/dist/cdn/WZEVKDCQ.js +0 -4
- package/dist/cdn/WZLD4MDO.js +0 -4
- package/dist/cdn/X3AFSS4U.js +0 -4
- package/dist/cdn/X5VGOWPX.js +0 -4
- package/dist/cdn/X7UZE2MJ.js +0 -4
- package/dist/cdn/XBNC4MV3.js +0 -5
- package/dist/cdn/XFVAYP46.js +0 -4
- package/dist/cdn/XHOG35NQ.js +0 -4
- package/dist/cdn/XIQYF52R.js +0 -4
- package/dist/cdn/XIW4IAXD.js +0 -4
- package/dist/cdn/XJA7WIKJ.js +0 -4
- package/dist/cdn/XK5XVCRB.js +0 -4
- package/dist/cdn/XKS4QVFB.js +0 -4
- package/dist/cdn/XLMACWT5.js +0 -4
- package/dist/cdn/YAURMK6Q.js +0 -4
- package/dist/cdn/YCRY57UJ.js +0 -4
- package/dist/cdn/YHYWIITC.js +0 -4
- package/dist/cdn/YRDUYWFM.js +0 -4
- package/dist/cdn/YXW3WN3G.js +0 -4
- package/dist/cdn/ZAV7YJGS.js +0 -4
- package/dist/cdn/ZH3T3HHW.js +0 -4
- package/dist/cdn/ZMPHRP7L.js +0 -4
- package/dist/cdn/ZMZKPKGF.js +0 -4
package/dist/cdn/NEMDQHJ6.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.127 */
|
|
4
|
-
import{a as Oe,b as Be,c as fi,d as Yt}from"./RTFJQUU7.js";import{a as It}from"./54G64NWE.js";import{A as W,C as li,E as j,F as Pe,H as ui,I as hi,J as ci,K as J,L as gr,M as k,N as di,O as se,Q as yr,c as _e,da as Ht,e as Ue,h as U,i as ve,k as we,l as dr,m as fr,o as kt,r as pr,s as mr,u as $e,y as E,z as Rt}from"./ZMZKPKGF.js";import{A as Xe,B as ri,C as si,D as nr,E as ai,F as ni,G as or,H as lr,I as ur,J as Pt,K as Ot,L as hr,N as X,Q as K,R as $,V as oi,c as Qi,d as M,e as Lt,f as de,h as Nt,i as er,j as zt,l as xt,m as tr,n as ii,o as ir,p as je,q as ye,r as rr,s as I,t as sr,u as Ee,v as ar,w as F,x as Ft}from"./MYBXIUBW.js";import{a as q,b as be,d as A,e as Ce,f as ei}from"./KNXUBDBF.js";import{C as We,E as ue,G as qi,H as Y,I as Ki,K as Ji,L as he,M as ti,N as ce,P as wt,Q as cr,R as br,U as xe,b as V,d as Vi,f as le,g as S,h as Se,i as gt,j as ge,k as De,m as Xi,n as Ui,o as w,q as yt,r as Me,s as _t,t as Zi,u as vt,v as Ge}from"./CQRYC4EX.js";import{a as jr}from"./7CZC6NWI.js";var pi=class{constructor(){Object.defineProperty(this,"_observer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_targets",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this._observer=new ResizeObserver(e=>{w(e,t=>{w(this._targets,i=>{i.target===t.target&&i.callback()})})})}addTarget(e,t){this._observer.observe(e,{box:"border-box"}),this._targets.push({target:e,callback:t})}removeTarget(e){this._observer.unobserve(e),We(this._targets,t=>t.target!==e)}},Wt=class b{constructor(){Object.defineProperty(this,"_timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_targets",{enumerable:!0,configurable:!0,writable:!0,value:[]})}addTarget(e,t){if(this._timer===null){let r=null,s=()=>{let a=Date.now();(r===null||a>r+b.delay)&&(r=a,w(this._targets,n=>{let o=n.target.getBoundingClientRect();(o.width!==n.size.width||o.height!==n.size.height)&&(n.size=o,n.callback())})),this._targets.length===0?this._timer=null:this._timer=requestAnimationFrame(s)};this._timer=requestAnimationFrame(s)}let i={width:0,height:0,left:0,right:0,top:0,bottom:0,x:0,y:0};this._targets.push({target:e,callback:t,size:i})}removeTarget(e){We(this._targets,t=>t.target!==e),this._targets.length===0&&this._timer!==null&&(cancelAnimationFrame(this._timer),this._timer=null)}};Object.defineProperty(Wt,"delay",{enumerable:!0,configurable:!0,writable:!0,value:200});var Gt=null;function Er(){return Gt===null&&(typeof ResizeObserver<"u"?Gt=new pi:Gt=new Wt),Gt}var Vt=class{constructor(e,t){Object.defineProperty(this,"_sensor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_listener",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),this._sensor=Er(),this._element=e,this._listener=Lt(t),this._sensor.addTarget(e,t)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element),this._listener.dispose())}get sensor(){return this._sensor}};var Ae=class extends E{};Object.defineProperty(Ae,"className",{enumerable:!0,configurable:!0,writable:!0,value:"InterfaceColors"});Object.defineProperty(Ae,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:E.classNames.concat([Ae.className])});var fe=class extends j{_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 e=this.width(),t=this.height();if(e>0&&t>0){let i=this.get("cornerRadius",8);i=U(i,0,Math.min(e/2,t/2));let r=this.get("pointerX",0),s=this.get("pointerY",0),a=this.get("pointerBaseWidth",15)/2,n=0,o=0,c=e,m=0,u=e,h=t,l=0,p=t,g=(r-n)*(h-o)-(s-o)*(u-n),d=(r-l)*(m-p)-(s-p)*(c-l),f=this._display;if(f.moveTo(i,0),g>0&&d>0){let v=Math.round(U(r,i+a,e-a-i));s=U(s,-1/0,0),f.lineTo(v-a,0),f.lineTo(r,s),f.lineTo(v+a,0)}if(f.lineTo(e-i,0),f.arcTo(e,0,e,i,i),g>0&&d<0){let v=Math.round(U(s,i+a,t-a-i));r=U(r,e,1/0),f.lineTo(e,i),f.lineTo(e,Math.max(v-a,i)),f.lineTo(r,s),f.lineTo(e,v+a)}if(f.lineTo(e,t-i),f.arcTo(e,t,e-i,t,i),g<0&&d<0){let v=Math.round(U(r,i+a,e-a-i));s=U(s,t,1/0),f.lineTo(e-i,t),f.lineTo(v+a,t),f.lineTo(r,s),f.lineTo(v-a,t)}if(f.lineTo(i,t),f.arcTo(0,t,0,t-i,i),g<0&&d>0){let v=Math.round(U(s,i+a,t-i-a));r=U(r,-1/0,0),f.lineTo(0,t-i),f.lineTo(0,v+a),f.lineTo(r,s),f.lineTo(0,Math.max(v-a,i))}f.lineTo(0,i),f.arcTo(0,0,i,0,i),f.closePath()}}}};Object.defineProperty(fe,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PointedRectangle"});Object.defineProperty(fe,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([fe.className])});var ae=class extends k{constructor(e,t,i,r=[]){super(e,t,i,r),Object.defineProperty(this,"_fx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_fy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_label",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fillDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fillGrDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_labelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_w",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_h",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_keepHoverDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_htmlContentHovered",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_afterNew(){this._settings.themeTags=X(this._settings.themeTags,["tooltip"]),super._afterNew(),this._setDefaultFn("background",()=>fe.new(this._root,{})).set("themeTags",["tooltip","background"]),this._label=this.children.push(se.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(M(t,"pointerover",i=>{this._htmlContentHovered=!0})),this._disposers.push(M(t,"pointerout",i=>{this._htmlContentHovered=!1})))})),this.on("visible",t=>{this._handleReaderAnnouncement()}),this.label.events.on("dataitemchanged",t=>{this._handleReaderAnnouncement()}),this._root._tooltips.push(this)}_handleReaderAnnouncement(){this.get("readerAnnounce")&&this.isVisibleDeep()&&this._root.readerAlert(this.label.getAccessibleText())}get label(){return this._label}_dispose(){super._dispose(),Me(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 t=this.get("background");this._keepHoverDp=new ce([t.events.on("pointerover",i=>{let r=this.get("tooltipTarget");r&&(r.parent&&r.parent.getPrivate("tooltipTarget")==r&&(r=r.parent),r.hover())}),t.events.on("pointerout",i=>{let r=this.get("tooltipTarget");r&&(r.parent&&r.parent.getPrivate("tooltipTarget")==r&&(r=r.parent),this._htmlContentHovered||r.unhover())})]),this.label.onPrivate("htmlElement",i=>{this._keepHoverDp&&i&&this._keepHoverDp.disposers.push(M(i,"pointerleave",r=>{let s=this.root._renderer.getEvent(r);t.events.dispatch("pointerout",{type:"pointerout",originalEvent:s.event,point:s.point,simulated:!1,target:t})}))})}else this._keepHoverDp&&(this._keepHoverDp.dispose(),this._keepHoverDp=void 0)}_onShow(){super._onShow(),this.updateBackgroundColor()}updateBackgroundColor(){let e=this.get("tooltipTarget"),t=this.get("background"),i,r;if(e&&t){if(i=e.get("fill"),r=e.get("stroke"),i==null&&(i=r),this.get("getFillFromSprite")&&(this._fillDp&&this._fillDp.dispose(),i!=null&&t.set("fill",i),this._fillDp=e.on("fill",s=>{s!=null&&(t.set("fill",s),this._updateTextColor(s))}),this._disposers.push(this._fillDp)),this.get("getFillGradientFromSprite")){this._fillGrDp&&this._fillGrDp.dispose();let s=e.get("fillGradient");s!=null&&t.set("fillGradient",s),this._fillGrDp=e.on("fillGradient",a=>{a!=null&&t.set("fillGradient",a)}),this._disposers.push(this._fillGrDp)}this.get("getStrokeFromSprite")&&(this._strokeDp&&this._strokeDp.dispose(),i!=null&&t.set("stroke",i),this._strokeDp=e.on("fill",s=>{s!=null&&t.set("stroke",s)}),this._disposers.push(this._strokeDp)),this.get("getLabelFillFromSprite")&&(this._labelDp&&this._labelDp.dispose(),i!=null&&this.label.set("fill",i),this._labelDp=e.on("fill",s=>{s!=null&&this.label.set("fill",s)}),this._disposers.push(this._labelDp))}this._updateTextColor(i)}_updateTextColor(e){this.get("autoTextColor")&&(e==null&&(e=this.get("background").get("fill")),e==null&&(e=this._root.interfaceColors.get("background")),e instanceof $&&this.label.set("fill",$.alternative(e,this._root.interfaceColors.get("alternativeText"),this._root.interfaceColors.get("text"))))}_setDataItem(e){super._setDataItem(e),this.label._setDataItem(e)}_updateBackground(){super.updateBackground();let e=this._root.container;if(e){let t=.5,i=.5,r=this.get("centerX");r instanceof q&&(t=r.value);let s=this.get("centerY");s instanceof q&&(i=s.value);let a=e.width(),n=e.height(),o=this.parent,c=0,m=0;if(o){c=o.x(),m=o.y();let T=o.get("layerMargin");T&&(c+=T.left||0,m+=T.top||0,a+=(T.left||0)+(T.right||0),n+=(T.top||0)+(T.bottom||0))}let u=this.get("bounds",{left:-c,top:-m,right:a-c,bottom:n-m});this._updateBounds();let h=this.width(),l=this.height();h===0&&(h=this._w),l===0&&(l=this._h);let p=this.get("pointTo",{x:a/2,y:n/2}),g=p.x,d=p.y,f=this.get("pointerOrientation"),v=this.get("background"),_=0,y=0,x=0;v instanceof fe&&(_=v.get("pointerLength",0),y=v.get("strokeWidth",0)/2,x=y,v.set("width",h),v.set("height",l));let O=0,P=0,D=u.right-u.left,z=u.bottom-u.top;f=="horizontal"||f=="left"||f=="right"?(y=0,f=="horizontal"?g>u.left+D/2?(g-=h*(1-t)+_,x*=-1):g+=h*t+_:f=="left"?g+=h*(1-t)+_:(g-=h*t+_,x*=-1)):(x=0,f=="vertical"?d>u.top+l/2+_?d-=l*(1-i)+_:(d+=l*i+_,y*=-1):f=="down"?d-=l*(1-i)+_:(d+=l*i+_,y*=-1)),g=U(g,u.left+h*t,u.left+D-h*(1-t))+x,d=U(d,u.top+l*i,u.top+z-l*(1-i))-y,O=p.x-g+h*t+x,P=p.y-d+l*i-y,this._fx=g,this._fy=d;let C=this.get("animationDuration",0);if(C>0&&this.get("visible")&&this.get("opacity")>.1){let T=this.get("animationEasing");this.animate({key:"x",to:g,duration:C,easing:T}),this.animate({key:"y",to:d,duration:C,easing:T})}else this.set("x",g),this.set("y",d);v instanceof fe&&(v.set("pointerX",O),v.set("pointerY",P)),h>0&&(this._w=h),l>0&&(this._h=l)}}};Object.defineProperty(ae,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Tooltip"});Object.defineProperty(ae,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([ae.className])});var Tt=class extends E{_setDefaults(){this._setDefault("negativeBase",0),this._setDefault("numberFormat","#,###.#####"),this._setDefault("smallNumberThreshold",1);let e="_big_number_suffix_",t="_small_number_suffix_",i="_byte_suffix_";this._setDefault("bigNumberPrefixes",[{number:1e3,suffix:this._t(e+"3")},{number:1e6,suffix:this._t(e+"6")},{number:1e9,suffix:this._t(e+"9")},{number:1e12,suffix:this._t(e+"12")},{number:1e15,suffix:this._t(e+"15")},{number:1e18,suffix:this._t(e+"18")},{number:1e21,suffix:this._t(e+"21")},{number:1e24,suffix:this._t(e+"24")}]),this._setDefault("smallNumberPrefixes",[{number:1e-24,suffix:this._t(t+"24")},{number:1e-21,suffix:this._t(t+"21")},{number:1e-18,suffix:this._t(t+"18")},{number:1e-15,suffix:this._t(t+"15")},{number:1e-12,suffix:this._t(t+"12")},{number:1e-9,suffix:this._t(t+"9")},{number:1e-6,suffix:this._t(t+"6")},{number:.001,suffix:this._t(t+"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(e,t,i){(t==null||le(t)&&t.toLowerCase()==="number")&&(t=this.get("numberFormat",""));let r,s=Number(e);if(Se(t))try{return this.get("intlLocales")?new Intl.NumberFormat(this.get("intlLocales"),t).format(s):new Intl.NumberFormat(void 0,t).format(s)}catch{return"Invalid"}else{t=Xe(t);let a=this.parseFormat(t,this._root.language),n;s>this.get("negativeBase")?n=a.positive:s<this.get("negativeBase")?n=a.negative:n=a.zero,i!=null&&!n.mod&&(n=qi(n),n.decimals.active=s==0?0:i),r=n.template.split(ge).join(this.applyFormat(s,n))}return this.get("forceLTR")===!0&&(r="\u200E"+r),r}parseFormat(e,t){let i=t.translateEmpty("_thousandSeparator"),r=t.translateEmpty("_decimalSeparator"),s={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:r},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:r},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:r},template:"",source:"",parsed:!1}};e=e.replace("||",De);let a=e.split("|");return s.positive.source=a[0],typeof a[2]>"u"?s.zero=s.positive:s.zero.source=a[2],typeof a[1]>"u"?s.negative=s.positive:s.negative.source=a[1],Y(s,(n,o)=>{if(o.parsed)return;let c=o.source;c.toLowerCase()==="number"&&(c=this.get("numberFormat","#,###.#####"));let m=J.chunk(c,!0);for(let u=0;u<m.length;u++){let h=m[u];if(h.text=h.text.replace(De,"|"),h.type==="value"){let l=h.text.match(/[#0.,]+[ ]?[abespABESP%!]?[abespABESP‰!]?/);if(l)if(l===null||l[0]==="")o.template+=h.text;else{let p=l[0].match(/[abespABESP%‰!]{2}|[abespABESP%‰]{1}$/);p&&(o.mod=p[0].toLowerCase(),o.modSpacing=!!l[0].match(/[ ]{1}[abespABESP%‰!]{1}$/));let g=l[0].split(".");if(g[0]!==""){o.thousands.active=(g[0].match(/0/g)||[]).length,o.thousands.passive=(g[0].match(/\#/g)||[]).length+o.thousands.active;let d=g[0].split(",");d.length===1||(o.thousands.interval=(d.pop()||"").length,o.thousands.interval===0&&(o.thousands.interval=-1))}typeof g[1]>"u"||(o.decimals.active=(g[1].match(/0/g)||[]).length,o.decimals.passive=(g[1].match(/\#/g)||[]).length+o.decimals.active),o.template+=h.text.split(l[0]).join(ge)}}else o.template+=h.text}o.parsed=!0}),s}applyFormat(e,t){let i=e<0;e=Math.abs(e);let r="",s="",a=t.mod?t.mod.split(""):[];if(a.indexOf("b")!==-1){let u=this.applyPrefix(e,this.get("bytePrefixes"),a.indexOf("!")!==-1);e=u[0],r=u[1],s=u[2],t.modSpacing&&(s=" "+s)}else if(a.indexOf("a")!==-1){let u=this.applyPrefix(e,e<this.get("smallNumberThreshold")?this.get("smallNumberPrefixes"):this.get("bigNumberPrefixes"),a.indexOf("!")!==-1);e=u[0],r=u[1],s=u[2],t.modSpacing&&(s=" "+s)}else if(a.indexOf("p")!==-1){let u=Math.min(e.toString().length+2,21);e=parseFloat(e.toPrecision(u)),r=this._root.language.translate("_percentPrefix"),s=this._root.language.translate("_percentSuffix"),r==""&&s==""&&(s="%")}else if(a.indexOf("%")!==-1){let u=Math.min(e.toString().length+2,21);e*=100,e=parseFloat(e.toPrecision(u)),s="%"}else if(a.indexOf("\u2030")!==-1){let u=Math.min(e.toString().length+3,21);e*=1e3,e=parseFloat(e.toPrecision(u)),s="\u2030"}if(a.indexOf("e")!==-1){let u;t.decimals.passive>=0?u=e.toExponential(t.decimals.passive).split("e"):u=e.toExponential().split("e"),e=Number(u[0]),s="e"+u[1],t.modSpacing&&(s=" "+s)}else if(t.decimals.passive===0)e=Math.round(e);else if(t.decimals.passive>0){let u=ar(e);if(u>0){let h=Math.pow(10,t.decimals.passive);e=Math.round(parseFloat((e*h).toFixed(u)))/h}}let n="",o=Vi(e).split("."),c=o[0];if(c.length<t.thousands.active&&(c=Array(t.thousands.active-c.length+1).join("0")+c),t.thousands.interval>0){let u=[],h=c.split("").reverse().join("");for(let l=0,p=c.length;l<=p;l+=t.thousands.interval){let g=h.substr(l,t.thousands.interval).split("").reverse().join("");g!==""&&u.unshift(g)}c=u.join(t.thousands.separator)}n+=c,o.length===1&&o.push("");let m=o[1];return m.length<t.decimals.active&&(m+=Array(t.decimals.active-m.length+1).join("0")),m!==""&&(n+=t.decimals.separator+m),n===""&&(n="0"),e!==0&&i&&a.indexOf("s")===-1&&(n="-"+n),r&&(n=r+n),s&&(n+=s),n}applyPrefix(e,t,i=!1){let r=e,s="",a="",n=!1,o=1;for(let c=0,m=t.length;c<m;c++)t[c].number<=e&&(t[c].number===0?r=0:(r=e/t[c].number,o=t[c].number),s=t[c].prefix,a=t[c].suffix,n=!0);return!n&&i&&t.length&&e!=0&&(r=e/t[0].number,s=t[0].prefix,a=t[0].suffix,n=!0),n&&(r=parseFloat(r.toPrecision(Math.min(o.toString().length+Math.floor(r).toString().replace(/[^0-9]*/g,"").length,21)))),[r,s,a]}escape(e){return e.replace("||",De)}unescape(e){return e.replace(De,"|")}};function vr(b,e){let t=0,i=0,r=1,s=0,a=0,n=0,o=0,c=0;return b.formatToParts(e).forEach(m=>{switch(m.type){case"year":t=+m.value;break;case"month":i=+m.value-1;break;case"day":r=+m.value;break;case"hour":s=+m.value;break;case"minute":a=+m.value;break;case"second":n=+m.value;break;case"fractionalSecond":o=+m.value;break;case"weekday":switch(m.value){case"Sun":c=0;break;case"Mon":c=1;break;case"Tue":c=2;break;case"Wed":c=3;break;case"Thu":c=4;break;case"Fri":c=5;break;case"Sat":c=6;break}}}),s===24&&(s=0),{year:t,month:i,day:r,hour:s,minute:a,second:n,millisecond:o,weekday:c}}function _r(b,e){let{year:t,month:i,day:r,hour:s,minute:a,second:n,millisecond:o}=vr(b,e);return Date.UTC(t,i,r,s,a,n,o)}var Ct=class{constructor(e,t){if(Object.defineProperty(this,"_utc",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dtf",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this.name=e,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:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3})}static new(e){return new this(e,!0)}convertLocal(e){let t=this.offsetUTC(e),i=e.getTimezoneOffset(),r=new Date(e);r.setUTCMinutes(r.getUTCMinutes()-(t-i));let s=r.getTimezoneOffset();return i!=s&&r.setUTCMinutes(r.getUTCMinutes()+s-i),r}offsetUTC(e){let t=_r(this._utc,e),i=_r(this._dtf,e);return(t-i)/6e4}parseDate(e){return vr(this._dtf,e)}};var St=class extends E{_setDefaults(){this._setDefault("capitalize",!0),this._setDefault("dateFormat","yyyy-MM-dd"),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(e,t,i=!1){(typeof t>"u"||t==="")&&(t=this.get("dateFormat","yyyy-MM-dd"));let r,s=e;if(Se(t))try{let c=this.get("intlLocales");return c?new Intl.DateTimeFormat(c,t).format(s):new Intl.DateTimeFormat(void 0,t).format(s)}catch{return"Invalid"}let a=this.parseFormat(t),n=this._root.timezone,o=s;return n&&!this._root.utc&&!i&&(s=n.convertLocal(s)),S(s.getTime())?(r=this.applyFormat(s,a,i,o),this.get("capitalize")&&(r=r.replace(/^.{1}/,r.substr(0,1).toUpperCase())),r):"Invalid date"}applyFormat(e,t,i=!1,r){let s=t.template,a,n,o,c,m,u,h,l,p=e.getTime();this._root.utc&&!i?(a=e.getUTCFullYear(),n=e.getUTCMonth(),o=e.getUTCDay(),c=e.getUTCDate(),m=e.getUTCHours(),u=e.getUTCMinutes(),h=e.getUTCSeconds(),l=e.getUTCMilliseconds()):(a=e.getFullYear(),n=e.getMonth(),o=e.getDay(),c=e.getDate(),m=e.getHours(),u=e.getMinutes(),h=e.getSeconds(),l=e.getMilliseconds());for(let g=0,d=t.parts.length;g<d;g++){let f="";switch(t.parts[g]){case"G":f=this._t(a<0?"_era_bc":"_era_ad");break;case"yyyy":f=Math.abs(a).toString(),a<0&&(f+=this._t("_era_bc"));break;case"yyy":case"yy":case"y":f=Math.abs(a).toString().substr(-t.parts[g].length),a<0&&(f+=this._t("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":let v=or(e,this._root.utc);t.parts[g]=="YYYY"?f=Math.abs(v).toString():f=Math.abs(v).toString().substr(-t.parts[g].length),v<0&&(f+=this._t("_era_bc"));break;case"u":break;case"q":f=""+Math.ceil((e.getMonth()+1)/3);break;case"MMMMM":f=this._t(this._getMonth(n)).substr(0,1);break;case"MMMM":f=this._t(this._getMonth(n));break;case"MMM":f=this._t(this._getShortMonth(n));break;case"MM":f=F(n+1,2,"0");break;case"M":f=(n+1).toString();break;case"ww":f=F(ni(e,this._root.utc),2,"0");break;case"w":f=ni(e,this._root.utc).toString();break;case"W":f=lr(e,this._root.utc).toString();break;case"dd":f=F(c,2,"0");break;case"d":f=c.toString();break;case"DD":case"DDD":f=F(ai(e,this._root.utc).toString(),t.parts[g].length,"0");break;case"D":f=ai(e,this._root.utc).toString();break;case"F":break;case"g":break;case"t":f=this._root.language.translateFunc("_dateOrd").call(this,c);break;case"E":f=(o||7).toString();break;case"EE":f=F((o||7).toString(),2,"0");break;case"EEE":case"eee":f=this._t(this._getShortWeekday(o));break;case"EEEE":case"eeee":f=this._t(this._getWeekday(o));break;case"EEEEE":case"eeeee":f=this._t(this._getShortWeekday(o)).substr(0,1);break;case"e":case"ee":f=(o-(this._root.locale.firstDayOfWeek||1)+1).toString(),t.parts[g]=="ee"&&(f=F(f,2,"0"));break;case"a":m>=12?f=this._t("PM"):f=this._t("AM");break;case"aa":m>=12?f=this._t("P.M."):f=this._t("A.M.");break;case"aaa":m>=12?f=this._t("P"):f=this._t("A");break;case"h":f=Pt(m).toString();break;case"hh":f=F(Pt(m),2,"0");break;case"H":f=m.toString();break;case"HH":f=F(m,2,"0");break;case"K":f=Pt(m,0).toString();break;case"KK":f=F(Pt(m,0),2,"0");break;case"k":f=(m+1).toString();break;case"kk":f=F(m+1,2,"0");break;case"m":f=u.toString();break;case"mm":f=F(u,2,"0");break;case"s":f=h.toString();break;case"ss":f=F(h,2,"0");break;case"S":case"SS":case"SSS":f=Math.round(l/1e3*Math.pow(10,t.parts[g].length)).toString();break;case"x":f=p.toString();break;case"n":case"nn":case"nnn":f=F(l,t.parts[g].length,"0");break;case"z":f=Ot(r||e,!1,!1,this._root.utc,this._root.timezone?this._root.timezone.name:void 0).replace(/[+-]+[0-9]+$/,"");break;case"zz":f=Ot(r||e,!0,!1,this._root.utc,this._root.timezone?this._root.timezone.name:void 0);break;case"zzz":f=Ot(r||e,!1,!0,this._root.utc,this._root.timezone?this._root.timezone.name:void 0).replace(/[+-]+[0-9]+$/,"");break;case"zzzz":f=Ot(r||e,!0,!0,this._root.utc,this._root.timezone?this._root.timezone.name:void 0);break;case"Z":case"ZZ":let _=this._root.utc?"UTC":this._root.timezone;_ instanceof Ct&&(_=_.name);let y=_?hr(_,r||e):e.getTimezoneOffset(),x=Math.abs(y)/60,O=Math.floor(x),P=x*60-O*60;this._root.utc&&(O=0,P=0),t.parts[g]=="Z"?(f="GMT",f+=y>0?"-":"+",f+=F(O,2)+":"+F(P,2)):(f=y>0?"-":"+",f+=F(O,2)+F(P,2));break;case"i":f=e.toISOString();break;case"I":f=e.toUTCString();break}s=s.replace(ge,f)}return s}parseFormat(e){let t={template:"",parts:[]},i=J.chunk(e,!0);for(let r=0;r<i.length;r++){let s=i[r];if(s.type==="value"){if(s.text.match(/^date$/i)){let n=this.get("dateFormat","yyyy-MM-dd");le(n)||(n="yyyy-MM-dd"),s.text=n}let a=s.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++)t.parts.push(a[n]),s.text=s.text.replace(a[n],ge)}t.template+=s.text}return t}_months(){return["January","February","March","April","May","June","July","August","September","October","November","December"]}_getMonth(e){return this._months()[e]}_shortMonths(){return["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}_getShortMonth(e){return this._shortMonths()[e]}_weekdays(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}_getWeekday(e){return this._weekdays()[e]}_shortWeekdays(){return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}_getShortWeekday(e){return this._shortWeekdays()[e]}parse(e,t,i){if(typeof i>"u"&&(i=this._root.utc),e instanceof Date)return e;if(S(e))return new Date(e);if(t=="x")return new Date(parseInt(e));le(e)||(e=e.toString());let r,s="";t=Xe(t),t=t.substr(0,e.length);let a=this.parseFormat(t),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},o={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:i},c=0,m=0;for(let l=0;l<a.parts.length;l++){switch(m=l+c+1,a.parts[l]){case"yyyy":case"YYYY":s+="([0-9]{4})",n.year=m;break;case"yyy":case"YYY":s+="([0-9]{3})",n.year3=m;break;case"yy":case"YY":s+="([0-9]{2})",n.year2=m;break;case"y":case"Y":s+="([0-9]{1})",n.year1=m;break;case"MMMM":s+="("+this.getStringList(this._months()).join("|")+")",n.monthLong=m;break;case"MMM":s+="("+this.getStringList(this._shortMonths()).join("|")+")",n.monthShort=m;break;case"MM":case"M":s+="([0-9]{2}|[0-9]{1})",n.month=m;break;case"ww":case"w":s+="([0-9]{2}|[0-9]{1})",n.week=m;break;case"dd":case"d":s+="([0-9]{2}|[0-9]{1})",n.day=m;break;case"DDD":case"DD":case"D":s+="([0-9]{3}|[0-9]{2}|[0-9]{1})",n.yearDay=m;break;case"dddd":s+="("+this.getStringList(this._weekdays()).join("|")+")",n.weekdayLong=m;break;case"ddd":s+="("+this.getStringList(this._shortWeekdays()).join("|")+")",n.weekdayShort=m;break;case"aaa":case"aa":case"a":s+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",n.am=m;break;case"hh":case"h":s+="([0-9]{2}|[0-9]{1})",n.hour12Base1=m;break;case"HH":case"H":s+="([0-9]{2}|[0-9]{1})",n.hourBase0=m;break;case"KK":case"K":s+="([0-9]{2}|[0-9]{1})",n.hour12Base0=m;break;case"kk":case"k":s+="([0-9]{2}|[0-9]{1})",n.hourBase1=m;break;case"mm":case"m":s+="([0-9]{2}|[0-9]{1})",n.minute=m;break;case"ss":case"s":s+="([0-9]{2}|[0-9]{1})",n.second=m;break;case"SSS":case"SS":case"S":s+="([0-9]{3}|[0-9]{2}|[0-9]{1})",n.millisecond=m,n.millisecondDigits=a.parts[l].length;break;case"nnn":case"nn":case"n":s+="([0-9]{3}|[0-9]{2}|[0-9]{1})",n.millisecond=m;break;case"x":s+="([0-9]{1,})",n.timestamp=m;break;case"Z":s+="GMT([-+]+[0-9]{2}:[0-9]{2})",n.zone=m;break;case"ZZ":s+="([\\-+]+[0-9]{2}[0-9]{2})",n.zone=m;break;case"i":s+="([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=m,c+=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":c--;break}s+="[^0-9]*"}let u=new RegExp(s),h=e.match(u);if(h){if(n.year>-1&&(o.year=parseInt(h[n.year])),n.year3>-1){let l=parseInt(h[n.year3]);l+=1e3,o.year=l}if(n.year2>-1){let l=parseInt(h[n.year2]);l>50?l+=1e3:l+=2e3,o.year=l}if(n.year1>-1){let l=parseInt(h[n.year1]);l=Math.floor(new Date().getFullYear()/10)*10+l,o.year=l}if(n.monthLong>-1&&(o.month=this.resolveMonth(h[n.monthLong])),n.monthShort>-1&&(o.month=this.resolveShortMonth(h[n.monthShort])),n.month>-1&&(o.month=parseInt(h[n.month])-1),n.week>-1&&n.day===-1&&(o.month=0,o.day=ur(parseInt(h[n.week]),o.year,1,i)),n.day>-1&&(o.day=parseInt(h[n.day])),n.yearDay>-1&&(o.month=0,o.day=parseInt(h[n.yearDay])),n.hourBase0>-1&&(o.hour=parseInt(h[n.hourBase0])),n.hourBase1>-1&&(o.hour=parseInt(h[n.hourBase1])-1),n.hour12Base0>-1){let l=parseInt(h[n.hour12Base0]);l==11&&(l=0),n.am>-1&&!this.isAm(h[n.am])&&(l+=12),o.hour=l}if(n.hour12Base1>-1){let l=parseInt(h[n.hour12Base1]);l==12&&(l=0),n.am>-1&&!this.isAm(h[n.am])&&(l+=12),o.hour=l}if(n.minute>-1&&(o.minute=parseInt(h[n.minute])),n.second>-1&&(o.second=parseInt(h[n.second])),n.millisecond>-1){let l=parseInt(h[n.millisecond]);n.millisecondDigits==2?l*=10:n.millisecondDigits==1&&(l*=100),o.millisecond=l}if(n.timestamp>-1){o.timestamp=parseInt(h[n.timestamp]);let l=new Date(o.timestamp);o.year=l.getUTCFullYear(),o.month=l.getUTCMonth(),o.day=l.getUTCDate(),o.hour=l.getUTCHours(),o.minute=l.getUTCMinutes(),o.second=l.getUTCSeconds(),o.millisecond=l.getUTCMilliseconds()}n.zone>-1&&(o.offset=this.resolveTimezoneOffset(new Date(o.year,o.month,o.day),h[n.zone])),n.iso>-1&&(o.year=V(h[n.iso+0]),o.month=V(h[n.iso+1])-1,o.day=V(h[n.iso+2]),o.hour=V(h[n.iso+3]),o.minute=V(h[n.iso+4]),o.second=V(h[n.iso+5]),o.millisecond=V(h[n.iso+6]),h[n.iso+7]=="Z"||h[n.iso+7]=="z"?o.utc=!0:h[n.iso+7]!=""&&(o.offset=this.resolveTimezoneOffset(new Date(o.year,o.month,o.day),h[n.iso+7]))),o.utc?r=new Date(Date.UTC(o.year,o.month,o.day,o.hour,o.minute,o.second,o.millisecond)):r=new Date(o.year,o.month,o.day,o.hour,o.minute+o.offset,o.second,o.millisecond)}else r=new Date(e);return r}resolveTimezoneOffset(e,t){if(t.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){let r=t.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/),s=r[1],a=r[2],n=r[3],o=parseInt(a)*60+parseInt(n);s=="+"&&(o*=-1);let c=(e||new Date).getTimezoneOffset();return o-c}return 0}resolveMonth(e){let t=this._months().indexOf(e);return t>-1||!this._root.language.isDefault()&&(t=this._root.language.translateAll(this._months()).indexOf(e),t>-1)?t:0}resolveShortMonth(e){let t=this._shortMonths().indexOf(e);return t>-1||(t=this._months().indexOf(e),t>-1)||this._root.language&&!this._root.language.isDefault()&&(t=this._root.language.translateAll(this._shortMonths()).indexOf(e),t>-1)?t:0}isAm(e){return this.getStringList(["AM","A.M.","A"]).indexOf(e.toUpperCase())>-1}getStringList(e){let t=[];for(let i=0;i<e.length;i++)this._root.language?t.push(si(this._t(e[i]))):t.push(si(e[i]));return t}};var Dt=class extends E{constructor(){super(...arguments),Object.defineProperty(this,"_unitAliases",{enumerable:!0,configurable:!0,writable:!0,value:{Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"}})}_setDefaults(){let e="_duration_millisecond",t="_duration_second",i="_duration_minute",r="_duration_hour",s="_duration_day",a="_duration_week",n="_duration_month",o="_duration_year",c="_second",m="_minute",u="_hour",h="_day",l="_week",p="_week",g="_year";this._setDefault("negativeBase",0),this._setDefault("baseUnit","second"),this._setDefault("durationFormats",{millisecond:{millisecond:this._t(e),second:this._t(e+c),minute:this._t(e+m),hour:this._t(e+u),day:this._t(e+h),week:this._t(e+l),month:this._t(e+p),year:this._t(e+g)},second:{second:this._t(t),minute:this._t(t+m),hour:this._t(t+u),day:this._t(t+h),week:this._t(t+l),month:this._t(t+p),year:this._t(t+g)},minute:{minute:this._t(i),hour:this._t(i+u),day:this._t(i+h),week:this._t(i+l),month:this._t(i+p),year:this._t(i+g)},hour:{hour:this._t(r),day:this._t(r+h),week:this._t(r+l),month:this._t(r+p),year:this._t(r+g)},day:{day:this._t(s),week:this._t(s+l),month:this._t(s+p),year:this._t(s+g)},week:{week:this._t(a),month:this._t(a+p),year:this._t(a+g)},month:{month:this._t(n),year:this._t(n+g)},year:{year:this._t(o)}}),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(e,t,i){let r=i||this.get("baseUnit");(typeof t>"u"||t==="")&&(this.get("durationFormat")!=null?t=this.get("durationFormat"):t=this.getFormat(V(e),void 0,r)),t=Xe(t);let s=this.parseFormat(t,r),a=Number(e),n;a>this.get("negativeBase")?n=s.positive:a<this.get("negativeBase")?n=s.negative:n=s.zero;let o=this.applyFormat(a,n);return n.color!==""&&(o="["+n.color+"]"+o+"[/]"),o}parseFormat(e,t){let i=t||this.get("baseUnit"),r={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}};e=e.replace("||",De);let s=e.split("|");return r.positive.source=s[0],typeof s[2]>"u"?r.zero=r.positive:r.zero.source=s[2],typeof s[1]>"u"?r.negative=r.positive:r.negative.source=s[1],Y(r,(a,n)=>{if(n.parsed)return;let o=n.source,c=[];c=n.source.match(/^\[([^\]]*)\]/),c&&c.length&&c[0]!==""&&(o=n.source.substr(c[0].length),n.color=c[1]);let m=J.chunk(o,!0);for(let u=0;u<m.length;u++){let h=m[u];if(h.text=h.text.replace(De,"|"),h.type==="value"){h.text.match(/[yYMdDwhHKkmsSn]+a/)&&(n.absolute=!0,h.text=h.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));let l=h.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(l)for(let p=0;p<l.length;p++)l[p]==null&&(l[p]=this._unitAliases[l[p]]),n.parts.push(l[p]),h.text=h.text.replace(l[p],ge)}n.template+=h.text}n.parsed=!0}),r}applyFormat(e,t){let i=!t.absolute&&e<this.get("negativeBase");e=Math.abs(e);let r=this.toTimeStamp(e,t.baseUnit),s=t.template,a={millisecond:0,second:0,minute:0,hour:0,day:0,week:0,month:0,year:0};for(let n=0,o=t.parts.length;n<o;n++){let c=t.parts[n],m=this._toTimeUnit(c.substr(0,1)),u,h=this._getUnitValue(m);n<o-1?u=Math.floor(r/h):u=Math.round(r/h),a[m]+=u,r-=u*h}Y(a,(n,o)=>{n=="millisecond"&&o==1e3?(a.second++,a.millisecond=0):n=="second"&&o==60?(a.minute++,a.second=0):n=="minute"&&o==60?(a.hour++,a.minute=0):n=="hour"&&o==24?(a.day++,a.hour=0):n=="day"&&o==7&&t.parts.indexOf("w")!==-1?(a.week++,a.day=0):n=="day"&&o==30?(a.month++,a.day=0):n=="month"&&o==12&&(a.year++,a.month=0)});for(let n=0,o=t.parts.length;n<o;n++){let c=t.parts[n],m=this._toTimeUnit(c.substr(0,1)),u=c.length;s=s.replace(ge,F(a[m],u,"0"))}return i&&(s="-"+s),s}toTimeStamp(e,t){return e*this._getUnitValue(t)}_toTimeUnit(e){switch(e){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(e,t,i){if(this.get("durationFormat")!=null)return this.get("durationFormat");if(i||(i=this.get("baseUnit")),t!=null&&e!=t){e=Math.abs(e),t=Math.abs(t);let r=this.getValueUnit(Math.max(e,t),i);return this.get("durationFormats")[i][r]}else{let r=this.getValueUnit(e,i);return this.get("durationFormats")[i][r]}}getValueUnit(e,t){t||(t=this.get("baseUnit"));let i,r=this.getMilliseconds(e,t);return Ki(this._getUnitValues(),(s,a)=>{if(s==t||i){if(r/a<=1)return i||(i=s),!1;i=s}return!0}),i}getMilliseconds(e,t){return t||(t=this.get("baseUnit")),e*this._getUnitValue(t)}_getUnitValue(e){return this._getUnitValues()[e]}_getUnitValues(){return{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6}}};var Xt={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(b){let e="th";if(b<11||b>13)switch(b%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"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:""};var Ut=class extends E{_setDefaults(){this.setPrivate("defaultLocale",Xt),super._setDefaults()}translate(e,t,...i){t||(t=this._root.locale||this.getPrivate("defaultLocale"));let r=e,s=t[e];if(s===null)r="";else if(s!=null)s&&(r=s);else if(t!==this.getPrivate("defaultLocale"))return this.translate(e,this.getPrivate("defaultLocale"),...i);if(i.length)for(let a=i.length,n=0;n<a;++n)r=r.split("%"+(n+1)).join(i[n]);return r}translateAny(e,t,...i){return this.translate(e,t,...i)}setTranslationAny(e,t,i){let r=i||this._root.locale;r[e]=t}setTranslationsAny(e,t){Y(e,(i,r)=>{this.setTranslationAny(i,r,t)})}translateEmpty(e,t,...i){let r=this.translate(e,t,...i);return r==e?"":r}translateFunc(e,t){return this._root.locale[e]?this._root.locale[e]:t!==this.getPrivate("defaultLocale")?this.translateFunc(e,this.getPrivate("defaultLocale")):()=>""}translateAll(e,t){return this.isDefault()?e:Ui(e,i=>this.translate(i,t))}isDefault(){return this.getPrivate("defaultLocale")===this._root.locale}};var Ze=class{constructor(e=1,t=0,i=0,r=1,s=0,a=0){Object.defineProperty(this,"a",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"b",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"c",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"d",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tx",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ty",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.a=e,this.b=t,this.c=i,this.d=r,this.tx=s,this.ty=a}setTransform(e,t,i,r,s,a=1){this.a=Math.cos(s)*a,this.b=Math.sin(s)*a,this.c=-Math.sin(s)*a,this.d=Math.cos(s)*a,this.tx=e-(i*this.a+r*this.c),this.ty=t-(i*this.b+r*this.d)}apply(e){return{x:this.a*e.x+this.c*e.y+this.tx,y:this.b*e.x+this.d*e.y+this.ty}}applyInverse(e){let t=1/(this.a*this.d+this.c*-this.b);return{x:this.d*t*e.x+-this.c*t*e.y+(this.ty*this.c-this.tx*this.d)*t,y:this.a*t*e.y+-this.b*t*e.x+(-this.ty*this.a+this.tx*this.b)*t}}append(e){let t=this.a,i=this.b,r=this.c,s=this.d;this.a=e.a*t+e.b*r,this.b=e.a*i+e.b*s,this.c=e.c*t+e.d*r,this.d=e.c*i+e.d*s,this.tx=e.tx*t+e.ty*r+this.tx,this.ty=e.tx*i+e.ty*s+this.ty}prepend(e){let t=this.tx;if(e.a!==1||e.b!==0||e.c!==0||e.d!==1){let i=this.a,r=this.c;this.a=i*e.a+this.b*e.c,this.b=i*e.b+this.b*e.d,this.c=r*e.a+this.d*e.c,this.d=r*e.b+this.d*e.d}this.tx=t*e.a+this.ty*e.c+e.tx,this.ty=t*e.b+this.ty*e.d+e.ty}copyFrom(e){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty}};var $r=(function(){function b(e,t){var i=[],r=!0,s=!1,a=void 0;try{for(var n=e[Symbol.iterator](),o;!(r=(o=n.next()).done)&&(i.push(o.value),!(t&&i.length===t));r=!0);}catch(c){s=!0,a=c}finally{try{!r&&n.return&&n.return()}finally{if(s)throw a}}return i}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return b(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),Mt=Math.PI*2,mi=function(e,t,i,r,s,a,n){var o=e.x,c=e.y;o*=t,c*=i;var m=r*o-s*c,u=s*o+r*c;return{x:m+a,y:u+n}},Br=function(e,t){var i=t===1.5707963267948966?.551915024494:t===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(t/4),r=Math.cos(e),s=Math.sin(e),a=Math.cos(e+t),n=Math.sin(e+t);return[{x:r-s*i,y:s+r*i},{x:a+n*i,y:n-a*i},{x:a,y:n}]},wr=function(e,t,i,r){var s=e*r-t*i<0?-1:1,a=e*i+t*r;return a>1&&(a=1),a<-1&&(a=-1),s*Math.acos(a)},Ar=function(e,t,i,r,s,a,n,o,c,m,u,h){var l=Math.pow(s,2),p=Math.pow(a,2),g=Math.pow(u,2),d=Math.pow(h,2),f=l*p-l*d-p*g;f<0&&(f=0),f/=l*d+p*g,f=Math.sqrt(f)*(n===o?-1:1);var v=f*s/a*h,_=f*-a/s*u,y=m*v-c*_+(e+i)/2,x=c*v+m*_+(t+r)/2,O=(u-v)/s,P=(h-_)/a,D=(-u-v)/s,z=(-h-_)/a,C=wr(1,0,O,P),T=wr(O,P,D,z);return o===0&&T>0&&(T-=Mt),o===1&&T<0&&(T+=Mt),[y,x,C,T]},Lr=function(e){var t=e.px,i=e.py,r=e.cx,s=e.cy,a=e.rx,n=e.ry,o=e.xAxisRotation,c=o===void 0?0:o,m=e.largeArcFlag,u=m===void 0?0:m,h=e.sweepFlag,l=h===void 0?0:h,p=[];if(a===0||n===0)return[];var g=Math.sin(c*Mt/360),d=Math.cos(c*Mt/360),f=d*(t-r)/2+g*(i-s)/2,v=-g*(t-r)/2+d*(i-s)/2;if(f===0&&v===0)return[];a=Math.abs(a),n=Math.abs(n);var _=Math.pow(f,2)/Math.pow(a,2)+Math.pow(v,2)/Math.pow(n,2);_>1&&(a*=Math.sqrt(_),n*=Math.sqrt(_));var y=Ar(t,i,r,s,a,n,u,l,g,d,f,v),x=$r(y,4),O=x[0],P=x[1],D=x[2],z=x[3],C=Math.abs(z)/(Mt/4);Math.abs(1-C)<1e-7&&(C=1);var T=Math.max(Math.ceil(C),1);z/=T;for(var H=0;H<T;H++)p.push(Br(D,z)),D+=z;return p.map(function(R){var Ve=mi(R[0],a,n,d,g,O,P),G=Ve.x,Qt=Ve.y,B=mi(R[1],a,n,d,g,O,P),te=B.x,ne=B.y,me=mi(R[2],a,n,d,g,O,P),bt=me.x,oe=me.y;return{x1:G,y1:Qt,x2:te,y2:ne,x:bt,y:oe}})},xr=Lr;function Nr(b,e,t){if(e!==t)throw new Error("Required "+t+" arguments for "+b+" but got "+e)}function jt(b,e,t){if(e<t)throw new Error("Required at least "+t+" arguments for "+b+" but got "+e)}function ee(b,e,t){if(jt(b,e,t),e%t!==0)throw new Error("Arguments for "+b+" must be in pairs of "+t)}function zr(b){for(let e=0;e<b.length;e+=7){let t=e+3,i=b[t];if(i.length>1){let r=/^([01])([01])(.*)$/.exec(i);r!==null&&(b.splice(t,0,r[1]),++t,b.splice(t,0,r[2]),++t,r[3].length>0?b[t]=r[3]:b.splice(t,1))}if(++t,i=b[t],i.length>1){let r=/^([01])(.+)$/.exec(i);r!==null&&(b.splice(t,0,r[1]),++t,b[t]=r[2])}}}function Pr(b){if(b===0||b===1)return b;throw new Error("Flag must be 0 or 1")}function Fr(b){let e=[0,0,0];for(let t=0;t<24;t++)e[t%3]<<=1,e[t%3]|=b&1,b>>=1;return(e[0]|0)+(e[1]<<8)+(e[2]<<16)}function Zt(b,e){for(;!(b.interactive&&!e(b));)if(b._parent)b=b._parent;else break}function Rr(b,e,t){return M(b,zt(e),i=>{let r=ii(i),s=i.touches;s?(s.length==0&&(s=i.changedTouches),t(Ge(s),r)):t([i],r)})}function Or(b){let e=document.createElement("canvas");e.width=1,e.height=1;let t=e.getContext("2d",{willReadFrequently:!0});t.drawImage(b,0,0,1,1);try{return t.getImageData(0,0,1,1),!1}catch{return console.warn('Image "'+b.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 Et(b){b.width=0,b.height=0,b.style.width="0px",b.style.height="0px"}function kr(b){return Math.floor(b)+.5}var bi=class{constructor(){Object.defineProperty(this,"_x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y",{enumerable:!0,configurable:!0,writable:!0,value:0})}get x(){return this._x}get y(){return this._y}set x(e){this._x=e}set y(e){this._y=e}},qe=class extends Ji{constructor(e){super(),Object.defineProperty(this,"_layer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"mask",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"visible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"exportable",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"interactive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"inactive",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"wheelable",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"cancelTouch",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isMeasured",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"buttonMode",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"alpha",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"compoundAlpha",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"angle",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"scale",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"crisp",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"pivot",{enumerable:!0,configurable:!0,writable:!0,value:new bi}),Object.defineProperty(this,"filter",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cursorOverStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_replacedCursorStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_localMatrix",{enumerable:!0,configurable:!0,writable:!0,value:new Ze}),Object.defineProperty(this,"_matrix",{enumerable:!0,configurable:!0,writable:!0,value:new Ze}),Object.defineProperty(this,"_uMatrix",{enumerable:!0,configurable:!0,writable:!0,value:new Ze}),Object.defineProperty(this,"_renderer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_localBounds",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_bounds",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_colorId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._renderer=e}subStatus(e){return{inactive:this.inactive==null?e.inactive:this.inactive,layer:this._layer||e.layer}}_dispose(){this._renderer._removeObject(this),this.getLayer().dirty=!0}getCanvas(){return this.getLayer().view}getLayer(){let e=this;for(;;){if(e._layer)return e._layer;if(e._parent)e=e._parent;else return this._renderer.defaultLayer}}setLayer(e,t){e==null?this._layer=void 0:(this._layer=this._renderer.getLayer(e,!0),this._layer.visible=!0,this._layer.margin=t,t&&je(this._layer.view,!1),this._renderer._ghostLayer.setMargin(this._renderer.layers),this._parent&&this._parent.registerChildLayer(this._layer),this._layer.dirty=!0,this._renderer.resizeLayer(this._layer),this._renderer.resizeGhost())}markDirtyLayer(){this.getLayer().dirty=!0}clear(){this.invalidateBounds()}invalidateBounds(){this._localBounds=void 0}_addBounds(e){}_getColorId(){return this._colorId===void 0&&(this._colorId=this._renderer.paintId(this)),this._colorId}_isInteractive(e){return!e.inactive&&(this.interactive||this._renderer._forceInteractive>0)}_isInteractiveMask(e){return this._isInteractive(e)}contains(e){for(;;){if(e===this)return!0;if(e._parent)e=e._parent;else return!1}}toGlobal(e){return this._matrix.apply(e)}toLocal(e){return this._matrix.applyInverse(e)}getLocalMatrix(){return this._uMatrix.setTransform(0,0,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this._uMatrix}getLocalBounds(){return this._localBounds||(this._localBounds={left:1e7,top:1e7,right:-1e7,bottom:-1e7},this._addBounds(this._localBounds)),this._localBounds}getAdjustedBounds(e){this._setMatrix();let t=this.getLocalMatrix(),i=t.apply({x:e.left,y:e.top}),r=t.apply({x:e.right,y:e.top}),s=t.apply({x:e.right,y:e.bottom}),a=t.apply({x:e.left,y:e.bottom});return{left:Math.min(i.x,r.x,s.x,a.x),top:Math.min(i.y,r.y,s.y,a.y),right:Math.max(i.x,r.x,s.x,a.x),bottom:Math.max(i.y,r.y,s.y,a.y)}}on(e,t,i){return this.interactive?this._renderer._addEvent(this,e,t,i):new he(()=>{})}_setMatrix(){this._localMatrix.setTransform(this.x,this.y,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this._matrix.copyFrom(this._localMatrix),this._parent&&this._matrix.prepend(this._parent._matrix)}_transform(e,t){let i=this._matrix,r=i.tx*t,s=i.ty*t;this.crisp&&(r=kr(r),s=kr(s)),e.setTransform(i.a*t,i.b*t,i.c*t,i.d*t,r,s)}_transformMargin(e,t,i){let r=this._matrix;e.setTransform(r.a*t,r.b*t,r.c*t,r.d*t,(r.tx+i.left)*t,(r.ty+i.top)*t)}_transformLayer(e,t,i){i.margin?this._transformMargin(e,i.scale||t,i.margin):this._transform(e,i.scale||t)}render(e,t=0){if(this.visible&&(this.exportable!==!1||!this._renderer._omitTainted)){this._setMatrix();let i=this.subStatus(e),r=this._renderer.resolution,s=this._renderer.layers,a=this._renderer._ghostLayer,n=a.context,o=this.mask;o&&o._setMatrix(),w(s,c=>{if(c){let m=c.context;m.save(),o&&(o._transformLayer(m,r,c),o._runPath(m),m.clip()),m.globalAlpha=this.compoundAlpha*this.alpha,this._transformLayer(m,r,c),this.filter&&(m.filter=this.filter)}}),n.save(),o&&this._isInteractiveMask(i)&&(o._transformMargin(n,r,a.margin),o._runPath(n),n.clip()),this._transformMargin(n,r,a.margin),i.layer.order>0&&!t&&Zi(this._renderer._deferredGhostLayers,i.layer.order),this._render(i,t),n.restore(),w(s,c=>{c&&c.context.restore()})}}_render(e,t=0){this.exportable===!1&&(e.layer.tainted=!0)}_ghostOnly(e=0){return e>0}_drawGhost(e,t=0){let i=this._isInteractive(e),r=e.layer.order||0;return!!(i&&(r==0&&!this._ghostOnly(t)||r==t))}hovering(){return this._renderer._hovering.has(this)}dragging(){return this._renderer._dragging.some(e=>e.value===this)}shouldCancelTouch(){let e=this._renderer;return e.tapToActivate&&!e._touchActive?!1:this.cancelTouch?!0:this._parent?this._parent.shouldCancelTouch():!1}},gi=class extends qe{constructor(){super(...arguments),Object.defineProperty(this,"interactiveChildren",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_childLayers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_children",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_isInteractiveMask(e){return this.interactiveChildren||super._isInteractiveMask(e)}addChild(e){e._parent=this,this._children.push(e),e._layer&&this.registerChildLayer(e._layer)}addChildAt(e,t){e._parent=this,this._children.splice(t,0,e),e._layer&&this.registerChildLayer(e._layer)}removeChild(e){e._parent=void 0,_t(this._children,e)}_render(e,t){super._render(e);let i=this._renderer;this.interactive&&this.interactiveChildren&&++i._forceInteractive,w(this._children,r=>{r.compoundAlpha=this.compoundAlpha*this.alpha,r.render(e,t)}),this.interactive&&this.interactiveChildren&&--i._forceInteractive}registerChildLayer(e){this._childLayers||(this._childLayers=[]),vt(this._childLayers,e),this._parent&&this._parent.registerChildLayer(e)}markDirtyLayer(e=!1){super.markDirtyLayer(),e&&this._childLayers&&w(this._childLayers,t=>t.dirty=!0)}_dispose(){super._dispose(),this._childLayers&&w(this._childLayers,e=>{e.dirty=!0})}};function L(b,e){b.left=Math.min(b.left,e.x),b.top=Math.min(b.top,e.y),b.right=Math.max(b.right,e.x),b.bottom=Math.max(b.bottom,e.y)}var N=class{colorize(e,t){}colorizeGhost(e,t){this.colorize(e,t)}path(e){}pathGhost(e){this.path(e)}addBounds(e){}},yi=class extends N{colorize(e,t){e.beginPath()}},$t=class extends N{constructor(e){super(),Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){t!==void 0?e.fillStyle=t:e.fillStyle=this.color}},_i=class extends N{constructor(e){super(),Object.defineProperty(this,"clearShadow",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){e.fill(),this.clearShadow&&(e.shadowColor="",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0)}},vi=class extends N{colorize(e,t){e.stroke()}},Bt=class extends N{constructor(e,t,i,r){super(),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"lineJoin",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"lineCap",{enumerable:!0,configurable:!0,writable:!0,value:r})}colorize(e,t){t!==void 0?e.strokeStyle=t:e.strokeStyle=this.color,e.lineWidth=this.width,this.lineJoin&&(e.lineJoin=this.lineJoin),this.lineCap&&(e.lineCap=this.lineCap)}},wi=class extends N{constructor(e){super(),Object.defineProperty(this,"dash",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){e.setLineDash(this.dash)}},xi=class extends N{constructor(e){super(),Object.defineProperty(this,"dashOffset",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){e.lineDashOffset=this.dashOffset}},Pi=class extends N{constructor(e,t,i,r){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:r})}path(e){e.rect(this.x,this.y,this.width,this.height)}addBounds(e){let t=this.x,i=this.y,r=t+this.width,s=i+this.height;L(e,{x:t,y:i}),L(e,{x:r,y:i}),L(e,{x:t,y:s}),L(e,{x:r,y:s})}},Oi=class extends N{constructor(e,t,i){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:i})}path(e){e.moveTo(this.x+this.radius,this.y),e.arc(this.x,this.y,this.radius,0,2*Math.PI)}addBounds(e){L(e,{x:this.x-this.radius,y:this.y-this.radius}),L(e,{x:this.x+this.radius,y:this.y+this.radius})}},ki=class extends N{constructor(e,t,i,r){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"radiusX",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"radiusY",{enumerable:!0,configurable:!0,writable:!0,value:r})}path(e){e.ellipse(0,0,this.radiusX,this.radiusY,0,0,Math.PI*2)}addBounds(e){L(e,{x:this.x-this.radiusX,y:this.y-this.radiusY}),L(e,{x:this.x+this.radiusX,y:this.y+this.radiusY})}},Ti=class extends N{constructor(e,t,i,r,s,a){super(),Object.defineProperty(this,"cx",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"cy",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"startAngle",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"endAngle",{enumerable:!0,configurable:!0,writable:!0,value:s}),Object.defineProperty(this,"anticlockwise",{enumerable:!0,configurable:!0,writable:!0,value:a})}path(e){this.radius>0&&e.arc(this.cx,this.cy,this.radius,this.startAngle,this.endAngle,this.anticlockwise)}addBounds(e){let t=fr(this.cx,this.cy,this.startAngle*Ue,this.endAngle*Ue,this.radius);L(e,{x:t.left,y:t.top}),L(e,{x:t.right,y:t.bottom})}},Ci=class extends N{constructor(e,t,i,r,s){super(),Object.defineProperty(this,"x1",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y1",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"x2",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"y2",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:s})}path(e){this.radius>0&&e.arcTo(this.x1,this.y1,this.x2,this.y2,this.radius)}addBounds(e){}},Si=class extends N{constructor(e,t){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t})}path(e){e.lineTo(this.x,this.y)}addBounds(e){L(e,{x:this.x,y:this.y})}},Di=class extends N{constructor(e,t){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t})}path(e){e.moveTo(this.x,this.y)}addBounds(e){L(e,{x:this.x,y:this.y})}},Mi=class extends N{path(e){e.closePath()}},ji=class extends N{constructor(e,t,i,r,s,a){super(),Object.defineProperty(this,"cpX",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"cpY",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"cpX2",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"cpY2",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"toX",{enumerable:!0,configurable:!0,writable:!0,value:s}),Object.defineProperty(this,"toY",{enumerable:!0,configurable:!0,writable:!0,value:a})}path(e){e.bezierCurveTo(this.cpX,this.cpY,this.cpX2,this.cpY2,this.toX,this.toY)}addBounds(e){L(e,{x:this.cpX,y:this.cpY}),L(e,{x:this.cpX2,y:this.cpY2}),L(e,{x:this.toX,y:this.toY})}},Ei=class extends N{constructor(e,t,i,r){super(),Object.defineProperty(this,"cpX",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"cpY",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"toX",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"toY",{enumerable:!0,configurable:!0,writable:!0,value:r})}path(e){e.quadraticCurveTo(this.cpX,this.cpY,this.toX,this.toY)}addBounds(e){L(e,{x:this.cpX,y:this.cpY}),L(e,{x:this.toX,y:this.toY})}},$i=class extends N{constructor(e,t,i,r,s){super(),Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"blur",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"offsetX",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"offsetY",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"opacity",{enumerable:!0,configurable:!0,writable:!0,value:s})}colorize(e,t){this.opacity&&(e.fillStyle=this.color),e.shadowColor=this.color,e.shadowBlur=this.blur,e.shadowOffsetX=this.offsetX,e.shadowOffsetY=this.offsetY}colorizeGhost(e,t){}},Bi=class extends N{constructor(e,t,i,r,s){super(),Object.defineProperty(this,"image",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:s})}path(e){e.drawImage(this.image,this.x,this.y,this.width,this.height)}addBounds(e){L(e,{x:this.x,y:this.y}),L(e,{x:this.width,y:this.height})}},Ai=class extends qe{constructor(){super(...arguments),Object.defineProperty(this,"_operations",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"blendMode",{enumerable:!0,configurable:!0,writable:!0,value:li.NORMAL}),Object.defineProperty(this,"_hasShadows",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_fillAlpha",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeAlpha",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}clear(){super.clear(),this._operations.length=0}_pushOp(e){this._operations.push(e)}beginFill(e,t=1){this._fillAlpha=t,e?e instanceof $?this._pushOp(new $t(e.toCSS(t))):(this.isMeasured=!0,this._pushOp(new $t(e))):this._pushOp(new $t("rgba(0, 0, 0, "+t+")"))}endFill(){this._pushOp(new _i(this._hasShadows))}endStroke(){this._pushOp(new vi)}beginPath(){this._pushOp(new yi)}lineStyle(e=0,t,i=1,r,s){this._strokeAlpha=i,t?t instanceof $?this._pushOp(new Bt(e,t.toCSS(i),r,s)):this._pushOp(new Bt(e,t,r,s)):this._pushOp(new Bt(e,"rgba(0, 0, 0, "+i+")",r,s))}setLineDash(e){this._pushOp(new wi(e||[]))}setLineDashOffset(e=0){this._pushOp(new xi(e))}drawRect(e,t,i,r){this._pushOp(new Pi(e,t,i,r))}drawCircle(e,t,i){this._pushOp(new Oi(e,t,i))}drawEllipse(e,t,i,r){this._pushOp(new ki(e,t,i,r))}arc(e,t,i,r,s,a=!1){this._pushOp(new Ti(e,t,i,r,s,a))}arcTo(e,t,i,r,s){this._pushOp(new Ci(e,t,i,r,s))}lineTo(e,t){this._pushOp(new Si(e,t))}moveTo(e,t){this._pushOp(new Di(e,t))}bezierCurveTo(e,t,i,r,s,a){this._pushOp(new ji(e,t,i,r,s,a))}quadraticCurveTo(e,t,i,r){this._pushOp(new Ei(e,t,i,r))}closePath(){this._pushOp(new Mi)}shadow(e,t=0,i=0,r=0,s){this._hasShadows=!0,this._pushOp(new $i(s?e.toCSS(s):e.toCSS(this._fillAlpha||this._strokeAlpha),t,i,r))}image(e,t,i,r,s){this._pushOp(new Bi(e,t,i,r,s))}svgPath(e){let t=0,i=0,r=null,s=null,a=null,n=null,o=/([MmZzLlHhVvCcSsQqTtAa])([^MmZzLlHhVvCcSsQqTtAa]*)/g,c=/[\u0009\u0020\u000A\u000C\u000D]*([\+\-]?[0-9]*\.?[0-9]+(?:[eE][\+\-]?[0-9]+)?)[\u0009\u0020\u000A\u000C\u000D]*,?/g,m=this._operations.length;try{let u;for(;(u=o.exec(e))!==null;){let h=u[1],l=u[2],p=[];for(;(u=c.exec(l))!==null;)p.push(u[1]);switch(h!=="S"&&h!=="s"&&h!=="C"&&h!=="c"&&(r=null,s=null),h!=="Q"&&h!=="q"&&h!=="T"&&h!=="t"&&(a=null,n=null),h){case"M":ee(h,p.length,2),t=+p[0],i=+p[1],this.moveTo(t,i);for(let d=2;d<p.length;d+=2)t=+p[d],i=+p[d+1],this.lineTo(t,i);break;case"m":ee(h,p.length,2),t+=+p[0],i+=+p[1],this.moveTo(t,i);for(let d=2;d<p.length;d+=2)t+=+p[d],i+=+p[d+1],this.lineTo(t,i);break;case"L":ee(h,p.length,2);for(let d=0;d<p.length;d+=2)t=+p[d],i=+p[d+1],this.lineTo(t,i);break;case"l":ee(h,p.length,2);for(let d=0;d<p.length;d+=2)t+=+p[d],i+=+p[d+1],this.lineTo(t,i);break;case"H":jt(h,p.length,1);for(let d=0;d<p.length;++d)t=+p[d],this.lineTo(t,i);break;case"h":jt(h,p.length,1);for(let d=0;d<p.length;++d)t+=+p[d],this.lineTo(t,i);break;case"V":jt(h,p.length,1);for(let d=0;d<p.length;++d)i=+p[d],this.lineTo(t,i);break;case"v":jt(h,p.length,1);for(let d=0;d<p.length;++d)i+=+p[d],this.lineTo(t,i);break;case"C":ee(h,p.length,6);for(let d=0;d<p.length;d+=6){let f=+p[d],v=+p[d+1];r=+p[d+2],s=+p[d+3],t=+p[d+4],i=+p[d+5],this.bezierCurveTo(f,v,r,s,t,i)}break;case"c":ee(h,p.length,6);for(let d=0;d<p.length;d+=6){let f=+p[d]+t,v=+p[d+1]+i;r=+p[d+2]+t,s=+p[d+3]+i,t+=+p[d+4],i+=+p[d+5],this.bezierCurveTo(f,v,r,s,t,i)}break;case"S":ee(h,p.length,4),(r===null||s===null)&&(r=t,s=i);for(let d=0;d<p.length;d+=4){let f=2*t-r,v=2*i-s;r=+p[d],s=+p[d+1],t=+p[d+2],i=+p[d+3],this.bezierCurveTo(f,v,r,s,t,i)}break;case"s":ee(h,p.length,4),(r===null||s===null)&&(r=t,s=i);for(let d=0;d<p.length;d+=4){let f=2*t-r,v=2*i-s;r=+p[d]+t,s=+p[d+1]+i,t+=+p[d+2],i+=+p[d+3],this.bezierCurveTo(f,v,r,s,t,i)}break;case"Q":ee(h,p.length,4);for(let d=0;d<p.length;d+=4)a=+p[d],n=+p[d+1],t=+p[d+2],i=+p[d+3],this.quadraticCurveTo(a,n,t,i);break;case"q":ee(h,p.length,4);for(let d=0;d<p.length;d+=4)a=+p[d]+t,n=+p[d+1]+i,t+=+p[d+2],i+=+p[d+3],this.quadraticCurveTo(a,n,t,i);break;case"T":ee(h,p.length,2),(a===null||n===null)&&(a=t,n=i);for(let d=0;d<p.length;d+=2)a=2*t-a,n=2*i-n,t=+p[d],i=+p[d+1],this.quadraticCurveTo(a,n,t,i);break;case"t":ee(h,p.length,2),(a===null||n===null)&&(a=t,n=i);for(let d=0;d<p.length;d+=2)a=2*t-a,n=2*i-n,t+=+p[d],i+=+p[d+1],this.quadraticCurveTo(a,n,t,i);break;case"A":case"a":let g=h==="a";zr(p),ee(h,p.length,7);for(let d=0;d<p.length;d+=7){let f=+p[d+5],v=+p[d+6];g&&(f+=t,v+=i);let _=xr({px:t,py:i,rx:+p[d],ry:+p[d+1],xAxisRotation:+p[d+2],largeArcFlag:Pr(+p[d+3]),sweepFlag:Pr(+p[d+4]),cx:f,cy:v});w(_,y=>{this.bezierCurveTo(y.x1,y.y1,y.x2,y.y2,y.x,y.y),t=y.x,i=y.y})}break;case"Z":case"z":Nr(h,p.length,0),this.closePath();break}}}catch(u){this._operations.length=m,console.warn(`Error when parsing svgPath:
|
|
5
|
-
`+u.message+`
|
|
6
|
-
`+e)}}_runPath(e){e.beginPath(),w(this._operations,t=>{t.path(e)})}_render(e,t=0){super._render(e);let i=e.layer.dirty,r=this._isInteractive(e),s=this._ghostOnly(t),a=this._drawGhost(e,t);if(i||r||s){let n=e.layer.context,o=this._renderer._ghostLayer.context;i&&!s&&(n.globalCompositeOperation=this.blendMode,n.beginPath());let c;a&&(o.beginPath(),c=this._getColorId()),w(this._operations,m=>{i&&!s&&(m.path(n),m.colorize(n,void 0)),a&&(m.pathGhost(o),m.colorizeGhost(o,c))})}}renderDetached(e){if(this.visible){this._setMatrix(),e.save();let t=this.mask;t&&(t._setMatrix(),t._transform(e,1),t._runPath(e),e.clip()),e.globalAlpha=this.compoundAlpha*this.alpha,this._transform(e,1),this.filter&&(e.filter=this.filter),e.globalCompositeOperation=this.blendMode,e.beginPath(),w(this._operations,i=>{i.path(e),i.colorize(e,void 0)}),e.restore()}}_addBounds(e){this.visible&&this.isMeasured&&w(this._operations,t=>{t.addBounds(e)})}},qt=class extends qe{constructor(e,t,i){super(e),Object.defineProperty(this,"text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"style",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"resolution",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"textVisible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"truncated",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_textInfo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_originalScale",{enumerable:!0,configurable:!0,writable:!0,value:1}),this.text=t,this.style=i}invalidateBounds(){super.invalidateBounds(),this._textInfo=void 0}invalidateVisibility(){this.textVisible=!0,this.scale=this._originalScale||1}_shared(e){this.style.textAlign&&(e.textAlign=this.style.textAlign),this.style.direction&&(e.direction=this.style.direction),this.style.textBaseline&&(e.textBaseline=this.style.textBaseline)}_prerender(e,t=!1,i=!1){super._render(e);let r=e.layer.context,s=this._renderer._ghostLayer.context,a=this.style,n=this._getFontStyle(void 0,i);r.font=n,this._isInteractive(e)&&!t&&(s.font=n),a.fill&&(a.fill instanceof $?r.fillStyle=a.fill.toCSS(a.fillOpacity!=null?a.fillOpacity:1):r.fillStyle=a.fill),a.shadowColor&&(e.layer.context.shadowColor=a.shadowColor.toCSS(a.shadowOpacity||1)),a.shadowBlur&&(e.layer.context.shadowBlur=a.shadowBlur),a.shadowOffsetX&&(e.layer.context.shadowOffsetX=a.shadowOffsetX),a.shadowOffsetY&&(e.layer.context.shadowOffsetY=a.shadowOffsetY),this._shared(r),this._isInteractive(e)&&!t&&(s.fillStyle=this._getColorId(),this._shared(s))}_getFontStyle(e,t=!1){let i=this.style,r=[];return e&&e.fontVariant?r.push(e.fontVariant):i.fontVariant&&r.push(i.fontVariant),t||(e&&e.fontWeight?r.push(e.fontWeight):i.fontWeight&&r.push(i.fontWeight)),e&&e.fontStyle?r.push(e.fontStyle):i.fontStyle&&r.push(i.fontStyle),e&&e.fontSize?(S(e.fontSize)&&(e.fontSize=e.fontSize+"px"),r.push(e.fontSize)):i.fontSize&&(S(i.fontSize)&&(i.fontSize=i.fontSize+"px"),r.push(i.fontSize)),e&&e.fontFamily?r.push(e.fontFamily):i.fontFamily?r.push(i.fontFamily):r.length&&r.push("Arial"),r.join(" ")}_render(e,t=0){if(this._textInfo||this._measure(e),this.textVisible){let i=this._isInteractive(e),r=e.layer.context,s=e.layer.dirty,a=this._renderer._ghostLayer.context,n=this._ghostOnly(t),o=this._drawGhost(e,t);r.save(),a.save(),this._prerender(e),w(this._textInfo,(c,m)=>{w(c.textChunks,(u,h)=>{if(u.style&&(r.save(),a.save(),n||(r.font=u.style),this._isInteractive(e)&&(a.font=u.style)),u.fill&&(r.save(),n||(r.fillStyle=u.fill.toCSS())),s&&!n&&r.fillText(u.text,u.offsetX,c.offsetY+u.offsetY),u.textDecoration=="underline"||u.textDecoration=="line-through"){let l=1,p=1,g=u.height,d=this.style.oversizedBehavior||"";if(["truncate","wrap","wrap-no-break"].indexOf(d)>-1){let _=this._measureText(u.text,r);u.width=_.actualBoundingBoxLeft+_.actualBoundingBoxRight}let f=u.offsetX;switch(this.style.textAlign){case"right":case"end":f-=u.width;break;case"center":f-=u.width/2;break}if(u.style)switch(J.getTextStyle(u.style).fontWeight){case"bolder":case"bold":case"700":case"800":case"900":l=2;break}g&&(p=g/20);let v;u.textDecoration=="line-through"?v=l+c.offsetY+u.offsetY-u.height/2:v=l+p*1.5+c.offsetY+u.offsetY,n||(r.save(),r.beginPath(),u.fill?r.strokeStyle=u.fill.toCSS():this.style.fill&&this.style.fill instanceof $&&(r.strokeStyle=this.style.fill.toCSS()),r.lineWidth=l*p,r.moveTo(f,v),r.lineTo(f+u.width,v),r.stroke(),r.restore())}i&&this.interactive&&o&&a.fillText(u.text,u.offsetX,c.offsetY+u.offsetY),u.fill&&r.restore(),u.style&&(r.restore(),a.restore())})}),r.restore(),a.restore()}}_addBounds(e){if(this.visible&&this.isMeasured){let t=this._measure({inactive:this.inactive,layer:this.getLayer()});L(e,{x:t.left,y:t.top}),L(e,{x:t.right,y:t.bottom})}}_ignoreFontWeight(){return/apple/i.test(navigator.vendor)}_measure(e){let t=e.layer.context,i=this._renderer._ghostLayer.context,r=this.style.direction=="rtl";this._textInfo=[];let s=this.style.oversizedBehavior,a=this.style.maxWidth,n=S(a)&&s=="truncate",o=S(a)&&(s=="wrap"||s=="wrap-no-break");t.save(),i.save(),this._prerender(e,!0,this._ignoreFontWeight());let c="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",m=this.text.toString().replace(/\r/g,"").split(/\n/),u=!0,h=0,l=0,p=0,g;w(m,(f,v)=>{let _;for(f==""?_=[{type:"value",text:""}]:_=J.chunk(f,!1,this.style.ignoreFormatting);_.length>0;){let y={offsetY:p,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]},x=this._measureText(c,t),O=x.actualBoundingBoxAscent+x.actualBoundingBoxDescent;y.height=O,y.ascent=x.actualBoundingBoxAscent;let P,D=this.style.textDecoration,z,C,T=!1,H=!0,R=[],Ve;yt(_,(G,Qt)=>{if(G.type=="format")if(G.text=="[/]")u||(t.restore(),i.restore(),u=!0),z=void 0,g=void 0,C=void 0,D=this.style.textDecoration,Ve=void 0,P=G.text;else{u||(t.restore(),i.restore());let B=J.getTextStyle(G.text),te=this._getFontStyle(B);t.save(),i.save(),t.font=te,g=te,P=G.text,B.textDecoration&&(D=B.textDecoration),B.fill&&(z=B.fill),B.width&&(C=V(B.width)),B.verticalAlign&&(Ve=B.verticalAlign),u=!1;let ne=this._measureText(c,t),me=ne.actualBoundingBoxAscent+ne.actualBoundingBoxDescent;me>y.height&&(y.height=me),ne.actualBoundingBoxAscent>y.ascent&&(y.ascent=ne.actualBoundingBoxAscent)}else if(G.type=="value"&&!T){let B=this._measureText(G.text,t),te=B.actualBoundingBoxLeft+B.actualBoundingBoxRight;if(n){this.truncated=void 0;let oe=H||this.style.breakWords||!1,Ie=this.style.ellipsis||"",Wi=this._measureText(Ie,t),Dr=Wi.actualBoundingBoxLeft+Wi.actualBoundingBoxRight;if(y.width+te>a){let Mr=a-y.width-Dr;G.text=this._truncateText(t,G.text,Mr,oe),G.text+=Ie,T=!0,this.truncated=!0}}else if(o&&y.width+te>a){let oe=a-y.width,Ie=this._truncateText(t,G.text,oe,!1,H&&this.style.oversizedBehavior!="wrap-no-break");if(Ie=="")return this.textVisible=!0,!1;R=_.slice(Qt+1),Ft(Ie)!=Ft(G.text)&&(R.unshift({type:"value",text:G.text.substr(Ie.length)}),P&&R.unshift({type:"format",text:P})),G.text=Ft(Ie),_=[],T=!0}let ne=1,me=1;if(g&&C&&C>te){let oe=te/C;switch(this.style.textAlign){case"right":case"end":ne=oe;break;case"center":ne=oe,me=oe;break;default:me=oe}te=C}let bt=B.actualBoundingBoxAscent+B.actualBoundingBoxDescent;bt>y.height&&(y.height=bt),B.actualBoundingBoxAscent>y.ascent&&(y.ascent=B.actualBoundingBoxAscent),y.width+=te,y.left+=B.actualBoundingBoxLeft/ne,y.right+=B.actualBoundingBoxRight/me,y.textChunks.push({style:g,fill:z,text:G.text,width:te,height:bt,left:B.actualBoundingBoxLeft,right:B.actualBoundingBoxRight,ascent:B.actualBoundingBoxAscent,offsetX:0,offsetY:0,textDecoration:D,verticalAlign:Ve}),H=!1}return!0}),this.style.lineHeight instanceof q?(y.height*=this.style.lineHeight.value,y.ascent*=this.style.lineHeight.value):(y.height*=this.style.lineHeight||1.2,y.ascent*=this.style.lineHeight||1.2),h<y.left&&(h=y.left),l<y.right&&(l=y.right),this._textInfo.push(y),p+=y.height,_=R||[]}}),u||(t.restore(),i.restore()),w(this._textInfo,(f,v)=>{let _=0;w(f.textChunks,y=>{if(y.offsetX=_+y.left-f.left,y.offsetY+=f.height-f.height*(this.style.baselineRatio||.19),_+=y.width*(r?-1:1),y.verticalAlign)switch(y.verticalAlign){case"super":y.offsetY-=f.height/2-y.height/2;break;case"sub":y.offsetY+=y.height/2;break}})});let d={left:r?-l:-h,top:0,right:r?h:l,bottom:p};if(s!=="none"){let f=this._fitRatio(d);if(f<1)if(s=="fit")S(this.style.minScale)&&f<this.style.minScale?(this.textVisible=!1,d.left=0,d.top=0,d.right=0,d.bottom=0):(this._originalScale||(this._originalScale=this.scale),this.scale=f,this.textVisible=!0);else if(s=="hide")this.textVisible=!1,d.left=0,d.top=0,d.right=0,d.bottom=0;else{switch(this.style.textAlign){case"right":case"end":d.left=r?a:-a,d.right=0;break;case"center":d.left=-a/2,d.right=a/2;break;default:d.left=0,d.right=r?-a:a}this.scale=this._originalScale||1,this._originalScale=void 0,this.textVisible=!0}else this.scale=this._originalScale||1,this._originalScale=void 0,this.textVisible=!0}return t.restore(),i.restore(),d}_fitRatio(e){let t=this.style.maxWidth,i=this.style.maxHeight;if(!S(t)&&!S(i))return 1;let r=e.right-e.left,s=e.bottom-e.top;return Math.min(t/r||1,i/s||1)}_truncateText(e,t,i,r=!1,s=!0){let a;do{if(r)t=t.slice(0,-1);else{let o=t.replace(/[^,;:!?\\\/\s]+[,;:!?\\\/\s]*$/g,"");if((o==""||o===t)&&s)r=!0;else{if(o=="")return t;t=o}}let n=this._measureText(t,e);a=n.actualBoundingBoxLeft+n.actualBoundingBoxRight}while(a>i&&t!="");return t}_measureText(e,t){let i=t.measureText(e),r={};if(i.actualBoundingBoxAscent==null){let a=document.createElement("div");a.innerText=e,a.style.visibility="hidden",a.style.position="absolute",a.style.top="-1000000px;",a.style.fontFamily=this.style.fontFamily||"",a.style.fontSize=this.style.fontSize+"",document.body.appendChild(a);let n=a.getBoundingClientRect();document.body.removeChild(a);let o=n.height,c=i.width;r={actualBoundingBoxAscent:o,actualBoundingBoxDescent:0,actualBoundingBoxLeft:0,actualBoundingBoxRight:c,fontBoundingBoxAscent:o,fontBoundingBoxDescent:0,width:c}}else r={actualBoundingBoxAscent:i.actualBoundingBoxAscent,actualBoundingBoxDescent:i.actualBoundingBoxDescent,actualBoundingBoxLeft:i.actualBoundingBoxLeft,actualBoundingBoxRight:i.actualBoundingBoxRight,fontBoundingBoxAscent:i.actualBoundingBoxAscent,fontBoundingBoxDescent:i.actualBoundingBoxDescent,width:i.width};let s=i.width;switch(this.style.textAlign){case"right":case"end":r.actualBoundingBoxLeft=s,r.actualBoundingBoxRight=0;break;case"center":r.actualBoundingBoxLeft=s/2,r.actualBoundingBoxRight=s/2;break;default:r.actualBoundingBoxLeft=0,r.actualBoundingBoxRight=s}return r}},Li=class{constructor(){Object.defineProperty(this,"fill",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fillOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textAlign",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontFamily",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontWeight",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontVariant",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textDecoration",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowColor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowBlur",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lineHeight",{enumerable:!0,configurable:!0,writable:!0,value:be(120)}),Object.defineProperty(this,"baselineRatio",{enumerable:!0,configurable:!0,writable:!0,value:.19}),Object.defineProperty(this,"direction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textBaseline",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"oversizedBehavior",{enumerable:!0,configurable:!0,writable:!0,value:"none"}),Object.defineProperty(this,"breakWords",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ellipsis",{enumerable:!0,configurable:!0,writable:!0,value:"\u2026"}),Object.defineProperty(this,"maxWidth",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"maxHeight",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"minScale",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ignoreFormatting",{enumerable:!0,configurable:!0,writable:!0,value:!1})}},Ni=class extends qt{constructor(){super(...arguments),Object.defineProperty(this,"textType",{enumerable:!0,configurable:!0,writable:!0,value:"circular"}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startAngle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"inside",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"orientation",{enumerable:!0,configurable:!0,writable:!0,value:"auto"}),Object.defineProperty(this,"kerning",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_textReversed",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_render(e,t=0){switch(this.textType){case"circular":this._renderCircular(e,t);break;default:super._render(e,t);break}}_renderCircular(e,t=0){if(this.textVisible){this._prerender(e);let i=this._isInteractive(e),r=e.layer.context,s=e.layer.dirty,a=this._renderer._ghostLayer.context;r.save(),i&&a.save(),this._textInfo||this._measure(e);let n=this.radius||0,o=this.startAngle||0,c=0,m=this.orientation,u=m=="auto"?"auto":m=="inward",h=this.inside,l=this.style.textAlign||"left",p=this.kerning||0,g=l=="left"?1:-1,d=!this._textReversed,f=this._ghostOnly(t),v=this._drawGhost(e,t);if(u=="auto"){let _=0,y=0;w(this._textInfo,(x,O)=>{let P=o+x.width/(n-x.height)/2*-g;P>_&&(_=P)}),l=="left"?y=(_+c/2)*Ue:l=="right"?y=(_-c/2)*Ue:y=o*Ue,y=dr(y),u=y>=270||y<=90}u==!0&&d&&(this._textInfo.reverse(),this._textReversed=!0),w(this._textInfo,(_,y)=>{let x=_.height;h||(n+=x),(g==-1&&u||g==1&&!u)&&d&&_.textChunks.reverse();let O=o;c=0,l=="center"&&(O+=_.width/(n-x)/2*-g,c=O-o),O+=Math.PI*(u?0:1),r.save(),i&&a.save(),f||r.rotate(O),i&&a.rotate(O);let P=0;w(_.textChunks,(D,z)=>{let C=D.text,T=D.width;P=T/2/(n-x)*g,f||r.rotate(P),i&&a.rotate(P),D.style&&(r.save(),a.save(),f||(r.font=D.style),i&&(a.font=D.style)),D.fill&&(r.save(),f||(r.fillStyle=D.fill.toCSS())),f||(r.textBaseline="middle",r.textAlign="center"),i&&(a.textBaseline="middle",a.textAlign="center"),s&&!f&&r.fillText(C,0,(u?1:-1)*(0-n+x/2)),i&&v&&a.fillText(C,0,(u?1:-1)*(0-n+x/2)),D.fill&&r.restore(),D.style&&(r.restore(),a.restore()),P=(T/2+p)/(n-x)*g,f||r.rotate(P),i&&a.rotate(P)}),r.restore(),i&&a.restore(),h&&(n-=x)}),r.restore(),i&&a.restore()}}_measure(e){switch(this.textType){case"circular":return this._measureCircular(e);default:return super._measure(e)}}_measureCircular(e){let t=e.layer.context,i=this._renderer._ghostLayer.context,r=this.style.direction=="rtl",s=this.style.oversizedBehavior,a=this.style.maxWidth,n=S(a)&&s=="truncate",o=this.style.ellipsis||"",c;this.textVisible=!0,this._textInfo=[],this._textReversed=!1,t.save(),i.save(),this._prerender(e,!0);let m=this.text.toString().replace(/\r/g,"").split(/\n/),u=!0,h=0,l=0;return w(m,(p,g)=>{let d=J.chunk(p,!1,this.style.ignoreFormatting),f={offsetY:l,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]},v,_,y;w(d,(x,O)=>{if(x.type=="format"){if(x.text=="[/]")u||(t.restore(),i.restore(),u=!0),_=void 0,v=void 0,y=void 0;else{let P=J.getTextStyle(x.text),D=this._getFontStyle(P);t.save(),i.save(),t.font=D,v=D,P.fill&&(_=P.fill),P.width&&(y=V(P.width)),u=!1}n&&(c=this._measureText(o,t))}else if(x.type=="value"){let P=x.text.match(/./ug)||[];r&&(P=nr(x.text),P.reverse());for(let D=0;D<P.length;D++){let z=P[D],C=this._measureText(z,t),T=C.width;v&&y&&y>T&&(T=y);let H=C.actualBoundingBoxAscent+C.actualBoundingBoxDescent;if(H>f.height&&(f.height=H),C.actualBoundingBoxAscent>f.ascent&&(f.ascent=C.actualBoundingBoxAscent),h+=T,n){c||(c=this._measureText(o,t));let R=c.actualBoundingBoxLeft+c.actualBoundingBoxRight;if(h+R>a){f.textChunks.length==1?this.textVisible=!1:(f.width+=R,f.left+=c.actualBoundingBoxLeft,f.right+=c.actualBoundingBoxRight,f.textChunks.push({style:v,fill:_,text:o,width:R,height:H+c.actualBoundingBoxDescent,left:c.actualBoundingBoxLeft,right:c.actualBoundingBoxRight,ascent:c.actualBoundingBoxAscent,offsetX:0,offsetY:H,textDecoration:void 0}));break}}f.width+=T,f.left+=C.actualBoundingBoxLeft,f.right+=C.actualBoundingBoxRight,f.textChunks.push({style:v,fill:_,text:z,width:T,height:H+C.actualBoundingBoxDescent,left:C.actualBoundingBoxLeft,right:C.actualBoundingBoxRight,ascent:C.actualBoundingBoxAscent,offsetX:0,offsetY:H,textDecoration:void 0})}}}),this.style.lineHeight instanceof q?f.height*=this.style.lineHeight.value:f.height*=this.style.lineHeight||1.2,this._textInfo.push(f),l+=f.height}),u||(t.restore(),i.restore()),s=="hide"&&h>a&&(this.textVisible=!1),w(this._textInfo,p=>{w(p.textChunks,g=>{g.offsetY+=Math.round((p.height-g.height+(p.ascent-g.ascent))/2)})}),t.restore(),i.restore(),{left:0,top:0,right:0,bottom:0}}},zi=class extends qe{constructor(e,t){super(e),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"image",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tainted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowColor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowBlur",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_imageMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.image=t}_dispose(){super._dispose(),this._imageMask&&Et(this._imageMask)}getLocalBounds(){if(!this._localBounds){let e=0,t=0;this.width&&(e=this.width),this.height&&(t=this.height),this._localBounds={left:0,top:0,right:e,bottom:t},this._addBounds(this._localBounds)}return this._localBounds}_render(e,t=0){if(super._render(e),this.image){if(this.tainted===void 0&&(this.tainted=Or(this.image),e.layer.tainted=!0),this.tainted&&this._renderer._omitTainted)return;let i=this._ghostOnly(t),r=this._drawGhost(e,t);if(e.layer.dirty&&!i){this.shadowColor&&(e.layer.context.shadowColor=this.shadowColor.toCSS(this.shadowOpacity||1)),this.shadowBlur&&(e.layer.context.shadowBlur=this.shadowBlur),this.shadowOffsetX&&(e.layer.context.shadowOffsetX=this.shadowOffsetX),this.shadowOffsetY&&(e.layer.context.shadowOffsetY=this.shadowOffsetY);let s=this.width||this.image.naturalWidth,a=this.height||this.image.naturalHeight;e.layer.context.drawImage(this.image,0,0,s,a)}if(this.interactive&&this._isInteractive(e)&&r){let s=this._getMask(this.image);this._renderer._ghostLayer.context.drawImage(s,0,0)}}}clear(){super.clear(),this.image=void 0,this._imageMask=void 0}_getMask(e){if(this._imageMask===void 0){let t=this.width||e.naturalWidth,i=this.height||e.naturalHeight,r=document.createElement("canvas");r.width=t,r.height=i;let s=r.getContext("2d");s.imageSmoothingEnabled=!1,s.fillStyle=this._getColorId(),s.fillRect(0,0,t,i),Or(e)||(s.globalCompositeOperation="destination-in",s.drawImage(e,0,0,t,i)),this._imageMask=r}return this._imageMask}},Fi=class{constructor(e,t,i,r){Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"originalPoint",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"point",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"bbox",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"simulated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"native",{enumerable:!0,configurable:!0,writable:!0,value:!0}),de("touchevents")&&e instanceof Touch?this.id=e.identifier:this.id=null}},At=class extends ti{constructor(e){if(super(),Object.defineProperty(this,"view",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("div")}),Object.defineProperty(this,"_layerDom",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("div")}),Object.defineProperty(this,"layers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_dirtyLayers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"defaultLayer",{enumerable:!0,configurable:!0,writable:!0,value:this.getLayer(0)}),Object.defineProperty(this,"_ghostLayer",{enumerable:!0,configurable:!0,writable:!0,value:new Ri}),Object.defineProperty(this,"_deferredGhostLayers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_patternCanvas",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("canvas")}),Object.defineProperty(this,"_patternContext",{enumerable:!0,configurable:!0,writable:!0,value:this._patternCanvas.getContext("2d")}),Object.defineProperty(this,"_realWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_realHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_calculatedWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_calculatedHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"resolution",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"interactionsEnabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_events",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_colorId",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_colorMap",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_forceInteractive",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_omitTainted",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_hovering",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"_dragging",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_mousedown",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_lastPointerMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tapToActivate",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"tapToActivateTimeout",{enumerable:!0,configurable:!0,writable:!0,value:3e3}),Object.defineProperty(this,"_touchActive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_touchActiveTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e==null?this.resolution=window.devicePixelRatio:this.resolution=e,this.view.style.position="absolute",this.view.setAttribute("aria-hidden","true"),this.view.appendChild(this._layerDom),this._disposers.push(new he(()=>{Y(this._events,(t,i)=>{i.disposer.dispose()}),w(this.layers,t=>{Et(t.view),t.exportableView&&Et(t.exportableView)}),Et(this._ghostLayer.view),Et(this._patternCanvas)})),this._disposers.push(Lt(()=>{e==null&&(this.resolution=window.devicePixelRatio)})),de("touchevents")){let t=i=>{this._dragging.length!==0&&yt(this._dragging,r=>r.value.shouldCancelTouch()?(i.preventDefault(),!1):!0),this._touchActiveTimeout&&this._delayTouchDeactivate()};this._disposers.push(M(window,"touchstart",t,{passive:!1})),this._disposers.push(M(this.view,"touchstart",t,{passive:!1})),this._disposers.push(M(this.view,"touchmove",()=>{this._touchActiveTimeout&&this._delayTouchDeactivate()},{passive:!0})),this._disposers.push(M(window,"click",i=>{this._touchActive=!1},{passive:!0})),this._disposers.push(M(this.view,"click",i=>{window.setTimeout(()=>{this._touchActive=!0,this._delayTouchDeactivate()},100)},{passive:!0}))}de("wheelevents")&&this._disposers.push(M(this.view,"wheel",t=>{let i=!1;this._hovering.forEach(r=>{if(r.wheelable)return i=!0,!1}),i&&t.preventDefault()},{passive:!1}))}resetImageArray(){this._ghostLayer.imageArray=void 0}_delayTouchDeactivate(){this._touchActiveTimeout&&clearTimeout(this._touchActiveTimeout),this.tapToActivateTimeout>0&&(this._touchActiveTimeout=window.setTimeout(()=>{this._touchActive=!1},this.tapToActivateTimeout))}get debugGhostView(){return!!this._ghostLayer.view.parentNode}set debugGhostView(e){e?this._ghostLayer.view.parentNode||this.view.appendChild(this._ghostLayer.view):this._ghostLayer.view.parentNode&&this._ghostLayer.view.parentNode.removeChild(this._ghostLayer.view)}createLinearGradient(e,t,i,r){return this.defaultLayer.context.createLinearGradient(e,t,i,r)}createRadialGradient(e,t,i,r,s,a){return this.defaultLayer.context.createRadialGradient(e,t,i,r,s,a)}createPattern(e,t,i,r,s){return this._patternCanvas.width=r,this._patternCanvas.height=s,this._patternContext.clearRect(0,0,r,s),t.renderDetached(this._patternContext),e.renderDetached(this._patternContext),this._patternContext.createPattern(this._patternCanvas,i)}makeContainer(){return new gi(this)}makeGraphics(){return new Ai(this)}makeText(e,t){return new qt(this,e,t)}makeTextStyle(){return new Li}makeRadialText(e,t){return new Ni(this,e,t)}makePicture(e){return new zi(this,e)}resizeLayer(e){e.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(e,t,i,r){this._realWidth=e,this._realHeight=t,this._calculatedWidth=i,this._calculatedHeight=r,w(this.layers,s=>{s&&(s.dirty=!0,this.resizeLayer(s))}),this.resizeGhost(),this.view.style.width=i+"px",this.view.style.height=r+"px"}createDetachedLayer(e=!1){let t=document.createElement("canvas"),i=t.getContext("2d",{willReadFrequently:e}),r=new Kt(t,i);return t.style.position="absolute",t.style.top="0px",t.style.left="0px",r}getLayerByOrder(e){let t=this.layers,i=t.length;for(let r=0;r<i;r++){let s=t[r];if(s.order==e)return s}}getLayer(e,t=!0){let i=this.getLayerByOrder(e);if(i)return i;let r=this.createDetachedLayer(e==99);r.order=e,r.visible=t,r.view.className="am5-layer-"+e,r.visible&&this.resizeLayer(r);let s=this.layers;s.push(r),s.sort((c,m)=>c.order>m.order?1:c.order<m.order?-1:0);let a=s.length,n=Xi(s,r),o;for(let c=n+1;c<a;c++)if(s[c].visible){o=s[c];break}return r.visible&&(o===void 0?this._layerDom.appendChild(r.view):this._layerDom.insertBefore(r.view,o.view)),r}render(e){this._dirtyLayers.length=0,this._deferredGhostLayers=[],w(this.layers,i=>{i&&i.dirty&&i.visible&&(this._dirtyLayers.push(i),i.clear())}),this._ghostLayer.clear(),e.render({inactive:null,layer:this.defaultLayer});let t=this._deferredGhostLayers;if(t.length&&(t.sort((i,r)=>i-r),w(t,i=>{e.render({inactive:null,layer:this.defaultLayer},i)})),this._ghostLayer.context.restore(),w(this.layers,i=>{if(i){let r=i.context;r.beginPath(),r.moveTo(0,0),r.stroke()}}),w(this._dirtyLayers,i=>{i.context.restore(),i.dirty=!1}),this._hovering.size&&this._lastPointerMoveEvent){let{events:i,target:r,native:s}=this._lastPointerMoveEvent;w(i,a=>{this._dispatchGlobalMousemove(a,r,s)})}}paintId(e){let t=Fr(++this._colorId),i=$.fromHex(t).toCSS();return this._colorMap[i]=e,i}_removeObject(e){e._colorId!==void 0&&delete this._colorMap[e._colorId]}_adjustBoundingBox(e){let t=this._ghostLayer.margin;return new DOMRect(-t.left,-t.top,e.width+t.left+t.right,e.height+t.top+t.bottom)}getEvent(e,t=!0){let i=this.view.getBoundingClientRect(),r=e.clientX||0,s=e.clientY||0,a=this._calculatedWidth/this._realWidth,n=this._calculatedHeight/this._realHeight,o={x:r-i.left,y:s-i.top},c={x:(r-(t?i.left:0))*a,y:(s-(t?i.top:0))*n};return new Fi(e,o,c,this._adjustBoundingBox(i))}_getHitTarget(e,t,i){if(t.width===0||t.height===0||e.x<t.left||e.x>t.right||e.y<t.top||e.y>t.bottom||!i||!this._layerDom.contains(i))return;let r=this._ghostLayer.getImageData(e,t);if(r.data[0]===0&&r.data[1]===0&&r.data[2]===0)return!1;let s=$.fromRGB(r.data[0],r.data[1],r.data[2]).toCSS();return this._colorMap[s]}getObjectAtPoint(e){let t=this._ghostLayer.getImageArray(e);if(t[0]===0&&t[1]===0&&t[2]===0)return;let i=$.fromRGB(t[0],t[1],t[2]).toCSS();return this._colorMap[i]}_withEvents(e,t){let i=this._events[e];if(i!==void 0){i.dispatching=!0;try{t(i)}finally{i.dispatching=!1,i.cleanup&&(i.cleanup=!1,We(i.callbacks,r=>!r.disposed),i.callbacks.length===0&&(i.disposer.dispose(),delete this._events[e]))}}}_dispatchEventAll(e,t){this.interactionsEnabled&&this._withEvents(e,i=>{w(i.callbacks,r=>{r.disposed||r.callback.call(r.context,t)})})}_dispatchEvent(e,t,i){if(!this.interactionsEnabled)return!1;let r=!1;return this._withEvents(e,s=>{w(s.callbacks,a=>{!a.disposed&&a.object===t&&(a.callback.call(a.context,i),r=!0)})}),r}_dispatchMousedown(e,t){let i=e.button;if(i!=0&&i!=2&&i!=1&&i!==void 0)return;let r=this.getEvent(e),s=this._getHitTarget(r.originalPoint,r.bbox,t);if(s){let a=r.id,n=!1;Zt(s,o=>{let c={id:a,value:o};return this._mousedown.push(c),!n&&this._dispatchEvent("pointerdown",o,r)&&(n=!0,this._dragging.some(u=>u.value===o&&u.id===a)||this._dragging.push(c)),!0})}}_dispatchGlobalMousemove(e,t,i){let r=this.getEvent(e),s=this._getHitTarget(r.originalPoint,r.bbox,t);r.native=i,s?(this._hovering.forEach(a=>{a.contains(s)||(this._hovering.delete(a),a.cursorOverStyle&&xt(document.body,"cursor",a._replacedCursorStyle),this._dispatchEvent("pointerout",a,r))}),r.native&&Zt(s,a=>(this._hovering.has(a)||(this._hovering.add(a),a.cursorOverStyle&&(a._replacedCursorStyle=tr(document.body,"cursor"),xt(document.body,"cursor",a.cursorOverStyle)),this._dispatchEvent("pointerover",a,r)),!0))):(this._hovering.forEach(a=>{a.cursorOverStyle&&xt(document.body,"cursor",a._replacedCursorStyle),this._dispatchEvent("pointerout",a,r)}),this._hovering.clear()),this._dispatchEventAll("globalpointermove",r)}removeHovering(e){this._hovering.delete(e),e.cursorOverStyle&&xt(document.body,"cursor",e._replacedCursorStyle)}_dispatchGlobalMouseup(e,t){let i=this.getEvent(e);i.native=t,this._dispatchEventAll("globalpointerup",i)}_dispatchDragMove(e){if(this._dragging.length!==0){let t=this.getEvent(e),i=t.id;this._dragging.forEach(r=>{r.id===i&&this._dispatchEvent("pointermove",r.value,t)})}}_dispatchDragEnd(e,t){let i=e.button,r;if(i==0||i===void 0)r="click";else if(i==2)r="rightclick";else if(i==1)r="middleclick";else return;let s=this.getEvent(e),a=s.id;if(this._mousedown.length!==0){let n=this._getHitTarget(s.originalPoint,s.bbox,t);n&&this._mousedown.forEach(o=>{o.id===a&&o.value.contains(n)&&this._dispatchEvent(r,o.value,s)}),this._mousedown.length=0}this._dragging.length!==0&&(this._dragging.forEach(n=>{n.id===a&&this._dispatchEvent("pointerup",n.value,s)}),this._dragging.length=0)}_dispatchDoubleClick(e,t){let i=this.getEvent(e),r=this._getHitTarget(i.originalPoint,i.bbox,t);r&&Zt(r,s=>!this._dispatchEvent("dblclick",s,i))}_dispatchWheel(e,t){let i=this.getEvent(e),r=this._getHitTarget(i.originalPoint,i.bbox,t);r&&Zt(r,s=>!this._dispatchEvent("wheel",s,i))}_makeSharedEvent(e,t){if(this._listeners[e]===void 0){let i=t();this._listeners[e]=new wt(()=>{delete this._listeners[e],i.dispose()})}return this._listeners[e].increment()}_onPointerEvent(e,t){let i=!1,r=null;function s(){r=null,i=!1}return new ce([new he(()=>{r!==null&&clearTimeout(r),s()}),M(this.view,zt(e),a=>{i=!0,r!==null&&clearTimeout(r),r=window.setTimeout(s,0)}),Rr(window,e,(a,n)=>{r!==null&&(clearTimeout(r),r=null),t(a,n,i),i=!1})])}_initEvent(e){switch(e){case"globalpointermove":case"pointerover":case"pointerout":return this._makeSharedEvent("pointermove",()=>{let t=(i,r,s)=>{this._lastPointerMoveEvent={events:i,target:r,native:s},w(i,a=>{this._dispatchGlobalMousemove(a,r,s)})};return new ce([this._onPointerEvent("pointerdown",t),this._onPointerEvent("pointermove",t)])});case"globalpointerup":return this._makeSharedEvent("pointerup",()=>{let t=this._onPointerEvent("pointerup",(r,s,a)=>{w(r,n=>{this._dispatchGlobalMouseup(n,a)}),this._lastPointerMoveEvent={events:r,target:s,native:a}}),i=this._onPointerEvent("pointercancel",(r,s,a)=>{w(r,n=>{this._dispatchGlobalMouseup(n,a)}),this._lastPointerMoveEvent={events:r,target:s,native:a}});return new he(()=>{t.dispose(),i.dispose()})});case"click":case"rightclick":case"middleclick":case"pointerdown":case"pointermove":case"pointerup":return this._makeSharedEvent("pointerdown",()=>{let t=this._onPointerEvent("pointerdown",(a,n)=>{w(a,o=>{this._dispatchMousedown(o,n)})}),i=this._onPointerEvent("pointermove",a=>{w(a,n=>{this._dispatchDragMove(n)})}),r=this._onPointerEvent("pointerup",(a,n)=>{w(a,o=>{this._dispatchDragEnd(o,n)})}),s=this._onPointerEvent("pointercancel",(a,n)=>{w(a,o=>{this._dispatchDragEnd(o,n)})});return new he(()=>{t.dispose(),i.dispose(),r.dispose(),s.dispose()})});case"dblclick":return this._makeSharedEvent("dblclick",()=>this._onPointerEvent("dblclick",(t,i)=>{w(t,r=>{this._dispatchDoubleClick(r,i)})}));case"wheel":return this._makeSharedEvent("wheel",()=>M(this.view,zt("wheel"),t=>{this._dispatchWheel(t,ii(t))},{passive:!1}))}}_addEvent(e,t,i,r){let s=this._events[t];s===void 0&&(s=this._events[t]={disposer:this._initEvent(t),callbacks:[],dispatching:!1,cleanup:!1});let a={object:e,context:r,callback:i,disposed:!1};return s.callbacks.push(a),new he(()=>{a.disposed=!0,s.dispatching?s.cleanup=!0:(_t(s.callbacks,a),s.callbacks.length===0&&(s.disposer.dispose(),delete this._events[t]))})}getCanvas(e,t){this.render(e),t||(t={});let i=this.resolution,r=Math.floor(this._calculatedWidth*this.resolution),s=Math.floor(this._calculatedHeight*this.resolution);if(t.minWidth&&t.minWidth>r){let l=t.minWidth/r;l>i&&(i=l*this.resolution)}if(t.minHeight&&t.minHeight>s){let l=t.minHeight/s;l>i&&(i=l*this.resolution)}if(t.maxWidth&&t.maxWidth<r){let l=t.maxWidth/r;l<i&&(i=l*this.resolution)}if(t.maxHeight&&t.maxHeight>s){let l=t.maxHeight/s;l<i&&(i=l*this.resolution)}t.maintainPixelRatio&&(i/=this.resolution);let a=[],n=!1,o=document.createElement("canvas");i!=this.resolution&&(n=!0,r=r*i/this.resolution,s=s*i/this.resolution),o.width=r,o.height=s,o.style.position="fixed",o.style.top="-10000px",this.view.appendChild(o),a.push(o);let c=o.getContext("2d"),m=0,u=0,h=!1;return w(this.layers,l=>{if(l&&l.visible&&(l.tainted||n)){h=!0,l.exportableView=l.view,l.exportableContext=l.context,l.view=document.createElement("canvas"),l.view.style.position="fixed",l.view.style.top="-10000px",this.view.appendChild(l.view),a.push(l.view);let p=0,g=0;l.margin&&(p+=l.margin.left||0+l.margin.right||0,g+=l.margin.top||0+l.margin.bottom||0),l.view.width=r+p,l.view.height=s+g,l.context=l.view.getContext("2d"),l.dirty=!0,l.scale=i}}),h&&(this._omitTainted=!0,this.render(e),this._omitTainted=!1),w(this.layers,l=>{if(l&&l.visible){let p=0,g=0;l.margin&&(p=-(l.margin.left||0)*this.resolution,g=-(l.margin.top||0)*this.resolution),c.drawImage(l.view,p,g),l.exportableView&&(l.view=l.exportableView,l.exportableView=void 0),l.exportableContext&&(l.context=l.exportableContext,l.exportableContext=void 0),m<l.view.clientWidth&&(m=l.view.clientWidth),u<l.view.clientHeight&&(u=l.view.clientHeight),l.scale=void 0}}),o.style.width=m+"px",o.style.height=u+"px",w(a,l=>{l.style.position="",l.style.top="",this.view.removeChild(l)}),o}},Ri=class{constructor(){Object.defineProperty(this,"view",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"margin",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_resolution",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_width",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_height",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"imageArray",{enumerable:!0,configurable:!0,writable:!0,value:void 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(e,t,i,r,s){this._resolution=s,e+=this.margin.left+this.margin.right,t+=this.margin.top+this.margin.bottom,i+=this.margin.left+this.margin.right,r+=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(e*s),this._height=Math.floor(t*s),this.view.width=this._width,this.view.style.width=i+"px",this.view.height=this._height,this.view.style.height=r+"px"}getImageData(e,t){return this.context.getImageData(Math.round((e.x-t.left)/t.width*this._width),Math.round((e.y-t.top)/t.height*this._height),1,1)}getImageArray(e){this.imageArray||(this.imageArray=this.context.getImageData(0,0,this._width,this._height).data);let t=this.imageArray,i=Math.round(e.x*this._resolution),s=(Math.round(e.y*this._resolution)*this._width+i)*4;return[t[s],t[s+1],t[s+2],t[s+3]]}setMargin(e){this.margin.left=0,this.margin.right=0,this.margin.top=0,this.margin.bottom=0,w(e,t=>{t.margin&&(this.margin.left=Math.max(this.margin.left,t.margin.left),this.margin.right=Math.max(this.margin.right,t.margin.right),this.margin.top=Math.max(this.margin.top,t.margin.top),this.margin.bottom=Math.max(this.margin.bottom,t.margin.bottom))})}clear(){this.context.save(),this.context.fillStyle="#000",this.context.fillRect(0,0,this._width,this._height)}},Kt=class{constructor(e,t){Object.defineProperty(this,"view",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tainted",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"margin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"order",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"visible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"scale",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dirty",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"exportableView",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"exportableContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_width",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_height",{enumerable:!0,configurable:!0,writable:!0,value:0}),this.view=e,this.context=t}resize(e,t,i,r,s){this.width!=null&&(e=this.width,i=this.width),this.height!=null&&(t=this.height,r=this.height),this.margin?(e+=this.margin.left+this.margin.right,t+=this.margin.top+this.margin.bottom,i+=this.margin.left+this.margin.right,r+=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(e*s),this._height=Math.floor(t*s),this.view.width=this._width,this.view.style.width=i+"px",this.view.height=this._height,this.view.style.height=r+"px"}clear(){this.context.save(),this.context.clearRect(0,0,this._width,this._height)}};function Tr(b,e){b==null?requestAnimationFrame(e):setTimeout(()=>{requestAnimationFrame(e)},1e3/b)}var Hi=class b{constructor(e,t={},i){if(Object.defineProperty(this,"dom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_inner",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDirtyParents",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDirtyAnimation",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dirty",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyParents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyBounds",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyPositions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_ticker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_tickers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_updateTick",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new cr}),Object.defineProperty(this,"animationTime",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_animations",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_renderer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rootContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tooltipContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipContainerSettings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltip",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"language",{enumerable:!0,configurable:!0,writable:!0,value:Ut.new(this,{})}),Object.defineProperty(this,"locale",{enumerable:!0,configurable:!0,writable:!0,value:Xt}),Object.defineProperty(this,"utc",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timezone",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fps",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"numberFormatter",{enumerable:!0,configurable:!0,writable:!0,value:Tt.new(this,{})}),Object.defineProperty(this,"dateFormatter",{enumerable:!0,configurable:!0,writable:!0,value:St.new(this,{})}),Object.defineProperty(this,"durationFormatter",{enumerable:!0,configurable:!0,writable:!0,value:Dt.new(this,{})}),Object.defineProperty(this,"tabindex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tabindexes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_a11yD",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_focusElementDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_focusElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_focusedSprite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isShift",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_keyboardDragPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_readerAlertElement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_skipNextGroupJump",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_logo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipDiv",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nonce",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"interfaceColors",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"verticalLayout",{enumerable:!0,configurable:!0,writable:!0,value:hi.new(this,{})}),Object.defineProperty(this,"horizontalLayout",{enumerable:!0,configurable:!0,writable:!0,value:ui.new(this,{})}),Object.defineProperty(this,"gridLayout",{enumerable:!0,configurable:!0,writable:!0,value:ci.new(this,{})}),Object.defineProperty(this,"_paused",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"autoResize",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_fontHash",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"_isDisposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_resizeSensorDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltips",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_htmlElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_htmlEnabledContainers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"entitiesById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_systemTooltip",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=t,t.accessible==!1&&(this._a11yD=!0),t.useSafeResolution==null&&(t.useSafeResolution=!0);let r;t.useSafeResolution&&(r=sr()),this._renderer=new At(r);let s;if(e instanceof HTMLElement?s=e:s=document.getElementById(e),w($e.rootElements,o=>{if(o.dom===s)if($e.autoDispose)o.dispose();else throw new Error("You cannot have multiple Roots on the same DOM node")}),this.interfaceColors=Ae.new(this,{}),s===null)throw new Error("Could not find HTML element with id `"+e+"`");this.dom=s;let a=document.createElement("div");a.style.position="relative",a.style.width="100%",a.style.height="100%",s.appendChild(a);let n=t.tooltipContainerBounds;n&&(this._tooltipContainerSettings=n),this._inner=a,this._updateComputedStyles(),$e.rootElements.push(this)}static new(e,t){let i=new b(e,t,!0);return i._init(),i}moveDOM(e){let t;if(e instanceof HTMLElement?t=e:t=document.getElementById(e),t){for(;this.dom.childNodes.length>0;)t.appendChild(this.dom.childNodes[0]);this.dom=t,this._initResizeSensor(),this.resize()}}_handleLogo(){if(this._logo){let e=this.dom.offsetWidth,t=this.dom.offsetHeight;e<=150||t<=60?this._logo.hide():this._logo.show()}}_showBranding(){if(!this._logo){let e=this.tooltipContainer.children.push(k.new(this,{interactive:!0,interactiveChildren:!1,position:"absolute",setStateOnChildren:!0,paddingTop:9,paddingRight:9,paddingBottom:9,paddingLeft:9,scale:.6,y:be(100),centerY:A,tooltipY:10,tooltipText:"Created using amCharts 5",tooltipX:A,cursorOverStyle:"pointer",background:Pe.new(this,{fill:K(4671320),fillOpacity:0,tooltipY:5})}));e.set("tooltip",this.systemTooltip),e.events.on("click",()=>{window.open("https://www.amcharts.com/","_blank")}),e.states.create("hover",{});let t=e.children.push(j.new(this,{stroke:K(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}));t.states.create("hover",{stroke:K(3976191)});let i=e.children.push(j.new(this,{stroke:K(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})),r=mr(pr),s=1500;e.setTimeout(()=>{i.animate({key:"strokeOpacity",to:1,duration:s,easing:r}),i.animate({key:"dx",to:0,duration:s,easing:r}),t.animate({key:"dx",to:0,duration:s,easing:r}),t.animate({key:"strokeOpacity",to:1,duration:s,easing:r})},3e3),i.states.create("hover",{stroke:K(4671320)}),this._logo=e,this._handleLogo()}}_getRealSize(){return this.dom.getBoundingClientRect()}_getCalculatedSize(e){return this._settings.calculateSize?this._settings.calculateSize(e):{width:e.width,height:e.height}}_init(){let e=this._settings;e.accessible!==!1&&(e.focusable&&(this._inner.setAttribute("focusable","true"),this._inner.setAttribute("tabindex",this.tabindex+"")),e.ariaLabel&&this._inner.setAttribute("aria-label",e.ariaLabel),e.role&&this._inner.setAttribute("role",e.role));let t=this._renderer,i=this._getRealSize(),r=this._getCalculatedSize(i),s=Math.floor(r.width),a=Math.floor(r.height),n=Math.floor(i.width),o=Math.floor(i.height),c=k.new(this,{visible:!0,width:s,height:a});this._rootContainer=c,this._rootContainer._defaultThemes.push(yr.new(this));let m=c.children.push(k.new(this,{visible:!0,width:A,height:A}));this.container=m,t.resize(n,o,s,a),this._inner.appendChild(t.view),this._initResizeSensor();let u=document.createElement("div");if(this._htmlElementContainer=u,u.className="am5-html-container",u.style.position="absolute",u.style.pointerEvents="none",this._tooltipContainerSettings||(u.style.overflow="hidden"),this._inner.appendChild(u),this._a11yD!==!0){let h=document.createElement("div");h.className="am5-reader-container",h.setAttribute("role","alert"),h.style.position="absolute",h.style.width="1px",h.style.height="1px",h.style.overflow="hidden",h.style.clip="rect(1px, 1px, 1px, 1px)",this._readerAlertElement=h,this._inner.appendChild(this._readerAlertElement);let l=document.createElement("div");l.className="am5-focus-container",l.style.position="absolute",l.style.pointerEvents="none",l.style.top="0px",l.style.left="0px",l.style.overflow="hidden",l.style.width=s+"px",l.style.height=a+"px",l.setAttribute("role","graphics-document"),je(l,!1),this._focusElementContainer=l,this._inner.appendChild(this._focusElementContainer);let p=document.createElement("div");this._tooltipElementContainer=p,p.className="am5-tooltip-container",this._inner.appendChild(p),de("keyboardevents")&&(this._disposers.push(M(window,"keydown",g=>{let d=ye(g);d=="Shift"?this._isShift=!0:d=="Tab"&&(this._isShift=g.shiftKey)})),this._disposers.push(M(window,"keyup",g=>{ye(g)=="Shift"&&(this._isShift=!1)})),this._disposers.push(M(l,"click",()=>{let g=this._focusedSprite;if(g){let d=g.get("clickAnnounceText","");d!==""&&this.readerAlert(d);let f=t.getEvent(new MouseEvent("click"));g.events.dispatch("click",{type:"click",originalEvent:f.event,point:f.point,simulated:!0,target:g})}})),this._disposers.push(M(l,"keydown",g=>{let d=this._focusedSprite;if(d){g.key=="Escape"&&(Nt(),this._focusedSprite=void 0);let f=0,v=0,_=ye(g);switch(_){case"Enter":case" ":let y=d.get("clickAnnounceText","");if(y!==""&&this.readerAlert(y),_==" "&&d.get("role")!="checkbox")return;g.preventDefault();let x=t.getEvent(new MouseEvent("mouse"));d.events.dispatch("click",{type:"click",originalEvent:x.event,point:x.point,simulated:!0,target:d});return;case"ArrowLeft":f=-6;break;case"ArrowRight":f=6;break;case"ArrowUp":v=-6;break;case"ArrowDown":v=6;break;default:return}if(f!=0||v!=0){if(g.preventDefault(),!d.isDragging()){this._keyboardDragPoint={x:0,y:0};let O=t.getEvent(new MouseEvent("mousedown",{clientX:0,clientY:0}));O.point={x:0,y:0},d.events.isEnabled("pointerdown")&&d.events.dispatch("pointerdown",{type:"pointerdown",originalEvent:O.event,point:O.point,simulated:!0,target:d})}let y=this._keyboardDragPoint;y.x+=f,y.y+=v;let x=t.getEvent(new MouseEvent("mousemove",{clientX:y.x,clientY:y.y}),!1);d.events.isEnabled("globalpointermove")&&d.events.dispatch("globalpointermove",{type:"globalpointermove",originalEvent:x.event,point:x.point,simulated:!0,target:d})}}})),this._disposers.push(M(l,"keyup",g=>{if(this._focusedSprite){let d=this._focusedSprite,f=ye(g);switch(f){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":if(d.isDragging()){let _=this._keyboardDragPoint,y=t.getEvent(new MouseEvent("mouseup",{clientX:_.x,clientY:_.y}));d.events.isEnabled("globalpointerup")&&d.events.dispatch("globalpointerup",{type:"globalpointerup",originalEvent:y.event,point:y.point,simulated:!0,target:d}),this._keyboardDragPoint=void 0;return}else if(d.get("focusableGroup")){let _=d.get("focusableGroup"),y=this._tabindexes.filter(P=>!!(P.get("focusableGroup")==_&&P.getPrivate("focusable")!==!1&&P.isVisibleDeep())),x=y.indexOf(d),O=y.length-1;x+=f=="ArrowRight"||f=="ArrowDown"?1:-1,x<0?x=O:x>O&&(x=0),er(y[x].getPrivate("focusElement").dom)}break;case"Tab":let v=d.get("focusableGroup");if(v&&this._isShift){this._skipNextGroupJump||(this._focusNext(d.getPrivate("focusElement").dom,-1,v),this._skipNextGroupJump=!0);return}break}}})))}this._startTicker(),this.setThemes([]),this._addTooltip(),this._hasLicense()||this._showBranding()}get systemTooltip(){if(!this._systemTooltip){let e=ae.new(this,{themeTags:["system"]});this._systemTooltip=e}return this._systemTooltip}_initResizeSensor(){this._resizeSensorDisposer&&this._resizeSensorDisposer.dispose(),this._resizeSensorDisposer=new Vt(this.dom,()=>{this.autoResize&&this.resize()}),this._disposers.push(this._resizeSensorDisposer)}resize(){let e=this._getRealSize(),t=this._getCalculatedSize(e),i=Math.floor(t.width),r=Math.floor(t.height);if(i>0&&r>0){let s=Math.floor(e.width),a=Math.floor(e.height),n=this._htmlElementContainer;if(n.style.width=i+"px",n.style.height=r+"px",this._a11yD!==!0){let c=this._focusElementContainer;c.style.width=i+"px",c.style.height=r+"px"}this._renderer.resize(s,a,i,r);let o=this._rootContainer;o.setPrivate("width",i),o.setPrivate("height",r),this._render(),this._handleLogo()}}_render(){this._renderer.render(this._rootContainer._display),this._focusElementDirty&&(this._updateCurrentFocus(),this._focusElementDirty=!1)}_runTickers(e){w(this._tickers,t=>{t(e)})}_runAnimations(e){let t=0;return We(this._animations,i=>{let r=i._runAnimation(e);return r===oi.Stopped?!1:(r===oi.Playing&&++t,!0)}),this._isDirtyAnimation=!1,t===0}_runDirties(){let e={};for(;this._isDirtyParents;)this._isDirtyParents=!1,ue(this._dirtyParents).forEach(a=>{let n=this._dirtyParents[a];delete this._dirtyParents[a],n.isDisposed()||(e[n.uid]=n,n._prepareChildren())});ue(e).forEach(a=>{e[a]._updateChildren()});let t=[];ue(this._dirty).forEach(a=>{let n=this._dirty[a];n.isDisposed()?delete this._dirty[n.uid]:(t.push(n),n._beforeChanged())}),t.forEach(a=>{a._changed(),delete this._dirty[a.uid],a._clearDirty()}),this._isDirty=!1;let i={},r=[];ue(this._dirtyBounds).forEach(a=>{let n=this._dirtyBounds[a];delete this._dirtyBounds[a],n.isDisposed()||(i[n.uid]=n.depth(),r.push(n))}),this._positionHTMLElements(),r.sort((a,n)=>br(i[n.uid],i[a.uid])),r.forEach(a=>{a._updateBounds()});let s=this._dirtyPositions;ue(s).forEach(a=>{let n=s[a];delete s[a],n.isDisposed()||n._updatePosition()}),t.forEach(a=>{a._afterChanged()}),ue(e).forEach(a=>{e[a]._childrenPrep=!1,e[a]._childrenUpdt=!1})}_renderFrame(e){if(this._updateTick){this.events.isEnabled("framestarted")&&this.events.dispatch("framestarted",{type:"framestarted",target:this,timestamp:e}),this._checkComputedStyles(),this._runTickers(e);let t=this._runAnimations(e);return this._runDirties(),this._render(),this._renderer.resetImageArray(),this._positionHTMLElements(),this.events.isEnabled("frameended")&&this.events.dispatch("frameended",{type:"frameended",target:this,timestamp:e}),this._tickers.length===0&&t&&!this._isDirtyAnimation&&!this._isDirty}else return!0}_runTicker(e,t){this.isDisposed()||(this.animationTime=e,this._renderFrame(e)?(this._ticker=null,this.animationTime=null):this._paused||(t?this._ticker:Tr(this.fps,this._ticker)))}_runTickerNow(e=1e4){if(!this.isDisposed()){let t=performance.now()+e;for(;;){let i=performance.now();if(i>=t){this.animationTime=null;break}if(this.animationTime=i,this._renderFrame(i)){this.animationTime=null;break}}}}_startTicker(){this._ticker===null&&(this.animationTime=null,this._ticker=e=>{this._runTicker(e)},Tr(this.fps,this._ticker))}get updateTick(){return this._updateTick}set updateTick(e){this._updateTick=e,e&&this._startTicker()}_addDirtyEntity(e){this._isDirty=!0,this._dirty[e.uid]===void 0&&(this._dirty[e.uid]=e),this._startTicker()}_addDirtyParent(e){this._isDirty=!0,this._isDirtyParents=!0,this._dirtyParents[e.uid]===void 0&&(this._dirtyParents[e.uid]=e),this._startTicker()}_addDirtyBounds(e){this._isDirty=!0,this._dirtyBounds[e.uid]===void 0&&(this._dirtyBounds[e.uid]=e),this._startTicker()}_addDirtyPosition(e){this._isDirty=!0,this._dirtyPositions[e.uid]===void 0&&(this._dirtyPositions[e.uid]=e),this._startTicker()}_addAnimation(e){this._isDirtyAnimation=!0,this._animations.indexOf(e)===-1&&this._animations.push(e),this._startTicker()}_markDirty(){this._isDirty=!0}_markDirtyRedraw(){this.events.once("frameended",()=>{this._isDirty=!0,this._startTicker()})}eachFrame(e){return this._tickers.push(e),this._startTicker(),new he(()=>{_t(this._tickers,e)})}markDirtyGlobal(e){e||(e=this.container),e.walkChildren(t=>{t instanceof k&&this.markDirtyGlobal(t),t.markDirty(),t.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,e=>{e.dispose()}),this._inner&&Qi(this._inner),Me($e.rootElements,this))}isDisposed(){return this._isDisposed}readerAlert(e){if(this._a11yD!==!0){let t=this._readerAlertElement;e=ri(e),t.innerHTML==e&&(t.innerHTML=""),t.innerHTML=e}}setThemes(e){this._rootContainer.set("themes",e);let t=this.tooltipContainer;t&&t._applyThemes();let i=this.interfaceColors;i&&i._applyThemes()}_addTooltip(){if(!this.tooltipContainer){let e=this._tooltipContainerSettings,t=this._rootContainer.children.push(k.new(this,{position:"absolute",isMeasured:!1,width:A,height:A,layer:e?35:30,layerMargin:e||void 0}));this.tooltipContainer=t;let i=ae.new(this,{});this.container.set("tooltip",i),i.hide(0),this._tooltip=i}}_registerTabindexOrder(e){this._a11yD!=!0&&(e.get("focusable")?vt(this._tabindexes,e):Me(this._tabindexes,e),this._invalidateTabindexes())}_unregisterTabindexOrder(e){this._a11yD!=!0&&(Me(this._tabindexes,e),this._invalidateTabindexes())}_invalidateTabindexes(){if(this._a11yD==!0)return;this._tabindexes.sort((t,i)=>{let r=t.get("tabindexOrder",0),s=i.get("tabindexOrder",0);return r==s?0:r>s?1:-1});let e=[];w(this._tabindexes,(t,i)=>{t.getPrivate("focusElement")?this._moveFocusElement(i,t):this._makeFocusElement(i,t);let r=t.get("focusableGroup");r&&t.getPrivate("focusable")!==!1&&(e.indexOf(r)!==-1?t.getPrivate("focusElement").dom.setAttribute("tabindex","-1"):e.push(r))})}_updateCurrentFocus(){this._a11yD!=!0&&this._focusedSprite&&(this._decorateFocusElement(this._focusedSprite),this._positionFocusElement(this._focusedSprite))}_decorateFocusElement(e,t){if(this._a11yD==!0||(t||(t=e.getPrivate("focusElement").dom),!t))return;let i=e.get("role");i?t.setAttribute("role",i):t.removeAttribute("role");let r=e.get("ariaLabel");if(r){let g=gr(e,r);t.setAttribute("aria-label",g)}else t.removeAttribute("aria-label");let s=e.get("ariaLive");s?t.setAttribute("aria-live",s):t.removeAttribute("aria-live");let a=e.get("ariaChecked");a!=null&&i&&["checkbox","option","radio","menuitemcheckbox","menuitemradio","treeitem"].indexOf(i)!==-1?t.setAttribute("aria-checked",a?"true":"false"):t.removeAttribute("aria-checked");let n=e.get("ariaCurrent");n!=null?t.setAttribute("aria-current",n):t.removeAttribute("aria-current");let o=e.get("ariaSelected");o!=null&&i&&["gridcell","option","row","tab","columnheader","rowheader","treeitem"].indexOf(i)!==-1?t.setAttribute("aria-selected",o?"true":"false"):t.removeAttribute("aria-selected"),e.get("ariaHidden")?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden");let c=e.get("ariaOrientation");c?t.setAttribute("aria-orientation",c):t.removeAttribute("aria-orientation");let m=e.get("ariaValueNow");m?t.setAttribute("aria-valuenow",m):t.removeAttribute("aria-valuenow");let u=e.get("ariaValueMin");u?t.setAttribute("aria-valuemin",u):t.removeAttribute("aria-valuemin");let h=e.get("ariaValueMax");h?t.setAttribute("aria-valuemax",h):t.removeAttribute("aria-valuemax");let l=e.get("ariaValueText");l?t.setAttribute("aria-valuetext",l):t.removeAttribute("aria-valuetext");let p=e.get("ariaControls");p?t.setAttribute("aria-controls",p):t.removeAttribute("aria-controls"),e.get("visible")&&e.get("opacity")!==0&&e.get("role")!="tooltip"&&!e.isHidden()&&e.getPrivate("focusable")!==!1&&(e.height()||e.width())?(t.getAttribute("tabindex")!="-1"&&t.setAttribute("tabindex",""+this.tabindex),t.removeAttribute("aria-hidden")):(t.removeAttribute("tabindex"),t.setAttribute("aria-hidden","true"))}_makeFocusElement(e,t){if(t.getPrivate("focusElement")||this._a11yD==!0)return;let i=document.createElement("div");t.get("role")!="tooltip"&&(i.tabIndex=this.tabindex),i.style.position="absolute",je(i,!1);let r=[];t.setPrivate("focusElement",{dom:i,disposers:r}),this._decorateFocusElement(t),r.push(M(i,"focus",s=>{this._handleFocus(s)})),r.push(M(i,"blur",s=>{this._handleBlur(s)})),this._moveFocusElement(e,t)}_removeFocusElement(e){if(this._a11yD==!0)return;Me(this._tabindexes,e);let t=e.getPrivate("focusElement");t&&(this._focusElementContainer.removeChild(t.dom),w(t.disposers,r=>{r.dispose()}))}_hideFocusElement(e){if(this._a11yD==!0)return;let t=e.getPrivate("focusElement");t.dom.style.display="none"}_moveFocusElement(e,t){if(this._a11yD==!0)return;let i=this._focusElementContainer,r=t.getPrivate("focusElement").dom;if(r===this._focusElementContainer.children[e])return;let s=this._focusElementContainer.children[e+1];s?i.insertBefore(r,s):i.append(r)}_positionFocusElement(e){if(this._a11yD==!0||e==null)return;this._focusElementContainer.scrollTop=0;let t=e.globalBounds(),i=t.right==t.left?e.width():t.right-t.left,r=t.top==t.bottom?e.height():t.bottom-t.top,s=this._settings.focusPadding!==void 0?this._settings.focusPadding:2,a=t.left-s,n=t.top-s;i<0&&(a+=i,i=Math.abs(i)),r<0&&(n+=r,r=Math.abs(r));let o=e.getPrivate("focusElement").dom;o.style.top=n+"px",o.style.left=a+"px",o.style.width=i+s*2+"px",o.style.height=r+s*2+"px"}_getSpriteByFocusElement(e){let t;return yt(this._tabindexes,(i,r)=>i.getPrivate("focusElement").dom===e?(t=i,!1):!0),t}_handleFocus(e){if(this._a11yD==!0)return;let t=this._getSpriteByFocusElement(e.target);if(t){if(!t.isVisibleDeep()){this._focusNext(e.target,this._isShift?-1:1);return}this._positionFocusElement(t),this._focusedSprite=t,t.events.isEnabled("focus")&&t.events.dispatch("focus",{type:"focus",originalEvent:e,target:t}),t.getPrivate("focusElement").dom.tabIndex==-1&&(this._skipNextGroupJump=!1)}}_focusNext(e,t,i){if(this._a11yD==!0)return;let r=Array.from(document.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(","))),s=r.indexOf(e)+t;s<0?s=r.length-1:s>=r.length&&(s=0);let a=r[s];if(i&&t==-1){let n=this._getSpriteByFocusElement(a);if(n&&n.get("focusableGroup")==i){this._focusNext(a,t);return}}a.focus()}_handleBlur(e){if(this._a11yD==!0)return;let t=this._focusedSprite;t&&!t.isDisposed()&&t.events.isEnabled("blur")&&t.events.dispatch("blur",{type:"blur",originalEvent:e,target:t}),this._focusedSprite=void 0}updateTooltip(e){if(this._a11yD==!0)return;let t=ri(e._getText()),i=e.getPrivate("tooltipElement");e.get("role")=="tooltip"&&t!=""?(i||(i=this._makeTooltipElement(e)),i.innerHTML!=t&&(i.innerHTML=t),i.setAttribute("aria-hidden",e.isVisibleDeep()?"false":"true")):i&&(i.remove(),e.removePrivate("tooltipElement"))}_makeTooltipElement(e){let t=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)",je(i,!1),this._decorateFocusElement(e,i),t.append(i),e.setPrivate("tooltipElement",i),i}_removeTooltipElement(e){if(this._a11yD==!0)return;let t=e.getPrivate("tooltipElement");if(t){let i=t.parentElement;i&&i.removeChild(t)}}_invalidateAccessibility(e){if(this._a11yD==!0)return;this._focusElementDirty=!0;let t=e.getPrivate("focusElement");e.get("focusable")?t&&(this._decorateFocusElement(e),this._positionFocusElement(e)):t&&this._removeFocusElement(e)}focused(e){return this._focusedSprite===e}documentPointToRoot(e){let t=this._getRealSize(),i=this._getCalculatedSize(t),r=i.width/t.width,s=i.height/t.height;return{x:(e.x-t.left)*r,y:(e.y-t.top)*s}}rootPointToDocument(e){let t=this._getRealSize(),i=this._getCalculatedSize(t),r=i.width/t.width,s=i.height/t.height;return{x:e.x/r+t.left,y:e.y/s+t.top}}addDisposer(e){return this._disposers.push(e),e}_updateComputedStyles(){let e=window.getComputedStyle(this.dom),t="";Y(e,(r,s)=>{le(r)&&r.match(/^font/)&&(t+=s)});let i=t!=this._fontHash;return i&&(this._fontHash=t),i}_checkComputedStyles(){this._updateComputedStyles()&&this._invalidateLabelBounds(this.container)}_invalidateLabelBounds(e){e instanceof k?e.children.each(t=>{this._invalidateLabelBounds(t)}):e instanceof di&&e.markDirtyBounds()}_hasLicense(){for(let e=0;e<$e.licenses.length;e++)if($e.licenses[e].match(/^AM5C.{5,}/i))return!0;return!1}_licenseApplied(){this._logo&&this._logo.set("forceHidden",!0)}get debugGhostView(){return this._renderer.debugGhostView}set debugGhostView(e){this._renderer.debugGhostView=e}set tapToActivate(e){this._renderer.tapToActivate=e}get tapToActivate(){return this._renderer.tapToActivate}set tapToActivateTimeout(e){this._renderer.tapToActivateTimeout=e}get tapToActivateTimeout(){return this._renderer.tapToActivateTimeout}_makeHTMLElement(e){let t=this._htmlElementContainer,i=document.createElement("div");e.setPrivate("htmlElement",i);let r=!1,s;e._walkParents(n=>{if(n.get("verticalScrollbar"))return r=!0,s=n,!1});let a;return r&&(a=document.createElement("div"),e.setPrivate("htmlElementWrapper",a),e.setPrivate("wrapperContainer",s),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%",s.events.on("boundschanged",()=>{this._positionHTMLElement(e)})),i.style.position="absolute",i.style.overflow="auto",i.style.boxSizing="border-box",je(i,e.get("interactive",!1)),e.events.isEnabled("click")&&(je(i,!0),this._disposers.push(M(i,"click",n=>{let o=this._renderer.getEvent(n);e.events.dispatch("click",{type:"click",originalEvent:o.event,point:o.point,simulated:!1,target:e})}))),this._positionHTMLElement(e),r?(a.append(i),t.append(a)):t.append(i),vt(this._htmlEnabledContainers,e),i}_positionHTMLElements(){w(this._htmlEnabledContainers,e=>{this._positionHTMLElement(e)})}_positionHTMLElement(e){let t=e.getPrivate("htmlElementWrapper");if(t){let r=e.getPrivate("wrapperContainer");if(r){let s=r.globalBounds();t.style.clipPath="rect("+s.top+"px "+s.right+"px "+s.bottom+"px "+s.left+"px)"}}let i=e.getPrivate("htmlElement");if(i){w(["paddingTop","paddingRight","paddingBottom","paddingLeft","minWidth","minHeight","maxWidth","maxHeight"],_=>{let y=e.get(_);y?i.style[_]=y+"px":i.style[_]=""}),w(["fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration"],_=>{let y=e.get(_);y?_=="fontSize"&&!le(y)?i.style[_]=y+"px":i.style[_]=y+"":i.style[_]=""});let a=e.compositeScale()||1,n=e.compositeRotation()||0;i.style.transform="",i.style.transformOrigin="";let o=e.compositeOpacity();setTimeout(()=>{i.style.opacity=o+""},10);let c=e.isVisibleDeep();c&&(i.style.display="block");let m={x:e.x()+e.get("dx",0),y:e.y()+e.get("dy",0)};e.parent&&(m=e.parent.toGlobal(m)),i.style.top=m.y+"px",i.style.left=m.x+"px";let u=e.get("width"),h=e.get("height"),l=0,p=0;if(u&&(l=e.width()),h&&(p=e.height()),!u||!h){i.style.position="fixed",i.style.width="",i.style.height="";let _=i.getBoundingClientRect();i.style.position="absolute",u||(l=_.width),h||(p=_.height);let y=l/a,x=p/a,O=e.get("centerX",0),P=e.get("centerY",0),D=0,z=0,C=0,T=0;O instanceof q?(D=-O.value*y,z=(1-O.value)*y):(D=-O,z=y-O),P instanceof q?(C=-P.value*x,T=(1-P.value)*x):(C=-P,T=x-P),e._localBounds={left:D,right:z,top:C,bottom:T};let H=e._adjustedLocalBounds,R=e._display.getAdjustedBounds(e._localBounds);e._adjustedLocalBounds=R,(H.left!==R.left||H.right!==R.right||H.top!==R.top||H.bottom!==R.bottom)&&e.markDirtyBounds()}l>0&&(i.style.minWidth=l+"px"),p>0&&(i.style.minHeight=p+"px"),(!c||o==0)&&(i.style.display="none");let g=e.get("centerX",0),d=ei(g)?g.percent+"%":g+"px",f=e.get("centerY",0),v=ei(f)?f.percent+"%":f+"px";(g||f)&&(i.style.transform="translate(-"+d+", -"+v+")"+i.style.transform),a!=1&&(i.style.transform+="scale("+a+")"),n!=0&&(i.style.transform+=" rotate("+n+"deg)"),i.style.transform!=""&&(i.style.transformOrigin=d+" "+v)}}_setHTMLContent(e,t){let i=e.getPrivate("htmlElement");i||(i=this._makeHTMLElement(e),this.autoResize||this.resize()),i.innerHTML!=t&&(i.innerHTML=t)}_removeHTMLContent(e){let t=e.getPrivate("htmlElementWrapper"),i=e.getPrivate("htmlElement");t?(this._htmlElementContainer.removeChild(t),e.removePrivate("htmlElement"),e.removePrivate("htmlElementWrapper"),e.removePrivate("wrapperContainer")):i&&(this._htmlElementContainer.removeChild(i),e.removePrivate("htmlElement"),e.removePrivate("wrapperContainer")),Me(this._htmlEnabledContainers,e)}};var Jt;function Yr(b,e,t){let i=e.interfaceColors,r=i.get("secondaryButton").toCSS(),s=i.get("text").toCSS(),a=i.get("alternativeBackground").toCSS(.45);if(!Jt){let n=new ce([new I(b,".am5-modal",{width:"100%",height:"100%",position:"absolute","z-index":"100000",top:"0",left:"0"},e.nonce),new I(b,".am5-modal-curtain",{top:"0",left:"0",width:"100%",height:"100%",position:"absolute",background:i.get("background").toCSS(.5),"z-index":"100"},e.nonce),new I(b,".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"},e.nonce),new I(b,".am5-modal-wrapper:before",{content:"''",display:"inline-block",height:"100%","vertical-align":"middle","margin-right":"-0.25em"},e.nonce),new I(b,".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:s},e.nonce),new I(b,".am5-modal-content h1",{"font-size":"1em",margin:"0 0 0.5em 0"},e.nonce),new I(b,".am5-modal-table",{display:"table",margin:"1em 0"},e.nonce),new I(b,".am5-modal-table-row",{display:"table-row"},e.nonce),new I(b,".am5-modal-table-heading",{display:"table-heading",padding:"3px 10px 3px 0"},e.nonce),new I(b,".am5-modal-table-cell",{display:"table-cell",padding:"3px 0 3px 0"},e.nonce),new I(b,".am5-modal-table-cell > *",{"vertical-align":"middle"},e.nonce),new I(b,".am5-modal-content input[type=text], .am5-modal-content input[type=number], .am5-modal-content select",{border:"1px solid "+r,"border-radius":"4px",padding:"3px 5px",margin:"2px"},e.nonce),new I(b,".am5-modal-input-narrow",{width:"50px"},e.nonce),new I(b,".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()},e.nonce),new I(b,".am5-modal-button:hover",{background:i.get("secondaryButtonHover").toCSS()},e.nonce),new I(b,".am5-modal-button.am5-modal-primary",{color:i.get("primaryButtonText").toCSS(),border:"1px solid "+i.get("primaryButtonStroke").toCSS(),background:i.get("primaryButton").toCSS()},e.nonce),new I(b,".am5-modal-button.am5-modal-primary:hover",{background:i.get("primaryButtonHover").toCSS()},e.nonce)]);Jt=new wt(()=>{Jt=void 0,n.dispose()})}return Jt.increment()}var Ke=class extends E{_afterNew(){super._afterNewApplyThemes(),this._setRawDefault("deactivateRoot",!0),Yr(rr(this._root.dom),this._root);let e=document.createElement("div");e.className="am5-modal",e.style.display="none",this.root._inner.appendChild(e),this.setPrivate("container",e);let t=document.createElement("div");t.className="am5-modal-curtain",e.appendChild(t),this.setPrivate("curtain",t),this._disposers.push(M(t,"click",()=>{this.cancel()}));let i=document.createElement("div");i.className="am5-modal-wrapper",e.appendChild(i),this.setPrivate("wrapper",i);let r=document.createElement("div");r.className="am5-modal-content",i.appendChild(r),this.setPrivate("content",r);let s=this.get("content");s&&(r.innerHTML=s),de("keyboardevents")&&this._disposers.push(M(document,"keydown",a=>{this.isOpen()&&ye(a)=="Escape"&&this.cancel()}))}_beforeChanged(){super._beforeChanged(),this.isDirty("content")&&(this.getPrivate("content").innerHTML=this.get("content",""))}isOpen(){return this.getPrivate("container").style.display!="none"}open(){this.getPrivate("container").style.display="block",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.get("deactivateRoot")&&(this._root._renderer.interactionsEnabled=!0),this.events.dispatch("closed",{type:"closed",target:this})}cancel(){this.getPrivate("container").style.display="none",this.get("deactivateRoot")&&(this._root._renderer.interactionsEnabled=!0),this.events.dispatch("cancelled",{type:"cancelled",target:this})}_dispose(){super._dispose();let e=this.getPrivate("container");e.parentElement&&e.parentElement.removeChild(e)}};Object.defineProperty(Ke,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Modal"});Object.defineProperty(Ke,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:E.classNames.concat([Ke.className])});var Je=class extends E{constructor(){super(...arguments),Object.defineProperty(this,"_index",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"series",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNewApplyThemes()}_beforeChanged(){if(super._beforeChanged(),this.isDirty("sprite")){let e=this.get("sprite");e&&(e.setAll({position:"absolute",role:"figure"}),this._disposers.push(e))}(this.isDirty("locationX")||this.isDirty("locationY"))&&this.series&&this.series._positionBullet(this)}};Object.defineProperty(Je,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Bullet"});Object.defineProperty(Je,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:E.classNames.concat([Je.className])});var Qe=class extends Be{constructor(){super(...arguments),Object.defineProperty(this,"_ignoreClick",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this.addTag("confirm"),de("keyboardevents")&&this._disposers.push(M(document,"keydown",e=>{let t=ye(e);this.get("active")&&t=="Escape"&&this._cancel()})),this._disposers.push(M(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),Nt()},10))}_prepareChildren(){super._prepareChildren()}};Object.defineProperty(Qe,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ConfirmButton"});Object.defineProperty(Qe,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Be.classNames.concat([Qe.className])});var Ne=class extends j{_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)))}};Object.defineProperty(Ne,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Circle"});Object.defineProperty(Ne,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([Ne.className])});var et=class extends j{constructor(){super(...arguments),Object.defineProperty(this,"morphAnimation",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_beforeChanged(){if(super._beforeChanged(),this.isDirty("coordinates")){let e=[],t=this.get("coordinates");t&&w(t,i=>{e.push({x:i[0],y:i[1]})}),this.set("points",e)}if(this.isPrivateDirty("points")&&(this._clear=!0),this.isDirty("points")){this._clear=!0;let e=this.get("points"),t=this._prevSettings.points;if(t){if(e){let n=Ge(e),o=Ge(t),c=n.length,m=o.length;if(c>m){let u=Ge(n);for(let h=0;h<c;h++){let l=Math.floor(h/c*m);u[h]={x:o[l].x,y:o[l].y}}o=u}else if(m>c){let u=Ge(o);for(let h=0;h<m;h++){let l=Math.floor(h/m*c);u[h]={x:n[l].x,y:n[l].y}}n=u}this.setPrivateRaw("previousPoints",o),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",e),this.setPrivateRaw("points",e);let i=1/0,r=-1/0,s=1/0,a=-1/0;if(e)for(let n=1,o=e.length;n<o;n++){let c=e[n];i=Math.min(i,c.x),r=Math.max(r,c.x),s=Math.min(s,c.y),a=Math.max(a,c.y)}this.setPrivate("minX",i),this.setPrivate("maxX",r),this.setPrivate("minY",s),this.setPrivate("maxY",s)}this.isPrivateDirty("morphProgress")&&(this._clear=!0)}_changed(){super._changed(),this._clear&&this._draw()}_draw(){let e=this.getPrivate("previousPoints"),t=this.getPrivate("points"),i=this.getPrivate("morphProgress",1);if(t&&e){let r=t[0],s=e[0];r&&this._display.moveTo(s.x+(r.x-s.x)*i,s.y+(r.y-s.y)*i);for(let a=1,n=t.length;a<n;a++){let o=t[a],c=e[a];this._display.lineTo(c.x+(o.x-c.x)*i,c.y+(o.y-c.y)*i)}this._display.closePath()}}_updateSize(){this.markDirty(),this._clear=!0}};Object.defineProperty(et,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Polygon"});Object.defineProperty(et,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([et.className])});var tt=class extends j{_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")))}};Object.defineProperty(tt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Ellipse"});Object.defineProperty(tt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([tt.className])});var it=class extends j{_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("spikes"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let e=this._display,t=this.get("radius",0),i=Ee(this.get("innerRadius",0),t),r=this.get("spikes",0),s=Math.PI/r,a=Math.PI/2*3;e.moveTo(0,-t);for(let n=0;n<r;n++)e.lineTo(Math.cos(a)*t,Math.sin(a)*t),a+=s,e.lineTo(Math.cos(a)*i,Math.sin(a)*i),a+=s;e.lineTo(0,-t),e.closePath()}}};Object.defineProperty(it,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Star"});Object.defineProperty(it,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([it.className])});var ze=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"_za",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_txa",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tya",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_movePoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_downScale",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_downX",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_downY",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_pinchDP",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contents",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(k.new(this._root,{width:A,height:A,x:0,y:0,draggable:!0,background:Pe.new(this._root,{fill:K(16777215),fillOpacity:0})}))}),Object.defineProperty(this,"_wheelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();let e=this.contents.events;this._disposers.push(e.on("pointerdown",r=>{this._handleThisDown(r)})),this._disposers.push(e.on("globalpointerup",r=>{this._handleThisUp(r)})),this._disposers.push(e.on("globalpointermove",r=>{this._handleThisMove(r)}));let t=this.contents.get("background");t&&(t.adapters.add("width",r=>Number(r)*20),t.adapters.add("height",r=>Number(r)*20),t.adapters.add("x",r=>Number(r)-t.width()/2),t.adapters.add("y",r=>Number(r)-t.height()/2));let i=this.contents;i.adapters.add("x",r=>{let s=i.get("scale",1);if(S(r)&&s>=1){let a=this.get("maxPanOut",.4),n=i.width();r=Math.min(n*a,r),r=Math.max(this.width()-n*s*(1+a),r)}return r}),i.adapters.add("y",r=>{let s=i.get("scale",1);if(S(r)&&s>=1){let a=this.get("maxPanOut",.4),n=i.height();r=Math.min(n*a,r),r=Math.max(this.height()-n*s*(1+a),r)}return r})}_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",e=>{let t=e.originalEvent;if(ir(t,this))t.preventDefault();else return;let i=this.toLocal(e.point);this._handleWheelZoom(t.deltaY,i)}),this._disposers.push(this._wheelDp)):this._wheelDp&&this._wheelDp.dispose()}_handleWheelZoom(e,t){let i=this.get("zoomStep",2),r=this.contents.get("scale",1),s=r;e>0?s=r/i:e<0&&(s=r*i),s!=r&&this.zoomToPoint(t,s)}zoomToPoint(e,t){t&&(t=U(t,this.get("minZoomLevel",1),this.get("maxZoomLevel",32)));let i=this.contents.get("scale",1),r=e.x,s=e.y,a=r,n=s,o=this.contents,c=o.x(),m=o.y(),u=a-(r-c)/i*t,h=n-(s-m)/i*t;return this._animateTo(u,h,t),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(e,t,i){let r=this.get("animationDuration",0),s=this.get("animationEasing"),a=this.contents;this._txa=a.animate({key:"x",to:e,duration:r,easing:s}),this._tya=a.animate({key:"y",to:t,duration:r,easing:s}),this._za=a.animate({key:"scale",to:i,duration:r,easing:s})}_handleThisUp(e){this._downPoints={}}_handleThisDown(e){let t=this.contents;this._downScale=t.get("scale",1);let i=t._downPoints,r=ue(i).length;if(r==1){let s=i[1];s||(s=i[0]),s&&s.x==e.point.x&&s.y==e.point.y&&(r=0)}if(r>0){this._downX=t.x(),this._downY=t.y();let s=t._getDownPointId();if(s){let a=this._movePoints[s];a&&(t._downPoints[s]=a)}}}_handleThisMove(e){let i=e.originalEvent.pointerId;if(this.get("pinchZoom")&&i&&(this._movePoints[i]=e.point,ue(this.contents._downPoints).length>1)){this._handlePinch();return}}_handlePinch(){let e=0,t=[],i=[];if(Y(this.contents._downPoints,(r,s)=>{t[e]=s;let a=this._movePoints[r];a&&(i[e]=a),e++}),t.length>1&&i.length>1){this.contents._isDragging=!1;let r=t[0],s=t[1],a=i[0],n=i[1];if(r&&s&&a&&n){r=this.toLocal(r),s=this.toLocal(s),a=this.toLocal(a),n=this.toLocal(n);let o=Math.hypot(s.x-r.x,s.y-r.y),m=Math.hypot(n.x-a.x,n.y-a.y)/o*this._downScale,u={x:a.x+(n.x-a.x)/2,y:a.y+(n.y-a.y)/2},h={x:r.x+(s.x-r.x)/2,y:r.y+(s.y-r.y)/2},l=this._downX||0,p=this._downY||0,g=this._downScale,d=u.x-(-l+h.x)/g*m,f=u.y-(-p+h.y)/g*m;this.contents.setAll({x:d,y:f,scale:m})}}}};Object.defineProperty(ze,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomableContainer"});Object.defineProperty(ze,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([ze.className])});var ie=class extends E{_afterNew(){super._afterNewApplyThemes()}getFill(e){return{addColorStop:(t,i)=>{}}}_changed(){super._changed()}getBounds(e){let t=this.get("target");if(t){let i=t.globalBounds(),r=e.toLocal({x:i.left,y:i.top}),s=e.toLocal({x:i.right,y:i.top}),a=e.toLocal({x:i.right,y:i.bottom}),n=e.toLocal({x:i.left,y:i.bottom});return{left:Math.min(r.x,s.x,a.x,n.x),top:Math.min(r.y,s.y,a.y,n.y),right:Math.max(r.x,s.x,a.x,n.x),bottom:Math.max(r.y,s.y,a.y,n.y)}}return e._display.getLocalBounds()}};Object.defineProperty(ie,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Gradient"});Object.defineProperty(ie,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:E.classNames.concat([ie.className])});var Fe=class extends ie{getFill(e){let t=this.get("rotation",0),i=this.getBounds(e),r=i.left||0,s=i.right||0,a=i.top||0,n=i.bottom||0,o=we(t),c=ve(t),m=o*(s-r),u=c*(n-a);m==0&&(m=1),u==0&&(u=1);let h=Math.max(m,u),l=this._root._renderer.createLinearGradient(r,a,r+h*o,a+h*c),p=this.get("stops");if(p){let g=0;w(p,d=>{let f=d.offset;S(f)||(f=g/(p.length-1));let v=d.opacity;S(v)||(v=1);let _=d.color;if(_){let y=d.lighten;y&&(_=$.lighten(_,y));let x=d.brighten;x&&(_=$.brighten(_,x)),l.addColorStop(f,"rgba("+_.r+","+_.g+","+_.b+","+v+")")}g++})}return l}};Object.defineProperty(Fe,"className",{enumerable:!0,configurable:!0,writable:!0,value:"LinearGradient"});Object.defineProperty(Fe,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([Fe.className])});var rt=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"labelContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(k.new(this._root,{}))}),Object.defineProperty(this,"markerContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(k.new(this._root,{}))}),Object.defineProperty(this,"startLabel",{enumerable:!0,configurable:!0,writable:!0,value:this.labelContainer.children.push(se.new(this._root,{themeTags:["start"]}))}),Object.defineProperty(this,"endLabel",{enumerable:!0,configurable:!0,writable:!0,value:this.labelContainer.children.push(se.new(this._root,{themeTags:["end"]}))}),Object.defineProperty(this,"markers",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new _e(xe.new({}),()=>Oe._new(this._root,{themeTags:X(this.markers.template.get("themeTags",[]),[this.get("orientation"),"heatlegend","marker"])},[this.markers.template])))})}_afterNew(){this._settings.themeTags=X(this._settings.themeTags,["heatlegend",this._settings.orientation]),super._afterNew(),this.set("tooltip",ae.new(this._root,{themeTags:["heatlegend"]}))}makeMarker(){let e=this.markers.make();return e.states.create("disabled",{}),e}showValue(e,t,i){let r=this.getTooltip();if(r&&S(e)){let s=this.get("startValue",0),a=this.get("endValue",1),n=(e-s)/(a-s);(n==1/0||n==-1/0||isNaN(n))&&(n=.5);let o=this.get("startColor"),c=this.get("endColor");t||(t=this.getNumberFormatter().format(e)),i||(i=$.interpolate(n,o,c)),r.label.set("text",t);let m;this.get("orientation")=="vertical"?m=this.markerContainer.toGlobal({x:0,y:this.innerHeight()*(1-n)}):m=this.markerContainer.toGlobal({x:this.innerWidth()*n,y:0});let u=r.get("background");u&&u.set("fill",i),r.set("pointTo",m),r.show()}}_prepareChildren(){super._prepareChildren();let e=this.labelContainer,t=this.get("orientation"),i=this.startLabel,r=this.endLabel,s=this.getTooltip();if(this.isDirty("orientation")&&(t=="vertical"?(this.markerContainer.setAll({layout:this._root.verticalLayout,height:A}),this.set("layout",this._root.horizontalLayout),i.setAll({y:A,x:void 0,centerY:A,centerX:A}),r.setAll({y:0,x:void 0,centerY:0,centerX:A}),e.setAll({height:A,width:void 0}),s&&s.set("pointerOrientation","horizontal")):(this.markerContainer.setAll({layout:this._root.horizontalLayout,width:A}),this.set("layout",this._root.verticalLayout),i.setAll({x:0,y:void 0,centerX:0,centerY:0}),r.setAll({x:A,y:void 0,centerX:A,centerY:0}),e.setAll({width:A,height:void 0}),s&&s.set("pointerOrientation","vertical"))),this.isDirty("stepCount")){let a=this.get("stepCount",1),n=this.get("startColor"),o=this.get("endColor"),c=this.get("startOpacity",1),m=this.get("endOpacity",1);if(this.markerContainer.children.clear(),a>1)for(let u=0;u<a;u++){let h=this.makeMarker();t=="vertical"?this.markerContainer.children.moveValue(h,0):this.markerContainer.children.push(h),n&&o&&h.setAll({fill:$.interpolate(u/a,n,o),fillOpacity:be(u/a*100).interpolate(c,m)})}else if(a==1){let u=this.makeMarker();this.markerContainer.children.push(u);let h=Fe.new(this._root,{stops:[{color:n,opacity:c},{color:o,opacity:m}]});if(t=="vertical"){h.set("rotation",90);let l=h.get("stops");l&&l.reverse()}else h.set("rotation",0);n&&o&&u.set("fillGradient",h)}}(this.isDirty("startText")||this.isDirty("startValue"))&&i.set("text",this.get("startText",this.getNumberFormatter().format(this.get("startValue",0)))),(this.isDirty("endText")||this.isDirty("endValue"))&&r.set("text",this.get("endText",this.getNumberFormatter().format(this.get("endValue",1))))}};Object.defineProperty(rt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"HeatLegend"});Object.defineProperty(rt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([rt.className])});var st=class extends Ht{constructor(){super(...arguments),Object.defineProperty(this,"itemContainers",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new _e(xe.new({}),()=>k._new(this._root,{themeTags:X(this.itemContainers.template.get("themeTags",[]),["legend","item"]),themeTagsSelf:X(this.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"]),background:Oe.new(this._root,{themeTags:X(this.itemContainers.template.get("themeTags",[]),["legend","item","background"]),themeTagsSelf:X(this.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"])})},[this.itemContainers.template])))}),Object.defineProperty(this,"markers",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new _e(xe.new({}),()=>k._new(this._root,{themeTags:X(this.markers.template.get("themeTags",[]),["legend","marker"])},[this.markers.template])))}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new _e(xe.new({}),()=>se._new(this._root,{themeTags:X(this.labels.template.get("themeTags",[]),["legend","label"])},[this.labels.template])))}),Object.defineProperty(this,"valueLabels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new _e(xe.new({}),()=>se._new(this._root,{themeTags:X(this.valueLabels.template.get("themeTags",[]),["legend","label","value"])},[this.valueLabels.template])))}),Object.defineProperty(this,"markerRectangles",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new _e(xe.new({}),()=>Oe._new(this._root,{themeTags:X(this.markerRectangles.template.get("themeTags",[]),["legend","marker","rectangle"])},[this.markerRectangles.template])))})}_afterNew(){this._settings.themeTags=X(this._settings.themeTags,["legend"]),this.fields.push("name","stroke","fill"),super._afterNew()}makeItemContainer(e){let t=this.children.push(this.itemContainers.make());return t._setDataItem(e),this.itemContainers.push(t),t.states.create("disabled",{}),t}makeMarker(){let e=this.markers.make();return this.markers.push(e),e.states.create("disabled",{}),e}makeLabel(){let e=this.labels.make();return e.states.create("disabled",{}),e}makeValueLabel(){let e=this.valueLabels.make();return e.states.create("disabled",{}),e}makeMarkerRectangle(){let e=this.markerRectangles.make();return e.states.create("disabled",{}),e}processDataItem(e){super.processDataItem(e);let t=this.makeItemContainer(e),i=this.get("nameField"),r=this.get("fillField"),s=this.get("strokeField");if(t){let a=this.get("clickTarget","itemContainer"),n=e.dataContext;n&&n.set&&n.set("legendDataItem",e),t._setDataItem(e),e.set("itemContainer",t);let o=this.makeMarker();if(o){t.children.push(o),o._setDataItem(e),e.set("marker",o);let u=this.get("useDefaultMarker"),h=o.children.push(this.makeMarkerRectangle()),l=e.get("fill"),p=e.get("stroke");e.set("markerRectangle",h),n&&n.get&&(l=n.get(r,l),p=n.get(s,p)),p||(p=l),u?n.on&&(n.on(r,()=>{h.set("fill",n.get(r))}),n.on(s,()=>{h.set("stroke",n.get(s))})):n&&n.createLegendMarker&&n.createLegendMarker(),h.setAll({fill:l,stroke:p});let g=n.component;g&&g.updateLegendMarker&&g.updateLegendMarker(n)}let c=this.makeLabel();if(c){t.children.push(c),c._setDataItem(e),e.set("label",c),c.text.on("text",()=>{t.setRaw("ariaLabel",c.text._getText()+(this.get("clickTarget")!=="none"?"; "+this._t("Press ENTER to toggle"):"")),t.markDirtyAccessibility()}),n&&n.get&&e.set("name",n.get(i));let u=e.get("name");u&&c.set("text",u)}let m=this.makeValueLabel();if(m&&(t.children.push(m),m._setDataItem(e),e.set("valueLabel",m)),n&&n.show&&(n.on("visible",u=>{t.set("disabled",!u)}),n.get("visible")||t.set("disabled",!0),a!="none")){let u=t;a=="marker"&&(u=o),this._addClickEvents(u,n,e)}this.children.values.sort((u,h)=>{let l=u.dataItem.dataContext,p=h.dataItem.dataContext;if(l&&p){let g=this.data.indexOf(l),d=this.data.indexOf(p);if(g>d)return 1;if(g<d)return-1}return 0}),n&&n.updateLegendValue&&n.updateLegendValue()}}_addClickEvents(e,t,i){e.set("cursorOverStyle","pointer"),e.events.on("pointerover",()=>{let r=t.component;r&&r.hoverDataItem&&r.hoverDataItem(t)}),e.events.on("pointerout",()=>{let r=t.component;r&&r.hoverDataItem&&r.unhoverDataItem(t)}),e.events.on("click",()=>{let r=i.get("label").text._getText();t.show&&t.isHidden&&(t.isHidden()||t.get("visible")===!1)?(t.show(),e.set("disabled",!1),this._root.readerAlert(this._t("%1 shown",this._root.locale,r))):t.hide&&(t.hide(),e.set("disabled",!0),this._root.readerAlert(this._t("%1 hidden",this._root.locale,r)))})}disposeDataItem(e){super.disposeDataItem(e);let t=e.dataContext;t&&t.get&&t.get("legendDataItem")==e&&t.set("legendDataItem",void 0);let i=e.get("itemContainer");i&&(this.itemContainers.removeValue(i),i.dispose());let r=e.get("marker");r&&(this.markers.removeValue(r),r.dispose());let s=e.get("markerRectangle");s&&(this.markerRectangles.removeValue(s),s.dispose());let a=e.get("label");a&&(this.labels.removeValue(a),a.dispose());let n=e.get("valueLabel");n&&(this.valueLabels.removeValue(n),n.dispose())}};Object.defineProperty(st,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Legend"});Object.defineProperty(st,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Ht.classNames.concat([st.className])});var re=class extends j{_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 e=this.width(),t=this.height(),i=this._display;i.moveTo(-e/2,t/2),i.lineTo(0,-t/2),i.lineTo(e/2,t/2),i.lineTo(-e/2,t/2),i.closePath()}_updateSize(){this.markDirty(),this._clear=!0}};Object.defineProperty(re,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Triangle"});Object.defineProperty(re,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([re.className])});var pe=class b extends j{_beforeChanged(){super._beforeChanged(),this.isDirty("points")&&(this._clear=!0)}static makeOrthogonal(e){if(e.length>1){let t=[];for(let i=0;i<e.length-1;i++){let r=e[i],s=e[i+1];t.push(r),r.x!==s.x&&r.y!==s.y&&t.push({x:s.x,y:r.y})}t.push(e[e.length-1]),e=t}return e}_changed(){if(super._changed(),this._clear){let e=this._display,t=this.get("points",[]);if(t.length===0)return;t=b.makeOrthogonal(t),e.moveTo(t[0].x,t[0].y);for(let i=1;i<t.length;i++){let r=this.get("cornerRadius",0),s=t[i-1],a=t[i],n=t[i+1],o=a.y===s.y&&a.x!==s.x,c=a.x===s.x&&a.y!==s.y,m=n&&(o&&n.y!==a.y||c&&n.x!==a.x);if(r>0&&n&&m){if(c){r=Math.min(r,Math.abs(a.x-n.x)/2,Math.abs(a.y-s.y)/2);let u=Math.sign(a.y-s.y);e.lineTo(a.x,a.y-r*u);let h=n.x<a.x?-1:1;e.arcTo(a.x,a.y,a.x+r*h,a.y,r)}else if(o){r=Math.min(r,Math.abs(a.y-n.y)/2,Math.abs(a.x-s.x)/2);let u=Math.sign(a.x-s.x);e.lineTo(a.x-r*u,a.y);let h=n.y<a.y?-1:1;e.arcTo(a.x,a.y,a.x,a.y+r*h,r)}}else e.lineTo(a.x,a.y)}}}};Object.defineProperty(pe,"className",{enumerable:!0,configurable:!0,writable:!0,value:"OrthogonalLine"});Object.defineProperty(pe,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:j.classNames.concat([pe.className])});var at=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"line",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(pe.new(this._root,{themeTags:["line"]}))}),Object.defineProperty(this,"hitLine",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(pe.new(this._root,{themeTags:["hit"]}))}),Object.defineProperty(this,"startArrow",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{themeTags:["start","arrow"]}))}),Object.defineProperty(this,"endArrow",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(re.new(this._root,{themeTags:["end","arrow"]}))})}_afterNew(){this.addTag("link"),super._afterNew()}_updateChildren(){if(super._updateChildren(),this.isDirty("points")){let e=pe.makeOrthogonal(this.get("points",[]));this.line.set("points",e),this.hitLine.set("points",e);let t=this.startArrow,i=this.endArrow,r=e.length;if(r>1){let[s,a]=e;t.setAll({x:s.x,y:s.y,rotation:kt(s,a)-90});let n=e[r-1],o=e[r-2];i.setAll({x:n.x,y:n.y,rotation:kt(o,n)+90})}else if(r===1){let[s]=e;t.setAll({x:s.x,y:s.y,rotation:0}),i.setAll({x:s.x,y:s.y,rotation:0})}}}};Object.defineProperty(at,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Link"});Object.defineProperty(at,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([at.className])});var nt=class extends Rt{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makePicture(void 0)})}_changed(){if(super._changed(),this.isDirty("width")){let e=this.get("width");this._display.width=S(e)?e:void 0}if(this.isDirty("height")){let e=this.get("height");this._display.height=S(e)?e:void 0}if(this.isDirty("shadowColor")){this._display.clear();let e=this.get("shadowColor");this._display.shadowColor=e??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 e=this.get("src");if(e){let t=new Image;t.crossOrigin=this.get("cors","anonymous"),t.src=e;let i=this.events;t.decode().then(()=>{this._display.image=t,this._updateSize(),!i.isDisposed()&&i.isEnabled("loaded")&&i.dispatch("loaded",{type:"loaded",target:this})}).catch(r=>{!i.isDisposed()&&i.isEnabled("loaderror")&&i.dispatch("loaderror",{type:"loaderror",target:this})})}}_updateSize(){super._updateSize();let e=this._display.image;if(e){let t=this.getPrivate("width",this.get("width")),i=this.getPrivate("height",this.get("height")),r=e.width&&e.height?e.width/e.height:0;S(t)&&S(i)?(this._display.width=t,this._display.height=i):S(t)&&r?i=t/r:S(i)&&r?t=i*r:(t=e.width,i=e.height),S(t)&&(this._display.width=t),S(i)&&(this._display.height=i),this.markDirtyBounds(),this.markDirty()}}};Object.defineProperty(nt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Picture"});Object.defineProperty(nt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Rt.classNames.concat([nt.className])});var ot=class extends Yt{_afterNew(){this._addOrientationClass(),super._afterNew(),this.endGrip.setPrivate("visible",!1),this.thumb.setPrivate("visible",!1)}updateGrips(){super.updateGrips();let e=this.startGrip;this.endGrip.setAll({x:e.x(),y:e.y()}),this.setRaw("end",this.get("start"))}};Object.defineProperty(ot,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slider"});Object.defineProperty(ot,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Yt.classNames.concat([ot.className])});var lt=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"homeButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Be.new(this._root,{width:35,height:35,themeTags:["home"]}))}),Object.defineProperty(this,"plusButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Be.new(this._root,{width:35,height:35,themeTags:["plus"]}))}),Object.defineProperty(this,"minusButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Be.new(this._root,{width:35,height:35,themeTags:["minus"]}))}),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_targetDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this.set("position","absolute"),this.set("layout",this._root.verticalLayout),this.addTag("zoomtools"),this.plusButton.setAll({icon:j.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.minusButton.setAll({icon:j.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.homeButton.setAll({icon:j.new(this._root,{themeTags:["icon"]}),layout:void 0})}_prepareChildren(){if(super._prepareChildren(),this.isDirty("target")){let e=this.get("target"),t=this._prevSettings.target;e&&(e instanceof ze&&(this._targetDisposer=this.addDisposer(e.contents.on("scale",i=>{i==e.get("minZoomLevel")?this.minusButton.set("disabled",!0):this.minusButton.set("disabled",!1),i==e.get("maxZoomLevel")?this.plusButton.set("disabled",!0):this.plusButton.set("disabled",!1)})),this.root.events.once("frameended",()=>{e.get("scale")==e.get("minZoomLevel")&&this.minusButton.set("disabled",!0)})),this._disposer=new ce([this.plusButton.events.on("click",()=>{e.zoomIn()}),this.minusButton.events.on("click",()=>{e.zoomOut()}),this.homeButton.events.on("click",()=>{e.goHome()})])),t&&(this._disposer&&this._disposer.dispose(),this._targetDisposer&&this._targetDisposer.dispose())}}};Object.defineProperty(lt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomTools"});Object.defineProperty(lt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([lt.className])});var ut=class extends W{constructor(){super(...arguments),Object.defineProperty(this,"canvas",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("canvas")}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:this.canvas.getContext("2d")}),Object.defineProperty(this,"_clearGrain",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_beforeChanged(){this.canvas.width=this.get("width",200),this.canvas.height=this.get("height",200),(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(){if(super._changed(),this._clearGrain){let e=this.get("width",200),t=this.get("height",200),i=this.context.getImageData(0,0,e,t),r=Math.max(1,this.get("size",1)),s=this.get("minOpacity",0),a=this.get("maxOpacity",.3),n=this.get("colors",[this.get("color",$.fromHex(0))]),o=e/r,c=t/r,m=this.get("density",1),u=this.get("horizontalGap",0)+1,h=this.get("verticalGap",0)+1;for(let l=0;l<c;l++)if(!(h>0&&l/h!=Math.round(l/h)))for(let p=0;p<o;p++){let g=n[Math.floor(Math.random()*n.length)],d=(s+Math.random()*(a-s))*255,f=Math.random();u>0&&p/u!=Math.round(p/u)||f<m&&this._setRectData(p,l,r,e,i.data,g.r,g.g,g.b,d)}this.context.putImageData(i,0,0),this._pattern=this.context.createPattern(this.canvas,"repeat")}this._clearGrain=!1}_checkDirtyFill(){return!1}_setRectData(e,t,i,r,s,a,n,o,c){for(var m=e*i;m<e*i+i;m++)for(var u=t*i;u<t*i+i;u++){var h=(u*r+m)*4;s[h]=a,s[h+1]=n,s[h+2]=o,s[h+3]=c}}};Object.defineProperty(ut,"className",{enumerable:!0,configurable:!0,writable:!0,value:"GrainPattern"});Object.defineProperty(ut,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([ut.className])});var ht=class extends ie{getFill(e){let t=this.getBounds(e),i=0,r=0,s=t.left||0,a=t.right||0,n=t.top||0,o=t.bottom||0,c=a-s,m=o-n,u=e.get("radius");S(u)?(i=0,r=0):(u=Math.min(c,m)/2,i=c/2,r=m/2);let h=this.get("x"),l=this.get("y");h!=null&&(i=Ee(h,c)),l!=null&&(r=Ee(l,m));let p=this._root._renderer.createRadialGradient(i,r,0,i,r,u),g=this.get("stops");if(g){let d=0;w(g,f=>{let v=f.offset;S(v)||(v=d/(g.length-1));let _=f.opacity;S(_)||(_=1);let y=f.color;if(y){let x=f.lighten;x&&(y=$.lighten(y,x));let O=f.brighten;O&&(y=$.brighten(y,O)),p.addColorStop(v,"rgba("+y.r+","+y.g+","+y.b+","+_+")")}d++})}return p}};Object.defineProperty(ht,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RadialGradient"});Object.defineProperty(ht,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([ht.className])});var Re=class extends W{_beforeChanged(){super._beforeChanged(),this.isDirty("gap")&&(this._clear=!0)}_draw(){super._draw();let e=this.get("checkered",!1),t=this.get("centered",!0),i=this.get("gap",0),r=this.get("rotation",0),s=this.get("width",100),a=this.get("height",100),n=this.get("radius",3),o=n*2+i,c=n*2+i,m=Math.round(s/o),u=Math.round(a/c);o=s/m,c=a/u,r!=0&&(this._display.x=o*we(r),this._display.y=c*ve(r));let h=this.get("color"),l=this.get("colorOpacity");(h||l)&&this._display.beginFill(h,l);for(let p=r==0?0:-u*2;p<u*2;p++)for(let g=r==0?0:-m*2;g<m*2;g++)if(!e||(p&1)!=1&&(g&1)!=1||(p&1)==1&&(g&1)==1){let d=g*o,f=p*c;t&&(d+=o+i/2,f+=c+i/2),this._display.drawCircle(d-n,f-n,n)}e?(s=s/2-i*2,a=a/2-i*2):(s-=i,a-=i),(h||l)&&this._display.endFill()}};Object.defineProperty(Re,"className",{enumerable:!0,configurable:!0,writable:!0,value:"CirclePattern"});Object.defineProperty(Re,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([Re.className])});var He=class extends W{_beforeChanged(){super._beforeChanged(),this.isDirty("gap")&&(this._clear=!0)}_draw(){super._draw();let e=this.get("width",100),t=this.get("height",100),i=this.get("gap",0),r=this.get("strokeWidth",1);if(!i)this._display.moveTo(0,0),this._display.lineTo(e,0);else{let n=i+r,o=t/n,c=this.get("angle",0)*Math.PI/180;if(c===0)for(let m=-o;m<o*2;m++){let u=Math.round(m*n-n/2)+.5;this._display.moveTo(-e,u),this._display.lineTo(e*2,u)}else{let m=Math.cos(c),u=Math.sin(c),h=Math.sqrt(e*e+t*t)*2,l=n/Math.max(Math.abs(m),Math.abs(u)),p=Math.ceil(h/l)*2;for(let g=-p;g<p;g++){let d=g*n,f=d*u-h*m,v=d*m+h*u,_=d*u+h*m,y=d*m-h*u;this._display.moveTo(f,v),this._display.lineTo(_,y)}}}this._display.lineStyle(r,this.get("color"),this.get("colorOpacity"));let s=this.get("strokeDasharray");S(s)&&(s<.5?s=[0]:s=[s]),this._display.setLineDash(s);let a=this.get("strokeDashoffset");a&&this._display.setLineDashOffset(a),this._display.endStroke()}};Object.defineProperty(He,"className",{enumerable:!0,configurable:!0,writable:!0,value:"LinePattern"});Object.defineProperty(He,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([He.className])});var Ye=class extends W{_beforeChanged(){super._beforeChanged(),this.isDirty("gap")&&(this._clear=!0)}_draw(){super._draw();let e=this.get("checkered",!1),t=this.get("centered",!0),i=this.get("gap",0),r=this.get("rotation",0),s=this.get("width",100),a=this.get("height",100),n=this.get("maxWidth",5),o=this.get("maxHeight",5),c=this._display,m=n+i,u=o+i,h=Math.round(s/m),l=Math.round(a/u);m=s/h,u=a/l,r!=0&&(c.x=m/2*we(r),c.y=-u/2*ve(r));for(let d=r==0?0:-l*2;d<l*2;d++)for(let f=r==0?0:-h*2;f<h*2;f++)if(!e||(d&1)!=1&&(f&1)!=1||(d&1)==1&&(f&1)==1){let v=f*m,_=d*u;t&&(v+=(m-n)/2,_+=(u-o)/2),c.drawRect(v,_,n,o)}e?(s=s/2-i*2,a=a/2-i*2):(s-=i,a-=i);let p=this.get("color"),g=this.get("colorOpacity");(p||g)&&(c.beginFill(p,g),c.endFill())}};Object.defineProperty(Ye,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RectanglePattern"});Object.defineProperty(Ye,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([Ye.className])});var ct=class extends W{_beforeChanged(){super._beforeChanged(),this.isDirty("svgPath")&&(this._clear=!0)}_draw(){super._draw();let e=this.get("svgPath");e!=null&&this._display.svgPath(e);let t=this.get("color"),i=this.get("colorOpacity");(t||i)&&(this._display.beginFill(t,i),this._display.endFill())}};Object.defineProperty(ct,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PathPattern"});Object.defineProperty(ct,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:W.classNames.concat([ct.className])});var dt=class extends E{_afterNew(){if(super._afterNewApplyThemes(),this.get("patterns",[]).length===0){let e=this.get("color",this.root.interfaceColors.get("stroke"));this.set("patterns",[this.getLinePattern({width:1e3,height:1e3,rotation:45,strokeWidth:1,color:e}),this.getRectanglePattern({width:10,height:10,rotation:0,maxWidth:4,maxHeight:4,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:-45,strokeWidth:1,gap:6,color:e}),this.getCirclePattern({width:11,height:11,radius:2,color:e}),this.getLinePattern({width:6,height:6,rotation:90,strokeWidth:1,color:e}),this.getRectanglePattern({width:14,height:14,rotation:45,gap:4,maxWidth:6,maxHeight:6,checkered:!0,color:e}),this.getLinePattern({width:6,height:6,rotation:0,strokeWidth:1,color:e}),this.getRectanglePattern({width:15,height:15,rotation:0,gap:5,maxWidth:5,maxHeight:5,checkered:!0,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:45,strokeWidth:2,gap:3,strokeDasharray:[4,2],color:e}),this.getCirclePattern({width:20,height:20,radius:3,gap:4,checkered:!0,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:-45,strokeWidth:2,gap:3,strokeDasharray:[4,2],color:e}),this.getRectanglePattern({width:10,height:10,rotation:0,gap:1,maxWidth:9,maxHeight:9,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:-45,strokeWidth:2,gap:1,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:45,strokeWidth:2,gap:1,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:0,strokeWidth:3,gap:1,color:e}),this.getLinePattern({width:1e3,height:1e3,rotation:90,strokeWidth:3,gap:1,color:e})])}this._dirty.patterns=!1}_beforeChanged(){this.isDirty("patterns")&&this.reset()}getIndex(e){let t=this.get("patterns",[]);if(e<t.length&&t[e]!==null)return t[e];if(e>t.length-1){let i=e-Math.floor(e*(e/t.length));return t[i]}return t[e]}next(){let e=this.getPrivate("currentStep",this.get("startIndex",0));return this.setPrivate("currentStep",e+this.get("step",1)),this.getIndex(e)}reset(){this.setPrivate("currentStep",this.get("startIndex",0))}getLinePattern(e){return He.new(this.root,e)}getRectanglePattern(e){return Ye.new(this.root,e)}getCirclePattern(e){return Re.new(this.root,e)}};Object.defineProperty(dt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PatternSet"});Object.defineProperty(dt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:E.classNames.concat([dt.className])});var Yi=class{static parse(e,t){t=this._applyDefaults(t);try{if(le(e)){let i=JSON.parse(e);return t.reverse&>(i)&&i.reverse(),i}else{if(gt(e)||Se(e))return e;throw"Unable to parse JSON data"}}catch{return}}static _applyDefaults(e){let t={},i={reverse:!1};return e||(e={}),Y(i,(r,s)=>{t[r]=e[r]||s}),t}},Ii=class{static parse(e,t){t=this._applyDefaults(t);let i=this.CSVToArray(e,t.delimiter),r=[],s=[],a,n;for(n=0;n<t.skipRows;n++)i.shift();if(t.useColumnNames){s=i.shift();for(let c=0;c<s.length;c++)a=s[c]!=null?s[c].replace(/^\s+|\s+$/gm,""):"",a===""&&(a="col"+c),s[c]=a}let o;for(;o=t.reverse?i.pop():i.shift(),!!o;){if(t.skipEmpty&&o.length===1&&o[0]==="")continue;let c={};for(n=0;n<o.length;n++)a=s[n]===void 0?"col"+n:s[n],c[a]=o[n];r.push(c)}return r}static CSVToArray(e,t){t=t||",";let i=new RegExp("(\\"+t+'|\\r?\\n|\\r|^)(?:"([^"]*(?:""[^"]*)*)"|([^"\\'+t+"\\r\\n]*))","gi"),r=[[]],s=null;for(;s=i.exec(e),!!s;){let a=s[1];a.length&&a!==t&&r.push([]);let n;s[2]?n=s[2].replace(new RegExp('""',"g"),'"'):n=s[3],r[r.length-1].push(n)}return r}static _applyDefaults(e){let t={},i={delimiter:",",reverse:!1,skipRows:0,skipEmpty:!0,useColumnNames:!1};return e||(e={}),Y(i,(r,s)=>{t[r]=e[r]||s}),t}};var Gi=class extends E{constructor(){super(...arguments),Object.defineProperty(this,"_checkDates",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_checkNumbers",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_checkColors",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_checkEmpty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_checkDeep",{enumerable:!0,configurable:!0,writable:!0,value:!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 e=[];w(["dateFields","numericFields","colorFields"],t=>{w(this.get(t,[]),i=>{let r=i.split(".");for(r.pop();r.length>0;)e.push(r.join(".")),r.pop()})}),this._checkDeep=e.length>0,this.setPrivate("deepFields",e)}processMany(e){gt(e)&&(this._checkDates||this._checkNumbers||this._checkColors||this._checkEmpty)&&w(e,t=>{this.processRow(t)})}processRow(e,t=""){Y(e,(i,r)=>{let s=t+i;this._checkEmpty&&(e[i]=this._maybeToEmpty(e[i])),this._checkNumbers&&(e[i]=this._maybeToNumber(s,e[i])),this._checkDates&&(e[i]=this._maybeToDate(s,e[i])),this._checkColors&&(e[i]=this._maybeToColor(s,e[i])),this._checkDeep&&this.getPrivate("deepFields",[]).indexOf(s)!==-1&&Se(e[i])&&this.processRow(e[i],s+".")})}_maybeToNumber(e,t){return this.get("numericFields").indexOf(e)!==-1?V(t):t}_maybeToDate(e,t){return this.get("dateFields").indexOf(e)!==-1?this._root.dateFormatter.parse(t,this.get("dateFormat","")).getTime():t}_maybeToEmpty(e){return(e==null||e=="")&&this.get("emptyAs")!=null?this.get("emptyAs"):e}_maybeToColor(e,t){return this.get("colorFields").indexOf(e)!==-1?$.fromAny(t):t}};var ft=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"rectangle",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Pe.new(this._root,{themeTags:["rectangle"],fillOpacity:0,fill:K(16777215)}))}),Object.defineProperty(this,"gripL",{enumerable:!0,configurable:!0,writable:!0,value:this._createGrip("left")}),Object.defineProperty(this,"gripR",{enumerable:!0,configurable:!0,writable:!0,value:this._createGrip("right")}),Object.defineProperty(this,"gripT",{enumerable:!0,configurable:!0,writable:!0,value:this._createGrip("top")}),Object.defineProperty(this,"gripB",{enumerable:!0,configurable:!0,writable:!0,value:this._createGrip("bottom")}),Object.defineProperty(this,"_is",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_iw",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_positionDP",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isHover",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_afterNew(){super._afterNew(),this.addTag("resizer"),this.set("visible",!1),this.gripL.events.on("dragged",e=>{this._resize(e.target,-1)}),this.gripR.events.on("dragged",e=>{this._resize(e.target,1)}),this.gripL.events.on("dragstart",e=>{this._resizeStart(e.target)}),this.gripR.events.on("dragstart",e=>{this._resizeStart(e.target)}),this.gripT.events.on("dragged",e=>{this._rotate(e,90)}),this.gripB.events.on("dragged",e=>{this._rotate(e,-90)}),this.gripT.events.on("dragstart",e=>{this._resizeStart(e.target)}),this.gripB.events.on("dragstart",e=>{this._resizeStart(e.target)})}_resizeStart(e){let t=this.get("sprite");t&&(this._is=t.get("scale",1),this._ix=e.x(),this._iw=this.width()/2)}_resize(e,t){let i=this.get("sprite"),r=this.get("spriteTemplate");if(i){let s=Math.max(.01,this._is*(1+t*(e.x()-this._ix)/this._iw));r?r.set("scale",s):i.set("scale",s),i.states.lookup("default").set("scale",s),this._updatePositions()}}_rotate(e,t){let i=this.get("sprite"),r=this.get("spriteTemplate");if(i){let s=this.parent;if(s){let a=this.get("rotationStep",10),n=Math.round((kt({x:this.x(),y:this.y()},s.toLocal(e.point))+t)/a)*a;r?r.set("rotation",n):i.set("rotation",n),i.states.lookup("default").set("rotation",n),this._updatePositions()}}}_createGrip(e){let t=this.children.push(k.new(this._root,{themeTags:["grip",e],setStateOnChildren:!0,draggable:!0}));return t.children.push(Oe.new(this._root,{themeTags:["outline"],centerX:Ce,centerY:Ce})),t.children.push(Oe.new(this._root,{centerX:Ce,centerY:Ce})),t}_updateChildren(){if(super._updateChildren(),this.isDirty("sprite")){let e=this.get("sprite");if(e){this.show(0),this.setPrivate("visible",!0),this._updatePositions();let t=e.parent;t&&t.children.moveValue(this,0),this._positionDP=e.events.on("positionchanged",()=>{this._updatePositions()}),this._positionDP=e.events.on("boundschanged",()=>{this._updatePositions()})}else this.hide(0),this.setPrivate("visible",!1),this._positionDP&&this._positionDP.dispose()}(this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation"))&&this._updatePositions()}_updatePositions(){let e=this.get("sprite");if(e){let t=e.localBounds(),i=e.get("scale",1),r=20,s=(t.right-t.left)*i+r,a=(t.bottom-t.top)*i+r,n=e.get("rotation",0),o=this.rectangle,c=e.get("centerX",Ce),m=e.get("centerY",Ce),u=0;c instanceof q&&(u=c.value);let h=0;m instanceof q&&(h=m.value),o.setAll({centerX:c,centerY:m,width:s,height:a}),this.setAll({x:e.x()+r*(u-.5)*we(n)-r*(h-.5)*ve(n),y:e.y()+r*(h-.5)*we(n)+r*(u-.5)*ve(n),width:s,height:a,rotation:n}),this.gripT.setAll({x:(.5-u)*s,y:-h*a}),this.gripB.setAll({x:(.5-u)*s,y:(1-h)*a}),this.gripL.setAll({x:-u*s,y:(.5-h)*a}),this.gripR.setAll({x:(1-u)*s,y:(.5-h)*a}),this.rectangle.setAll({width:s,height:a})}}};Object.defineProperty(ft,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SpriteResizer"});Object.defineProperty(ft,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([ft.className])});var pt=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"label",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(fi.new(this._root,{}))}),Object.defineProperty(this,"buttonsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(k.new(this._root,{themeTags:["buttons"]}))}),Object.defineProperty(this,"upButton",{enumerable:!0,configurable:!0,writable:!0,value:this.buttonsContainer.children.push(re.new(this._root,{themeTags:["upbutton"]}))}),Object.defineProperty(this,"downButton",{enumerable:!0,configurable:!0,writable:!0,value:this.buttonsContainer.children.push(re.new(this._root,{themeTags:["downbutton"]}))})}_afterNew(){this.addTag("numericstepper"),this.set("layout",this._root.horizontalLayout),this.label.adapters.add("text",e=>(e&&e.replace(/\D/g,""),e===""&&(e="0"),e)),this.set("background",Pe.new(this._root,{fillOpacity:0,fill:K(16777215)})),this.buttonsContainer.states.create("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",e=>{if(e){let t=parseFloat(e);isNaN(t)||this.set("value",t)}}),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 e=this.get("value",0),t=this.label;if(this.isDirty("value")&&t.set("text",e.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))}}};Object.defineProperty(pt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"NumericStepper"});Object.defineProperty(pt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([pt.className])});var mt=class extends k{constructor(){super(...arguments),Object.defineProperty(this,"circle",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Ne.new(this._root,{themeTags:["background"]}))}),Object.defineProperty(this,"label",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(se.new(this._root,{}))}),Object.defineProperty(this,"slice",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(It.new(this._root,{isMeasured:!1}))}),Object.defineProperty(this,"backgroundSlice",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(It.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 e=this.innerWidth(),t=this.innerHeight(),i=Ee(this.get("radius",A),Math.min(e,t)/2),r=Ee(this.get("innerRadius",be(80)),i);this.slice.setAll({radius:i,innerRadius:r}),this.backgroundSlice.setAll({radius:i,innerRadius:r}),this.circle.set("radius",i)}if(this.isDirty("value")){let e=this.get("value",0);this.slice.set("arc",e*360),this.backgroundSlice.set("arc",360),this.label.setAll({text:this.getNumberFormatter().format(e*100,this.get("numberFormat","#'"))}),this.root.events.once("frameended",()=>{this.label.markDirtyKey("text")})}}};Object.defineProperty(mt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ProgressPie"});Object.defineProperty(mt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:k.classNames.concat([mt.className])});var Sr={};jr(Sr,{load:()=>Ir,readBlob:()=>Cr});function Ir(b,e,t){return new Promise((i,r)=>{let s=t!=null&&t.responseType=="blob",a=new XMLHttpRequest;if(a.onload=()=>{if(a.status===200){let n,o;if(s){o=a.response,Cr(o).then(m=>{let u={xhr:a,error:!1,response:m,blob:o,type:a.getResponseHeader("Content-Type"),target:e};i(u)});return}else n=a.responseText||a.response;let c={xhr:a,error:!1,response:n,blob:o,type:a.getResponseHeader("Content-Type"),target:e};i(c)}else r({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:e})},a.onerror=()=>{r({xhr:a,error:!0,type:a.getResponseHeader("Content-Type"),target:e})},a.open("GET",b,!0),t&&t.withCredentials&&(a.withCredentials=!0),t!=null){if(t.requestHeaders!=null)for(let n=0;n<t.requestHeaders.length;n++){let o=t.requestHeaders[n];a.setRequestHeader(o.key,o.value)}t.responseType!=null&&(a.responseType=t.responseType)}a.send()})}function Cr(b){return new Promise((e,t)=>{let i=new FileReader;i.onload=r=>{e(i.result)},i.onerror=r=>{t(r)},i.readAsText(b)})}export{Ae as a,fe as b,ae as c,Tt as d,Ct as e,St as f,Dt as g,At as h,Kt as i,Hi as j,Ke as k,Je as l,Qe as m,Ne as n,et as o,tt as p,it as q,ze as r,ie as s,Fe as t,rt as u,st as v,re as w,pe as x,at as y,nt as z,ot as A,lt as B,ut as C,ht as D,Re as E,He as F,Ye as G,ct as H,dt as I,Yi as J,Ii as K,Gi as L,ft as M,pt as N,mt as O,Sr as P};
|
package/dist/cdn/NFPMOMSA.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.127 */
|
|
4
|
-
import{b as v}from"./P5OHTG2S.js";import{N as g,O as a,Q as h,T as u,a as f,b as o}from"./4MFNPUNV.js";import"./7CZC6NWI.js";export default $arcgis.t(([{whenOnce:w},{addProxy:L}])=>{var $=(n,e,i=!1)=>{if(!n||!e)return!1;let t=new URL(n),r=new URL(e);return!i&&t.protocol!==r.protocol||t.host==null||r.host==null?!1:t.host.toLowerCase()===r.host.toLowerCase()&&t.port===r.port};var b=f`.arcgis-print__export-section{padding:var(--calcite-spacing-xxs)}.arcgis-print__export-section--centered{text-align:center}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}`,c="arcgis-print",p={exportSection:`${c}__export-section`,exportedFilesEmpty:`${c}__exported-files-empty`,exportedFilesTitle:`${c}__export-title`,exportSectionCentered:`${c}__export-section--centered`,exportedFile:`${c}__exported-file`,exportedFileLinkTitle:`${c}__exported-file-link-title`,exportedFileLinkDescription:`${c}__exported-file-link-description`};function E(n){let{state:e,extension:i}=n;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return i?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}function k(n,e){return!n||n==="all"||!!(e&&n.includes(e))}var m=class extends g{constructor(){super(...arguments),this._handleLinkClick=e=>{if(e?.state!=="ready"||!e.url)return;let i=e.url,t=document.createElement("a");t.target="_blank",t.href=i,t.rel="noreferrer",t.download=e.formattedName??"";{t.click();return}}}static{this.properties={showSaveAs:5,viewModel:0,messages:0,allowedFormatsForSaving:1,arcgisSaveAs:0}}static{this.styles=b}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>this.requestUpdate())])}render(){let e=this.viewModel.exportedLinks,i={[p.exportSectionCentered]:!e.length};return o`<section class=${a(v(p.exportSection,i))}>${e.length===0?o`<div class=${a(p.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${a(p.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>`:o`<calcite-list .filterEnabled=${e.length>10} .label=${this.messages.exportedLinksList} selection-mode=none>${e.map(t=>o`<calcite-list-item .label=${t.formattedName??""}>${this._renderExportedLinkItemContent(t)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`)}</calcite-list>`}</section>`}_renderExportedLinkItemPopover(e){let i=this.messages,t=e.formattedName??"",{state:r}=e,d=this.showSaveAs&&r!=="error"&&k(this.allowedFormatsForSaving,e.extension);return r!=="pending"&&d?o`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${t}-popover-button`} scale=s><calcite-list label>${e.portalItem?o`<calcite-list-item .label=${i.openItem} @calciteListItemSelect=${()=>{let l=e.portalItem;if(!l?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=l.itemPageUrl,s.rel="noreferrer",s.click()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:o`<calcite-list-item .label=${i.saveAs} @calciteListItemSelect=${async()=>{w(()=>e.portalItem).then(l=>{l.itemPageUrl&&this.requestUpdate()}),this.arcgisSaveAs.emit(e)}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${()=>this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}_renderExportedLinkItemContent(e){let i=this.messages,{url:t,state:r,error:d}=e,l=e.formattedName??"",s=t||null;s&&(s=L(s));let x=$(s,document.location.href),_=r==="error"?d?.name==="print-task:cim-symbol-unsupported"?i.exportWebMapCIMError:i.exportWebMapError:null;return o`<div class=${a(p.exportedFile)} slot=content @click=${()=>this._handleLinkClick(e)}><div><div class=${a(p.exportedFileLinkTitle)}>${l}</div><div class=${a(p.exportedFileLinkDescription)}>${r==="pending"?i.generatingExport:_||(x?i.ready:i.linkReady)}</div></div>${r==="ready"?o`<calcite-icon .ariaLabel=${`${l}. ${i.linkReady}`} .icon=${x?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?o`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:o`<calcite-icon .icon=${E(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e){let{state:i}=e,t=e.formattedName??"",r=this.showSaveAs&&i!=="error"&&k(this.allowedFormatsForSaving,e.extension);return i!=="pending"?o`<calcite-action .icon=${r?"ellipsis":"x"} id=${(r?`${t}-popover-button`:void 0)??h} @click=${r?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${r?"options":"remove"}></calcite-action>`:null}};u("arcgis-print-exports-panel",m);return m},"core/reactiveUtils","core/urlUtils")
|
package/dist/cdn/NFVHEJGV.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.127 */
|
|
4
|
-
import"./7CZC6NWI.js";var _={_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_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:"M",_era_bc:"SM",A:"AM",P:"PM",AM:"AM",PM:"PM","A.M.":"AM","P.M.":"PM",January:"Januari",February:"Februari",March:"Maret",April:"April",May:"Mei",June:"Juni",July:"Juli",August:"Agustus",September:"September",October:"Oktober",November:"November",December:"Desember",Jan:"Jan",Feb:"Feb",Mar:"Mar",Apr:"Apr","May(short)":"Mei",Jun:"Jun",Jul:"Jul",Aug:"Agu",Sep:"Sep",Oct:"Okt",Nov:"Nov",Dec:"Des",Sunday:"Minggu",Monday:"Senin",Tuesday:"Selasa",Wednesday:"Rabu",Thursday:"Kamis",Friday:"Jumat",Saturday:"Sabtu",Sun:"Min",Mon:"Sen",Tue:"Sel",Wed:"Rab",Thu:"Kam",Fri:"Jum",Sat:"Sab",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Perkecil",Play:"Putar",Stop:"Hentikan",Legend:"Legenda","Press ENTER to toggle":"Klik, ketuk atau tekan ENTER untuk beralih",Loading:"Memuat",Home:"Beranda",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"Peta","Press ENTER to zoom in":"Tekan ENTER untuk memperbesar","Press ENTER to zoom out":"Tekan ENTER untuk memperkecil","Use arrow keys to zoom in and out":"Gunakan tombol panah untuk memperbesar dan memperkecil","Use plus and minus keys on your keyboard to zoom in and out":"Gunakan tombol plus dan minus pada keyboard Anda untuk memperbesar dan memperkecil",Export:"Cetak",Image:"Gambar",Data:"Data",Print:"Cetak","Press ENTER to open":"Klik, ketuk atau tekan ENTER untuk membuka","Press ENTER to print.":"Klik, ketuk atau tekan ENTER untuk mencetak","Press ENTER to export as %1.":"Klik, ketuk atau tekan ENTER untuk mengekspor sebagai %1","(Press ESC to close this message)":"Tekan ESC untuk menutup pesan ini","Image Export Complete":"Ekspor gambar selesai","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":"Dari %1 ke %2","From %1":"Dari %1","To %1":"Ke %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{_ as default};
|
package/dist/cdn/NPFQEPIY.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.128 */
|
|
4
|
-
import{a as c}from"./DWLCKMCT.js";import"./AVVV233S.js";import"./7KBGK7W3.js";import"./BWDDRHW7.js";import{N as n,O as i,T as r,a as o,b as e}from"./GCFW7D7D.js";import"./JH65AKBD.js";export default $arcgis.t(([{watch:p}])=>{var h=o`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`,s="arcgis-print",a={advancedOptionsSection:`${s}__advanced-options-section`,layoutSection:`${s}__layout-section`,panelContainer:`${s}__panel-container`},l=class extends n{constructor(){super(...arguments),this._handles=c("disconnect"),this.hideAdvancedOptions=!1,this.autoPopulateAuthor=!1}static{this.properties={_selectedTemplate:16,_showSelectedTemplateTitleText:16,hideAdvancedOptions:5,autoPopulateAuthor:5,viewModel:0,messages:0,showTemplateSelector:0,selectExportsTab:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.templateOptions.id,t=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=t?this.viewModel.getLayoutTemplateById(t)??void 0:void 0,this._handles.addHandles(p(()=>this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText,()=>{this._showSelectedTemplateTitleText=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasTitleText??!0},{initial:!0}),"template-handle")},{initial:!0})])}render(){return e`<section class=${i(a.layoutSection)} tabindex=-1><div class=${i(a.panelContainer)}>${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`}_renderTitleInput(){if(!this._showSelectedTemplateTitleText)return null;let{title:t,titlePlaceHolder:d}=this.messages;return e`<calcite-label>${t}<calcite-input .placeholder=${d} .value=${this.viewModel.templateOptions.title??""} @calciteInputInput=${m=>{this.viewModel.templateOptions.title=m.currentTarget.value}}></calcite-input></calcite-label>`}_renderTemplateSelect(){return e`<div><calcite-label>${this.messages.template}<arcgis-print-template-select .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector}></arcgis-print-template-select></calcite-label><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`}_renderFileFormatSection(){return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`}_renderAdvancedSection(){return this.hideAdvancedOptions?null:e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(a.advancedOptionsSection)} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`}_renderExportButton(){return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title??void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`}};r("arcgis-print-layout-panel",l);return l},"core/reactiveUtils")
|
package/dist/cdn/NS33QZ44.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.128 */
|
|
4
|
-
import{a as r}from"./AVVV233S.js";import{z as c}from"./GCFW7D7D.js";export default $arcgis.t(([{watch:s},e])=>{var a=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:n}=this.component;return t&&o&&n?[t,n,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>void this._updateScreenLocation(),{initial:!0}))}async _updateScreenLocation(){{e.isLoaded()||await e.load();let{location:o,view:t}=this.component,n=t?.spatialReference,i=n&&o?e.execute(o,n):null;this.exports=this.component.trackLocation&&i&&t?.ready?t.toScreen(i):null}}},d=r(a);return d},"core/reactiveUtils","geometry/operators/projectOperator")
|