@arcgis/charts-components 4.34.0-next.51 → 4.34.0-next.53
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/{BBPAGOKK.js → 22UZFOYZ.js} +2 -2
- package/dist/cdn/{SCWJMFF5.js → 244IECQ5.js} +2 -2
- package/dist/cdn/{CHH4ABKM.js → 24MQXT26.js} +2 -2
- package/dist/cdn/{2Z6444RX.js → 27EIROAI.js} +2 -2
- package/dist/cdn/{PUZO2TGQ.js → 2CZLVZ6L.js} +2 -2
- package/dist/cdn/{JI3QTLW6.js → 2E37HIMT.js} +2 -2
- package/dist/cdn/{N5E6PV2Z.js → 347ICVAW.js} +2 -2
- package/dist/cdn/{6UKIYIU7.js → 3BLSOHUM.js} +2 -2
- package/dist/cdn/{KYQ6DTH6.js → 3E3LA62H.js} +2 -2
- package/dist/cdn/{2THPHZAA.js → 3FTKNY3P.js} +3 -3
- package/dist/cdn/{7R6TKRBV.js → 3FXY7Q5O.js} +2 -2
- package/dist/cdn/{C4CPTKJM.js → 3RV7G467.js} +2 -2
- package/dist/cdn/{4W4R2IOW.js → 3W7EDM6C.js} +2 -2
- package/dist/cdn/{RMGFVND7.js → 45BFZCKT.js} +2 -2
- package/dist/cdn/{E76SOURF.js → 46VZEAGK.js} +2 -2
- package/dist/cdn/{TEYQJ753.js → 4IUEJ7DG.js} +2 -2
- package/dist/cdn/{LTP7YSLX.js → 4O77D3XU.js} +2 -2
- package/dist/cdn/{F65WRTG5.js → 4ODJ5QPV.js} +2 -2
- package/dist/cdn/{G24RFBZX.js → 4PHYP53H.js} +2 -2
- package/dist/cdn/{BXWLL5QW.js → 4PPIMLRJ.js} +2 -2
- package/dist/cdn/{DTCCQUET.js → 4QWDVOQU.js} +2 -2
- package/dist/cdn/{C7KHI3AN.js → 4RWI5G6D.js} +2 -2
- package/dist/cdn/{FZSCADTR.js → 4X2CCMAX.js} +2 -2
- package/dist/cdn/{EOEBBLO4.js → 4ZPXVAD4.js} +2 -2
- package/dist/cdn/{MAK4EAHP.js → 53OBWGB5.js} +2 -2
- package/dist/cdn/{IO3BD32I.js → 53WCAPZM.js} +2 -2
- package/dist/cdn/{GF6JJPW4.js → 57YMRIAD.js} +2 -2
- package/dist/cdn/{GDDMRR3F.js → 5D3FVMN6.js} +2 -2
- package/dist/cdn/{MRBMUNTT.js → 5JFWF5SU.js} +2 -2
- package/dist/cdn/{MVOOOD22.js → 5JLI4EXX.js} +2 -2
- package/dist/cdn/{SY64ZHF6.js → 5PXAQVZ2.js} +2 -2
- package/dist/cdn/{4APGYNDX.js → 5SBSQFKN.js} +2 -2
- package/dist/cdn/{JKRG3HWN.js → 5SMNTSFA.js} +2 -2
- package/dist/cdn/{Y6BTHPDN.js → 5TQYB6FS.js} +2 -2
- package/dist/cdn/{NMXX5QJI.js → 5WO3MK62.js} +2 -2
- package/dist/cdn/{54FK6KTG.js → 62K7TCS7.js} +2 -2
- package/dist/cdn/{CU7A5IXR.js → 63ZOA57E.js} +2 -2
- package/dist/cdn/{BVPJQ6QF.js → 662YRMJA.js} +2 -2
- package/dist/cdn/{JTL43CRM.js → 6EGHUHMN.js} +2 -2
- package/dist/cdn/{CJ6ZAJSD.js → 6EWW6RJ4.js} +2 -2
- package/dist/cdn/{HMVHZ52P.js → 6KZLSV4N.js} +2 -2
- package/dist/cdn/{PIJWWR6H.js → 6MREJ5YG.js} +2 -2
- package/dist/cdn/{YSWE2FYP.js → 6OZALRVS.js} +2 -2
- package/dist/cdn/{A54R2ERP.js → 6QGBF52T.js} +2 -2
- package/dist/cdn/{5J3QLON4.js → 73IVL7R4.js} +2 -2
- package/dist/cdn/{5KAPPEMH.js → 7HGBVRAV.js} +2 -2
- package/dist/cdn/{GKG7AFII.js → 7HREKY3U.js} +2 -2
- package/dist/cdn/{N6ZCT7FT.js → 7K7AXPEH.js} +2 -2
- package/dist/cdn/{QFLP2EBU.js → 7ND3PYNJ.js} +2 -2
- package/dist/cdn/{YT264MHC.js → 7NVTOXRF.js} +2 -2
- package/dist/cdn/{VMP3Q36H.js → 7OIB7Z4V.js} +2 -2
- package/dist/cdn/{OLMQ6XTQ.js → 7Q5BB6U7.js} +2 -2
- package/dist/cdn/{47VTBA5D.js → 7XM23UCK.js} +2 -2
- package/dist/cdn/{MOOWEF5Z.js → 7ZEO3WPK.js} +2 -2
- package/dist/cdn/{VQCJXUPR.js → AB3OEA6B.js} +2 -2
- package/dist/cdn/AD4SXIIJ.js +4 -0
- package/dist/cdn/AFWY43SH.js +4 -0
- package/dist/cdn/{MBOQQQ4C.js → AJURELCO.js} +2 -2
- package/dist/cdn/{SXS3UI6J.js → AK7GDVRB.js} +2 -2
- package/dist/cdn/{3HDUPT4T.js → ALZIQ3GU.js} +2 -2
- package/dist/cdn/{DVZN3TUZ.js → ANPD2TIR.js} +2 -2
- package/dist/cdn/{26573QQL.js → ASG7FN7N.js} +2 -2
- package/dist/cdn/{4SLU4HUN.js → AVSRW44C.js} +2 -2
- package/dist/cdn/{4MJ5RZLP.js → AX62JYBV.js} +2 -2
- package/dist/cdn/{KM5ME4SB.js → AXI2ZLIM.js} +2 -2
- package/dist/cdn/{OJGU5TSF.js → AXQQ2FJY.js} +2 -2
- package/dist/cdn/{7LZM5RCR.js → AYBHABSE.js} +2 -2
- package/dist/cdn/{AWPSIBUG.js → B3PDSX5N.js} +2 -2
- package/dist/cdn/{F36UO5EN.js → BFWTU5PR.js} +2 -2
- package/dist/cdn/{QOOY5RE5.js → BI36WGPN.js} +1 -1
- package/dist/cdn/{JCH7FG2I.js → BITW4NNS.js} +2 -2
- package/dist/cdn/{SFBP4UL2.js → BJOMFV5E.js} +2 -2
- package/dist/cdn/{OB2ZVPOC.js → BLQY6ZL5.js} +2 -2
- package/dist/cdn/{SS5X5ZIW.js → BM3WKNDD.js} +2 -2
- package/dist/cdn/{5OADCGRM.js → BOVTLN33.js} +2 -2
- package/dist/cdn/{YWF4FKHM.js → BQP6J64L.js} +2 -2
- package/dist/cdn/{PUNCX5RQ.js → BVSA63AK.js} +2 -2
- package/dist/cdn/{2JX3UI64.js → BVX6GOPN.js} +2 -2
- package/dist/cdn/{JC7G5WFE.js → CCLUCCTF.js} +2 -2
- package/dist/cdn/{45QGJ6XO.js → CXH2QSVV.js} +2 -2
- package/dist/cdn/{ZHPTBETE.js → DA4AXCCH.js} +2 -2
- package/dist/cdn/DBCRRJXL.js +4 -0
- package/dist/cdn/{OKKKT5PE.js → DDIRVUGY.js} +2 -2
- package/dist/cdn/{HPTZ6C6D.js → DDYIQRML.js} +2 -2
- package/dist/cdn/{OA6V2YBK.js → DETQXFZC.js} +2 -2
- package/dist/cdn/{MSFCVMK5.js → DJT2BMLN.js} +2 -2
- package/dist/cdn/{DNRM5KRD.js → DSUBLCET.js} +2 -2
- package/dist/cdn/{C6FXFWGF.js → DULP4QW3.js} +2 -2
- package/dist/cdn/DV7GDME2.js +4 -0
- package/dist/cdn/{Z4EZ57W3.js → DWQDY25K.js} +2 -2
- package/dist/cdn/{ULMBDNQR.js → DYEPFMMF.js} +2 -2
- package/dist/cdn/{FCFN2D4O.js → E2ZLYUPY.js} +2 -2
- package/dist/cdn/{TWCPJPVW.js → EAQLG7TE.js} +2 -2
- package/dist/cdn/{OTOKQHGP.js → EATGIFQA.js} +2 -2
- package/dist/cdn/{RNCYA65B.js → EDPAHR3Z.js} +2 -2
- package/dist/cdn/{NTUU5P4Y.js → EFAYMNAR.js} +2 -2
- package/dist/cdn/{VMP4IPH3.js → EHG7JIYA.js} +2 -2
- package/dist/cdn/{5JEAQPMT.js → EIJAABWL.js} +2 -2
- package/dist/cdn/{CWNRSWV4.js → ELJDUPLL.js} +18 -18
- package/dist/cdn/EOGLXXP3.js +4 -0
- package/dist/cdn/{KIL6ISPQ.js → EPZQ3VXY.js} +2 -2
- package/dist/cdn/{RAF75XNY.js → ES5QWGKR.js} +2 -2
- package/dist/cdn/{ZVJ5PSCC.js → ESRRLSFU.js} +2 -2
- package/dist/cdn/EVCETTSO.js +4 -0
- package/dist/cdn/{7MPFUCRL.js → F52QFKHW.js} +2 -2
- package/dist/cdn/FBE7W646.js +4 -0
- package/dist/cdn/{KSJ6TWVG.js → FO4QTCPD.js} +2 -2
- package/dist/cdn/{Z2HFSZWL.js → FOFIQCEI.js} +2 -2
- package/dist/cdn/{6G77DBJG.js → FRSWIZHJ.js} +2 -2
- package/dist/cdn/{KZ4G2UOS.js → FSZXVXDL.js} +1 -1
- package/dist/cdn/{ZEUR6S6N.js → FVFNEX4B.js} +2 -2
- package/dist/cdn/{FTLX5TZO.js → FWE4GZ2T.js} +2 -2
- package/dist/cdn/{WFMLA5QS.js → G3SQDRLO.js} +2 -2
- package/dist/cdn/{QV77V57I.js → G6HFCPIA.js} +2 -2
- package/dist/cdn/{MXNGIW4M.js → GBQLWSRY.js} +2 -2
- package/dist/cdn/{LOHFRYKI.js → GH7CYUUO.js} +2 -2
- package/dist/cdn/{5G5JSD34.js → GIYA66VU.js} +2 -2
- package/dist/cdn/{TQMQPW3X.js → GKJPJXNY.js} +2 -2
- package/dist/cdn/{F7IYDWRG.js → GOCKV27E.js} +2 -2
- package/dist/cdn/{RXOFU2HW.js → GOFKGTK6.js} +2 -2
- package/dist/cdn/{U37MNYSP.js → GOSD3ZSW.js} +2 -2
- package/dist/cdn/{YZ4V7TGJ.js → GR3XTLKB.js} +2 -2
- package/dist/cdn/{TN4FDSIS.js → GT7ERBKZ.js} +2 -2
- package/dist/cdn/{ER7BUJ3I.js → GUW4WWRG.js} +2 -2
- package/dist/cdn/{K6CSJ7DL.js → GXHYRIQN.js} +2 -2
- package/dist/cdn/{UVOKSRMR.js → GXKHQOBJ.js} +2 -2
- package/dist/cdn/{6LCZIXN5.js → GZOVX7OZ.js} +2 -2
- package/dist/cdn/{QNTVAJ3Z.js → H4MWTNZ7.js} +2 -2
- package/dist/cdn/{ESIL5C5J.js → H4Z72IY6.js} +2 -2
- package/dist/cdn/{F5VK2LWT.js → H76X3NLV.js} +2 -2
- package/dist/cdn/{JNCRD5VF.js → HDCY7FMV.js} +2 -2
- package/dist/cdn/{QMOTHFY3.js → HFPVDWDG.js} +2 -2
- package/dist/cdn/{6LIRB6OO.js → HIW66G6L.js} +2 -2
- package/dist/cdn/{PKVR62JH.js → HR4XTA6J.js} +2 -2
- package/dist/cdn/{3WOLJUY6.js → HTKUTQKG.js} +1 -1
- package/dist/cdn/{AYRURO5I.js → HVJYKPFN.js} +2 -2
- package/dist/cdn/{PO7FYGWC.js → HXJCUD3K.js} +2 -2
- package/dist/cdn/{VS3GHA4U.js → HZ7LHFGR.js} +2 -2
- package/dist/cdn/{ZOG3INRF.js → I246GABT.js} +2 -2
- package/dist/cdn/{H334SYB5.js → I6S3DIGJ.js} +2 -2
- package/dist/cdn/{T5JBW4XX.js → I7EDOB45.js} +2 -2
- package/dist/cdn/{QANZCPWW.js → IBIOOPOC.js} +2 -2
- package/dist/cdn/{CS2SAAHJ.js → ICICBG4A.js} +2 -2
- package/dist/cdn/{KBHTXDNX.js → IHJYKDF4.js} +2 -2
- package/dist/cdn/{RV7DE46I.js → IJ7Z3C3T.js} +2 -2
- package/dist/cdn/{3JON22MH.js → IMUGWVJG.js} +2 -2
- package/dist/cdn/{3N4EVJMP.js → IPH3ZOOS.js} +2 -2
- package/dist/cdn/{RKUUSUEE.js → ISCQ4FTU.js} +2 -2
- package/dist/cdn/{YBQBDK6T.js → IZIX5XZR.js} +2 -2
- package/dist/cdn/IZPMBW7D.js +4 -0
- package/dist/cdn/{S23BV6NV.js → IZRV5JKA.js} +2 -2
- package/dist/cdn/{QCUTITAQ.js → JBJJZUYR.js} +2 -2
- package/dist/cdn/{PHH3TBET.js → JDYA3442.js} +2 -2
- package/dist/cdn/{D2PWCPHM.js → JIFZRR3O.js} +2 -2
- package/dist/cdn/{557VDK2E.js → JLTT7CS3.js} +2 -2
- package/dist/cdn/{KX3L3XOB.js → JLY2UXRV.js} +2 -2
- package/dist/cdn/{NPPGD6V4.js → JREDO6JS.js} +2 -2
- package/dist/cdn/{RKXHKIOJ.js → JSACRAHI.js} +2 -2
- package/dist/cdn/{YQTTGR4O.js → JSU37DNH.js} +2 -2
- package/dist/cdn/{5M3QJUTG.js → JURXFTNI.js} +2 -2
- package/dist/cdn/{VIJ43ZFS.js → JVDIHSMG.js} +2 -2
- package/dist/cdn/{YX3AV3EG.js → JWGERRNQ.js} +2 -2
- package/dist/cdn/{XWSK7LXM.js → JYT2BF4M.js} +2 -2
- package/dist/cdn/{LOG6AS7L.js → K2OOETQQ.js} +2 -2
- package/dist/cdn/{IMXA5LKZ.js → KAIBVRHA.js} +2 -2
- package/dist/cdn/{BI42WF2Q.js → KD4F356D.js} +2 -2
- package/dist/cdn/{RSDQTSYR.js → KGGITVA3.js} +2 -2
- package/dist/cdn/{YPULL44Q.js → KILH6FL3.js} +1 -1
- package/dist/cdn/{GNKRDYJD.js → KOKNSJRS.js} +2 -2
- package/dist/cdn/{6UZ3P6JX.js → KVB3UDZ6.js} +1 -1
- package/dist/cdn/{FI5XGO3D.js → KXCPG5F2.js} +2 -2
- package/dist/cdn/{4K57QN57.js → L3YP5HLO.js} +2 -2
- package/dist/cdn/{QWRTIDZV.js → L5PNEV6D.js} +2 -2
- package/dist/cdn/{EQENXYNA.js → LBJFM2LF.js} +2 -2
- package/dist/cdn/{XDYJPIHY.js → LF4FHA3Q.js} +2 -2
- package/dist/cdn/{FGDHYDTN.js → LMZMFD6T.js} +2 -2
- package/dist/cdn/{HWX6WKQP.js → LNFDTNU6.js} +2 -2
- package/dist/cdn/{LTLEMSXU.js → LOA3DGCY.js} +2 -2
- package/dist/cdn/{QWXOTIW4.js → LPTSKSPI.js} +2 -2
- package/dist/cdn/{JOLMCUPI.js → LSKUYW7T.js} +2 -2
- package/dist/cdn/{MG3QIYMR.js → LVGRKGD6.js} +2 -2
- package/dist/cdn/{JPMPRFG5.js → LVQL7FMT.js} +2 -2
- package/dist/cdn/{KCHAZFV5.js → LYZD7UZ5.js} +2 -2
- package/dist/cdn/{J7ERKBQX.js → M3HLJS3C.js} +2 -2
- package/dist/cdn/{AVNA4ML3.js → M3RBBWUP.js} +2 -2
- package/dist/cdn/{CP5R7DWL.js → MAYVKT54.js} +2 -2
- package/dist/cdn/{EC2WVASN.js → MBUIKDLQ.js} +2 -2
- package/dist/cdn/{PHWNXU3E.js → MC3JBP4N.js} +2 -2
- package/dist/cdn/{FP3SNJC6.js → MCMN4UIR.js} +2 -2
- package/dist/cdn/{XBI3LXNE.js → MMREMNDU.js} +2 -2
- package/dist/cdn/{WDC7ZJRR.js → MNO6W5HM.js} +1 -1
- package/dist/cdn/{ZXKSJCBR.js → MR2AS62E.js} +2 -2
- package/dist/cdn/{C65TS63R.js → MT5PQ5JJ.js} +2 -2
- package/dist/cdn/{6BJW2N3F.js → MW6YM26F.js} +2 -2
- package/dist/cdn/{RSLKFPGU.js → MYLG6APC.js} +2 -2
- package/dist/cdn/{3LMIJAQU.js → MZP6EFNR.js} +2 -2
- package/dist/cdn/{4WPEZ4BE.js → N5PNPARX.js} +2 -2
- package/dist/cdn/{OEBM2NWL.js → NCJKHZMQ.js} +2 -2
- package/dist/cdn/{QYQ52XCG.js → NES3BOHU.js} +2 -2
- package/dist/cdn/{OUKXKOEI.js → NGCZR5NM.js} +2 -2
- package/dist/cdn/{D7CRZL3D.js → NJ2FEJYD.js} +2 -2
- package/dist/cdn/{KB2M54ZG.js → NMIT7U72.js} +2 -2
- package/dist/cdn/{4ORGEPTX.js → NNR5HEPD.js} +2 -2
- package/dist/cdn/{QG6PISI2.js → NRFEJHV6.js} +2 -2
- package/dist/cdn/{NY3Q6MXE.js → NTBTTL65.js} +27 -26
- package/dist/cdn/{5SAODZPL.js → OBQL4DID.js} +2 -2
- package/dist/cdn/{SY25DRBD.js → OI6BR7YD.js} +2 -2
- package/dist/cdn/{X6ZWPQTQ.js → OJRJEY2T.js} +2 -2
- package/dist/cdn/{TUE53AFT.js → OKIA3CA4.js} +2 -2
- package/dist/cdn/{UO4FJMY5.js → OMAIEVY6.js} +2 -2
- package/dist/cdn/{VCZEQYP3.js → ONKYAJYD.js} +2 -2
- package/dist/cdn/{XFQYMCAI.js → OOZRQN7G.js} +2 -2
- package/dist/cdn/OQPH42YX.js +4 -0
- package/dist/cdn/{PPP32PLY.js → OWXO4YJ2.js} +2 -2
- package/dist/cdn/{5YXXDY6O.js → P5UR3MKG.js} +2 -2
- package/dist/cdn/{3RJO7XGM.js → PFVDWPP5.js} +2 -2
- package/dist/cdn/{DRY4CNIX.js → PH66GZ6H.js} +2 -2
- package/dist/cdn/{FIQU7XZG.js → PKHNOTGE.js} +2 -2
- package/dist/cdn/{7ZF6OSB3.js → PVBMB6ZV.js} +2 -2
- package/dist/cdn/{RGS7YJTM.js → PYX2I4XX.js} +2 -2
- package/dist/cdn/{WLXW4KDD.js → Q2S6K5PS.js} +2 -2
- package/dist/cdn/{4CNXMNJ3.js → Q4AP6O7E.js} +2 -2
- package/dist/cdn/{Z2A3PUZN.js → QASCS5OE.js} +2 -2
- package/dist/cdn/{PF6IVRL3.js → QLBJ4G5P.js} +2 -2
- package/dist/cdn/{ML6OHXPX.js → QLFAFALU.js} +2 -2
- package/dist/cdn/{FCGVKRPH.js → QQ3L75PM.js} +2 -2
- package/dist/cdn/{ZBOEOFLE.js → R2R23LY3.js} +2 -2
- package/dist/cdn/{WOUT7GAE.js → R4VB3L3R.js} +2 -2
- package/dist/cdn/{37D3LWAV.js → R7QSXWPM.js} +2 -2
- package/dist/cdn/{JRYL53CA.js → RE6HBLXE.js} +2 -2
- package/dist/cdn/{OFAOAVBA.js → ROCO5ZCF.js} +2 -2
- package/dist/cdn/{VWABB263.js → ROGAZYAL.js} +2 -2
- package/dist/cdn/{GLTT7XKO.js → RVMFKVZU.js} +2 -2
- package/dist/cdn/{ZB5IUUXL.js → RVPKHBM4.js} +2 -2
- package/dist/cdn/{K5LU2ZWG.js → RZ67PFBV.js} +2 -2
- package/dist/cdn/{2ESJY5OD.js → RZV7ZQQV.js} +2 -2
- package/dist/cdn/{35O2U6AN.js → S2LGBK4P.js} +2 -2
- package/dist/cdn/{PIQUWA5K.js → S4MNTKW3.js} +2 -2
- package/dist/cdn/S5E3G72U.js +4 -0
- package/dist/cdn/{DGCWEZYI.js → SBPK7VLA.js} +2 -2
- package/dist/cdn/{24ZGAGHJ.js → SFKLCYYV.js} +2 -2
- package/dist/cdn/{MXZQ4GSD.js → SFMVPBKB.js} +2 -2
- package/dist/cdn/{VQPBKFXA.js → SHDH7735.js} +2 -2
- package/dist/cdn/{VXC54MEA.js → SJQRD3SC.js} +2 -2
- package/dist/cdn/{YHBF657T.js → SPGSLXCQ.js} +2 -2
- package/dist/cdn/{JIV4SG6J.js → SV45QCY5.js} +2 -2
- package/dist/cdn/{GCCCUW2G.js → SZFT7XTV.js} +2 -2
- package/dist/cdn/{EAZJT2J6.js → TE5WUQHJ.js} +2 -2
- package/dist/cdn/{R6MZAMDQ.js → THNPA3Z5.js} +2 -2
- package/dist/cdn/{VH5ZFVVK.js → THZTVEAD.js} +2 -2
- package/dist/cdn/{LL6IXDXA.js → TTPTI4ZA.js} +2 -2
- package/dist/cdn/{EY6O6X2T.js → TUUXSF5Q.js} +2 -2
- package/dist/cdn/{G7L2I5WO.js → TVNV6JEH.js} +2 -2
- package/dist/cdn/{OM272RUJ.js → TZTSJEJG.js} +2 -2
- package/dist/cdn/{JXSSWORH.js → TZUH2EI3.js} +2 -2
- package/dist/cdn/{YUWMRLTU.js → U5AI27XB.js} +2 -2
- package/dist/cdn/{VKMPGOML.js → UBJXHR2N.js} +1 -1
- package/dist/cdn/{ZBGNYXRR.js → UCJKUZ27.js} +2 -2
- package/dist/cdn/{MGFGINMR.js → UIRSIMGG.js} +2 -2
- package/dist/cdn/{T5GJMZL3.js → URLRGJ2Z.js} +2 -2
- package/dist/cdn/{6I76PKQK.js → US3AORRZ.js} +2 -2
- package/dist/cdn/{VFGYVFNG.js → USQ5ZP3O.js} +2 -2
- package/dist/cdn/{PUK7YY22.js → UUQ53FXJ.js} +2 -2
- package/dist/cdn/{3ZAH2CL6.js → UYC5H3IN.js} +2 -2
- package/dist/cdn/{P4HP6GC5.js → UZCWCNWG.js} +2 -2
- package/dist/cdn/{7RR4D7SJ.js → V2EYF5WH.js} +2 -2
- package/dist/cdn/{6TY4UVKH.js → V66VIKNA.js} +2 -2
- package/dist/cdn/{5R4RYZPZ.js → V7BAYQIA.js} +2 -2
- package/dist/cdn/{PAZ5NGH5.js → V7KZMBHG.js} +2 -2
- package/dist/cdn/{RBBNDEQ5.js → VGJ4SYXK.js} +2 -2
- package/dist/cdn/{ZT4UGJDF.js → VRR2DVE6.js} +2 -2
- package/dist/cdn/{6XYHUKL5.js → VTG6DWZS.js} +2 -2
- package/dist/cdn/{7ZJPAWWH.js → W3SAKAAU.js} +2 -2
- package/dist/cdn/{GL2RZHJZ.js → W7AL3HFG.js} +2 -2
- package/dist/cdn/{BN25QHG2.js → WARFX2R6.js} +2 -2
- package/dist/cdn/{NJDKSDZJ.js → WIL5KWK5.js} +2 -2
- package/dist/cdn/{DDHUQPOX.js → WINPBPU4.js} +2 -2
- package/dist/cdn/{KTQDXUUJ.js → WJ6CXAWX.js} +2 -2
- package/dist/cdn/{56EVCUZS.js → WLZKCALF.js} +2 -2
- package/dist/cdn/{VHMLRAIB.js → WPCIIAL7.js} +2 -2
- package/dist/cdn/{RWF6ZJ7X.js → WT7UIXL7.js} +2 -2
- package/dist/cdn/{WZUCUCTG.js → X4VNZMA3.js} +2 -2
- package/dist/cdn/{XTZTWEI3.js → X76LG4OA.js} +2 -2
- package/dist/cdn/{HMIQI6PI.js → XCUXGZY5.js} +2 -2
- package/dist/cdn/{YBRMLTO4.js → XFMQ7KZ2.js} +2 -2
- package/dist/cdn/{MIMOBTUA.js → XSJGXJ6N.js} +2 -2
- package/dist/cdn/{Z22UTEQZ.js → XTG6WG36.js} +2 -2
- package/dist/cdn/{ABLCAXNN.js → XYI3SZK7.js} +2 -2
- package/dist/cdn/{LH4EUI35.js → Y232NIGB.js} +2 -2
- package/dist/cdn/{NNVA7KPA.js → Y2M5VN3Z.js} +2 -2
- package/dist/cdn/{D4RR6GTA.js → Y3JKUXCV.js} +2 -2
- package/dist/cdn/{DQWJVAF2.js → YF64IGLL.js} +2 -2
- package/dist/cdn/{ISX4TPV2.js → YH6DEUPU.js} +2 -2
- package/dist/cdn/{RTRQR2CH.js → YJO5IRRF.js} +2 -2
- package/dist/cdn/{OX6EJXRF.js → YP2EYR5T.js} +2 -2
- package/dist/cdn/{MK6RTUEL.js → YYEHO73N.js} +2 -2
- package/dist/cdn/{TOIHJCPC.js → YYN5DXLD.js} +2 -2
- package/dist/cdn/{SBLXHTCX.js → ZABZH76W.js} +2 -2
- package/dist/cdn/{EXJM3HBZ.js → ZCKII5TJ.js} +2 -2
- package/dist/cdn/{5J6RXZBS.js → ZTO5SLCZ.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/chart-rendering/next/chart-library-elements/loading-indicator/index.d.ts +7 -1
- package/dist/chart-rendering/next/chart-library-elements/series/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/pie-chart/interfaces.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/series/pie-chart/slice-grouping/index.d.ts +16 -3
- package/dist/chart-rendering/next/chart-library-elements/series/utils/index.d.ts +1 -0
- package/dist/chart-rendering/next/chart-library-elements/utils/index.d.ts +1 -1
- package/dist/chart-rendering/next/chart-library-elements/utils/interfaces.d.ts +2 -0
- package/dist/chart-rendering/next/utils/memory-storage/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/chart-library-elements/loading-indicator/index.d.ts +19 -5
- package/dist/chart-rendering/stable/chart-library-elements/series/box-plot/interfaces.d.ts +1 -0
- package/dist/chart-rendering/stable/interfaces.d.ts +2 -1
- package/dist/chunks/action-bar-utils.js +2 -2
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +2 -2
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +15 -15
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +21 -21
- package/dist/chunks/box-plot-model.js +11 -11
- package/dist/chunks/chart-ui-utils.js +2 -2
- package/dist/chunks/chart-ui-utils2.js +10 -10
- package/dist/chunks/combo-bar-line-chart-model.js +5 -5
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +94 -94
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +2 -2
- package/dist/chunks/histogram-data.js +14 -14
- package/dist/chunks/histogram-model.js +5 -5
- package/dist/chunks/index.js +206 -155
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +6 -6
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +2589 -5360
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +2 -2
- package/dist/chunks/messages.ar.js +1 -1
- package/dist/chunks/messages.ar2.js +1 -1
- package/dist/chunks/messages.ar3.js +1 -1
- package/dist/chunks/messages.ar4.js +1 -1
- package/dist/chunks/messages.bg.js +1 -1
- package/dist/chunks/messages.bg2.js +1 -1
- package/dist/chunks/messages.bg3.js +1 -1
- package/dist/chunks/messages.bg4.js +1 -1
- package/dist/chunks/messages.bs.js +1 -1
- package/dist/chunks/messages.bs2.js +1 -1
- package/dist/chunks/messages.bs3.js +1 -1
- package/dist/chunks/messages.bs4.js +1 -1
- package/dist/chunks/messages.ca.js +1 -1
- package/dist/chunks/messages.ca2.js +1 -1
- package/dist/chunks/messages.ca3.js +1 -1
- package/dist/chunks/messages.ca4.js +1 -1
- package/dist/chunks/messages.cs.js +1 -1
- package/dist/chunks/messages.cs2.js +1 -1
- package/dist/chunks/messages.cs3.js +1 -1
- package/dist/chunks/messages.cs4.js +1 -1
- package/dist/chunks/messages.da.js +1 -1
- package/dist/chunks/messages.da2.js +1 -1
- package/dist/chunks/messages.da3.js +1 -1
- package/dist/chunks/messages.de.js +1 -1
- package/dist/chunks/messages.de2.js +1 -1
- package/dist/chunks/messages.de3.js +1 -1
- package/dist/chunks/messages.de4.js +1 -1
- package/dist/chunks/messages.el.js +1 -1
- package/dist/chunks/messages.el2.js +1 -1
- package/dist/chunks/messages.el3.js +1 -1
- package/dist/chunks/messages.el4.js +1 -1
- package/dist/chunks/messages.en-US.js +1 -1
- package/dist/chunks/messages.en-US2.js +1 -1
- package/dist/chunks/messages.en-US3.js +1 -1
- package/dist/chunks/messages.en-US4.js +1 -1
- package/dist/chunks/messages.en.js +1 -1
- package/dist/chunks/messages.en2.js +1 -1
- package/dist/chunks/messages.en3.js +1 -1
- package/dist/chunks/messages.es.js +1 -1
- package/dist/chunks/messages.es2.js +1 -1
- package/dist/chunks/messages.es3.js +1 -1
- package/dist/chunks/messages.es4.js +1 -1
- package/dist/chunks/messages.et.js +1 -1
- package/dist/chunks/messages.et2.js +1 -1
- package/dist/chunks/messages.et3.js +1 -1
- package/dist/chunks/messages.et4.js +1 -1
- package/dist/chunks/messages.fi.js +1 -1
- package/dist/chunks/messages.fi2.js +1 -1
- package/dist/chunks/messages.fi3.js +1 -1
- package/dist/chunks/messages.fi4.js +1 -1
- package/dist/chunks/messages.fr.js +1 -1
- package/dist/chunks/messages.fr2.js +1 -1
- package/dist/chunks/messages.fr3.js +1 -1
- package/dist/chunks/messages.fr4.js +1 -1
- package/dist/chunks/messages.he.js +1 -1
- package/dist/chunks/messages.he2.js +1 -1
- package/dist/chunks/messages.he3.js +1 -1
- package/dist/chunks/messages.he4.js +1 -1
- package/dist/chunks/messages.hr.js +1 -1
- package/dist/chunks/messages.hr2.js +1 -1
- package/dist/chunks/messages.hr3.js +1 -1
- package/dist/chunks/messages.hr4.js +1 -1
- package/dist/chunks/messages.hu.js +1 -1
- package/dist/chunks/messages.hu2.js +1 -1
- package/dist/chunks/messages.hu3.js +1 -1
- package/dist/chunks/messages.hu4.js +1 -1
- package/dist/chunks/messages.id.js +1 -1
- package/dist/chunks/messages.id2.js +1 -1
- package/dist/chunks/messages.id3.js +1 -1
- package/dist/chunks/messages.id4.js +1 -1
- package/dist/chunks/messages.it.js +1 -1
- package/dist/chunks/messages.it2.js +1 -1
- package/dist/chunks/messages.it3.js +1 -1
- package/dist/chunks/messages.it4.js +1 -1
- package/dist/chunks/messages.ja.js +1 -1
- package/dist/chunks/messages.ja2.js +1 -1
- package/dist/chunks/messages.ja3.js +1 -1
- package/dist/chunks/messages.ja4.js +1 -1
- package/dist/chunks/messages.ko.js +1 -1
- package/dist/chunks/messages.ko2.js +1 -1
- package/dist/chunks/messages.ko3.js +1 -1
- package/dist/chunks/messages.ko4.js +1 -1
- package/dist/chunks/messages.lt.js +1 -1
- package/dist/chunks/messages.lt2.js +1 -1
- package/dist/chunks/messages.lt3.js +1 -1
- package/dist/chunks/messages.lt4.js +1 -1
- package/dist/chunks/messages.lv.js +1 -1
- package/dist/chunks/messages.lv2.js +1 -1
- package/dist/chunks/messages.lv3.js +1 -1
- package/dist/chunks/messages.lv4.js +1 -1
- package/dist/chunks/messages.nl.js +1 -1
- package/dist/chunks/messages.nl2.js +1 -1
- package/dist/chunks/messages.nl3.js +1 -1
- package/dist/chunks/messages.nl4.js +1 -1
- package/dist/chunks/messages.no.js +1 -1
- package/dist/chunks/messages.no2.js +1 -1
- package/dist/chunks/messages.no3.js +1 -1
- package/dist/chunks/messages.pl.js +1 -1
- package/dist/chunks/messages.pl2.js +1 -1
- package/dist/chunks/messages.pl3.js +1 -1
- package/dist/chunks/messages.pl4.js +1 -1
- package/dist/chunks/messages.pt-BR.js +1 -1
- package/dist/chunks/messages.pt-BR2.js +1 -1
- package/dist/chunks/messages.pt-BR3.js +1 -1
- package/dist/chunks/messages.pt-BR4.js +1 -1
- package/dist/chunks/messages.pt-PT.js +1 -1
- package/dist/chunks/messages.pt-PT2.js +1 -1
- package/dist/chunks/messages.pt-PT3.js +1 -1
- package/dist/chunks/messages.pt-PT4.js +1 -1
- package/dist/chunks/messages.ro.js +1 -1
- package/dist/chunks/messages.ro2.js +1 -1
- package/dist/chunks/messages.ro3.js +1 -1
- package/dist/chunks/messages.ro4.js +1 -1
- package/dist/chunks/messages.ru.js +1 -1
- package/dist/chunks/messages.ru2.js +1 -1
- package/dist/chunks/messages.ru3.js +1 -1
- package/dist/chunks/messages.ru4.js +1 -1
- package/dist/chunks/messages.sk.js +1 -1
- package/dist/chunks/messages.sk2.js +1 -1
- package/dist/chunks/messages.sk3.js +1 -1
- package/dist/chunks/messages.sk4.js +1 -1
- package/dist/chunks/messages.sl.js +1 -1
- package/dist/chunks/messages.sl2.js +1 -1
- package/dist/chunks/messages.sl3.js +1 -1
- package/dist/chunks/messages.sl4.js +1 -1
- package/dist/chunks/messages.sr.js +1 -1
- package/dist/chunks/messages.sr2.js +1 -1
- package/dist/chunks/messages.sr3.js +1 -1
- package/dist/chunks/messages.sr4.js +1 -1
- package/dist/chunks/messages.sv.js +1 -1
- package/dist/chunks/messages.sv2.js +1 -1
- package/dist/chunks/messages.sv3.js +1 -1
- package/dist/chunks/messages.sv4.js +1 -1
- package/dist/chunks/messages.th.js +1 -1
- package/dist/chunks/messages.th2.js +1 -1
- package/dist/chunks/messages.th3.js +1 -1
- package/dist/chunks/messages.th4.js +1 -1
- package/dist/chunks/messages.tr.js +1 -1
- package/dist/chunks/messages.tr2.js +1 -1
- package/dist/chunks/messages.tr3.js +1 -1
- package/dist/chunks/messages.uk.js +1 -1
- package/dist/chunks/messages.uk2.js +1 -1
- package/dist/chunks/messages.uk3.js +1 -1
- package/dist/chunks/messages.uk4.js +1 -1
- package/dist/chunks/messages.vi.js +1 -1
- package/dist/chunks/messages.vi2.js +1 -1
- package/dist/chunks/messages.vi3.js +1 -1
- package/dist/chunks/messages.vi4.js +1 -1
- package/dist/chunks/messages.zh-CN.js +1 -1
- package/dist/chunks/messages.zh-CN2.js +1 -1
- package/dist/chunks/messages.zh-CN3.js +1 -1
- package/dist/chunks/messages.zh-CN4.js +1 -1
- package/dist/chunks/messages.zh-HK.js +1 -1
- package/dist/chunks/messages.zh-HK2.js +1 -1
- package/dist/chunks/messages.zh-HK3.js +1 -1
- package/dist/chunks/messages.zh-HK4.js +1 -1
- package/dist/chunks/messages.zh-TW.js +1 -1
- package/dist/chunks/messages.zh-TW2.js +1 -1
- package/dist/chunks/messages.zh-TW3.js +1 -1
- package/dist/chunks/messages.zh-TW4.js +1 -1
- package/dist/chunks/model-with-baseline-stacking.js +1 -1
- package/dist/chunks/model-with-data-labels.js +4 -4
- package/dist/chunks/model-with-rotation.js +4 -4
- package/dist/chunks/model-with-y-guides.js +192 -154
- package/dist/chunks/pie-chart-data.js +18 -18
- package/dist/chunks/pie-chart-model.js +19 -19
- package/dist/chunks/popover-ui-utils.js +38 -37
- package/dist/chunks/radar-chart-model.js +5 -5
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +21 -21
- package/dist/chunks/serial-chart-model.js +2 -2
- package/dist/chunks/series-types.js +17 -12
- package/dist/chunks/series.js +7 -7
- package/dist/chunks/setup-utils.js +1 -1
- package/dist/chunks/sk_SK.js +1 -1
- package/dist/chunks/sk_SK2.js +1 -1
- package/dist/chunks/store.js +1 -1
- package/dist/chunks/type-guards.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/web-component-utils.js +36 -36
- package/dist/components/arcgis-chart/customElement.d.ts +16 -16
- package/dist/components/arcgis-chart/customElement.js +9385 -9286
- package/dist/components/arcgis-charts-action-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +35 -36
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +9 -9
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +4 -4
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-category-format/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
- package/dist/components/arcgis-charts-config-field-select/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-font-style/customElement.js +6 -6
- package/dist/components/arcgis-charts-config-format/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-guide/customElement.js +15 -15
- package/dist/components/arcgis-charts-config-guide-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +24 -24
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-line-style/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +23 -23
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +5 -5
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.d.ts +1 -1
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +2 -2
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/web-types.json +3 -3
- package/dist/index.js +340 -326
- package/dist/loader.js +1 -1
- package/dist/model/chart-model/chart-model.d.ts +17 -1
- package/dist/model/chart-model/utils/series.d.ts +18 -0
- package/dist/model.js +1 -1
- package/dist/test/chart-rendering/test-utils/utils.d.ts +1 -1
- package/dist/test/utils/test-utils/utils.d.ts +1 -9
- package/dist/utils/chart-config/converter/index.d.ts +436 -1
- package/dist/utils/chart-config/utils/index.d.ts +15 -0
- package/dist/utils/chart-config/validator/index.d.ts +72 -1
- package/dist/utils/components/config-update.d.ts +1 -1
- package/dist/utils/components/event-payloads.d.ts +3 -1
- package/dist/utils/layer/index.d.ts +39 -1
- package/dist/utils/layer/inline-conversion/index.d.ts +29 -1
- package/dist/utils/layer/query-parser/index.d.ts +11 -0
- package/dist/utils/misc/index.d.ts +20 -0
- package/dist/utils/type-guards/series-types.d.ts +15 -0
- package/dist/utils/ui/popover-ui-utils.d.ts +8 -0
- package/package.json +5 -4
- package/dist/cdn/3K6GS6QF.js +0 -4
- package/dist/cdn/5P6D52NY.js +0 -4
- package/dist/cdn/ILHQJVEN.js +0 -4
- package/dist/cdn/OMLUMUPC.js +0 -4
- package/dist/cdn/RBYQ5J55.js +0 -4
- package/dist/cdn/RVYAIOYI.js +0 -4
- package/dist/cdn/VOMDWE4G.js +0 -4
- package/dist/cdn/WTQDUEI7.js +0 -4
- package/dist/cdn/XRE72WIZ.js +0 -4
- package/dist/cdn/YU4RDUBA.js +0 -4
- package/dist/demo-chart-rendering/action-bar/index.d.ts +0 -5
- package/dist/demo-chart-rendering/common/index.d.ts +0 -269
- package/dist/demo-chart-rendering/config-update/axes.d.ts +0 -2
- package/dist/demo-chart-rendering/config-update/data.d.ts +0 -2
- package/dist/demo-chart-rendering/config-update/general.d.ts +0 -3
- package/dist/demo-chart-rendering/config-update/guides.d.ts +0 -2
- package/dist/demo-chart-rendering/config-update/inner-label.d.ts +0 -3
- package/dist/demo-chart-rendering/config-update/legend.d.ts +0 -4
- package/dist/demo-chart-rendering/config-update/needle.d.ts +0 -2
- package/dist/demo-chart-rendering/config-update/overlays.d.ts +0 -2
- package/dist/demo-chart-rendering/config-update/series.d.ts +0 -12
- package/dist/demo-chart-rendering/config-update/time-binning.d.ts +0 -3
- package/dist/demo-chart-rendering/config-update/update.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/bar-chart.d.ts +0 -2
- package/dist/demo-chart-rendering/controls/box-plot.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/common.d.ts +0 -8
- package/dist/demo-chart-rendering/controls/gauge.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/histogram.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/interfaces.d.ts +0 -27
- package/dist/demo-chart-rendering/controls/line-chart.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/pie-chart.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/scatter-plot.d.ts +0 -3
- package/dist/demo-chart-rendering/controls/utils.d.ts +0 -6
- package/dist/demo-chart-rendering/data/index.d.ts +0 -3
- package/dist/demo-chart-rendering/events/events.d.ts +0 -6
- package/dist/demo-chart-rendering/events/interfaces.d.ts +0 -5
- package/dist/demo-chart-rendering/index.d.ts +0 -13
- package/dist/demo-chart-rendering/map-actions/index.d.ts +0 -2
- package/dist/demo-chart-rendering/renderer/index.d.ts +0 -3
- package/dist/demo-chart-rendering/renderer/interfaces.d.ts +0 -1
- package/dist/demo-chart-rendering/selection/index.d.ts +0 -7
- package/dist/demo-chart-rendering/utils/index.d.ts +0 -34
- package/dist/demo-chart-rendering/utils/interfaces.d.ts +0 -18
- package/dist/demo-chart-rendering/utils/render-template.d.ts +0 -7
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as L,b as Ie,c as oa,e as vo,f as Rr,h as St,i as So,k as na,l as _e,o as wo,p as or,r as At,t as xo,u as Io,w as nr,x as Me}from"./C7KHI3AN.js";import{b as nc,d as sc}from"./3WOLJUY6.js";export default $arcgis.t(([Ha,cd,ud,Iv,za,Cv,Tv,Av,Pv,Fv,Ov,hd,Qa])=>{var Dl=nc((v$,Ta)=>{function yv(e,r){var i=r&&r.cache?r.cache:xv,t=r&&r.serializer?r.serializer:wv,a=r&&r.strategy?r.strategy:bv;return a(e,{cache:i,serializer:t})}function gv(e){return e==null||typeof e=="number"||typeof e=="boolean"}function El(e,r,i,t){var a=gv(t)?t:i(t),o=r.get(a);return typeof o>"u"&&(o=e.call(this,t),r.set(a,o)),o}function Ll(e,r,i){var t=Array.prototype.slice.call(arguments,3),a=i(t),o=r.get(a);return typeof o>"u"&&(o=e.apply(this,t),r.set(a,o)),o}function Ca(e,r,i,t,a){return i.bind(r,e,t,a)}function bv(e,r){var i=e.length===1?El:Ll;return Ca(e,this,i,r.cache.create(),r.serializer)}function vv(e,r){var i=Ll;return Ca(e,this,i,r.cache.create(),r.serializer)}function Sv(e,r){var i=El;return Ca(e,this,i,r.cache.create(),r.serializer)}function wv(){return JSON.stringify(arguments)}function Mi(){this.cache=Object.create(null)}Mi.prototype.has=function(e){return e in this.cache};Mi.prototype.get=function(e){return this.cache[e]};Mi.prototype.set=function(e,r){this.cache[e]=r};var xv={create:function(){return new Mi}};Ta.exports=yv;Ta.exports.strategies={variadic:vv,monadic:Sv}});var ke={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},sr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},sa={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},lr={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},Xr={Left:"left",Right:"right",Center:"center",Justify:"justify"},la={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},Be={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},Zx={Italic:"italic",Normal:"normal",Oblique:"oblique"},Xx={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},Yx={LineThrough:"line-through",Underline:"underline",None:"none"},Yr={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},Gt={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var ei="arcgis_charts_pie_from_fields_name",pa="arcgis_charts_pie_from_fields_value",Co="arcgis_charts_bar_line_from_fields_name",To="arcgis_charts_bar_line_from_fields_value";var lt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var lc=Array.isArray,se=lc;function pc(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var we=pc;var dc=/\s/;function cc(e){for(var r=e.length;r--&&dc.test(e.charAt(r)););return r}var Ao=cc;var uc=/^\s+/;function fc(e){return e&&e.slice(0,Ao(e)+1).replace(uc,"")}var Po=fc;var hc=typeof global=="object"&&global&&global.Object===Object&&global,ti=hc;var mc=typeof self=="object"&&self&&self.Object===Object&&self,yc=ti||mc||Function("return this")(),Ae=yc;var gc=Ae.Symbol,De=gc;var Fo=Object.prototype,bc=Fo.hasOwnProperty,vc=Fo.toString,_r=De?De.toStringTag:void 0;function Sc(e){var r=bc.call(e,_r),i=e[_r];try{e[_r]=void 0;var t=!0}catch{}var a=vc.call(e);return t&&(r?e[_r]=i:delete e[_r]),a}var Oo=Sc;var wc=Object.prototype,xc=wc.toString;function Ic(e){return xc.call(e)}var Eo=Ic;var Cc="[object Null]",Tc="[object Undefined]",Lo=De?De.toStringTag:void 0;function Ac(e){return e==null?e===void 0?Tc:Cc:Lo&&Lo in Object(e)?Oo(e):Eo(e)}var je=Ac;function Pc(e){return e!=null&&typeof e=="object"}var Ce=Pc;var Fc="[object Symbol]";function Oc(e){return typeof e=="symbol"||Ce(e)&&je(e)==Fc}var Ye=Oc;var Do=NaN,Ec=/^[-+]0x[0-9a-f]+$/i,Lc=/^0b[01]+$/i,Dc=/^0o[0-7]+$/i,$c=parseInt;function jc(e){if(typeof e=="number")return e;if(Ye(e))return Do;if(we(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=we(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Po(e);var i=Lc.test(e);return i||Dc.test(e)?$c(e.slice(2),i?2:8):Ec.test(e)?Do:+e}var ri=jc;function Rc(){this.__data__=[],this.size=0}var $o=Rc;function _c(e,r){return e===r||e!==e&&r!==r}var He=_c;function kc(e,r){for(var i=e.length;i--;)if(He(e[i][0],r))return i;return-1}var Pt=kc;var Bc=Array.prototype,qc=Bc.splice;function Mc(e){var r=this.__data__,i=Pt(r,e);if(i<0)return!1;var t=r.length-1;return i==t?r.pop():qc.call(r,i,1),--this.size,!0}var jo=Mc;function Nc(e){var r=this.__data__,i=Pt(r,e);return i<0?void 0:r[i][1]}var Ro=Nc;function Wc(e){return Pt(this.__data__,e)>-1}var _o=Wc;function zc(e,r){var i=this.__data__,t=Pt(i,e);return t<0?(++this.size,i.push([e,r])):i[t][1]=r,this}var ko=zc;function pr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}pr.prototype.clear=$o;pr.prototype.delete=jo;pr.prototype.get=Ro;pr.prototype.has=_o;pr.prototype.set=ko;var Ft=pr;function Vc(){this.__data__=new Ft,this.size=0}var Bo=Vc;function Uc(e){var r=this.__data__,i=r.delete(e);return this.size=r.size,i}var qo=Uc;function Gc(e){return this.__data__.get(e)}var Mo=Gc;function Hc(e){return this.__data__.has(e)}var No=Hc;var Qc="[object AsyncFunction]",Kc="[object Function]",Jc="[object GeneratorFunction]",Zc="[object Proxy]";function Xc(e){if(!we(e))return!1;var r=je(e);return r==Kc||r==Jc||r==Qc||r==Zc}var dr=Xc;var Yc=Ae["__core-js_shared__"],ii=Yc;var Wo=function(){var e=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function eu(e){return!!Wo&&Wo in e}var zo=eu;var tu=Function.prototype,ru=tu.toString;function iu(e){if(e!=null){try{return ru.call(e)}catch{}try{return e+""}catch{}}return""}var wt=iu;var au=/[\\^$.*+?()[\]{}|]/g,ou=/^\[object .+?Constructor\]$/,nu=Function.prototype,su=Object.prototype,lu=nu.toString,pu=su.hasOwnProperty,du=RegExp("^"+lu.call(pu).replace(au,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function cu(e){if(!we(e)||zo(e))return!1;var r=dr(e)?du:ou;return r.test(wt(e))}var Vo=cu;function uu(e,r){return e?.[r]}var Uo=uu;function fu(e,r){var i=Uo(e,r);return Vo(i)?i:void 0}var Ne=fu;var hu=Ne(Ae,"Map"),Ot=hu;var mu=Ne(Object,"create"),xt=mu;function yu(){this.__data__=xt?xt(null):{},this.size=0}var Go=yu;function gu(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}var Ho=gu;var bu="__lodash_hash_undefined__",vu=Object.prototype,Su=vu.hasOwnProperty;function wu(e){var r=this.__data__;if(xt){var i=r[e];return i===bu?void 0:i}return Su.call(r,e)?r[e]:void 0}var Qo=wu;var xu=Object.prototype,Iu=xu.hasOwnProperty;function Cu(e){var r=this.__data__;return xt?r[e]!==void 0:Iu.call(r,e)}var Ko=Cu;var Tu="__lodash_hash_undefined__";function Au(e,r){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=xt&&r===void 0?Tu:r,this}var Jo=Au;function cr(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}cr.prototype.clear=Go;cr.prototype.delete=Ho;cr.prototype.get=Qo;cr.prototype.has=Ko;cr.prototype.set=Jo;var da=cr;function Pu(){this.size=0,this.__data__={hash:new da,map:new(Ot||Ft),string:new da}}var Zo=Pu;function Fu(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}var Xo=Fu;function Ou(e,r){var i=e.__data__;return Xo(r)?i[typeof r=="string"?"string":"hash"]:i.map}var Et=Ou;function Eu(e){var r=Et(this,e).delete(e);return this.size-=r?1:0,r}var Yo=Eu;function Lu(e){return Et(this,e).get(e)}var en=Lu;function Du(e){return Et(this,e).has(e)}var tn=Du;function $u(e,r){var i=Et(this,e),t=i.size;return i.set(e,r),this.size+=i.size==t?0:1,this}var rn=$u;function ur(e){var r=-1,i=e==null?0:e.length;for(this.clear();++r<i;){var t=e[r];this.set(t[0],t[1])}}ur.prototype.clear=Zo;ur.prototype.delete=Yo;ur.prototype.get=en;ur.prototype.has=tn;ur.prototype.set=rn;var Ht=ur;var ju=200;function Ru(e,r){var i=this.__data__;if(i instanceof Ft){var t=i.__data__;if(!Ot||t.length<ju-1)return t.push([e,r]),this.size=++i.size,this;i=this.__data__=new Ht(t)}return i.set(e,r),this.size=i.size,this}var an=Ru;function fr(e){var r=this.__data__=new Ft(e);this.size=r.size}fr.prototype.clear=Bo;fr.prototype.delete=qo;fr.prototype.get=Mo;fr.prototype.has=No;fr.prototype.set=an;var pt=fr;function _u(e,r){for(var i=-1,t=e==null?0:e.length;++i<t&&r(e[i],i,e)!==!1;);return e}var on=_u;var ku=function(){try{var e=Ne(Object,"defineProperty");return e({},"",{}),e}catch{}}(),hr=ku;function Bu(e,r,i){r=="__proto__"&&hr?hr(e,r,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[r]=i}var mr=Bu;var qu=Object.prototype,Mu=qu.hasOwnProperty;function Nu(e,r,i){var t=e[r];(!(Mu.call(e,r)&&He(t,i))||i===void 0&&!(r in e))&&mr(e,r,i)}var ai=Nu;function Wu(e,r,i,t){var a=!i;i||(i={});for(var o=-1,n=r.length;++o<n;){var s=r[o],l=t?t(i[s],e[s],s,i,e):void 0;l===void 0&&(l=e[s]),a?mr(i,s,l):ai(i,s,l)}return i}var Qe=Wu;function zu(e,r){for(var i=-1,t=Array(e);++i<e;)t[i]=r(i);return t}var oi=zu;var Vu="[object Arguments]";function Uu(e){return Ce(e)&&je(e)==Vu}var ca=Uu;var nn=Object.prototype,Gu=nn.hasOwnProperty,Hu=nn.propertyIsEnumerable,Qu=ca(function(){return arguments}())?ca:function(e){return Ce(e)&&Gu.call(e,"callee")&&!Hu.call(e,"callee")},et=Qu;function Ku(){return!1}var sn=Ku;var dn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ln=dn&&typeof module=="object"&&module&&!module.nodeType&&module,Ju=ln&&ln.exports===dn,pn=Ju?Ae.Buffer:void 0,Zu=pn?pn.isBuffer:void 0,Xu=Zu||sn,tt=Xu;var Yu=9007199254740991,ef=/^(?:0|[1-9]\d*)$/;function tf(e,r){var i=typeof e;return r=r??Yu,!!r&&(i=="number"||i!="symbol"&&ef.test(e))&&e>-1&&e%1==0&&e<r}var yr=tf;var rf=9007199254740991;function af(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=rf}var gr=af;var of="[object Arguments]",nf="[object Array]",sf="[object Boolean]",lf="[object Date]",pf="[object Error]",df="[object Function]",cf="[object Map]",uf="[object Number]",ff="[object Object]",hf="[object RegExp]",mf="[object Set]",yf="[object String]",gf="[object WeakMap]",bf="[object ArrayBuffer]",vf="[object DataView]",Sf="[object Float32Array]",wf="[object Float64Array]",xf="[object Int8Array]",If="[object Int16Array]",Cf="[object Int32Array]",Tf="[object Uint8Array]",Af="[object Uint8ClampedArray]",Pf="[object Uint16Array]",Ff="[object Uint32Array]",me={};me[Sf]=me[wf]=me[xf]=me[If]=me[Cf]=me[Tf]=me[Af]=me[Pf]=me[Ff]=!0;me[of]=me[nf]=me[bf]=me[sf]=me[vf]=me[lf]=me[pf]=me[df]=me[cf]=me[uf]=me[ff]=me[hf]=me[mf]=me[yf]=me[gf]=!1;function Of(e){return Ce(e)&&gr(e.length)&&!!me[je(e)]}var cn=Of;function Ef(e){return function(r){return e(r)}}var Lt=Ef;var un=typeof exports=="object"&&exports&&!exports.nodeType&&exports,kr=un&&typeof module=="object"&&module&&!module.nodeType&&module,Lf=kr&&kr.exports===un,ua=Lf&&ti.process,Df=function(){try{var e=kr&&kr.require&&kr.require("util").types;return e||ua&&ua.binding&&ua.binding("util")}catch{}}(),It=Df;var fn=It&&It.isTypedArray,$f=fn?Lt(fn):cn,Dt=$f;var jf=Object.prototype,Rf=jf.hasOwnProperty;function _f(e,r){var i=se(e),t=!i&&et(e),a=!i&&!t&&tt(e),o=!i&&!t&&!a&&Dt(e),n=i||t||a||o,s=n?oi(e.length,String):[],l=s.length;for(var c in e)(r||Rf.call(e,c))&&!(n&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||yr(c,l)))&&s.push(c);return s}var ni=_f;var kf=Object.prototype;function Bf(e){var r=e&&e.constructor,i=typeof r=="function"&&r.prototype||kf;return e===i}var $t=Bf;function qf(e,r){return function(i){return e(r(i))}}var si=qf;var Mf=si(Object.keys,Object),hn=Mf;var Nf=Object.prototype,Wf=Nf.hasOwnProperty;function zf(e){if(!$t(e))return hn(e);var r=[];for(var i in Object(e))Wf.call(e,i)&&i!="constructor"&&r.push(i);return r}var li=zf;function Vf(e){return e!=null&&gr(e.length)&&!dr(e)}var We=Vf;function Uf(e){return We(e)?ni(e):li(e)}var Ke=Uf;function Gf(e,r){return e&&Qe(r,Ke(r),e)}var mn=Gf;function Hf(e){var r=[];if(e!=null)for(var i in Object(e))r.push(i);return r}var yn=Hf;var Qf=Object.prototype,Kf=Qf.hasOwnProperty;function Jf(e){if(!we(e))return yn(e);var r=$t(e),i=[];for(var t in e)t=="constructor"&&(r||!Kf.call(e,t))||i.push(t);return i}var gn=Jf;function Zf(e){return We(e)?ni(e,!0):gn(e)}var Je=Zf;function Xf(e,r){return e&&Qe(r,Je(r),e)}var bn=Xf;var xn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vn=xn&&typeof module=="object"&&module&&!module.nodeType&&module,Yf=vn&&vn.exports===xn,Sn=Yf?Ae.Buffer:void 0,wn=Sn?Sn.allocUnsafe:void 0;function eh(e,r){if(r)return e.slice();var i=e.length,t=wn?wn(i):new e.constructor(i);return e.copy(t),t}var pi=eh;function th(e,r){var i=-1,t=e.length;for(r||(r=Array(t));++i<t;)r[i]=e[i];return r}var di=th;function rh(e,r){for(var i=-1,t=e==null?0:e.length,a=0,o=[];++i<t;){var n=e[i];r(n,i,e)&&(o[a++]=n)}return o}var ci=rh;function ih(){return[]}var ui=ih;var ah=Object.prototype,oh=ah.propertyIsEnumerable,In=Object.getOwnPropertySymbols,nh=In?function(e){return e==null?[]:(e=Object(e),ci(In(e),function(r){return oh.call(e,r)}))}:ui,br=nh;function sh(e,r){return Qe(e,br(e),r)}var Cn=sh;function lh(e,r){for(var i=-1,t=r.length,a=e.length;++i<t;)e[a+i]=r[i];return e}var vr=lh;var ph=si(Object.getPrototypeOf,Object),Sr=ph;var dh=Object.getOwnPropertySymbols,ch=dh?function(e){for(var r=[];e;)vr(r,br(e)),e=Sr(e);return r}:ui,fi=ch;function uh(e,r){return Qe(e,fi(e),r)}var Tn=uh;function fh(e,r,i){var t=r(e);return se(e)?t:vr(t,i(e))}var hi=fh;function hh(e){return hi(e,Ke,br)}var Br=hh;function mh(e){return hi(e,Je,fi)}var An=mh;var yh=Ne(Ae,"DataView"),mi=yh;var gh=Ne(Ae,"Promise"),yi=gh;var bh=Ne(Ae,"Set"),gi=bh;var vh=Ne(Ae,"WeakMap"),bi=vh;var Pn="[object Map]",Sh="[object Object]",Fn="[object Promise]",On="[object Set]",En="[object WeakMap]",Ln="[object DataView]",wh=wt(mi),xh=wt(Ot),Ih=wt(yi),Ch=wt(gi),Th=wt(bi),Qt=je;(mi&&Qt(new mi(new ArrayBuffer(1)))!=Ln||Ot&&Qt(new Ot)!=Pn||yi&&Qt(yi.resolve())!=Fn||gi&&Qt(new gi)!=On||bi&&Qt(new bi)!=En)&&(Qt=function(e){var r=je(e),i=r==Sh?e.constructor:void 0,t=i?wt(i):"";if(t)switch(t){case wh:return Ln;case xh:return Pn;case Ih:return Fn;case Ch:return On;case Th:return En}return r});var rt=Qt;var Ah=Object.prototype,Ph=Ah.hasOwnProperty;function Fh(e){var r=e.length,i=new e.constructor(r);return r&&typeof e[0]=="string"&&Ph.call(e,"index")&&(i.index=e.index,i.input=e.input),i}var Dn=Fh;var Oh=Ae.Uint8Array,wr=Oh;function Eh(e){var r=new e.constructor(e.byteLength);return new wr(r).set(new wr(e)),r}var xr=Eh;function Lh(e,r){var i=r?xr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)}var $n=Lh;var Dh=/\w*$/;function $h(e){var r=new e.constructor(e.source,Dh.exec(e));return r.lastIndex=e.lastIndex,r}var jn=$h;var Rn=De?De.prototype:void 0,_n=Rn?Rn.valueOf:void 0;function jh(e){return _n?Object(_n.call(e)):{}}var kn=jh;function Rh(e,r){var i=r?xr(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)}var vi=Rh;var _h="[object Boolean]",kh="[object Date]",Bh="[object Map]",qh="[object Number]",Mh="[object RegExp]",Nh="[object Set]",Wh="[object String]",zh="[object Symbol]",Vh="[object ArrayBuffer]",Uh="[object DataView]",Gh="[object Float32Array]",Hh="[object Float64Array]",Qh="[object Int8Array]",Kh="[object Int16Array]",Jh="[object Int32Array]",Zh="[object Uint8Array]",Xh="[object Uint8ClampedArray]",Yh="[object Uint16Array]",em="[object Uint32Array]";function tm(e,r,i){var t=e.constructor;switch(r){case Vh:return xr(e);case _h:case kh:return new t(+e);case Uh:return $n(e,i);case Gh:case Hh:case Qh:case Kh:case Jh:case Zh:case Xh:case Yh:case em:return vi(e,i);case Bh:return new t;case qh:case Wh:return new t(e);case Mh:return jn(e);case Nh:return new t;case zh:return kn(e)}}var Bn=tm;var qn=Object.create,rm=function(){function e(){}return function(r){if(!we(r))return{};if(qn)return qn(r);e.prototype=r;var i=new e;return e.prototype=void 0,i}}(),Mn=rm;function im(e){return typeof e.constructor=="function"&&!$t(e)?Mn(Sr(e)):{}}var Si=im;var am="[object Map]";function om(e){return Ce(e)&&rt(e)==am}var Nn=om;var Wn=It&&It.isMap,nm=Wn?Lt(Wn):Nn,zn=nm;var sm="[object Set]";function lm(e){return Ce(e)&&rt(e)==sm}var Vn=lm;var Un=It&&It.isSet,pm=Un?Lt(Un):Vn,Gn=pm;var dm=1,cm=2,um=4,Hn="[object Arguments]",fm="[object Array]",hm="[object Boolean]",mm="[object Date]",ym="[object Error]",Qn="[object Function]",gm="[object GeneratorFunction]",bm="[object Map]",vm="[object Number]",Kn="[object Object]",Sm="[object RegExp]",wm="[object Set]",xm="[object String]",Im="[object Symbol]",Cm="[object WeakMap]",Tm="[object ArrayBuffer]",Am="[object DataView]",Pm="[object Float32Array]",Fm="[object Float64Array]",Om="[object Int8Array]",Em="[object Int16Array]",Lm="[object Int32Array]",Dm="[object Uint8Array]",$m="[object Uint8ClampedArray]",jm="[object Uint16Array]",Rm="[object Uint32Array]",ue={};ue[Hn]=ue[fm]=ue[Tm]=ue[Am]=ue[hm]=ue[mm]=ue[Pm]=ue[Fm]=ue[Om]=ue[Em]=ue[Lm]=ue[bm]=ue[vm]=ue[Kn]=ue[Sm]=ue[wm]=ue[xm]=ue[Im]=ue[Dm]=ue[$m]=ue[jm]=ue[Rm]=!0;ue[ym]=ue[Qn]=ue[Cm]=!1;function wi(e,r,i,t,a,o){var n,s=r&dm,l=r&cm,c=r&um;if(i&&(n=a?i(e,t,a,o):i(e)),n!==void 0)return n;if(!we(e))return e;var d=se(e);if(d){if(n=Dn(e),!s)return di(e,n)}else{var u=rt(e),p=u==Qn||u==gm;if(tt(e))return pi(e,s);if(u==Kn||u==Hn||p&&!a){if(n=l||p?{}:Si(e),!s)return l?Tn(e,bn(n,e)):Cn(e,mn(n,e))}else{if(!ue[u])return a?e:{};n=Bn(e,u,s)}}o||(o=new pt);var f=o.get(e);if(f)return f;o.set(e,n),Gn(e)?e.forEach(function(b){n.add(wi(b,r,i,b,e,o))}):zn(e)&&e.forEach(function(b,I){n.set(I,wi(b,r,i,I,e,o))});var m=c?l?An:Br:l?Je:Ke,y=d?void 0:m(e);return on(y||e,function(b,I){y&&(I=b,b=e[I]),ai(n,I,wi(b,r,i,I,e,o))}),n}var Jn=wi;var _m=1,km=4;function Bm(e){return Jn(e,_m|km)}var qm=Bm;var Mm=function(){return Ae.Date.now()},xi=Mm;var Nm="Expected a function",Wm=Math.max,zm=Math.min;function Vm(e,r,i){var t,a,o,n,s,l,c=0,d=!1,u=!1,p=!0;if(typeof e!="function")throw new TypeError(Nm);r=ri(r)||0,we(i)&&(d=!!i.leading,u="maxWait"in i,o=u?Wm(ri(i.maxWait)||0,r):o,p="trailing"in i?!!i.trailing:p);function f(E){var P=t,O=a;return t=a=void 0,c=E,n=e.apply(O,P),n}function m(E){return c=E,s=setTimeout(I,r),d?f(E):n}function y(E){var P=E-l,O=E-c,j=r-P;return u?zm(j,o-O):j}function b(E){var P=E-l,O=E-c;return l===void 0||P>=r||P<0||u&&O>=o}function I(){var E=xi();if(b(E))return w(E);s=setTimeout(I,y(E))}function w(E){return s=void 0,p&&t?f(E):(t=a=void 0,n)}function F(){s!==void 0&&clearTimeout(s),c=0,t=l=a=s=void 0}function S(){return s===void 0?n:w(xi())}function C(){var E=xi(),P=b(E);if(t=arguments,a=this,l=E,P){if(s===void 0)return m(l);if(u)return clearTimeout(s),s=setTimeout(I,r),f(l)}return s===void 0&&(s=setTimeout(I,r)),n}return C.cancel=F,C.flush=S,C}var Um=Vm;function Gm(e,r,i){(i!==void 0&&!He(e[r],i)||i===void 0&&!(r in e))&&mr(e,r,i)}var qr=Gm;function Hm(e){return function(r,i,t){for(var a=-1,o=Object(r),n=t(r),s=n.length;s--;){var l=n[e?s:++a];if(i(o[l],l,o)===!1)break}return r}}var Zn=Hm;var Qm=Zn(),Ii=Qm;function Km(e){return Ce(e)&&We(e)}var Ci=Km;var Jm="[object Object]",Zm=Function.prototype,Xm=Object.prototype,Xn=Zm.toString,Ym=Xm.hasOwnProperty,ey=Xn.call(Object);function ty(e){if(!Ce(e)||je(e)!=Jm)return!1;var r=Sr(e);if(r===null)return!0;var i=Ym.call(r,"constructor")&&r.constructor;return typeof i=="function"&&i instanceof i&&Xn.call(i)==ey}var Ti=ty;function ry(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}var Mr=ry;function iy(e){return Qe(e,Je(e))}var Yn=iy;function ay(e,r,i,t,a,o,n){var s=Mr(e,i),l=Mr(r,i),c=n.get(l);if(c){qr(e,i,c);return}var d=o?o(s,l,i+"",e,r,n):void 0,u=d===void 0;if(u){var p=se(l),f=!p&&tt(l),m=!p&&!f&&Dt(l);d=l,p||f||m?se(s)?d=s:Ci(s)?d=di(s):f?(u=!1,d=pi(l,!0)):m?(u=!1,d=vi(l,!0)):d=[]:Ti(l)||et(l)?(d=s,et(s)?d=Yn(s):(!we(s)||dr(s))&&(d=Si(l))):u=!1}u&&(n.set(l,d),a(d,l,t,o,n),n.delete(l)),qr(e,i,d)}var es=ay;function ts(e,r,i,t,a){e!==r&&Ii(r,function(o,n){if(a||(a=new pt),we(o))es(e,r,n,i,ts,t,a);else{var s=t?t(Mr(e,n),o,n+"",e,r,a):void 0;s===void 0&&(s=o),qr(e,n,s)}},Je)}var Ai=ts;function oy(e){return e}var jt=oy;function ny(e,r,i){switch(i.length){case 0:return e.call(r);case 1:return e.call(r,i[0]);case 2:return e.call(r,i[0],i[1]);case 3:return e.call(r,i[0],i[1],i[2])}return e.apply(r,i)}var Pi=ny;var rs=Math.max;function sy(e,r,i){return r=rs(r===void 0?e.length-1:r,0),function(){for(var t=arguments,a=-1,o=rs(t.length-r,0),n=Array(o);++a<o;)n[a]=t[r+a];a=-1;for(var s=Array(r+1);++a<r;)s[a]=t[a];return s[r]=i(n),Pi(e,this,s)}}var is=sy;function ly(e){return function(){return e}}var as=ly;var py=hr?function(e,r){return hr(e,"toString",{configurable:!0,enumerable:!1,value:as(r),writable:!0})}:jt,os=py;var dy=800,cy=16,uy=Date.now;function fy(e){var r=0,i=0;return function(){var t=uy(),a=cy-(t-i);if(i=t,a>0){if(++r>=dy)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}var ns=fy;var hy=ns(os),ss=hy;function my(e,r){return ss(is(e,r,jt),e+"")}var Rt=my;function yy(e,r,i){if(!we(i))return!1;var t=typeof r;return(t=="number"?We(i)&&yr(r,i.length):t=="string"&&r in i)?He(i[r],e):!1}var Kt=yy;function gy(e){return Rt(function(r,i){var t=-1,a=i.length,o=a>1?i[a-1]:void 0,n=a>2?i[2]:void 0;for(o=e.length>3&&typeof o=="function"?(a--,o):void 0,n&&Kt(i[0],i[1],n)&&(o=a<3?void 0:o,a=1),r=Object(r);++t<a;){var s=i[t];s&&e(r,s,t,o)}return r})}var Ir=gy;var by=Ir(function(e,r,i,t){Ai(e,r,i,t)}),vy=by;var Sy="[object Map]",wy="[object Set]",xy=Object.prototype,Iy=xy.hasOwnProperty;function Cy(e){if(e==null)return!0;if(We(e)&&(se(e)||typeof e=="string"||typeof e.splice=="function"||tt(e)||Dt(e)||et(e)))return!e.length;var r=rt(e);if(r==Sy||r==wy)return!e.size;if($t(e))return!li(e).length;for(var i in e)if(Iy.call(e,i))return!1;return!0}var Ty=Cy;var Ay="__lodash_hash_undefined__";function Py(e){return this.__data__.set(e,Ay),this}var ls=Py;function Fy(e){return this.__data__.has(e)}var ps=Fy;function Fi(e){var r=-1,i=e==null?0:e.length;for(this.__data__=new Ht;++r<i;)this.add(e[r])}Fi.prototype.add=Fi.prototype.push=ls;Fi.prototype.has=ps;var ds=Fi;function Oy(e,r){for(var i=-1,t=e==null?0:e.length;++i<t;)if(r(e[i],i,e))return!0;return!1}var cs=Oy;function Ey(e,r){return e.has(r)}var us=Ey;var Ly=1,Dy=2;function $y(e,r,i,t,a,o){var n=i&Ly,s=e.length,l=r.length;if(s!=l&&!(n&&l>s))return!1;var c=o.get(e),d=o.get(r);if(c&&d)return c==r&&d==e;var u=-1,p=!0,f=i&Dy?new ds:void 0;for(o.set(e,r),o.set(r,e);++u<s;){var m=e[u],y=r[u];if(t)var b=n?t(y,m,u,r,e,o):t(m,y,u,e,r,o);if(b!==void 0){if(b)continue;p=!1;break}if(f){if(!cs(r,function(I,w){if(!us(f,w)&&(m===I||a(m,I,i,t,o)))return f.push(w)})){p=!1;break}}else if(!(m===y||a(m,y,i,t,o))){p=!1;break}}return o.delete(e),o.delete(r),p}var Oi=$y;function jy(e){var r=-1,i=Array(e.size);return e.forEach(function(t,a){i[++r]=[a,t]}),i}var fs=jy;function Ry(e){var r=-1,i=Array(e.size);return e.forEach(function(t){i[++r]=t}),i}var hs=Ry;var _y=1,ky=2,By="[object Boolean]",qy="[object Date]",My="[object Error]",Ny="[object Map]",Wy="[object Number]",zy="[object RegExp]",Vy="[object Set]",Uy="[object String]",Gy="[object Symbol]",Hy="[object ArrayBuffer]",Qy="[object DataView]",ms=De?De.prototype:void 0,fa=ms?ms.valueOf:void 0;function Ky(e,r,i,t,a,o,n){switch(i){case Qy:if(e.byteLength!=r.byteLength||e.byteOffset!=r.byteOffset)return!1;e=e.buffer,r=r.buffer;case Hy:return!(e.byteLength!=r.byteLength||!o(new wr(e),new wr(r)));case By:case qy:case Wy:return He(+e,+r);case My:return e.name==r.name&&e.message==r.message;case zy:case Uy:return e==r+"";case Ny:var s=fs;case Vy:var l=t&_y;if(s||(s=hs),e.size!=r.size&&!l)return!1;var c=n.get(e);if(c)return c==r;t|=ky,n.set(e,r);var d=Oi(s(e),s(r),t,a,o,n);return n.delete(e),d;case Gy:if(fa)return fa.call(e)==fa.call(r)}return!1}var ys=Ky;var Jy=1,Zy=Object.prototype,Xy=Zy.hasOwnProperty;function Yy(e,r,i,t,a,o){var n=i&Jy,s=Br(e),l=s.length,c=Br(r),d=c.length;if(l!=d&&!n)return!1;for(var u=l;u--;){var p=s[u];if(!(n?p in r:Xy.call(r,p)))return!1}var f=o.get(e),m=o.get(r);if(f&&m)return f==r&&m==e;var y=!0;o.set(e,r),o.set(r,e);for(var b=n;++u<l;){p=s[u];var I=e[p],w=r[p];if(t)var F=n?t(w,I,p,r,e,o):t(I,w,p,e,r,o);if(!(F===void 0?I===w||a(I,w,i,t,o):F)){y=!1;break}b||(b=p=="constructor")}if(y&&!b){var S=e.constructor,C=r.constructor;S!=C&&"constructor"in e&&"constructor"in r&&!(typeof S=="function"&&S instanceof S&&typeof C=="function"&&C instanceof C)&&(y=!1)}return o.delete(e),o.delete(r),y}var gs=Yy;var eg=1,bs="[object Arguments]",vs="[object Array]",Ei="[object Object]",tg=Object.prototype,Ss=tg.hasOwnProperty;function rg(e,r,i,t,a,o){var n=se(e),s=se(r),l=n?vs:rt(e),c=s?vs:rt(r);l=l==bs?Ei:l,c=c==bs?Ei:c;var d=l==Ei,u=c==Ei,p=l==c;if(p&&tt(e)){if(!tt(r))return!1;n=!0,d=!1}if(p&&!d)return o||(o=new pt),n||Dt(e)?Oi(e,r,i,t,a,o):ys(e,r,l,i,t,a,o);if(!(i&eg)){var f=d&&Ss.call(e,"__wrapped__"),m=u&&Ss.call(r,"__wrapped__");if(f||m){var y=f?e.value():e,b=m?r.value():r;return o||(o=new pt),a(y,b,i,t,o)}}return p?(o||(o=new pt),gs(e,r,i,t,a,o)):!1}var ws=rg;function xs(e,r,i,t,a){return e===r?!0:e==null||r==null||!Ce(e)&&!Ce(r)?e!==e&&r!==r:ws(e,r,i,t,xs,a)}var Cr=xs;function ig(e,r){return Cr(e,r)}var Is=ig;function ag(e){return e==null}var ha=ag;var og=Ir(function(e,r,i){Ai(e,r,i)}),ng=og;var Cs=De?De.isConcatSpreadable:void 0;function sg(e){return se(e)||et(e)||!!(Cs&&e&&e[Cs])}var Ts=sg;function As(e,r,i,t,a){var o=-1,n=e.length;for(i||(i=Ts),a||(a=[]);++o<n;){var s=e[o];r>0&&i(s)?r>1?As(s,r-1,i,t,a):vr(a,s):t||(a[a.length]=s)}return a}var Ps=As;function lg(e,r){for(var i=-1,t=e==null?0:e.length,a=Array(t);++i<t;)a[i]=r(e[i],i,e);return a}var dt=lg;var pg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dg=/^\w*$/;function cg(e,r){if(se(e))return!1;var i=typeof e;return i=="number"||i=="symbol"||i=="boolean"||e==null||Ye(e)?!0:dg.test(e)||!pg.test(e)||r!=null&&e in Object(r)}var Tr=cg;var ug="Expected a function";function ma(e,r){if(typeof e!="function"||r!=null&&typeof r!="function")throw new TypeError(ug);var i=function(){var t=arguments,a=r?r.apply(this,t):t[0],o=i.cache;if(o.has(a))return o.get(a);var n=e.apply(this,t);return i.cache=o.set(a,n)||o,n};return i.cache=new(ma.Cache||Ht),i}ma.Cache=Ht;var ya=ma;var fg=500;function hg(e){var r=ya(e,function(t){return i.size===fg&&i.clear(),t}),i=r.cache;return r}var Fs=hg;var mg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yg=/\\(\\)?/g,gg=Fs(function(e){var r=[];return e.charCodeAt(0)===46&&r.push(""),e.replace(mg,function(i,t,a,o){r.push(a?o.replace(yg,"$1"):t||i)}),r}),Os=gg;var bg=1/0,Es=De?De.prototype:void 0,Ls=Es?Es.toString:void 0;function Ds(e){if(typeof e=="string")return e;if(se(e))return dt(e,Ds)+"";if(Ye(e))return Ls?Ls.call(e):"";var r=e+"";return r=="0"&&1/e==-bg?"-0":r}var $s=Ds;function vg(e){return e==null?"":$s(e)}var ct=vg;function Sg(e,r){return se(e)?e:Tr(e,r)?[e]:Os(ct(e))}var Li=Sg;var wg=1/0;function xg(e){if(typeof e=="string"||Ye(e))return e;var r=e+"";return r=="0"&&1/e==-wg?"-0":r}var _t=xg;function Ig(e,r){r=Li(r,e);for(var i=0,t=r.length;e!=null&&i<t;)e=e[_t(r[i++])];return i&&i==t?e:void 0}var Ar=Ig;var Cg=1,Tg=2;function Ag(e,r,i,t){var a=i.length,o=a,n=!t;if(e==null)return!o;for(e=Object(e);a--;){var s=i[a];if(n&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<o;){s=i[a];var l=s[0],c=e[l],d=s[1];if(n&&s[2]){if(c===void 0&&!(l in e))return!1}else{var u=new pt;if(t)var p=t(c,d,l,e,r,u);if(!(p===void 0?Cr(d,c,Cg|Tg,t,u):p))return!1}}return!0}var js=Ag;function Pg(e){return e===e&&!we(e)}var Di=Pg;function Fg(e){for(var r=Ke(e),i=r.length;i--;){var t=r[i],a=e[t];r[i]=[t,a,Di(a)]}return r}var Rs=Fg;function Og(e,r){return function(i){return i==null?!1:i[e]===r&&(r!==void 0||e in Object(i))}}var $i=Og;function Eg(e){var r=Rs(e);return r.length==1&&r[0][2]?$i(r[0][0],r[0][1]):function(i){return i===e||js(i,e,r)}}var _s=Eg;function Lg(e,r,i){var t=e==null?void 0:Ar(e,r);return t===void 0?i:t}var ks=Lg;function Dg(e,r){return e!=null&&r in Object(e)}var Bs=Dg;function $g(e,r,i){r=Li(r,e);for(var t=-1,a=r.length,o=!1;++t<a;){var n=_t(r[t]);if(!(o=e!=null&&i(e,n)))break;e=e[n]}return o||++t!=a?o:(a=e==null?0:e.length,!!a&&gr(a)&&yr(n,a)&&(se(e)||et(e)))}var qs=$g;function jg(e,r){return e!=null&&qs(e,r,Bs)}var Ms=jg;var Rg=1,_g=2;function kg(e,r){return Tr(e)&&Di(r)?$i(_t(e),r):function(i){var t=ks(i,e);return t===void 0&&t===r?Ms(i,e):Cr(r,t,Rg|_g)}}var Ns=kg;function Bg(e){return function(r){return r?.[e]}}var ji=Bg;function qg(e){return function(r){return Ar(r,e)}}var Ws=qg;function Mg(e){return Tr(e)?ji(_t(e)):Ws(e)}var zs=Mg;function Ng(e){return typeof e=="function"?e:e==null?jt:typeof e=="object"?se(e)?Ns(e[0],e[1]):_s(e):zs(e)}var Vs=Ng;function Wg(e,r){return e&&Ii(e,r,Ke)}var Us=Wg;function zg(e,r){return function(i,t){if(i==null)return i;if(!We(i))return e(i,t);for(var a=i.length,o=r?a:-1,n=Object(i);(r?o--:++o<a)&&t(n[o],o,n)!==!1;);return i}}var Gs=zg;var Vg=Gs(Us),Hs=Vg;function Ug(e,r){var i=-1,t=We(e)?Array(e.length):[];return Hs(e,function(a,o,n){t[++i]=r(a,o,n)}),t}var Qs=Ug;function Gg(e,r){var i=e.length;for(e.sort(r);i--;)e[i]=e[i].value;return e}var Ks=Gg;function Hg(e,r){if(e!==r){var i=e!==void 0,t=e===null,a=e===e,o=Ye(e),n=r!==void 0,s=r===null,l=r===r,c=Ye(r);if(!s&&!c&&!o&&e>r||o&&n&&l&&!s&&!c||t&&n&&l||!i&&l||!a)return 1;if(!t&&!o&&!c&&e<r||c&&i&&a&&!t&&!o||s&&i&&a||!n&&a||!l)return-1}return 0}var Js=Hg;function Qg(e,r,i){for(var t=-1,a=e.criteria,o=r.criteria,n=a.length,s=i.length;++t<n;){var l=Js(a[t],o[t]);if(l){if(t>=s)return l;var c=i[t];return l*(c=="desc"?-1:1)}}return e.index-r.index}var Zs=Qg;function Kg(e,r,i){r.length?r=dt(r,function(o){return se(o)?function(n){return Ar(n,o.length===1?o[0]:o)}:o}):r=[jt];var t=-1;r=dt(r,Lt(Vs));var a=Qs(e,function(o,n,s){var l=dt(r,function(c){return c(o)});return{criteria:l,index:++t,value:o}});return Ks(a,function(o,n){return Zs(o,n,i)})}var Xs=Kg;var Jg=Rt(function(e,r){if(e==null)return[];var i=r.length;return i>1&&Kt(e,r[0],r[1])?r=[]:i>2&&Kt(r[0],r[1],r[2])&&(r=[r[0]]),Xs(e,Ps(r,1),[])}),Zg=Jg;var Xg=Ir(function(e,r,i,t){Qe(r,Je(r),e,t)}),ga=Xg;var Yg="[object DOMException]",eb="[object Error]";function tb(e){if(!Ce(e))return!1;var r=je(e);return r==eb||r==Yg||typeof e.message=="string"&&typeof e.name=="string"&&!Ti(e)}var Ri=tb;var rb=Rt(function(e,r){try{return Pi(e,void 0,r)}catch(i){return Ri(i)?i:new Error(i)}}),Ys=rb;function ib(e,r,i){var t=-1,a=e.length;r<0&&(r=-r>a?0:a+r),i=i>a?a:i,i<0&&(i+=a),a=r>i?0:i-r>>>0,r>>>=0;for(var o=Array(a);++t<a;)o[t]=e[t+r];return o}var el=ib;function ab(e,r,i){var t=e.length;return i=i===void 0?t:i,!r&&i>=t?e:el(e,r,i)}var tl=ab;var ob="\\ud800-\\udfff",nb="\\u0300-\\u036f",sb="\\ufe20-\\ufe2f",lb="\\u20d0-\\u20ff",pb=nb+sb+lb,db="\\ufe0e\\ufe0f",cb="\\u200d",ub=RegExp("["+cb+ob+pb+db+"]");function fb(e){return ub.test(e)}var _i=fb;function hb(e){return e.split("")}var rl=hb;var il="\\ud800-\\udfff",mb="\\u0300-\\u036f",yb="\\ufe20-\\ufe2f",gb="\\u20d0-\\u20ff",bb=mb+yb+gb,vb="\\ufe0e\\ufe0f",Sb="["+il+"]",ba="["+bb+"]",va="\\ud83c[\\udffb-\\udfff]",wb="(?:"+ba+"|"+va+")",al="[^"+il+"]",ol="(?:\\ud83c[\\udde6-\\uddff]){2}",nl="[\\ud800-\\udbff][\\udc00-\\udfff]",xb="\\u200d",sl=wb+"?",ll="["+vb+"]?",Ib="(?:"+xb+"(?:"+[al,ol,nl].join("|")+")"+ll+sl+")*",Cb=ll+sl+Ib,Tb="(?:"+[al+ba+"?",ba,ol,nl,Sb].join("|")+")",Ab=RegExp(va+"(?="+va+")|"+Tb+Cb,"g");function Pb(e){return e.match(Ab)||[]}var pl=Pb;function Fb(e){return _i(e)?pl(e):rl(e)}var dl=Fb;function Ob(e){return function(r){r=ct(r);var i=_i(r)?dl(r):void 0,t=i?i[0]:r.charAt(0),a=i?tl(i,1).join(""):r.slice(1);return t[e]()+a}}var cl=Ob;var Eb=cl("toUpperCase"),ul=Eb;function Lb(e){return ul(ct(e).toLowerCase())}var Db=Lb;function $b(e){return function(r){return e?.[r]}}var fl=$b;var jb={"&":"&","<":"<",">":">",'"':""","'":"'"},Rb=fl(jb),hl=Rb;var ml=/[&<>"']/g,_b=RegExp(ml.source);function kb(e){return e=ct(e),e&&_b.test(e)?e.replace(ml,hl):e}var yl=kb;function Bb(e,r){return dt(r,function(i){return e[i]})}var gl=Bb;var qb="[object Number]";function Mb(e){return typeof e=="number"||Ce(e)&&je(e)==qb}var Nb=Mb;function Wb(e){return e===null}var zb=Wb;var bl=Object.prototype,Vb=bl.hasOwnProperty;function Ub(e,r,i,t){return e===void 0||He(e,bl[i])&&!Vb.call(t,i)?r:e}var Sa=Ub;var Gb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Hb(e){return"\\"+Gb[e]}var vl=Hb;var Qb=/<%=([\s\S]+?)%>/g,ki=Qb;var Kb=/<%-([\s\S]+?)%>/g,Sl=Kb;var Jb=/<%([\s\S]+?)%>/g,wl=Jb;var Zb={escape:Sl,evaluate:wl,interpolate:ki,variable:"",imports:{_:{escape:yl}}},wa=Zb;var Xb="Invalid `variable` option passed into `_.template`",Yb=/\b__p \+= '';/g,ev=/\b(__p \+=) '' \+/g,tv=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rv=/[()=,{}\[\]\/\s]/,iv=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Bi=/($^)/,av=/['\n\r\u2028\u2029\\]/g,ov=Object.prototype,xl=ov.hasOwnProperty;function nv(e,r,i){var t=wa.imports._.templateSettings||wa;i&&Kt(e,r,i)&&(r=void 0),e=ct(e),r=ga({},r,t,Sa);var a=ga({},r.imports,t.imports,Sa),o=Ke(a),n=gl(a,o),s,l,c=0,d=r.interpolate||Bi,u="__p += '",p=RegExp((r.escape||Bi).source+"|"+d.source+"|"+(d===ki?iv:Bi).source+"|"+(r.evaluate||Bi).source+"|$","g"),f=xl.call(r,"sourceURL")?"//# sourceURL="+(r.sourceURL+"").replace(/\s/g," ")+`
|
|
5
|
-
`:"";
|
|
6
|
-
__e(`+
|
|
7
|
-
'`),
|
|
8
|
-
`+
|
|
9
|
-
__p += '`),
|
|
10
|
-
((__t = (`+
|
|
11
|
-
'`),
|
|
12
|
-
`;var
|
|
13
|
-
`+
|
|
3
|
+
v4.34.0-next.53 */
|
|
4
|
+
import{a as C,b as fe,c as za,e as fn,f as ei,h as wt,i as hn,k as Va,l as Le,o as mn,p as wr,r as Ot,t as yn,u as gn,w as Ir,x as qe}from"./4RWI5G6D.js";import{b as W,d as un}from"./HTKUTQKG.js";export default $arcgis.t(([Wo,Bc,kc,Aw,ko,Fw,Ew,Ow,Lw,$w,Dw,Nc,zo])=>{var Cp=W((na,Ip)=>{(function(t,e){typeof na=="object"&&typeof Ip<"u"?e(na):typeof define=="function"&&define.amd?define(["exports"],e):e(t.URI=t.URI||{})})(na,function(t){"use strict";function e(){for(var b=arguments.length,h=Array(b),v=0;v<b;v++)h[v]=arguments[v];if(h.length>1){h[0]=h[0].slice(0,-1);for(var w=h.length-1,I=1;I<w;++I)h[I]=h[I].slice(1,-1);return h[w]=h[w].slice(1),h.join("")}else return h[0]}function i(b){return"(?:"+b+")"}function a(b){return b===void 0?"undefined":b===null?"null":Object.prototype.toString.call(b).split(" ").pop().split("]").shift().toLowerCase()}function r(b){return b.toUpperCase()}function o(b){return b!=null?b instanceof Array?b:typeof b.length!="number"||b.split||b.setInterval||b.call?[b]:Array.prototype.slice.call(b):[]}function s(b,h){var v=b;if(h)for(var w in h)v[w]=h[w];return v}function n(b){var h="[A-Za-z]",v="[\\x0D]",w="[0-9]",I="[\\x22]",B=e(w,"[A-Fa-f]"),z="[\\x0A]",K="[\\x20]",ee=i(i("%[EFef]"+B+"%"+B+B+"%"+B+B)+"|"+i("%[89A-Fa-f]"+B+"%"+B+B)+"|"+i("%"+B+B)),we="[\\:\\/\\?\\#\\[\\]\\@]",Q="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ce=e(we,Q),Ie=b?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",pe=b?"[\\uE000-\\uF8FF]":"[]",Z=e(h,w,"[\\-\\.\\_\\~]",Ie),ue=i(h+e(h,w,"[\\+\\-\\.]")+"*"),ie=i(i(ee+"|"+e(Z,Q,"[\\:]"))+"*"),Yt=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("[1-9]"+w)+"|"+w),ze=i(i("25[0-5]")+"|"+i("2[0-4]"+w)+"|"+i("1"+w+w)+"|"+i("0?[1-9]"+w)+"|0?0?"+w),Ge=i(ze+"\\."+ze+"\\."+ze+"\\."+ze),oe=i(B+"{1,4}"),Ve=i(i(oe+"\\:"+oe)+"|"+Ge),He=i(i(oe+"\\:")+"{6}"+Ve),lt=i("\\:\\:"+i(oe+"\\:")+"{5}"+Ve),er=i(i(oe)+"?\\:\\:"+i(oe+"\\:")+"{4}"+Ve),vt=i(i(i(oe+"\\:")+"{0,1}"+oe)+"?\\:\\:"+i(oe+"\\:")+"{3}"+Ve),Kr=i(i(i(oe+"\\:")+"{0,2}"+oe)+"?\\:\\:"+i(oe+"\\:")+"{2}"+Ve),mi=i(i(i(oe+"\\:")+"{0,3}"+oe)+"?\\:\\:"+oe+"\\:"+Ve),yi=i(i(i(oe+"\\:")+"{0,4}"+oe)+"?\\:\\:"+Ve),yr=i(i(i(oe+"\\:")+"{0,5}"+oe)+"?\\:\\:"+oe),gr=i(i(i(oe+"\\:")+"{0,6}"+oe)+"?\\:\\:"),St=i([He,lt,er,vt,Kr,mi,yi,yr,gr].join("|")),br=i(i(Z+"|"+ee)+"+"),Ma=i(St+"\\%25"+br),tr=i(St+i("\\%25|\\%(?!"+B+"{2})")+br),Au=i("[vV]"+B+"+\\."+e(Z,Q,"[\\:]")+"+"),Fu=i("\\["+i(tr+"|"+St+"|"+Au)+"\\]"),ln=i(i(ee+"|"+e(Z,Q))+"*"),Jr=i(Fu+"|"+Ge+"(?!"+ln+")|"+ln),Zr=i(w+"*"),pn=i(i(ie+"@")+"?"+Jr+i("\\:"+Zr)+"?"),Xr=i(ee+"|"+e(Z,Q,"[\\:\\@]")),Eu=i(Xr+"*"),dn=i(Xr+"+"),Ou=i(i(ee+"|"+e(Z,Q,"[\\@]"))+"+"),xt=i(i("\\/"+Eu)+"*"),vr=i("\\/"+i(dn+xt)+"?"),Wa=i(Ou+xt),gi=i(dn+xt),Sr="(?!"+Xr+")",aC=i(xt+"|"+vr+"|"+Wa+"|"+gi+"|"+Sr),xr=i(i(Xr+"|"+e("[\\/\\?]",pe))+"*"),Yr=i(i(Xr+"|[\\/\\?]")+"*"),cn=i(i("\\/\\/"+pn+xt)+"|"+vr+"|"+gi+"|"+Sr),Lu=i(ue+"\\:"+cn+i("\\?"+xr)+"?"+i("\\#"+Yr)+"?"),$u=i(i("\\/\\/"+pn+xt)+"|"+vr+"|"+Wa+"|"+Sr),Du=i($u+i("\\?"+xr)+"?"+i("\\#"+Yr)+"?"),oC=i(Lu+"|"+Du),nC=i(ue+"\\:"+cn+i("\\?"+xr)+"?"),sC="^("+ue+")\\:"+i(i("\\/\\/("+i("("+ie+")@")+"?("+Jr+")"+i("\\:("+Zr+")")+"?)")+"?("+xt+"|"+vr+"|"+gi+"|"+Sr+")")+i("\\?("+xr+")")+"?"+i("\\#("+Yr+")")+"?$",lC="^(){0}"+i(i("\\/\\/("+i("("+ie+")@")+"?("+Jr+")"+i("\\:("+Zr+")")+"?)")+"?("+xt+"|"+vr+"|"+Wa+"|"+Sr+")")+i("\\?("+xr+")")+"?"+i("\\#("+Yr+")")+"?$",pC="^("+ue+")\\:"+i(i("\\/\\/("+i("("+ie+")@")+"?("+Jr+")"+i("\\:("+Zr+")")+"?)")+"?("+xt+"|"+vr+"|"+gi+"|"+Sr+")")+i("\\?("+xr+")")+"?$",dC="^"+i("\\#("+Yr+")")+"?$",cC="^"+i("("+ie+")@")+"?("+Jr+")"+i("\\:("+Zr+")")+"?$";return{NOT_SCHEME:new RegExp(e("[^]",h,w,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(e("[^\\%\\:]",Z,Q),"g"),NOT_HOST:new RegExp(e("[^\\%\\[\\]\\:]",Z,Q),"g"),NOT_PATH:new RegExp(e("[^\\%\\/\\:\\@]",Z,Q),"g"),NOT_PATH_NOSCHEME:new RegExp(e("[^\\%\\/\\@]",Z,Q),"g"),NOT_QUERY:new RegExp(e("[^\\%]",Z,Q,"[\\:\\@\\/\\?]",pe),"g"),NOT_FRAGMENT:new RegExp(e("[^\\%]",Z,Q,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(e("[^]",Z,Q),"g"),UNRESERVED:new RegExp(Z,"g"),OTHER_CHARS:new RegExp(e("[^\\%]",Z,ce),"g"),PCT_ENCODED:new RegExp(ee,"g"),IPV4ADDRESS:new RegExp("^("+Ge+")$"),IPV6ADDRESS:new RegExp("^\\[?("+St+")"+i(i("\\%25|\\%(?!"+B+"{2})")+"("+br+")")+"?\\]?$")}}var l=n(!1),u=n(!0),c=function(){function b(h,v){var w=[],I=!0,B=!1,z=void 0;try{for(var K=h[Symbol.iterator](),ee;!(I=(ee=K.next()).done)&&(w.push(ee.value),!(v&&w.length===v));I=!0);}catch(we){B=!0,z=we}finally{try{!I&&K.return&&K.return()}finally{if(B)throw z}}return w}return function(h,v){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return b(h,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=function(b){if(Array.isArray(b)){for(var h=0,v=Array(b.length);h<b.length;h++)v[h]=b[h];return v}else return Array.from(b)},f=2147483647,p=36,y=1,g=26,m=38,S=700,T=72,x=128,P="-",F=/^xn--/,A=/[^\0-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,R={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=p-y,j=Math.floor,$=String.fromCharCode;function k(b){throw new RangeError(R[b])}function O(b,h){for(var v=[],w=b.length;w--;)v[w]=h(b[w]);return v}function D(b,h){var v=b.split("@"),w="";v.length>1&&(w=v[0]+"@",b=v[1]),b=b.replace(_,".");var I=b.split("."),B=O(I,h).join(".");return w+B}function q(b){for(var h=[],v=0,w=b.length;v<w;){var I=b.charCodeAt(v++);if(I>=55296&&I<=56319&&v<w){var B=b.charCodeAt(v++);(B&64512)==56320?h.push(((I&1023)<<10)+(B&1023)+65536):(h.push(I),v--)}else h.push(I)}return h}var te=function(h){return String.fromCodePoint.apply(String,d(h))},U=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:p},H=function(h,v){return h+22+75*(h<26)-((v!=0)<<5)},V=function(h,v,w){var I=0;for(h=w?j(h/S):h>>1,h+=j(h/v);h>E*g>>1;I+=p)h=j(h/E);return j(I+(E+1)*h/(h+m))},M=function(h){var v=[],w=h.length,I=0,B=x,z=T,K=h.lastIndexOf(P);K<0&&(K=0);for(var ee=0;ee<K;++ee)h.charCodeAt(ee)>=128&&k("not-basic"),v.push(h.charCodeAt(ee));for(var we=K>0?K+1:0;we<w;){for(var Q=I,ce=1,Ie=p;;Ie+=p){we>=w&&k("invalid-input");var pe=U(h.charCodeAt(we++));(pe>=p||pe>j((f-I)/ce))&&k("overflow"),I+=pe*ce;var Z=Ie<=z?y:Ie>=z+g?g:Ie-z;if(pe<Z)break;var ue=p-Z;ce>j(f/ue)&&k("overflow"),ce*=ue}var ie=v.length+1;z=V(I-Q,ie,Q==0),j(I/ie)>f-B&&k("overflow"),B+=j(I/ie),I%=ie,v.splice(I++,0,B)}return String.fromCodePoint.apply(String,v)},ye=function(h){var v=[];h=q(h);var w=h.length,I=x,B=0,z=T,K=!0,ee=!1,we=void 0;try{for(var Q=h[Symbol.iterator](),ce;!(K=(ce=Q.next()).done);K=!0){var Ie=ce.value;Ie<128&&v.push($(Ie))}}catch(tr){ee=!0,we=tr}finally{try{!K&&Q.return&&Q.return()}finally{if(ee)throw we}}var pe=v.length,Z=pe;for(pe&&v.push(P);Z<w;){var ue=f,ie=!0,Yt=!1,ze=void 0;try{for(var Ge=h[Symbol.iterator](),oe;!(ie=(oe=Ge.next()).done);ie=!0){var Ve=oe.value;Ve>=I&&Ve<ue&&(ue=Ve)}}catch(tr){Yt=!0,ze=tr}finally{try{!ie&&Ge.return&&Ge.return()}finally{if(Yt)throw ze}}var He=Z+1;ue-I>j((f-B)/He)&&k("overflow"),B+=(ue-I)*He,I=ue;var lt=!0,er=!1,vt=void 0;try{for(var Kr=h[Symbol.iterator](),mi;!(lt=(mi=Kr.next()).done);lt=!0){var yi=mi.value;if(yi<I&&++B>f&&k("overflow"),yi==I){for(var yr=B,gr=p;;gr+=p){var St=gr<=z?y:gr>=z+g?g:gr-z;if(yr<St)break;var br=yr-St,Ma=p-St;v.push($(H(St+br%Ma,0))),yr=j(br/Ma)}v.push($(H(yr,0))),z=V(B,He,Z==pe),B=0,++Z}}}catch(tr){er=!0,vt=tr}finally{try{!lt&&Kr.return&&Kr.return()}finally{if(er)throw vt}}++B,++I}return v.join("")},Ee=function(h){return D(h,function(v){return F.test(v)?M(v.slice(4).toLowerCase()):v})},Re=function(h){return D(h,function(v){return A.test(v)?"xn--"+ye(v):v})},J={version:"2.1.0",ucs2:{decode:q,encode:te},decode:M,encode:ye,toASCII:Re,toUnicode:Ee},Se={};function Ce(b){var h=b.charCodeAt(0),v=void 0;return h<16?v="%0"+h.toString(16).toUpperCase():h<128?v="%"+h.toString(16).toUpperCase():h<2048?v="%"+(h>>6|192).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase():v="%"+(h>>12|224).toString(16).toUpperCase()+"%"+(h>>6&63|128).toString(16).toUpperCase()+"%"+(h&63|128).toString(16).toUpperCase(),v}function _e(b){for(var h="",v=0,w=b.length;v<w;){var I=parseInt(b.substr(v+1,2),16);if(I<128)h+=String.fromCharCode(I),v+=3;else if(I>=194&&I<224){if(w-v>=6){var B=parseInt(b.substr(v+4,2),16);h+=String.fromCharCode((I&31)<<6|B&63)}else h+=b.substr(v,6);v+=6}else if(I>=224){if(w-v>=9){var z=parseInt(b.substr(v+4,2),16),K=parseInt(b.substr(v+7,2),16);h+=String.fromCharCode((I&15)<<12|(z&63)<<6|K&63)}else h+=b.substr(v,9);v+=9}else h+=b.substr(v,3),v+=3}return h}function Ft(b,h){function v(w){var I=_e(w);return I.match(h.UNRESERVED)?I:w}return b.scheme&&(b.scheme=String(b.scheme).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_SCHEME,"")),b.userinfo!==void 0&&(b.userinfo=String(b.userinfo).replace(h.PCT_ENCODED,v).replace(h.NOT_USERINFO,Ce).replace(h.PCT_ENCODED,r)),b.host!==void 0&&(b.host=String(b.host).replace(h.PCT_ENCODED,v).toLowerCase().replace(h.NOT_HOST,Ce).replace(h.PCT_ENCODED,r)),b.path!==void 0&&(b.path=String(b.path).replace(h.PCT_ENCODED,v).replace(b.scheme?h.NOT_PATH:h.NOT_PATH_NOSCHEME,Ce).replace(h.PCT_ENCODED,r)),b.query!==void 0&&(b.query=String(b.query).replace(h.PCT_ENCODED,v).replace(h.NOT_QUERY,Ce).replace(h.PCT_ENCODED,r)),b.fragment!==void 0&&(b.fragment=String(b.fragment).replace(h.PCT_ENCODED,v).replace(h.NOT_FRAGMENT,Ce).replace(h.PCT_ENCODED,r)),b}function gt(b){return b.replace(/^0*(.*)/,"$1")||"0"}function xe(b,h){var v=b.match(h.IPV4ADDRESS)||[],w=c(v,2),I=w[1];return I?I.split(".").map(gt).join("."):b}function ge(b,h){var v=b.match(h.IPV6ADDRESS)||[],w=c(v,3),I=w[1],B=w[2];if(I){for(var z=I.toLowerCase().split("::").reverse(),K=c(z,2),ee=K[0],we=K[1],Q=we?we.split(":").map(gt):[],ce=ee.split(":").map(gt),Ie=h.IPV4ADDRESS.test(ce[ce.length-1]),pe=Ie?7:8,Z=ce.length-pe,ue=Array(pe),ie=0;ie<pe;++ie)ue[ie]=Q[ie]||ce[Z+ie]||"";Ie&&(ue[pe-1]=xe(ue[pe-1],h));var Yt=ue.reduce(function(He,lt,er){if(!lt||lt==="0"){var vt=He[He.length-1];vt&&vt.index+vt.length===er?vt.length++:He.push({index:er,length:1})}return He},[]),ze=Yt.sort(function(He,lt){return lt.length-He.length})[0],Ge=void 0;if(ze&&ze.length>1){var oe=ue.slice(0,ze.index),Ve=ue.slice(ze.index+ze.length);Ge=oe.join(":")+"::"+Ve.join(":")}else Ge=ue.join(":");return B&&(Ge+="%"+B),Ge}else return b}var Jt=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Oe="".match(/(){0}/)[1]===void 0;function Y(b){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},w=h.iri!==!1?u:l;h.reference==="suffix"&&(b=(h.scheme?h.scheme+":":"")+"//"+b);var I=b.match(Jt);if(I){Oe?(v.scheme=I[1],v.userinfo=I[3],v.host=I[4],v.port=parseInt(I[5],10),v.path=I[6]||"",v.query=I[7],v.fragment=I[8],isNaN(v.port)&&(v.port=I[5])):(v.scheme=I[1]||void 0,v.userinfo=b.indexOf("@")!==-1?I[3]:void 0,v.host=b.indexOf("//")!==-1?I[4]:void 0,v.port=parseInt(I[5],10),v.path=I[6]||"",v.query=b.indexOf("?")!==-1?I[7]:void 0,v.fragment=b.indexOf("#")!==-1?I[8]:void 0,isNaN(v.port)&&(v.port=b.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?I[4]:void 0)),v.host&&(v.host=ge(xe(v.host,w),w)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",h.reference&&h.reference!=="suffix"&&h.reference!==v.reference&&(v.error=v.error||"URI is not a "+h.reference+" reference.");var B=Se[(h.scheme||v.scheme||"").toLowerCase()];if(!h.unicodeSupport&&(!B||!B.unicodeSupport)){if(v.host&&(h.domainHost||B&&B.domainHost))try{v.host=J.toASCII(v.host.replace(w.PCT_ENCODED,_e).toLowerCase())}catch(z){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+z}Ft(v,l)}else Ft(v,w);B&&B.parse&&B.parse(v,h)}else v.error=v.error||"URI can not be parsed.";return v}function Et(b,h){var v=h.iri!==!1?u:l,w=[];return b.userinfo!==void 0&&(w.push(b.userinfo),w.push("@")),b.host!==void 0&&w.push(ge(xe(String(b.host),v),v).replace(v.IPV6ADDRESS,function(I,B,z){return"["+B+(z?"%25"+z:"")+"]"})),(typeof b.port=="number"||typeof b.port=="string")&&(w.push(":"),w.push(String(b.port))),w.length?w.join(""):void 0}var bt=/^\.\.?\//,Zt=/^\/\.(\/|$)/,Xt=/^\/\.\.(\/|$)/,Pe=/^\/?(?:.|\n)*?(?=\/|$)/;function Ue(b){for(var h=[];b.length;)if(b.match(bt))b=b.replace(bt,"");else if(b.match(Zt))b=b.replace(Zt,"/");else if(b.match(Xt))b=b.replace(Xt,"/"),h.pop();else if(b==="."||b==="..")b="";else{var v=b.match(Pe);if(v){var w=v[0];b=b.slice(w.length),h.push(w)}else throw new Error("Unexpected dot segment condition")}return h.join("")}function ke(b){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=h.iri?u:l,w=[],I=Se[(h.scheme||b.scheme||"").toLowerCase()];if(I&&I.serialize&&I.serialize(b,h),b.host&&!v.IPV6ADDRESS.test(b.host)){if(h.domainHost||I&&I.domainHost)try{b.host=h.iri?J.toUnicode(b.host):J.toASCII(b.host.replace(v.PCT_ENCODED,_e).toLowerCase())}catch(K){b.error=b.error||"Host's domain name can not be converted to "+(h.iri?"Unicode":"ASCII")+" via punycode: "+K}}Ft(b,v),h.reference!=="suffix"&&b.scheme&&(w.push(b.scheme),w.push(":"));var B=Et(b,h);if(B!==void 0&&(h.reference!=="suffix"&&w.push("//"),w.push(B),b.path&&b.path.charAt(0)!=="/"&&w.push("/")),b.path!==void 0){var z=b.path;!h.absolutePath&&(!I||!I.absolutePath)&&(z=Ue(z)),B===void 0&&(z=z.replace(/^\/\//,"/%2F")),w.push(z)}return b.query!==void 0&&(w.push("?"),w.push(b.query)),b.fragment!==void 0&&(w.push("#"),w.push(b.fragment)),w.join("")}function je(b,h){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=arguments[3],I={};return w||(b=Y(ke(b,v),v),h=Y(ke(h,v),v)),v=v||{},!v.tolerant&&h.scheme?(I.scheme=h.scheme,I.userinfo=h.userinfo,I.host=h.host,I.port=h.port,I.path=Ue(h.path||""),I.query=h.query):(h.userinfo!==void 0||h.host!==void 0||h.port!==void 0?(I.userinfo=h.userinfo,I.host=h.host,I.port=h.port,I.path=Ue(h.path||""),I.query=h.query):(h.path?(h.path.charAt(0)==="/"?I.path=Ue(h.path):((b.userinfo!==void 0||b.host!==void 0||b.port!==void 0)&&!b.path?I.path="/"+h.path:b.path?I.path=b.path.slice(0,b.path.lastIndexOf("/")+1)+h.path:I.path=h.path,I.path=Ue(I.path)),I.query=h.query):(I.path=b.path,h.query!==void 0?I.query=h.query:I.query=b.query),I.userinfo=b.userinfo,I.host=b.host,I.port=b.port),I.scheme=b.scheme),I.fragment=h.fragment,I}function nt(b,h,v){var w=s({scheme:"null"},v);return ke(je(Y(b,w),Y(h,w),w,!0),w)}function We(b,h){return typeof b=="string"?b=ke(Y(b,h),h):a(b)==="object"&&(b=Y(ke(b,h),h)),b}function hi(b,h,v){return typeof b=="string"?b=ke(Y(b,v),v):a(b)==="object"&&(b=ke(b,v)),typeof h=="string"?h=ke(Y(h,v),v):a(h)==="object"&&(h=ke(h,v)),b===h}function qa(b,h){return b&&b.toString().replace(!h||!h.iri?l.ESCAPE:u.ESCAPE,Ce)}function Ye(b,h){return b&&b.toString().replace(!h||!h.iri?l.PCT_ENCODED:u.PCT_ENCODED,_e)}var Hr={scheme:"http",domainHost:!0,parse:function(h,v){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,v){var w=String(h.scheme).toLowerCase()==="https";return(h.port===(w?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},Yo={scheme:"https",domainHost:Hr.domainHost,parse:Hr.parse,serialize:Hr.serialize};function en(b){return typeof b.secure=="boolean"?b.secure:String(b.scheme).toLowerCase()==="wss"}var Qr={scheme:"ws",domainHost:!0,parse:function(h,v){var w=h;return w.secure=en(w),w.resourceName=(w.path||"/")+(w.query?"?"+w.query:""),w.path=void 0,w.query=void 0,w},serialize:function(h,v){if((h.port===(en(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var w=h.resourceName.split("?"),I=c(w,2),B=I[0],z=I[1];h.path=B&&B!=="/"?B:void 0,h.query=z,h.resourceName=void 0}return h.fragment=void 0,h}},tn={scheme:"wss",domainHost:Qr.domainHost,parse:Qr.parse,serialize:Qr.serialize},mu={},yu=!0,rn="[A-Za-z0-9\\-\\.\\_\\~"+(yu?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",st="[0-9A-Fa-f]",gu=i(i("%[EFef]"+st+"%"+st+st+"%"+st+st)+"|"+i("%[89A-Fa-f]"+st+"%"+st+st)+"|"+i("%"+st+st)),bu="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",vu="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Su=e(vu,'[\\"\\\\]'),xu="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",wu=new RegExp(rn,"g"),mr=new RegExp(gu,"g"),Iu=new RegExp(e("[^]",bu,"[\\.]",'[\\"]',Su),"g"),an=new RegExp(e("[^]",rn,xu),"g"),Cu=an;function Na(b){var h=_e(b);return h.match(wu)?h:b}var on={scheme:"mailto",parse:function(h,v){var w=h,I=w.to=w.path?w.path.split(","):[];if(w.path=void 0,w.query){for(var B=!1,z={},K=w.query.split("&"),ee=0,we=K.length;ee<we;++ee){var Q=K[ee].split("=");switch(Q[0]){case"to":for(var ce=Q[1].split(","),Ie=0,pe=ce.length;Ie<pe;++Ie)I.push(ce[Ie]);break;case"subject":w.subject=Ye(Q[1],v);break;case"body":w.body=Ye(Q[1],v);break;default:B=!0,z[Ye(Q[0],v)]=Ye(Q[1],v);break}}B&&(w.headers=z)}w.query=void 0;for(var Z=0,ue=I.length;Z<ue;++Z){var ie=I[Z].split("@");if(ie[0]=Ye(ie[0]),v.unicodeSupport)ie[1]=Ye(ie[1],v).toLowerCase();else try{ie[1]=J.toASCII(Ye(ie[1],v).toLowerCase())}catch(Yt){w.error=w.error||"Email address's domain name can not be converted to ASCII via punycode: "+Yt}I[Z]=ie.join("@")}return w},serialize:function(h,v){var w=h,I=o(h.to);if(I){for(var B=0,z=I.length;B<z;++B){var K=String(I[B]),ee=K.lastIndexOf("@"),we=K.slice(0,ee).replace(mr,Na).replace(mr,r).replace(Iu,Ce),Q=K.slice(ee+1);try{Q=v.iri?J.toUnicode(Q):J.toASCII(Ye(Q,v).toLowerCase())}catch(Z){w.error=w.error||"Email address's domain name can not be converted to "+(v.iri?"Unicode":"ASCII")+" via punycode: "+Z}I[B]=we+"@"+Q}w.path=I.join(",")}var ce=h.headers=h.headers||{};h.subject&&(ce.subject=h.subject),h.body&&(ce.body=h.body);var Ie=[];for(var pe in ce)ce[pe]!==mu[pe]&&Ie.push(pe.replace(mr,Na).replace(mr,r).replace(an,Ce)+"="+ce[pe].replace(mr,Na).replace(mr,r).replace(Cu,Ce));return Ie.length&&(w.query=Ie.join("&")),w}},Tu=/^([^\:]+)\:(.*)/,nn={scheme:"urn",parse:function(h,v){var w=h.path&&h.path.match(Tu),I=h;if(w){var B=v.scheme||I.scheme||"urn",z=w[1].toLowerCase(),K=w[2],ee=B+":"+(v.nid||z),we=Se[ee];I.nid=z,I.nss=K,I.path=void 0,we&&(I=we.parse(I,v))}else I.error=I.error||"URN can not be parsed.";return I},serialize:function(h,v){var w=v.scheme||h.scheme||"urn",I=h.nid,B=w+":"+(v.nid||I),z=Se[B];z&&(h=z.serialize(h,v));var K=h,ee=h.nss;return K.path=(I||v.nid)+":"+ee,K}},Pu=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,sn={scheme:"urn:uuid",parse:function(h,v){var w=h;return w.uuid=w.nss,w.nss=void 0,!v.tolerant&&(!w.uuid||!w.uuid.match(Pu))&&(w.error=w.error||"UUID is not valid."),w},serialize:function(h,v){var w=h;return w.nss=(h.uuid||"").toLowerCase(),w}};Se[Hr.scheme]=Hr,Se[Yo.scheme]=Yo,Se[Qr.scheme]=Qr,Se[tn.scheme]=tn,Se[on.scheme]=on,Se[nn.scheme]=nn,Se[sn.scheme]=sn,t.SCHEMES=Se,t.pctEncChar=Ce,t.pctDecChars=_e,t.parse=Y,t.removeDotSegments=Ue,t.serialize=ke,t.resolveComponents=je,t.resolve=nt,t.normalize=We,t.equal=hi,t.escapeComponent=qa,t.unescapeComponent=Ye,Object.defineProperty(t,"__esModule",{value:!0})})});var sa=W((R_,Tp)=>{"use strict";Tp.exports=function t(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var a,r,o;if(Array.isArray(e)){if(a=e.length,a!=i.length)return!1;for(r=a;r--!==0;)if(!t(e[r],i[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(o=Object.keys(e),a=o.length,a!==Object.keys(i).length)return!1;for(r=a;r--!==0;)if(!Object.prototype.hasOwnProperty.call(i,o[r]))return!1;for(r=a;r--!==0;){var s=o[r];if(!t(e[s],i[s]))return!1}return!0}return e!==e&&i!==i}});var Ap=W((__,Pp)=>{"use strict";Pp.exports=function(e){for(var i=0,a=e.length,r=0,o;r<a;)i++,o=e.charCodeAt(r++),o>=55296&&o<=56319&&r<a&&(o=e.charCodeAt(r),(o&64512)==56320&&r++);return i}});var sr=W((j_,Op)=>{"use strict";Op.exports={copy:WS,checkDataType:lo,checkDataTypes:zS,coerceToTypes:VS,toHash:co,getProperty:uo,escapeQuotes:fo,equal:sa(),ucs2length:Ap(),varOccurences:HS,varReplace:QS,schemaHasRules:KS,schemaHasRulesExcept:JS,schemaUnknownRules:ZS,toQuotedString:po,getPathExpr:XS,getPath:YS,getData:rx,unescapeFragment:ix,unescapeJsonPointer:mo,escapeFragment:ax,escapeJsonPointer:ho};function WS(t,e){e=e||{};for(var i in t)e[i]=t[i];return e}function lo(t,e,i,a){var r=a?" !== ":" === ",o=a?" || ":" && ",s=a?"!":"",n=a?"":"!";switch(t){case"null":return e+r+"null";case"array":return s+"Array.isArray("+e+")";case"object":return"("+s+e+o+"typeof "+e+r+'"object"'+o+n+"Array.isArray("+e+"))";case"integer":return"(typeof "+e+r+'"number"'+o+n+"("+e+" % 1)"+o+e+r+e+(i?o+s+"isFinite("+e+")":"")+")";case"number":return"(typeof "+e+r+'"'+t+'"'+(i?o+s+"isFinite("+e+")":"")+")";default:return"typeof "+e+r+'"'+t+'"'}}function zS(t,e,i){switch(t.length){case 1:return lo(t[0],e,i,!0);default:var a="",r=co(t);r.array&&r.object&&(a=r.null?"(":"(!"+e+" || ",a+="typeof "+e+' !== "object")',delete r.null,delete r.array,delete r.object),r.number&&delete r.integer;for(var o in r)a+=(a?" && ":"")+lo(o,e,i,!0);return a}}var Fp=co(["string","number","integer","boolean","null"]);function VS(t,e){if(Array.isArray(e)){for(var i=[],a=0;a<e.length;a++){var r=e[a];(Fp[r]||t==="array"&&r==="array")&&(i[i.length]=r)}if(i.length)return i}else{if(Fp[e])return[e];if(t==="array"&&e==="array")return["array"]}}function co(t){for(var e={},i=0;i<t.length;i++)e[t[i]]=!0;return e}var US=/^[a-z$_][a-z$_0-9]*$/i,GS=/'|\\/g;function uo(t){return typeof t=="number"?"["+t+"]":US.test(t)?"."+t:"['"+fo(t)+"']"}function fo(t){return t.replace(GS,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function HS(t,e){e+="[^0-9]";var i=t.match(new RegExp(e,"g"));return i?i.length:0}function QS(t,e,i){return e+="([^0-9])",i=i.replace(/\$/g,"$$$$"),t.replace(new RegExp(e,"g"),i+"$1")}function KS(t,e){if(typeof t=="boolean")return!t;for(var i in t)if(e[i])return!0}function JS(t,e,i){if(typeof t=="boolean")return!t&&i!="not";for(var a in t)if(a!=i&&e[a])return!0}function ZS(t,e){if(typeof t!="boolean"){for(var i in t)if(!e[i])return i}}function po(t){return"'"+fo(t)+"'"}function XS(t,e,i,a){var r=i?"'/' + "+e+(a?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):a?"'[' + "+e+" + ']'":"'[\\'' + "+e+" + '\\']'";return Ep(t,r)}function YS(t,e,i){var a=po(i?"/"+ho(e):uo(e));return Ep(t,a)}var ex=/^\/(?:[^~]|~0|~1)*$/,tx=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function rx(t,e,i){var a,r,o,s;if(t==="")return"rootData";if(t[0]=="/"){if(!ex.test(t))throw new Error("Invalid JSON-pointer: "+t);r=t,o="rootData"}else{if(s=t.match(tx),!s)throw new Error("Invalid JSON-pointer: "+t);if(a=+s[1],r=s[2],r=="#"){if(a>=e)throw new Error("Cannot access property/index "+a+" levels up, current level is "+e);return i[e-a]}if(a>e)throw new Error("Cannot access data "+a+" levels up, current level is "+e);if(o="data"+(e-a||""),!r)return o}for(var n=o,l=r.split("/"),u=0;u<l.length;u++){var c=l[u];c&&(o+=uo(mo(c)),n+=" && "+o)}return n}function Ep(t,e){return t=='""'?e:(t+" + "+e).replace(/([^\\])' \+ '/g,"$1")}function ix(t){return mo(decodeURIComponent(t))}function ax(t){return encodeURIComponent(ho(t))}function ho(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}function mo(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}});var yo=W((B_,Lp)=>{"use strict";var ox=sr();Lp.exports=nx;function nx(t){ox.copy(t,this)}});var Dp=W((k_,$p)=>{"use strict";var Mt=$p.exports=function(t,e,i){typeof e=="function"&&(i=e,e={}),i=e.cb||i;var a=typeof i=="function"?i:i.pre||function(){},r=i.post||function(){};la(e,a,r,t,"",t)};Mt.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};Mt.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};Mt.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};Mt.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function la(t,e,i,a,r,o,s,n,l,u){if(a&&typeof a=="object"&&!Array.isArray(a)){e(a,r,o,s,n,l,u);for(var c in a){var d=a[c];if(Array.isArray(d)){if(c in Mt.arrayKeywords)for(var f=0;f<d.length;f++)la(t,e,i,d[f],r+"/"+c+"/"+f,o,r,c,a,f)}else if(c in Mt.propsKeywords){if(d&&typeof d=="object")for(var p in d)la(t,e,i,d[p],r+"/"+c+"/"+sx(p),o,r,c,a,p)}else(c in Mt.keywords||t.allKeys&&!(c in Mt.skipKeywords))&&la(t,e,i,d,r+"/"+c,o,r,c,a)}i(a,r,o,s,n,l,u)}}function sx(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var ha=W((q_,Bp)=>{"use strict";var si=Cp(),Rp=sa(),ua=sr(),pa=yo(),lx=Dp();Bp.exports=zt;zt.normalizeId=Wt;zt.fullPath=da;zt.url=ca;zt.ids=fx;zt.inlineRef=go;zt.schema=fa;function zt(t,e,i){var a=this._refs[i];if(typeof a=="string")if(this._refs[a])a=this._refs[a];else return zt.call(this,t,e,a);if(a=a||this._schemas[i],a instanceof pa)return go(a.schema,this._opts.inlineRefs)?a.schema:a.validate||this._compile(a);var r=fa.call(this,e,i),o,s,n;return r&&(o=r.schema,e=r.root,n=r.baseId),o instanceof pa?s=o.validate||t.call(this,o.schema,e,void 0,n):o!==void 0&&(s=go(o,this._opts.inlineRefs)?o:t.call(this,o,e,void 0,n)),s}function fa(t,e){var i=si.parse(e),a=jp(i),r=da(this._getId(t.schema));if(Object.keys(t.schema).length===0||a!==r){var o=Wt(a),s=this._refs[o];if(typeof s=="string")return px.call(this,t,s,i);if(s instanceof pa)s.validate||this._compile(s),t=s;else if(s=this._schemas[o],s instanceof pa){if(s.validate||this._compile(s),o==Wt(e))return{schema:s,root:t,baseId:r};t=s}else return;if(!t.schema)return;r=da(this._getId(t.schema))}return _p.call(this,i,r,t.schema,t)}function px(t,e,i){var a=fa.call(this,t,e);if(a){var r=a.schema,o=a.baseId;t=a.root;var s=this._getId(r);return s&&(o=ca(o,s)),_p.call(this,i,o,r,t)}}var dx=ua.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function _p(t,e,i,a){if(t.fragment=t.fragment||"",t.fragment.slice(0,1)=="/"){for(var r=t.fragment.split("/"),o=1;o<r.length;o++){var s=r[o];if(s){if(s=ua.unescapeFragment(s),i=i[s],i===void 0)break;var n;if(!dx[s]&&(n=this._getId(i),n&&(e=ca(e,n)),i.$ref)){var l=ca(e,i.$ref),u=fa.call(this,a,l);u&&(i=u.schema,a=u.root,e=u.baseId)}}}if(i!==void 0&&i!==a.schema)return{schema:i,root:a,baseId:e}}}var cx=ua.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function go(t,e){if(e===!1)return!1;if(e===void 0||e===!0)return bo(t);if(e)return vo(t)<=e}function bo(t){var e;if(Array.isArray(t)){for(var i=0;i<t.length;i++)if(e=t[i],typeof e=="object"&&!bo(e))return!1}else for(var a in t)if(a=="$ref"||(e=t[a],typeof e=="object"&&!bo(e)))return!1;return!0}function vo(t){var e=0,i;if(Array.isArray(t)){for(var a=0;a<t.length;a++)if(i=t[a],typeof i=="object"&&(e+=vo(i)),e==1/0)return 1/0}else for(var r in t){if(r=="$ref")return 1/0;if(cx[r])e++;else if(i=t[r],typeof i=="object"&&(e+=vo(i)+1),e==1/0)return 1/0}return e}function da(t,e){e!==!1&&(t=Wt(t));var i=si.parse(t);return jp(i)}function jp(t){return si.serialize(t).split("#")[0]+"#"}var ux=/#\/?$/;function Wt(t){return t?t.replace(ux,""):""}function ca(t,e){return e=Wt(e),si.resolve(t,e)}function fx(t){var e=Wt(this._getId(t)),i={"":e},a={"":da(e,!1)},r={},o=this;return lx(t,{allKeys:!0},function(s,n,l,u,c,d,f){if(n!==""){var p=o._getId(s),y=i[u],g=a[u]+"/"+c;if(f!==void 0&&(g+="/"+(typeof f=="number"?f:ua.escapeFragment(f))),typeof p=="string"){p=y=Wt(y?si.resolve(y,p):p);var m=o._refs[p];if(typeof m=="string"&&(m=o._refs[m]),m&&m.schema){if(!Rp(s,m.schema))throw new Error('id "'+p+'" resolves to more than one schema')}else if(p!=Wt(g))if(p[0]=="#"){if(r[p]&&!Rp(s,r[p]))throw new Error('id "'+p+'" resolves to more than one schema');r[p]=s}else o._refs[p]=g}i[n]=y,a[n]=g}}),r}});var ma=W((N_,qp)=>{"use strict";var So=ha();qp.exports={Validation:kp(hx),MissingRef:kp(xo)};function hx(t){this.message="validation failed",this.errors=t,this.ajv=this.validation=!0}xo.message=function(t,e){return"can't resolve reference "+e+" from id "+t};function xo(t,e,i){this.message=i||xo.message(t,e),this.missingRef=So.url(t,e),this.missingSchema=So.normalizeId(So.fullPath(this.missingRef))}function kp(t){return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}});var wo=W((M_,Np)=>{"use strict";Np.exports=function(t,e){e||(e={}),typeof e=="function"&&(e={cmp:e});var i=typeof e.cycles=="boolean"?e.cycles:!1,a=e.cmp&&function(o){return function(s){return function(n,l){var u={key:n,value:s[n]},c={key:l,value:s[l]};return o(u,c)}}}(e.cmp),r=[];return function o(s){if(s&&s.toJSON&&typeof s.toJSON=="function"&&(s=s.toJSON()),s!==void 0){if(typeof s=="number")return isFinite(s)?""+s:"null";if(typeof s!="object")return JSON.stringify(s);var n,l;if(Array.isArray(s)){for(l="[",n=0;n<s.length;n++)n&&(l+=","),l+=o(s[n])||"null";return l+"]"}if(s===null)return"null";if(r.indexOf(s)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var u=r.push(s)-1,c=Object.keys(s).sort(a&&a(s));for(l="",n=0;n<c.length;n++){var d=c[n],f=o(s[d]);f&&(l&&(l+=","),l+=JSON.stringify(d)+":"+f)}return r.splice(u,1),"{"+l+"}"}}(t)}});var Io=W((W_,Mp)=>{"use strict";Mp.exports=function(e,i,a){var r="",o=e.schema.$async===!0,s=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var l=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(l){var u="unknown keyword: "+l;if(e.opts.strictKeywords==="log")e.logger.warn(u);else throw new Error(u)}}if(e.isTop&&(r+=" var validate = ",o&&(e.async=!0,r+="async "),r+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(r+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(s||e.schema.$ref)){var i="false schema",c=e.level,d=e.dataLevel,f=e.schema[i],p=e.schemaPath+e.util.getProperty(i),y=e.errSchemaPath+"/"+i,F=!e.opts.allErrors,R,g="data"+(d||""),P="valid"+c;if(e.schema===!1){e.isTop?F=!0:r+=" var "+P+" = false; ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'boolean schema is false' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?o?r+=" return data; ":r+=" validate.errors = null; return true; ":r+=" var "+P+" = true; ";return e.isTop&&(r+=" }; return validate; "),r}if(e.isTop){var T=e.isTop,c=e.level=0,d=e.dataLevel=0,g="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var x="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}r+=" var vErrors = null; ",r+=" var errors = 0; ",r+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,d=e.dataLevel,g="data"+(d||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),o&&!e.async)throw new Error("async schema in sync schema");r+=" var errs_"+c+" = errors;"}var P="valid"+c,F=!e.opts.allErrors,A="",_="",R,E=e.schema.type,j=Array.isArray(E);if(E&&e.opts.nullable&&e.schema.nullable===!0&&(j?E.indexOf("null")==-1&&(E=E.concat("null")):E!="null"&&(E=[E,"null"],j=!0)),j&&E.length==1&&(E=E[0],j=!1),e.schema.$ref&&s){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(s=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(r+=" "+e.RULES.all.$comment.code(e,"$comment")),E){if(e.opts.coerceTypes)var $=e.util.coerceToTypes(e.opts.coerceTypes,E);var k=e.RULES.types[E];if($||j||k===!0||k&&!Pe(k)){var p=e.schemaPath+".type",y=e.errSchemaPath+"/type",p=e.schemaPath+".type",y=e.errSchemaPath+"/type",O=j?"checkDataTypes":"checkDataType";if(r+=" if ("+e.util[O](E,g,e.opts.strictNumbers,!0)+") { ",$){var D="dataType"+c,q="coerced"+c;r+=" var "+D+" = typeof "+g+"; var "+q+" = undefined; ",e.opts.coerceTypes=="array"&&(r+=" if ("+D+" == 'object' && Array.isArray("+g+") && "+g+".length == 1) { "+g+" = "+g+"[0]; "+D+" = typeof "+g+"; if ("+e.util.checkDataType(e.schema.type,g,e.opts.strictNumbers)+") "+q+" = "+g+"; } "),r+=" if ("+q+" !== undefined) ; ";var te=$;if(te)for(var U,H=-1,V=te.length-1;H<V;)U=te[H+=1],U=="string"?r+=" else if ("+D+" == 'number' || "+D+" == 'boolean') "+q+" = '' + "+g+"; else if ("+g+" === null) "+q+" = ''; ":U=="number"||U=="integer"?(r+=" else if ("+D+" == 'boolean' || "+g+" === null || ("+D+" == 'string' && "+g+" && "+g+" == +"+g+" ",U=="integer"&&(r+=" && !("+g+" % 1)"),r+=")) "+q+" = +"+g+"; "):U=="boolean"?r+=" else if ("+g+" === 'false' || "+g+" === 0 || "+g+" === null) "+q+" = false; else if ("+g+" === 'true' || "+g+" === 1) "+q+" = true; ":U=="null"?r+=" else if ("+g+" === '' || "+g+" === 0 || "+g+" === false) "+q+" = null; ":e.opts.coerceTypes=="array"&&U=="array"&&(r+=" else if ("+D+" == 'string' || "+D+" == 'number' || "+D+" == 'boolean' || "+g+" == null) "+q+" = ["+g+"]; ");r+=" else { ";var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",j?r+=""+E.join(","):r+=""+E,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",j?r+=""+E.join(","):r+=""+E,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } if ("+q+" !== undefined) { ";var M=d?"data"+(d-1||""):"parentData",ye=d?e.dataPathArr[d]:"parentDataProperty";r+=" "+g+" = "+q+"; ",d||(r+="if ("+M+" !== undefined)"),r+=" "+M+"["+ye+"] = "+q+"; } "}else{var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",j?r+=""+E.join(","):r+=""+E,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",j?r+=""+E.join(","):r+=""+E,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}r+=" } "}}if(e.schema.$ref&&!s)r+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",F&&(r+=" } if (errors === ",T?r+="0":r+="errs_"+c,r+=") { ",_+="}");else{var Ee=e.RULES;if(Ee){for(var k,Re=-1,J=Ee.length-1;Re<J;)if(k=Ee[Re+=1],Pe(k)){if(k.type&&(r+=" if ("+e.util.checkDataType(k.type,g,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(k.type=="object"&&e.schema.properties){var f=e.schema.properties,Se=Object.keys(f),Ce=Se;if(Ce)for(var _e,Ft=-1,gt=Ce.length-1;Ft<gt;){_e=Ce[Ft+=1];var xe=f[_e];if(xe.default!==void 0){var ge=g+e.util.getProperty(_e);if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+ge;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else r+=" if ("+ge+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ge+" === null || "+ge+" === '' "),r+=" ) "+ge+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(xe.default)+" ":r+=" "+JSON.stringify(xe.default)+" ",r+="; "}}}else if(k.type=="array"&&Array.isArray(e.schema.items)){var Jt=e.schema.items;if(Jt){for(var xe,H=-1,Oe=Jt.length-1;H<Oe;)if(xe=Jt[H+=1],xe.default!==void 0){var ge=g+"["+H+"]";if(e.compositeRule){if(e.opts.strictDefaults){var x="default is ignored for: "+ge;if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}}else r+=" if ("+ge+" === undefined ",e.opts.useDefaults=="empty"&&(r+=" || "+ge+" === null || "+ge+" === '' "),r+=" ) "+ge+" = ",e.opts.useDefaults=="shared"?r+=" "+e.useDefault(xe.default)+" ":r+=" "+JSON.stringify(xe.default)+" ",r+="; "}}}}var Y=k.rules;if(Y){for(var Et,bt=-1,Zt=Y.length-1;bt<Zt;)if(Et=Y[bt+=1],Ue(Et)){var Xt=Et.code(e,Et.keyword,k.type);Xt&&(r+=" "+Xt+" ",F&&(A+="}"))}}if(F&&(r+=" "+A+" ",A=""),k.type&&(r+=" } ",E&&E===k.type&&!$)){r+=" else { ";var p=e.schemaPath+".type",y=e.errSchemaPath+"/type",m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(R||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(y)+" , params: { type: '",j?r+=""+E.join(","):r+=""+E,r+="' } ",e.opts.messages!==!1&&(r+=" , message: 'should be ",j?r+=""+E.join(","):r+=""+E,r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+g+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&F?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } "}F&&(r+=" if (errors === ",T?r+="0":r+="errs_"+c,r+=") { ",_+="}")}}}F&&(r+=" "+_+" "),T?(o?(r+=" if (errors === 0) return data; ",r+=" else throw new ValidationError(vErrors); "):(r+=" validate.errors = vErrors; ",r+=" return errors === 0; "),r+=" }; return validate;"):r+=" var "+P+" = errors === errs_"+c+";";function Pe(je){for(var nt=je.rules,We=0;We<nt.length;We++)if(Ue(nt[We]))return!0}function Ue(je){return e.schema[je.keyword]!==void 0||je.implements&&ke(je)}function ke(je){for(var nt=je.implements,We=0;We<nt.length;We++)if(e.schema[nt[We]]!==void 0)return!0}return r}});var Gp=W((z_,Up)=>{"use strict";var ya=ha(),ba=sr(),zp=ma(),mx=wo(),Wp=Io(),yx=ba.ucs2length,gx=sa(),bx=zp.Validation;Up.exports=Co;function Co(t,e,i,a){var r=this,o=this._opts,s=[void 0],n={},l=[],u={},c=[],d={},f=[];e=e||{schema:t,refVal:s,refs:n};var p=vx.call(this,t,e,a),y=this._compilations[p.index];if(p.compiling)return y.callValidate=x;var g=this._formats,m=this.RULES;try{var S=P(t,e,i,a);y.validate=S;var T=y.callValidate;return T&&(T.schema=S.schema,T.errors=null,T.refs=S.refs,T.refVal=S.refVal,T.root=S.root,T.$async=S.$async,o.sourceCode&&(T.source=S.source)),S}finally{Sx.call(this,t,e,a)}function x(){var O=y.validate,D=O.apply(this,arguments);return x.errors=O.errors,D}function P(O,D,q,te){var U=!D||D&&D.schema==O;if(D.schema!=e.schema)return Co.call(r,O,D,q,te);var H=O.$async===!0,V=Wp({isTop:!0,schema:O,isRoot:U,baseId:te,root:D,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:zp.MissingRef,RULES:m,validate:Wp,util:ba,resolve:ya,resolveRef:F,usePattern:j,useDefault:$,useCustomRule:k,opts:o,formats:g,logger:r.logger,self:r});V=ga(s,Ix)+ga(l,xx)+ga(c,wx)+ga(f,Cx)+V,o.processCode&&(V=o.processCode(V,O));var M;try{var ye=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",V);M=ye(r,m,g,e,s,c,f,gx,yx,bx),s[0]=M}catch(Ee){throw r.logger.error("Error compiling schema, function code:",V),Ee}return M.schema=O,M.errors=null,M.refs=n,M.refVal=s,M.root=U?M:D,H&&(M.$async=!0),o.sourceCode===!0&&(M.source={code:V,patterns:l,defaults:c}),M}function F(O,D,q){D=ya.url(O,D);var te=n[D],U,H;if(te!==void 0)return U=s[te],H="refVal["+te+"]",E(U,H);if(!q&&e.refs){var V=e.refs[D];if(V!==void 0)return U=e.refVal[V],H=A(D,U),E(U,H)}H=A(D);var M=ya.call(r,P,e,D);if(M===void 0){var ye=i&&i[D];ye&&(M=ya.inlineRef(ye,o.inlineRefs)?ye:Co.call(r,ye,e,i,O))}if(M===void 0)_(D);else return R(D,M),E(M,H)}function A(O,D){var q=s.length;return s[q]=D,n[O]=q,"refVal"+q}function _(O){delete n[O]}function R(O,D){var q=n[O];s[q]=D}function E(O,D){return typeof O=="object"||typeof O=="boolean"?{code:D,schema:O,inline:!0}:{code:D,$async:O&&!!O.$async}}function j(O){var D=u[O];return D===void 0&&(D=u[O]=l.length,l[D]=O),"pattern"+D}function $(O){switch(typeof O){case"boolean":case"number":return""+O;case"string":return ba.toQuotedString(O);case"object":if(O===null)return"null";var D=mx(O),q=d[D];return q===void 0&&(q=d[D]=c.length,c[q]=O),"default"+q}}function k(O,D,q,te){if(r._opts.validateSchema!==!1){var U=O.definition.dependencies;if(U&&!U.every(function(Ce){return Object.prototype.hasOwnProperty.call(q,Ce)}))throw new Error("parent schema must have all required keywords: "+U.join(","));var H=O.definition.validateSchema;if(H){var V=H(D);if(!V){var M="keyword schema is invalid: "+r.errorsText(H.errors);if(r._opts.validateSchema=="log")r.logger.error(M);else throw new Error(M)}}}var ye=O.definition.compile,Ee=O.definition.inline,Re=O.definition.macro,J;if(ye)J=ye.call(r,D,q,te);else if(Re)J=Re.call(r,D,q,te),o.validateSchema!==!1&&r.validateSchema(J,!0);else if(Ee)J=Ee.call(r,te,O.keyword,D,q);else if(J=O.definition.validate,!J)return;if(J===void 0)throw new Error('custom keyword "'+O.keyword+'"failed to compile');var Se=f.length;return f[Se]=J,{code:"customRule"+Se,validate:J}}}function vx(t,e,i){var a=Vp.call(this,t,e,i);return a>=0?{index:a,compiling:!0}:(a=this._compilations.length,this._compilations[a]={schema:t,root:e,baseId:i},{index:a,compiling:!1})}function Sx(t,e,i){var a=Vp.call(this,t,e,i);a>=0&&this._compilations.splice(a,1)}function Vp(t,e,i){for(var a=0;a<this._compilations.length;a++){var r=this._compilations[a];if(r.schema==t&&r.root==e&&r.baseId==i)return a}return-1}function xx(t,e){return"var pattern"+t+" = new RegExp("+ba.toQuotedString(e[t])+");"}function wx(t){return"var default"+t+" = defaults["+t+"];"}function Ix(t,e){return e[t]===void 0?"":"var refVal"+t+" = refVal["+t+"];"}function Cx(t){return"var customRule"+t+" = customRules["+t+"];"}function ga(t,e){if(!t.length)return"";for(var i="",a=0;a<t.length;a++)i+=e(a,t);return i}});var Qp=W((V_,Hp)=>{"use strict";var va=Hp.exports=function(){this._cache={}};va.prototype.put=function(e,i){this._cache[e]=i};va.prototype.get=function(e){return this._cache[e]};va.prototype.del=function(e){delete this._cache[e]};va.prototype.clear=function(){this._cache={}}});var nd=W((U_,od)=>{"use strict";var Tx=sr(),Px=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,Ax=[0,31,28,31,30,31,30,31,31,30,31,30,31],Fx=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,Kp=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,Ex=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,Ox=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,Jp=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,Zp=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,Xp=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,Yp=/^(?:\/(?:[^~/]|~0|~1)*)*$/,ed=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,td=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;od.exports=Sa;function Sa(t){return t=t=="full"?"full":"fast",Tx.copy(Sa[t])}Sa.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":Jp,url:Zp,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:Kp,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:ad,uuid:Xp,"json-pointer":Yp,"json-pointer-uri-fragment":ed,"relative-json-pointer":td};Sa.full={date:rd,time:id,"date-time":Dx,uri:_x,"uri-reference":Ox,"uri-template":Jp,url:Zp,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:Kp,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:ad,uuid:Xp,"json-pointer":Yp,"json-pointer-uri-fragment":ed,"relative-json-pointer":td};function Lx(t){return t%4===0&&(t%100!==0||t%400===0)}function rd(t){var e=t.match(Px);if(!e)return!1;var i=+e[1],a=+e[2],r=+e[3];return a>=1&&a<=12&&r>=1&&r<=(a==2&&Lx(i)?29:Ax[a])}function id(t,e){var i=t.match(Fx);if(!i)return!1;var a=i[1],r=i[2],o=i[3],s=i[5];return(a<=23&&r<=59&&o<=59||a==23&&r==59&&o==60)&&(!e||s)}var $x=/t|\s/i;function Dx(t){var e=t.split($x);return e.length==2&&rd(e[0])&&id(e[1],!0)}var Rx=/\/|:/;function _x(t){return Rx.test(t)&&Ex.test(t)}var jx=/[^\\]\\Z/;function ad(t){if(jx.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var ld=W((G_,sd)=>{"use strict";sd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.errSchemaPath+"/"+i,u=!e.opts.allErrors,c="data"+(s||""),d="valid"+o,f,p;if(n=="#"||n=="#/")e.isRoot?(f=e.async,p="validate"):(f=e.root.schema.$async===!0,p="root.refVal[0]");else{var y=e.resolveRef(e.baseId,n,e.isRoot);if(y===void 0){var g=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(g);var m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(r+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(r+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),r+=" } "):r+=" {} ";var S=r;r=m.pop(),!e.compositeRule&&u?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u&&(r+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(g),u&&(r+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,g)}else if(y.inline){var T=e.util.copy(e);T.level++;var x="valid"+T.level;T.schema=y.schema,T.schemaPath="",T.errSchemaPath=n;var P=e.validate(T).replace(/validate\.schema/g,y.code);r+=" "+P+" ",u&&(r+=" if ("+x+") { ")}else f=y.$async===!0||e.async&&y.$async!==!1,p=y.code}if(p){var m=m||[];m.push(r),r="",e.opts.passContext?r+=" "+p+".call(this, ":r+=" "+p+"( ",r+=" "+c+", (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var F=s?"data"+(s-1||""):"parentData",A=s?e.dataPathArr[s]:"parentDataProperty";r+=" , "+F+" , "+A+", rootData) ";var _=r;if(r=m.pop(),f){if(!e.async)throw new Error("async schema referenced by sync schema");u&&(r+=" var "+d+"; "),r+=" try { await "+_+"; ",u&&(r+=" "+d+" = true; "),r+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",u&&(r+=" "+d+" = false; "),r+=" } ",u&&(r+=" if ("+d+") { ")}else r+=" if (!"+_+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",u&&(r+=" else { ")}return r}});var dd=W((H_,pd)=>{"use strict";pd.exports=function(e,i,a){var r=" ",o=e.schema[i],s=e.schemaPath+e.util.getProperty(i),n=e.errSchemaPath+"/"+i,l=!e.opts.allErrors,u=e.util.copy(e),c="";u.level++;var d="valid"+u.level,f=u.baseId,p=!0,y=o;if(y)for(var g,m=-1,S=y.length-1;m<S;)g=y[m+=1],(e.opts.strictKeywords?typeof g=="object"&&Object.keys(g).length>0||g===!1:e.util.schemaHasRules(g,e.RULES.all))&&(p=!1,u.schema=g,u.schemaPath=s+"["+m+"]",u.errSchemaPath=n+"/"+m,r+=" "+e.validate(u)+" ",u.baseId=f,l&&(r+=" if ("+d+") { ",c+="}"));return l&&(p?r+=" if (true) { ":r+=" "+c.slice(0,-1)+" "),r}});var ud=W((Q_,cd)=>{"use strict";cd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p="errs__"+o,y=e.util.copy(e),g="";y.level++;var m="valid"+y.level,S=n.every(function(R){return e.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===!1:e.util.schemaHasRules(R,e.RULES.all)});if(S){var T=y.baseId;r+=" var "+p+" = errors; var "+f+" = false; ";var x=e.compositeRule;e.compositeRule=y.compositeRule=!0;var P=n;if(P)for(var F,A=-1,_=P.length-1;A<_;)F=P[A+=1],y.schema=F,y.schemaPath=l+"["+A+"]",y.errSchemaPath=u+"/"+A,r+=" "+e.validate(y)+" ",y.baseId=T,r+=" "+f+" = "+f+" || "+m+"; if (!"+f+") { ",g+="}";e.compositeRule=y.compositeRule=x,r+=" "+g+" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else c&&(r+=" if (true) { ");return r}});var hd=W((K_,fd)=>{"use strict";fd.exports=function(e,i,a){var r=" ",o=e.schema[i],s=e.errSchemaPath+"/"+i,n=!e.opts.allErrors,l=e.util.toQuotedString(o);return e.opts.$comment===!0?r+=" console.log("+l+");":typeof e.opts.$comment=="function"&&(r+=" self._opts.$comment("+l+", "+e.util.toQuotedString(s)+", validate.root.schema);"),r}});var yd=W((J_,md)=>{"use strict";md.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p=e.opts.$data&&n&&n.$data,y;p?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",y="schema"+o):y=n,p||(r+=" var schema"+o+" = validate.schema"+l+";"),r+="var "+f+" = equal("+d+", schema"+o+"); if (!"+f+") { ";var g=g||[];g.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValue: schema"+o+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to constant' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=g.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",c&&(r+=" else { "),r}});var bd=W((Z_,gd)=>{"use strict";gd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p="errs__"+o,y=e.util.copy(e),g="";y.level++;var m="valid"+y.level,S="i"+o,T=y.dataLevel=e.dataLevel+1,x="data"+T,P=e.baseId,F=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(r+="var "+p+" = errors;var "+f+";",F){var A=e.compositeRule;e.compositeRule=y.compositeRule=!0,y.schema=n,y.schemaPath=l,y.errSchemaPath=u,r+=" var "+m+" = false; for (var "+S+" = 0; "+S+" < "+d+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var _=d+"["+S+"]";y.dataPathArr[T]=S;var R=e.validate(y);y.baseId=P,e.util.varOccurences(R,x)<2?r+=" "+e.util.varReplace(R,x,_)+" ":r+=" var "+x+" = "+_+"; "+R+" ",r+=" if ("+m+") break; } ",e.compositeRule=y.compositeRule=A,r+=" "+g+" if (!"+m+") {"}else r+=" if ("+d+".length == 0) {";var E=E||[];E.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should contain a valid item' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var j=r;return r=E.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+j+"]); ":r+=" validate.errors = ["+j+"]; return false; ":r+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { ",F&&(r+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(r+=" } "),r}});var Sd=W((X_,vd)=>{"use strict";vd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="errs__"+o,p=e.util.copy(e),y="";p.level++;var g="valid"+p.level,m={},S={},T=e.opts.ownProperties;for(A in n)if(A!="__proto__"){var x=n[A],P=Array.isArray(x)?S:m;P[A]=x}r+="var "+f+" = errors;";var F=e.errorPath;r+="var missing"+o+";";for(var A in S)if(P=S[A],P.length){if(r+=" if ( "+d+e.util.getProperty(A)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(A)+"') "),c){r+=" && ( ";var _=P;if(_)for(var R,E=-1,j=_.length-1;E<j;){R=_[E+=1],E&&(r+=" || ");var $=e.util.getProperty(R),k=d+$;r+=" ( ( "+k+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(R)+"') "),r+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?R:$)+") ) "}r+=")) { ";var O="missing"+o,D="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(F,O,!0):F+" + "+O);var q=q||[];q.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(A)+"', missingProperty: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes(A)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var te=r;r=q.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+te+"]); ":r+=" validate.errors = ["+te+"]; return false; ":r+=" var err = "+te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{r+=" ) { ";var U=P;if(U)for(var R,H=-1,V=U.length-1;H<V;){R=U[H+=1];var $=e.util.getProperty(R),D=e.util.escapeQuotes(R),k=d+$;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(F,R,e.opts.jsonPointers)),r+=" if ( "+k+" === undefined ",T&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(R)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { property: '"+e.util.escapeQuotes(A)+"', missingProperty: '"+D+"', depsCount: "+P.length+", deps: '"+e.util.escapeQuotes(P.length==1?P[0]:P.join(", "))+"' } ",e.opts.messages!==!1&&(r+=" , message: 'should have ",P.length==1?r+="property "+e.util.escapeQuotes(P[0]):r+="properties "+e.util.escapeQuotes(P.join(", ")),r+=" when property "+e.util.escapeQuotes(A)+" is present' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}r+=" } ",c&&(y+="}",r+=" else { ")}e.errorPath=F;var M=p.baseId;for(var A in m){var x=m[A];(e.opts.strictKeywords?typeof x=="object"&&Object.keys(x).length>0||x===!1:e.util.schemaHasRules(x,e.RULES.all))&&(r+=" "+g+" = true; if ( "+d+e.util.getProperty(A)+" !== undefined ",T&&(r+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(A)+"') "),r+=") { ",p.schema=x,p.schemaPath=l+e.util.getProperty(A),p.errSchemaPath=u+"/"+e.util.escapeFragment(A),r+=" "+e.validate(p)+" ",p.baseId=M,r+=" } ",c&&(r+=" if ("+g+") { ",y+="}"))}return c&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var wd=W((Y_,xd)=>{"use strict";xd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p=e.opts.$data&&n&&n.$data,y;p?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",y="schema"+o):y=n;var g="i"+o,m="schema"+o;p||(r+=" var "+m+" = validate.schema"+l+";"),r+="var "+f+";",p&&(r+=" if (schema"+o+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+o+")) "+f+" = false; else {"),r+=""+f+" = false;for (var "+g+"=0; "+g+"<"+m+".length; "+g+"++) if (equal("+d+", "+m+"["+g+"])) { "+f+" = true; break; }",p&&(r+=" } "),r+=" if (!"+f+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { allowedValues: schema"+o+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var T=r;return r=S.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" }",c&&(r+=" else { "),r}});var Cd=W((ej,Id)=>{"use strict";Id.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||"");if(e.opts.format===!1)return c&&(r+=" if (true) { "),r;var f=e.opts.$data&&n&&n.$data,p;f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n;var y=e.opts.unknownFormats,g=Array.isArray(y);if(f){var m="format"+o,S="isObject"+o,T="formatType"+o;r+=" var "+m+" = formats["+p+"]; var "+S+" = typeof "+m+" == 'object' && !("+m+" instanceof RegExp) && "+m+".validate; var "+T+" = "+S+" && "+m+".type || 'string'; if ("+S+") { ",e.async&&(r+=" var async"+o+" = "+m+".async; "),r+=" "+m+" = "+m+".validate; } if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),r+=" (",y!="ignore"&&(r+=" ("+p+" && !"+m+" ",g&&(r+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),r+=") || "),r+=" ("+m+" && "+T+" == '"+a+"' && !(typeof "+m+" == 'function' ? ",e.async?r+=" (async"+o+" ? await "+m+"("+d+") : "+m+"("+d+")) ":r+=" "+m+"("+d+") ",r+=" : "+m+".test("+d+"))))) {"}else{var m=e.formats[n];if(!m){if(y=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(r+=" if (true) { "),r;if(g&&y.indexOf(n)>=0)return c&&(r+=" if (true) { "),r;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var S=typeof m=="object"&&!(m instanceof RegExp)&&m.validate,T=S&&m.type||"string";if(S){var x=m.async===!0;m=m.validate}if(T!=a)return c&&(r+=" if (true) { "),r;if(x){if(!e.async)throw new Error("async format in sync schema");var P="formats"+e.util.getProperty(n)+".validate";r+=" if (!(await "+P+"("+d+"))) { "}else{r+=" if (! ";var P="formats"+e.util.getProperty(n);S&&(P+=".validate"),typeof m=="function"?r+=" "+P+"("+d+") ":r+=" "+P+".test("+d+") ",r+=") { "}}var F=F||[];F.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { format: ",f?r+=""+p:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match format "`,f?r+="' + "+p+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var A=r;return r=F.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+A+"]); ":r+=" validate.errors = ["+A+"]; return false; ":r+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",c&&(r+=" else { "),r}});var Pd=W((tj,Td)=>{"use strict";Td.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p="errs__"+o,y=e.util.copy(e);y.level++;var g="valid"+y.level,m=e.schema.then,S=e.schema.else,T=m!==void 0&&(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all)),x=S!==void 0&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all)),P=y.baseId;if(T||x){var F;y.createErrors=!1,y.schema=n,y.schemaPath=l,y.errSchemaPath=u,r+=" var "+p+" = errors; var "+f+" = true; ";var A=e.compositeRule;e.compositeRule=y.compositeRule=!0,r+=" "+e.validate(y)+" ",y.baseId=P,y.createErrors=!0,r+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=y.compositeRule=A,T?(r+=" if ("+g+") { ",y.schema=e.schema.then,y.schemaPath=e.schemaPath+".then",y.errSchemaPath=e.errSchemaPath+"/then",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+g+"; ",T&&x?(F="ifClause"+o,r+=" var "+F+" = 'then'; "):F="'then'",r+=" } ",x&&(r+=" else { ")):r+=" if (!"+g+") { ",x&&(y.schema=e.schema.else,y.schemaPath=e.schemaPath+".else",y.errSchemaPath=e.errSchemaPath+"/else",r+=" "+e.validate(y)+" ",y.baseId=P,r+=" "+f+" = "+g+"; ",T&&x?(F="ifClause"+o,r+=" var "+F+" = 'else'; "):F="'else'",r+=" } "),r+=" if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { failingKeyword: "+F+" } ",e.opts.messages!==!1&&(r+=` , message: 'should match "' + `+F+` + '" schema' `),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+=" } ",c&&(r+=" else { ")}else c&&(r+=" if (true) { ");return r}});var Fd=W((rj,Ad)=>{"use strict";Ad.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p="errs__"+o,y=e.util.copy(e),g="";y.level++;var m="valid"+y.level,S="i"+o,T=y.dataLevel=e.dataLevel+1,x="data"+T,P=e.baseId;if(r+="var "+p+" = errors;var "+f+";",Array.isArray(n)){var F=e.schema.additionalItems;if(F===!1){r+=" "+f+" = "+d+".length <= "+n.length+"; ";var A=u;u=e.errSchemaPath+"/additionalItems",r+=" if (!"+f+") { ";var _=_||[];_.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var R=r;r=_.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+R+"]); ":r+=" validate.errors = ["+R+"]; return false; ":r+=" var err = "+R+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",u=A,c&&(g+="}",r+=" else { ")}var E=n;if(E){for(var j,$=-1,k=E.length-1;$<k;)if(j=E[$+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){r+=" "+m+" = true; if ("+d+".length > "+$+") { ";var O=d+"["+$+"]";y.schema=j,y.schemaPath=l+"["+$+"]",y.errSchemaPath=u+"/"+$,y.errorPath=e.util.getPathExpr(e.errorPath,$,e.opts.jsonPointers,!0),y.dataPathArr[T]=$;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,x)<2?r+=" "+e.util.varReplace(D,x,O)+" ":r+=" var "+x+" = "+O+"; "+D+" ",r+=" } ",c&&(r+=" if ("+m+") { ",g+="}")}}if(typeof F=="object"&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))){y.schema=F,y.schemaPath=e.schemaPath+".additionalItems",y.errSchemaPath=e.errSchemaPath+"/additionalItems",r+=" "+m+" = true; if ("+d+".length > "+n.length+") { for (var "+S+" = "+n.length+"; "+S+" < "+d+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var O=d+"["+S+"]";y.dataPathArr[T]=S;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,x)<2?r+=" "+e.util.varReplace(D,x,O)+" ":r+=" var "+x+" = "+O+"; "+D+" ",c&&(r+=" if (!"+m+") break; "),r+=" } } ",c&&(r+=" if ("+m+") { ",g+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){y.schema=n,y.schemaPath=l,y.errSchemaPath=u,r+=" for (var "+S+" = 0; "+S+" < "+d+".length; "+S+"++) { ",y.errorPath=e.util.getPathExpr(e.errorPath,S,e.opts.jsonPointers,!0);var O=d+"["+S+"]";y.dataPathArr[T]=S;var D=e.validate(y);y.baseId=P,e.util.varOccurences(D,x)<2?r+=" "+e.util.varReplace(D,x,O)+" ":r+=" var "+x+" = "+O+"; "+D+" ",c&&(r+=" if (!"+m+") break; "),r+=" }"}return c&&(r+=" "+g+" if ("+p+" == errors) {"),r}});var To=W((ij,Ed)=>{"use strict";Ed.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,P,d="data"+(s||""),f=e.opts.$data&&n&&n.$data,p;f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n;var y=i=="maximum",g=y?"exclusiveMaximum":"exclusiveMinimum",m=e.schema[g],S=e.opts.$data&&m&&m.$data,T=y?"<":">",x=y?">":"<",P=void 0;if(!(f||typeof n=="number"||n===void 0))throw new Error(i+" must be number");if(!(S||m===void 0||typeof m=="number"||typeof m=="boolean"))throw new Error(g+" must be number or boolean");if(S){var F=e.util.getData(m.$data,s,e.dataPathArr),A="exclusive"+o,_="exclType"+o,R="exclIsNumber"+o,E="op"+o,j="' + "+E+" + '";r+=" var schemaExcl"+o+" = "+F+"; ",F="schemaExcl"+o,r+=" var "+A+"; var "+_+" = typeof "+F+"; if ("+_+" != 'boolean' && "+_+" != 'undefined' && "+_+" != 'number') { ";var P=g,$=$||[];$.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: '"+g+" should be boolean' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var k=r;r=$.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+k+"]); ":r+=" validate.errors = ["+k+"]; return false; ":r+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),r+=" "+_+" == 'number' ? ( ("+A+" = "+p+" === undefined || "+F+" "+T+"= "+p+") ? "+d+" "+x+"= "+F+" : "+d+" "+x+" "+p+" ) : ( ("+A+" = "+F+" === true) ? "+d+" "+x+"= "+p+" : "+d+" "+x+" "+p+" ) || "+d+" !== "+d+") { var op"+o+" = "+A+" ? '"+T+"' : '"+T+"='; ",n===void 0&&(P=g,u=e.errSchemaPath+"/"+g,p=F,f=S)}else{var R=typeof m=="number",j=T;if(R&&f){var E="'"+j+"'";r+=" if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),r+=" ( "+p+" === undefined || "+m+" "+T+"= "+p+" ? "+d+" "+x+"= "+m+" : "+d+" "+x+" "+p+" ) || "+d+" !== "+d+") { "}else{R&&n===void 0?(A=!0,P=g,u=e.errSchemaPath+"/"+g,p=m,x+="="):(R&&(p=Math[y?"min":"max"](m,n)),m===(R?p:!0)?(A=!0,P=g,u=e.errSchemaPath+"/"+g,x+="="):(A=!1,j+="="));var E="'"+j+"'";r+=" if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),r+=" "+d+" "+x+" "+p+" || "+d+" !== "+d+") { "}}P=P||i;var $=$||[];$.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(P||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+E+", limit: "+p+", exclusive: "+A+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be "+j+" ",f?r+="' + "+p:r+=""+p+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var k=r;return r=$.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+k+"]); ":r+=" validate.errors = ["+k+"]; return false; ":r+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",c&&(r+=" else { "),r}});var Po=W((aj,Od)=>{"use strict";Od.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,g,d="data"+(s||""),f=e.opts.$data&&n&&n.$data,p;if(f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxItems"?">":"<";r+="if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),r+=" "+d+".length "+y+" "+p+") { ";var g=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(g||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxItems"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+p+" + '":r+=""+n,r+=" items' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",c&&(r+=" else { "),r}});var Ao=W((oj,Ld)=>{"use strict";Ld.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,g,d="data"+(s||""),f=e.opts.$data&&n&&n.$data,p;if(f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxLength"?">":"<";r+="if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?r+=" "+d+".length ":r+=" ucs2length("+d+") ",r+=" "+y+" "+p+") { ";var g=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(g||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be ",i=="maxLength"?r+="longer":r+="shorter",r+=" than ",f?r+="' + "+p+" + '":r+=""+n,r+=" characters' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",c&&(r+=" else { "),r}});var Fo=W((nj,$d)=>{"use strict";$d.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,g,d="data"+(s||""),f=e.opts.$data&&n&&n.$data,p;if(f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n,!(f||typeof n=="number"))throw new Error(i+" must be number");var y=i=="maxProperties"?">":"<";r+="if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),r+=" Object.keys("+d+").length "+y+" "+p+") { ";var g=i,m=m||[];m.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(g||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have ",i=="maxProperties"?r+="more":r+="fewer",r+=" than ",f?r+="' + "+p+" + '":r+=""+n,r+=" properties' "),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var S=r;return r=m.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+S+"]); ":r+=" validate.errors = ["+S+"]; return false; ":r+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",c&&(r+=" else { "),r}});var Rd=W((sj,Dd)=>{"use strict";Dd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f=e.opts.$data&&n&&n.$data,p;if(f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n,!(f||typeof n=="number"))throw new Error(i+" must be number");r+="var division"+o+";if (",f&&(r+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),r+=" (division"+o+" = "+d+" / "+p+", ",e.opts.multipleOfPrecision?r+=" Math.abs(Math.round(division"+o+") - division"+o+") > 1e-"+e.opts.multipleOfPrecision+" ":r+=" division"+o+" !== parseInt(division"+o+") ",r+=" ) ",f&&(r+=" ) "),r+=" ) { ";var y=y||[];y.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { multipleOf: "+p+" } ",e.opts.messages!==!1&&(r+=" , message: 'should be multiple of ",f?r+="' + "+p:r+=""+p+"'"),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var g=r;return r=y.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+g+"]); ":r+=" validate.errors = ["+g+"]; return false; ":r+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",c&&(r+=" else { "),r}});var jd=W((lj,_d)=>{"use strict";_d.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="errs__"+o,p=e.util.copy(e);p.level++;var y="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=l,p.errSchemaPath=u,r+=" var "+f+" = errors; ";var g=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var m;p.opts.allErrors&&(m=p.opts.allErrors,p.opts.allErrors=!1),r+=" "+e.validate(p)+" ",p.createErrors=!0,m&&(p.opts.allErrors=m),e.compositeRule=p.compositeRule=g,r+=" if ("+y+") { ";var S=S||[];S.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var T=r;r=S.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+T+"]); ":r+=" validate.errors = ["+T+"]; return false; ":r+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ",e.opts.allErrors&&(r+=" } ")}else r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",e.opts.messages!==!1&&(r+=" , message: 'should NOT be valid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(r+=" if (false) { ");return r}});var kd=W((pj,Bd)=>{"use strict";Bd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p="errs__"+o,y=e.util.copy(e),g="";y.level++;var m="valid"+y.level,S=y.baseId,T="prevValid"+o,x="passingSchemas"+o;r+="var "+p+" = errors , "+T+" = false , "+f+" = false , "+x+" = null; ";var P=e.compositeRule;e.compositeRule=y.compositeRule=!0;var F=n;if(F)for(var A,_=-1,R=F.length-1;_<R;)A=F[_+=1],(e.opts.strictKeywords?typeof A=="object"&&Object.keys(A).length>0||A===!1:e.util.schemaHasRules(A,e.RULES.all))?(y.schema=A,y.schemaPath=l+"["+_+"]",y.errSchemaPath=u+"/"+_,r+=" "+e.validate(y)+" ",y.baseId=S):r+=" var "+m+" = true; ",_&&(r+=" if ("+m+" && "+T+") { "+f+" = false; "+x+" = ["+x+", "+_+"]; } else { ",g+="}"),r+=" if ("+m+") { "+f+" = "+T+" = true; "+x+" = "+_+"; }";return e.compositeRule=y.compositeRule=P,r+=""+g+"if (!"+f+") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { passingSchemas: "+x+" } ",e.opts.messages!==!1&&(r+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),r+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(r+=" } "),r}});var Nd=W((dj,qd)=>{"use strict";qd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f=e.opts.$data&&n&&n.$data,p;f?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",p="schema"+o):p=n;var y=f?"(new RegExp("+p+"))":e.usePattern(n);r+="if ( ",f&&(r+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),r+=" !"+y+".test("+d+") ) { ";var g=g||[];g.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { pattern: ",f?r+=""+p:r+=""+e.util.toQuotedString(n),r+=" } ",e.opts.messages!==!1&&(r+=` , message: 'should match pattern "`,f?r+="' + "+p+" + '":r+=""+e.util.escapeQuotes(n),r+=`"' `),e.opts.verbose&&(r+=" , schema: ",f?r+="validate.schema"+l:r+=""+e.util.toQuotedString(n),r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var m=r;return r=g.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+m+"]); ":r+=" validate.errors = ["+m+"]; return false; ":r+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+="} ",c&&(r+=" else { "),r}});var Wd=W((cj,Md)=>{"use strict";Md.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="errs__"+o,p=e.util.copy(e),y="";p.level++;var g="valid"+p.level,m="key"+o,S="idx"+o,T=p.dataLevel=e.dataLevel+1,x="data"+T,P="dataProperties"+o,F=Object.keys(n||{}).filter(H),A=e.schema.patternProperties||{},_=Object.keys(A).filter(H),R=e.schema.additionalProperties,E=F.length||_.length,j=R===!1,$=typeof R=="object"&&Object.keys(R).length,k=e.opts.removeAdditional,O=j||$||k,D=e.opts.ownProperties,q=e.baseId,te=e.schema.required;if(te&&!(e.opts.$data&&te.$data)&&te.length<e.opts.loopRequired)var U=e.util.toHash(te);function H(Ye){return Ye!=="__proto__"}if(r+="var "+f+" = errors;var "+g+" = true;",D&&(r+=" var "+P+" = undefined;"),O){if(D?r+=" "+P+" = "+P+" || Object.keys("+d+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+d+") { ",E){if(r+=" var isAdditional"+o+" = !(false ",F.length)if(F.length>8)r+=" || validate.schema"+l+".hasOwnProperty("+m+") ";else{var V=F;if(V)for(var M,ye=-1,Ee=V.length-1;ye<Ee;)M=V[ye+=1],r+=" || "+m+" == "+e.util.toQuotedString(M)+" "}if(_.length){var Re=_;if(Re)for(var J,Se=-1,Ce=Re.length-1;Se<Ce;)J=Re[Se+=1],r+=" || "+e.usePattern(J)+".test("+m+") "}r+=" ); if (isAdditional"+o+") { "}if(k=="all")r+=" delete "+d+"["+m+"]; ";else{var _e=e.errorPath,Ft="' + "+m+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers)),j)if(k)r+=" delete "+d+"["+m+"]; ";else{r+=" "+g+" = false; ";var gt=u;u=e.errSchemaPath+"/additionalProperties";var xe=xe||[];xe.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { additionalProperty: '"+Ft+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is an invalid additional property":r+="should NOT have additional properties",r+="' "),e.opts.verbose&&(r+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var ge=r;r=xe.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+ge+"]); ":r+=" validate.errors = ["+ge+"]; return false; ":r+=" var err = "+ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=gt,c&&(r+=" break; ")}else if($)if(k=="failing"){r+=" var "+f+" = errors; ";var Jt=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=R,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Oe=d+"["+m+"]";p.dataPathArr[T]=m;var Y=e.validate(p);p.baseId=q,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Oe)+" ":r+=" var "+x+" = "+Oe+"; "+Y+" ",r+=" if (!"+g+") { errors = "+f+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+d+"["+m+"]; } ",e.compositeRule=p.compositeRule=Jt}else{p.schema=R,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Oe=d+"["+m+"]";p.dataPathArr[T]=m;var Y=e.validate(p);p.baseId=q,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Oe)+" ":r+=" var "+x+" = "+Oe+"; "+Y+" ",c&&(r+=" if (!"+g+") break; ")}e.errorPath=_e}E&&(r+=" } "),r+=" } ",c&&(r+=" if ("+g+") { ",y+="}")}var Et=e.opts.useDefaults&&!e.compositeRule;if(F.length){var bt=F;if(bt)for(var M,Zt=-1,Xt=bt.length-1;Zt<Xt;){M=bt[Zt+=1];var Pe=n[M];if(e.opts.strictKeywords?typeof Pe=="object"&&Object.keys(Pe).length>0||Pe===!1:e.util.schemaHasRules(Pe,e.RULES.all)){var Ue=e.util.getProperty(M),Oe=d+Ue,ke=Et&&Pe.default!==void 0;p.schema=Pe,p.schemaPath=l+Ue,p.errSchemaPath=u+"/"+e.util.escapeFragment(M),p.errorPath=e.util.getPath(e.errorPath,M,e.opts.jsonPointers),p.dataPathArr[T]=e.util.toQuotedString(M);var Y=e.validate(p);if(p.baseId=q,e.util.varOccurences(Y,x)<2){Y=e.util.varReplace(Y,x,Oe);var je=Oe}else{var je=x;r+=" var "+x+" = "+Oe+"; "}if(ke)r+=" "+Y+" ";else{if(U&&U[M]){r+=" if ( "+je+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(M)+"') "),r+=") { "+g+" = false; ";var _e=e.errorPath,gt=u,nt=e.util.escapeQuotes(M);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(_e,M,e.opts.jsonPointers)),u=e.errSchemaPath+"/required";var xe=xe||[];xe.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+nt+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+nt+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var ge=r;r=xe.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+ge+"]); ":r+=" validate.errors = ["+ge+"]; return false; ":r+=" var err = "+ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",u=gt,e.errorPath=_e,r+=" } else { "}else c?(r+=" if ( "+je+" === undefined ",D&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(M)+"') "),r+=") { "+g+" = true; } else { "):(r+=" if ("+je+" !== undefined ",D&&(r+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(M)+"') "),r+=" ) { ");r+=" "+Y+" } "}}c&&(r+=" if ("+g+") { ",y+="}")}}if(_.length){var We=_;if(We)for(var J,hi=-1,qa=We.length-1;hi<qa;){J=We[hi+=1];var Pe=A[J];if(e.opts.strictKeywords?typeof Pe=="object"&&Object.keys(Pe).length>0||Pe===!1:e.util.schemaHasRules(Pe,e.RULES.all)){p.schema=Pe,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(J),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(J),D?r+=" "+P+" = "+P+" || Object.keys("+d+"); for (var "+S+"=0; "+S+"<"+P+".length; "+S+"++) { var "+m+" = "+P+"["+S+"]; ":r+=" for (var "+m+" in "+d+") { ",r+=" if ("+e.usePattern(J)+".test("+m+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,m,e.opts.jsonPointers);var Oe=d+"["+m+"]";p.dataPathArr[T]=m;var Y=e.validate(p);p.baseId=q,e.util.varOccurences(Y,x)<2?r+=" "+e.util.varReplace(Y,x,Oe)+" ":r+=" var "+x+" = "+Oe+"; "+Y+" ",c&&(r+=" if (!"+g+") break; "),r+=" } ",c&&(r+=" else "+g+" = true; "),r+=" } ",c&&(r+=" if ("+g+") { ",y+="}")}}}return c&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Vd=W((uj,zd)=>{"use strict";zd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="errs__"+o,p=e.util.copy(e),y="";p.level++;var g="valid"+p.level;if(r+="var "+f+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=l,p.errSchemaPath=u;var m="key"+o,S="idx"+o,T="i"+o,x="' + "+m+" + '",P=p.dataLevel=e.dataLevel+1,F="data"+P,A="dataProperties"+o,_=e.opts.ownProperties,R=e.baseId;_&&(r+=" var "+A+" = undefined; "),_?r+=" "+A+" = "+A+" || Object.keys("+d+"); for (var "+S+"=0; "+S+"<"+A+".length; "+S+"++) { var "+m+" = "+A+"["+S+"]; ":r+=" for (var "+m+" in "+d+") { ",r+=" var startErrs"+o+" = errors; ";var E=m,j=e.compositeRule;e.compositeRule=p.compositeRule=!0;var $=e.validate(p);p.baseId=R,e.util.varOccurences($,F)<2?r+=" "+e.util.varReplace($,F,E)+" ":r+=" var "+F+" = "+E+"; "+$+" ",e.compositeRule=p.compositeRule=j,r+=" if (!"+g+") { for (var "+T+"=startErrs"+o+"; "+T+"<errors; "+T+"++) { vErrors["+T+"].propertyName = "+m+"; } var err = ",e.createErrors!==!1?(r+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { propertyName: '"+x+"' } ",e.opts.messages!==!1&&(r+=" , message: 'property name \\'"+x+"\\' is invalid' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; "),c&&(r+=" break; "),r+=" } }"}return c&&(r+=" "+y+" if ("+f+" == errors) {"),r}});var Gd=W((fj,Ud)=>{"use strict";Ud.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p=e.opts.$data&&n&&n.$data,y;p?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",y="schema"+o):y=n;var g="schema"+o;if(!p)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var m=[],S=n;if(S)for(var T,x=-1,P=S.length-1;x<P;){T=S[x+=1];var F=e.schema.properties[T];F&&(e.opts.strictKeywords?typeof F=="object"&&Object.keys(F).length>0||F===!1:e.util.schemaHasRules(F,e.RULES.all))||(m[m.length]=T)}}else var m=n;if(p||m.length){var A=e.errorPath,_=p||m.length>=e.opts.loopRequired,R=e.opts.ownProperties;if(c)if(r+=" var missing"+o+"; ",_){p||(r+=" var "+g+" = validate.schema"+l+"; ");var E="i"+o,j="schema"+o+"["+E+"]",$="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(A,j,e.opts.jsonPointers)),r+=" var "+f+" = true; ",p&&(r+=" if (schema"+o+" === undefined) "+f+" = true; else if (!Array.isArray(schema"+o+")) "+f+" = false; else {"),r+=" for (var "+E+" = 0; "+E+" < "+g+".length; "+E+"++) { "+f+" = "+d+"["+g+"["+E+"]] !== undefined ",R&&(r+=" && Object.prototype.hasOwnProperty.call("+d+", "+g+"["+E+"]) "),r+="; if (!"+f+") break; } ",p&&(r+=" } "),r+=" if (!"+f+") { ";var k=k||[];k.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+$+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+$+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var O=r;r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+O+"]); ":r+=" validate.errors = ["+O+"]; return false; ":r+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else{r+=" if ( ";var D=m;if(D)for(var q,E=-1,te=D.length-1;E<te;){q=D[E+=1],E&&(r+=" || ");var U=e.util.getProperty(q),H=d+U;r+=" ( ( "+H+" === undefined ",R&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(q)+"') "),r+=") && (missing"+o+" = "+e.util.toQuotedString(e.opts.jsonPointers?q:U)+") ) "}r+=") { ";var j="missing"+o,$="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(A,j,!0):A+" + "+j);var k=k||[];k.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+$+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+$+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var O=r;r=k.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+O+"]); ":r+=" validate.errors = ["+O+"]; return false; ":r+=" var err = "+O+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } else { "}else if(_){p||(r+=" var "+g+" = validate.schema"+l+"; ");var E="i"+o,j="schema"+o+"["+E+"]",$="' + "+j+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(A,j,e.opts.jsonPointers)),p&&(r+=" if ("+g+" && !Array.isArray("+g+")) { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+$+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+$+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+g+" !== undefined) { "),r+=" for (var "+E+" = 0; "+E+" < "+g+".length; "+E+"++) { if ("+d+"["+g+"["+E+"]] === undefined ",R&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", "+g+"["+E+"]) "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+$+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+$+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(r+=" } ")}else{var V=m;if(V)for(var q,M=-1,ye=V.length-1;M<ye;){q=V[M+=1];var U=e.util.getProperty(q),$=e.util.escapeQuotes(q),H=d+U;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,q,e.opts.jsonPointers)),r+=" if ( "+H+" === undefined ",R&&(r+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(q)+"') "),r+=") { var err = ",e.createErrors!==!1?(r+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { missingProperty: '"+$+"' } ",e.opts.messages!==!1&&(r+=" , message: '",e.opts._errorDataPathProperty?r+="is a required property":r+="should have required property \\'"+$+"\\'",r+="' "),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=A}else c&&(r+=" if (true) {");return r}});var Qd=W((hj,Hd)=>{"use strict";Hd.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d="data"+(s||""),f="valid"+o,p=e.opts.$data&&n&&n.$data,y;if(p?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",y="schema"+o):y=n,(n||p)&&e.opts.uniqueItems!==!1){p&&(r+=" var "+f+"; if ("+y+" === false || "+y+" === undefined) "+f+" = true; else if (typeof "+y+" != 'boolean') "+f+" = false; else { "),r+=" var i = "+d+".length , "+f+" = true , j; if (i > 1) { ";var g=e.schema.items&&e.schema.items.type,m=Array.isArray(g);if(!g||g=="object"||g=="array"||m&&(g.indexOf("object")>=0||g.indexOf("array")>=0))r+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+f+" = false; break outer; } } } ";else{r+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var S="checkDataType"+(m?"s":"");r+=" if ("+e.util[S](g,"item",e.opts.strictNumbers,!0)+") continue; ",m&&(r+=` if (typeof item == 'string') item = '"' + item; `),r+=" if (typeof itemIndices[item] == 'number') { "+f+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}r+=" } ",p&&(r+=" } "),r+=" if (!"+f+") { ";var T=T||[];T.push(r),r="",e.createErrors!==!1?(r+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(r+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(r+=" , schema: ",p?r+="validate.schema"+l:r+=""+n,r+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),r+=" } "):r+=" {} ";var x=r;r=T.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+x+"]); ":r+=" validate.errors = ["+x+"]; return false; ":r+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",r+=" } ",c&&(r+=" else { ")}else c&&(r+=" if (true) { ");return r}});var Jd=W((mj,Kd)=>{"use strict";Kd.exports={$ref:ld(),allOf:dd(),anyOf:ud(),$comment:hd(),const:yd(),contains:bd(),dependencies:Sd(),enum:wd(),format:Cd(),if:Pd(),items:Fd(),maximum:To(),minimum:To(),maxItems:Po(),minItems:Po(),maxLength:Ao(),minLength:Ao(),maxProperties:Fo(),minProperties:Fo(),multipleOf:Rd(),not:jd(),oneOf:kd(),pattern:Nd(),properties:Wd(),propertyNames:Vd(),required:Gd(),uniqueItems:Qd(),validate:Io()}});var Yd=W((yj,Xd)=>{"use strict";var Zd=Jd(),Eo=sr().toHash;Xd.exports=function(){var e=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],i=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],r=["number","integer","string","array","object","boolean","null"];return e.all=Eo(i),e.types=Eo(r),e.forEach(function(o){o.rules=o.rules.map(function(s){var n;if(typeof s=="object"){var l=Object.keys(s)[0];n=s[l],s=l,n.forEach(function(c){i.push(c),e.all[c]=!0})}i.push(s);var u=e.all[s]={keyword:s,code:Zd[s],implements:n};return u}),e.all.$comment={keyword:"$comment",code:Zd.$comment},o.type&&(e.types[o.type]=o)}),e.keywords=Eo(i.concat(a)),e.custom={},e}});var rc=W((gj,tc)=>{"use strict";var ec=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];tc.exports=function(t,e){for(var i=0;i<e.length;i++){t=JSON.parse(JSON.stringify(t));var a=e[i].split("/"),r=t,o;for(o=1;o<a.length;o++)r=r[a[o]];for(o=0;o<ec.length;o++){var s=ec[o],n=r[s];n&&(r[s]={anyOf:[n,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return t}});var oc=W((bj,ac)=>{"use strict";var Bx=ma().MissingRef;ac.exports=ic;function ic(t,e,i){var a=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof e=="function"&&(i=e,e=void 0);var r=o(t).then(function(){var n=a._addSchema(t,void 0,e);return n.validate||s(n)});return i&&r.then(function(n){i(null,n)},i),r;function o(n){var l=n.$schema;return l&&!a.getSchema(l)?ic.call(a,{$ref:l},!0):Promise.resolve()}function s(n){try{return a._compile(n)}catch(u){if(u instanceof Bx)return l(u);throw u}function l(u){var c=u.missingSchema;if(p(c))throw new Error("Schema "+c+" is loaded but "+u.missingRef+" cannot be resolved");var d=a._loadingSchemas[c];return d||(d=a._loadingSchemas[c]=a._opts.loadSchema(c),d.then(f,f)),d.then(function(y){if(!p(c))return o(y).then(function(){p(c)||a.addSchema(y,c,void 0,e)})}).then(function(){return s(n)});function f(){delete a._loadingSchemas[c]}function p(y){return a._refs[y]||a._schemas[y]}}}}});var sc=W((vj,nc)=>{"use strict";nc.exports=function(e,i,a){var r=" ",o=e.level,s=e.dataLevel,n=e.schema[i],l=e.schemaPath+e.util.getProperty(i),u=e.errSchemaPath+"/"+i,c=!e.opts.allErrors,d,f="data"+(s||""),p="valid"+o,y="errs__"+o,g=e.opts.$data&&n&&n.$data,m;g?(r+=" var schema"+o+" = "+e.util.getData(n.$data,s,e.dataPathArr)+"; ",m="schema"+o):m=n;var S=this,T="definition"+o,x=S.definition,P="",F,A,_,R,E;if(g&&x.$data){E="keywordValidate"+o;var j=x.validateSchema;r+=" var "+T+" = RULES.custom['"+i+"'].definition; var "+E+" = "+T+".validate;"}else{if(R=e.useCustomRule(S,n,e.schema,e),!R)return;m="validate.schema"+l,E=R.code,F=x.compile,A=x.inline,_=x.macro}var $=E+".errors",k="i"+o,O="ruleErr"+o,D=x.async;if(D&&!e.async)throw new Error("async keyword in sync schema");if(A||_||(r+=""+$+" = null;"),r+="var "+y+" = errors;var "+p+";",g&&x.$data&&(P+="}",r+=" if ("+m+" === undefined) { "+p+" = true; } else { ",j&&(P+="}",r+=" "+p+" = "+T+".validateSchema("+m+"); if ("+p+") { ")),A)x.statements?r+=" "+R.validate+" ":r+=" "+p+" = "+R.validate+"; ";else if(_){var q=e.util.copy(e),P="";q.level++;var te="valid"+q.level;q.schema=R.validate,q.schemaPath="";var U=e.compositeRule;e.compositeRule=q.compositeRule=!0;var H=e.validate(q).replace(/validate\.schema/g,E);e.compositeRule=q.compositeRule=U,r+=" "+H}else{var V=V||[];V.push(r),r="",r+=" "+E+".call( ",e.opts.passContext?r+="this":r+="self",F||x.schema===!1?r+=" , "+f+" ":r+=" , "+m+" , "+f+" , validate.schema"+e.schemaPath+" ",r+=" , (dataPath || '')",e.errorPath!='""'&&(r+=" + "+e.errorPath);var M=s?"data"+(s-1||""):"parentData",ye=s?e.dataPathArr[s]:"parentDataProperty";r+=" , "+M+" , "+ye+" , rootData ) ";var Ee=r;r=V.pop(),x.errors===!1?(r+=" "+p+" = ",D&&(r+="await "),r+=""+Ee+"; "):D?($="customErrors"+o,r+=" var "+$+" = null; try { "+p+" = await "+Ee+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+$+" = e.errors; else throw e; } "):r+=" "+$+" = null; "+p+" = "+Ee+"; "}if(x.modifying&&(r+=" if ("+M+") "+f+" = "+M+"["+ye+"];"),r+=""+P,x.valid)c&&(r+=" if (true) { ");else{r+=" if ( ",x.valid===void 0?(r+=" !",_?r+=""+te:r+=""+p):r+=" "+!x.valid+" ",r+=") { ",d=S.keyword;var V=V||[];V.push(r),r="";var V=V||[];V.push(r),r="",e.createErrors!==!1?(r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ";var Re=r;r=V.pop(),!e.compositeRule&&c?e.async?r+=" throw new ValidationError(["+Re+"]); ":r+=" validate.errors = ["+Re+"]; return false; ":r+=" var err = "+Re+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var J=r;r=V.pop(),A?x.errors?x.errors!="full"&&(r+=" for (var "+k+"="+y+"; "+k+"<errors; "+k+"++) { var "+O+" = vErrors["+k+"]; if ("+O+".dataPath === undefined) "+O+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+O+".schemaPath === undefined) { "+O+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+O+".schema = "+m+"; "+O+".data = "+f+"; "),r+=" } "):x.errors===!1?r+=" "+J+" ":(r+=" if ("+y+" == errors) { "+J+" } else { for (var "+k+"="+y+"; "+k+"<errors; "+k+"++) { var "+O+" = vErrors["+k+"]; if ("+O+".dataPath === undefined) "+O+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+O+".schemaPath === undefined) { "+O+'.schemaPath = "'+u+'"; } ',e.opts.verbose&&(r+=" "+O+".schema = "+m+"; "+O+".data = "+f+"; "),r+=" } } "):_?(r+=" var err = ",e.createErrors!==!1?(r+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { keyword: '"+S.keyword+"' } ",e.opts.messages!==!1&&(r+=` , message: 'should pass "`+S.keyword+`" keyword validation' `),e.opts.verbose&&(r+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+f+" "),r+=" } "):r+=" {} ",r+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?r+=" throw new ValidationError(vErrors); ":r+=" validate.errors = vErrors; return false; ")):x.errors===!1?r+=" "+J+" ":(r+=" if (Array.isArray("+$+")) { if (vErrors === null) vErrors = "+$+"; else vErrors = vErrors.concat("+$+"); errors = vErrors.length; for (var "+k+"="+y+"; "+k+"<errors; "+k+"++) { var "+O+" = vErrors["+k+"]; if ("+O+".dataPath === undefined) "+O+".dataPath = (dataPath || '') + "+e.errorPath+"; "+O+'.schemaPath = "'+u+'"; ',e.opts.verbose&&(r+=" "+O+".schema = "+m+"; "+O+".data = "+f+"; "),r+=" } } else { "+J+" } "),r+=" } ",c&&(r+=" else { ")}return r}});var Oo=W((Sj,kx)=>{kx.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var dc=W((xj,pc)=>{"use strict";var lc=Oo();pc.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:lc.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:lc.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}});var uc=W((wj,cc)=>{"use strict";var qx=/^[a-z_$][a-z0-9_$-]*$/i,Nx=sc(),Mx=dc();cc.exports={add:Wx,get:zx,remove:Vx,validate:Lo};function Wx(t,e){var i=this.RULES;if(i.keywords[t])throw new Error("Keyword "+t+" is already defined");if(!qx.test(t))throw new Error("Keyword "+t+" is not a valid identifier");if(e){this.validateKeyword(e,!0);var a=e.type;if(Array.isArray(a))for(var r=0;r<a.length;r++)s(t,a[r],e);else s(t,a,e);var o=e.metaSchema;o&&(e.$data&&this._opts.$data&&(o={anyOf:[o,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),e.validateSchema=this.compile(o,!0))}i.keywords[t]=i.all[t]=!0;function s(n,l,u){for(var c,d=0;d<i.length;d++){var f=i[d];if(f.type==l){c=f;break}}c||(c={type:l,rules:[]},i.push(c));var p={keyword:n,definition:u,custom:!0,code:Nx,implements:u.implements};c.rules.push(p),i.custom[n]=p}return this}function zx(t){var e=this.RULES.custom[t];return e?e.definition:this.RULES.keywords[t]||!1}function Vx(t){var e=this.RULES;delete e.keywords[t],delete e.all[t],delete e.custom[t];for(var i=0;i<e.length;i++)for(var a=e[i].rules,r=0;r<a.length;r++)if(a[r].keyword==t){a.splice(r,1);break}return this}function Lo(t,e){Lo.errors=null;var i=this._validateKeyword=this._validateKeyword||this.compile(Mx,!0);if(i(t))return!0;if(Lo.errors=i.errors,e)throw new Error("custom keyword definition is invalid: "+this.errorsText(i.errors));return!1}});var fc=W((Ij,Ux)=>{Ux.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON Schema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var Ic=W((Cj,wc)=>{"use strict";var mc=Gp(),lr=ha(),Gx=Qp(),yc=yo(),Hx=wo(),Qx=nd(),Kx=Yd(),gc=rc(),bc=sr();wc.exports=ve;ve.prototype.validate=Zx;ve.prototype.compile=Xx;ve.prototype.addSchema=Yx;ve.prototype.addMetaSchema=ew;ve.prototype.validateSchema=tw;ve.prototype.getSchema=iw;ve.prototype.removeSchema=ow;ve.prototype.addFormat=fw;ve.prototype.errorsText=uw;ve.prototype._addSchema=nw;ve.prototype._compile=sw;ve.prototype.compileAsync=oc();var Ia=uc();ve.prototype.addKeyword=Ia.add;ve.prototype.getKeyword=Ia.get;ve.prototype.removeKeyword=Ia.remove;ve.prototype.validateKeyword=Ia.validate;var vc=ma();ve.ValidationError=vc.Validation;ve.MissingRefError=vc.MissingRef;ve.$dataMetaSchema=gc;var wa="http://json-schema.org/draft-07/schema",hc=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],Jx=["/properties"];function ve(t){if(!(this instanceof ve))return new ve(t);t=this._opts=bc.copy(t)||{},vw(this),this._schemas={},this._refs={},this._fragments={},this._formats=Qx(t.format),this._cache=t.cache||new Gx,this._loadingSchemas={},this._compilations=[],this.RULES=Kx(),this._getId=lw(t),t.loopRequired=t.loopRequired||1/0,t.errorDataPath=="property"&&(t._errorDataPathProperty=!0),t.serialize===void 0&&(t.serialize=Hx),this._metaOpts=bw(this),t.formats&&yw(this),t.keywords&&gw(this),hw(this),typeof t.meta=="object"&&this.addMetaSchema(t.meta),t.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),mw(this)}function Zx(t,e){var i;if(typeof t=="string"){if(i=this.getSchema(t),!i)throw new Error('no schema with key or ref "'+t+'"')}else{var a=this._addSchema(t);i=a.validate||this._compile(a)}var r=i(e);return i.$async!==!0&&(this.errors=i.errors),r}function Xx(t,e){var i=this._addSchema(t,void 0,e);return i.validate||this._compile(i)}function Yx(t,e,i,a){if(Array.isArray(t)){for(var r=0;r<t.length;r++)this.addSchema(t[r],void 0,i,a);return this}var o=this._getId(t);if(o!==void 0&&typeof o!="string")throw new Error("schema id must be string");return e=lr.normalizeId(e||o),xc(this,e),this._schemas[e]=this._addSchema(t,i,a,!0),this}function ew(t,e,i){return this.addSchema(t,e,i,!0),this}function tw(t,e){var i=t.$schema;if(i!==void 0&&typeof i!="string")throw new Error("$schema must be a string");if(i=i||this._opts.defaultMeta||rw(this),!i)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var a=this.validate(i,t);if(!a&&e){var r="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(r);else throw new Error(r)}return a}function rw(t){var e=t._opts.meta;return t._opts.defaultMeta=typeof e=="object"?t._getId(e)||e:t.getSchema(wa)?wa:void 0,t._opts.defaultMeta}function iw(t){var e=Sc(this,t);switch(typeof e){case"object":return e.validate||this._compile(e);case"string":return this.getSchema(e);case"undefined":return aw(this,t)}}function aw(t,e){var i=lr.schema.call(t,{schema:{}},e);if(i){var a=i.schema,r=i.root,o=i.baseId,s=mc.call(t,a,r,void 0,o);return t._fragments[e]=new yc({ref:e,fragment:!0,schema:a,root:r,baseId:o,validate:s}),s}}function Sc(t,e){return e=lr.normalizeId(e),t._schemas[e]||t._refs[e]||t._fragments[e]}function ow(t){if(t instanceof RegExp)return xa(this,this._schemas,t),xa(this,this._refs,t),this;switch(typeof t){case"undefined":return xa(this,this._schemas),xa(this,this._refs),this._cache.clear(),this;case"string":var e=Sc(this,t);return e&&this._cache.del(e.cacheKey),delete this._schemas[t],delete this._refs[t],this;case"object":var i=this._opts.serialize,a=i?i(t):t;this._cache.del(a);var r=this._getId(t);r&&(r=lr.normalizeId(r),delete this._schemas[r],delete this._refs[r])}return this}function xa(t,e,i){for(var a in e){var r=e[a];!r.meta&&(!i||i.test(a))&&(t._cache.del(r.cacheKey),delete e[a])}}function nw(t,e,i,a){if(typeof t!="object"&&typeof t!="boolean")throw new Error("schema should be object or boolean");var r=this._opts.serialize,o=r?r(t):t,s=this._cache.get(o);if(s)return s;a=a||this._opts.addUsedSchema!==!1;var n=lr.normalizeId(this._getId(t));n&&a&&xc(this,n);var l=this._opts.validateSchema!==!1&&!e,u;l&&!(u=n&&n==lr.normalizeId(t.$schema))&&this.validateSchema(t,!0);var c=lr.ids.call(this,t),d=new yc({id:n,schema:t,localRefs:c,cacheKey:o,meta:i});return n[0]!="#"&&a&&(this._refs[n]=d),this._cache.put(o,d),l&&u&&this.validateSchema(t,!0),d}function sw(t,e){if(t.compiling)return t.validate=r,r.schema=t.schema,r.errors=null,r.root=e||r,t.schema.$async===!0&&(r.$async=!0),r;t.compiling=!0;var i;t.meta&&(i=this._opts,this._opts=this._metaOpts);var a;try{a=mc.call(this,t.schema,e,t.localRefs)}catch(o){throw delete t.validate,o}finally{t.compiling=!1,t.meta&&(this._opts=i)}return t.validate=a,t.refs=a.refs,t.refVal=a.refVal,t.root=a.root,a;function r(){var o=t.validate,s=o.apply(this,arguments);return r.errors=o.errors,s}}function lw(t){switch(t.schemaId){case"auto":return cw;case"id":return pw;default:return dw}}function pw(t){return t.$id&&this.logger.warn("schema $id ignored",t.$id),t.id}function dw(t){return t.id&&this.logger.warn("schema id ignored",t.id),t.$id}function cw(t){if(t.$id&&t.id&&t.$id!=t.id)throw new Error("schema $id is different from id");return t.$id||t.id}function uw(t,e){if(t=t||this.errors,!t)return"No errors";e=e||{};for(var i=e.separator===void 0?", ":e.separator,a=e.dataVar===void 0?"data":e.dataVar,r="",o=0;o<t.length;o++){var s=t[o];s&&(r+=a+s.dataPath+" "+s.message+i)}return r.slice(0,-i.length)}function fw(t,e){return typeof e=="string"&&(e=new RegExp(e)),this._formats[t]=e,this}function hw(t){var e;if(t._opts.$data&&(e=fc(),t.addMetaSchema(e,e.$id,!0)),t._opts.meta!==!1){var i=Oo();t._opts.$data&&(i=gc(i,Jx)),t.addMetaSchema(i,wa,!0),t._refs["http://json-schema.org/schema"]=wa}}function mw(t){var e=t._opts.schemas;if(e)if(Array.isArray(e))t.addSchema(e);else for(var i in e)t.addSchema(e[i],i)}function yw(t){for(var e in t._opts.formats){var i=t._opts.formats[e];t.addFormat(e,i)}}function gw(t){for(var e in t._opts.keywords){var i=t._opts.keywords[e];t.addKeyword(e,i)}}function xc(t,e){if(t._schemas[e]||t._refs[e])throw new Error('schema with key or id "'+e+'" already exists')}function bw(t){for(var e=bc.copy(t._opts),i=0;i<hc.length;i++)delete e[hc[i]];return e}function vw(t){var e=t._opts.logger;if(e===!1)t.logger={log:$o,warn:$o,error:$o};else{if(e===void 0&&(e=console),!(typeof e=="object"&&e.log&&e.warn&&e.error))throw new Error("logger must implement log, warn and error methods");t.logger=e}}function $o(){}});var Pc=W((Tj,Ro)=>{function Sw(t,e){var i=e&&e.cache?e.cache:Pw,a=e&&e.serializer?e.serializer:Tw,r=e&&e.strategy?e.strategy:ww;return r(t,{cache:i,serializer:a})}function xw(t){return t==null||typeof t=="number"||typeof t=="boolean"}function Cc(t,e,i,a){var r=xw(a)?a:i(a),o=e.get(r);return typeof o>"u"&&(o=t.call(this,a),e.set(r,o)),o}function Tc(t,e,i){var a=Array.prototype.slice.call(arguments,3),r=i(a),o=e.get(r);return typeof o>"u"&&(o=t.apply(this,a),e.set(r,o)),o}function Do(t,e,i,a,r){return i.bind(e,t,a,r)}function ww(t,e){var i=t.length===1?Cc:Tc;return Do(t,this,i,e.cache.create(),e.serializer)}function Iw(t,e){var i=Tc;return Do(t,this,i,e.cache.create(),e.serializer)}function Cw(t,e){var i=Cc;return Do(t,this,i,e.cache.create(),e.serializer)}function Tw(){return JSON.stringify(arguments)}function Ca(){this.cache=Object.create(null)}Ca.prototype.has=function(t){return t in this.cache};Ca.prototype.get=function(t){return this.cache[t]};Ca.prototype.set=function(t,e){this.cache[t]=e};var Pw={create:function(){return new Ca}};Ro.exports=Sw;Ro.exports.strategies={variadic:Iw,monadic:Cw}});var $e={Blob:"esriFieldTypeBlob",Date:"esriFieldTypeDate",DateOnly:"esriFieldTypeDateOnly",TimestampOffset:"esriFieldTypeTimestampOffset",Double:"esriFieldTypeDouble",Geometry:"esriFieldTypeGeometry",GlobalID:"esriFieldTypeGlobalID",GUID:"esriFieldTypeGUID",Integer:"esriFieldTypeInteger",SmallInteger:"esriFieldTypeSmallInteger",BigInteger:"esriFieldTypeBigInteger",OID:"esriFieldTypeOID",Raster:"esriFieldTypeRaster",Single:"esriFieldTypeSingle",String:"esriFieldTypeString",XML:"esriFieldTypeXML"},Cr={Dash:"esriSLSDash",DashDot:"esriSLSDashDot",DashDotDot:"esriSLSDashDotDot",Dot:"esriSLSDot",Null:"esriSLSNull",Solid:"esriSLSSolid"},Ua={Circle:"esriSMSCircle",Cross:"esriSMSCross",Diamond:"esriSMSDiamond",Square:"esriSMSSquare",X:"esriSMSX",Triangle:"esriSMSTriangle"},Tr={BackwardDiagonal:"esriSFSBackwardDiagonal",Cross:"esriSFSCross",DiagonalCross:"esriSFSDiagonalCross",ForwardDiagonal:"esriSFSForwardDiagonal",Horizontal:"esriSFSHorizontal",Null:"esriSFSNull",Solid:"esriSFSSolid",Vertical:"esriSFSVertical"},bi={Left:"left",Right:"right",Center:"center",Justify:"justify"},Ga={Baseline:"baseline",Top:"top",Middle:"middle",Bottom:"bottom"},De={SLS:"esriSLS",SMS:"esriSMS",SFS:"esriSFS",PMS:"esriPMS",PFS:"esriPFS",TS:"esriTS"},uC={Italic:"italic",Normal:"normal",Oblique:"oblique"},fC={Bold:"bold",Bolder:"bolder",Lighter:"lighter",Normal:"normal"},hC={LineThrough:"line-through",Underline:"underline",None:"none"},vi={UniqueValue:"unique-value",Simple:"simple",ClassBreaks:"class-breaks",Heatmap:"heatmap",DotDensity:"dot-density",Dictionary:"dictionary",PieChart:"pie-chart"},rr={Feet:"feet",Miles:"miles",NauticalMiles:"nautical-miles",USNauticalMiles:"us-nautical-miles",Meters:"meters",Kilometers:"kilometers"};var Si="arcgis_charts_pie_from_fields_name",Ha="arcgis_charts_pie_from_fields_value",bn="arcgis_charts_bar_line_from_fields_name",vn="arcgis_charts_bar_line_from_fields_value";var pt={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};var Ru=Array.isArray,re=Ru;function _u(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var de=_u;var ju=/\s/;function Bu(t){for(var e=t.length;e--&&ju.test(t.charAt(e)););return e}var Sn=Bu;var ku=/^\s+/;function qu(t){return t&&t.slice(0,Sn(t)+1).replace(ku,"")}var xn=qu;var Nu=typeof global=="object"&&global&&global.Object===Object&&global,xi=Nu;var Mu=typeof self=="object"&&self&&self.Object===Object&&self,Wu=xi||Mu||Function("return this")(),be=Wu;var zu=be.Symbol,Te=zu;var wn=Object.prototype,Vu=wn.hasOwnProperty,Uu=wn.toString,ti=Te?Te.toStringTag:void 0;function Gu(t){var e=Vu.call(t,ti),i=t[ti];try{t[ti]=void 0;var a=!0}catch{}var r=Uu.call(t);return a&&(e?t[ti]=i:delete t[ti]),r}var In=Gu;var Hu=Object.prototype,Qu=Hu.toString;function Ku(t){return Qu.call(t)}var Cn=Ku;var Ju="[object Null]",Zu="[object Undefined]",Tn=Te?Te.toStringTag:void 0;function Xu(t){return t==null?t===void 0?Zu:Ju:Tn&&Tn in Object(t)?In(t):Cn(t)}var Ae=Xu;function Yu(t){return t!=null&&typeof t=="object"}var he=Yu;var ef="[object Symbol]";function tf(t){return typeof t=="symbol"||he(t)&&Ae(t)==ef}var et=tf;var Pn=NaN,rf=/^[-+]0x[0-9a-f]+$/i,af=/^0b[01]+$/i,of=/^0o[0-7]+$/i,nf=parseInt;function sf(t){if(typeof t=="number")return t;if(et(t))return Pn;if(de(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=de(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=xn(t);var i=af.test(t);return i||of.test(t)?nf(t.slice(2),i?2:8):rf.test(t)?Pn:+t}var wi=sf;function lf(){this.__data__=[],this.size=0}var An=lf;function pf(t,e){return t===e||t!==t&&e!==e}var Qe=pf;function df(t,e){for(var i=t.length;i--;)if(Qe(t[i][0],e))return i;return-1}var Lt=df;var cf=Array.prototype,uf=cf.splice;function ff(t){var e=this.__data__,i=Lt(e,t);if(i<0)return!1;var a=e.length-1;return i==a?e.pop():uf.call(e,i,1),--this.size,!0}var Fn=ff;function hf(t){var e=this.__data__,i=Lt(e,t);return i<0?void 0:e[i][1]}var En=hf;function mf(t){return Lt(this.__data__,t)>-1}var On=mf;function yf(t,e){var i=this.__data__,a=Lt(i,t);return a<0?(++this.size,i.push([t,e])):i[a][1]=e,this}var Ln=yf;function Pr(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}Pr.prototype.clear=An;Pr.prototype.delete=Fn;Pr.prototype.get=En;Pr.prototype.has=On;Pr.prototype.set=Ln;var $t=Pr;function gf(){this.__data__=new $t,this.size=0}var $n=gf;function bf(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i}var Dn=bf;function vf(t){return this.__data__.get(t)}var Rn=vf;function Sf(t){return this.__data__.has(t)}var _n=Sf;var xf="[object AsyncFunction]",wf="[object Function]",If="[object GeneratorFunction]",Cf="[object Proxy]";function Tf(t){if(!de(t))return!1;var e=Ae(t);return e==wf||e==If||e==xf||e==Cf}var Ar=Tf;var Pf=be["__core-js_shared__"],Ii=Pf;var jn=function(){var t=/[^.]+$/.exec(Ii&&Ii.keys&&Ii.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Af(t){return!!jn&&jn in t}var Bn=Af;var Ff=Function.prototype,Ef=Ff.toString;function Of(t){if(t!=null){try{return Ef.call(t)}catch{}try{return t+""}catch{}}return""}var It=Of;var Lf=/[\\^$.*+?()[\]{}|]/g,$f=/^\[object .+?Constructor\]$/,Df=Function.prototype,Rf=Object.prototype,_f=Df.toString,jf=Rf.hasOwnProperty,Bf=RegExp("^"+_f.call(jf).replace(Lf,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kf(t){if(!de(t)||Bn(t))return!1;var e=Ar(t)?Bf:$f;return e.test(It(t))}var kn=kf;function qf(t,e){return t?.[e]}var qn=qf;function Nf(t,e){var i=qn(t,e);return kn(i)?i:void 0}var Ne=Nf;var Mf=Ne(be,"Map"),Dt=Mf;var Wf=Ne(Object,"create"),Ct=Wf;function zf(){this.__data__=Ct?Ct(null):{},this.size=0}var Nn=zf;function Vf(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Mn=Vf;var Uf="__lodash_hash_undefined__",Gf=Object.prototype,Hf=Gf.hasOwnProperty;function Qf(t){var e=this.__data__;if(Ct){var i=e[t];return i===Uf?void 0:i}return Hf.call(e,t)?e[t]:void 0}var Wn=Qf;var Kf=Object.prototype,Jf=Kf.hasOwnProperty;function Zf(t){var e=this.__data__;return Ct?e[t]!==void 0:Jf.call(e,t)}var zn=Zf;var Xf="__lodash_hash_undefined__";function Yf(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Ct&&e===void 0?Xf:e,this}var Vn=Yf;function Fr(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}Fr.prototype.clear=Nn;Fr.prototype.delete=Mn;Fr.prototype.get=Wn;Fr.prototype.has=zn;Fr.prototype.set=Vn;var Qa=Fr;function eh(){this.size=0,this.__data__={hash:new Qa,map:new(Dt||$t),string:new Qa}}var Un=eh;function th(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Gn=th;function rh(t,e){var i=t.__data__;return Gn(e)?i[typeof e=="string"?"string":"hash"]:i.map}var Rt=rh;function ih(t){var e=Rt(this,t).delete(t);return this.size-=e?1:0,e}var Hn=ih;function ah(t){return Rt(this,t).get(t)}var Qn=ah;function oh(t){return Rt(this,t).has(t)}var Kn=oh;function nh(t,e){var i=Rt(this,t),a=i.size;return i.set(t,e),this.size+=i.size==a?0:1,this}var Jn=nh;function Er(t){var e=-1,i=t==null?0:t.length;for(this.clear();++e<i;){var a=t[e];this.set(a[0],a[1])}}Er.prototype.clear=Un;Er.prototype.delete=Hn;Er.prototype.get=Qn;Er.prototype.has=Kn;Er.prototype.set=Jn;var ir=Er;var sh=200;function lh(t,e){var i=this.__data__;if(i instanceof $t){var a=i.__data__;if(!Dt||a.length<sh-1)return a.push([t,e]),this.size=++i.size,this;i=this.__data__=new ir(a)}return i.set(t,e),this.size=i.size,this}var Zn=lh;function Or(t){var e=this.__data__=new $t(t);this.size=e.size}Or.prototype.clear=$n;Or.prototype.delete=Dn;Or.prototype.get=Rn;Or.prototype.has=_n;Or.prototype.set=Zn;var dt=Or;function ph(t,e){for(var i=-1,a=t==null?0:t.length;++i<a&&e(t[i],i,t)!==!1;);return t}var Xn=ph;var dh=function(){try{var t=Ne(Object,"defineProperty");return t({},"",{}),t}catch{}}(),Lr=dh;function ch(t,e,i){e=="__proto__"&&Lr?Lr(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}var $r=ch;var uh=Object.prototype,fh=uh.hasOwnProperty;function hh(t,e,i){var a=t[e];(!(fh.call(t,e)&&Qe(a,i))||i===void 0&&!(e in t))&&$r(t,e,i)}var Ci=hh;function mh(t,e,i,a){var r=!i;i||(i={});for(var o=-1,s=e.length;++o<s;){var n=e[o],l=a?a(i[n],t[n],n,i,t):void 0;l===void 0&&(l=t[n]),r?$r(i,n,l):Ci(i,n,l)}return i}var Ke=mh;function yh(t,e){for(var i=-1,a=Array(t);++i<t;)a[i]=e(i);return a}var Ti=yh;var gh="[object Arguments]";function bh(t){return he(t)&&Ae(t)==gh}var Ka=bh;var Yn=Object.prototype,vh=Yn.hasOwnProperty,Sh=Yn.propertyIsEnumerable,xh=Ka(function(){return arguments}())?Ka:function(t){return he(t)&&vh.call(t,"callee")&&!Sh.call(t,"callee")},tt=xh;function wh(){return!1}var es=wh;var is=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ts=is&&typeof module=="object"&&module&&!module.nodeType&&module,Ih=ts&&ts.exports===is,rs=Ih?be.Buffer:void 0,Ch=rs?rs.isBuffer:void 0,Th=Ch||es,rt=Th;var Ph=9007199254740991,Ah=/^(?:0|[1-9]\d*)$/;function Fh(t,e){var i=typeof t;return e=e??Ph,!!e&&(i=="number"||i!="symbol"&&Ah.test(t))&&t>-1&&t%1==0&&t<e}var Dr=Fh;var Eh=9007199254740991;function Oh(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Eh}var Rr=Oh;var Lh="[object Arguments]",$h="[object Array]",Dh="[object Boolean]",Rh="[object Date]",_h="[object Error]",jh="[object Function]",Bh="[object Map]",kh="[object Number]",qh="[object Object]",Nh="[object RegExp]",Mh="[object Set]",Wh="[object String]",zh="[object WeakMap]",Vh="[object ArrayBuffer]",Uh="[object DataView]",Gh="[object Float32Array]",Hh="[object Float64Array]",Qh="[object Int8Array]",Kh="[object Int16Array]",Jh="[object Int32Array]",Zh="[object Uint8Array]",Xh="[object Uint8ClampedArray]",Yh="[object Uint16Array]",em="[object Uint32Array]",se={};se[Gh]=se[Hh]=se[Qh]=se[Kh]=se[Jh]=se[Zh]=se[Xh]=se[Yh]=se[em]=!0;se[Lh]=se[$h]=se[Vh]=se[Dh]=se[Uh]=se[Rh]=se[_h]=se[jh]=se[Bh]=se[kh]=se[qh]=se[Nh]=se[Mh]=se[Wh]=se[zh]=!1;function tm(t){return he(t)&&Rr(t.length)&&!!se[Ae(t)]}var as=tm;function rm(t){return function(e){return t(e)}}var _t=rm;var os=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ri=os&&typeof module=="object"&&module&&!module.nodeType&&module,im=ri&&ri.exports===os,Ja=im&&xi.process,am=function(){try{var t=ri&&ri.require&&ri.require("util").types;return t||Ja&&Ja.binding&&Ja.binding("util")}catch{}}(),Tt=am;var ns=Tt&&Tt.isTypedArray,om=ns?_t(ns):as,jt=om;var nm=Object.prototype,sm=nm.hasOwnProperty;function lm(t,e){var i=re(t),a=!i&&tt(t),r=!i&&!a&&rt(t),o=!i&&!a&&!r&&jt(t),s=i||a||r||o,n=s?Ti(t.length,String):[],l=n.length;for(var u in t)(e||sm.call(t,u))&&!(s&&(u=="length"||r&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Dr(u,l)))&&n.push(u);return n}var Pi=lm;var pm=Object.prototype;function dm(t){var e=t&&t.constructor,i=typeof e=="function"&&e.prototype||pm;return t===i}var Bt=dm;function cm(t,e){return function(i){return t(e(i))}}var Ai=cm;var um=Ai(Object.keys,Object),ss=um;var fm=Object.prototype,hm=fm.hasOwnProperty;function mm(t){if(!Bt(t))return ss(t);var e=[];for(var i in Object(t))hm.call(t,i)&&i!="constructor"&&e.push(i);return e}var Fi=mm;function ym(t){return t!=null&&Rr(t.length)&&!Ar(t)}var Me=ym;function gm(t){return Me(t)?Pi(t):Fi(t)}var Je=gm;function bm(t,e){return t&&Ke(e,Je(e),t)}var ls=bm;function vm(t){var e=[];if(t!=null)for(var i in Object(t))e.push(i);return e}var ps=vm;var Sm=Object.prototype,xm=Sm.hasOwnProperty;function wm(t){if(!de(t))return ps(t);var e=Bt(t),i=[];for(var a in t)a=="constructor"&&(e||!xm.call(t,a))||i.push(a);return i}var ds=wm;function Im(t){return Me(t)?Pi(t,!0):ds(t)}var Ze=Im;function Cm(t,e){return t&&Ke(e,Ze(e),t)}var cs=Cm;var ms=typeof exports=="object"&&exports&&!exports.nodeType&&exports,us=ms&&typeof module=="object"&&module&&!module.nodeType&&module,Tm=us&&us.exports===ms,fs=Tm?be.Buffer:void 0,hs=fs?fs.allocUnsafe:void 0;function Pm(t,e){if(e)return t.slice();var i=t.length,a=hs?hs(i):new t.constructor(i);return t.copy(a),a}var Ei=Pm;function Am(t,e){var i=-1,a=t.length;for(e||(e=Array(a));++i<a;)e[i]=t[i];return e}var Oi=Am;function Fm(t,e){for(var i=-1,a=t==null?0:t.length,r=0,o=[];++i<a;){var s=t[i];e(s,i,t)&&(o[r++]=s)}return o}var Li=Fm;function Em(){return[]}var $i=Em;var Om=Object.prototype,Lm=Om.propertyIsEnumerable,ys=Object.getOwnPropertySymbols,$m=ys?function(t){return t==null?[]:(t=Object(t),Li(ys(t),function(e){return Lm.call(t,e)}))}:$i,_r=$m;function Dm(t,e){return Ke(t,_r(t),e)}var gs=Dm;function Rm(t,e){for(var i=-1,a=e.length,r=t.length;++i<a;)t[r+i]=e[i];return t}var jr=Rm;var _m=Ai(Object.getPrototypeOf,Object),Br=_m;var jm=Object.getOwnPropertySymbols,Bm=jm?function(t){for(var e=[];t;)jr(e,_r(t)),t=Br(t);return e}:$i,Di=Bm;function km(t,e){return Ke(t,Di(t),e)}var bs=km;function qm(t,e,i){var a=e(t);return re(t)?a:jr(a,i(t))}var Ri=qm;function Nm(t){return Ri(t,Je,_r)}var ii=Nm;function Mm(t){return Ri(t,Ze,Di)}var vs=Mm;var Wm=Ne(be,"DataView"),_i=Wm;var zm=Ne(be,"Promise"),ji=zm;var Vm=Ne(be,"Set"),Bi=Vm;var Um=Ne(be,"WeakMap"),ki=Um;var Ss="[object Map]",Gm="[object Object]",xs="[object Promise]",ws="[object Set]",Is="[object WeakMap]",Cs="[object DataView]",Hm=It(_i),Qm=It(Dt),Km=It(ji),Jm=It(Bi),Zm=It(ki),ar=Ae;(_i&&ar(new _i(new ArrayBuffer(1)))!=Cs||Dt&&ar(new Dt)!=Ss||ji&&ar(ji.resolve())!=xs||Bi&&ar(new Bi)!=ws||ki&&ar(new ki)!=Is)&&(ar=function(t){var e=Ae(t),i=e==Gm?t.constructor:void 0,a=i?It(i):"";if(a)switch(a){case Hm:return Cs;case Qm:return Ss;case Km:return xs;case Jm:return ws;case Zm:return Is}return e});var it=ar;var Xm=Object.prototype,Ym=Xm.hasOwnProperty;function ey(t){var e=t.length,i=new t.constructor(e);return e&&typeof t[0]=="string"&&Ym.call(t,"index")&&(i.index=t.index,i.input=t.input),i}var Ts=ey;var ty=be.Uint8Array,kr=ty;function ry(t){var e=new t.constructor(t.byteLength);return new kr(e).set(new kr(t)),e}var qr=ry;function iy(t,e){var i=e?qr(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}var Ps=iy;var ay=/\w*$/;function oy(t){var e=new t.constructor(t.source,ay.exec(t));return e.lastIndex=t.lastIndex,e}var As=oy;var Fs=Te?Te.prototype:void 0,Es=Fs?Fs.valueOf:void 0;function ny(t){return Es?Object(Es.call(t)):{}}var Os=ny;function sy(t,e){var i=e?qr(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}var qi=sy;var ly="[object Boolean]",py="[object Date]",dy="[object Map]",cy="[object Number]",uy="[object RegExp]",fy="[object Set]",hy="[object String]",my="[object Symbol]",yy="[object ArrayBuffer]",gy="[object DataView]",by="[object Float32Array]",vy="[object Float64Array]",Sy="[object Int8Array]",xy="[object Int16Array]",wy="[object Int32Array]",Iy="[object Uint8Array]",Cy="[object Uint8ClampedArray]",Ty="[object Uint16Array]",Py="[object Uint32Array]";function Ay(t,e,i){var a=t.constructor;switch(e){case yy:return qr(t);case ly:case py:return new a(+t);case gy:return Ps(t,i);case by:case vy:case Sy:case xy:case wy:case Iy:case Cy:case Ty:case Py:return qi(t,i);case dy:return new a;case cy:case hy:return new a(t);case uy:return As(t);case fy:return new a;case my:return Os(t)}}var Ls=Ay;var $s=Object.create,Fy=function(){function t(){}return function(e){if(!de(e))return{};if($s)return $s(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}(),Ds=Fy;function Ey(t){return typeof t.constructor=="function"&&!Bt(t)?Ds(Br(t)):{}}var Ni=Ey;var Oy="[object Map]";function Ly(t){return he(t)&&it(t)==Oy}var Rs=Ly;var _s=Tt&&Tt.isMap,$y=_s?_t(_s):Rs,js=$y;var Dy="[object Set]";function Ry(t){return he(t)&&it(t)==Dy}var Bs=Ry;var ks=Tt&&Tt.isSet,_y=ks?_t(ks):Bs,qs=_y;var jy=1,By=2,ky=4,Ns="[object Arguments]",qy="[object Array]",Ny="[object Boolean]",My="[object Date]",Wy="[object Error]",Ms="[object Function]",zy="[object GeneratorFunction]",Vy="[object Map]",Uy="[object Number]",Ws="[object Object]",Gy="[object RegExp]",Hy="[object Set]",Qy="[object String]",Ky="[object Symbol]",Jy="[object WeakMap]",Zy="[object ArrayBuffer]",Xy="[object DataView]",Yy="[object Float32Array]",eg="[object Float64Array]",tg="[object Int8Array]",rg="[object Int16Array]",ig="[object Int32Array]",ag="[object Uint8Array]",og="[object Uint8ClampedArray]",ng="[object Uint16Array]",sg="[object Uint32Array]",ne={};ne[Ns]=ne[qy]=ne[Zy]=ne[Xy]=ne[Ny]=ne[My]=ne[Yy]=ne[eg]=ne[tg]=ne[rg]=ne[ig]=ne[Vy]=ne[Uy]=ne[Ws]=ne[Gy]=ne[Hy]=ne[Qy]=ne[Ky]=ne[ag]=ne[og]=ne[ng]=ne[sg]=!0;ne[Wy]=ne[Ms]=ne[Jy]=!1;function Mi(t,e,i,a,r,o){var s,n=e&jy,l=e&By,u=e&ky;if(i&&(s=r?i(t,a,r,o):i(t)),s!==void 0)return s;if(!de(t))return t;var c=re(t);if(c){if(s=Ts(t),!n)return Oi(t,s)}else{var d=it(t),f=d==Ms||d==zy;if(rt(t))return Ei(t,n);if(d==Ws||d==Ns||f&&!r){if(s=l||f?{}:Ni(t),!n)return l?bs(t,cs(s,t)):gs(t,ls(s,t))}else{if(!ne[d])return r?t:{};s=Ls(t,d,n)}}o||(o=new dt);var p=o.get(t);if(p)return p;o.set(t,s),qs(t)?t.forEach(function(m){s.add(Mi(m,e,i,m,t,o))}):js(t)&&t.forEach(function(m,S){s.set(S,Mi(m,e,i,S,t,o))});var y=u?l?vs:ii:l?Ze:Je,g=c?void 0:y(t);return Xn(g||t,function(m,S){g&&(S=m,m=t[S]),Ci(s,S,Mi(m,e,i,S,t,o))}),s}var zs=Mi;var lg=1,pg=4;function dg(t){return zs(t,lg|pg)}var cg=dg;var ug=function(){return be.Date.now()},Wi=ug;var fg="Expected a function",hg=Math.max,mg=Math.min;function yg(t,e,i){var a,r,o,s,n,l,u=0,c=!1,d=!1,f=!0;if(typeof t!="function")throw new TypeError(fg);e=wi(e)||0,de(i)&&(c=!!i.leading,d="maxWait"in i,o=d?hg(wi(i.maxWait)||0,e):o,f="trailing"in i?!!i.trailing:f);function p(A){var _=a,R=r;return a=r=void 0,u=A,s=t.apply(R,_),s}function y(A){return u=A,n=setTimeout(S,e),c?p(A):s}function g(A){var _=A-l,R=A-u,E=e-_;return d?mg(E,o-R):E}function m(A){var _=A-l,R=A-u;return l===void 0||_>=e||_<0||d&&R>=o}function S(){var A=Wi();if(m(A))return T(A);n=setTimeout(S,g(A))}function T(A){return n=void 0,f&&a?p(A):(a=r=void 0,s)}function x(){n!==void 0&&clearTimeout(n),u=0,a=l=r=n=void 0}function P(){return n===void 0?s:T(Wi())}function F(){var A=Wi(),_=m(A);if(a=arguments,r=this,l=A,_){if(n===void 0)return y(l);if(d)return clearTimeout(n),n=setTimeout(S,e),p(l)}return n===void 0&&(n=setTimeout(S,e)),s}return F.cancel=x,F.flush=P,F}var gg=yg;function bg(t,e,i){(i!==void 0&&!Qe(t[e],i)||i===void 0&&!(e in t))&&$r(t,e,i)}var ai=bg;function vg(t){return function(e,i,a){for(var r=-1,o=Object(e),s=a(e),n=s.length;n--;){var l=s[t?n:++r];if(i(o[l],l,o)===!1)break}return e}}var Vs=vg;var Sg=Vs(),zi=Sg;function xg(t){return he(t)&&Me(t)}var Vi=xg;var wg="[object Object]",Ig=Function.prototype,Cg=Object.prototype,Us=Ig.toString,Tg=Cg.hasOwnProperty,Pg=Us.call(Object);function Ag(t){if(!he(t)||Ae(t)!=wg)return!1;var e=Br(t);if(e===null)return!0;var i=Tg.call(e,"constructor")&&e.constructor;return typeof i=="function"&&i instanceof i&&Us.call(i)==Pg}var Ui=Ag;function Fg(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var oi=Fg;function Eg(t){return Ke(t,Ze(t))}var Gs=Eg;function Og(t,e,i,a,r,o,s){var n=oi(t,i),l=oi(e,i),u=s.get(l);if(u){ai(t,i,u);return}var c=o?o(n,l,i+"",t,e,s):void 0,d=c===void 0;if(d){var f=re(l),p=!f&&rt(l),y=!f&&!p&&jt(l);c=l,f||p||y?re(n)?c=n:Vi(n)?c=Oi(n):p?(d=!1,c=Ei(l,!0)):y?(d=!1,c=qi(l,!0)):c=[]:Ui(l)||tt(l)?(c=n,tt(n)?c=Gs(n):(!de(n)||Ar(n))&&(c=Ni(l))):d=!1}d&&(s.set(l,c),r(c,l,a,o,s),s.delete(l)),ai(t,i,c)}var Hs=Og;function Qs(t,e,i,a,r){t!==e&&zi(e,function(o,s){if(r||(r=new dt),de(o))Hs(t,e,s,i,Qs,a,r);else{var n=a?a(oi(t,s),o,s+"",t,e,r):void 0;n===void 0&&(n=o),ai(t,s,n)}},Ze)}var Gi=Qs;function Lg(t){return t}var kt=Lg;function $g(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}var Hi=$g;var Ks=Math.max;function Dg(t,e,i){return e=Ks(e===void 0?t.length-1:e,0),function(){for(var a=arguments,r=-1,o=Ks(a.length-e,0),s=Array(o);++r<o;)s[r]=a[e+r];r=-1;for(var n=Array(e+1);++r<e;)n[r]=a[r];return n[e]=i(s),Hi(t,this,n)}}var Js=Dg;function Rg(t){return function(){return t}}var Zs=Rg;var _g=Lr?function(t,e){return Lr(t,"toString",{configurable:!0,enumerable:!1,value:Zs(e),writable:!0})}:kt,Xs=_g;var jg=800,Bg=16,kg=Date.now;function qg(t){var e=0,i=0;return function(){var a=kg(),r=Bg-(a-i);if(i=a,r>0){if(++e>=jg)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Ys=qg;var Ng=Ys(Xs),el=Ng;function Mg(t,e){return el(Js(t,e,kt),t+"")}var qt=Mg;function Wg(t,e,i){if(!de(i))return!1;var a=typeof e;return(a=="number"?Me(i)&&Dr(e,i.length):a=="string"&&e in i)?Qe(i[e],t):!1}var or=Wg;function zg(t){return qt(function(e,i){var a=-1,r=i.length,o=r>1?i[r-1]:void 0,s=r>2?i[2]:void 0;for(o=t.length>3&&typeof o=="function"?(r--,o):void 0,s&&or(i[0],i[1],s)&&(o=r<3?void 0:o,r=1),e=Object(e);++a<r;){var n=i[a];n&&t(e,n,a,o)}return e})}var Nr=zg;var Vg=Nr(function(t,e,i,a){Gi(t,e,i,a)}),Ug=Vg;var Gg="[object Map]",Hg="[object Set]",Qg=Object.prototype,Kg=Qg.hasOwnProperty;function Jg(t){if(t==null)return!0;if(Me(t)&&(re(t)||typeof t=="string"||typeof t.splice=="function"||rt(t)||jt(t)||tt(t)))return!t.length;var e=it(t);if(e==Gg||e==Hg)return!t.size;if(Bt(t))return!Fi(t).length;for(var i in t)if(Kg.call(t,i))return!1;return!0}var Zg=Jg;var Xg="__lodash_hash_undefined__";function Yg(t){return this.__data__.set(t,Xg),this}var tl=Yg;function eb(t){return this.__data__.has(t)}var rl=eb;function Qi(t){var e=-1,i=t==null?0:t.length;for(this.__data__=new ir;++e<i;)this.add(t[e])}Qi.prototype.add=Qi.prototype.push=tl;Qi.prototype.has=rl;var il=Qi;function tb(t,e){for(var i=-1,a=t==null?0:t.length;++i<a;)if(e(t[i],i,t))return!0;return!1}var al=tb;function rb(t,e){return t.has(e)}var ol=rb;var ib=1,ab=2;function ob(t,e,i,a,r,o){var s=i&ib,n=t.length,l=e.length;if(n!=l&&!(s&&l>n))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var d=-1,f=!0,p=i&ab?new il:void 0;for(o.set(t,e),o.set(e,t);++d<n;){var y=t[d],g=e[d];if(a)var m=s?a(g,y,d,e,t,o):a(y,g,d,t,e,o);if(m!==void 0){if(m)continue;f=!1;break}if(p){if(!al(e,function(S,T){if(!ol(p,T)&&(y===S||r(y,S,i,a,o)))return p.push(T)})){f=!1;break}}else if(!(y===g||r(y,g,i,a,o))){f=!1;break}}return o.delete(t),o.delete(e),f}var Ki=ob;function nb(t){var e=-1,i=Array(t.size);return t.forEach(function(a,r){i[++e]=[r,a]}),i}var nl=nb;function sb(t){var e=-1,i=Array(t.size);return t.forEach(function(a){i[++e]=a}),i}var sl=sb;var lb=1,pb=2,db="[object Boolean]",cb="[object Date]",ub="[object Error]",fb="[object Map]",hb="[object Number]",mb="[object RegExp]",yb="[object Set]",gb="[object String]",bb="[object Symbol]",vb="[object ArrayBuffer]",Sb="[object DataView]",ll=Te?Te.prototype:void 0,Za=ll?ll.valueOf:void 0;function xb(t,e,i,a,r,o,s){switch(i){case Sb:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case vb:return!(t.byteLength!=e.byteLength||!o(new kr(t),new kr(e)));case db:case cb:case hb:return Qe(+t,+e);case ub:return t.name==e.name&&t.message==e.message;case mb:case gb:return t==e+"";case fb:var n=nl;case yb:var l=a&lb;if(n||(n=sl),t.size!=e.size&&!l)return!1;var u=s.get(t);if(u)return u==e;a|=pb,s.set(t,e);var c=Ki(n(t),n(e),a,r,o,s);return s.delete(t),c;case bb:if(Za)return Za.call(t)==Za.call(e)}return!1}var pl=xb;var wb=1,Ib=Object.prototype,Cb=Ib.hasOwnProperty;function Tb(t,e,i,a,r,o){var s=i&wb,n=ii(t),l=n.length,u=ii(e),c=u.length;if(l!=c&&!s)return!1;for(var d=l;d--;){var f=n[d];if(!(s?f in e:Cb.call(e,f)))return!1}var p=o.get(t),y=o.get(e);if(p&&y)return p==e&&y==t;var g=!0;o.set(t,e),o.set(e,t);for(var m=s;++d<l;){f=n[d];var S=t[f],T=e[f];if(a)var x=s?a(T,S,f,e,t,o):a(S,T,f,t,e,o);if(!(x===void 0?S===T||r(S,T,i,a,o):x)){g=!1;break}m||(m=f=="constructor")}if(g&&!m){var P=t.constructor,F=e.constructor;P!=F&&"constructor"in t&&"constructor"in e&&!(typeof P=="function"&&P instanceof P&&typeof F=="function"&&F instanceof F)&&(g=!1)}return o.delete(t),o.delete(e),g}var dl=Tb;var Pb=1,cl="[object Arguments]",ul="[object Array]",Ji="[object Object]",Ab=Object.prototype,fl=Ab.hasOwnProperty;function Fb(t,e,i,a,r,o){var s=re(t),n=re(e),l=s?ul:it(t),u=n?ul:it(e);l=l==cl?Ji:l,u=u==cl?Ji:u;var c=l==Ji,d=u==Ji,f=l==u;if(f&&rt(t)){if(!rt(e))return!1;s=!0,c=!1}if(f&&!c)return o||(o=new dt),s||jt(t)?Ki(t,e,i,a,r,o):pl(t,e,l,i,a,r,o);if(!(i&Pb)){var p=c&&fl.call(t,"__wrapped__"),y=d&&fl.call(e,"__wrapped__");if(p||y){var g=p?t.value():t,m=y?e.value():e;return o||(o=new dt),r(g,m,i,a,o)}}return f?(o||(o=new dt),dl(t,e,i,a,r,o)):!1}var hl=Fb;function ml(t,e,i,a,r){return t===e?!0:t==null||e==null||!he(t)&&!he(e)?t!==t&&e!==e:hl(t,e,i,a,ml,r)}var Mr=ml;function Eb(t,e){return Mr(t,e)}var yl=Eb;function Ob(t){return t==null}var Xa=Ob;var Lb=Nr(function(t,e,i){Gi(t,e,i)}),$b=Lb;var gl=Te?Te.isConcatSpreadable:void 0;function Db(t){return re(t)||tt(t)||!!(gl&&t&&t[gl])}var bl=Db;function vl(t,e,i,a,r){var o=-1,s=t.length;for(i||(i=bl),r||(r=[]);++o<s;){var n=t[o];e>0&&i(n)?e>1?vl(n,e-1,i,a,r):jr(r,n):a||(r[r.length]=n)}return r}var Sl=vl;function Rb(t,e){for(var i=-1,a=t==null?0:t.length,r=Array(a);++i<a;)r[i]=e(t[i],i,t);return r}var ct=Rb;var _b=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jb=/^\w*$/;function Bb(t,e){if(re(t))return!1;var i=typeof t;return i=="number"||i=="symbol"||i=="boolean"||t==null||et(t)?!0:jb.test(t)||!_b.test(t)||e!=null&&t in Object(e)}var Wr=Bb;var kb="Expected a function";function Ya(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(kb);var i=function(){var a=arguments,r=e?e.apply(this,a):a[0],o=i.cache;if(o.has(r))return o.get(r);var s=t.apply(this,a);return i.cache=o.set(r,s)||o,s};return i.cache=new(Ya.Cache||ir),i}Ya.Cache=ir;var eo=Ya;var qb=500;function Nb(t){var e=eo(t,function(a){return i.size===qb&&i.clear(),a}),i=e.cache;return e}var xl=Nb;var Mb=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wb=/\\(\\)?/g,zb=xl(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Mb,function(i,a,r,o){e.push(r?o.replace(Wb,"$1"):a||i)}),e}),wl=zb;var Vb=1/0,Il=Te?Te.prototype:void 0,Cl=Il?Il.toString:void 0;function Tl(t){if(typeof t=="string")return t;if(re(t))return ct(t,Tl)+"";if(et(t))return Cl?Cl.call(t):"";var e=t+"";return e=="0"&&1/t==-Vb?"-0":e}var Pl=Tl;function Ub(t){return t==null?"":Pl(t)}var ut=Ub;function Gb(t,e){return re(t)?t:Wr(t,e)?[t]:wl(ut(t))}var Zi=Gb;var Hb=1/0;function Qb(t){if(typeof t=="string"||et(t))return t;var e=t+"";return e=="0"&&1/t==-Hb?"-0":e}var Nt=Qb;function Kb(t,e){e=Zi(e,t);for(var i=0,a=e.length;t!=null&&i<a;)t=t[Nt(e[i++])];return i&&i==a?t:void 0}var zr=Kb;var Jb=1,Zb=2;function Xb(t,e,i,a){var r=i.length,o=r,s=!a;if(t==null)return!o;for(t=Object(t);r--;){var n=i[r];if(s&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}for(;++r<o;){n=i[r];var l=n[0],u=t[l],c=n[1];if(s&&n[2]){if(u===void 0&&!(l in t))return!1}else{var d=new dt;if(a)var f=a(u,c,l,t,e,d);if(!(f===void 0?Mr(c,u,Jb|Zb,a,d):f))return!1}}return!0}var Al=Xb;function Yb(t){return t===t&&!de(t)}var Xi=Yb;function ev(t){for(var e=Je(t),i=e.length;i--;){var a=e[i],r=t[a];e[i]=[a,r,Xi(r)]}return e}var Fl=ev;function tv(t,e){return function(i){return i==null?!1:i[t]===e&&(e!==void 0||t in Object(i))}}var Yi=tv;function rv(t){var e=Fl(t);return e.length==1&&e[0][2]?Yi(e[0][0],e[0][1]):function(i){return i===t||Al(i,t,e)}}var El=rv;function iv(t,e,i){var a=t==null?void 0:zr(t,e);return a===void 0?i:a}var Ol=iv;function av(t,e){return t!=null&&e in Object(t)}var Ll=av;function ov(t,e,i){e=Zi(e,t);for(var a=-1,r=e.length,o=!1;++a<r;){var s=Nt(e[a]);if(!(o=t!=null&&i(t,s)))break;t=t[s]}return o||++a!=r?o:(r=t==null?0:t.length,!!r&&Rr(r)&&Dr(s,r)&&(re(t)||tt(t)))}var $l=ov;function nv(t,e){return t!=null&&$l(t,e,Ll)}var Dl=nv;var sv=1,lv=2;function pv(t,e){return Wr(t)&&Xi(e)?Yi(Nt(t),e):function(i){var a=Ol(i,t);return a===void 0&&a===e?Dl(i,t):Mr(e,a,sv|lv)}}var Rl=pv;function dv(t){return function(e){return e?.[t]}}var ea=dv;function cv(t){return function(e){return zr(e,t)}}var _l=cv;function uv(t){return Wr(t)?ea(Nt(t)):_l(t)}var jl=uv;function fv(t){return typeof t=="function"?t:t==null?kt:typeof t=="object"?re(t)?Rl(t[0],t[1]):El(t):jl(t)}var Bl=fv;function hv(t,e){return t&&zi(t,e,Je)}var kl=hv;function mv(t,e){return function(i,a){if(i==null)return i;if(!Me(i))return t(i,a);for(var r=i.length,o=e?r:-1,s=Object(i);(e?o--:++o<r)&&a(s[o],o,s)!==!1;);return i}}var ql=mv;var yv=ql(kl),Nl=yv;function gv(t,e){var i=-1,a=Me(t)?Array(t.length):[];return Nl(t,function(r,o,s){a[++i]=e(r,o,s)}),a}var Ml=gv;function bv(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t}var Wl=bv;function vv(t,e){if(t!==e){var i=t!==void 0,a=t===null,r=t===t,o=et(t),s=e!==void 0,n=e===null,l=e===e,u=et(e);if(!n&&!u&&!o&&t>e||o&&s&&l&&!n&&!u||a&&s&&l||!i&&l||!r)return 1;if(!a&&!o&&!u&&t<e||u&&i&&r&&!a&&!o||n&&i&&r||!s&&r||!l)return-1}return 0}var zl=vv;function Sv(t,e,i){for(var a=-1,r=t.criteria,o=e.criteria,s=r.length,n=i.length;++a<s;){var l=zl(r[a],o[a]);if(l){if(a>=n)return l;var u=i[a];return l*(u=="desc"?-1:1)}}return t.index-e.index}var Vl=Sv;function xv(t,e,i){e.length?e=ct(e,function(o){return re(o)?function(s){return zr(s,o.length===1?o[0]:o)}:o}):e=[kt];var a=-1;e=ct(e,_t(Bl));var r=Ml(t,function(o,s,n){var l=ct(e,function(u){return u(o)});return{criteria:l,index:++a,value:o}});return Wl(r,function(o,s){return Vl(o,s,i)})}var Ul=xv;var wv=qt(function(t,e){if(t==null)return[];var i=e.length;return i>1&&or(t,e[0],e[1])?e=[]:i>2&&or(e[0],e[1],e[2])&&(e=[e[0]]),Ul(t,Sl(e,1),[])}),Iv=wv;var Cv=Nr(function(t,e,i,a){Ke(e,Ze(e),t,a)}),to=Cv;var Tv="[object DOMException]",Pv="[object Error]";function Av(t){if(!he(t))return!1;var e=Ae(t);return e==Pv||e==Tv||typeof t.message=="string"&&typeof t.name=="string"&&!Ui(t)}var ta=Av;var Fv=qt(function(t,e){try{return Hi(t,void 0,e)}catch(i){return ta(i)?i:new Error(i)}}),Gl=Fv;function Ev(t,e,i){var a=-1,r=t.length;e<0&&(e=-e>r?0:r+e),i=i>r?r:i,i<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var o=Array(r);++a<r;)o[a]=t[a+e];return o}var Hl=Ev;function Ov(t,e,i){var a=t.length;return i=i===void 0?a:i,!e&&i>=a?t:Hl(t,e,i)}var Ql=Ov;var Lv="\\ud800-\\udfff",$v="\\u0300-\\u036f",Dv="\\ufe20-\\ufe2f",Rv="\\u20d0-\\u20ff",_v=$v+Dv+Rv,jv="\\ufe0e\\ufe0f",Bv="\\u200d",kv=RegExp("["+Bv+Lv+_v+jv+"]");function qv(t){return kv.test(t)}var ra=qv;function Nv(t){return t.split("")}var Kl=Nv;var Jl="\\ud800-\\udfff",Mv="\\u0300-\\u036f",Wv="\\ufe20-\\ufe2f",zv="\\u20d0-\\u20ff",Vv=Mv+Wv+zv,Uv="\\ufe0e\\ufe0f",Gv="["+Jl+"]",ro="["+Vv+"]",io="\\ud83c[\\udffb-\\udfff]",Hv="(?:"+ro+"|"+io+")",Zl="[^"+Jl+"]",Xl="(?:\\ud83c[\\udde6-\\uddff]){2}",Yl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qv="\\u200d",ep=Hv+"?",tp="["+Uv+"]?",Kv="(?:"+Qv+"(?:"+[Zl,Xl,Yl].join("|")+")"+tp+ep+")*",Jv=tp+ep+Kv,Zv="(?:"+[Zl+ro+"?",ro,Xl,Yl,Gv].join("|")+")",Xv=RegExp(io+"(?="+io+")|"+Zv+Jv,"g");function Yv(t){return t.match(Xv)||[]}var rp=Yv;function eS(t){return ra(t)?rp(t):Kl(t)}var ip=eS;function tS(t){return function(e){e=ut(e);var i=ra(e)?ip(e):void 0,a=i?i[0]:e.charAt(0),r=i?Ql(i,1).join(""):e.slice(1);return a[t]()+r}}var ap=tS;var rS=ap("toUpperCase"),op=rS;function iS(t){return op(ut(t).toLowerCase())}var aS=iS;function oS(t){return function(e){return t?.[e]}}var np=oS;var nS={"&":"&","<":"<",">":">",'"':""","'":"'"},sS=np(nS),sp=sS;var lp=/[&<>"']/g,lS=RegExp(lp.source);function pS(t){return t=ut(t),t&&lS.test(t)?t.replace(lp,sp):t}var pp=pS;function dS(t,e){return ct(e,function(i){return t[i]})}var dp=dS;var cS="[object Number]";function uS(t){return typeof t=="number"||he(t)&&Ae(t)==cS}var fS=uS;function hS(t){return t===null}var mS=hS;var cp=Object.prototype,yS=cp.hasOwnProperty;function gS(t,e,i,a){return t===void 0||Qe(t,cp[i])&&!yS.call(a,i)?e:t}var ao=gS;var bS={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function vS(t){return"\\"+bS[t]}var up=vS;var SS=/<%=([\s\S]+?)%>/g,ia=SS;var xS=/<%-([\s\S]+?)%>/g,fp=xS;var wS=/<%([\s\S]+?)%>/g,hp=wS;var IS={escape:fp,evaluate:hp,interpolate:ia,variable:"",imports:{_:{escape:pp}}},oo=IS;var CS="Invalid `variable` option passed into `_.template`",TS=/\b__p \+= '';/g,PS=/\b(__p \+=) '' \+/g,AS=/(__e\(.*?\)|\b__t\)) \+\n'';/g,FS=/[()=,{}\[\]\/\s]/,ES=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,aa=/($^)/,OS=/['\n\r\u2028\u2029\\]/g,LS=Object.prototype,mp=LS.hasOwnProperty;function $S(t,e,i){var a=oo.imports._.templateSettings||oo;i&&or(t,e,i)&&(e=void 0),t=ut(t),e=to({},e,a,ao);var r=to({},e.imports,a.imports,ao),o=Je(r),s=dp(r,o),n,l,u=0,c=e.interpolate||aa,d="__p += '",f=RegExp((e.escape||aa).source+"|"+c.source+"|"+(c===ia?ES:aa).source+"|"+(e.evaluate||aa).source+"|$","g"),p=mp.call(e,"sourceURL")?"//# sourceURL="+(e.sourceURL+"").replace(/\s/g," ")+`
|
|
5
|
+
`:"";t.replace(f,function(m,S,T,x,P,F){return T||(T=x),d+=t.slice(u,F).replace(OS,up),S&&(n=!0,d+=`' +
|
|
6
|
+
__e(`+S+`) +
|
|
7
|
+
'`),P&&(l=!0,d+=`';
|
|
8
|
+
`+P+`;
|
|
9
|
+
__p += '`),T&&(d+=`' +
|
|
10
|
+
((__t = (`+T+`)) == null ? '' : __t) +
|
|
11
|
+
'`),u=F+m.length,m}),d+=`';
|
|
12
|
+
`;var y=mp.call(e,"variable")&&e.variable;if(!y)d=`with (obj) {
|
|
13
|
+
`+d+`
|
|
14
14
|
}
|
|
15
|
-
`;else if(
|
|
16
|
-
`+(
|
|
17
|
-
`)+"var __t, __p = ''"+(
|
|
15
|
+
`;else if(FS.test(y))throw new Error(CS);d=(l?d.replace(TS,""):d).replace(PS,"$1").replace(AS,"$1;"),d="function("+(y||"obj")+`) {
|
|
16
|
+
`+(y?"":`obj || (obj = {});
|
|
17
|
+
`)+"var __t, __p = ''"+(n?", __e = _.escape":"")+(l?`, __j = Array.prototype.join;
|
|
18
18
|
function print() { __p += __j.call(arguments, '') }
|
|
19
19
|
`:`;
|
|
20
|
-
`)+
|
|
21
|
-
}`;var y=Ys(function(){return Function(o,f+"return "+u).apply(void 0,n)});if(y.source=u,Ri(y))throw y;return y}var xa=nv;var sv=Math.max;function lv(e){if(!(e&&e.length))return[];var r=0;return e=ci(e,function(i){if(Ci(i))return r=sv(i.length,r),!0}),oi(r,function(i){return dt(e,ji(i))})}var Il=lv;var pv=Rt(Il),dv=pv;function Nr(e,r){let i,t;if(r===void 0)for(let a of e)a!=null&&(i===void 0?a>=a&&(i=t=a):(i>a&&(i=a),t<a&&(t=a)));else{let a=-1;for(let o of e)(o=r(o,++a,e))!=null&&(i===void 0?o>=o&&(i=t=o):(i>o&&(i=o),t<o&&(t=o)))}return[i,t]}var qi=class extends Map{constructor(r,i=fv){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),r!=null)for(let[t,a]of r)this.set(t,a)}get(r){return super.get(Cl(this,r))}has(r){return super.has(Cl(this,r))}set(r,i){return super.set(cv(this,r),i)}delete(r){return super.delete(uv(this,r))}};function Cl({_intern:e,_key:r},i){let t=r(i);return e.has(t)?e.get(t):i}function cv({_intern:e,_key:r},i){let t=r(i);return e.has(t)?e.get(t):(e.set(t,i),i)}function uv({_intern:e,_key:r},i){let t=r(i);return e.has(t)&&(i=e.get(t),e.delete(t)),i}function fv(e){return e!==null&&typeof e=="object"?e.valueOf():e}function Ia(e){return e}function hv(e,r,...i){return mv(e,Ia,r,i)}function mv(e,r,i,t){return function a(o,n){if(n>=t.length)return i(o);let s=new qi,l=t[n++],c=-1;for(let d of o){let u=l(d,++c,o),p=s.get(u);p?p.push(d):s.set(u,[d])}for(let[d,u]of s)s.set(d,a(u,n));return r(s)}(e,0)}function Tl(e,r){let i;if(r===void 0)for(let t of e)t!=null&&(i<t||i===void 0&&t>=t)&&(i=t);else{let t=-1;for(let a of e)(a=r(a,++t,e))!=null&&(i<a||i===void 0&&a>=a)&&(i=a)}return i}function Al(e,r){let i;if(r===void 0)for(let t of e)t!=null&&(i>t||i===void 0&&t>=t)&&(i=t);else{let t=-1;for(let a of e)(a=r(a,++t,e))!=null&&(i>a||i===void 0&&a>=a)&&(i=a)}return i}function Pl(e,r){let i=0,t=0;if(r===void 0)for(let a of e)a!=null&&(a=+a)>=a&&(++i,t+=a);else{let a=-1;for(let o of e)(o=r(o,++a,e))!=null&&(o=+o)>=o&&(++i,t+=o)}if(i)return t/i}function Fl(e,r,i){e=+e,r=+r,i=(a=arguments.length)<2?(r=e,e=0,1):a<3?1:+i;for(var t=-1,a=Math.max(0,Math.ceil((r-e)/i))|0,o=new Array(a);++t<a;)o[t]=e+t*i;return o}function Ol(e,r){let i=0;if(r===void 0)for(let t of e)(t=+t)&&(i+=t);else{let t=-1;for(let a of e)(a=+r(a,++t,e))&&(i+=a)}return i}var Ct="23.2.0";var Jt={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},title:"WebChartDateBinning"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
|
|
20
|
+
`)+d+`return __p
|
|
21
|
+
}`;var g=Gl(function(){return Function(o,p+"return "+d).apply(void 0,s)});if(g.source=d,ta(g))throw g;return g}var no=$S;var DS=Math.max;function RS(t){if(!(t&&t.length))return[];var e=0;return t=Li(t,function(i){if(Vi(i))return e=DS(i.length,e),!0}),Ti(e,function(i){return ct(t,ea(i))})}var yp=RS;var _S=qt(yp),jS=_S;function ni(t,e){let i,a;if(e===void 0)for(let r of t)r!=null&&(i===void 0?r>=r&&(i=a=r):(i>r&&(i=r),a<r&&(a=r)));else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(i===void 0?o>=o&&(i=a=o):(i>o&&(i=o),a<o&&(a=o)))}return[i,a]}var oa=class extends Map{constructor(e,i=qS){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),e!=null)for(let[a,r]of e)this.set(a,r)}get(e){return super.get(gp(this,e))}has(e){return super.has(gp(this,e))}set(e,i){return super.set(BS(this,e),i)}delete(e){return super.delete(kS(this,e))}};function gp({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):i}function BS({_intern:t,_key:e},i){let a=e(i);return t.has(a)?t.get(a):(t.set(a,i),i)}function kS({_intern:t,_key:e},i){let a=e(i);return t.has(a)&&(i=t.get(a),t.delete(a)),i}function qS(t){return t!==null&&typeof t=="object"?t.valueOf():t}function so(t){return t}function NS(t,e,...i){return MS(t,so,e,i)}function MS(t,e,i,a){return function r(o,s){if(s>=a.length)return i(o);let n=new oa,l=a[s++],u=-1;for(let c of o){let d=l(c,++u,o),f=n.get(d);f?f.push(c):n.set(d,[c])}for(let[c,d]of n)n.set(c,r(d,s));return e(n)}(t,0)}function bp(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i<a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i<r||i===void 0&&r>=r)&&(i=r)}return i}function vp(t,e){let i;if(e===void 0)for(let a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let r of t)(r=e(r,++a,t))!=null&&(i>r||i===void 0&&r>=r)&&(i=r)}return i}function Sp(t,e){let i=0,a=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++i,a+=r);else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(o=+o)>=o&&(++i,a+=o)}if(i)return a/i}function xp(t,e,i){t=+t,e=+e,i=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+i;for(var a=-1,r=Math.max(0,Math.ceil((e-t)/i))|0,o=new Array(r);++a<r;)o[a]=t+a*i;return o}function wp(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let r of t)(r=+e(r,++a,t))&&(i+=r)}return i}var Pt="23.2.0";var nr={$schema:"http://json-schema.org/draft-07/schema#",definitions:{ValueConversion:{type:"object",properties:{factor:{type:"number",description:"A numeric value multiplying the value to convert"},offset:{type:"number",description:"A numeric offset to apply to the value to convert"}},description:"Stores information regarding a numeric conversion",title:"ValueConversion"},WebChartAxisScrollBar:{type:"object",properties:{visible:{type:"boolean",description:"Scrollbar visibility",default:!1},width:{type:"number",description:"Scrollbar width in pixels"},color:{$ref:"#/definitions/Color",description:"Scrollbar color"},gripSize:{type:"number",description:"Grip size in pixels"},margin:{type:"number",description:"Margin between the scrollbar and the series container in pixels"}},description:"Describes the properties of an axis scrollbar",title:"WebChartAxisScrollBar"},Color:{type:"array",items:{type:"number"},minItems:4,maxItems:4,title:"Color"},WebChartTextSymbol:{type:"object",properties:{xoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container width.`},yoffset:{type:["number","string"],description:`Horizontal offset. Can be a number for a fixed value in pixels, or a string as "25%" for a value relative to the label's container height.`},angle:{type:"number",description:"Rotation of the label"},style:{type:"string",description:"Label style"},type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],description:"Represents a text symbol.",title:"WebChartTextSymbol"},'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>':{$ref:"#/definitions/Pick%3CITextSymbol%2CExclude%3C(%22type%22%7C%22color%22%7C%22backgroundColor%22%7C%22borderLineSize%22%7C%22borderLineColor%22%7C%22haloSize%22%7C%22haloColor%22%7C%22verticalAlignment%22%7C%22horizontalAlignment%22%7C%22rightToLeft%22%7C%22kerning%22%7C%22font%22%7C%22text%22%7C%22angle%22%7C%22xoffset%22%7C%22yoffset%22%7C%22style%22%7Cstring)%2C(%22angle%22%7C%22style%22%7C%22xoffset%22%7C%22yoffset%22)%3E%3E",title:'Omit<ITextSymbol,("angle"|"style"|"xoffset"|"yoffset")>'},'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>':{type:"object",properties:{type:{type:"string",const:"esriTS"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:'Pick<ITextSymbol,Exclude<("type"|"color"|"backgroundColor"|"borderLineSize"|"borderLineColor"|"haloSize"|"haloColor"|"verticalAlignment"|"horizontalAlignment"|"rightToLeft"|"kerning"|"font"|"text"|"angle"|"xoffset"|"yoffset"|"style"|string),("angle"|"style"|"xoffset"|"yoffset")>>'},IFont:{type:"object",properties:{family:{type:"string"},size:{type:"number"},style:{type:"string",enum:["italic","normal","oblique"]},weight:{type:"string",enum:["bold","bolder","lighter","normal"]},decoration:{type:"string",enum:["line-through","none","underline"]}},title:"IFont"},WebChartText:{type:"object",properties:{type:{type:"string",const:"chartText",description:'Represents a unique string identifier for the ChartText object. For ChartText object, it is "chartText".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},content:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains the styling info and text content. Details on **esriTS** are [here](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm)."}},required:["type","content"],description:"Stores info on how some text is rendered on the chart and whether it is visible or not.",title:"WebChartText"},WebChartCursorCrosshair:{type:"object",properties:{type:{type:"string",const:"cursorCrosshair",description:"Represents a unique string identifier for the chart cursor's crosshair."},style:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the chart cursor's crosshair should be rendered."},verticalLineVisible:{type:"boolean",description:"Indicates whether the vertical crosshair line should be displayed",default:!1},horizontalLineVisible:{type:"boolean",description:"Indicates whether the horizontal crosshair line should be displayed",default:!1}},required:["type"],description:"JSON representation of the cursor's crosshair for a chart.",title:"WebChartCursorCrosshair"},ISimpleLineSymbol:{type:"object",properties:{type:{type:"string",const:"esriSLS"},style:{$ref:"#/definitions/SimpleLineSymbolStyle"},color:{$ref:"#/definitions/Color"},width:{type:"number"}},required:["type"],title:"ISimpleLineSymbol"},ISymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"}},required:["type"],title:"ISymbol"},SymbolType:{type:"string",enum:["esriPFS","esriPMS","esriSFS","esriSLS","esriSMS","esriTS"],title:"SymbolType"},SimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"SimpleLineSymbolStyle"},WebChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1}},required:["type"],description:"JSON representation of the Chart's legend box",title:"WebChartLegend"},WebChartLegendPositions:{type:"string",enum:["left","right","top","bottom"],title:"WebChartLegendPositions"},WebChartPieChartLegend:{type:"object",properties:{type:{type:"string",const:"chartLegend",description:'Represents a unique string identifier for the ChartLegend object. For ChartLegend object, it is "chartLegend".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the legend box should be rendered"},body:{$ref:"#/definitions/WebChartTextSymbol",description:"Contains styling info on how legend body (excluding the **title**) should be rendered. Will use default styling if not provided."},position:{$ref:"#/definitions/WebChartLegendPositions",description:'Positions the legends at `"right"`, `"left"`, `"top"`, or `"bottom"` of the chart.',default:"WebChartLegendPositions.Right"},maxHeight:{type:["number","null"],description:"Legend's maximum height. If not set the legend will occupy the same height as the series container or pie chart.",default:null},roundMarkers:{type:"boolean",description:"Allows the legend markers to be displayed as circles. If the property is to:\n- `false` or `undefined` they will be rounded rectangles\n- `true` they will be circles",default:!1},displayCategory:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed in the legend.",default:!0},displayNumericValue:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},displayPercentage:{type:"boolean",description:"Indicates whether the percentage to a slice is to be displayed in the legend. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`",default:!1},labelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200},valueLabelMaxWidth:{type:"number",description:"Maximum width in pixels of the label displaying the slice name. If the label is larger than the maximum width, it will automatically wrap.",default:200}},required:["type"],description:"Specific legend for the Pie chart",title:"WebChartPieChartLegend"},WebChartOverlay:{type:"object",properties:{type:{type:"string",const:"chartOverlay",description:'Represents a unique string identifier for the ChartOverlay object. For ChartOverlay object, it is "chartOverlay".'},created:{type:"boolean",description:"Determines whether the overlay is created under the hood. It may or may not be visible.",default:!1},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},symbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the overlay should be rendered If not provided a default style is applied."}},required:["type"],description:"JSON representation of the chart's overlays like trendline scatter plot, and median in histogram",title:"WebChartOverlay"},NumberFormatOptions:{type:"object",properties:{type:{type:"string",const:"number",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "number". It can help us to differentiate numerical (value) axis from other types of axes viz., date-time axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.NumberFormatOptions",description:"Represents the JS native [Intl.NumberFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat), which is based on [CLDR](http://cldr.unicode.org/translation/numbers-currency/number-patterns) specifications."}},required:["type","intlOptions"],description:"Defines how the numerical(value) axis data should be formatted.",title:"NumberFormatOptions"},"Intl.NumberFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["lookup","best fit"]},style:{$ref:"#/definitions/Intl.NumberFormatOptionsStyle"},currency:{type:"string"},currencyDisplay:{$ref:"#/definitions/Intl.NumberFormatOptionsCurrencyDisplay"},useGrouping:{$ref:"#/definitions/Intl.NumberFormatOptionsUseGrouping"},minimumIntegerDigits:{type:"number"},minimumFractionDigits:{type:"number"},maximumFractionDigits:{type:"number"},minimumSignificantDigits:{type:"number"},maximumSignificantDigits:{type:"number"}},title:"Intl.NumberFormatOptions"},"Intl.NumberFormatOptionsStyle":{title:"Intl.NumberFormatOptionsStyle"},"Intl.NumberFormatOptionsCurrencyDisplay":{title:"Intl.NumberFormatOptionsCurrencyDisplay"},"Intl.NumberFormatOptionsUseGrouping":{type:"boolean",title:"Intl.NumberFormatOptionsUseGrouping"},WebChartDateTimeUnitFormatOptions:{type:"object",properties:{year:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},month:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},day:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},hour:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},minute:{$ref:"#/definitions/Intl.DateTimeFormatOptions"},second:{$ref:"#/definitions/Intl.DateTimeFormatOptions"}},description:'Interface used by the axis `valueFormat` property to describe how to format specific date and time units when displayed on the axis. For instance: "year": { year: "numeric" } "month": { month: "numeric" } "day": { day: "2-digit" } "hour": { day: "numeric" } "minute": { minute: "numeric" } "second": { second: "numeric" } Reference: https://tc39.es/ecma402/#sec-datetimeformat-abstracts',title:"WebChartDateTimeUnitFormatOptions"},"Intl.DateTimeFormatOptions":{type:"object",properties:{localeMatcher:{type:"string",enum:["best fit","lookup"]},weekday:{type:"string",enum:["long","short","narrow"]},era:{type:"string",enum:["long","short","narrow"]},year:{type:"string",enum:["numeric","2-digit"]},month:{type:"string",enum:["numeric","2-digit","long","short","narrow"]},day:{type:"string",enum:["numeric","2-digit"]},hour:{type:"string",enum:["numeric","2-digit"]},minute:{type:"string",enum:["numeric","2-digit"]},second:{type:"string",enum:["numeric","2-digit"]},timeZoneName:{type:"string",enum:["short","long","shortOffset","longOffset","shortGeneric","longGeneric"]},formatMatcher:{type:"string",enum:["best fit","basic"]},hour12:{type:"boolean"},timeZone:{type:"string"}},title:"Intl.DateTimeFormatOptions"},DateTimeFormatOptions:{type:"object",properties:{type:{type:"string",const:"date",description:'Represents a unique string identifier for the NumberFormatOptions object. For NumberFormatOptions object, it is "date". It can help us to differentiate date-time axis from other types of axes viz., numeric (value) axis and category axis.'},intlOptions:{$ref:"#/definitions/Intl.DateTimeFormatOptions",description:"Represent the JS native [Intl.DateTimeFormatOptions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormatt), which is based on [CLDR](http://cldr.unicode.org/translation/date-time-1/date-time-patterns) specifications."},formatPerDateTimeUnit:{$ref:"#/definitions/WebChartDateTimeUnitFormatOptions",description:"Represents how to format specific date and time units when displayed on the axis, independently from the `intlOptions`."}},required:["type","intlOptions"],description:"Defines how the DateTime axis data should be formatted.",title:"DateTimeFormatOptions"},CategoryFormatOptions:{type:"object",properties:{type:{type:"string",const:"category",description:'Represents a unique string identifier for the CategoryFormatOptions object. For CategoryFormatOptions object, it is "category". It can help us to differentiate category axis from other types of axes, viz., date-time axis and numeric (value) axis.'},characterLimit:{type:["number","null"],description:"Represents a positive integer which represents the limit on the number of characters to be displayed for all the category strings. The truncated string are appended with `...`. If property is not present or `null`, no truncation is done.",minimum:1,multipleOf:1}},required:["type"],description:"Defines how the category axis data (Categories) should be formatted.",title:"CategoryFormatOptions"},WebChartGuide:{type:"object",properties:{type:{type:"string",const:"chartGuide",description:'Represents a unique string identifier for the Guide object. For Guide class, it is "chartGuide".'},start:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should begin."},end:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"Determines the value where the guide should end. If it is not specified, we get a line guide, otherwise we get a fill/rectangular guide."},style:{anyOf:[{$ref:"#/definitions/ISimpleFillSymbol"},{$ref:"#/definitions/ISimpleLineSymbol"}],description:"Determines how the guide should be rendered. Line guide requires [esriSLS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format, and fill guide requires [esriSFS](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm) format."},name:{type:"string",description:"A unique string identifier which is used to refer to a particular guide. It is displayed in the Chart Authoring UI to differentiate between different guides."},label:{$ref:"#/definitions/WebChartTextSymbol",description:"Defines a text label for the given guide. It is displayed on the chart next to the concerned guide and is styled using **esriTS** format."},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},above:{type:"boolean",description:"Determines whether the guide should be rendered on top of (overlapping) the series or under the series.",default:!1},tooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the guide's tooltip background (false) or its outline (true).",default:!1}},required:["type","start","style","name"],description:"JSON representation of the chart's guide object. Can be used to represent both line and fill guides.",title:"WebChartGuide"},ISimpleFillSymbol:{type:"object",properties:{type:{type:"string",const:"esriSFS"},style:{$ref:"#/definitions/SimpleFillSymbolStyle"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleFillSymbol"},SimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"SimpleFillSymbolStyle"},WebChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."}},required:["type","valueFormat","labels"],description:"JSON representation of the chart's axis object",title:"WebChartAxis"},TimeIntervalInfo:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartTemporalBinningUnits"},size:{type:"number"}},title:"TimeIntervalInfo"},WebChartTemporalBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units",title:"WebChartTemporalBinningUnits"},WebChartGaugeAxisTick:{type:"object",properties:{type:{type:"string",const:"gaugeAxisTick",description:'Represents a unique string identifier for the GaugeAxisTick object. For WebChartGaugeAxisTick object, it is "gaugeAxisTick".'},visible:{type:"boolean",description:"Determines the visibility of the axis ticks.",default:!0}},required:["type"],description:"JSON representation of the gauge axis ticks. Currently only used by WebChartGaugeAxis.",title:"WebChartGaugeAxisTick"},WebChartNeedle:{type:"object",properties:{type:{type:"string",const:"gaugeNeedle",description:'Represents a unique string identifier for the ChartNeedle object. For WebChartNeedle object, it is "gaugeNeedle".'},visible:{type:"boolean",description:"Hides or shows the needle.",default:!0},symbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the needle should be rendered"},startWidth:{type:["number","null"],description:"Represents the needle's thickness at the bottom (chart's center), in px",minimum:1,default:10},endWidth:{type:["number","null"],description:"Represents the needle's thickness at the top, in px",minimum:1,default:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in the middle of the chart. Can be visualized when guides are displayed.",minimum:0,maximum:100,default:25},displayPin:{type:"boolean",description:"Hides or shows the needle's pin (centroid circle)",default:!1}},required:["type"],description:"JSON representation of a gauge needle.",title:"WebChartNeedle"},WebChartGaugeAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},innerLabel:{$ref:"#/definitions/WebChartText",description:"Specifies how the axis' inner label needs to be displayed"},needle:{$ref:"#/definitions/WebChartNeedle",description:"Specifies how the axis' needle needs to be displayed"},ticks:{$ref:"#/definitions/WebChartGaugeAxisTick",description:"Specifies how the axis' ticks need to be displayed"},labelsIncrement:{type:"number",description:"If a label has a value being a multiple of that property, it will be displayed. Otherwise it will be hidden.\n\nIf the property is `undefined` or 0, the chart will be displayed with 6 axis labels distributed evenly along the axis min and max.\n\nIf the property has a value that results in more than a set limit of axis labels (25 as defined in `ChartDefaults.gauge.maximumNumberOfLabelIntervals`) this property value will be ignored and the chart will be displayed with only axis min/max with 4 ticks in between.",default:"undefined"},onlyShowFirstAndLastLabels:{type:"boolean",description:"Specifies if only the first and last labels need to be displayed. If set to `true` all the other labels will be hidden. Their visibility still depends on the axis labels visibility (WebChartAxis.labels.visible).",default:!1},minimumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis minimum"},maximumValueConversion:{$ref:"#/definitions/ValueConversion",description:"Defines how to convert the axis maximum"},minimumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `minimumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis minimum value If used with a statistic gauge:\n- If `minimumFromField` is set to a field name (string), the minimum from that field is mapped to the axis minimum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis minimum value When `minimumFromField` is not provided or when it leads to an invalid value, the `minimum` value from the axis config, if provided, or the default value of 0, in that order, will be used."},maximumFromField:{anyOf:[{$ref:"#/definitions/IStatisticDefinition"},{type:"string"}],description:"If used with a gauge by feature:\n- `maximumFromField` is expected to be a field name. The value from that field for the given feature is mapped to the axis maximum value If used with a statistic gauge:\n- If `maximumFromField` is set to a field name (string), the maximum from that field is mapped to the axis maximum value\n- If it is set to an `IStatisticDefinition` the statistic (min, max, avg...) from the given field is mapped to the axis maximum value When `maximumFromField` is not provided or when it leads to an invalid value, the `maximum` value from the axis config, if provided, or the default value of 0, in that order, will be used."}},required:["labels","type","valueFormat"],description:"JSON representation of the gauge chart's axis object. Inherits from the WebChartAxis properties.",title:"WebChartGaugeAxis"},IStatisticDefinition:{type:"object",properties:{statisticType:{type:"string",enum:["avg","centroid-aggregate","convex-hull-aggregate","count","envelope-aggregate","max","min","percentile-continuous","percentile-discrete","stddev","sum","var"],description:"Statistical operation to perform (count, sum, min, max, avg, stddev, var, percentile_cont, percentile_disc, EnvelopeAggregate, CentroidAggregate, ConvexHullAggregate)."},statisticParameters:{type:"object",properties:{value:{type:"number"},orderBy:{type:"string",enum:["asc","desc"]}},required:["value"],description:"Parameters to be used along with statisticType. Currently, only applicable for percentile-continuous (continuous percentile) and percentile-discrete (discrete percentile)."},onStatisticField:{type:"string",description:"Field on which to perform the statistical operation."},outStatisticFieldName:{type:"string",description:"Field name for the returned statistic field. If outStatisticFieldName is empty or missing, the server will assign one. A valid field name can only contain alphanumeric characters and an underscore. If the outStatisticFieldName is a reserved keyword of the underlying DBMS, the operation can fail. Try specifying an alternative outStatisticFieldName."}},required:["statisticType","onStatisticField"],title:"IStatisticDefinition"},WebChartRadarChartAxis:{type:"object",properties:{type:{type:"string",const:"chartAxis",description:'Represents a unique string identifier for the WebChartAxis object. For ChartAxis object, it is "chartAxis".'},visible:{type:"boolean",description:"Determines the visibility of the content.",default:!0},isLogarithmic:{type:"boolean",description:"Specifies whether the axis has a logarithmic scale or not.",default:!1},title:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the title of the axis should be rendered"},valueFormat:{anyOf:[{$ref:"#/definitions/CategoryFormatOptions"},{$ref:"#/definitions/DateTimeFormatOptions"},{$ref:"#/definitions/NumberFormatOptions"}],description:"Specifies how numerical/categorical/date-time values should be formatted."},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."},grid:{$ref:"#/definitions/ISimpleLineSymbol",description:"Dictates how the grid lines associated with a particular axis should be rendered."},guides:{type:"array",items:{$ref:"#/definitions/WebChartGuide"},description:"Represent an array of guides that should be rendered onto the axis."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the axis line should be rendered. If not provided a default style is applied."},labels:{$ref:"#/definitions/WebChartText",description:"Contains styling info on how the axis labels should be rendered."},scrollbar:{$ref:"#/definitions/WebChartAxisScrollBar",description:"Represents the axis scrollbar style and visibility"},displayZeroLine:{type:"boolean",description:"Represents an option to hide/un-hide the zero line on value axis",default:!1},integerOnlyValues:{type:"boolean",description:"Represents an option to show `integer-only` values for a value axis",default:!1},displayCursorTooltip:{type:"boolean",description:"Specifies whether cursor tooltip should be displayed.",default:!1},buffer:{type:"boolean",description:"Allows setting a buffer to a **value axis** to provide some space around the series.",default:!1},tickSpacing:{type:"number",description:"The desired minimum distance between two adjacent axis ticks. The actual distance may fluctuate depending on the chart's size. When not provided a default value is assigned according to the axis type and axis labels behavior.",minimum:1},dateBaseInterval:{$ref:"#/definitions/TimeIntervalInfo",description:"Specifies the base interval on a date axis. Will be ignored on the other axis types. It will be overridden by the properties from the series `binTemporalData` when provided."},labelsOrientation:{$ref:"#/definitions/WebChartRadarChartAxisLabelsOrientation",description:"Defines the labels orientation",default:"WebChartRadarChartAxisLabelsOrientation.Circular"}},required:["labels","type","valueFormat"],description:"JSON representation of the radar chart's axis object.",title:"WebChartRadarChartAxis"},WebChartRadarChartAxisLabelsOrientation:{type:"string",enum:["radial","circular","horizontal"],description:"Labels orientation for radar chart axes.",title:"WebChartRadarChartAxisLabelsOrientation"},WebChartQuery:{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},orderByFields:{type:"array",items:{type:"string"},description:"Represents the sorting order of the output result. More info present in [JSAPI docs](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#orderByFields). The format of any entry in this array is `field_name sorting_order`. When `sorting_order` is not defined, it is assumed to be ascending."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},start:{type:"number",description:"The zero-based index indicating where to begin retrieving features."},num:{type:"number",description:"The number of features to retrieve."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."}},description:"Chart query object inspired by [JSAPI Query](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html) class.",title:"WebChartQuery"},IEnvelope:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},xmin:{type:"number"},xmax:{type:"number"},ymin:{type:"number"},ymax:{type:"number"},zmin:{type:"number"},zmax:{type:"number"},mmin:{type:"number"},mmax:{type:"number"}},required:["xmin","xmax","ymin","ymax"],description:"An envelope is a rectangle defined by a range of values for each coordinate and attribute.",title:"IEnvelope"},IGeometry:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"}},description:'a building block for discrete geometries\n\n`IGeometry` can also be imported from the following packages:\n\n```js import { IGeometry } from "@esri/arcgis-rest-feature-layer"; ```',title:"IGeometry"},ISpatialReference:{type:"object",properties:{wkid:{type:["number","null"]},latestWkid:{type:"number"},vcsWkid:{type:"number"},latestVcsWkid:{type:"number"},wkt:{type:["string","null"]},latestWkt:{type:"string"}},description:'Spatial reference systems define mathematical transformations and coordinate systems for displaying spatial information in 2D and 3D.\n\n`ISpatialReference` can also be imported from the following packages:\n\n```js import { ISpatialReference } from "@esri/arcgis-rest-geocoding"; import { ISpatialReference } from "@esri/arcgis-rest-routing"; import { ISpatialReference } from "@esri/arcgis-rest-service-admin"; import { ISpatialReference } from "@esri/arcgis-rest-feature-layer"; ```',title:"ISpatialReference"},IExtent:{type:"object",properties:{xmin:{type:"number"},ymin:{type:"number"},zmin:{type:"number"},xmax:{type:"number"},ymax:{type:"number"},zmax:{type:"number"},spatialReference:{$ref:"#/definitions/ISpatialReference"}},required:["xmin","ymin","xmax","ymax"],description:'Extents are used to define rectangles and bounding boxes.\n\n`IExtent` can also be imported from the following packages:\n\n```js import { IExtent } from "@esri/arcgis-rest-geocoding"; import { IExtent } from "@esri/arcgis-rest-service-admin"; import { IExtent } from "@esri/arcgis-rest-feature-layer"; ```',title:"IExtent"},IPoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},x:{type:"number"},y:{type:"number"},z:{type:"number"}},required:["x","y"],description:'A simple point geometry, with spatial reference defined.\n\n`IPoint` can also be imported from the following packages:\n\n```js import { IPoint } from "@esri/arcgis-rest-routing"; import { IPoint } from "@esri/arcgis-rest-geocoding"; ```',title:"IPoint"},IHasZM:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"}},description:'`IHasZM` can also be imported from the following packages:\n\n```js import { IHasZM } from "@esri/arcgis-rest-feature-layer"; ```',title:"IHasZM"},IPolygon:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},rings:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["rings"],title:"IPolygon"},Position:{anyOf:[{$ref:"#/definitions/Position2D"},{type:"array",items:{type:"number"},minItems:4,maxItems:4},{type:"array",items:{type:"number"},minItems:3,maxItems:3}],title:"Position"},Position2D:{type:"array",items:{type:"number"},minItems:2,maxItems:2,title:"Position2D"},IPolygonWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curveRings:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curveRings"],title:"IPolygonWithCurves"},JsonCurve:{anyOf:[{$ref:"#/definitions/IArc"},{$ref:"#/definitions/IBezierCurve"},{$ref:"#/definitions/ICircularArc"},{$ref:"#/definitions/IOldCircularArc"}],title:"JsonCurve"},IArc:{type:"object",properties:{a:{type:"array",minItems:7,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"},{type:"number"},{type:"number"},{type:"number"}],maxItems:7}},required:["a"],description:"an arc can be represented as a JSON curve object",title:"IArc"},IBezierCurve:{type:"object",properties:{b:{type:"array",minItems:3,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{$ref:"#/definitions/Position2D"}],maxItems:3}},required:["b"],description:"a bezier curve can be represented as a JSON curve object",title:"IBezierCurve"},ICircularArc:{type:"object",properties:{c:{type:"array",minItems:2,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"}],maxItems:2}},required:["c"],description:"a circular arc can be represented as a JSON curve object",title:"ICircularArc"},IOldCircularArc:{type:"object",properties:{a:{type:"array",minItems:4,items:[{$ref:"#/definitions/Position"},{$ref:"#/definitions/Position2D"},{type:"number"},{type:"number"}],maxItems:4}},required:["a"],title:"IOldCircularArc"},IPolyline:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},paths:{type:"array",items:{type:"array",items:{$ref:"#/definitions/Position"}}}},required:["paths"],title:"IPolyline"},RESTUnits:{type:"string",enum:["feet","miles","nautical-miles","us-nautical-miles","meters","kilometers"],title:"RESTUnits"},WebChartSeriesQuery:{$ref:"#/definitions/Omit%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E",description:"Subset of the WebChartQuery, used at the series level",title:"WebChartSeriesQuery"},'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>':{$ref:"#/definitions/Pick%3CWebChartQuery%2CExclude%3C(%22outFields%22%7C%22where%22%7C%22groupByFieldsForStatistics%22%7C%22outStatistics%22%7C%22orderByFields%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22spatialRelationship%22%7C%22distance%22%7C%22units%22%7C%22timeExtent%22%7C%22start%22%7C%22num%22%7C%22returnDistinctValues%22%7C%22fetchNullValues%22%7C%22objectIds%22%7Cstring)%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22num%22%7C%22objectIds%22%7C%22orderByFields%22%7C%22spatialRelationship%22%7C%22start%22%7C%22timeExtent%22%7C%22units%22)%3E%3E",title:'Omit<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>'},'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>':{type:"object",properties:{outFields:{type:"array",items:{type:"string"},description:"Attribute fields to include in the FeatureSet. Will have an effect on chart with no aggregation."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."},groupByFieldsForStatistics:{type:"array",items:{type:"string"},description:"An array of fields which determine how the base data is grouped. Only one **groupBy** Field is supported, but ArcGIS JSAPI [supports multiple groupBy fields](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html#groupByFieldsForStatistics). While splitting by multiple group-by fields is possible, it is not being done because of the number of series it will give rise to (equal to the length of the Cartesian product set) possibly making the visualization hard to interpret.",maxItems:1},outStatistics:{type:"array",items:{$ref:"#/definitions/IStatisticDefinition"},description:"Represents an array of statistics definitions which dictate how a particular field should be aggregated. Refer to [JSAPI Statistics Definition class](https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-StatisticDefinition.html) for more info."},returnDistinctValues:{type:"boolean",description:"If true then the query returns distinct values based on the field(s) specified in outFields. Available for count-based aggregations only.",default:!1},fetchNullValues:{type:"boolean",description:"Indicates whether to fetch null values for them to be counted or displayed as categories on the chart.",default:!1}},title:'Pick<WebChartQuery,Exclude<("outFields"|"where"|"groupByFieldsForStatistics"|"outStatistics"|"orderByFields"|"gdbVersion"|"geometry"|"spatialRelationship"|"distance"|"units"|"timeExtent"|"start"|"num"|"returnDistinctValues"|"fetchNullValues"|"objectIds"|string),("distance"|"gdbVersion"|"geometry"|"num"|"objectIds"|"orderByFields"|"spatialRelationship"|"start"|"timeExtent"|"units")>>'},WebChartDataFilters:{$ref:"#/definitions/Pick%3CWebChartQuery%2C(%22distance%22%7C%22gdbVersion%22%7C%22geometry%22%7C%22objectIds%22%7C%22spatialRelationship%22%7C%22timeExtent%22%7C%22units%22%7C%22where%22)%3E",description:"JSON representation of filters applied to the data",title:"WebChartDataFilters"},'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>':{type:"object",properties:{distance:{type:"number",description:"Specifies a search distance for the `geometry`. To be associated with the `units` property. For compatible layers only."},gdbVersion:{type:"string",description:"Specifies the geodatabase version to display for feature service queries."},geometry:{anyOf:[{$ref:"#/definitions/IEnvelope"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IPoint"},{$ref:"#/definitions/IPolygon"},{$ref:"#/definitions/IPolygonWithCurves"},{$ref:"#/definitions/IPolyline"}],description:"The geometry to apply to the spatial filter. A buffer can be applied to it by setting the properties `distance` and `units`."},objectIds:{type:"array",items:{type:"number"},description:"An array of objectIds of the features to be filtered."},spatialRelationship:{description:"For spatial filters, this parameter defines the spatial relationship to filter features in the layer view against the filter geometry."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"A time extent ([timestamp, timestamp]) for a temporal query against time-aware layers."},units:{$ref:"#/definitions/RESTUnits",description:"The unit for calculating the buffer distance when `distance` and `geometry` are provided. If not specified, the unit is derived from the geometry spatial reference."},where:{type:"string",description:"Acts as a filter on the base data for attribute-based filtering, expect for bar/line charts for which is is used to handle the split-by field values."}},title:'Pick<WebChartQuery,("distance"|"gdbVersion"|"geometry"|"objectIds"|"spatialRelationship"|"timeExtent"|"units"|"where")>'},WebChartSeries:{type:"object",properties:{type:{type:"string"},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1}},required:["type","id","name","x"],description:"JSON representation of the chart's series object. All other series extends this interface.",title:"WebChartSeries"},WebChartFixedDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"fixedDateBased"},unit:{$ref:"#/definitions/WebChartFixedDateBinningUnits",description:"The unit of time to use to bin the temporal data."}},required:["type"],description:"Represents the properties related to the the fixed-date temporal binning. It currently covers the same scope as `WebChartDateBinning`.",title:"WebChartFixedDateBinning"},WebChartDateBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"}},title:"WebChartDateBinning"},WebChartTimeAggregationTypes:{type:"string",enum:["equalIntervalsFromStartTime","equalIntervalsFromEndTime"],description:"Represents the different types of time aggregation that can be applied to a chart using the time binning feature.",title:"WebChartTimeAggregationTypes"},WebChartNullPolicyTypes:{type:"string",enum:["null","zero","interpolate"],description:"Represents the different types of null policy that can be applied to a chart using the time binning feature.",title:"WebChartNullPolicyTypes"},WebChartFixedDateBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","years"],description:"The temporal binning units for fixed-date based binning",title:"WebChartFixedDateBinningUnits"},WebChartCalendarBasedBinning:{type:"object",properties:{size:{type:"number",description:"The span of time that will be binned or aggregated together. Works in coordination with `unit`."},trimIncompleteTimeInterval:{type:"boolean",description:"Determines whether incomplete time intervals at the start or end of the data span (depending on the `timeAggregationType`) will be removed from the chart. Incomplete intervals on a chart can cause misleading results in which the period in question is under- or over reported due to a different amount of time in the interval. Setting `true` indicates to trim these incomplete intervals. Setting `false` does not trim incomplete intervals.",default:!0},timeAggregationType:{$ref:"#/definitions/WebChartTimeAggregationTypes",description:"The time interval alignment type. Valid options include `equalIntervalsFromStartTime` and `equalIntervalsFromEndTime`.",default:"equalIntervalsFromStartTime"},nullPolicy:{$ref:"#/definitions/WebChartNullPolicyTypes",description:"How summarized bins returning a null value are displayed. Supported options are:\n- `null`, `zero`, and `interpolate` for line series\n- `null` and `zero` for bar series",default:"null"},type:{type:"string",const:"calendarBased"},unit:{$ref:"#/definitions/WebChartCalendarBinningUnits",description:"The unit of time to use to bin the temporal data."},start:{type:"number",description:"The binning start date"},end:{type:"number",description:"The binning end date"},offset:{type:"object",properties:{unit:{$ref:"#/definitions/WebChartCalendarBinningOffsetUnits"},size:{type:"number"}},required:["unit","size"],description:"Offset to apply to the results"},outTimeZone:{type:"string",description:"Defines the [IANA time zone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) used for temporal bin calculations"}},required:["type"],description:"Represents the properties related to the calendar-based temporal binning. It supports the same properties as `WebChartDateBinning` and adds some.",title:"WebChartCalendarBasedBinning"},WebChartCalendarBinningUnits:{type:"string",enum:["seconds","minutes","hours","days","weeks","months","quarters","years"],description:"The temporal binning units for calendar based binning",title:"WebChartCalendarBinningUnits"},WebChartCalendarBinningOffsetUnits:{type:"string",enum:["seconds","minutes","hours","days"],description:"The temporal binning units for the calendar based binning offset",title:"WebChartCalendarBinningOffsetUnits"},WebChartTemporalSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'}},description:"Describes the properties related to a temporal series",title:"WebChartTemporalSeries"},WebChartBarChartSeries:{type:"object",properties:{binTemporalData:{type:"boolean",description:"Whether to use the time properties to bin the temporal data. If set to `false` the `binCount` and `unit` properties can be used to set the date axis base interval.",default:!0},temporalBinning:{anyOf:[{$ref:"#/definitions/WebChartCalendarBasedBinning"},{$ref:"#/definitions/WebChartFixedDateBinning"}],description:'Defines the pattern to apply to bin the data. The "fixedDateBased" type will make the bins start at the beginning of the given period (1st of the week, 1st of the month, 1st or the day, etc.) The "calendarBased" type will make the bins start at the data set first entry (e.g. it the first date is 1/18/20 and the binning is done by month, the bins will go from the 18th to a month to the 17th of the next month).'},type:{type:"string",const:"barSeries",description:'Represents a unique string identifier for the BarChartSeries object. For BarSeries object, it is "barSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"},hideOversizedStackedLabels:{type:"boolean",description:"When true or undefined (default), the labels displayed within a small stacked column are hidden to avoid cluttering. When false, all the data labels are displayed.",default:!0},hideOversizedSideBySideLabels:{type:"boolean",description:"When true, the labels displayed within a small column for sideBySide bar series are hidden to avoid cluttering. When false or undefined (default), all the data labels are displayed.",default:!1}},required:["id","name","type","x","y"],description:"[Bar chart](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/bar-chart.htm) shows the categorical distribution of String/DateTime data.",title:"WebChartBarChartSeries"},HistogramOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the HistogramOverlays object. For HistogramOverlays object, it is "chartOverlays".'},mean:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the mean overlay for histogram. If not provided, the mean overlay is not displayed."},median:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the median overlay for histogram. If not provided, the median overlay is not displayed."},standardDeviation:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the standard deviation overlay for histogram. If not provided, the standard deviation overlay is not displayed."},comparisonDistribution:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the comparison distribution overlay for histogram. If not provided, the comparison distribution overlay is not displayed."}},required:["type"],description:"Object containing Histogram overlays",title:"HistogramOverlays"},WebChartHistogramSeries:{type:"object",properties:{type:{type:"string",const:"histogramSeries",description:'Represents a unique string identifier for the HistogramSeries object. For BarSeries object, it is "histogramSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},binCount:{type:["number","null"],description:"Bin count must be a positive integer.",minimum:1,multipleOf:1,default:32},overlays:{$ref:"#/definitions/HistogramOverlays",description:"Specifies the chart overlays. Histogram supports 4 overlays: **mean**, **median**, **standardDeviation** and **comparisonDistribution**. The overlays won't show if the property is not defined."},dataTransformationType:{$ref:"#/definitions/WebChartDataTransformations",description:"Specifies how the data should be transformed (e.g. square root, log, etc.) before binning."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the columns/bars should be rendered"}},required:["id","name","type","x"],description:"[Histogram](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/histogram.htm) shows the numerical(frequency) distribution of a numerical field.",title:"WebChartHistogramSeries"},WebChartDataTransformations:{type:"string",enum:["none","logarithmic","squareRoot"],title:"WebChartDataTransformations"},ScatterplotOverlays:{type:"object",properties:{type:{type:"string",const:"chartOverlays",description:'Represents a unique string identifier for the ScatterplotOverlays object. For ScatterplotOverlays object, it is "chartOverlays".'},trendLine:{$ref:"#/definitions/WebChartOverlay",description:"Specifies the trendline overlay for scatter plot. The trendline won't show if the property is not defined."}},required:["type"],description:"Object containing Scatter Plot overlays",title:"ScatterplotOverlays"},SizePolicy:{type:"object",properties:{type:{type:"string",const:"sizeScale",description:'Represents a unique string identifier for the sizePolicy object. For sizePolicy object, it is "sizeScale".'},scaleType:{$ref:"#/definitions/SizePolicyScaleTypes",description:"The type of scale to apply to the markers (linear or logarithmic)",default:"SizePolicyScaleTypes.Linear"},field:{type:"string",description:"The field which determines the markers size"},minSize:{type:"number",description:"The minimum marker size",default:5,multipleOf:1},maxSize:{type:"number",description:"The maximum marker size",default:30,multipleOf:1}},required:["type","field"],title:"SizePolicy"},SizePolicyScaleTypes:{type:"string",enum:["linear","logarithmic"],description:"Represents the types of scales that can be applied to the size policy. Use by bubble charts (scatterplot).",title:"SizePolicyScaleTypes"},WebChartScatterplotSeries:{type:"object",properties:{type:{type:"string",const:"scatterSeries",description:'Represents a unique string identifier for the ScatterSeries object. For ScatterSeries object, it is "scatterSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},markerSymbol:{$ref:"#/definitions/ISimpleMarkerSymbol",description:'Specifies how each data point in the scatter plot should be rendered. The type is `"esriSMS"` and it is adopted from the [REST API Types](https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm#GUID-C8D40B32-5F4B-45EB-8048-6D5A8763E13B).'},overlays:{$ref:"#/definitions/ScatterplotOverlays",description:"Specifies all the chart overlays. The scatter plot implements only 1 overlay, **trendLine**. The overlays won't show if the property is not defined."},sizePolicy:{$ref:"#/definitions/SizePolicy",description:"Specifies rules to use the scatter plot as bubble plot, by changing dynamically the markers size according to a specific field value"}},required:["id","name","type","x","y"],description:"[Scatter plot](https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/charts/scatter-plot.htm) shows the relationship between two numerical fields.",title:"WebChartScatterplotSeries"},ISimpleMarkerSymbol:{type:"object",properties:{type:{type:"string",const:"esriSMS"},style:{$ref:"#/definitions/SimpleMarkerSymbolStyle"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},size:{type:"number"},outline:{$ref:"#/definitions/ISimpleLineSymbol"}},required:["type"],title:"ISimpleMarkerSymbol"},IMarkerSymbol:{type:"object",properties:{type:{$ref:"#/definitions/SymbolType"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},required:["type"],title:"IMarkerSymbol"},SimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSTriangle","esriSMSX"],title:"SimpleMarkerSymbolStyle"},WebChartPieChartTick:{type:"object",properties:{type:{type:"string",const:"pieTick",description:'Represents a unique string identifier for the WebChartPieChartTick object. For PieTick object, it is "pieTick".'},visible:{type:"boolean",description:"Determines the visibility of the tick. Assigning the `true` value will only be considered when the data labels are visible (`series.dataLabels.visible`) and when the data label associated to the tick is outside of the chart (`series.dataLabelsOffset` > 0)."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Contains styling info on how the pie chart ticks should be rendered"}},required:["type"],description:"JSON representation of the pie ticks.",title:"WebChartPieChartTick"},WebChartPieChartSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."}},required:["sliceId"],description:"JSON representation of the pie slices",title:"WebChartPieChartSlice"},WebChartPieChartGroupSlice:{type:"object",properties:{sliceId:{type:"string",description:"A unique string used identify the slice of a pie chart."},originalLabel:{anyOf:[{type:"string",format:"date-time"},{type:"number"},{type:"string"},{type:"null"}],description:"The slice's original label."},label:{type:"string",description:"Custom label for the slice. For grouped slice, the default value is `Other`. For regular slice, it will be either the category or field name."},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slice should be rendered. If not provided, the slice will be styled with default values."},percentageThreshold:{type:"number",description:"Slices that have a percent value equal or lesser to this threshold are grouped into a unique slice"},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the grouped slice data labels should be rendered. If the property is not set the `series.dataLabels` will be used instead."}},required:["percentageThreshold","sliceId"],description:"JSON representation of the pie grouped slice",title:"WebChartPieChartGroupSlice"},WebChartPieChartSeries:{type:"object",properties:{type:{type:"string",const:"pieSeries",description:'Represents a unique string identifier for the PieSeries object. For PieSeries object, it is "pieSeries".'},id:{type:"string",description:"A unique string used to differentiate the series on a chart."},visible:{type:"boolean",description:"Hides or shows the series. If the series is has **visible** set to `false`, the corresponding legend is grayed out in the legend box.",default:!0},dataTooltipVisible:{type:"boolean",description:"Hides or shows data tooltips. Applies to all charts but Gauge.",default:!0},dataTooltipReverseColor:{type:"boolean",description:"Indicates whether to apply the hovered element's color to the background (false) or the outline (true). Applies to all charts but Gauge.",default:!1},dataTooltipValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render numeric values in tooltips."},dataTooltipPercentFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Defines how to render percent values in tooltips. Currently used for stacked 100% bar and line charts, as well as pie charts."},dataTooltipDateFormat:{$ref:"#/definitions/DateTimeFormatOptions",description:"Defines how to render dates in tooltips. Currently used for bar and line charts using a date x-axis with no time binning."},name:{type:"string",description:"Specifies the name of the series. It would be reflected in the chart [legends](#legend)"},query:{$ref:"#/definitions/WebChartSeriesQuery",description:"Specifies a query object associated with a particular series containing info on what data to fetch for that series."},x:{type:"string",description:"Specifies which field represents the x-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},dataLabels:{$ref:"#/definitions/WebChartText",description:"Specifies how the data labels should be rendered."},assignToSecondValueAxis:{type:"boolean",description:"Specifies whether the series should be assigned to the second value axis, when the `axes` property defines it. Supported by bar and line series.",default:!1},y:{type:"string",description:"Specifies which field represents the y-coordinates of this series. Empty string or one with just white spaces is not allowed. At least 1 or more word characters (a-z, A-Z, _) are needed.",minLength:1},innerRadius:{type:["number","null"],description:"Represents the size of the hole in middle of the chart. The number is used as a percentage rather than a fixed value.",minimum:0,maximum:100,default:50},startAngle:{type:["number","null"],default:-90},endAngle:{type:["number","null"],default:270},fillSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Contains styling info on how the slices should be rendered"},displayCategoryOnDataLabel:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its data label. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayNumericValueOnDataLabel:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)`. This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!0},displayPercentageOnDataLabel:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its data label. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `dataLabelFormatter` is provided.",default:!1},displayCategoryOnTooltip:{type:"boolean",description:"Indicates whether the category associated to a slice is to be displayed on its tooltip. This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayNumericValueOnTooltip:{type:"boolean",description:"Indicates whether the numeric value associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},displayPercentageOnTooltip:{type:"boolean",description:"Indicates whether the percentage associated to a slice is to be displayed on its tooltip. If both displayNumericValue & displayPercentage are true on a same label, they will be displayed as `percentage (value)` This property will be ignored if the chart options `tooltipFormatter` is provided.",default:!0},numericValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the numerical values should be formatted (applied to label, tooltip and legend). Can be overridden for the tooltips by series.dataTooltipValueFormat."},percentValueFormat:{$ref:"#/definitions/NumberFormatOptions",description:"Specifies how the percent values should be formatted (applied to label, tooltip and legend) Can be overridden for the tooltips by series.dataTooltipPercentFormat."},valuePrefix:{type:"string",description:"Adds a prefix to all the values displayed on the pie chart: data labels, tooltips and legend"},valueSuffix:{type:"string",description:"Adds a suffix to all the values displayed on the pie chart: data labels, tooltips and legend"},percentagePrefix:{type:"string",description:"Adds a prefix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},percentageSuffix:{type:"string",description:"Adds a suffix to all the percentages displayed on the pie chart: data labels, tooltips and legend"},dataLabelsCharacterLimit:{type:["number","null"],description:'If set, the category on the data label is truncated to display only `characterLimit` characters, and an ellipsis ("...") is added to the end of the label. This does not affect the value and percentage part of the labels. Does not apply to tooltips and legend labels.',default:"undefined",minimum:1,multipleOf:1},ticks:{$ref:"#/definitions/WebChartPieChartTick",description:"Specifies how to render the ticks shown on each slide. Ticks will be displayed with default values if not provided."},dataLabelsInside:{type:"boolean",description:`Whether to place the data labels inside the pie slices. When set to \`true\` the following properties will be ignored:
|
|
22
22
|
- dataLabelsOffset
|
|
23
23
|
- alignDataLabels
|
|
24
24
|
- optimizeDataLabelsOverlapping`,default:!1},dataLabelsOffset:{type:"number",description:"Determines in pixel how far the data labels should be placed from their slice. If a negative value is provided the label will be placed inside of the chart. Ignored when `dataLabelsInside` is set to `true`.",default:10},alignDataLabels:{type:"boolean",description:"Aligns labels into columns to make them more readable and avoid them to overlap each other. Ignored when `dataLabelsInside` is set to `true`.",default:!1},optimizeDataLabelsOverlapping:{type:"boolean",description:"Optimizes the data labels rendering to avoid them to be cut off on the edges or to overlap the legend by wrapping them and adding padding to the chart. Ignored when `dataLabelsInside` is set to `true`.",default:!1},sliceGrouping:{$ref:"#/definitions/WebChartPieChartGroupSlice",description:"Specifies if and how the slices under a given percentage threshold are grouped into a unique slice"},slices:{type:"array",items:{$ref:"#/definitions/WebChartPieChartSlice"},description:`An array of WebChartPieChartSlice representing the ids, labels and styles of the pie slices.
|
|
@@ -53,5 +53,5 @@ Currently this property is only used for bar and line series.`,default:"sideBySi
|
|
|
53
53
|
|
|
54
54
|
{@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#status Read more...}`},updating:{type:"boolean",description:"Indicates if the layer's status is still being updated.",default:`false
|
|
55
55
|
|
|
56
|
-
{@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterplotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterplotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","buffer","sizeScale"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningTypes:{type:"string",enum:["fixedDateBased","calendarBased"],description:"Represents the different types of temporal binning that can be applied to a chart.",title:"WebChartTemporalBinningTypes"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"+ Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"};var fd=sc(Dl(),1);var $l={Count:"count",Start:"minValue",End:"maxValue"},q={Arabic:"ar",ArabicLatin:"ar-u-nu-latn",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",EnglishUSA:"en-US",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",NorwegianBokml:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},Ev=[...Object.values(q),"en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","it-CH","it-IT"];function Ze(e,r){return xa(e)(r)}function Lv(e){let r=/^([a-z]{2})-([A-Z]{2})$/u,i=e?.match(r),t=q.English;return i!=null&&i?.length>1?t=i[1]:e?.length===2&&e.toLowerCase()===e&&(t=e),t}function Dv(e){let r=e;if(e!==void 0&&e.includes("-")){let[i,t]=e.split("-");r=`${i}-${t.toUpperCase()}`}return r}function jl(e,r){let i=q.English,t=Dv(e);if(t!==void 0)if(r.includes(t))i=t;else{let a=Lv(t);r.includes(a)?i=a:a==="nb"&&(i="no")}return i}function Rl(e,r){function i(t){let a;return t===void 0||t===document||t===window?a=null:a=t.closest(e)||i(t.getRootNode().host),a}return i(r)}function md(e=document.documentElement){let r=Rl("[lang]",e)?.lang??window.navigator.language,i=Object.values(q),t=Object.values(Ev),a=jl(r,i),o=jl(r,t);return o=o==="ar"?"ar-u-nu-latn":o,{locale:a,rtl:Rl("[dir]",e)?.getAttribute("dir")==="rtl",formatLocale:o}}function j$(e){let r;return e==="unknown"?r="UTC":e!==void 0&&e!=="system"&&(r=e),r}function R$(e,r){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:r};return new Intl.DateTimeFormat("en-CA",i).format(e)}function _$(e,r){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:r};return new Intl.DateTimeFormat("en-US",i).format(e)}function k$(e,r){let[,i,,,,t]=1111.1.toLocaleString(r),a=e.replace(i,"").replace(t,".");return Number.parseFloat(a)}async function mt(e=md().locale){let r=await import("./6LIRB6OO.js");switch(e){case q.Arabic:r=await import("./FZSCADTR.js");break;case q.Bosnian:r=await import("./ZOG3INRF.js");break;case q.Bulgarian:r=await import("./OB2ZVPOC.js");break;case q.Catalan:r=await import("./JI3QTLW6.js");break;case q.Czech:r=await import("./NTUU5P4Y.js");break;case q.Danish:r=await import("./GLTT7XKO.js");break;case q.German:r=await import("./G7L2I5WO.js");break;case q.Greek:r=await import("./VS3GHA4U.js");break;case q.EnglishUSA:r=await import("./6LCZIXN5.js");break;case q.Spanish:r=await import("./MRBMUNTT.js");break;case q.Estonian:r=await import("./PIJWWR6H.js");break;case q.Finnish:r=await import("./QYQ52XCG.js");break;case q.French:r=await import("./7RR4D7SJ.js");break;case q.Hebrew:r=await import("./BBPAGOKK.js");break;case q.Croatian:r=await import("./DTCCQUET.js");break;case q.Hungarian:r=await import("./CHH4ABKM.js");break;case q.Indonesian:r=await import("./KX3L3XOB.js");break;case q.Italian:r=await import("./7R6TKRBV.js");break;case q.Japanese:r=await import("./PUNCX5RQ.js");break;case q.Korean:r=await import("./FP3SNJC6.js");break;case q.Lithuanian:r=await import("./5JEAQPMT.js");break;case q.Latvian:r=await import("./VH5ZFVVK.js");break;case q.NorwegianBokml:r=await import("./5SAODZPL.js");break;case q.Dutch:r=await import("./EQENXYNA.js");break;case q.Polish:r=await import("./IMXA5LKZ.js");break;case q.PortugueseBrazil:r=await import("./PKVR62JH.js");break;case q.PortuguesePortugal:r=await import("./FTLX5TZO.js");break;case q.Romanian:r=await import("./7MPFUCRL.js");break;case q.Russian:r=await import("./4SLU4HUN.js");break;case q.Serbian:r=await import("./RNCYA65B.js");break;case q.Slovak:r=await import("./OEBM2NWL.js");break;case q.Slovenian:r=await import("./5J3QLON4.js");break;case q.Swedish:r=await import("./ZHPTBETE.js");break;case q.Thai:r=await import("./AWPSIBUG.js");break;case q.Turkish:r=await import("./TOIHJCPC.js");break;case q.Ukrainian:r=await import("./QG6PISI2.js");break;case q.Vietnamese:r=await import("./GF6JJPW4.js");break;case q.ChineseChina:r=await import("./EXJM3HBZ.js");break;case q.ChineseHongKong:r=await import("./4APGYNDX.js");break;case q.ChineseTaiwan:r=await import("./KYQ6DTH6.js");break;case q.English:}return r}var yd={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},te={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},B$=32,q$="arcgis_charts_features_extent",Yt={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:So.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},$v=["EXPR_1","Expr1","expr1","EXPR1"],M$=1,at=.7,jv=25,gd=[156,156,156,255],Rv=[156,156,156,255],N$=sr.Solid,W$=2,z$={defaultGroupOfSlicesId:"arcgis_charts_group_of_slices",sliceIdPrefix:"arcgis-charts-slice-id",undefinedSliceId:"arcgis-charts-slice-id-undefined",nullSliceId:"arcgis-charts-slice-id-null",emptySliceId:"arcgis-charts-slice-id-empty"},Ka="arcgis_charts_box_plot_category",_v=[[31,120,180,255],[166,206,227,255],[51,160,44,255],[178,223,138,255],[227,26,28,255],[251,154,153,255],[255,127,0,255],[253,191,111,255],[106,61,154,255],[202,178,214,255]],kv=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ut(e){let{colorIndex:r,opacity:i,histogramOverlays:t}=e,a=Math.max(0,r??0),o=[...t===!0?kv:_v],[n,s,l,c]=o[a%o.length],d=i!==void 0?i*255:c;return[n,s,l,d]}function bd(e){return[0,0,0,(e??at)*255]}function V$(){return{type:L.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:Be.SLS,style:sr.Dot,color:[211,211,211,255],width:1}}}function Yi(e=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),e*255]}function pe(e){let r={family:"Arial, Helvetica, sans-serif",size:10};switch(e){case te.ChartTitle:r.size=18;break;case te.AxisTitle:r.size=14;break;case te.LegendText:r.size=12;break;case te.LegendTitle:r.size=13;break;case te.DescriptionText:r.size=11;break}return r}function vd(e="",r=pe(),i){let t=Xr.Center;return(i===te.DataLabels||i===te.GuideLabel)&&(t=void 0),{type:Be.TS,color:bd(),text:e,font:r,horizontalAlignment:t}}function ie(e){let{text:r,visible:i,font:t,type:a}=e??{text:"",visible:!0,font:pe()};return{type:L.Text,visible:i,content:vd(r,t,a)}}function Gr(e){let r=e?.useRandomColor??!1,i=e?.useRampColor,t=e?.width??1,a=e?.isHistogramOverlay,o=e?.color??bd(1);return r?o=Yi():i!==void 0&&(a===!0?o=ut({colorIndex:i.colorIndex,histogramOverlays:a}):o=ut({colorIndex:i.colorIndex})),e?.opacity!==void 0&&(o[3]=e.opacity),{type:Be.SLS,style:sr.Solid,color:o,width:t}}function Bv(){return{type:L.CategoryAxisFormat,characterLimit:11}}function U$(){return{type:L.DateAxisFormat,intlOptions:{}}}function Va(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function G$(){return{type:L.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function H$(){return{type:L.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function _l(e="Category Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)});r.content.horizontalAlignment=Xr.Center,r.content.verticalAlignment=la.Middle;let i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:Bv(),lineSymbol:Gr({color:gd})}}function Gi(e="Value Axis"){let r=ie({text:e,visible:!0,font:pe(te.AxisTitle)}),i=ie({text:e,visible:!0,font:pe(te.AxisLabels)});return r.content.verticalAlignment=la.Middle,r.content.horizontalAlignment=Xr.Center,{type:L.Axis,visible:!0,title:r,labels:i,valueFormat:Va(),lineSymbol:Gr({color:gd})}}function er(){return{type:L.Legend,visible:!0,title:ie({text:"",visible:!0,font:pe(te.LegendTitle)}),body:vd("",pe(te.LegendText)),position:vo.Right,maxHeight:Number.NaN}}function Ni(e){return{type:L.Overlay,visible:!0,created:!1,symbol:Gr({useRampColor:{colorIndex:e},isHistogramOverlay:!0})}}function tr(){return[255,255,255,255]}async function Nt(){return(await mt()).defaultTitle}function Wt(){return`Chart ${Date.now()}`}function Q$(e,r=!1){return{type:Be.SFS,style:lr.Solid,color:r?Yi(at):ut({colorIndex:e??0,opacity:at})}}function qv(e=0){return{type:Be.SMS,style:sa.Circle,color:ut({colorIndex:e,opacity:at}),size:4}}function Mv(e){return{type:Be.SLS,style:sr.Solid,color:ut({colorIndex:e,opacity:at}),width:2}}function Nv(e=!1){return{type:Be.SMS,style:sa.Circle,color:e?Yi(at):ut({colorIndex:0,opacity:at}),size:7}}function K$(){return{type:L.SizePolicy,field:"",scaleType:Io.Linear,minSize:5,maxSize:30}}function Wv(e=!1){return{type:L.Overlays,trendLine:{type:L.Overlay,created:!1,visible:!0,symbol:{type:Be.SLS,style:sr.Solid,color:e?Yi():ut({colorIndex:1}),width:2}}}}function zv(){return{type:L.ScatterSeries,id:L.ScatterSeries,name:L.ScatterSeries,x:"",y:"",markerSymbol:Nv(),overlays:Wv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function Or(e){let r=await mt(),i=[],t=r.xAxis,a=r.statistics.count,o,n=Gi(a),s=Gr({opacity:jv});switch(n.grid=s,e){case L.BarSeries:{o=_l(t);break}case L.ScatterSeries:{o=Gi(t),o.grid=s;break}case L.RadarSeries:case L.LineSeries:case L.HistogramSeries:{o=Gi(t);break}case L.BoxPlotSeries:{o=_l("");break}}return o!==void 0&&i.push(o,n),i}function Vv(){return{type:L.GaugeNeedle,symbol:{type:Be.SFS,color:[0,0,0,200]}}}async function Uv(){let e=await mt(),r=[],i=e.xAxis,t=Gi(i);return t.needle=Vv(),r.push(t),r}async function Gv(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await mt()).countSeries;return{type:L.LineSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Mv(e.seriesIndex),markerSymbol:qv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)}),temporalBinning:{type:na.FixedDateBased,unit:_e.Day,size:0,timeAggregationType:or.Start,trimIncompleteTimeInterval:!0,nullPolicy:wo.Interpolate}}}async function J$(e){return{...await Gv(e),type:L.RadarSeries}}function Hv(e){return{type:Be.SFS,style:lr.Solid,color:ut({colorIndex:e,opacity:at})}}async function Z$(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t=(await mt()).countSeries;return{type:L.BarSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Hv(e.seriesIndex),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels})}}async function X$(e){let r=(await mt()).countSeries;return{name:r,type:L.BoxPlotSeries,id:r,fillSymbol:{type:Be.SFS,style:lr.Solid,color:ut({colorIndex:e,opacity:at})},query:{},x:Ka,y:""}}function Qv(){return{type:L.PieTick,visible:!0,lineSymbol:Gr({width:1,color:Rv})}}function Kv(){return{type:Be.SFS,style:lr.Solid}}async function Y$(e){let r=`${Ie.Count}_${e}_0`.toUpperCase(),i=(await mt()).countSeries;return{type:L.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:e??"ObjectID",outStatisticFieldName:r}],groupByFieldsForStatistics:[]},x:"",y:r,fillSymbol:Kv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels),type:te.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...Va(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...Va(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Qv()}}function ej(e){let r=e.objectIDField??"ObjectID",i=`${Ie.Count}_${r}_0`.toUpperCase(),t="Series0";return{type:L.GaugeSeries,id:t,name:t,query:{outStatistics:[{statisticType:Ie.Count,onStatisticField:r,outStatisticFieldName:i}]},x:""}}function zr(){return!1}async function tj(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:nr.Category,orderBy:St.Ascending}},title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),axes:await Or(L.BarSeries),series:[],legend:er()}}async function rj(e=Wt()){return{version:Ct,type:L.Chart,id:e,rotated:zr(),colorMatch:!0,orderOptions:{data:{orderType:nr.Category,orderBy:St.Ascending}},title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),series:[],legend:er(),axes:await Or(L.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function ij(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,rotated:zr(),orderOptions:{data:{orderType:nr.Category,orderBy:St.Ascending}},title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),axes:await Or(L.LineSeries),series:[],legend:er()}}async function aj(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:nr.Category,orderBy:St.Ascending}},title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),axes:await Or(L.RadarSeries),series:[],legend:er()}}async function oj(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,orderOptions:{data:{orderType:nr.YValue,orderBy:St.Descending}},title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),series:[],legend:{...er(),displayNumericValue:!1,displayPercentage:!0}}}async function nj(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),series:[],axes:await Uv()}}async function sj(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),axes:await Or(L.ScatterSeries),series:[zv()],legend:er()}}function Jv(){return{type:L.Overlays,mean:Ni(1),median:Ni(2),standardDeviation:Ni(3),comparisonDistribution:Ni(4)}}function Zv(){return{type:Be.SFS,style:lr.Solid,color:ut({colorIndex:0,opacity:at})}}function Xv(){return{type:L.HistogramSeries,id:L.HistogramSeries,name:L.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:Jv(),dataTransformationType:oa.None,fillSymbol:Zv(),dataLabels:ie({text:"",visible:!1,font:pe(te.DataLabels)})}}async function lj(e=Wt()){return{version:Ct,type:L.Chart,id:e,colorMatch:!0,title:ie({text:await Nt(),visible:!0,font:pe(te.ChartTitle)}),subtitle:ie(),footer:ie({text:"",visible:!0,font:pe(te.DescriptionText)}),background:tr(),axes:await Or(L.HistogramSeries),series:[Xv()],legend:er()}}var Aa={behaviorAfterLimit:yd.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function Yv(e){let r={...Aa};return e!==void 0&&Object.keys(Aa).forEach(i=>{let t=i;r[t]=e[t]??Aa[t]}),r}function pj(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function dj(e){let r=await mt(),i;switch(e){case Ie.Average:{i=r.statistics.mean;break}case Ie.ContinuousPercentile:{i=r.statistics.median;break}case Ie.Sum:{i=r.statistics.sum;break}case Ie.Minimum:{i=r.statistics.minimum;break}case Ie.Maximum:{i=r.statistics.maximum;break}case Ie.Variance:{i=r.statistics.variance;break}case Ie.DiscretePercentile:{i=r.statistics.discretePercentile;break}case Ie.NoAggregation:{i=r.statistics.noAggregation;break}case Ie.Count:default:{i=r.statistics.count;break}}return i}async function cj(e){let r=await mt(),i;switch(e){case or.End:{i=r.timeAggregationTypes.end;break}case or.Start:{i=r.timeAggregationTypes.start;break}default:i="";break}return i}function eS(){return Rr.Side}async function uj(){return(await mt()).notAvailable}var fj=0,tS="_arcgis_charts_outliers",rS="_arcgis_charts_z_score",hj=[210,210,210,255*at],mj=" percentage ";var Ki=function(){return Ki=Object.assign||function(e){for(var r,i=1,t=arguments.length;i<t;i++){r=arguments[i];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},Ki.apply(this,arguments)},Ua={exports:{}},Te={},Ga={exports:{}},rr={};function Sd(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function iS(e,r,i){}function aS(e,r,i){}var oS=/javascript\s*\:/img;function nS(e,r){return oS.test(r)?"":r}rr.whiteList=Sd();rr.getDefaultWhiteList=Sd;rr.onAttr=iS;rr.onIgnoreAttr=aS;rr.safeAttrValue=nS;var sS={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},Wr=sS;function lS(e,r){e=Wr.trimRight(e),e[e.length-1]!==";"&&(e+=";");var i=e.length,t=!1,a=0,o=0,n="";function s(){if(!t){var d=Wr.trim(e.slice(a,o)),u=d.indexOf(":");if(u!==-1){var p=Wr.trim(d.slice(0,u)),f=Wr.trim(d.slice(u+1));if(p){var m=r(a,n.length,p,f,d);m&&(n+=m+"; ")}}}a=o+1}for(;o<i;o++){var l=e[o];if(l==="/"&&e[o+1]==="*"){var c=e.indexOf("*/",o+2);if(c===-1)break;o=c+1,a=o+1,t=!1}else l==="("?t=!0:l===")"?t=!1:l===";"?t||s():l===`
|
|
57
|
-
`&&s()}return Wr.trim(n)}var pS=lS,Wi=rr,dS=pS;function kl(e){return e==null}function cS(e){var r={};for(var i in e)r[i]=e[i];return r}function wd(e){e=cS(e||{}),e.whiteList=e.whiteList||Wi.whiteList,e.onAttr=e.onAttr||Wi.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||Wi.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||Wi.safeAttrValue,this.options=e}wd.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onAttr,o=i.onIgnoreAttr,n=i.safeAttrValue,s=dS(e,function(l,c,d,u,p){var f=t[d],m=!1;if(f===!0?m=f:typeof f=="function"?m=f(u):f instanceof RegExp&&(m=f.test(u)),m!==!0&&(m=!1),u=n(d,u),!!u){var y={position:c,sourcePosition:l,source:p,isWhite:m};if(m){var b=a(d,u,y);return kl(b)?d+":"+u:b}else{var b=o(d,u,y);if(!kl(b))return b}}});return s};var uS=wd;(function(e,r){var i=rr,t=uS;function a(n,s){var l=new t(s);return l.process(n)}r=e.exports=a,r.FilterCSS=t;for(var o in i)r[o]=i[o]})(Ga,Ga.exports);var Ja=Ga.exports,Za={indexOf:function(e,r){var i,t;if(Array.prototype.indexOf)return e.indexOf(r);for(i=0,t=e.length;i<t;i++)if(e[i]===r)return i;return-1},forEach:function(e,r,i){var t,a;if(Array.prototype.forEach)return e.forEach(r,i);for(t=0,a=e.length;t<a;t++)r.call(i,e[t],t,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,i=r.exec(e);return i?i.index:-1}},fS=Ja.FilterCSS,hS=Ja.getDefaultWhiteList,Ji=Za;function xd(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Id=new fS;function mS(e,r,i){}function yS(e,r,i){}function gS(e,r,i){}function bS(e,r,i){}function Cd(e){return e.replace(SS,"<").replace(wS,">")}function vS(e,r,i,t){if(i=Ed(i),r==="href"||r==="src"){if(i=Ji.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(r==="background"){if(zi.lastIndex=0,zi.test(i))return""}else if(r==="style"){if(Bl.lastIndex=0,Bl.test(i)||(ql.lastIndex=0,ql.test(i)&&(zi.lastIndex=0,zi.test(i))))return"";t!==!1&&(t=t||Id,i=t.process(i))}return i=Ld(i),i}var SS=/</g,wS=/>/g,xS=/"/g,IS=/"/g,CS=/&#([a-zA-Z0-9]*);?/gim,TS=/:?/gim,AS=/&newline;?/gim,zi=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,Bl=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,ql=/u\s*r\s*l\s*\(.*/gi;function Td(e){return e.replace(xS,""")}function Ad(e){return e.replace(IS,'"')}function Pd(e){return e.replace(CS,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function Fd(e){return e.replace(TS,":").replace(AS," ")}function Od(e){for(var r="",i=0,t=e.length;i<t;i++)r+=e.charCodeAt(i)<32?" ":e.charAt(i);return Ji.trim(r)}function Ed(e){return e=Ad(e),e=Pd(e),e=Fd(e),e=Od(e),e}function Ld(e){return e=Td(e),e=Cd(e),e}function PS(){return""}function FS(e,r){typeof r!="function"&&(r=function(){});var i=!Array.isArray(e);function t(n){return i?!0:Ji.indexOf(e,n)!==-1}var a=[],o=!1;return{onIgnoreTag:function(n,s,l){if(t(n))if(l.isClosing){var c="[/removed]",d=l.position+c.length;return a.push([o!==!1?o:l.position,d]),o=!1,c}else return o||(o=l.position),"[removed]";else return r(n,s,l)},remove:function(n){var s="",l=0;return Ji.forEach(a,function(c){s+=n.slice(l,c[0]),l=c[1]}),s+=n.slice(l),s}}}function OS(e){for(var r="",i=0;i<e.length;){var t=e.indexOf("<!--",i);if(t===-1){r+=e.slice(i);break}r+=e.slice(i,t);var a=e.indexOf("-->",t);if(a===-1)break;i=a+3}return r}function ES(e){var r=e.split("");return r=r.filter(function(i){var t=i.charCodeAt(0);return t===127?!1:t<=31?t===10||t===13:!0}),r.join("")}Te.whiteList=xd();Te.getDefaultWhiteList=xd;Te.onTag=mS;Te.onIgnoreTag=yS;Te.onTagAttr=gS;Te.onIgnoreTagAttr=bS;Te.safeAttrValue=vS;Te.escapeHtml=Cd;Te.escapeQuote=Td;Te.unescapeQuote=Ad;Te.escapeHtmlEntities=Pd;Te.escapeDangerHtml5Entities=Fd;Te.clearNonPrintableCharacter=Od;Te.friendlyAttrValue=Ed;Te.escapeAttrValue=Ld;Te.onIgnoreTagStripAll=PS;Te.StripTagBody=FS;Te.stripCommentTag=OS;Te.stripBlankChar=ES;Te.cssFilter=Id;Te.getDefaultCSSWhiteList=hS;var ea={},Bt=Za;function LS(e){var r=Bt.spaceIndex(e),i;return r===-1?i=e.slice(1,-1):i=e.slice(1,r+1),i=Bt.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function DS(e){return e.slice(0,2)==="</"}function $S(e,r,i){var t="",a=0,o=!1,n=!1,s=0,l=e.length,c="",d="";e:for(s=0;s<l;s++){var u=e.charAt(s);if(o===!1){if(u==="<"){o=s;continue}}else if(n===!1){if(u==="<"){t+=i(e.slice(a,s)),o=s,a=s;continue}if(u===">"){t+=i(e.slice(a,o)),d=e.slice(o,s+1),c=LS(d),t+=r(o,t.length,c,d,DS(d)),a=s+1,o=!1;continue}if(u==='"'||u==="'")for(var p=1,f=e.charAt(s-p);f.trim()===""||f==="=";){if(f==="="){n=u;continue e}f=e.charAt(s-++p)}}else if(u===n){n=!1;continue}}return a<e.length&&(t+=i(e.substr(a))),t}var jS=/[^a-zA-Z0-9\\_:.-]/gim;function RS(e,r){var i=0,t=0,a=[],o=!1,n=e.length;function s(p,f){if(p=Bt.trim(p),p=p.replace(jS,"").toLowerCase(),!(p.length<1)){var m=r(p,f||"");m&&a.push(m)}}for(var l=0;l<n;l++){var c=e.charAt(l),d,u;if(o===!1&&c==="="){o=e.slice(i,l),i=l+1,t=e.charAt(i)==='"'||e.charAt(i)==="'"?i:kS(e,l+1);continue}if(o!==!1&&l===t){if(u=e.indexOf(c,l+1),u===-1)break;d=Bt.trim(e.slice(t+1,u)),s(o,d),o=!1,l=u,i=l+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),o===!1)if(u=_S(e,l),u===-1){d=Bt.trim(e.slice(i,l)),s(d),o=!1,i=l+1;continue}else{l=u-1;continue}else if(u=BS(e,l-1),u===-1){d=Bt.trim(e.slice(i,l)),d=Ml(d),s(o,d),o=!1,i=l+1;continue}else continue}return i<e.length&&(o===!1?s(e.slice(i)):s(o,Ml(Bt.trim(e.slice(i))))),Bt.trim(a.join(" "))}function _S(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="="?r:-1}}function kS(e,r){for(;r<e.length;r++){var i=e[r];if(i!==" ")return i==="'"||i==='"'?r:-1}}function BS(e,r){for(;r>0;r--){var i=e[r];if(i!==" ")return i==="="?r:-1}}function qS(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Ml(e){return qS(e)?e.substr(1,e.length-2):e}ea.parseTag=$S;ea.parseAttr=RS;var MS=Ja.FilterCSS,it=Te,Dd=ea,NS=Dd.parseTag,WS=Dd.parseAttr,Hi=Za;function Vi(e){return e==null}function zS(e){var r=Hi.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=Hi.trim(e.slice(r+1,-1));var i=e[e.length-1]==="/";return i&&(e=Hi.trim(e.slice(0,-1))),{html:e,closing:i}}function VS(e){var r={};for(var i in e)r[i]=e[i];return r}function US(e){var r={};for(var i in e)Array.isArray(e[i])?r[i.toLowerCase()]=e[i].map(function(t){return t.toLowerCase()}):r[i.toLowerCase()]=e[i];return r}function $d(e){e=VS(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=it.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=US(e.whiteList||e.allowList):e.whiteList=it.whiteList,e.onTag=e.onTag||it.onTag,e.onTagAttr=e.onTagAttr||it.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||it.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||it.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||it.safeAttrValue,e.escapeHtml=e.escapeHtml||it.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new MS(e.css))}$d.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,i=r.options,t=i.whiteList,a=i.onTag,o=i.onIgnoreTag,n=i.onTagAttr,s=i.onIgnoreTagAttr,l=i.safeAttrValue,c=i.escapeHtml,d=r.cssFilter;i.stripBlankChar&&(e=it.stripBlankChar(e)),i.allowCommentTag||(e=it.stripCommentTag(e));var u=!1;i.stripIgnoreTagBody&&(u=it.StripTagBody(i.stripIgnoreTagBody,o),o=u.onIgnoreTag);var p=NS(e,function(f,m,y,b,I){var w={sourcePosition:f,position:m,isClosing:I,isWhite:Object.prototype.hasOwnProperty.call(t,y)},F=a(y,b,w);if(!Vi(F))return F;if(w.isWhite){if(w.isClosing)return"</"+y+">";var S=zS(b),C=t[y],E=WS(S.html,function(P,O){var j=Hi.indexOf(C,P)!==-1,x=n(y,P,O,j);return Vi(x)?j?(O=l(y,P,O,d),O?P+'="'+O+'"':P):(x=s(y,P,O,j),Vi(x)?void 0:x):x});return b="<"+y,E&&(b+=" "+E),S.closing&&(b+=" /"),b+=">",b}else return F=o(y,b,w),Vi(F)?c(b):F},c);return u&&(p=u.remove(p)),p};var GS=$d;(function(e,r){var i=Te,t=ea,a=GS;function o(s,l){var c=new a(l);return c.process(s)}r=e.exports=o,r.filterXSS=o,r.FilterXSS=a,function(){for(var s in i)r[s]=i[s];for(var l in t)r[l]=t[l]}();function n(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}n()&&(self.filterXSS=e.exports)})(Ua,Ua.exports);var Pr=Ua.exports,HS=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},QS=function(){function e(r,i){var t=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Ki(Ki({},Pr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,n,s,l){return o==="a"&&n==="href"||(o==="img"||o==="source")&&n==="src"?t.sanitizeUrl(s):Pr.safeAttrValue(o,n,s,l)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var a;r&&!i?a=r:r&&i?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(o){if(o==="whiteList")a.whiteList=t._extendObjectOfArrays([t.arcgisWhiteList,r.whiteList||{}]);else if(o==="css"){var n=r.css.whiteList;n!=null&&r.css instanceof Object&&Object.keys(n).forEach(function(s){return a.css.whiteList[s]=n[s]})}else a[o]=r[o]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new Pr.FilterXSS(a)}return e.prototype.sanitize=function(r,i){switch(i===void 0&&(i={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,i);default:return i.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,i){var t=(i??{}).isProtocolRequired,a=t===void 0?!0:t,o=this._trim(r.substring(0,r.indexOf(":"))),n=r==="/",s=/^#/.test(r),l=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return n||s||l?Pr.escapeAttrValue(r):!o&&!a?Pr.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,i,t,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,i,t,a):Pr.safeAttrValue(r,i,t,a)},e.prototype.validate=function(r,i){i===void 0&&(i={});var t=this.sanitize(r,i);return{isValid:r===t,sanitized:t}},e.prototype.encodeHTML=function(r){var i=this;return String(r).replace(/[&<>"'\/]/g,function(t){return i._entityMap[t]})},e.prototype.encodeAttrValue=function(r){var i=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(t,a){return i.test(t)?t:"&#x".concat(Number(r.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var i={};return r.forEach(function(t){Object.keys(t).forEach(function(a){Array.isArray(t[a])&&Array.isArray(i[a])?i[a]=i[a].concat(t[a]):i[a]=t[a]})}),i},e.prototype._iterateOverObject=function(r,i){var t=this;i===void 0&&(i={});try{var a=!1,o=void 0;if(Array.isArray(r))o=r.reduce(function(s,l){var c=t.validate(l,i);return c.isValid?s.concat([l]):(a=!0,s.concat([c.sanitized]))},[]);else if(HS(r)){var n=Object.keys(r);o=n.reduce(function(s,l){var c=r[l],d=t.validate(c,i);return d.isValid?s[l]=c:(a=!0,s[l]=d.sanitized),s},{})}else return i.allowUndefined&&typeof r>"u"?void 0:null;return a?o:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}(),V={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},yj={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function gj(e){return e?.colorMatch??!1}function bj(e){let r=zr();if(e!==void 0){let i=Me(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.BoxPlotSeries)&&(r=e.rotated??zr())}return r}function vj(e){return e?.map(r=>r.type)??[]}function KS(e){let r=e?.stackedType;if(r===void 0&&e!==void 0){let i=Me(e.series);(i===L.BarSeries||i===L.LineSeries||i===L.ComboLineAndBarSeries||i===L.RadarSeries)&&(r=eS())}return r}function JS(e){let r=e;return r=r.replace(/'/gu,"''"),r=r.replace(/[/\\"|[\]\\]/gu,"\\$&"),r}function ZS(e){let r=!1;if(typeof e!="number"){let i=new Intl.Segmenter;r=Array.from(i.segment(e),t=>t.segment).some(t=>t.charCodeAt(0)>255)}return r}function XS(e){let r=e,i="";e.startsWith("'")&&e.endsWith("'")&&(r=e.slice(1,-1),i="'"),r=r.replace(/'/gu,"''");let t="";return ZS(r)&&(t="N"),`${t}${i}${r}${i}`}function jd(e){let{value:r,keepSurroundingQuotes:i,escape:t}=e,a=r?.trim();if(!ft(a)){let o="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),i&&(o="'")),t!==!1&&(a=JS(a)),a=`${o}${a}${o}`}return a}function Sj(e){let{count:r,seriesCount:i,chartType:t,chartLimits:a}=e,{behaviorAfterLimit:o}=a??{},n=!0;if(o!==yd.RenderUpToTheLimit){let{maxBarChartSeriesCount:s,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:c,maxBarTwoSeriesCountTotal:d,maxBarThreePlusSeriesCountPerSeries:u,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:f,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:I,maxLineThreePlusSeriesCountTotal:w,maxPieChartSliceCountTotal:F,maxGaugeByFeaturesLimit:S,maxBoxPlotSeriesCount:C,maxBoxUniqueSeriesCountTotal:E,maxBoxTwoSeriesCountTotal:P,maxBoxTwoSeriesCountPerSeries:O,maxBoxThreePlusSeriesCountTotal:j,maxBoxThreePlusSeriesCountPerSeries:x}=Yv(a);switch(t){case L.BarSeries:case L.ComboLineAndBarSeries:{let T=r/i;i<=s?i===0?n=!0:i===1?n=r<=l:i===2?n=r<=d&&T<=c:i>2&&(n=r<=p&&T<=u):n=!1}break;case L.LineSeries:case L.RadarSeries:{let T=r/i;i<=f?i===0?n=!0:i===1?n=r<=m:i===2?n=r<=b&&T<=y:i>2&&(n=r<=w&&T<=I):n=!1}break;case L.PieSeries:n=r<=F;break;case L.BoxPlotSeries:{let T=r/i;i<=C?i===0?n=!0:i===1?n=r<=E:i===2?n=r<=P&&T<=O:i>2&&(n=r<=j&&T<=x):n=!1}break;case L.GaugeSeries:n=r<=S;break}}return n}function wj(e=[],r){let i=e.find(t=>t.name===r)?.alias;return i!==""?i??r:r}function xj(e=[],r){let i=e.find(t=>t.alias===r)?.name;return i!==""?i??r:r}function Ij(e){let r=!1;switch(Me(e)){case L.PieSeries:r=!0;break;case L.BarSeries:case L.LineSeries:case L.RadarSeries:case L.ComboLineAndBarSeries:case L.BoxPlotSeries:r=e.length>1;break;case L.HistogramSeries:case L.ScatterSeries:{let i=e[0];r=i.overlays!==void 0&&Object.values(i.overlays).some(t=>t.created===!0);break}}return r}function YS(e){let r=!0;return Me(e.series)===L.ScatterSeries&&(r=e.series.length===1),r}function ew(e){let r=!0;return Me(e.series)===L.HistogramSeries&&(r=e.series.length<=1&&e.series[0].type===L.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(oa).includes(e.series[0].dataTransformationType))),r}function tw(e){let r=!0;return Me(e.series)===L.PieSeries&&(r=e.series.length<=1),r}function Cj(e,r){let i=Me(r?.series),t=e.includes(i);if(t&&r!==void 0)switch(i){case L.HistogramSeries:t=ew(r);break;case L.ScatterSeries:t=YS(r);break;case L.PieSeries:t=tw(r);break}return t}function ft(e){return e==null||typeof e=="string"&&e.trim()===""}function rw(e,r){let i=r.find(t=>t in e);return{isInItem:i!==void 0,expr:i}}function Tj(e){return rw(e,$v)}function Aj(e,r){let i;switch(e){case _e.Second:i=r.seconds??"";break;case _e.Minute:i=r.minutes??"";break;case _e.Hour:i=r.hours??"";break;case _e.Day:i=r.days??"";break;case _e.Week:i=r.weeks??"";break;case _e.Month:i=r.months??"";break;case _e.Year:i=r.years??"";break;default:i="";break}return i}function Pj(e){let r;switch(e){case lt.Mean:r=1;break;case lt.Median:r=2;break;case lt.StdDev:r=3;break;case lt.Normal:default:r=0;break}return r}function Fj(e,r){if(r!==void 0){let{seriesId:i,overlayType:t,visible:a}=e.detail,o;switch(t){case lt.Mean:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.mean);break;case lt.Median:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.median);break;case lt.StdDev:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.standardDeviation);break;case lt.Normal:r.series[0].type===L.HistogramSeries&&(o=r.series[0].overlays?.comparisonDistribution);break;case lt.Trendline:r.series[0].type===L.ScatterSeries&&(o=r.series[0].overlays?.trendLine);break;default:o=r.series.find(n=>n.id===i);break}o!==void 0&&(o.visible=a)}}function Oj(e){return new QS().sanitize(e)}function Ej(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function Lj(e,r){let i;return r!==void 0&&(i={...r,rotated:e}),i}function Dj(e,r){let i={fieldToSort:""};if(!ft(e)){let t=e.trim(),a=t.split(" ").at(-1)?.toUpperCase();a===St.Ascending||a===St.Descending?i={fieldToSort:t.substring(0,t.lastIndexOf(" ")),orderBy:a}:(i={fieldToSort:t},r!==!1&&(i.orderBy=St.Ascending))}return i}function $j(e){return e===V.BarAndLineSplitBy||e===V.BarAndLineSplitByNoAggregation||e===V.BoxPlotMonoFieldAndSplitBy||e===V.BoxPlotMultiFieldsAndSplitBy||e===V.BoxPlotMonoFieldAndCategoryAndSplitBy}function jj(e){return e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function Rj(e={arrayA:[],arrayB:[],getKey:r=>r}){let{arrayA:r,arrayB:i,getKey:t}=e;if(i.length===0||r.length===0)return r;let a=new Map;i.forEach((l,c)=>{let d=t(l);a.set(d,c)});let o=[],n=[];r.forEach((l,c)=>{let d=t(l);a.has(d)&&(o.push(c),n.push(l))}),n.sort((l,c)=>{let d=t(l),u=t(c);return a.get(d)-a.get(u)});let s=[...r];return o.forEach((l,c)=>{s[l]=n[c]}),s}var Zt=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0"],iw="1.0.0",aw="unrecognized.version",ow=[L.LineSeries,L.BarSeries,L.ComboLineAndBarSeries,L.RadarSeries];function Pa(e,r){let i=0;if(e!==r){let t=e.split("."),a=r.split(".");for(let o=0;o<t.length;o+=1){let n=Number.parseInt(t[o],10),s=Number.parseInt(a[o],10);if(n>s||Number.isNaN(s)){i=1;break}if(n<s){i=-1;break}}}return i}function nw(e){return e!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(e):!1}function sw(e){let r=At.Same,i=[];if(nw(e)&&e!==void 0){Zt.sort(Pa);let t=Pa(e,Zt[Zt.length-1]);if(t===1?r=At.Newer:t===-1&&(r=At.Older),r===At.Newer||r===At.Same)i.push(e);else{for(let a=Zt.length-2;a>=0;a-=1)if(Pa(e,Zt[a])>=0){i=Zt.slice(a,Zt.length);break}i.length===0&&i.push(iw)}}else r=At.Unrecognized,i.push(aw);return{versionStatus:r,versions:i}}function lw(e){let{series:r}=e,i=("showMean"in e?e.showMean:!1)===!0?r.find(t=>t.type===L.LineSeries):r[0];return i??=r[0],i}function _j(e,r){let i=e!==null?e.toString():null,t=r!=null?r.toString():null;return t!==null&&t!==i?Be.SFS:Be.SLS}function Xa(e,r){let i="";return e!==void 0&&e.includes("=")&&(i=r!==!1?jd({value:e.split("=")[0]}):e.split("=")[0].trim()),i}function Hr(e){let{where:r,normalize:i,keepSurroundingQuotes:t,escape:a}=e,o="";return r!==void 0&&r.includes("=")&&(o=r.split("=").slice(1).join("=").trim(),o==="null"?o=null:o.trim()!==""&&!Number.isNaN(Number(o))?o=Number(o):i===!1?a===!0&&(o=XS(o)):o=jd({value:o,keepSurroundingQuotes:t,escape:a})),o}function Fr(e){let r=!1;if(e===void 0||e==="")r=!0;else if(e.includes("=")){let i=Xa(e,!1),t=Hr({where:e,normalize:!1});r=i===`${t}`}return r}function kj(e){let{where:r,normalize:i,escape:t}=e,a=i===void 0?!0:i,o=Xa(r),n=Hr({where:r,normalize:a,keepSurroundingQuotes:!0,escape:t}),s=r;return o!==""&&n!==""&&(s=`${o}=${n}`),s}function pw(e){let r=V.PieFromCategory;return e[0].query?.outStatistics===void 0?r=V.PieNoAggregation:e[0].query?.groupByFieldsForStatistics===void 0&&(r=V.PieFromFields),r}function dw(e){let r=V.BarAndLineMonoField,i=e[0].query?.where;return e[0].query?.groupByFieldsForStatistics===void 0&&(e[0].query?.outStatistics??[]).length>0?r=V.BarAndLineFromFields:i===void 0&&e[0].query?.outStatistics===void 0?r=V.BarAndLineNoAggregation:Fr(i)?e.length>1&&(r=V.BarAndLineMultiFields):r=e[0].query?.outStatistics===void 0?V.BarAndLineSplitByNoAggregation:V.BarAndLineSplitBy,r}function cw(e){let r=V.BoxPlotMonoField,i=e.length===1,t=e.find(s=>s.type===L.LineSeries)??e[0],{x:a}=t,o="y"in t?t.y:"",n=t.query?.where;switch(a){case Ka:typeof o=="object"&&o.length>1?Fr(n)?i&&(r=V.BoxPlotMultiFields):r=V.BoxPlotMultiFieldsAndSplitBy:i?r=V.BoxPlotMonoField:Fr(n)||(r=V.BoxPlotMonoFieldAndSplitBy);break;default:i?r=V.BoxPlotMonoFieldAndCategory:Fr(n)?r=V.BoxPlotMultiFieldsAndCategory:r=V.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return r}function Tt(e){let r=V.NonSpecific;if(e?.[0]!==void 0)switch(Me(e)){case L.PieSeries:r=pw(e);break;case L.RadarSeries:case L.BarSeries:case L.LineSeries:case L.ComboLineAndBarSeries:r=dw(e);break;case L.BoxPlotSeries:r=cw(e);break}return r}function Bj(e){let{seriesConfig:r,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:t}=e,a=!1;if(uw(r)&&r.binTemporalData!==!1&&i===L.DateAxisFormat){let o=Tt([r]);if(r.temporalBinning&&o!==V.BarAndLineNoAggregation&&o!==V.BarAndLineSplitByNoAggregation){let{unit:n,size:s}=r.temporalBinning;a=t===!0||s!==void 0&&s>0&&n!==void 0}}return a}function uw(e){return ow.includes(e.type)}var ye={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function fw(e){let r=e===void 0||e==="";return{[ye.Average]:`${r?"":`${e}_`}${ye.Average}`,[ye.Min]:`${r?"":`${e}_`}${ye.Min}`,[ye.Max]:`${r?"":`${e}_`}${ye.Max}`,[ye.FirstQuartile]:`${r?"":`${e}_`}${ye.FirstQuartile}`,[ye.Median]:`${r?"":`${e}_`}${ye.Median}`,[ye.ThirdQuartile]:`${r?"":`${e}_`}${ye.ThirdQuartile}`,[ye.IQR]:`${r?"":`${e}_`}${ye.IQR}`,[ye.Outlier]:`${r?"":`${e}_`}${ye.Outlier}`,[ye.StandardDeviation]:`${r?"":`${e}_`}${ye.StandardDeviation}`}}function hw(e){return e.subType===xo.FeatureGauge}function qj(e){let r;return e!==void 0&&("bins"in e?r=e.bins:"dataItems"in e&&(r=e.dataItems)),r}function mw(e){return e===V.BoxPlotMultiFields||e===V.BoxPlotMultiFieldsAndCategory||e===V.BoxPlotMultiFieldsAndSplitBy}function Zi(e){let{key:r,y:i,chartSubType:t,splitBy:a,splitByValue:o,showOutliers:n,standardizeValues:s}=e,l=o,c=fw(i)[r];return n===!0&&(r===ye.Min||r===ye.Max)&&(c=`${c}${tS}`),s===!0&&(mw(t)||r===ye.Outlier)&&(c=`${c}${rS}`),(o===void 0||`${o}`.trim()==="")&&(l=Hr({where:a,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(c=`${l}${c!==""?`_${c}`:""}`),c}function Fa(e){let{dataItem:r,y:i,splitBy:t,showOutliers:a}=e,o=Zi({key:ye.FirstQuartile,y:i,splitBy:t,showOutliers:a}),n=Zi({key:ye.ThirdQuartile,y:i,splitBy:t,showOutliers:a});return Number.isFinite(r[o])||Number.isFinite(r[n])}function yw(e){let{configSeries:r,boxPlotDataItem:i,yList:t,showOutliers:a}=e,o=Tt(r),n=!1;switch(o){case V.BoxPlotMonoField:case V.BoxPlotMultiFields:case V.BoxPlotMonoFieldAndCategory:n=Fa({dataItem:i,showOutliers:a});break;case V.BoxPlotMultiFieldsAndCategory:n=t.some(s=>Fa({dataItem:i,y:s,showOutliers:a}));break;case V.BoxPlotMonoFieldAndSplitBy:case V.BoxPlotMultiFieldsAndSplitBy:case V.BoxPlotMonoFieldAndCategoryAndSplitBy:n=r.some(s=>Fa({dataItem:i,splitBy:s.query?.where,showOutliers:a}));break;default:n=!1;break}return n}function Rd(e){return e.map(r=>r.id).filter(r=>r!=="undefined")}function Xi(e,r){let i=[],t=r??Rd(e),a=Tt(e);return i=e.filter(o=>t.includes(o.id)).map(o=>{let n="y"in o?o.y:void 0;return n!==void 0&&a===V.BarAndLineSplitByNoAggregation&&(n=`${n.toString()}_${Hr({where:o.query?.where})}`),n}).filter(o=>o!==void 0),Array.from(new Set(i.flat()))}function gw(e){let{seriesConfig:r,filteredSeriesIds:i,showMean:t}=e,a=[];if(t===!0){let o=r.find(n=>n.type===L.BoxPlotSeries);o!==void 0&&"y"in o&&(a=[o.y].flat())}else a=Xi(r,i);return a}function Xt(e,r){return e===null&&r===!0||Number.isFinite(e)}function bw(e){let{dataItem:r,x:i,y:t,nullAsValid:a=!1}=e;return r[i]!==void 0&&(typeof r[i]!="number"||Number.isFinite(r[i]))&&Xt(r[t],a)}function Mj(e){let{chartConfig:r,nullAsValid:i=!1,dataSet:t}=e,a=!0;if(r!==void 0){let o=Me(r.series);if(t===void 0||t.length===0)a=!0;else{let n=Xi(r.series);a=!t.some(s=>{let l=!1;switch(o){case L.HistogramSeries:{let c=s;l=Xt(c.minValue,i)&&Xt(c.maxValue,i)}break;case L.ScatterSeries:{let c=s,{x:d,y:u}=r.series[0];l=Xt(c[d],i)&&Xt(c[u],i)}break;case L.ComboLineAndBarSeries:case L.RadarSeries:case L.LineSeries:case L.BarSeries:{let c=s,{x:d}=r.series[0];l=n.some(u=>bw({dataItem:c,x:d,y:u,nullAsValid:i}));break}case L.BoxPlotSeries:{let c=r.series,{showOutliers:d}=r;l=yw({configSeries:c,boxPlotDataItem:s,yList:n,showOutliers:d});break}case L.PieSeries:{let c=s,{x:d,y:u}=r.series[0];Tt(r.series)===V.PieFromFields&&(d=ei,u=pa);let p=c[u];l=c[d]!==void 0&&c[d]!==null&&!ha(p)&&Xt(Number(p),i)}break;case L.GaugeSeries:{let{x:c}=r.series[0];l=Xt(s[c],i)}break}return l})}}return a}function vw(e,r){let i=new Map,t=r??Rd(e);return e.forEach(a=>{if(t.includes(a.id)&&"y"in a){let o=i.get(a.type)??[];o.push(a.y),i.set(a.type,o)}}),i}function Sw(e){let{seriesConfig:r,filteredSeriesIds:i,filteredData:t}=e,a=vw(r,i),o=r.find(l=>l.type===L.LineSeries||l.type===L.RadarSeries)?.stackNegativeValuesToBaseline??!0,n=Number.MIN_SAFE_INTEGER,s=Number.MAX_SAFE_INTEGER;return t.forEach((l,c)=>{a.forEach(d=>{if(o){let u=[],p=[];for(let f=0;f<d.length;f+=1){let m=l[d[f]];m<0?p[c]=(p[c]??0)+m:u[c]=(u[c]??0)+m}u=u.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),p=p.filter(f=>Number.isFinite(f)).sort((f,m)=>f-m),n=Math.max(n,u.length>0?u[u.length-1]:p[p.length-1]),s=Math.min(s,p.length>0?p[0]:u[0])}else{let u=0;for(let p=0;p<d.length;p+=1){let f=l[d[p]];u+=f,n=Math.max(n,u),s=Math.min(s,u)}}})}),{stackedMinY:s,stackedMaxY:n}}function ww(e){let{dataItem:r,...i}=e,t=Zi({key:ye.Min,...i}),a=Zi({key:ye.Max,...i}),o=r[t],n=r[a];return{min:o,max:n}}function Nj(e){let r=Number.NaN,i=Number.NaN,t,a,{chartConfig:o,chartData:n,filteredSeriesIds:s}=e,{series:l}=o;if(l?.length>0){let{x:c}=l[0],d=n.filter(p=>p[c]!==null);[t,a]=Nr(d,p=>p[c]),o.axes?.[1]?.valueFormat.type===L.DateAxisFormat&&t!==void 0&&a!==void 0&&([t,a]=[new Date(t).valueOf(),new Date(a).valueOf()]);let u=Me(o.series);if(u===L.HistogramSeries&&n.length>0){let p=n[0]?.[$l.Start],f=n[n.length-1]?.[$l.End];t=typeof p=="number"?p:t,a=typeof f=="number"?f:a}else if(u===L.BoxPlotSeries){r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let p=Xi(l,s),f=Tt(l),m="standardizeValues"in o?o.standardizeValues===!0:void 0,y=o.series.map(b=>b.visible!==!1?Hr({where:b.query?.where}):"");y.length===0&&y.push(" ");for(let b=0;b<d.length;b+=1)for(let I=0;I<p.length;I+=1){let w=f===V.BoxPlotMultiFieldsAndCategory?p[I]:void 0;for(let F=0;F<y.length;F+=1){let{min:S,max:C}=ww({y:w,splitByValue:y[F],chartSubType:f,showOutliers:!1,standardizeValues:m,dataItem:d[b]});S!=null&&S<r&&(r=S),C!=null&&C>i&&(i=C)}}}else switch(KS(o)){case Rr.Stacked100:{r=Number.NaN,i=Number.NaN;break}case Rr.Stacked:{let{stackedMinY:p,stackedMaxY:f}=Sw({seriesConfig:l,filteredData:d,filteredSeriesIds:s});r=p,i=f;break}case Rr.Side:default:{r=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let p=Xi(l,s);for(let f=0;f<p.length;f+=1){let m=p[f],[y,b]=Nr(d,I=>I[m]);y!==void 0&&y<r&&(r=y),b!==void 0&&b>i&&(i=b)}break}}}return{minY:r,maxY:i,minX:t,maxX:a}}async function ht(e=md().locale){let r=await import("./BXWLL5QW.js");switch(e){case q.Arabic:r=await import("./RKUUSUEE.js");break;case q.Bosnian:r=await import("./CS2SAAHJ.js");break;case q.Bulgarian:r=await import("./DQWJVAF2.js");break;case q.Catalan:r=await import("./MSFCVMK5.js");break;case q.Czech:r=await import("./QMOTHFY3.js");break;case q.Danish:r=await import("./YZ4V7TGJ.js");break;case q.German:r=await import("./NPPGD6V4.js");break;case q.Greek:r=await import("./YUWMRLTU.js");break;case q.EnglishUSA:r=await import("./YQTTGR4O.js");break;case q.Spanish:r=await import("./RSLKFPGU.js");break;case q.Estonian:r=await import("./IO3BD32I.js");break;case q.Finnish:r=await import("./VXC54MEA.js");break;case q.French:r=await import("./ZB5IUUXL.js");break;case q.Hebrew:r=await import("./OLMQ6XTQ.js");break;case q.Croatian:r=await import("./35O2U6AN.js");break;case q.Hungarian:r=await import("./Z2A3PUZN.js");break;case q.Indonesian:r=await import("./7ZF6OSB3.js");break;case q.Italian:r=await import("./ZBOEOFLE.js");break;case q.Japanese:r=await import("./6G77DBJG.js");break;case q.Korean:r=await import("./7ZJPAWWH.js");break;case q.Lithuanian:r=await import("./LTP7YSLX.js");break;case q.Latvian:r=await import("./QWRTIDZV.js");break;case q.NorwegianBokml:r=await import("./6BJW2N3F.js");break;case q.Dutch:r=await import("./JC7G5WFE.js");break;case q.Polish:r=await import("./KTQDXUUJ.js");break;case q.PortugueseBrazil:r=await import("./X6ZWPQTQ.js");break;case q.PortuguesePortugal:r=await import("./D4RR6GTA.js");break;case q.Romanian:r=await import("./BN25QHG2.js");break;case q.Russian:r=await import("./WZUCUCTG.js");break;case q.Serbian:r=await import("./SY25DRBD.js");break;case q.Slovak:r=await import("./YT264MHC.js");break;case q.Slovenian:r=await import("./VWABB263.js");break;case q.Swedish:r=await import("./VFGYVFNG.js");break;case q.Thai:r=await import("./ZT4UGJDF.js");break;case q.Turkish:r=await import("./GKG7AFII.js");break;case q.Ukrainian:r=await import("./HPTZ6C6D.js");break;case q.Vietnamese:r=await import("./YX3AV3EG.js");break;case q.ChineseChina:r=await import("./GL2RZHJZ.js");break;case q.ChineseHongKong:r=await import("./DGCWEZYI.js");break;case q.ChineseTaiwan:r=await import("./S23BV6NV.js");break;case q.English:}return r}var qt=class extends Error{constructor(r,i,t){super(i),this.name=r,this.details=t}},Mt={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Wj(e){return e!==void 0&&(!("url"in e)||!e.url)}function Ya(e){return e!==void 0&&"layer"in e}function xw(e){return e!==void 0&&"type"in e&&e.type==="feature"}function Iw(e){return e!==void 0&&"type"in e&&e.type==="subtype-group"}function eo(e){return e!==void 0&&"type"in e&&e.type==="subtype-sublayer"}function zj(e){return xw(e)||eo(e)}function Re(e){return eo(e)?e.parent:e}function _d(e){return e.capabilities?.query?.supportsDistance||Re(e).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function Cw(e,r){return e.capabilities?.queryAttributeBins?.supportsDate===!0&&(ft(r)||e.capabilities?.queryAttributeBins?.supportsStackBy)}function Vj(e){let r=!1,i=Re(qe(e)).sourceJSON;if(i){let t=i.queryBinsCapabilities?.supportsFixedIntervalBin,a=i.queryBinsCapabilities?.supportedStatisticTypes,o=[Ie.Maximum,Ie.Count].every(n=>a?.includes(n.toUpperCase())||a?.includes(n.toLowerCase()));r=t&&o}return r}function Uj(e){let r;return Ya(e)?r=e.layer:r=e,r}function qe(e){let r;return Ya(e)?r=e.layer:r=e,r}function Tw(e){let r=!1,i=Re(e).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],t=e.capabilities?.query.supportedSpatialAggregationStatistics??{};return r=i.includes("EnvelopeAggregate")||"envelope"in t&&t.envelope===!0,r}function Gj(e){let{chartConfig:r,queryObject:i}=e,t,a=qe(i);return a&&(t={id:a.id,layerType:"ArcGISFeatureLayer"},a.url&&(t.url=a.url)),{...r,iLayer:t}}var Vr=new Map;function Aw(e){let r;switch(e){case Gt.Feet:r="esriSRUnit_Foot";break;case Gt.Miles:r="esriSRUnit_StatuteMile";break;case Gt.NauticalMiles:r="esriSRUnit_NauticalMile";break;case Gt.USNauticalMiles:r="esriSRUnit_USNauticalMile";break;case Gt.Meters:r="esriSRUnit_Meter";break;case Gt.Kilometers:r="esriSRUnit_Kilometer";break}return r}async function Hj(e){let{queryObject:r,queryConfig:i,outputFormat:t,dataFormat:a,outAnalytics:o}=e,{where:n,geometry:s,distance:l,units:c,timeExtent:d}=i,u,p=qe(r),f=Re(p),m={query:{where:Ur([n,f.definitionExpression])}},y=to(s)?.extent?.toJSON();if(y!==void 0){let I=Aw(c),{xmin:w,ymin:F,xmax:S,ymax:C}=y;m.query={...m.query,geometryType:"esriGeometryEnvelope",geometry:`${w},${F},${S},${C}`,distance:l,units:I,inSR:s?.spatialReference?.wkid}}d&&(m.query.time=`${d[0]},${d[1]}`);let b=`${f.url}/${f.layerId}/queryAnalytic?f=${t}&dataFormat=${a}&outAnalytics=${o}`;try{u=(await za(b,m)).data?.features?.[0]?.attributes}catch(I){let w=await ht();throw new qt(Mt.QueryFeaturesError,w.queryError,I)}return u}function Pw(e,r){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`,stackAlias:`charts_stack_alias_${r}`}}async function Qj(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l,errorStrings:c}=e,d;if(r&&"queryAttributeBins"in r&&Number.isFinite(t)&&Number.isFinite(l)&&Number.isFinite(a)&&Number.isFinite(o)&&t>0&&l>0){let u=kw({queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l});try{d=await r.queryAttributeBins(u)}catch(p){throw new qt(Mt.QueryFeaturesError,c.errors.queryError,p)}}return d}async function Kj(e){let{queryConfig:r,x:i,queryObject:t,chartSubType:a,isGaugeByFeature:o}=e,n=qe(t),s;if(t!==void 0){let l=n.objectIdField,{where:c,gdbVersion:d,timeExtent:u,geometry:p,distance:f,units:m}=r,y=$w(u),b=to(p),I=Re(n),w=Ur([c,I.definitionExpression]),F={returnDistinctValues:!0,outFields:o===!0||a===V.PieNoAggregation||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation?[l]:[i],where:w,gdbVersion:d??I.gdbVersion,timeExtent:y??I.timeExtent,geometry:b};Bd(F)&&(F.cacheHint=!0),F.geometry!==void 0&&_d(n)&&(f!==void 0&&(F.distance=f),m!==void 0&&(F.units=m));try{s=await t.queryFeatureCount(F)}catch{s=Number.NaN}}return s}async function Jj(e){let{queryObject:r,queryConfig:i,abortKey:t}=e,{outStatistics:a}=i,o=new Map;if(r!==void 0&&a!==void 0&&a.length>0){let n=a.map(d=>{let{statisticType:u,onStatisticField:p,outStatisticFieldName:f}=d;return{statisticType:u,onStatisticField:p,outStatisticFieldName:f?.toUpperCase()}});i.outStatistics=n,delete i.num,delete i.orderByFields;let s=Md({queryObject:r,queryConfig:i}),l;try{l=await r.queryFeatures(s,{signal:t!==void 0?Vr.get(t)?.signal:void 0})}catch(d){if(!Qa.isAbortError(d)){let u=await ht();throw new qt(Mt.QueryFeaturesError,u.queryError,d)}}let c=l?.features?.[0]?.attributes;c!==void 0&&a.forEach(d=>{let{outStatisticFieldName:u}=d;if(u!==void 0){let p=c[u.toLowerCase()]??c[u.toUpperCase()]??c[u];p!==void 0&&o.set(u,p)}})}return o}async function kd(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:a}=e,o=[],n=qe(r);if(r!==void 0){let s=Bw(n),l=Md({queryObject:r,queryConfig:i,maxRecordCountFactor:s});try{t===!0?"queryObjectIds"in r?o=await r.queryObjectIds(l):(l.outFields=[n.objectIdField],o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features.map(c=>c.attributes[n.objectIdField])):o=(await r.queryFeatures(l,{signal:a!==void 0?Vr.get(a)?.signal:void 0})).features}catch(c){if(!Qa.isAbortError(c)){let d=await ht();throw new qt(Mt.QueryFeaturesError,d.queryError,c)}}}return o}async function Fw(e){let r=[],{featureCount:i,maxRecords:t,queryConfig:a}=e,o=[],n=0,s=a?.start??0;for(;n<Yt.maxParallelRequests&&s<i;){let l={...e};l.queryConfig={...a,start:s,num:Math.min(t,i-s)},r.push(kd(l)),s+=t,n+=1}return o=(await Promise.all(r)).flat(),o}async function Ow(e){let{queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,featureCount:a,noBatch:o,abortKey:n}=e,s=[],l=qe(r);if(r!==void 0){let c=a??1,d=qd(l);if(o!==!0&&c>d&&l.capabilities?.query.supportsPagination){let u=0,p=0,f=Math.ceil(c/d),m=Math.ceil(f/Yt.maxParallelRequests),y=[];for(;p<m;){u=p*Yt.maxParallelRequests*d;let b=Fw({queryConfig:{...i,start:u},queryObject:r,maxRecords:d,featureCount:c,returnUniqueIdsOnly:t,abortKey:n});y.push(b),p+=1}s=(await Promise.all(y)).flat()}else(Number.isNaN(c)||c>=0)&&(s=await kd({queryObject:r,queryConfig:i,returnUniqueIdsOnly:t,abortKey:n}))}return s}async function Zj(e){let{queryObject:r,queryConfig:i,uniqueFeature:t,abortKey:a}=e,o={...i,returnDistinctValues:!0};return await Ow({queryObject:r,abortKey:a,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:t===!0?1:void 0})}function Xj(e){if(e!==void 0){let r=Vr.get(e);r!==void 0&&r.abort(),Vr.set(e,new AbortController)}}function Ew(e){return{lowerBoundaryAlias:`charts_lower_boundary_${e}`,upperBoundaryAlias:`charts_upper_boundary_${e}`}}async function Yj(e){let{queryObject:r,dateField:i,splitByField:t,queryConfig:a,temporalBinning:o}=e,n=[],s;if(o){let{unit:l}=o;try{if(l){let c=Re(qe(r));if(s=Cw(c,t),s&&r&&"queryAttributeBins"in r){let d=await _w({queryObject:r,queryConfig:a,temporalBinning:o,dateField:i,splitByField:t});n=(await r.queryAttributeBins(d)).features}}}catch(c){let d=await ht();throw new qt(Mt.QueryFeaturesError,d.queryError,c)}}if(s===!1){let l=await ht();throw new qt(Mt.QueryFeaturesError,l.queryBinsNotSupported,l.queryBinsNotSupported)}return n}function Bd(e){let r=!e.geometry||e.geometry.type==="extent",i=(e.where??"").toUpperCase(),t=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return r&&t}function qd(e){let r=Re(e)?.sourceJSON,i=r?.maxRecordCount??Yt.maxRecords;return r?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&r?.maxRecordCount!==void 0&&(i=r.maxRecordCount*Yt.maxRecordCountFactor),i}function Ur(e,r){let i,t=Array.from(new Set(e)).filter(a=>a!=null&&a!==""&&!Fr(a));return t.sort((a,o)=>o.length-a.length),t.length===1?[i]=t:t?.forEach(a=>{a!==void 0&&(ft(i)?i=`(${a})`:i?.includes(`(${a})`)||(i=`${i} ${r??"AND"} (${a})`))}),i??"1=1"}function Lw(e,r){let i=r;if(e!==void 0){let t=qe(e),a=Re(t).timeExtent;a?.start!=null&&a?.end!=null&&(i=[a.start.valueOf(),a.end.valueOf()])}return i}function Dw(e){let{queryObject:r,defaultGeometry:i,ignoreViewExtent:t}=e,a=i;if(!t&&Ya(r)){let o=r.view.extent,{xmin:n,xmax:s,ymin:l,ymax:c,zmin:d,zmax:u,spatialReference:p}=o;a={xmin:n,ymin:l,zmin:d,xmax:s,ymax:c,zmax:u,spatialReference:p}}return a}function $w(e){let r;return e!==void 0&&(r=new hd({start:new Date(e[0]),end:new Date(e[1])})),r}function to(e){let r;return e!==void 0&&(r=Ha.fromJSON(e)),r}function jw(e){return e===void 0?["*"]:Array.from(new Set(e))}function ro(e){let{queryObject:r,queryConfig:i,queryType:t}=e,{where:a,outStatistics:o,geometry:n,distance:s,units:l,timeExtent:c,returnDistinctValues:d}=i??{},u=t==="Query"?new Fv({}):new Pv({}),p=qe(r),f=Re(p),m=[a,f.definitionExpression];if(u.where=Ur(m),u.returnDistinctValues=d??!1,o!==void 0){let I=Tw(p);u.outStatistics=o.filter(w=>w.statisticType!==Ie.EnvelopeAggregate||I).map(w=>Ov.fromJSON(w))}let y=to(n);y!==void 0&&(u.geometry=y,i?.spatialRelationship&&(u.spatialRelationship=i.spatialRelationship),_d(p)&&(s!==void 0&&(u.distance=s),l!==void 0&&(u.units=l)));let b;return c&&(b=new hd({start:c?.[0],end:c?.[1]})),b!==void 0?u.timeExtent=b:f.timeExtent!==void 0&&(u.timeExtent=f.timeExtent),Bd(u)&&(u.cacheHint=!0),u}function Rw(e){let r;switch(e){case or.Start:r="first";break;case or.End:r="last";break}return r}async function _w(e){let{queryObject:r,queryConfig:i,temporalBinning:t,dateField:a,splitByField:o}=e,n=qe(r),s=(await ta(r)).find(F=>F.name===a)?.type,l=ro({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:c,unit:d,size:u,trimIncompleteTimeInterval:p,timeAggregationType:f}=t,{start:m,end:y,offset:b,outTimeZone:I}=c===na.CalendarBased?t:{},w=Ew(a);if(l.lowerBoundaryAlias=w.lowerBoundaryAlias,l.upperBoundaryAlias=w.upperBoundaryAlias,s!==ke.DateOnly&&(l.outTimeZone=I??Intl.DateTimeFormat().resolvedOptions().timeZone),l.binParameters={type:"date",field:a,interval:{unit:d,value:u},start:m,end:y,offset:b?{unit:b.unit,value:b.size}:null},l.binParameters.type==="date"&&(n.capabilities?.queryAttributeBins?.supportsSnapToData&&(l.binParameters.snapToData=Rw(f)),n.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(l.binParameters.returnFullIntervalBin=p===!1)),!ft(o)){let F=Re(n).fields.find(S=>S.name===o)?.type;(!F||F==="string"||F==="integer"||F==="small-integer"||F==="big-integer"||F==="double")&&(l.binParameters.stackBy={type:"field",value:o,valueType:F==="string"?"string":"integer"})}return l}function kw(e){let{queryObject:r,queryConfig:i,xStep:t,xMin:a,xMax:o,x:n,y:s,yStep:l}=e,c=ro({queryObject:r,queryConfig:i,queryType:"AttributeBinsQuery"}),d=Pw(n,s);return c.lowerBoundaryAlias=d.lowerBoundaryAlias,c.upperBoundaryAlias=d.upperBoundaryAlias,c.binParameters={type:"fixed-interval",field:n,interval:t,start:a,end:o,stackBy:{value:`FLOOR(${s} / ${l})`,type:"expression",alias:d.stackAlias,valueType:"integer"}},c}function Md(e){let{queryObject:r,queryConfig:i,maxRecordCountFactor:t}=e,{groupByFieldsForStatistics:a,orderByFields:o,gdbVersion:n,start:s,num:l,outFields:c}=i??{},d=ro({queryObject:r,queryConfig:i,queryType:"Query"});d.returnGeometry=!1;let u=qe(r),p=Re(u);return d.outFields=jw(c),d.groupByFieldsForStatistics=a??d.groupByFieldsForStatistics,d.orderByFields=o??[],d.objectIds=i?.objectIds,t!==void 0&&(d.maxRecordCountFactor=t),n!==void 0&&n!==""?d.gdbVersion=n:p.gdbVersion!==void 0&&p.gdbVersion!==""&&(d.gdbVersion=p.gdbVersion),l!==void 0&&(d.num=l),s!==void 0&&(d.start=s,d.num=d.num??qd(u)),d}function Bw(e){return Re(e)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?Yt.maxRecordCountFactor:void 0}function eR(e){let r,i,t;return e!==void 0&&(r=e.type,(r===Yr.UniqueValue||r===Yr.ClassBreaks)&&(i=e.field??void 0,r===Yr.ClassBreaks&&(t=e.normalizationField??void 0))),{rendererType:r,rendererField:i,rendererNormalizationField:t}}var qw=(0,fd.default)(async e=>{let r=e.featureCollection,i,t;if(r?.layers?.[0]!==void 0){let n=r.layers[0];i=n.featureSet,t=n.layerDefinition}else t=e.layerDefinition;let a={};if(i!==void 0){if(a.source=Cv.fromJSON(i).features,t?.fields!==void 0&&(a.fields=t.fields.map(n=>Iv.fromJSON(n))),t?.objectIdField!==void 0&&(a.objectIdField=t.objectIdField),t?.geometryType!==void 0){let n=Ha.fromJSON({geometryType:t.geometryType});n?.type!==void 0&&n?.type!=="extent"&&(a.geometryType=n.type)}t?.spatialReference!==void 0&&(a.spatialReference=t.spatialReference)}else a.id=e.id,t?.id!==void 0&&(a.layerId=t.id),e.url!==void 0&&(a.url=e.url),e.itemId!==void 0&&t?.id!==void 0&&(a.portalItem={id:e.itemId});if(t!==void 0){let n=t.drawingInfo;n?.renderer!==void 0&&(a.renderer=ud.fromJSON(n.renderer))}let o=new Tv(a);return await o.load(),o});async function tR(e){let{layer:r,view:i,chartConfig:t}=e,a;if(r!==void 0){let o=qe(r),n=Re(o);if(i!==void 0&&!n.isTable){n.outFields=["*"];let s=c=>"highlight"in c,l=await i.whenLayerView(n);s(l)&&(a=l)}else a=r}else"iLayer"in t&&t.iLayer&&(a=await qw(t.iLayer));return a}async function ta(e,r){let i=qe(e),t=[];if(i!==void 0){await i.load();let a=r===!0&&i?.popupTemplate?.fieldInfos!==void 0;t=i.fields.map(o=>{let n=o.toJSON();if(a){let s=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===o.name.toLowerCase())?.label;s!==void 0&&s!==o.name&&(n.alias=s)}return n})}return t}function io(e,r=[]){return r.find(i=>i.name===e)}function rR(e){return e.find(r=>r.type===ke.OID)?.name??""}function Nd(e){return[ke.Single,ke.Double,ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function iR(e){return e.type===ke.Date}function aR(e){return[ke.SmallInteger,ke.Integer,ke.BigInteger].includes(e.type)}function oR(e){return e.filter(r=>r.type===ke.Date||r.type===ke.DateOnly||r.type===ke.TimestampOffset).map(r=>r.name)}function nR(e){return e.filter(r=>Nd(r)).map(r=>r.name)}function Mw(e){let{subtypeInfo:r,fieldName:i,fieldValueToMatch:t}=e,a,o=n=>`${n.id}`==`${t}`;return r?.subtypeField===i&&r.subtypes?a=r.subtypes.find(o)?.name:r?.typeIdField===i&&r.types&&(a=r.types.find(o)?.name),a}function Nl(e,r){let i=[],t=Iw(e)?e.subtypes:e[r];return t?.[0]!==void 0&&t.forEach(a=>{let{name:o,domains:n}=a,s="id"in a?a.id:void 0;!s&&"code"in a&&(s=a.code);let l=Object.entries(n??{}),c=[],d=l?.filter(([u,p])=>p?.type==="coded-value")?.map(([u,p])=>{let f={fieldName:u,name:o,codedValues:c};if(p&&"codedValues"in p){let m=p.codedValues.map(({code:y,name:b})=>({name:b,code:y}));f={fieldName:u,name:p.name,codedValues:m}}return f});i.push({id:s??"",name:o,domains:d})}),i.length===0?void 0:i}function sR(e){let r;if(e!==void 0){let i=qe(e);if(!eo(i)&&!ft(i?.typeIdField)){let t=Nl(i,"types");t!==void 0&&(r={typeIdField:i.typeIdField??void 0,types:t})}if(!ft(i?.subtypeField)){let t=Re(i),a=Nl(t,"subtypes");a!==void 0&&(r={...r,subtypeField:t.subtypeField??void 0,subtypes:a})}}return r}function lR(e){let{fieldName:r,fieldValueToMatch:i,subtypeInfo:t,fieldList:a}=e,o;if((typeof i!="string"||!ft(i))&&!ft(r)&&(o=Mw({subtypeInfo:t,fieldName:r,fieldValueToMatch:i}),o===void 0)){let n=io(r,a);if(t?.types!==void 0){let s=t?.types;for(let l of s){let c=l.domains?.filter(d=>d.fieldName===n?.name)??[];for(let d of c)if(o=d?.codedValues?.find(u=>`${u.code}`===i)?.name,o!==void 0)break;if(o!==void 0)break}}o===void 0&&n?.domain!==void 0&&n.domain.type==="codedValue"&&(o=n.domain.codedValues?.find(s=>`${s.code}`==`${i}`)?.name)}return o}async function pR(e){let r=[];return!Re(e).isTable&&e.fieldsIndex&&(r=await cd.getRendererFields(e.renderer,e.fieldsIndex)),r}function Nw(e){let r="/rest/services",i=e.toLowerCase(),t=i.indexOf(r);return i=t>-1?e.substring(0,t):e,`${i}/rest/info`}async function dR(e){let r=!0,i=".arcgis.com/",t=e.url,a=t?.includes(i);if(t&&a&&Re(e).sourceJSON.serviceItemId!==void 0){let o=Nw(t);try{let n=(await za(o,{query:{f:"json"}})).data;if(n.owningTenant!==void 0&&n.owningSystemUrl!==void 0){let s=`${n.owningSystemUrl}/sharing/rest/portals/${n.owningTenant}`,l=(await za(s,{authMode:"auto",query:{f:"json"}})).data,c=new Av({sourceJSON:l});await c.load(),r=c?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return r}async function Ww(e){let{queryObject:r,fieldToMatch:i,returnUndefinedIfNotFound:t}=e,a=await ta(r),o=a.find(s=>i===s.name);o||(o=a.find(s=>i.toUpperCase()===s.name.toUpperCase()));let n=t?"":i;return o?.name??n}async function cR(e){let{fieldsList:r,queryObject:i,returnUndefinedIfNotFound:t}=e,a=r;return a!==void 0&&(a=await Promise.all(a.map(async o=>await Ww({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:t})))),a}function uR(e){let{queryObject:r,chartConfig:i,runtimeDataFilters:t,ignoreViewExtent:a}=e,{series:o,dataFilters:n}=i,{where:s,gdbVersion:l,timeExtent:c,geometry:d,distance:u,units:p,objectIds:f,spatialRelationship:m}=n??{},{where:y,gdbVersion:b,timeExtent:I,geometry:w,distance:F,units:S,objectIds:C,spatialRelationship:E}=t??{},P=o[0],{query:O}=P,{where:j}=O??{},x=Tt(o),T={...O};return T.where=Ur([s,y]),x!==V.BarAndLineSplitBy&&x!==V.BoxPlotMonoFieldAndSplitBy&&x!==V.BoxPlotMonoFieldAndCategoryAndSplitBy&&x!==V.BoxPlotMultiFieldsAndSplitBy&&x!==V.BarAndLineSplitByNoAggregation&&(T.where=Ur([T.where,j])),i.orderOptions?.orderByFields!==void 0&&(T.orderByFields=i.orderOptions.orderByFields),T.gdbVersion=b??l,T.timeExtent=Lw(r,I??c),T.geometry=Dw({queryObject:r,defaultGeometry:w??d,ignoreViewExtent:a}),T.distance=F??u,T.units=S??p,T.objectIds=C??f,T.spatialRelationship=E??m,O?.outStatistics?.[0]?.statisticType===Ie.Count&&(T.returnDistinctValues=O?.returnDistinctValues??!1),T}function zw(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qi={exports:{}};var Vw=Qi.exports,Wl;function Uw(){return Wl||(Wl=1,function(e,r){(function(i,t){t(r)})(Vw,function(i){function t(){for(var h=arguments.length,g=Array(h),v=0;v<h;v++)g[v]=arguments[v];if(g.length>1){g[0]=g[0].slice(0,-1);for(var D=g.length-1,$=1;$<D;++$)g[$]=g[$].slice(1,-1);return g[D]=g[D].slice(1),g.join("")}else return g[0]}function a(h){return"(?:"+h+")"}function o(h){return h===void 0?"undefined":h===null?"null":Object.prototype.toString.call(h).split(" ").pop().split("]").shift().toLowerCase()}function n(h){return h.toUpperCase()}function s(h){return h!=null?h instanceof Array?h:typeof h.length!="number"||h.split||h.setInterval||h.call?[h]:Array.prototype.slice.call(h):[]}function l(h,g){var v=h;if(g)for(var D in g)v[D]=g[D];return v}function c(h){var g="[A-Za-z]",v="[0-9]",D=t(v,"[A-Fa-f]"),$=a(a("%[EFef]"+D+"%"+D+D+"%"+D+D)+"|"+a("%[89A-Fa-f]"+D+"%"+D+D)+"|"+a("%"+D+D)),G="[\\:\\/\\?\\#\\[\\]\\@]",U="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",oe=t(G,U),Fe=h?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",de=h?"[\\uE000-\\uF8FF]":"[]",re=t(g,v,"[\\-\\.\\_\\~]",Fe);a(g+t(g,v,"[\\+\\-\\.]")+"*"),a(a($+"|"+t(re,U,"[\\:]"))+"*");var he=a(a("25[0-5]")+"|"+a("2[0-4]"+v)+"|"+a("1"+v+v)+"|"+a("0?[1-9]"+v)+"|0?0?"+v),Pe=a(he+"\\."+he+"\\."+he+"\\."+he),ee=a(D+"{1,4}"),Oe=a(a(ee+"\\:"+ee)+"|"+Pe),ce=a(a(ee+"\\:")+"{6}"+Oe),Ue=a("\\:\\:"+a(ee+"\\:")+"{5}"+Oe),ar=a(a(ee)+"?\\:\\:"+a(ee+"\\:")+"{4}"+Oe),Xe=a(a(a(ee+"\\:")+"{0,1}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{3}"+Oe),bt=a(a(a(ee+"\\:")+"{0,2}"+ee)+"?\\:\\:"+a(ee+"\\:")+"{2}"+Oe),zt=a(a(a(ee+"\\:")+"{0,3}"+ee)+"?\\:\\:"+ee+"\\:"+Oe),Vt=a(a(a(ee+"\\:")+"{0,4}"+ee)+"?\\:\\:"+Oe),Ge=a(a(a(ee+"\\:")+"{0,5}"+ee)+"?\\:\\:"+ee),vt=a(a(a(ee+"\\:")+"{0,6}"+ee)+"?\\:\\:"),Ut=a([ce,Ue,ar,Xe,bt,zt,Vt,Ge,vt].join("|")),st=a(a(re+"|"+$)+"+");a("[vV]"+D+"+\\."+t(re,U,"[\\:]")+"+"),a(a($+"|"+t(re,U))+"*");var Qr=a($+"|"+t(re,U,"[\\:\\@]"));return a(a($+"|"+t(re,U,"[\\@]"))+"+"),a(a(Qr+"|"+t("[\\/\\?]",de))+"*"),{NOT_SCHEME:new RegExp(t("[^]",g,v,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",re,U),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",re,U),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",re,U),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",re,U),"g"),NOT_QUERY:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]",de),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",re,U,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",re,U),"g"),UNRESERVED:new RegExp(re,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",re,oe),"g"),PCT_ENCODED:new RegExp($,"g"),IPV4ADDRESS:new RegExp("^("+Pe+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Ut+")"+a(a("\\%25|\\%(?!"+D+"{2})")+"("+st+")")+"?\\]?$")}}var d=c(!1),u=c(!0),p=function(){function h(g,v){var D=[],$=!0,G=!1,U=void 0;try{for(var oe=g[Symbol.iterator](),Fe;!($=(Fe=oe.next()).done)&&(D.push(Fe.value),!(v&&D.length===v));$=!0);}catch(de){G=!0,U=de}finally{try{!$&&oe.return&&oe.return()}finally{if(G)throw U}}return D}return function(g,v){if(Array.isArray(g))return g;if(Symbol.iterator in Object(g))return h(g,v);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),f=function(h){if(Array.isArray(h)){for(var g=0,v=Array(h.length);g<h.length;g++)v[g]=h[g];return v}else return Array.from(h)},m=2147483647,y=36,b=1,I=26,w=38,F=700,S=72,C=128,E="-",P=/^xn--/,O=/[^\0-\x7E]/,j=/[\x2E\u3002\uFF0E\uFF61]/g,x={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},T=y-b,k=Math.floor,B=String.fromCharCode;function M(h){throw new RangeError(x[h])}function J(h,g){for(var v=[],D=h.length;D--;)v[D]=g(h[D]);return v}function Z(h,g){var v=h.split("@"),D="";v.length>1&&(D=v[0]+"@",h=v[1]),h=h.replace(j,".");var $=h.split("."),G=J($,g).join(".");return D+G}function K(h){for(var g=[],v=0,D=h.length;v<D;){var $=h.charCodeAt(v++);if($>=55296&&$<=56319&&v<D){var G=h.charCodeAt(v++);(G&64512)==56320?g.push((($&1023)<<10)+(G&1023)+65536):(g.push($),v--)}else g.push($)}return g}var X=function(h){return String.fromCodePoint.apply(String,f(h))},Q=function(h){return h-48<10?h-22:h-65<26?h-65:h-97<26?h-97:y},fe=function(h,g){return h+22+75*(h<26)-((g!=0)<<5)},$e=function(h,g,v){var D=0;for(h=v?k(h/F):h>>1,h+=k(h/g);h>T*I>>1;D+=y)h=k(h/T);return k(D+(T+1)*h/(h+w))},Ee=function(h){var g=[],v=h.length,D=0,$=C,G=S,U=h.lastIndexOf(E);U<0&&(U=0);for(var oe=0;oe<U;++oe)h.charCodeAt(oe)>=128&&M("not-basic"),g.push(h.charCodeAt(oe));for(var Fe=U>0?U+1:0;Fe<v;){for(var de=D,re=1,he=y;;he+=y){Fe>=v&&M("invalid-input");var Pe=Q(h.charCodeAt(Fe++));(Pe>=y||Pe>k((m-D)/re))&&M("overflow"),D+=Pe*re;var ee=he<=G?b:he>=G+I?I:he-G;if(Pe<ee)break;var Oe=y-ee;re>k(m/Oe)&&M("overflow"),re*=Oe}var ce=g.length+1;G=$e(D-de,ce,de==0),k(D/ce)>m-$&&M("overflow"),$+=k(D/ce),D%=ce,g.splice(D++,0,$)}return String.fromCodePoint.apply(String,g)},xe=function(h){var g=[];h=K(h);var v=h.length,D=C,$=0,G=S,U=!0,oe=!1,Fe=void 0;try{for(var de=h[Symbol.iterator](),re;!(U=(re=de.next()).done);U=!0){var he=re.value;he<128&&g.push(B(he))}}catch(jr){oe=!0,Fe=jr}finally{try{!U&&de.return&&de.return()}finally{if(oe)throw Fe}}var Pe=g.length,ee=Pe;for(Pe&&g.push(E);ee<v;){var Oe=m,ce=!0,Ue=!1,ar=void 0;try{for(var Xe=h[Symbol.iterator](),bt;!(ce=(bt=Xe.next()).done);ce=!0){var zt=bt.value;zt>=D&&zt<Oe&&(Oe=zt)}}catch(jr){Ue=!0,ar=jr}finally{try{!ce&&Xe.return&&Xe.return()}finally{if(Ue)throw ar}}var Vt=ee+1;Oe-D>k((m-$)/Vt)&&M("overflow"),$+=(Oe-D)*Vt,D=Oe;var Ge=!0,vt=!1,Ut=void 0;try{for(var st=h[Symbol.iterator](),Qr;!(Ge=(Qr=st.next()).done);Ge=!0){var yo=Qr.value;if(yo<D&&++$>m&&M("overflow"),yo==D){for(var Kr=$,Jr=y;;Jr+=y){var Zr=Jr<=G?b:Jr>=G+I?I:Jr-G;if(Kr<Zr)break;var go=Kr-Zr,bo=y-Zr;g.push(B(fe(Zr+go%bo,0))),Kr=k(go/bo)}g.push(B(fe(Kr,0))),G=$e($,Vt,ee==Pe),$=0,++ee}}}catch(jr){vt=!0,Ut=jr}finally{try{!Ge&&st.return&&st.return()}finally{if(vt)throw Ut}}++$,++D}return g.join("")},ot=function(h){return Z(h,function(g){return P.test(g)?Ee(g.slice(4).toLowerCase()):g})},ze=function(h){return Z(h,function(g){return O.test(g)?"xn--"+xe(g):g})},A={version:"2.1.0",ucs2:{decode:K,encode:X},decode:Ee,encode:xe,toASCII:ze,toUnicode:ot},R={};function N(h){var g=h.charCodeAt(0),v=void 0;return g<16?v="%0"+g.toString(16).toUpperCase():g<128?v="%"+g.toString(16).toUpperCase():g<2048?v="%"+(g>>6|192).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase():v="%"+(g>>12|224).toString(16).toUpperCase()+"%"+(g>>6&63|128).toString(16).toUpperCase()+"%"+(g&63|128).toString(16).toUpperCase(),v}function z(h){for(var g="",v=0,D=h.length;v<D;){var $=parseInt(h.substr(v+1,2),16);if($<128)g+=String.fromCharCode($),v+=3;else if($>=194&&$<224){if(D-v>=6){var G=parseInt(h.substr(v+4,2),16);g+=String.fromCharCode(($&31)<<6|G&63)}else g+=h.substr(v,6);v+=6}else if($>=224){if(D-v>=9){var U=parseInt(h.substr(v+4,2),16),oe=parseInt(h.substr(v+7,2),16);g+=String.fromCharCode(($&15)<<12|(U&63)<<6|oe&63)}else g+=h.substr(v,9);v+=9}else g+=h.substr(v,3),v+=3}return g}function _(h,g){function v(D){var $=z(D);return $.match(g.UNRESERVED)?$:D}return h.scheme&&(h.scheme=String(h.scheme).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_SCHEME,"")),h.userinfo!==void 0&&(h.userinfo=String(h.userinfo).replace(g.PCT_ENCODED,v).replace(g.NOT_USERINFO,N).replace(g.PCT_ENCODED,n)),h.host!==void 0&&(h.host=String(h.host).replace(g.PCT_ENCODED,v).toLowerCase().replace(g.NOT_HOST,N).replace(g.PCT_ENCODED,n)),h.path!==void 0&&(h.path=String(h.path).replace(g.PCT_ENCODED,v).replace(h.scheme?g.NOT_PATH:g.NOT_PATH_NOSCHEME,N).replace(g.PCT_ENCODED,n)),h.query!==void 0&&(h.query=String(h.query).replace(g.PCT_ENCODED,v).replace(g.NOT_QUERY,N).replace(g.PCT_ENCODED,n)),h.fragment!==void 0&&(h.fragment=String(h.fragment).replace(g.PCT_ENCODED,v).replace(g.NOT_FRAGMENT,N).replace(g.PCT_ENCODED,n)),h}function W(h){return h.replace(/^0*(.*)/,"$1")||"0"}function H(h,g){var v=h.match(g.IPV4ADDRESS)||[],D=p(v,2),$=D[1];return $?$.split(".").map(W).join("."):h}function Y(h,g){var v=h.match(g.IPV6ADDRESS)||[],D=p(v,3),$=D[1],G=D[2];if($){for(var U=$.toLowerCase().split("::").reverse(),oe=p(U,2),Fe=oe[0],de=oe[1],re=de?de.split(":").map(W):[],he=Fe.split(":").map(W),Pe=g.IPV4ADDRESS.test(he[he.length-1]),ee=Pe?7:8,Oe=he.length-ee,ce=Array(ee),Ue=0;Ue<ee;++Ue)ce[Ue]=re[Ue]||he[Oe+Ue]||"";Pe&&(ce[ee-1]=H(ce[ee-1],g));var ar=ce.reduce(function(Ge,vt,Ut){if(!vt||vt==="0"){var st=Ge[Ge.length-1];st&&st.index+st.length===Ut?st.length++:Ge.push({index:Ut,length:1})}return Ge},[]),Xe=ar.sort(function(Ge,vt){return vt.length-Ge.length})[0],bt=void 0;if(Xe&&Xe.length>1){var zt=ce.slice(0,Xe.index),Vt=ce.slice(Xe.index+Xe.length);bt=zt.join(":")+"::"+Vt.join(":")}else bt=ce.join(":");return G&&(bt+="%"+G),bt}else return h}var ge=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,be="".match(/(){0}/)[1]===void 0;function ne(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v={},D=g.iri!==!1?u:d;g.reference==="suffix"&&(h=(g.scheme?g.scheme+":":"")+"//"+h);var $=h.match(ge);if($){be?(v.scheme=$[1],v.userinfo=$[3],v.host=$[4],v.port=parseInt($[5],10),v.path=$[6]||"",v.query=$[7],v.fragment=$[8],isNaN(v.port)&&(v.port=$[5])):(v.scheme=$[1]||void 0,v.userinfo=h.indexOf("@")!==-1?$[3]:void 0,v.host=h.indexOf("//")!==-1?$[4]:void 0,v.port=parseInt($[5],10),v.path=$[6]||"",v.query=h.indexOf("?")!==-1?$[7]:void 0,v.fragment=h.indexOf("#")!==-1?$[8]:void 0,isNaN(v.port)&&(v.port=h.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?$[4]:void 0)),v.host&&(v.host=Y(H(v.host,D),D)),v.scheme===void 0&&v.userinfo===void 0&&v.host===void 0&&v.port===void 0&&!v.path&&v.query===void 0?v.reference="same-document":v.scheme===void 0?v.reference="relative":v.fragment===void 0?v.reference="absolute":v.reference="uri",g.reference&&g.reference!=="suffix"&&g.reference!==v.reference&&(v.error=v.error||"URI is not a "+g.reference+" reference.");var G=R[(g.scheme||v.scheme||"").toLowerCase()];if(!g.unicodeSupport&&(!G||!G.unicodeSupport)){if(v.host&&(g.domainHost||G&&G.domainHost))try{v.host=A.toASCII(v.host.replace(D.PCT_ENCODED,z).toLowerCase())}catch(U){v.error=v.error||"Host's domain name can not be converted to ASCII via punycode: "+U}_(v,d)}else _(v,D);G&&G.parse&&G.parse(v,g)}else v.error=v.error||"URI can not be parsed.";return v}function ae(h,g){var v=g.iri!==!1?u:d,D=[];return h.userinfo!==void 0&&(D.push(h.userinfo),D.push("@")),h.host!==void 0&&D.push(Y(H(String(h.host),v),v).replace(v.IPV6ADDRESS,function($,G,U){return"["+G+(U?"%25"+U:"")+"]"})),(typeof h.port=="number"||typeof h.port=="string")&&(D.push(":"),D.push(String(h.port))),D.length?D.join(""):void 0}var le=/^\.\.?\//,Ve=/^\/\.(\/|$)/,yt=/^\/\.\.(\/|$)/,ve=/^\/?(?:.|\n)*?(?=\/|$)/;function Le(h){for(var g=[];h.length;)if(h.match(le))h=h.replace(le,"");else if(h.match(Ve))h=h.replace(Ve,"/");else if(h.match(yt))h=h.replace(yt,"/"),g.pop();else if(h==="."||h==="..")h="";else{var v=h.match(ve);if(v){var D=v[0];h=h.slice(D.length),g.push(D)}else throw new Error("Unexpected dot segment condition")}return g.join("")}function Se(h){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=g.iri?u:d,D=[],$=R[(g.scheme||h.scheme||"").toLowerCase()];if($&&$.serialize&&$.serialize(h,g),h.host&&!v.IPV6ADDRESS.test(h.host)&&(g.domainHost||$&&$.domainHost))try{h.host=g.iri?A.toUnicode(h.host):A.toASCII(h.host.replace(v.PCT_ENCODED,z).toLowerCase())}catch(oe){h.error=h.error||"Host's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+oe}_(h,v),g.reference!=="suffix"&&h.scheme&&(D.push(h.scheme),D.push(":"));var G=ae(h,g);if(G!==void 0&&(g.reference!=="suffix"&&D.push("//"),D.push(G),h.path&&h.path.charAt(0)!=="/"&&D.push("/")),h.path!==void 0){var U=h.path;!g.absolutePath&&(!$||!$.absolutePath)&&(U=Le(U)),G===void 0&&(U=U.replace(/^\/\//,"/%2F")),D.push(U)}return h.query!==void 0&&(D.push("?"),D.push(h.query)),h.fragment!==void 0&&(D.push("#"),D.push(h.fragment)),D.join("")}function Lr(h,g){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},D=arguments[3],$={};return D||(h=ne(Se(h,v),v),g=ne(Se(g,v),v)),v=v||{},!v.tolerant&&g.scheme?($.scheme=g.scheme,$.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.userinfo!==void 0||g.host!==void 0||g.port!==void 0?($.userinfo=g.userinfo,$.host=g.host,$.port=g.port,$.path=Le(g.path||""),$.query=g.query):(g.path?(g.path.charAt(0)==="/"?$.path=Le(g.path):((h.userinfo!==void 0||h.host!==void 0||h.port!==void 0)&&!h.path?$.path="/"+g.path:h.path?$.path=h.path.slice(0,h.path.lastIndexOf("/")+1)+g.path:$.path=g.path,$.path=Le($.path)),$.query=g.query):($.path=h.path,g.query!==void 0?$.query=g.query:$.query=h.query),$.userinfo=h.userinfo,$.host=h.host,$.port=h.port),$.scheme=h.scheme),$.fragment=g.fragment,$}function ra(h,g,v){var D=l({scheme:"null"},v);return Se(Lr(ne(h,D),ne(g,D),D,!0),D)}function ia(h,g){return typeof h=="string"?h=Se(ne(h,g),g):o(h)==="object"&&(h=ne(Se(h,g),g)),h}function Hd(h,g,v){return typeof h=="string"?h=Se(ne(h,v),v):o(h)==="object"&&(h=Se(h,v)),typeof g=="string"?g=Se(ne(g,v),v):o(g)==="object"&&(g=Se(g,v)),h===g}function Qd(h,g){return h&&h.toString().replace(!g||!g.iri?d.ESCAPE:u.ESCAPE,N)}function gt(h,g){return h&&h.toString().replace(!g||!g.iri?d.PCT_ENCODED:u.PCT_ENCODED,z)}var Dr={scheme:"http",domainHost:!0,parse:function(h,g){return h.host||(h.error=h.error||"HTTP URIs must have a host."),h},serialize:function(h,g){var v=String(h.scheme).toLowerCase()==="https";return(h.port===(v?443:80)||h.port==="")&&(h.port=void 0),h.path||(h.path="/"),h}},so={scheme:"https",domainHost:Dr.domainHost,parse:Dr.parse,serialize:Dr.serialize};function lo(h){return typeof h.secure=="boolean"?h.secure:String(h.scheme).toLowerCase()==="wss"}var $r={scheme:"ws",domainHost:!0,parse:function(h,g){var v=h;return v.secure=lo(v),v.resourceName=(v.path||"/")+(v.query?"?"+v.query:""),v.path=void 0,v.query=void 0,v},serialize:function(h,g){if((h.port===(lo(h)?443:80)||h.port==="")&&(h.port=void 0),typeof h.secure=="boolean"&&(h.scheme=h.secure?"wss":"ws",h.secure=void 0),h.resourceName){var v=h.resourceName.split("?"),D=p(v,2),$=D[0],G=D[1];h.path=$&&$!=="/"?$:void 0,h.query=G,h.resourceName=void 0}return h.fragment=void 0,h}},po={scheme:"wss",domainHost:$r.domainHost,parse:$r.parse,serialize:$r.serialize},Kd={},co="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nt="[0-9A-Fa-f]",Jd=a(a("%[EFef]"+nt+"%"+nt+nt+"%"+nt+nt)+"|"+a("%[89A-Fa-f]"+nt+"%"+nt+nt)+"|"+a("%"+nt+nt)),Zd="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",Xd="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",Yd=t(Xd,'[\\"\\\\]'),ec="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",tc=new RegExp(co,"g"),ir=new RegExp(Jd,"g"),rc=new RegExp(t("[^]",Zd,"[\\.]",'[\\"]',Yd),"g"),uo=new RegExp(t("[^]",co,ec),"g"),ic=uo;function aa(h){var g=z(h);return g.match(tc)?g:h}var fo={scheme:"mailto",parse:function(h,g){var v=h,D=v.to=v.path?v.path.split(","):[];if(v.path=void 0,v.query){for(var $=!1,G={},U=v.query.split("&"),oe=0,Fe=U.length;oe<Fe;++oe){var de=U[oe].split("=");switch(de[0]){case"to":for(var re=de[1].split(","),he=0,Pe=re.length;he<Pe;++he)D.push(re[he]);break;case"subject":v.subject=gt(de[1],g);break;case"body":v.body=gt(de[1],g);break;default:$=!0,G[gt(de[0],g)]=gt(de[1],g);break}}$&&(v.headers=G)}v.query=void 0;for(var ee=0,Oe=D.length;ee<Oe;++ee){var ce=D[ee].split("@");if(ce[0]=gt(ce[0]),g.unicodeSupport)ce[1]=gt(ce[1],g).toLowerCase();else try{ce[1]=A.toASCII(gt(ce[1],g).toLowerCase())}catch(Ue){v.error=v.error||"Email address's domain name can not be converted to ASCII via punycode: "+Ue}D[ee]=ce.join("@")}return v},serialize:function(h,g){var v=h,D=s(h.to);if(D){for(var $=0,G=D.length;$<G;++$){var U=String(D[$]),oe=U.lastIndexOf("@"),Fe=U.slice(0,oe).replace(ir,aa).replace(ir,n).replace(rc,N),de=U.slice(oe+1);try{de=g.iri?A.toUnicode(de):A.toASCII(gt(de,g).toLowerCase())}catch(ee){v.error=v.error||"Email address's domain name can not be converted to "+(g.iri?"Unicode":"ASCII")+" via punycode: "+ee}D[$]=Fe+"@"+de}v.path=D.join(",")}var re=h.headers=h.headers||{};h.subject&&(re.subject=h.subject),h.body&&(re.body=h.body);var he=[];for(var Pe in re)re[Pe]!==Kd[Pe]&&he.push(Pe.replace(ir,aa).replace(ir,n).replace(uo,N)+"="+re[Pe].replace(ir,aa).replace(ir,n).replace(ic,N));return he.length&&(v.query=he.join("&")),v}},ac=/^([^\:]+)\:(.*)/,ho={scheme:"urn",parse:function(h,g){var v=h.path&&h.path.match(ac),D=h;if(v){var $=g.scheme||D.scheme||"urn",G=v[1].toLowerCase(),U=v[2],oe=$+":"+(g.nid||G),Fe=R[oe];D.nid=G,D.nss=U,D.path=void 0,Fe&&(D=Fe.parse(D,g))}else D.error=D.error||"URN can not be parsed.";return D},serialize:function(h,g){var v=g.scheme||h.scheme||"urn",D=h.nid,$=v+":"+(g.nid||D),G=R[$];G&&(h=G.serialize(h,g));var U=h,oe=h.nss;return U.path=(D||g.nid)+":"+oe,U}},oc=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,mo={scheme:"urn:uuid",parse:function(h,g){var v=h;return v.uuid=v.nss,v.nss=void 0,!g.tolerant&&(!v.uuid||!v.uuid.match(oc))&&(v.error=v.error||"UUID is not valid."),v},serialize:function(h,g){var v=h;return v.nss=(h.uuid||"").toLowerCase(),v}};R[Dr.scheme]=Dr,R[so.scheme]=so,R[$r.scheme]=$r,R[po.scheme]=po,R[fo.scheme]=fo,R[ho.scheme]=ho,R[mo.scheme]=mo,i.SCHEMES=R,i.pctEncChar=N,i.pctDecChars=z,i.parse=ne,i.removeDotSegments=Le,i.serialize=Se,i.resolveComponents=Lr,i.resolve=ra,i.normalize=ia,i.equal=Hd,i.escapeComponent=Qd,i.unescapeComponent=gt,Object.defineProperty(i,"__esModule",{value:!0})})}(Qi,Qi.exports)),Qi.exports}var zl,Vl;function ao(){return Vl||(Vl=1,zl=function e(r,i){if(r===i)return!0;if(r&&i&&typeof r=="object"&&typeof i=="object"){if(r.constructor!==i.constructor)return!1;var t,a,o;if(Array.isArray(r)){if(t=r.length,t!=i.length)return!1;for(a=t;a--!==0;)if(!e(r[a],i[a]))return!1;return!0}if(r.constructor===RegExp)return r.source===i.source&&r.flags===i.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===i.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===i.toString();if(o=Object.keys(r),t=o.length,t!==Object.keys(i).length)return!1;for(a=t;a--!==0;)if(!Object.prototype.hasOwnProperty.call(i,o[a]))return!1;for(a=t;a--!==0;){var n=o[a];if(!e(r[n],i[n]))return!1}return!0}return r!==r&&i!==i}),zl}var Ul,Gl;function Gw(){return Gl||(Gl=1,Ul=function(e){for(var r=0,i=e.length,t=0,a;t<i;)r++,a=e.charCodeAt(t++),a>=55296&&a<=56319&&t<i&&(a=e.charCodeAt(t),(a&64512)==56320&&t++);return r}),Ul}var Oa,Hl;function Er(){if(Hl)return Oa;Hl=1,Oa={copy:e,checkDataType:r,checkDataTypes:i,coerceToTypes:a,toHash:o,getProperty:l,escapeQuotes:c,equal:ao(),ucs2length:Gw(),varOccurences:d,varReplace:u,schemaHasRules:p,schemaHasRulesExcept:f,schemaUnknownRules:m,toQuotedString:y,getPathExpr:b,getPath:I,getData:S,unescapeFragment:E,unescapeJsonPointer:j,escapeFragment:P,escapeJsonPointer:O};function e(x,T){T=T||{};for(var k in x)T[k]=x[k];return T}function r(x,T,k,B){var M=B?" !== ":" === ",J=B?" || ":" && ",Z=B?"!":"",K=B?"":"!";switch(x){case"null":return T+M+"null";case"array":return Z+"Array.isArray("+T+")";case"object":return"("+Z+T+J+"typeof "+T+M+'"object"'+J+K+"Array.isArray("+T+"))";case"integer":return"(typeof "+T+M+'"number"'+J+K+"("+T+" % 1)"+J+T+M+T+(k?J+Z+"isFinite("+T+")":"")+")";case"number":return"(typeof "+T+M+'"'+x+'"'+(k?J+Z+"isFinite("+T+")":"")+")";default:return"typeof "+T+M+'"'+x+'"'}}function i(x,T,k){switch(x.length){case 1:return r(x[0],T,k,!0);default:var B="",M=o(x);M.array&&M.object&&(B=M.null?"(":"(!"+T+" || ",B+="typeof "+T+' !== "object")',delete M.null,delete M.array,delete M.object),M.number&&delete M.integer;for(var J in M)B+=(B?" && ":"")+r(J,T,k,!0);return B}}var t=o(["string","number","integer","boolean","null"]);function a(x,T){if(Array.isArray(T)){for(var k=[],B=0;B<T.length;B++){var M=T[B];(t[M]||x==="array"&&M==="array")&&(k[k.length]=M)}if(k.length)return k}else{if(t[T])return[T];if(x==="array"&&T==="array")return["array"]}}function o(x){for(var T={},k=0;k<x.length;k++)T[x[k]]=!0;return T}var n=/^[a-z$_][a-z$_0-9]*$/i,s=/'|\\/g;function l(x){return typeof x=="number"?"["+x+"]":n.test(x)?"."+x:"['"+c(x)+"']"}function c(x){return x.replace(s,"\\$&").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\f/g,"\\f").replace(/\t/g,"\\t")}function d(x,T){T+="[^0-9]";var k=x.match(new RegExp(T,"g"));return k?k.length:0}function u(x,T,k){return T+="([^0-9])",k=k.replace(/\$/g,"$$$$"),x.replace(new RegExp(T,"g"),k+"$1")}function p(x,T){if(typeof x=="boolean")return!x;for(var k in x)if(T[k])return!0}function f(x,T,k){if(typeof x=="boolean")return!x&&k!="not";for(var B in x)if(B!=k&&T[B])return!0}function m(x,T){if(typeof x!="boolean"){for(var k in x)if(!T[k])return k}}function y(x){return"'"+c(x)+"'"}function b(x,T,k,B){var M=k?"'/' + "+T+(B?"":".replace(/~/g, '~0').replace(/\\//g, '~1')"):B?"'[' + "+T+" + ']'":"'[\\'' + "+T+" + '\\']'";return C(x,M)}function I(x,T,k){var B=y(k?"/"+O(T):l(T));return C(x,B)}var w=/^\/(?:[^~]|~0|~1)*$/,F=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function S(x,T,k){var B,M,J,Z;if(x==="")return"rootData";if(x[0]=="/"){if(!w.test(x))throw new Error("Invalid JSON-pointer: "+x);M=x,J="rootData"}else{if(Z=x.match(F),!Z)throw new Error("Invalid JSON-pointer: "+x);if(B=+Z[1],M=Z[2],M=="#"){if(B>=T)throw new Error("Cannot access property/index "+B+" levels up, current level is "+T);return k[T-B]}if(B>T)throw new Error("Cannot access data "+B+" levels up, current level is "+T);if(J="data"+(T-B||""),!M)return J}for(var K=J,X=M.split("/"),Q=0;Q<X.length;Q++){var fe=X[Q];fe&&(J+=l(j(fe)),K+=" && "+J)}return K}function C(x,T){return x=='""'?T:(x+" + "+T).replace(/([^\\])' \+ '/g,"$1")}function E(x){return j(decodeURIComponent(x))}function P(x){return encodeURIComponent(O(x))}function O(x){return x.replace(/~/g,"~0").replace(/\//g,"~1")}function j(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}return Oa}var Ea,Ql;function Wd(){if(Ql)return Ea;Ql=1;var e=Er();Ea=r;function r(i){e.copy(i,this)}return Ea}var La={exports:{}},Kl;function Hw(){if(Kl)return La.exports;Kl=1;var e=La.exports=function(t,a,o){typeof a=="function"&&(o=a,a={}),o=a.cb||o;var n=typeof o=="function"?o:o.pre||function(){},s=o.post||function(){};r(a,n,s,t,"",t)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function r(t,a,o,n,s,l,c,d,u,p){if(n&&typeof n=="object"&&!Array.isArray(n)){a(n,s,l,c,d,u,p);for(var f in n){var m=n[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var y=0;y<m.length;y++)r(t,a,o,m[y],s+"/"+f+"/"+y,l,s,f,n,y)}else if(f in e.propsKeywords){if(m&&typeof m=="object")for(var b in m)r(t,a,o,m[b],s+"/"+f+"/"+i(b),l,s,f,n,b)}else(f in e.keywords||t.allKeys&&!(f in e.skipKeywords))&&r(t,a,o,m,s+"/"+f,l,s,f,n)}o(n,s,l,c,d,u,p)}}function i(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}return La.exports}var Da,Jl;function oo(){if(Jl)return Da;Jl=1;var e=Uw(),r=ao(),i=Er(),t=Wd(),a=Hw();Da=o,o.normalizeId=I,o.fullPath=m,o.url=w,o.ids=F,o.inlineRef=u,o.schema=n;function o(S,C,E){var P=this._refs[E];if(typeof P=="string")if(this._refs[P])P=this._refs[P];else return o.call(this,S,C,P);if(P=P||this._schemas[E],P instanceof t)return u(P.schema,this._opts.inlineRefs)?P.schema:P.validate||this._compile(P);var O=n.call(this,C,E),j,x,T;return O&&(j=O.schema,C=O.root,T=O.baseId),j instanceof t?x=j.validate||S.call(this,j.schema,C,void 0,T):j!==void 0&&(x=u(j,this._opts.inlineRefs)?j:S.call(this,j,C,void 0,T)),x}function n(S,C){var E=e.parse(C),P=y(E),O=m(this._getId(S.schema));if(Object.keys(S.schema).length===0||P!==O){var j=I(P),x=this._refs[j];if(typeof x=="string")return s.call(this,S,x,E);if(x instanceof t)x.validate||this._compile(x),S=x;else if(x=this._schemas[j],x instanceof t){if(x.validate||this._compile(x),j==I(C))return{schema:x,root:S,baseId:O};S=x}else return;if(!S.schema)return;O=m(this._getId(S.schema))}return c.call(this,E,O,S.schema,S)}function s(S,C,E){var P=n.call(this,S,C);if(P){var O=P.schema,j=P.baseId;S=P.root;var x=this._getId(O);return x&&(j=w(j,x)),c.call(this,E,j,O,S)}}var l=i.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function c(S,C,E,P){if(S.fragment=S.fragment||"",S.fragment.slice(0,1)=="/"){for(var O=S.fragment.split("/"),j=1;j<O.length;j++){var x=O[j];if(x){if(x=i.unescapeFragment(x),E=E[x],E===void 0)break;var T;if(!l[x]&&(T=this._getId(E),T&&(C=w(C,T)),E.$ref)){var k=w(C,E.$ref),B=n.call(this,P,k);B&&(E=B.schema,P=B.root,C=B.baseId)}}}if(E!==void 0&&E!==P.schema)return{schema:E,root:P,baseId:C}}}var d=i.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function u(S,C){if(C===!1)return!1;if(C===void 0||C===!0)return p(S);if(C)return f(S)<=C}function p(S){var C;if(Array.isArray(S)){for(var E=0;E<S.length;E++)if(C=S[E],typeof C=="object"&&!p(C))return!1}else for(var P in S)if(P=="$ref"||(C=S[P],typeof C=="object"&&!p(C)))return!1;return!0}function f(S){var C=0,E;if(Array.isArray(S)){for(var P=0;P<S.length;P++)if(E=S[P],typeof E=="object"&&(C+=f(E)),C==1/0)return 1/0}else for(var O in S){if(O=="$ref")return 1/0;if(d[O])C++;else if(E=S[O],typeof E=="object"&&(C+=f(E)+1),C==1/0)return 1/0}return C}function m(S,C){C!==!1&&(S=I(S));var E=e.parse(S);return y(E)}function y(S){return e.serialize(S).split("#")[0]+"#"}var b=/#\/?$/;function I(S){return S?S.replace(b,""):""}function w(S,C){return C=I(C),e.resolve(S,C)}function F(S){var C=I(this._getId(S)),E={"":C},P={"":m(C,!1)},O={},j=this;return a(S,{allKeys:!0},function(x,T,k,B,M,J,Z){if(T!==""){var K=j._getId(x),X=E[B],Q=P[B]+"/"+M;if(Z!==void 0&&(Q+="/"+(typeof Z=="number"?Z:i.escapeFragment(Z))),typeof K=="string"){K=X=I(X?e.resolve(X,K):K);var fe=j._refs[K];if(typeof fe=="string"&&(fe=j._refs[fe]),fe&&fe.schema){if(!r(x,fe.schema))throw new Error('id "'+K+'" resolves to more than one schema')}else if(K!=I(Q))if(K[0]=="#"){if(O[K]&&!r(x,O[K]))throw new Error('id "'+K+'" resolves to more than one schema');O[K]=x}else j._refs[K]=Q}E[T]=X,P[T]=Q}}),O}return Da}var $a,Zl;function no(){if(Zl)return $a;Zl=1;var e=oo();$a={Validation:t(r),MissingRef:t(i)};function r(a){this.message="validation failed",this.errors=a,this.ajv=this.validation=!0}i.message=function(a,o){return"can't resolve reference "+o+" from id "+a};function i(a,o,n){this.message=n||i.message(a,o),this.missingRef=e.url(a,o),this.missingSchema=e.normalizeId(e.fullPath(this.missingRef))}function t(a){return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}return $a}var Xl,Yl;function zd(){return Yl||(Yl=1,Xl=function(e,r){r||(r={}),typeof r=="function"&&(r={cmp:r});var i=typeof r.cycles=="boolean"?r.cycles:!1,t=r.cmp&&function(o){return function(n){return function(s,l){var c={key:s,value:n[s]},d={key:l,value:n[l]};return o(c,d)}}}(r.cmp),a=[];return function o(n){if(n&&n.toJSON&&typeof n.toJSON=="function"&&(n=n.toJSON()),n!==void 0){if(typeof n=="number")return isFinite(n)?""+n:"null";if(typeof n!="object")return JSON.stringify(n);var s,l;if(Array.isArray(n)){for(l="[",s=0;s<n.length;s++)s&&(l+=","),l+=o(n[s])||"null";return l+"]"}if(n===null)return"null";if(a.indexOf(n)!==-1){if(i)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var c=a.push(n)-1,d=Object.keys(n).sort(t&&t(n));for(l="",s=0;s<d.length;s++){var u=d[s],p=o(n[u]);p&&(l&&(l+=","),l+=JSON.stringify(u)+":"+p)}return a.splice(c,1),"{"+l+"}"}}(e)}),Xl}var ep,tp;function Vd(){return tp||(tp=1,ep=function(e,r,i){var t="",a=e.schema.$async===!0,o=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),n=e.self._getId(e.schema);if(e.opts.strictKeywords){var s=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(s){var l="unknown keyword: "+s;if(e.opts.strictKeywords==="log")e.logger.warn(l);else throw new Error(l)}}if(e.isTop&&(t+=" var validate = ",a&&(e.async=!0,t+="async "),t+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",n&&(e.opts.sourceCode||e.opts.processCode)&&(t+=" "+("/*# sourceURL="+n+" */")+" ")),typeof e.schema=="boolean"||!(o||e.schema.$ref)){var r="false schema",c=e.level,d=e.dataLevel,u=e.schema[r],p=e.schemaPath+e.util.getProperty(r),f=e.errSchemaPath+"/"+r,S=!e.opts.allErrors,P,m="data"+(d||""),F="valid"+c;if(e.schema===!1){e.isTop?S=!0:t+=" var "+F+" = false; ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'boolean schema is false' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&S?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else e.isTop?a?t+=" return data; ":t+=" validate.errors = null; return true; ":t+=" var "+F+" = true; ";return e.isTop&&(t+=" }; return validate; "),t}if(e.isTop){var I=e.isTop,c=e.level=0,d=e.dataLevel=0,m="data";if(e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema)),e.baseId=e.baseId||e.rootId,delete e.isTop,e.dataPathArr=[""],e.schema.default!==void 0&&e.opts.useDefaults&&e.opts.strictDefaults){var w="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}t+=" var vErrors = null; ",t+=" var errors = 0; ",t+=" if (rootData === undefined) rootData = data; "}else{var c=e.level,d=e.dataLevel,m="data"+(d||"");if(n&&(e.baseId=e.resolve.url(e.baseId,n)),a&&!e.async)throw new Error("async schema in sync schema");t+=" var errs_"+c+" = errors;"}var F="valid"+c,S=!e.opts.allErrors,C="",E="",P,O=e.schema.type,j=Array.isArray(O);if(O&&e.opts.nullable&&e.schema.nullable===!0&&(j?O.indexOf("null")==-1&&(O=O.concat("null")):O!="null"&&(O=[O,"null"],j=!0)),j&&O.length==1&&(O=O[0],j=!1),e.schema.$ref&&o){if(e.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)');e.opts.extendRefs!==!0&&(o=!1,e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"'))}if(e.schema.$comment&&e.opts.$comment&&(t+=" "+e.RULES.all.$comment.code(e,"$comment")),O){if(e.opts.coerceTypes)var x=e.util.coerceToTypes(e.opts.coerceTypes,O);var T=e.RULES.types[O];if(x||j||T===!0||T&&!le(T)){var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",p=e.schemaPath+".type",f=e.errSchemaPath+"/type",k=j?"checkDataTypes":"checkDataType";if(t+=" if ("+e.util[k](O,m,e.opts.strictNumbers,!0)+") { ",x){var B="dataType"+c,M="coerced"+c;t+=" var "+B+" = typeof "+m+"; var "+M+" = undefined; ",e.opts.coerceTypes=="array"&&(t+=" if ("+B+" == 'object' && Array.isArray("+m+") && "+m+".length == 1) { "+m+" = "+m+"[0]; "+B+" = typeof "+m+"; if ("+e.util.checkDataType(e.schema.type,m,e.opts.strictNumbers)+") "+M+" = "+m+"; } "),t+=" if ("+M+" !== undefined) ; ";var J=x;if(J)for(var Z,K=-1,X=J.length-1;K<X;)Z=J[K+=1],Z=="string"?t+=" else if ("+B+" == 'number' || "+B+" == 'boolean') "+M+" = '' + "+m+"; else if ("+m+" === null) "+M+" = ''; ":Z=="number"||Z=="integer"?(t+=" else if ("+B+" == 'boolean' || "+m+" === null || ("+B+" == 'string' && "+m+" && "+m+" == +"+m+" ",Z=="integer"&&(t+=" && !("+m+" % 1)"),t+=")) "+M+" = +"+m+"; "):Z=="boolean"?t+=" else if ("+m+" === 'false' || "+m+" === 0 || "+m+" === null) "+M+" = false; else if ("+m+" === 'true' || "+m+" === 1) "+M+" = true; ":Z=="null"?t+=" else if ("+m+" === '' || "+m+" === 0 || "+m+" === false) "+M+" = null; ":e.opts.coerceTypes=="array"&&Z=="array"&&(t+=" else if ("+B+" == 'string' || "+B+" == 'number' || "+B+" == 'boolean' || "+m+" == null) "+M+" = ["+m+"]; ");t+=" else { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&S?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } if ("+M+" !== undefined) { ";var Q=d?"data"+(d-1||""):"parentData",fe=d?e.dataPathArr[d]:"parentDataProperty";t+=" "+m+" = "+M+"; ",d||(t+="if ("+Q+" !== undefined)"),t+=" "+Q+"["+fe+"] = "+M+"; } "}else{var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&S?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}t+=" } "}}if(e.schema.$ref&&!o)t+=" "+e.RULES.all.$ref.code(e,"$ref")+" ",S&&(t+=" } if (errors === ",I?t+="0":t+="errs_"+c,t+=") { ",E+="}");else{var $e=e.RULES;if($e){for(var T,Ee=-1,xe=$e.length-1;Ee<xe;)if(T=$e[Ee+=1],le(T)){if(T.type&&(t+=" if ("+e.util.checkDataType(T.type,m,e.opts.strictNumbers)+") { "),e.opts.useDefaults){if(T.type=="object"&&e.schema.properties){var u=e.schema.properties,ot=Object.keys(u),ze=ot;if(ze)for(var A,R=-1,N=ze.length-1;R<N;){A=ze[R+=1];var z=u[A];if(z.default!==void 0){var _=m+e.util.getProperty(A);if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}else if(T.type=="array"&&Array.isArray(e.schema.items)){var W=e.schema.items;if(W){for(var z,K=-1,H=W.length-1;K<H;)if(z=W[K+=1],z.default!==void 0){var _=m+"["+K+"]";if(e.compositeRule){if(e.opts.strictDefaults){var w="default is ignored for: "+_;if(e.opts.strictDefaults==="log")e.logger.warn(w);else throw new Error(w)}}else t+=" if ("+_+" === undefined ",e.opts.useDefaults=="empty"&&(t+=" || "+_+" === null || "+_+" === '' "),t+=" ) "+_+" = ",e.opts.useDefaults=="shared"?t+=" "+e.useDefault(z.default)+" ":t+=" "+JSON.stringify(z.default)+" ",t+="; "}}}}var Y=T.rules;if(Y){for(var ge,be=-1,ne=Y.length-1;be<ne;)if(ge=Y[be+=1],Ve(ge)){var ae=ge.code(e,ge.keyword,T.type);ae&&(t+=" "+ae+" ",S&&(C+="}"))}}if(S&&(t+=" "+C+" ",C=""),T.type&&(t+=" } ",O&&O===T.type&&!x)){t+=" else { ";var p=e.schemaPath+".type",f=e.errSchemaPath+"/type",y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(P||"type")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(f)+" , params: { type: '",j?t+=""+O.join(","):t+=""+O,t+="' } ",e.opts.messages!==!1&&(t+=" , message: 'should be ",j?t+=""+O.join(","):t+=""+O,t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+p+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&S?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } "}S&&(t+=" if (errors === ",I?t+="0":t+="errs_"+c,t+=") { ",E+="}")}}}S&&(t+=" "+E+" "),I?(a?(t+=" if (errors === 0) return data; ",t+=" else throw new ValidationError(vErrors); "):(t+=" validate.errors = vErrors; ",t+=" return errors === 0; "),t+=" }; return validate;"):t+=" var "+F+" = errors === errs_"+c+";";function le(ve){for(var Le=ve.rules,Se=0;Se<Le.length;Se++)if(Ve(Le[Se]))return!0}function Ve(ve){return e.schema[ve.keyword]!==void 0||ve.implements&&yt(ve)}function yt(ve){for(var Le=ve.implements,Se=0;Se<Le.length;Se++)if(e.schema[Le[Se]]!==void 0)return!0}return t}),ep}var ja,rp;function Qw(){if(rp)return ja;rp=1;var e=oo(),r=Er(),i=no(),t=zd(),a=Vd(),o=r.ucs2length,n=ao(),s=i.Validation;ja=l;function l(I,w,F,S){var C=this,E=this._opts,P=[void 0],O={},j=[],x={},T=[],k={},B=[];w=w||{schema:I,refVal:P,refs:O};var M=c.call(this,I,w,S),J=this._compilations[M.index];if(M.compiling)return J.callValidate=fe;var Z=this._formats,K=this.RULES;try{var X=$e(I,w,F,S);J.validate=X;var Q=J.callValidate;return Q&&(Q.schema=X.schema,Q.errors=null,Q.refs=X.refs,Q.refVal=X.refVal,Q.root=X.root,Q.$async=X.$async,E.sourceCode&&(Q.source=X.source)),X}finally{d.call(this,I,w,S)}function fe(){var _=J.validate,W=_.apply(this,arguments);return fe.errors=_.errors,W}function $e(_,W,H,Y){var ge=!W||W&&W.schema==_;if(W.schema!=w.schema)return l.call(C,_,W,H,Y);var be=_.$async===!0,ne=a({isTop:!0,schema:_,isRoot:ge,baseId:Y,root:W,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:i.MissingRef,RULES:K,validate:a,util:r,resolve:e,resolveRef:Ee,usePattern:R,useDefault:N,useCustomRule:z,opts:E,formats:Z,logger:C.logger,self:C});ne=b(P,m)+b(j,p)+b(T,f)+b(B,y)+ne,E.processCode&&(ne=E.processCode(ne,_));var ae;try{var le=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",ne);ae=le(C,K,Z,w,P,T,B,n,o,s),P[0]=ae}catch(Ve){throw C.logger.error("Error compiling schema, function code:",ne),Ve}return ae.schema=_,ae.errors=null,ae.refs=O,ae.refVal=P,ae.root=ge?ae:W,be&&(ae.$async=!0),E.sourceCode===!0&&(ae.source={code:ne,patterns:j,defaults:T}),ae}function Ee(_,W,H){W=e.url(_,W);var Y=O[W],ge,be;if(Y!==void 0)return ge=P[Y],be="refVal["+Y+"]",A(ge,be);if(!H&&w.refs){var ne=w.refs[W];if(ne!==void 0)return ge=w.refVal[ne],be=xe(W,ge),A(ge,be)}be=xe(W);var ae=e.call(C,$e,w,W);if(ae===void 0){var le=F&&F[W];le&&(ae=e.inlineRef(le,E.inlineRefs)?le:l.call(C,le,w,F,_))}if(ae===void 0)ot(W);else return ze(W,ae),A(ae,be)}function xe(_,W){var H=P.length;return P[H]=W,O[_]=H,"refVal"+H}function ot(_){delete O[_]}function ze(_,W){var H=O[_];P[H]=W}function A(_,W){return typeof _=="object"||typeof _=="boolean"?{code:W,schema:_,inline:!0}:{code:W,$async:_&&!!_.$async}}function R(_){var W=x[_];return W===void 0&&(W=x[_]=j.length,j[W]=_),"pattern"+W}function N(_){switch(typeof _){case"boolean":case"number":return""+_;case"string":return r.toQuotedString(_);case"object":if(_===null)return"null";var W=t(_),H=k[W];return H===void 0&&(H=k[W]=T.length,T[H]=_),"default"+H}}function z(_,W,H,Y){if(C._opts.validateSchema!==!1){var ge=_.definition.dependencies;if(ge&&!ge.every(function(Se){return Object.prototype.hasOwnProperty.call(H,Se)}))throw new Error("parent schema must have all required keywords: "+ge.join(","));var be=_.definition.validateSchema;if(be){var ne=be(W);if(!ne){var ae="keyword schema is invalid: "+C.errorsText(be.errors);if(C._opts.validateSchema=="log")C.logger.error(ae);else throw new Error(ae)}}}var le=_.definition.compile,Ve=_.definition.inline,yt=_.definition.macro,ve;if(le)ve=le.call(C,W,H,Y);else if(yt)ve=yt.call(C,W,H,Y),E.validateSchema!==!1&&C.validateSchema(ve,!0);else if(Ve)ve=Ve.call(C,Y,_.keyword,W,H);else if(ve=_.definition.validate,!ve)return;if(ve===void 0)throw new Error('custom keyword "'+_.keyword+'"failed to compile');var Le=B.length;return B[Le]=ve,{code:"customRule"+Le,validate:ve}}}function c(I,w,F){var S=u.call(this,I,w,F);return S>=0?{index:S,compiling:!0}:(S=this._compilations.length,this._compilations[S]={schema:I,root:w,baseId:F},{index:S,compiling:!1})}function d(I,w,F){var S=u.call(this,I,w,F);S>=0&&this._compilations.splice(S,1)}function u(I,w,F){for(var S=0;S<this._compilations.length;S++){var C=this._compilations[S];if(C.schema==I&&C.root==w&&C.baseId==F)return S}return-1}function p(I,w){return"var pattern"+I+" = new RegExp("+r.toQuotedString(w[I])+");"}function f(I){return"var default"+I+" = defaults["+I+"];"}function m(I,w){return w[I]===void 0?"":"var refVal"+I+" = refVal["+I+"];"}function y(I){return"var customRule"+I+" = customRules["+I+"];"}function b(I,w){if(!I.length)return"";for(var F="",S=0;S<I.length;S++)F+=w(S,I);return F}return ja}var Ra={exports:{}},ip;function Kw(){if(ip)return Ra.exports;ip=1;var e=Ra.exports=function(){this._cache={}};return e.prototype.put=function(r,i){this._cache[r]=i},e.prototype.get=function(r){return this._cache[r]},e.prototype.del=function(r){delete this._cache[r]},e.prototype.clear=function(){this._cache={}},Ra.exports}var _a,ap;function Jw(){if(ap)return _a;ap=1;var e=Er(),r=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31],t=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,a=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,o=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,n=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,s=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,l=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,c=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,d=/^(?:\/(?:[^~/]|~0|~1)*)*$/,u=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,p=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;_a=f;function f(P){return P=P=="full"?"full":"fast",e.copy(f[P])}f.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":s,url:l,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:c,"json-pointer":d,"json-pointer-uri-fragment":u,"relative-json-pointer":p},f.full={date:y,time:b,"date-time":w,uri:S,"uri-reference":n,"uri-template":s,url:l,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:a,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:E,uuid:c,"json-pointer":d,"json-pointer-uri-fragment":u,"relative-json-pointer":p};function m(P){return P%4===0&&(P%100!==0||P%400===0)}function y(P){var O=P.match(r);if(!O)return!1;var j=+O[1],x=+O[2],T=+O[3];return x>=1&&x<=12&&T>=1&&T<=(x==2&&m(j)?29:i[x])}function b(P,O){var j=P.match(t);if(!j)return!1;var x=j[1],T=j[2],k=j[3],B=j[5];return(x<=23&&T<=59&&k<=59||x==23&&T==59&&k==60)&&(!O||B)}var I=/t|\s/i;function w(P){var O=P.split(I);return O.length==2&&y(O[0])&&b(O[1],!0)}var F=/\/|:/;function S(P){return F.test(P)&&o.test(P)}var C=/[^\\]\\Z/;function E(P){if(C.test(P))return!1;try{return new RegExp(P),!0}catch{return!1}}return _a}var op,np;function Zw(){return np||(np=1,op=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,c="data"+(o||""),d="valid"+a,u,p;if(n=="#"||n=="#/")e.isRoot?(u=e.async,p="validate"):(u=e.root.schema.$async===!0,p="root.refVal[0]");else{var f=e.resolveRef(e.baseId,n,e.isRoot);if(f===void 0){var m=e.MissingRefError.message(e.baseId,n);if(e.opts.missingRefs=="fail"){e.logger.error(m);var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(s)+" , params: { ref: '"+e.util.escapeQuotes(n)+"' } ",e.opts.messages!==!1&&(t+=" , message: 'can\\'t resolve reference "+e.util.escapeQuotes(n)+"' "),e.opts.verbose&&(t+=" , schema: "+e.util.toQuotedString(n)+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var b=t;t=y.pop(),!e.compositeRule&&l?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l&&(t+=" if (false) { ")}else if(e.opts.missingRefs=="ignore")e.logger.warn(m),l&&(t+=" if (true) { ");else throw new e.MissingRefError(e.baseId,n,m)}else if(f.inline){var I=e.util.copy(e);I.level++;var w="valid"+I.level;I.schema=f.schema,I.schemaPath="",I.errSchemaPath=n;var F=e.validate(I).replace(/validate\.schema/g,f.code);t+=" "+F+" ",l&&(t+=" if ("+w+") { ")}else u=f.$async===!0||e.async&&f.$async!==!1,p=f.code}if(p){var y=y||[];y.push(t),t="",e.opts.passContext?t+=" "+p+".call(this, ":t+=" "+p+"( ",t+=" "+c+", (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var S=o?"data"+(o-1||""):"parentData",C=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+S+" , "+C+", rootData) ";var E=t;if(t=y.pop(),u){if(!e.async)throw new Error("async schema referenced by sync schema");l&&(t+=" var "+d+"; "),t+=" try { await "+E+"; ",l&&(t+=" "+d+" = true; "),t+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",l&&(t+=" "+d+" = false; "),t+=" } ",l&&(t+=" if ("+d+") { ")}else t+=" if (!"+E+") { if (vErrors === null) vErrors = "+p+".errors; else vErrors = vErrors.concat("+p+".errors); errors = vErrors.length; } ",l&&(t+=" else { ")}return t}),op}var sp,lp;function Xw(){return lp||(lp=1,sp=function(e,r,i){var t=" ",a=e.schema[r],o=e.schemaPath+e.util.getProperty(r),n=e.errSchemaPath+"/"+r,s=!e.opts.allErrors,l=e.util.copy(e),c="";l.level++;var d="valid"+l.level,u=l.baseId,p=!0,f=a;if(f)for(var m,y=-1,b=f.length-1;y<b;)m=f[y+=1],(e.opts.strictKeywords?typeof m=="object"&&Object.keys(m).length>0||m===!1:e.util.schemaHasRules(m,e.RULES.all))&&(p=!1,l.schema=m,l.schemaPath=o+"["+y+"]",l.errSchemaPath=n+"/"+y,t+=" "+e.validate(l)+" ",l.baseId=u,s&&(t+=" if ("+d+") { ",c+="}"));return s&&(p?t+=" if (true) { ":t+=" "+c.slice(0,-1)+" "),t}),sp}var pp,dp;function Yw(){return dp||(dp=1,pp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=n.every(function(P){return e.opts.strictKeywords?typeof P=="object"&&Object.keys(P).length>0||P===!1:e.util.schemaHasRules(P,e.RULES.all)});if(b){var I=f.baseId;t+=" var "+p+" = errors; var "+u+" = false; ";var w=e.compositeRule;e.compositeRule=f.compositeRule=!0;var F=n;if(F)for(var S,C=-1,E=F.length-1;C<E;)S=F[C+=1],f.schema=S,f.schemaPath=s+"["+C+"]",f.errSchemaPath=l+"/"+C,t+=" "+e.validate(f)+" ",f.baseId=I,t+=" "+u+" = "+u+" || "+y+"; if (!"+u+") { ",m+="}";e.compositeRule=f.compositeRule=w,t+=" "+m+" if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'anyOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should match some schema in anyOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else c&&(t+=" if (true) { ");return t}),pp}var cp,up;function ex(){return up||(up=1,cp=function(e,r,i){var t=" ",a=e.schema[r],o=e.errSchemaPath+"/"+r;e.opts.allErrors;var n=e.util.toQuotedString(a);return e.opts.$comment===!0?t+=" console.log("+n+");":typeof e.opts.$comment=="function"&&(t+=" self._opts.$comment("+n+", "+e.util.toQuotedString(o)+", validate.root.schema);"),t}),cp}var fp,hp;function tx(){return hp||(hp=1,fp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; "),p||(t+=" var schema"+a+" = validate.schema"+s+";"),t+="var "+u+" = equal("+d+", schema"+a+"); if (!"+u+") { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'const' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValue: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to constant' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",c&&(t+=" else { "),t}),fp}var mp,yp;function rx(){return yp||(yp=1,mp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,w="data"+I,F=e.baseId,S=e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all);if(t+="var "+p+" = errors;var "+u+";",S){var C=e.compositeRule;e.compositeRule=f.compositeRule=!0,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+y+" = false; for (var "+b+" = 0; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var E=d+"["+b+"]";f.dataPathArr[I]=b;var P=e.validate(f);f.baseId=F,e.util.varOccurences(P,w)<2?t+=" "+e.util.varReplace(P,w,E)+" ":t+=" var "+w+" = "+E+"; "+P+" ",t+=" if ("+y+") break; } ",e.compositeRule=f.compositeRule=C,t+=" "+m+" if (!"+y+") {"}else t+=" if ("+d+".length == 0) {";var O=O||[];O.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var j=t;return t=O.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",S&&(t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}),mp}var gp,bp;function ix(){return bp||(bp=1,gp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y={},b={},I=e.opts.ownProperties;for(C in n)if(C!="__proto__"){var w=n[C],F=Array.isArray(w)?b:y;F[C]=w}t+="var "+u+" = errors;";var S=e.errorPath;t+="var missing"+a+";";for(var C in b)if(F=b[C],F.length){if(t+=" if ( "+d+e.util.getProperty(C)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(C)+"') "),c){t+=" && ( ";var E=F;if(E)for(var P,O=-1,j=E.length-1;O<j;){P=E[O+=1],O&&(t+=" || ");var x=e.util.getProperty(P),T=d+x;t+=" ( ( "+T+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(P)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?P:x)+") ) "}t+=")) { ";var k="missing"+a,B="' + "+k+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(S,k,!0):S+" + "+k);var M=M||[];M.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(C)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(C)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var J=t;t=M.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+J+"]); ":t+=" validate.errors = ["+J+"]; return false; ":t+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else{t+=" ) { ";var Z=F;if(Z)for(var P,K=-1,X=Z.length-1;K<X;){P=Z[K+=1];var x=e.util.getProperty(P),B=e.util.escapeQuotes(P),T=d+x;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(S,P,e.opts.jsonPointers)),t+=" if ( "+T+" === undefined ",I&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(P)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'dependencies' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { property: '"+e.util.escapeQuotes(C)+"', missingProperty: '"+B+"', depsCount: "+F.length+", deps: '"+e.util.escapeQuotes(F.length==1?F[0]:F.join(", "))+"' } ",e.opts.messages!==!1&&(t+=" , message: 'should have ",F.length==1?t+="property "+e.util.escapeQuotes(F[0]):t+="properties "+e.util.escapeQuotes(F.join(", ")),t+=" when property "+e.util.escapeQuotes(C)+" is present' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}t+=" } ",c&&(f+="}",t+=" else { ")}e.errorPath=S;var Q=p.baseId;for(var C in y){var w=y[C];(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))&&(t+=" "+m+" = true; if ( "+d+e.util.getProperty(C)+" !== undefined ",I&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(C)+"') "),t+=") { ",p.schema=w,p.schemaPath=s+e.util.getProperty(C),p.errSchemaPath=l+"/"+e.util.escapeFragment(C),t+=" "+e.validate(p)+" ",p.baseId=Q,t+=" } ",c&&(t+=" if ("+m+") { ",f+="}"))}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),gp}var vp,Sp;function ax(){return Sp||(Sp=1,vp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="i"+a,m="schema"+a;p||(t+=" var "+m+" = validate.schema"+s+";"),t+="var "+u+";",p&&(t+=" if (schema"+a+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+a+")) "+u+" = false; else {"),t+=""+u+" = false;for (var "+f+"=0; "+f+"<"+m+".length; "+f+"++) if (equal("+d+", "+m+"["+f+"])) { "+u+" = true; break; }",p&&(t+=" } "),t+=" if (!"+u+") { ";var y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { allowedValues: schema"+a+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be equal to one of the allowed values' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",c&&(t+=" else { "),t}),vp}var wp,xp;function ox(){return xp||(xp=1,wp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||"");if(e.opts.format===!1)return c&&(t+=" if (true) { "),t;var u=e.opts.$data&&n&&n.$data,p;u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=e.opts.unknownFormats,m=Array.isArray(f);if(u){var y="format"+a,b="isObject"+a,I="formatType"+a;t+=" var "+y+" = formats["+p+"]; var "+b+" = typeof "+y+" == 'object' && !("+y+" instanceof RegExp) && "+y+".validate; var "+I+" = "+b+" && "+y+".type || 'string'; if ("+b+") { ",e.async&&(t+=" var async"+a+" = "+y+".async; "),t+=" "+y+" = "+y+".validate; } if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" (",f!="ignore"&&(t+=" ("+p+" && !"+y+" ",m&&(t+=" && self._opts.unknownFormats.indexOf("+p+") == -1 "),t+=") || "),t+=" ("+y+" && "+I+" == '"+i+"' && !(typeof "+y+" == 'function' ? ",e.async?t+=" (async"+a+" ? await "+y+"("+d+") : "+y+"("+d+")) ":t+=" "+y+"("+d+") ",t+=" : "+y+".test("+d+"))))) {"}else{var y=e.formats[n];if(!y){if(f=="ignore")return e.logger.warn('unknown format "'+n+'" ignored in schema at path "'+e.errSchemaPath+'"'),c&&(t+=" if (true) { "),t;if(m&&f.indexOf(n)>=0)return c&&(t+=" if (true) { "),t;throw new Error('unknown format "'+n+'" is used in schema at path "'+e.errSchemaPath+'"')}var b=typeof y=="object"&&!(y instanceof RegExp)&&y.validate,I=b&&y.type||"string";if(b){var w=y.async===!0;y=y.validate}if(I!=i)return c&&(t+=" if (true) { "),t;if(w){if(!e.async)throw new Error("async format in sync schema");var F="formats"+e.util.getProperty(n)+".validate";t+=" if (!(await "+F+"("+d+"))) { "}else{t+=" if (! ";var F="formats"+e.util.getProperty(n);b&&(F+=".validate"),typeof y=="function"?t+=" "+F+"("+d+") ":t+=" "+F+".test("+d+") ",t+=") { "}}var S=S||[];S.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'format' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { format: ",u?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match format "`,u?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var C=t;return t=S.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+C+"]); ":t+=" validate.errors = ["+C+"]; return false; ":t+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",c&&(t+=" else { "),t}),wp}var Ip,Cp;function nx(){return Cp||(Cp=1,Ip=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e);f.level++;var m="valid"+f.level,y=e.schema.then,b=e.schema.else,I=y!==void 0&&(e.opts.strictKeywords?typeof y=="object"&&Object.keys(y).length>0||y===!1:e.util.schemaHasRules(y,e.RULES.all)),w=b!==void 0&&(e.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:e.util.schemaHasRules(b,e.RULES.all)),F=f.baseId;if(I||w){var S;f.createErrors=!1,f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" var "+p+" = errors; var "+u+" = true; ";var C=e.compositeRule;e.compositeRule=f.compositeRule=!0,t+=" "+e.validate(f)+" ",f.baseId=F,f.createErrors=!0,t+=" errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; } ",e.compositeRule=f.compositeRule=C,I?(t+=" if ("+m+") { ",f.schema=e.schema.then,f.schemaPath=e.schemaPath+".then",f.errSchemaPath=e.errSchemaPath+"/then",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+u+" = "+m+"; ",I&&w?(S="ifClause"+a,t+=" var "+S+" = 'then'; "):S="'then'",t+=" } ",w&&(t+=" else { ")):t+=" if (!"+m+") { ",w&&(f.schema=e.schema.else,f.schemaPath=e.schemaPath+".else",f.errSchemaPath=e.errSchemaPath+"/else",t+=" "+e.validate(f)+" ",f.baseId=F,t+=" "+u+" = "+m+"; ",I&&w?(S="ifClause"+a,t+=" var "+S+" = 'else'; "):S="'else'",t+=" } "),t+=" if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { failingKeyword: "+S+" } ",e.opts.messages!==!1&&(t+=` , message: 'should match "' + `+S+` + '" schema' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+=" } ",c&&(t+=" else { ")}else c&&(t+=" if (true) { ");return t}),Ip}var Tp,Ap;function sx(){return Ap||(Ap=1,Tp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b="i"+a,I=f.dataLevel=e.dataLevel+1,w="data"+I,F=e.baseId;if(t+="var "+p+" = errors;var "+u+";",Array.isArray(n)){var S=e.schema.additionalItems;if(S===!1){t+=" "+u+" = "+d+".length <= "+n.length+"; ";var C=l;l=e.errSchemaPath+"/additionalItems",t+=" if (!"+u+") { ";var E=E||[];E.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+n.length+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have more than "+n.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var P=t;t=E.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+P+"]); ":t+=" validate.errors = ["+P+"]; return false; ":t+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",l=C,c&&(m+="}",t+=" else { ")}var O=n;if(O){for(var j,x=-1,T=O.length-1;x<T;)if(j=O[x+=1],e.opts.strictKeywords?typeof j=="object"&&Object.keys(j).length>0||j===!1:e.util.schemaHasRules(j,e.RULES.all)){t+=" "+y+" = true; if ("+d+".length > "+x+") { ";var k=d+"["+x+"]";f.schema=j,f.schemaPath=s+"["+x+"]",f.errSchemaPath=l+"/"+x,f.errorPath=e.util.getPathExpr(e.errorPath,x,e.opts.jsonPointers,!0),f.dataPathArr[I]=x;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",t+=" } ",c&&(t+=" if ("+y+") { ",m+="}")}}if(typeof S=="object"&&(e.opts.strictKeywords?typeof S=="object"&&Object.keys(S).length>0||S===!1:e.util.schemaHasRules(S,e.RULES.all))){f.schema=S,f.schemaPath=e.schemaPath+".additionalItems",f.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+y+" = true; if ("+d+".length > "+n.length+") { for (var "+b+" = "+n.length+"; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",c&&(t+=" if (!"+y+") break; "),t+=" } } ",c&&(t+=" if ("+y+") { ",m+="}")}}else if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){f.schema=n,f.schemaPath=s,f.errSchemaPath=l,t+=" for (var "+b+" = 0; "+b+" < "+d+".length; "+b+"++) { ",f.errorPath=e.util.getPathExpr(e.errorPath,b,e.opts.jsonPointers,!0);var k=d+"["+b+"]";f.dataPathArr[I]=b;var B=e.validate(f);f.baseId=F,e.util.varOccurences(B,w)<2?t+=" "+e.util.varReplace(B,w,k)+" ":t+=" var "+w+" = "+k+"; "+B+" ",c&&(t+=" if (!"+y+") break; "),t+=" }"}return c&&(t+=" "+m+" if ("+p+" == errors) {"),t}),Tp}var Pp,Fp;function Op(){return Fp||(Fp=1,Pp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,F,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=r=="maximum",m=f?"exclusiveMaximum":"exclusiveMinimum",y=e.schema[m],b=e.opts.$data&&y&&y.$data,I=f?"<":">",w=f?">":"<",F=void 0;if(!(u||typeof n=="number"||n===void 0))throw new Error(r+" must be number");if(!(b||y===void 0||typeof y=="number"||typeof y=="boolean"))throw new Error(m+" must be number or boolean");if(b){var S=e.util.getData(y.$data,o,e.dataPathArr),C="exclusive"+a,E="exclType"+a,P="exclIsNumber"+a,O="op"+a,j="' + "+O+" + '";t+=" var schemaExcl"+a+" = "+S+"; ",S="schemaExcl"+a,t+=" var "+C+"; var "+E+" = typeof "+S+"; if ("+E+" != 'boolean' && "+E+" != 'undefined' && "+E+" != 'number') { ";var F=m,x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: '"+m+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+E+" == 'number' ? ( ("+C+" = "+p+" === undefined || "+S+" "+I+"= "+p+") ? "+d+" "+w+"= "+S+" : "+d+" "+w+" "+p+" ) : ( ("+C+" = "+S+" === true) ? "+d+" "+w+"= "+p+" : "+d+" "+w+" "+p+" ) || "+d+" !== "+d+") { var op"+a+" = "+C+" ? '"+I+"' : '"+I+"='; ",n===void 0&&(F=m,l=e.errSchemaPath+"/"+m,p=S,u=b)}else{var P=typeof y=="number",j=I;if(P&&u){var O="'"+j+"'";t+=" if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" ( "+p+" === undefined || "+y+" "+I+"= "+p+" ? "+d+" "+w+"= "+y+" : "+d+" "+w+" "+p+" ) || "+d+" !== "+d+") { "}else{P&&n===void 0?(C=!0,F=m,l=e.errSchemaPath+"/"+m,p=y,w+="="):(P&&(p=Math[f?"min":"max"](y,n)),y===(P?p:!0)?(C=!0,F=m,l=e.errSchemaPath+"/"+m,w+="="):(C=!1,j+="="));var O="'"+j+"'";t+=" if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+" "+w+" "+p+" || "+d+" !== "+d+") { "}}F=F||r;var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(F||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { comparison: "+O+", limit: "+p+", exclusive: "+C+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be "+j+" ",u?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;return t=x.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",c&&(t+=" else { "),t}),Pp}var Ep,Lp;function Dp(){return Lp||(Lp=1,Ep=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxItems"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" "+d+".length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxItems"?t+="more":t+="fewer",t+=" than ",u?t+="' + "+p+" + '":t+=""+n,t+=" items' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",c&&(t+=" else { "),t}),Ep}var $p,jp;function Rp(){return jp||(jp=1,$p=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxLength"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),e.opts.unicode===!1?t+=" "+d+".length ":t+=" ucs2length("+d+") ",t+=" "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be ",r=="maxLength"?t+="longer":t+="shorter",t+=" than ",u?t+="' + "+p+" + '":t+=""+n,t+=" characters' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",c&&(t+=" else { "),t}),$p}var _p,kp;function Bp(){return kp||(kp=1,_p=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,m,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");var f=r=="maxProperties"?">":"<";t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'number') || "),t+=" Object.keys("+d+").length "+f+" "+p+") { ";var m=r,y=y||[];y.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(m||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have ",r=="maxProperties"?t+="more":t+="fewer",t+=" than ",u?t+="' + "+p+" + '":t+=""+n,t+=" properties' "),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var b=t;return t=y.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+b+"]); ":t+=" validate.errors = ["+b+"]; return false; ":t+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",c&&(t+=" else { "),t}),_p}var qp,Mp;function lx(){return Mp||(Mp=1,qp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;if(u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n,!(u||typeof n=="number"))throw new Error(r+" must be number");t+="var division"+a+";if (",u&&(t+=" "+p+" !== undefined && ( typeof "+p+" != 'number' || "),t+=" (division"+a+" = "+d+" / "+p+", ",e.opts.multipleOfPrecision?t+=" Math.abs(Math.round(division"+a+") - division"+a+") > 1e-"+e.opts.multipleOfPrecision+" ":t+=" division"+a+" !== parseInt(division"+a+") ",t+=" ) ",u&&(t+=" ) "),t+=" ) { ";var f=f||[];f.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { multipleOf: "+p+" } ",e.opts.messages!==!1&&(t+=" , message: 'should be multiple of ",u?t+="' + "+p:t+=""+p+"'"),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var m=t;return t=f.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+m+"]); ":t+=" validate.errors = ["+m+"]; return false; ":t+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",c&&(t+=" else { "),t}),qp}var Np,Wp;function px(){return Wp||(Wp=1,Np=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e);p.level++;var f="valid"+p.level;if(e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l,t+=" var "+u+" = errors; ";var m=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.createErrors=!1;var y;p.opts.allErrors&&(y=p.opts.allErrors,p.opts.allErrors=!1),t+=" "+e.validate(p)+" ",p.createErrors=!0,y&&(p.opts.allErrors=y),e.compositeRule=p.compositeRule=m,t+=" if ("+f+") { ";var b=b||[];b.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var I=t;t=b.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+I+"]); ":t+=" validate.errors = ["+I+"]; return false; ":t+=" var err = "+I+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { errors = "+u+"; if (vErrors !== null) { if ("+u+") vErrors.length = "+u+"; else vErrors = null; } ",e.opts.allErrors&&(t+=" } ")}else t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: 'not' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: {} ",e.opts.messages!==!1&&(t+=" , message: 'should NOT be valid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",c&&(t+=" if (false) { ");return t}),Np}var zp,Vp;function dx(){return Vp||(Vp=1,zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p="errs__"+a,f=e.util.copy(e),m="";f.level++;var y="valid"+f.level,b=f.baseId,I="prevValid"+a,w="passingSchemas"+a;t+="var "+p+" = errors , "+I+" = false , "+u+" = false , "+w+" = null; ";var F=e.compositeRule;e.compositeRule=f.compositeRule=!0;var S=n;if(S)for(var C,E=-1,P=S.length-1;E<P;)C=S[E+=1],(e.opts.strictKeywords?typeof C=="object"&&Object.keys(C).length>0||C===!1:e.util.schemaHasRules(C,e.RULES.all))?(f.schema=C,f.schemaPath=s+"["+E+"]",f.errSchemaPath=l+"/"+E,t+=" "+e.validate(f)+" ",f.baseId=b):t+=" var "+y+" = true; ",E&&(t+=" if ("+y+" && "+I+") { "+u+" = false; "+w+" = ["+w+", "+E+"]; } else { ",m+="}"),t+=" if ("+y+") { "+u+" = "+I+" = true; "+w+" = "+E+"; }";return e.compositeRule=f.compositeRule=F,t+=""+m+"if (!"+u+") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { passingSchemas: "+w+" } ",e.opts.messages!==!1&&(t+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),t+="} else { errors = "+p+"; if (vErrors !== null) { if ("+p+") vErrors.length = "+p+"; else vErrors = null; }",e.opts.allErrors&&(t+=" } "),t}),zp}var Up,Gp;function cx(){return Gp||(Gp=1,Up=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u=e.opts.$data&&n&&n.$data,p;u?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",p="schema"+a):p=n;var f=u?"(new RegExp("+p+"))":e.usePattern(n);t+="if ( ",u&&(t+=" ("+p+" !== undefined && typeof "+p+" != 'string') || "),t+=" !"+f+".test("+d+") ) { ";var m=m||[];m.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { pattern: ",u?t+=""+p:t+=""+e.util.toQuotedString(n),t+=" } ",e.opts.messages!==!1&&(t+=` , message: 'should match pattern "`,u?t+="' + "+p+" + '":t+=""+e.util.escapeQuotes(n),t+=`"' `),e.opts.verbose&&(t+=" , schema: ",u?t+="validate.schema"+s:t+=""+e.util.toQuotedString(n),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var y=t;return t=m.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+y+"]); ":t+=" validate.errors = ["+y+"]; return false; ":t+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="} ",c&&(t+=" else { "),t}),Up}var Hp,Qp;function ux(){return Qp||(Qp=1,Hp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level,y="key"+a,b="idx"+a,I=p.dataLevel=e.dataLevel+1,w="data"+I,F="dataProperties"+a,S=Object.keys(n||{}).filter(K),C=e.schema.patternProperties||{},E=Object.keys(C).filter(K),P=e.schema.additionalProperties,O=S.length||E.length,j=P===!1,x=typeof P=="object"&&Object.keys(P).length,T=e.opts.removeAdditional,k=j||x||T,B=e.opts.ownProperties,M=e.baseId,J=e.schema.required;if(J&&!(e.opts.$data&&J.$data)&&J.length<e.opts.loopRequired)var Z=e.util.toHash(J);function K(ia){return ia!=="__proto__"}if(t+="var "+u+" = errors;var "+m+" = true;",B&&(t+=" var "+F+" = undefined;"),k){if(B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",O){if(t+=" var isAdditional"+a+" = !(false ",S.length)if(S.length>8)t+=" || validate.schema"+s+".hasOwnProperty("+y+") ";else{var X=S;if(X)for(var Q,fe=-1,$e=X.length-1;fe<$e;)Q=X[fe+=1],t+=" || "+y+" == "+e.util.toQuotedString(Q)+" "}if(E.length){var Ee=E;if(Ee)for(var xe,ot=-1,ze=Ee.length-1;ot<ze;)xe=Ee[ot+=1],t+=" || "+e.usePattern(xe)+".test("+y+") "}t+=" ); if (isAdditional"+a+") { "}if(T=="all")t+=" delete "+d+"["+y+"]; ";else{var A=e.errorPath,R="' + "+y+" + '";if(e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers)),j)if(T)t+=" delete "+d+"["+y+"]; ";else{t+=" "+m+" = false; ";var N=l;l=e.errSchemaPath+"/additionalProperties";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'additionalProperties' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { additionalProperty: '"+R+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is an invalid additional property":t+="should NOT have additional properties",t+="' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,c&&(t+=" break; ")}else if(x)if(T=="failing"){t+=" var "+u+" = errors; ";var W=e.compositeRule;e.compositeRule=p.compositeRule=!0,p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",t+=" if (!"+m+") { errors = "+u+"; if (validate.errors !== null) { if (errors) validate.errors.length = errors; else validate.errors = null; } delete "+d+"["+y+"]; } ",e.compositeRule=p.compositeRule=W}else{p.schema=P,p.schemaPath=e.schemaPath+".additionalProperties",p.errSchemaPath=e.errSchemaPath+"/additionalProperties",p.errorPath=e.opts._errorDataPathProperty?e.errorPath:e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",c&&(t+=" if (!"+m+") break; ")}e.errorPath=A}O&&(t+=" } "),t+=" } ",c&&(t+=" if ("+m+") { ",f+="}")}var ge=e.opts.useDefaults&&!e.compositeRule;if(S.length){var be=S;if(be)for(var Q,ne=-1,ae=be.length-1;ne<ae;){Q=be[ne+=1];var le=n[Q];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){var Ve=e.util.getProperty(Q),H=d+Ve,yt=ge&&le.default!==void 0;p.schema=le,p.schemaPath=s+Ve,p.errSchemaPath=l+"/"+e.util.escapeFragment(Q),p.errorPath=e.util.getPath(e.errorPath,Q,e.opts.jsonPointers),p.dataPathArr[I]=e.util.toQuotedString(Q);var Y=e.validate(p);if(p.baseId=M,e.util.varOccurences(Y,w)<2){Y=e.util.varReplace(Y,w,H);var ve=H}else{var ve=w;t+=" var "+w+" = "+H+"; "}if(yt)t+=" "+Y+" ";else{if(Z&&Z[Q]){t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = false; ";var A=e.errorPath,N=l,Le=e.util.escapeQuotes(Q);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(A,Q,e.opts.jsonPointers)),l=e.errSchemaPath+"/required";var z=z||[];z.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+Le+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+Le+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var _=t;t=z.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+_+"]); ":t+=" validate.errors = ["+_+"]; return false; ":t+=" var err = "+_+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",l=N,e.errorPath=A,t+=" } else { "}else c?(t+=" if ( "+ve+" === undefined ",B&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=") { "+m+" = true; } else { "):(t+=" if ("+ve+" !== undefined ",B&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(Q)+"') "),t+=" ) { ");t+=" "+Y+" } "}}c&&(t+=" if ("+m+") { ",f+="}")}}if(E.length){var Se=E;if(Se)for(var xe,Lr=-1,ra=Se.length-1;Lr<ra;){xe=Se[Lr+=1];var le=C[xe];if(e.opts.strictKeywords?typeof le=="object"&&Object.keys(le).length>0||le===!1:e.util.schemaHasRules(le,e.RULES.all)){p.schema=le,p.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(xe),p.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(xe),B?t+=" "+F+" = "+F+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+F+".length; "+b+"++) { var "+y+" = "+F+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" if ("+e.usePattern(xe)+".test("+y+")) { ",p.errorPath=e.util.getPathExpr(e.errorPath,y,e.opts.jsonPointers);var H=d+"["+y+"]";p.dataPathArr[I]=y;var Y=e.validate(p);p.baseId=M,e.util.varOccurences(Y,w)<2?t+=" "+e.util.varReplace(Y,w,H)+" ":t+=" var "+w+" = "+H+"; "+Y+" ",c&&(t+=" if (!"+m+") break; "),t+=" } ",c&&(t+=" else "+m+" = true; "),t+=" } ",c&&(t+=" if ("+m+") { ",f+="}")}}}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),Hp}var Kp,Jp;function fx(){return Jp||(Jp=1,Kp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="errs__"+a,p=e.util.copy(e),f="";p.level++;var m="valid"+p.level;if(t+="var "+u+" = errors;",e.opts.strictKeywords?typeof n=="object"&&Object.keys(n).length>0||n===!1:e.util.schemaHasRules(n,e.RULES.all)){p.schema=n,p.schemaPath=s,p.errSchemaPath=l;var y="key"+a,b="idx"+a,I="i"+a,w="' + "+y+" + '",F=p.dataLevel=e.dataLevel+1,S="data"+F,C="dataProperties"+a,E=e.opts.ownProperties,P=e.baseId;E&&(t+=" var "+C+" = undefined; "),E?t+=" "+C+" = "+C+" || Object.keys("+d+"); for (var "+b+"=0; "+b+"<"+C+".length; "+b+"++) { var "+y+" = "+C+"["+b+"]; ":t+=" for (var "+y+" in "+d+") { ",t+=" var startErrs"+a+" = errors; ";var O=y,j=e.compositeRule;e.compositeRule=p.compositeRule=!0;var x=e.validate(p);p.baseId=P,e.util.varOccurences(x,S)<2?t+=" "+e.util.varReplace(x,S,O)+" ":t+=" var "+S+" = "+O+"; "+x+" ",e.compositeRule=p.compositeRule=j,t+=" if (!"+m+") { for (var "+I+"=startErrs"+a+"; "+I+"<errors; "+I+"++) { vErrors["+I+"].propertyName = "+y+"; } var err = ",e.createErrors!==!1?(t+=" { keyword: 'propertyNames' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { propertyName: '"+w+"' } ",e.opts.messages!==!1&&(t+=" , message: 'property name \\'"+w+"\\' is invalid' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; "),c&&(t+=" break; "),t+=" } }"}return c&&(t+=" "+f+" if ("+u+" == errors) {"),t}),Kp}var Zp,Xp;function hx(){return Xp||(Xp=1,Zp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p=e.opts.$data&&n&&n.$data;p&&(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ");var f="schema"+a;if(!p)if(n.length<e.opts.loopRequired&&e.schema.properties&&Object.keys(e.schema.properties).length){var F=[],m=n;if(m)for(var y,b=-1,I=m.length-1;b<I;){y=m[b+=1];var w=e.schema.properties[y];w&&(e.opts.strictKeywords?typeof w=="object"&&Object.keys(w).length>0||w===!1:e.util.schemaHasRules(w,e.RULES.all))||(F[F.length]=y)}}else var F=n;if(p||F.length){var S=e.errorPath,C=p||F.length>=e.opts.loopRequired,E=e.opts.ownProperties;if(c)if(t+=" var missing"+a+"; ",C){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(S,O,e.opts.jsonPointers)),t+=" var "+u+" = true; ",p&&(t+=" if (schema"+a+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+a+")) "+u+" = false; else {"),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { "+u+" = "+d+"["+f+"["+P+"]] !== undefined ",E&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+="; if (!"+u+") break; } ",p&&(t+=" } "),t+=" if (!"+u+") { ";var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var k=F;if(k)for(var B,P=-1,M=k.length-1;P<M;){B=k[P+=1],P&&(t+=" || ");var J=e.util.getProperty(B),Z=d+J;t+=" ( ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(B)+"') "),t+=") && (missing"+a+" = "+e.util.toQuotedString(e.opts.jsonPointers?B:J)+") ) "}t+=") { ";var O="missing"+a,j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.opts.jsonPointers?e.util.getPathExpr(S,O,!0):S+" + "+O);var x=x||[];x.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var T=t;t=x.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+T+"]); ":t+=" validate.errors = ["+T+"]; return false; ":t+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else if(C){p||(t+=" var "+f+" = validate.schema"+s+"; ");var P="i"+a,O="schema"+a+"["+P+"]",j="' + "+O+" + '";e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPathExpr(S,O,e.opts.jsonPointers)),p&&(t+=" if ("+f+" && !Array.isArray("+f+")) { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } else if ("+f+" !== undefined) { "),t+=" for (var "+P+" = 0; "+P+" < "+f+".length; "+P+"++) { if ("+d+"["+f+"["+P+"]] === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", "+f+"["+P+"]) "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } } ",p&&(t+=" } ")}else{var K=F;if(K)for(var B,X=-1,Q=K.length-1;X<Q;){B=K[X+=1];var J=e.util.getProperty(B),j=e.util.escapeQuotes(B),Z=d+J;e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(S,B,e.opts.jsonPointers)),t+=" if ( "+Z+" === undefined ",E&&(t+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(B)+"') "),t+=") { var err = ",e.createErrors!==!1?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { missingProperty: '"+j+"' } ",e.opts.messages!==!1&&(t+=" , message: '",e.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+j+"\\'",t+="' "),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; } "}}e.errorPath=S}else c&&(t+=" if (true) {");return t}),Zp}var Yp,ed;function mx(){return ed||(ed=1,Yp=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d="data"+(o||""),u="valid"+a,p=e.opts.$data&&n&&n.$data,f;if(p?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",f="schema"+a):f=n,(n||p)&&e.opts.uniqueItems!==!1){p&&(t+=" var "+u+"; if ("+f+" === false || "+f+" === undefined) "+u+" = true; else if (typeof "+f+" != 'boolean') "+u+" = false; else { "),t+=" var i = "+d+".length , "+u+" = true , j; if (i > 1) { ";var m=e.schema.items&&e.schema.items.type,y=Array.isArray(m);if(!m||m=="object"||m=="array"||y&&(m.indexOf("object")>=0||m.indexOf("array")>=0))t+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+u+" = false; break outer; } } } ";else{t+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var b="checkDataType"+(y?"s":"");t+=" if ("+e.util[b](m,"item",e.opts.strictNumbers,!0)+") continue; ",y&&(t+=` if (typeof item == 'string') item = '"' + item; `),t+=" if (typeof itemIndices[item] == 'number') { "+u+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}t+=" } ",p&&(t+=" } "),t+=" if (!"+u+") { ";var I=I||[];I.push(t),t="",e.createErrors!==!1?(t+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { i: i, j: j } ",e.opts.messages!==!1&&(t+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(t+=" , schema: ",p?t+="validate.schema"+s:t+=""+n,t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var w=t;t=I.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+w+"]); ":t+=" validate.errors = ["+w+"]; return false; ":t+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",c&&(t+=" else { ")}else c&&(t+=" if (true) { ");return t}),Yp}var td,rd;function yx(){return rd||(rd=1,td={$ref:Zw(),allOf:Xw(),anyOf:Yw(),$comment:ex(),const:tx(),contains:rx(),dependencies:ix(),enum:ax(),format:ox(),if:nx(),items:sx(),maximum:Op(),minimum:Op(),maxItems:Dp(),minItems:Dp(),maxLength:Rp(),minLength:Rp(),maxProperties:Bp(),minProperties:Bp(),multipleOf:lx(),not:px(),oneOf:dx(),pattern:cx(),properties:ux(),propertyNames:fx(),required:hx(),uniqueItems:mx(),validate:Vd()}),td}var ka,id;function gx(){if(id)return ka;id=1;var e=yx(),r=Er().toHash;return ka=function(){var i=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],t=["type","$comment"],a=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],o=["number","integer","string","array","object","boolean","null"];return i.all=r(t),i.types=r(o),i.forEach(function(n){n.rules=n.rules.map(function(s){var l;if(typeof s=="object"){var c=Object.keys(s)[0];l=s[c],s=c,l.forEach(function(u){t.push(u),i.all[u]=!0})}t.push(s);var d=i.all[s]={keyword:s,code:e[s],implements:l};return d}),i.all.$comment={keyword:"$comment",code:e.$comment},n.type&&(i.types[n.type]=n)}),i.keywords=r(t.concat(a)),i.custom={},i},ka}var Ba,ad;function bx(){if(ad)return Ba;ad=1;var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];return Ba=function(r,i){for(var t=0;t<i.length;t++){r=JSON.parse(JSON.stringify(r));var a=i[t].split("/"),o=r,n;for(n=1;n<a.length;n++)o=o[a[n]];for(n=0;n<e.length;n++){var s=e[n],l=o[s];l&&(o[s]={anyOf:[l,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]})}}return r},Ba}var qa,od;function vx(){if(od)return qa;od=1;var e=no().MissingRef;qa=r;function r(i,t,a){var o=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof t=="function"&&(a=t,t=void 0);var n=s(i).then(function(){var c=o._addSchema(i,void 0,t);return c.validate||l(c)});return a&&n.then(function(c){a(null,c)},a),n;function s(c){var d=c.$schema;return d&&!o.getSchema(d)?r.call(o,{$ref:d},!0):Promise.resolve()}function l(c){try{return o._compile(c)}catch(u){if(u instanceof e)return d(u);throw u}function d(u){var p=u.missingSchema;if(y(p))throw new Error("Schema "+p+" is loaded but "+u.missingRef+" cannot be resolved");var f=o._loadingSchemas[p];return f||(f=o._loadingSchemas[p]=o._opts.loadSchema(p),f.then(m,m)),f.then(function(b){if(!y(p))return s(b).then(function(){y(p)||o.addSchema(b,p,void 0,t)})}).then(function(){return l(c)});function m(){delete o._loadingSchemas[p]}function y(b){return o._refs[b]||o._schemas[b]}}}}return qa}var nd,sd;function Sx(){return sd||(sd=1,nd=function(e,r,i){var t=" ",a=e.level,o=e.dataLevel,n=e.schema[r],s=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,c=!e.opts.allErrors,d,u="data"+(o||""),p="valid"+a,f="errs__"+a,m=e.opts.$data&&n&&n.$data,y;m?(t+=" var schema"+a+" = "+e.util.getData(n.$data,o,e.dataPathArr)+"; ",y="schema"+a):y=n;var b=this,I="definition"+a,w=b.definition,F="",S,C,E,P,O;if(m&&w.$data){O="keywordValidate"+a;var j=w.validateSchema;t+=" var "+I+" = RULES.custom['"+r+"'].definition; var "+O+" = "+I+".validate;"}else{if(P=e.useCustomRule(b,n,e.schema,e),!P)return;y="validate.schema"+s,O=P.code,S=w.compile,C=w.inline,E=w.macro}var x=O+".errors",T="i"+a,k="ruleErr"+a,B=w.async;if(B&&!e.async)throw new Error("async keyword in sync schema");if(C||E||(t+=""+x+" = null;"),t+="var "+f+" = errors;var "+p+";",m&&w.$data&&(F+="}",t+=" if ("+y+" === undefined) { "+p+" = true; } else { ",j&&(F+="}",t+=" "+p+" = "+I+".validateSchema("+y+"); if ("+p+") { ")),C)w.statements?t+=" "+P.validate+" ":t+=" "+p+" = "+P.validate+"; ";else if(E){var M=e.util.copy(e),F="";M.level++;var J="valid"+M.level;M.schema=P.validate,M.schemaPath="";var Z=e.compositeRule;e.compositeRule=M.compositeRule=!0;var K=e.validate(M).replace(/validate\.schema/g,O);e.compositeRule=M.compositeRule=Z,t+=" "+K}else{var X=X||[];X.push(t),t="",t+=" "+O+".call( ",e.opts.passContext?t+="this":t+="self",S||w.schema===!1?t+=" , "+u+" ":t+=" , "+y+" , "+u+" , validate.schema"+e.schemaPath+" ",t+=" , (dataPath || '')",e.errorPath!='""'&&(t+=" + "+e.errorPath);var Q=o?"data"+(o-1||""):"parentData",fe=o?e.dataPathArr[o]:"parentDataProperty";t+=" , "+Q+" , "+fe+" , rootData ) ";var $e=t;t=X.pop(),w.errors===!1?(t+=" "+p+" = ",B&&(t+="await "),t+=""+$e+"; "):B?(x="customErrors"+a,t+=" var "+x+" = null; try { "+p+" = await "+$e+"; } catch (e) { "+p+" = false; if (e instanceof ValidationError) "+x+" = e.errors; else throw e; } "):t+=" "+x+" = null; "+p+" = "+$e+"; "}if(w.modifying&&(t+=" if ("+Q+") "+u+" = "+Q+"["+fe+"];"),t+=""+F,w.valid)c&&(t+=" if (true) { ");else{t+=" if ( ",w.valid===void 0?(t+=" !",E?t+=""+J:t+=""+p):t+=" "+!w.valid+" ",t+=") { ",d=b.keyword;var X=X||[];X.push(t),t="";var X=X||[];X.push(t),t="",e.createErrors!==!1?(t+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ";var Ee=t;t=X.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+Ee+"]); ":t+=" validate.errors = ["+Ee+"]; return false; ":t+=" var err = "+Ee+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var xe=t;t=X.pop(),C?w.errors?w.errors!="full"&&(t+=" for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+u+"; "),t+=" } "):w.errors===!1?t+=" "+xe+" ":(t+=" if ("+f+" == errors) { "+xe+" } else { for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; if ("+k+".schemaPath === undefined) { "+k+'.schemaPath = "'+l+'"; } ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+u+"; "),t+=" } } "):E?(t+=" var err = ",e.createErrors!==!1?(t+=" { keyword: '"+(d||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { keyword: '"+b.keyword+"' } ",e.opts.messages!==!1&&(t+=` , message: 'should pass "`+b.keyword+`" keyword validation' `),e.opts.verbose&&(t+=" , schema: validate.schema"+s+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ",t+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&c&&(e.async?t+=" throw new ValidationError(vErrors); ":t+=" validate.errors = vErrors; return false; ")):w.errors===!1?t+=" "+xe+" ":(t+=" if (Array.isArray("+x+")) { if (vErrors === null) vErrors = "+x+"; else vErrors = vErrors.concat("+x+"); errors = vErrors.length; for (var "+T+"="+f+"; "+T+"<errors; "+T+"++) { var "+k+" = vErrors["+T+"]; if ("+k+".dataPath === undefined) "+k+".dataPath = (dataPath || '') + "+e.errorPath+"; "+k+'.schemaPath = "'+l+'"; ',e.opts.verbose&&(t+=" "+k+".schema = "+y+"; "+k+".data = "+u+"; "),t+=" } } else { "+xe+" } "),t+=" } ",c&&(t+=" else { ")}return t}),nd}var wx="http://json-schema.org/draft-07/schema#",xx="http://json-schema.org/draft-07/schema#",Ix="Core schema meta-schema",Cx={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},Tx=["object","boolean"],Ax={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},Ud={$schema:wx,$id:xx,title:Ix,definitions:Cx,type:Tx,properties:Ax,default:!0},Ma,ld;function Px(){if(ld)return Ma;ld=1;var e=Ud;return Ma={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:e.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:e.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}},Ma}var Na,pd;function Fx(){if(pd)return Na;pd=1;var e=/^[a-z_$][a-z0-9_$-]*$/i,r=Sx(),i=Px();Na={add:t,get:a,remove:o,validate:n};function t(s,l){var c=this.RULES;if(c.keywords[s])throw new Error("Keyword "+s+" is already defined");if(!e.test(s))throw new Error("Keyword "+s+" is not a valid identifier");if(l){this.validateKeyword(l,!0);var d=l.type;if(Array.isArray(d))for(var u=0;u<d.length;u++)f(s,d[u],l);else f(s,d,l);var p=l.metaSchema;p&&(l.$data&&this._opts.$data&&(p={anyOf:[p,{$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"}]}),l.validateSchema=this.compile(p,!0))}c.keywords[s]=c.all[s]=!0;function f(m,y,b){for(var I,w=0;w<c.length;w++){var F=c[w];if(F.type==y){I=F;break}}I||(I={type:y,rules:[]},c.push(I));var S={keyword:m,definition:b,custom:!0,code:r,implements:b.implements};I.rules.push(S),c.custom[m]=S}return this}function a(s){var l=this.RULES.custom[s];return l?l.definition:this.RULES.keywords[s]||!1}function o(s){var l=this.RULES;delete l.keywords[s],delete l.all[s],delete l.custom[s];for(var c=0;c<l.length;c++)for(var d=l[c].rules,u=0;u<d.length;u++)if(d[u].keyword==s){d.splice(u,1);break}return this}function n(s,l){n.errors=null;var c=this._validateKeyword=this._validateKeyword||this.compile(i,!0);if(c(s))return!0;if(n.errors=c.errors,l)throw new Error("custom keyword definition is invalid: "+this.errorsText(c.errors));return!1}return Na}var Ox="http://json-schema.org/draft-07/schema#",Ex="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",Lx="Meta-schema for $data reference (JSON Schema extension proposal)",Dx="object",$x=["$data"],jx={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},Rx=!1,_x={$schema:Ox,$id:Ex,description:Lx,type:Dx,required:$x,properties:jx,additionalProperties:Rx},Wa,dd;function kx(){if(dd)return Wa;dd=1;var e=Qw(),r=oo(),i=Kw(),t=Wd(),a=zd(),o=Jw(),n=gx(),s=bx(),l=Er();Wa=m,m.prototype.validate=y,m.prototype.compile=b,m.prototype.addSchema=I,m.prototype.addMetaSchema=w,m.prototype.validateSchema=F,m.prototype.getSchema=C,m.prototype.removeSchema=O,m.prototype.addFormat=K,m.prototype.errorsText=Z,m.prototype._addSchema=x,m.prototype._compile=T,m.prototype.compileAsync=vx();var c=Fx();m.prototype.addKeyword=c.add,m.prototype.getKeyword=c.get,m.prototype.removeKeyword=c.remove,m.prototype.validateKeyword=c.validate;var d=no();m.ValidationError=d.Validation,m.MissingRefError=d.MissingRef,m.$dataMetaSchema=s;var u="http://json-schema.org/draft-07/schema",p=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],f=["/properties"];function m(A){if(!(this instanceof m))return new m(A);A=this._opts=l.copy(A)||{},ot(this),this._schemas={},this._refs={},this._fragments={},this._formats=o(A.format),this._cache=A.cache||new i,this._loadingSchemas={},this._compilations=[],this.RULES=n(),this._getId=k(A),A.loopRequired=A.loopRequired||1/0,A.errorDataPath=="property"&&(A._errorDataPathProperty=!0),A.serialize===void 0&&(A.serialize=a),this._metaOpts=xe(this),A.formats&&fe(this),A.keywords&&$e(this),X(this),typeof A.meta=="object"&&this.addMetaSchema(A.meta),A.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),Q(this)}function y(A,R){var N;if(typeof A=="string"){if(N=this.getSchema(A),!N)throw new Error('no schema with key or ref "'+A+'"')}else{var z=this._addSchema(A);N=z.validate||this._compile(z)}var _=N(R);return N.$async!==!0&&(this.errors=N.errors),_}function b(A,R){var N=this._addSchema(A,void 0,R);return N.validate||this._compile(N)}function I(A,R,N,z){if(Array.isArray(A)){for(var _=0;_<A.length;_++)this.addSchema(A[_],void 0,N,z);return this}var W=this._getId(A);if(W!==void 0&&typeof W!="string")throw new Error("schema id must be string");return R=r.normalizeId(R||W),Ee(this,R),this._schemas[R]=this._addSchema(A,N,z,!0),this}function w(A,R,N){return this.addSchema(A,R,N,!0),this}function F(A,R){var N=A.$schema;if(N!==void 0&&typeof N!="string")throw new Error("$schema must be a string");if(N=N||this._opts.defaultMeta||S(this),!N)return this.logger.warn("meta-schema not available"),this.errors=null,!0;var z=this.validate(N,A);if(!z&&R){var _="schema is invalid: "+this.errorsText();if(this._opts.validateSchema=="log")this.logger.error(_);else throw new Error(_)}return z}function S(A){var R=A._opts.meta;return A._opts.defaultMeta=typeof R=="object"?A._getId(R)||R:A.getSchema(u)?u:void 0,A._opts.defaultMeta}function C(A){var R=P(this,A);switch(typeof R){case"object":return R.validate||this._compile(R);case"string":return this.getSchema(R);case"undefined":return E(this,A)}}function E(A,R){var N=r.schema.call(A,{schema:{}},R);if(N){var z=N.schema,_=N.root,W=N.baseId,H=e.call(A,z,_,void 0,W);return A._fragments[R]=new t({ref:R,fragment:!0,schema:z,root:_,baseId:W,validate:H}),H}}function P(A,R){return R=r.normalizeId(R),A._schemas[R]||A._refs[R]||A._fragments[R]}function O(A){if(A instanceof RegExp)return j(this,this._schemas,A),j(this,this._refs,A),this;switch(typeof A){case"undefined":return j(this,this._schemas),j(this,this._refs),this._cache.clear(),this;case"string":var R=P(this,A);return R&&this._cache.del(R.cacheKey),delete this._schemas[A],delete this._refs[A],this;case"object":var N=this._opts.serialize,z=N?N(A):A;this._cache.del(z);var _=this._getId(A);_&&(_=r.normalizeId(_),delete this._schemas[_],delete this._refs[_])}return this}function j(A,R,N){for(var z in R){var _=R[z];!_.meta&&(!N||N.test(z))&&(A._cache.del(_.cacheKey),delete R[z])}}function x(A,R,N,z){if(typeof A!="object"&&typeof A!="boolean")throw new Error("schema should be object or boolean");var _=this._opts.serialize,W=_?_(A):A,H=this._cache.get(W);if(H)return H;z=z||this._opts.addUsedSchema!==!1;var Y=r.normalizeId(this._getId(A));Y&&z&&Ee(this,Y);var ge=this._opts.validateSchema!==!1&&!R,be;ge&&!(be=Y&&Y==r.normalizeId(A.$schema))&&this.validateSchema(A,!0);var ne=r.ids.call(this,A),ae=new t({id:Y,schema:A,localRefs:ne,cacheKey:W,meta:N});return Y[0]!="#"&&z&&(this._refs[Y]=ae),this._cache.put(W,ae),ge&&be&&this.validateSchema(A,!0),ae}function T(A,R){if(A.compiling)return A.validate=_,_.schema=A.schema,_.errors=null,_.root=R||_,A.schema.$async===!0&&(_.$async=!0),_;A.compiling=!0;var N;A.meta&&(N=this._opts,this._opts=this._metaOpts);var z;try{z=e.call(this,A.schema,R,A.localRefs)}catch(W){throw delete A.validate,W}finally{A.compiling=!1,A.meta&&(this._opts=N)}return A.validate=z,A.refs=z.refs,A.refVal=z.refVal,A.root=z.root,z;function _(){var W=A.validate,H=W.apply(this,arguments);return _.errors=W.errors,H}}function k(A){switch(A.schemaId){case"auto":return J;case"id":return B;default:return M}}function B(A){return A.$id&&this.logger.warn("schema $id ignored",A.$id),A.id}function M(A){return A.id&&this.logger.warn("schema id ignored",A.id),A.$id}function J(A){if(A.$id&&A.id&&A.$id!=A.id)throw new Error("schema $id is different from id");return A.$id||A.id}function Z(A,R){if(A=A||this.errors,!A)return"No errors";R=R||{};for(var N=R.separator===void 0?", ":R.separator,z=R.dataVar===void 0?"data":R.dataVar,_="",W=0;W<A.length;W++){var H=A[W];H&&(_+=z+H.dataPath+" "+H.message+N)}return _.slice(0,-N.length)}function K(A,R){return typeof R=="string"&&(R=new RegExp(R)),this._formats[A]=R,this}function X(A){var R;if(A._opts.$data&&(R=_x,A.addMetaSchema(R,R.$id,!0)),A._opts.meta!==!1){var N=Ud;A._opts.$data&&(N=s(N,f)),A.addMetaSchema(N,u,!0),A._refs["http://json-schema.org/schema"]=u}}function Q(A){var R=A._opts.schemas;if(R)if(Array.isArray(R))A.addSchema(R);else for(var N in R)A.addSchema(R[N],N)}function fe(A){for(var R in A._opts.formats){var N=A._opts.formats[R];A.addFormat(R,N)}}function $e(A){for(var R in A._opts.keywords){var N=A._opts.keywords[R];A.addKeyword(R,N)}}function Ee(A,R){if(A._schemas[R]||A._refs[R])throw new Error('schema with key or id "'+R+'" already exists')}function xe(A){for(var R=l.copy(A._opts),N=0;N<p.length;N++)delete R[p[N]];return R}function ot(A){var R=A._opts.logger;if(R===!1)A.logger={log:ze,warn:ze,error:ze};else{if(R===void 0&&(R=console),!(typeof R=="object"&&R.log&&R.warn&&R.error))throw new Error("logger must implement log, warn and error methods");A.logger=R}}function ze(){}return Wa}var Bx=kx(),qx=zw(Bx),Gd={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},kt={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},fR={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function Mx(e){let r=e.lastIndexOf("/");return r!==-1?e.slice(r+1):e}async function Nx(e){let r=await ht();return e.map(i=>{let t=i,a=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case kt.Required:t={...i,message:Ze(r.requiredProperty,{dataPath:a,missingProperty:i.params.missingProperty})};break;case kt.MinLength:t={...i,message:Ze(r.minLength,{dataPath:a,limit:i.params.limit.toString()})};break;case kt.MinItems:t={...i,message:Ze(r.minItems,{dataPath:a,limit:i.params.limit.toString()})};break;case kt.MaxItems:t={...i,message:Ze(r.maxItems,{dataPath:a,limit:i.params.limit.toString()})};break;case kt.Pattern:i.params.pattern==="\\w+"&&(t={...i,message:Ze(r.whiteSpacePattern,{dataPath:a}),params:{}});break;case kt.AdditionalProperties:t={...i,message:Ze(r.additionalProperty,{dataPath:a,additionalProperty:i.params.additionalProperty})};break;case kt.Enum:t={...i,message:Ze(r.enumValues,{dataPath:a,allowedValues:i.params.allowedValues.join(", ")})};break;case kt.AnyOf:{let o=[];i.schemaPath==="#/properties/legend/anyOf"&&(o=Jt.definitions.WebChart.properties.legend.anyOf.map(n=>Mx(n.$ref))),t={...i,params:o,message:Ze(r.anyOfValues,{dataPath:a,schemaOptions:o.join(", ")})};break}}return t})}function Ui(e,r){return{...e,$ref:`#/definitions/${r}`}}async function Wx(e){let r,i=await ht(),t=qe(e);try{await t.load()}catch{let a=t?.url??"",o=Re(t)?.portalItem?.id??"";r={keyword:Mt.LayerLoadFailure,message:Ze(i.layerLoadFailure,{url:a,portalItemId:o}),params:{url:a,portalItemId:o}}}return r}function zx(){let e=new qx({allErrors:!0});return async r=>{let i=[],t=Me(r?.series),a=Jt;switch(t){case L.GaugeSeries:a=Ui(Jt,"WebGaugeChart");break;case L.BoxPlotSeries:a=Ui(Jt,"WebBoxPlot");break;case L.RadarSeries:a=Ui(Jt,"WebRadarChart");break;default:a=Ui(Jt,"WebChart");break}let o=e.compile(a);return o(r),o.errors!==null&&o.errors!==void 0&&(i=await Nx(o.errors)),i}}var Vx=zx();async function Ux(e){let{seriesConfigs:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[],o=await ta(i),n=await ht();for(let s=0;s<r.length;s+=1){let l=r[s].query?.outStatistics;if(l!==void 0)for(let c=0;c<l.length;c+=1){let d=l[c],u=io(d.onStatisticField,o);if(u&&!(u.type===ke.OID&&t||Nd(u))&&d.statisticType!==Ie.Count){let p=`series[${s}].query.outStatistics[${c}]`;a.push({keyword:Gd.NonNumericAggregation,message:Ze(n.nonNumericAggregation,{dataPath:p}),dataPath:p,params:{fieldName:d.onStatisticField,fieldType:u.type,aggregationRequested:d.statisticType}})}}}return a}async function Gx(e){let r=[],i=await ht();if(e!==void 0&&e.series.length>1){let t=new Set,a=0;e.series.forEach((o,n)=>{if(t.add(o.id),t.size===a){let s=`series[${n}].id`;r.push({keyword:Gd.DuplicateSeriesID,message:Ze(i.duplicateSeriesID,{dataPath:s,seriesID:o.id,seriesName:o.name}),dataPath:s,params:{seriesId:o.id,seriesName:o.name}})}else a+=1})}return r}function Hx(e){let r=new Set,i=lw(e);if(i){let t=Me(e.series),a=Tt(e.series);t===L.GaugeSeries&&!hw(e)||a===V.PieFromFields||a===V.BarAndLineFromFields||a===V.BoxPlotMonoField||a===V.BoxPlotMultiFields||a===V.BoxPlotMonoFieldAndSplitBy||a===V.BoxPlotMultiFieldsAndSplitBy||r.add(i.x);let o=t===L.ScatterSeries||t===L.BoxPlotSeries||a===V.BarAndLineNoAggregation||a===V.BarAndLineSplitByNoAggregation||a===V.PieNoAggregation,n=[Ka,ei,Co,pa,To,Yt.outStatistics.outStatisticFieldName??""],s=[];if(t===L.BoxPlotSeries?s=gw({showMean:e.showMean,seriesConfig:e.series}):s=e.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),o?s.forEach(l=>r.add(l)):n.push(...s),e.series.forEach(l=>{let{query:c}=l;c&&(Fr(c.where)||r.add(Xa(c.where)),c.groupByFieldsForStatistics&&c.groupByFieldsForStatistics.forEach(d=>r.add(d)),c.outStatistics&&c.outStatistics.forEach(d=>r.add(d.onStatisticField)))}),t===L.GaugeSeries&&e.axes?.[0]!==void 0){let l=e.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&r.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&r.add(l.maximumFromField)}n.forEach(l=>{r.delete(l)})}return Array.from(r.values()).filter(t=>!ft(t))}async function Qx(e,r){let i,t=await ht(),a=await ta(r),o=Hx(e).filter(n=>!io(n,a));if(o.length>0){let n=o.join(", ");i={keyword:Mt.LayerFieldsNotFound,message:Ze(t.layerFieldsNotFound,{fieldNames:n}),params:n}}return i}async function Kx(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a=[];if(i!==void 0){let o=await Ux({seriesConfigs:r.series,queryObject:i,allowUsingObjectIdStat:t});a=a.concat(o)}return a=a.concat(await Gx(r)),a}async function Jx(e,r){let i=[];if(e!==void 0){let t=await Wx(e);if(t!==void 0)i=i.concat(t);else if(r!==void 0){let a=await Qx(r,e);a!==void 0&&(i=i.concat(a))}}return i}async function hR(e){let{input:r,queryObject:i,allowUsingObjectIdStat:t}=e,a;if(sw(r?.version).versionStatus===At.Newer)a={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await Vx(r),n=[],s=[];r!==void 0&&o.length===0&&(s=await Jx(i,r),s.length===0&&(n=await Kx({input:r,queryObject:i,allowUsingObjectIdStat:t}))),a={valid:o.length===0&&n.length===0&&s.length===0,schemaErrors:o,customErrors:s,warnings:n}}return a}function mR(e){let r=Me(e?.series),i=!1;switch(r){case L.HistogramSeries:{i=(e?.series?.[0]?.x?.trim()?.length??0)===0;break}case L.ScatterSeries:{let t=e?.series;i=(t?.[0]?.x?.length??0)===0||(t?.[0]?.y?.length??0)===0;break}case L.PieSeries:{let t=e?.series;Tt(t)===V.PieFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.length??0)===0||t?.[0]?.x===ei;break}case L.BoxPlotSeries:{let t=e?.series;i=[t?.[0]?.y].flat().length===0||t?.[0]?.y==="";break}case L.ComboLineAndBarSeries:case L.RadarSeries:case L.BarSeries:case L.LineSeries:{let t=e?.series;Tt(t)===V.BarAndLineFromFields?i=(t?.[0]?.query?.outStatistics?.length??0)===0:i=(t?.[0]?.x?.trim()?.length??0)===0;break}}return i}var yR=[{unit:_e.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:_e.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:_e.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:_e.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:_e.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:_e.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],gR="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:Ct,b:ke,c:sr,d:sa,e:lr,f:Xr,g:la,h:Be,i:Zx,j:Xx,k:Yx,l:Yr,m:ei,n:pa,o:Co,p:To,q:lt,r:se,s:we,t:ri,u:ya,v:Db,w:qm,x:Um,y:vy,z:Ty,A:Is,B:Nb,C:ha,D:zb,E:ng,F:Zg,G:dv,H:Nr,I:hv,J:Tl,K:Al,L:Pl,M:Fl,N:Ol,O:$l,P:q,Q:Ze,R:md,S:j$,T:R$,U:_$,V:k$,W:mt,X:yd,Y:te,Z:B$,_:q$,$:Yt,aa:$v,ba:M$,ca:at,da:Rv,ea:N$,fa:W$,ga:z$,ha:Ka,ia:_v,ja:ut,ka:bd,la:V$,ma:Yi,na:pe,oa:vd,pa:ie,qa:Gr,ra:Bv,sa:U$,ta:Va,ua:G$,va:H$,wa:er,xa:Ni,ya:Q$,za:qv,Aa:Mv,Ba:Nv,Ca:K$,Da:Wv,Ea:Or,Fa:Vv,Ga:Gv,Ha:J$,Ia:Hv,Ja:Z$,Ka:X$,La:Qv,Ma:Kv,Na:Y$,Oa:ej,Pa:zr,Qa:tj,Ra:rj,Sa:ij,Ta:aj,Ua:oj,Va:nj,Wa:sj,Xa:Jv,Ya:Zv,Za:Xv,_a:lj,$a:Yv,ab:pj,bb:dj,cb:cj,db:eS,eb:uj,fb:fj,gb:tS,hb:rS,ib:hj,jb:mj,kb:V,lb:yj,mb:gj,nb:bj,ob:vj,pb:KS,qb:XS,rb:jd,sb:Sj,tb:wj,ub:xj,vb:Ij,wb:Cj,xb:ft,yb:rw,zb:Tj,Ab:Aj,Bb:Pj,Cb:Fj,Db:Oj,Eb:Ej,Fb:Lj,Gb:Dj,Hb:$j,Ib:jj,Jb:Rj,Kb:iw,Lb:aw,Mb:sw,Nb:lw,Ob:_j,Pb:Xa,Qb:Hr,Rb:Fr,Sb:kj,Tb:Tt,Ub:Bj,Vb:uw,Wb:ye,Xb:fw,Yb:hw,Zb:qj,_b:mw,$b:Zi,ac:Fa,bc:Xi,cc:gw,dc:bw,ec:Mj,fc:Sw,gc:Nj,hc:qt,ic:Mt,jc:Wj,kc:Ya,lc:zj,mc:Re,nc:_d,oc:Vj,pc:Uj,qc:qe,rc:Gj,sc:Vr,tc:Hj,uc:Pw,vc:Qj,wc:Kj,xc:Jj,yc:Ow,zc:Zj,Ac:Xj,Bc:Ew,Cc:Yj,Dc:Ur,Ec:to,Fc:eR,Gc:qw,Hc:tR,Ic:ta,Jc:rR,Kc:Nd,Lc:iR,Mc:aR,Nc:oR,Oc:nR,Pc:sR,Qc:lR,Rc:pR,Sc:dR,Tc:Ww,Uc:cR,Vc:uR,Wc:Gd,Xc:fR,Yc:hR,Zc:mR,_c:yR,$c:gR}},"geometry/support/jsonUtils","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","request","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")
|
|
56
|
+
{@link https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-PublishingInfo.html#updating Read more...}`}},required:["declaredClass","destroyed","initialized","status","updating"],title:"__esri.PublishingInfo"},"__esri.ScaleRangeLayer":{type:"object",properties:{maxScale:{type:"number"},minScale:{type:"number"}},required:["maxScale","minScale"],title:"__esri.ScaleRangeLayer"},"__esri.TemporalLayer":{type:"object",properties:{useViewTime:{type:"boolean"}},required:["useViewTime"],title:"__esri.TemporalLayer"},"__esri.TrackableLayer":{type:"object",title:"__esri.TrackableLayer"},"__esri.SubtypeSublayer":{type:"object",properties:{uid:{type:"string"},loadError:{anyOf:[{$ref:"#/definitions/__esri.Error"},{$ref:"#/definitions/nullish"}]},loadStatus:{type:"string",enum:["not-loaded","loading","failed","loaded"]},loadWarnings:{type:"array",items:{}},destroyed:{type:"boolean"},initialized:{type:"boolean"},declaredClass:{type:"string"}},required:["declaredClass","destroyed","initialized","loadError","loadStatus","loadWarnings","uid"],title:"__esri.SubtypeSublayer"},RGBObject:{type:"object",properties:{r:{type:"number"},g:{type:"number"},b:{type:"number"},a:{type:"number",default:1}},required:["r","g","b"],description:"JSON representation of the color object",title:"RGBObject"},IRendererSymbol:{type:"object",properties:{style:{type:"string"},color:{$ref:"#/definitions/Color"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},label:{type:"string"},uniqueValue:{type:"string"},type:{$ref:"#/definitions/SymbolType"}},required:["color","type"],title:"IRendererSymbol"},WebChartDataItemColor:{anyOf:[{$ref:"#/definitions/Color"},{$ref:"#/definitions/RGBArray"},{$ref:"#/definitions/RGBObject"},{type:"string"}],title:"WebChartDataItemColor"},RGBArray:{type:"array",items:{type:"number"},minItems:3,maxItems:3,title:"RGBArray"},WebChartDataItemValue:{anyOf:[{type:"string",format:"date-time"},{$ref:"#/definitions/IExtent"},{$ref:"#/definitions/IRendererSymbol"},{type:"array",items:{type:"number"}},{type:"array",items:{type:"string"}},{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},{$ref:"#/definitions/WebChartDataItemColor"},{type:"boolean"},{type:"number"},{type:"string"},{type:"null"},{not:{}}],title:"WebChartDataItemValue"},WebChartDataItem:{$ref:"#/definitions/Record%3Cstring%2CWebChartDataItemValue%3E",description:"JSON representation of a typical data item",title:"WebChartDataItem"},"Record<string,WebChartDataItemValue>":{type:"object",additionalProperties:{$ref:"#/definitions/WebChartDataItemValue"},title:"Record<string,WebChartDataItemValue>"},WebChartBoxPlotDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},outliers:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},meanLines:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Box Plot",title:"WebChartBoxPlotDataItem"},ScatterplotTrendLineData:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2}},description:"JSON representation of the processed data for a Scatter plot trend line",title:"ScatterplotTrendLineData"},WebChartScatterplotDataItem:{type:"object",properties:{r2:{type:"number"},trendLinePoints:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"},minItems:2,maxItems:2},dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}}},required:["dataItems"],description:"JSON representation of the processed data for a Scatter plot",title:"WebChartScatterplotDataItem"},WebChartGenericDataItem:{type:"object",properties:{dataItems:{type:"array",items:{$ref:"#/definitions/WebChartDataItem"}},timeIntervalInfo:{$ref:"#/definitions/TimeIntervalInfo",description:"Time interval information, only for line charts"}},required:["dataItems"],description:"JSON representation of the generic data structure for bar, line bar-line, gauge and pie chart",title:"WebChartGenericDataItem"},WebChartBin:{type:"object",properties:{count:{type:"number"},minValue:{type:"number",description:"Min value in the bin"},maxValue:{type:"number",description:"Max value in the bin"},symbol:{$ref:"#/definitions/WebChartDataItem",description:"Symbol associated with the bin."},isLastBin:{type:"boolean",description:"Whether this is the last bin."}},required:["count","minValue","maxValue"],description:"JSON representation of a Histogram bin",title:"WebChartBin"},WebChartHistogramDataItem:{type:"object",properties:{mean:{type:"number"},median:{type:"number"},stddev:{type:"number"},max:{type:"number"},min:{type:"number"},sum:{type:"number",description:"Sum of the values of all the points"},count:{type:"number",description:"Number of all the points/features in un-binned data (including only non-null entries)"},nulls:{type:"number",description:"Number of null entries in the pool of points"},bins:{type:"array",items:{$ref:"#/definitions/WebChartBin"}}},required:["mean","median","stddev","max","min","bins"],description:"JSON representation of the processed data for a Histogram",title:"WebChartHistogramDataItem"},WebChartDataTypes:{anyOf:[{$ref:"#/definitions/WebChartBoxPlotDataItem"},{$ref:"#/definitions/WebChartGenericDataItem"},{$ref:"#/definitions/WebChartHistogramDataItem"},{$ref:"#/definitions/WebChartScatterplotDataItem"}],title:"WebChartDataTypes"},WebChartTypes:{type:"string",enum:["chart","chartText","chartOverlay","chartOverlays","chartLegend","cursorCrosshair","chartAxis","gaugeAxisTick","gaugeNeedle","category","number","date","chartGuide","scatterSeries","pieSeries","pieTick","gaugeSeries","lineSeries","barSeries","histogramSeries","boxPlotSeries","radarSeries","comboLineAndBarSeries","buffer","sizeScale"],title:"WebChartTypes"},WebChartStatisticType:{type:"string",enum:["count","sum","min","max","avg","stddev","var","percentile-continuous","percentile-discrete","envelope-aggregate","centroid-aggregate","convex-hull-aggregate","no_aggregation"],title:"WebChartStatisticType"},WebChartColoringPatterns:{type:"string",enum:["singleColor","colorMatch"],title:"WebChartColoringPatterns"},WebChartBoxPlotMultipleSeriesKinds:{type:"string",enum:["sideBySide","meanLines"],title:"WebChartBoxPlotMultipleSeriesKinds"},WebChartLineSmoothedKinds:{type:"string",enum:["bezier","monotoneX","monotoneY"],description:"Represents the different types of smoothing that can be applied to a line chart when the `lineSmoothed` property is set to `true`.",title:"WebChartLineSmoothedKinds"},WebChartTemporalBinningTypes:{type:"string",enum:["fixedDateBased","calendarBased"],description:"Represents the different types of temporal binning that can be applied to a chart.",title:"WebChartTemporalBinningTypes"},WebChartVersionStatus:{type:"string",enum:["same","newer","older","unrecognized"],title:"WebChartVersionStatus"},WebChartAxisTypes:{type:"string",enum:["value","date","category"],description:"Represents the different types of axes that can be used in a chart.",title:"WebChartAxisTypes"},RESTFieldType:{type:"string",enum:["esriFieldTypeBlob","esriFieldTypeDate","esriFieldTypeDateOnly","esriFieldTypeTimestampOffset","esriFieldTypeDouble","esriFieldTypeGeometry","esriFieldTypeGlobalID","esriFieldTypeGUID","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeBigInteger","esriFieldTypeOID","esriFieldTypeRaster","esriFieldTypeSingle","esriFieldTypeString","esriFieldTypeXML"],title:"RESTFieldType"},RESTSimpleLineSymbolStyle:{type:"string",enum:["esriSLSDash","esriSLSDashDot","esriSLSDashDotDot","esriSLSDot","esriSLSNull","esriSLSSolid"],title:"RESTSimpleLineSymbolStyle"},RESTSimpleMarkerSymbolStyle:{type:"string",enum:["esriSMSCircle","esriSMSCross","esriSMSDiamond","esriSMSSquare","esriSMSX","esriSMSTriangle"],title:"RESTSimpleMarkerSymbolStyle"},RESTSimpleFillSymbolStyle:{type:"string",enum:["esriSFSBackwardDiagonal","esriSFSCross","esriSFSDiagonalCross","esriSFSForwardDiagonal","esriSFSHorizontal","esriSFSNull","esriSFSSolid","esriSFSVertical"],title:"RESTSimpleFillSymbolStyle"},RESTHorizontalAlignment:{type:"string",enum:["left","right","center","justify"],title:"RESTHorizontalAlignment"},RESTVerticalAlignment:{type:"string",enum:["baseline","top","middle","bottom"],title:"RESTVerticalAlignment"},RESTSymbolType:{type:"string",enum:["esriSLS","esriSMS","esriSFS","esriPMS","esriPFS","esriTS"],title:"RESTSymbolType"},RESTFontStyle:{type:"string",enum:["italic","normal","oblique"],title:"RESTFontStyle"},RESTFontWeight:{type:"string",enum:["bold","bolder","lighter","normal"],title:"RESTFontWeight"},RESTFontDecoration:{type:"string",enum:["line-through","underline","none"],title:"RESTFontDecoration"},RESTRendererType:{type:"string",enum:["unique-value","simple","class-breaks","heatmap","dot-density","dictionary","pie-chart"],title:"RESTRendererType"},OverlayTerms:{type:"string",enum:["Mean","Median","Standard Deviation","Normal Distribution","Trendline"],title:"OverlayTerms"},CalculatedMinMaxBoundsPayload:{type:"object",properties:{isXAxis:{type:"boolean"},isSecondValueAxis:{type:"boolean"},minimum:{type:["number","null"],description:"The minimum value which the axis should represent, when it is not defined or null, then the minimum value for the corresponding axis is automatically calculated."},maximum:{type:["number","null"],description:"The maximum value which the axis should represent, when it is not defined or null, then the maximum value for the corresponding axis is automatically calculated."}},required:["isXAxis"],description:"+ Represents a subset of the event payload carrying the chart's axes bounds. See event `arcgisChartsAxesMinMaxChange`.",title:"CalculatedMinMaxBoundsPayload"},ChartDeletePayload:{type:"object",properties:{chartId:{type:"string"}},required:["chartId"],description:"Represents the payload of the event sent when a chart is removed from the chart list (component arcgis-charts-config-view-charts).",title:"ChartDeletePayload"},LegendItemVisibility:{type:"object",properties:{visible:{type:"boolean"},seriesId:{type:"string"},overlayType:{$ref:"#/definitions/OverlayTerms"},sliceId:{type:"string"},sliceData:{$ref:"#/definitions/WebChartDataItem"}},required:["visible"],description:"Represents the payload of the event sent when an item is toggled in the chart's legend (slice or series).",title:"LegendItemVisibility"},IFeatureSet:{type:"object",properties:{hasZ:{type:"boolean"},hasM:{type:"boolean"},objectIdFieldName:{type:"string"},globalIdFieldName:{type:"string"},displayFieldName:{type:"string"},geometryType:{$ref:"#/definitions/GeometryType"},spatialReference:{$ref:"#/definitions/ISpatialReference"},fields:{type:"array",items:{$ref:"#/definitions/IField"}},features:{type:"array",items:{$ref:"#/definitions/IFeature"}},fieldAliases:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"}},required:["features"],description:'`IFeatureSet` can also be imported from the following packages:\n\n```js import { IFeatureSet } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureSet"},"Record<string,string>":{type:"object",additionalProperties:{type:"string"},title:"Record<string,string>"},ILocation:{type:"object",properties:{latitude:{type:"number"},longitude:{type:"number"},lat:{type:"number"},long:{type:"number"},z:{type:"number"}},description:'`ILocation` can also be imported from the following packages:\n\n```js import { ILocation } from "@esri/arcgis-rest-routing"; import { ILocation } from "@esri/arcgis-rest-geocoding"; ```',title:"ILocation"},IPolylineWithCurves:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},curvePaths:{type:"array",items:{type:"array",items:{anyOf:[{$ref:"#/definitions/JsonCurve"},{$ref:"#/definitions/Position"}]}}}},required:["curvePaths"],title:"IPolylineWithCurves"},ElipticArc:{$ref:"#/definitions/IArc",title:"ElipticArc"},SpatialRelationship:{type:"string",enum:["esriSpatialRelContains","esriSpatialRelCrosses","esriSpatialRelEnvelopeIntersects","esriSpatialRelIndexIntersects","esriSpatialRelIntersects","esriSpatialRelOverlaps","esriSpatialRelTouches","esriSpatialRelWithin"],description:'The spatial relationship used to compare input geometries\n\n`SpatialRelationship` can also be imported from the following packages:\n\n```js import { SpatialRelationship } from "@esri/arcgis-rest-feature-layer"; ```',title:"SpatialRelationship"},IMultipoint:{type:"object",properties:{spatialReference:{$ref:"#/definitions/ISpatialReference"},hasZ:{type:"boolean"},hasM:{type:"boolean"},points:{type:"array",items:{$ref:"#/definitions/Position"}}},required:["points"],description:"A multipoint contains an array of points.",title:"IMultipoint"},Units:{type:"string",enum:["esriSRUnit_Foot","esriSRUnit_Kilometer","esriSRUnit_Meter","esriSRUnit_NauticalMile","esriSRUnit_StatuteMile","esriSRUnit_USNauticalMile"],description:'`Units` can also be imported from the following packages:\n\n```js import { Units } from "@esri/arcgis-rest-feature-layer"; ```',title:"Units"},GroupMembership:{type:"string",enum:["admin","member","none","owner"],description:'`GroupMembership` can also be imported from the following packages:\n\n```js import { GroupMembership } from "@esri/arcgis-rest-portal"; ```',title:"GroupMembership"},IGroupAdd:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"}},required:["title","access"],description:'A [Group](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IGroupAdd` can also be imported from the following packages:\n\n```js import { IGroupAdd } from "@esri/arcgis-rest-portal"; ```',title:"IGroupAdd"},IGroup:{type:"object",properties:{title:{type:"string"},access:{type:"string",enum:["org","private","public"]},owner:{type:"string"},tags:{type:"array",items:{type:"string"}},description:{type:"string"},phone:{type:"string"},sortField:{type:"string",enum:["avgrating","created","modified","numviews","owner","title"]},sortOrder:{type:"string",enum:["asc","desc"]},isViewOnly:{type:"boolean"},isInvitationOnly:{type:"boolean"},thumbnail:{type:"string"},autoJoin:{type:"boolean"},snippet:{type:"string"},id:{type:"string"},created:{type:"number"},modified:{type:"number"},protected:{type:"boolean"},isOpenData:{type:"boolean"},isFav:{type:"boolean"},userMembership:{type:"object",properties:{username:{type:"string"},memberType:{$ref:"#/definitions/GroupMembership"},applications:{type:"number"}}},hasCategorySchema:{type:"boolean"}},required:["access","autoJoin","created","id","isFav","isInvitationOnly","isViewOnly","modified","owner","protected","tags","title"],description:'Existing Portal [Group](https://developers.arcgis.com/rest/users-groups-and-items/group.htm).\n\n`IGroup` can also be imported from the following packages:\n\n```js import { IGroup } from "@esri/arcgis-rest-portal"; ```',title:"IGroup"},IItemAdd:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}}},required:["title","type"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) that has not been created yet.\n\n`IItemAdd` can also be imported from the following packages:\n\n```js import { IItemAdd } from "@esri/arcgis-rest-portal"; ```',title:"IItemAdd"},IItemUpdate:{type:"object",properties:{id:{type:"string"}},required:["id"],description:'A Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/common-parameters.htm) to be updated.\n\n`IItemUpdate` can also be imported from the following packages:\n\n```js import { IItemUpdate } from "@esri/arcgis-rest-portal"; ```',title:"IItemUpdate"},IItem:{type:"object",properties:{title:{type:"string"},type:{type:"string"},owner:{type:"string"},typeKeywords:{type:"array",items:{type:"string"}},description:{type:"string"},snippet:{type:"string"},documentation:{type:"string"},extent:{type:"array",items:{type:"array",items:{type:"number"}}},categories:{type:"array",items:{type:"string"}},spatialReference:{$ref:"#/definitions/ISpatialReference"},culture:{type:"string"},properties:{},url:{type:"string"},tags:{type:"array",items:{type:"string"}},id:{type:"string"},created:{type:"number"},modified:{type:"number"},numViews:{type:"number"},size:{type:"number"},protected:{type:"boolean"}},required:["created","id","modified","numViews","owner","size","tags","title","type"],description:'Existing Portal [Item](https://developers.arcgis.com/rest/users-groups-and-items/item.htm).\n\n`IItem` can also be imported from the following packages:\n\n```js import { IItem } from "@esri/arcgis-rest-portal"; ```',title:"IItem"},IFolder:{type:"object",properties:{username:{type:"string"},id:{type:"string"},title:{type:"string"},created:{type:"number"}},required:["username","id","title"],description:'Used for organizing content. See [Create Folder](https://developers.arcgis.com/rest/users-groups-and-items/create-folder.htm) for more details.\n\n`IFolder` can also be imported from the following packages:\n\n```js import { IFolder } from "@esri/arcgis-rest-portal"; ```',title:"IFolder"},IFeatureServiceDefinition:{type:"object",properties:{currentVersion:{type:"number"},serviceDescription:{type:"string"},hasVersionedData:{type:"boolean"},supportsDisconnectedEditing:{type:"boolean"},supportsReturnDeleteResults:{type:"boolean"},hasStaticData:{type:"boolean",description:"Boolean value indicating whether data changes. True if it does not."},maxRecordCount:{type:"number",description:"Numeric value indicating tbe maximum number of records that will be returned at once for a query."},supportedQueryFormats:{type:"string",description:"String value indicating the output formats that are supported in a query."},supportsRelationshipsResource:{type:"boolean"},capabilities:{type:"string",description:"A comma separated list of supported capabilities, e.g. Query,Editing."},description:{type:"string",description:"String value of the layer as defined in the map service."},copyrightText:{type:"string",description:"String value for the copyright text information for the layer."},advancedEditingCapabilities:{$ref:"#/definitions/Record%3Cstring%2Cboolean%3E"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"An object containing the WKID or WKT identifying the spatial reference of the layer's geometry."},initialExtent:{$ref:"#/definitions/IExtent"},fullExtent:{$ref:"#/definitions/IExtent"},allowGeometryUpdates:{type:"boolean",description:"Boolean value indicating whether the geometry of the features in the layer can be edited."},units:{type:"string"},syncEnabled:{type:"boolean"},returnServiceEditsHaveSR:{type:"boolean"},validationSystemLayers:{type:"object",properties:{validationPointErrorlayerId:{type:"number"},validationLineErrorlayerId:{type:"number"},validationPolygonErrorlayerId:{type:"number"},validationObjectErrortableId:{type:"number"}},required:["validationPointErrorlayerId","validationLineErrorlayerId","validationPolygonErrorlayerId","validationObjectErrortableId"]},extractChangesCapabilities:{type:"object",properties:{supportsReturnIdsOnly:{type:"boolean"},supportsReturnExtentOnly:{type:"boolean"},supportsReturnAttachments:{type:"boolean"},supportsLayerQueries:{type:"boolean"},supportsSpatialFilter:{type:"boolean"},supportsReturnFeature:{type:"boolean"}},required:["supportsReturnIdsOnly","supportsReturnExtentOnly","supportsReturnAttachments","supportsLayerQueries","supportsSpatialFilter","supportsReturnFeature"]},syncCapabilities:{type:"object",properties:{supportsASync:{type:"boolean"},supportsRegisteringExistingData:{type:"boolean"},supportsSyncDirectionControl:{type:"boolean"},supportsPerLayerSync:{type:"boolean"},supportsPerReplicaSync:{type:"boolean"},supportsRollbackOnFailure:{type:"boolean"},supportedSyncDataOptions:{type:"number"}},required:["supportsASync","supportsRegisteringExistingData","supportsSyncDirectionControl","supportsPerLayerSync","supportsPerReplicaSync","supportsRollbackOnFailure","supportedSyncDataOptions"]},editorTrackingInfo:{type:"object",properties:{enableEditorTracking:{type:"boolean"},enableOwnershipAccessControl:{type:"boolean"},allowOthersToUpdate:{type:"boolean"},allowOthersToDelete:{type:"boolean"}},required:["enableEditorTracking","enableOwnershipAccessControl","allowOthersToUpdate","allowOthersToDelete"]},documentInfo:{$ref:"#/definitions/Record%3Cstring%2Cstring%3E"},layers:{type:"array",items:{$ref:"#/definitions/ILayerDefinition"}},tables:{type:"array",items:{$ref:"#/definitions/ITable"}},relationships:{type:"array",items:{type:"object",properties:{id:{type:"number"},name:{type:"string"},backwardPathLabel:{type:"string"},originLayerId:{type:"number"},originPrimaryKey:{type:"string"},forwardPathLabel:{type:"string"},destinationLayerId:{type:"number"},originForeignKey:{type:"string"},relationshipTableId:{type:"number"},destinationPrimaryKey:{type:"string"},destinationForeignKey:{type:"string"},rules:{type:"array",items:{type:"object",properties:{ruleID:{type:"number"},originSubtypeCode:{type:"number"},originMinimumCardinality:{type:"number"},originMaximumCardinality:{type:"number"},destinationSubtypeCode:{type:"number"},destinationMinimumCardinality:{type:"number"},destinationMaximumCardinality:{type:"number"}},required:["ruleID","originSubtypeCode","originMinimumCardinality","originMaximumCardinality","destinationSubtypeCode","destinationMinimumCardinality","destinationMaximumCardinality"]},minItems:1,maxItems:1},cardinality:{type:"string",enum:["esriRelCardinalityManyToMany","esriRelCardinalityOneToMany","esriRelCardinalityOneToOne"]},attributed:{type:"boolean"},composite:{type:"boolean"}},required:["id","name","backwardPathLabel","originLayerId","originPrimaryKey","forwardPathLabel","destinationLayerId","originForeignKey","relationshipTableId","destinationPrimaryKey","destinationForeignKey","rules","cardinality","attributed","composite"]},minItems:1,maxItems:1},enableZDefaults:{type:"boolean"},isLocationTrackingService:{type:"boolean"},isLocationTrackingView:{type:"boolean"},zDefault:{type:"number"}},required:["serviceDescription","hasVersionedData","supportsDisconnectedEditing","supportsReturnDeleteResults","maxRecordCount","supportedQueryFormats","supportsRelationshipsResource","capabilities","description","copyrightText","advancedEditingCapabilities","spatialReference","initialExtent","fullExtent","allowGeometryUpdates","units","syncEnabled","validationSystemLayers","extractChangesCapabilities","syncCapabilities","editorTrackingInfo","layers","tables","relationships","isLocationTrackingService","isLocationTrackingView"],description:'`IFeatureServiceDefinition` can also be imported from the following packages:\n\n```js import { IFeatureServiceDefinition } from "@esri/arcgis-rest-service-admin"; import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-layer"; ```',title:"IFeatureServiceDefinition"},"Record<string,boolean>":{type:"object",additionalProperties:{type:"boolean"},title:"Record<string,boolean>"},ITable:{type:"object",properties:{name:{type:"string",description:"Table name"},capabilities:{type:"string",description:"A comma-separated string listing which editing operations are allowed on an editable feature service. Available operations include: 'Create', 'Delete', 'Query', 'Update', and 'Editing'."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Object indicating the definitionEditor used as a layer's interactive filter."},id:{type:"number",description:"Unique identifier for the table."},itemId:{type:"string",description:"Unique string value indicating an item registered in ArcGIS Online or your organization's portal."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining a definition expression for the table."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"An object defining the content of popup windows when you query a record and the sort option for child related records."},title:{type:"string",description:"String value for the title of the table."},url:{type:"string",description:"String value indicating the URL reference of the hosted table."}},description:'Root element in the web map specifying an array of table objects.\n\n`ITable` can also be imported from the following packages:\n\n```js import { ITable } from "@esri-arcgis-rest-service-admin" ```',title:"ITable"},IServiceInfo:{type:"object",properties:{adminServiceInfo:{type:"object",properties:{name:{type:"string"},type:{type:"string"},status:{type:"string"},database:{type:"object",properties:{datasource:{type:"object",properties:{name:{type:"string"}},required:["name"]}},required:["datasource"]}},required:["name","type","status","database"]},layers:{type:"array",items:{$ref:"#/definitions/Record%3Cstring%2Cunknown%3E"}}},required:["adminServiceInfo","layers"],description:"Very generic structure representing the return value from the /arcgis/rest/admin/services/<service-name>/FeatureServer?f=json response",title:"IServiceInfo"},"Record<string,unknown>":{type:"object",additionalProperties:{},title:"Record<string,unknown>"},IViewServiceSource:{type:"object",properties:{name:{type:"string"},type:{type:"string"},url:{type:"string"},serviceItemId:{type:"string"}},required:["name","type","url","serviceItemId"],description:"Individual View Source entry",title:"IViewServiceSource"},IViewServiceSources:{type:"object",properties:{currentVersion:{type:"number"},services:{type:"array",items:{$ref:"#/definitions/IViewServiceSource"}}},required:["currentVersion","services"],description:"Response from the /sources end-point of a view service",title:"IViewServiceSources"},IServiceNameAvailable:{type:"object",properties:{available:{type:"boolean"}},required:["available"],description:"Response from the portals/Self/isServiceNameAvailable request",title:"IServiceNameAvailable"},IPictureSourced:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"}},title:"IPictureSourced"},IPictureFillSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPFS"},style:{type:"string"},outline:{$ref:"#/definitions/ISimpleLineSymbol"},xscale:{type:"number"},yscale:{type:"number"}},required:["type"],title:"IPictureFillSymbol"},IPictureMarkerSymbol:{type:"object",properties:{url:{type:"string"},imageData:{type:"string"},contentType:{type:"string"},width:{type:"number"},height:{type:"number"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},type:{type:"string",const:"esriPMS"},style:{type:"string"}},required:["type"],title:"IPictureMarkerSymbol"},ITextSymbol:{type:"object",properties:{type:{type:"string",const:"esriTS"},style:{type:"string"},angle:{type:"number"},xoffset:{type:"number"},yoffset:{type:"number"},color:{$ref:"#/definitions/Color"},backgroundColor:{$ref:"#/definitions/Color"},borderLineSize:{type:"number"},borderLineColor:{$ref:"#/definitions/Color"},haloSize:{type:"number"},haloColor:{$ref:"#/definitions/Color"},verticalAlignment:{type:"string",enum:["baseline","bottom","middle","top"]},horizontalAlignment:{type:"string",enum:["center","justify","left","right"]},rightToLeft:{type:"boolean"},kerning:{type:"boolean"},font:{$ref:"#/definitions/IFont"},text:{type:"string"}},required:["type"],title:"ITextSymbol"},IUser:{type:"object",properties:{username:{type:"string"},fullName:{type:"string"},availableCredits:{type:"number"},assignedCredits:{type:"number"},firstName:{type:"string"},lastName:{type:"string"},preferredView:{},description:{type:"string"},email:{type:"string"},idpUsername:{type:"string"},favGroupId:{type:"string"},lastLogin:{type:"number"},mfaEnabled:{type:"boolean"},access:{type:"string"},storageUsage:{type:"number"},storageQuota:{type:"number"},orgId:{type:"string"},cOrgId:{type:"string"},role:{type:"string",enum:["org_admin","org_publisher","org_user"]},privileges:{type:"array",items:{type:"string"}},roleId:{type:"string"},level:{type:"string"},disabled:{type:"boolean"},units:{type:"string"},tags:{type:"array",items:{type:"string"}},culture:{type:"string"},region:{type:"string"},thumbnail:{type:"string"},created:{type:"number"},modified:{type:"number"},groups:{type:"array",items:{$ref:"#/definitions/IGroup"}},provider:{type:"string",enum:["arcgis","enterprise","facebook","google"]}},description:'An ArcGIS Online or Enterprise user\n\n`IUser` can also be imported from the following packages:\n\n```js import { IUser } from "@esri/arcgis-rest-auth"; import { IUser } from "@esri/arcgis-rest-portal"; ```',title:"IUser"},IPagingParams:{type:"object",properties:{start:{type:"number"},num:{type:"number"}},description:'Params for paging operations\n\n`IPagingParams` can also be imported from the following packages:\n\n```js import { IPagingParams } from "@esri/arcgis-rest-portal"; ```',title:"IPagingParams"},IPagedResponse:{type:"object",properties:{start:{type:"number"},num:{type:"number"},total:{type:"number",description:"total number of object across all pages"},nextStart:{type:"number",description:"next entry index or -1 for the last page"}},required:["total","nextStart"],description:'Paging properties for paged responses.\n\n`IPagedResponse` can also be imported from the following packages:\n\n```js import { IPagedResponse } from "@esri/arcgis-rest-portal"; ```',title:"IPagedResponse"},IWebMapBackground:{type:"object",properties:{color:{$ref:"#/definitions/Color",description:"To define the color of the background of the map (which is shown when no data is shown)."}},required:["color"],description:"Defines the appearance for the background of the map.",examples:[{background:{color:[255,255,255,255]}}],title:"IWebMapBackground"},IBookmark:{type:"object",properties:{extent:{$ref:"#/definitions/IExtent",description:"An extent object containing a spatial reference, a lower left coordinate, and an upper right coordinate defining the rectangular area of the bookmark. The spatial reference must be the same as the map spatial reference. Documentation for the envelope is in the Geometry Objects topic of the ArcGIS REST API help."},name:{type:"string",description:"A string name for the bookmark."}},required:["extent","name"],description:"Predefined bookmarks for use by the application. A bookmark is a saved map extent that allows end users to quickly navigate to a particular area of interest.",title:"IBookmark"},IMapRangeInfo:{type:"object",properties:{activeRangeName:{type:"string",description:"Active range ID that slider/picker acts upon."},currentRangeExtent:{type:"array",items:{type:"number"},description:"Current range for the active range."},fullRangeExtent:{type:"array",items:{type:"number"},description:"Full range extent for the active range to be presented in the UI."}},description:"Map range information",examples:[{mapRangeInfo:{activeRangeName:"floors",currentRangeExtent:[-2,10],fullRangeExtent:[-2,100]}}],title:"IMapRangeInfo"},IMapLocation:{type:"object",properties:{centerPoint:{$ref:"#/definitions/IPoint",description:"The center of the map specified using X/Y coordinates."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"Well-known ID (WKID) or well-known text (WKT)."}},required:["centerPoint","spatialReference"],description:"Contains location information within a presentation slide.",title:"IMapLocation"},IVisibleLayer:{type:"object",properties:{featureVisibility:{type:"array",items:{type:"array",items:{}},description:"An array of arrays."},id:{type:"number",description:"The id of the layer as listed on the operational layer."},subLayerIds:{type:"array",items:{type:"number"},description:"An array of integers."}},description:"An array of numbers indicating layer visibility.",examples:[{visibleLayer:{featureVisibility:[[1],[],[],[0]],id:"73128eb3-05ee-46a7-8c22-0c385a0b1827"}}],title:"IVisibleLayer"},IVisiblePopup:{type:"object",properties:{anchorPoint:{$ref:"#/definitions/IPoint",description:"Object with spatialReference, x, and y."},featureId:{type:"number",description:"An integer specifying the feature's id."},layerId:{type:"string",description:"A string specifying the layer id."},subLayerId:{type:"number",description:"An integer specifying the sublayer id."}},description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId.",title:"IVisiblePopup"},ISlide:{type:"object",properties:{baseMap:{$ref:"#/definitions/IBaseMap",description:"Basemaps give the web map a geographic context."},extent:{$ref:"#/definitions/IExtent",description:"The standard Esri extent object with spatialReference, xmax, xmin, ymax and ymin."},hidden:{type:"boolean",description:"Indicates whether the slide should be hidden within the presentation."},mapLocation:{$ref:"#/definitions/IMapLocation",description:"An object with a centerPoint object and sometimes a resolution."},timeExtent:{type:"array",items:{type:"number"},minItems:2,maxItems:2,description:"An array of two numbers. The first one indicates start time and the second one indicates end time."},title:{type:"string",description:"Title including text and formatting for each slide."},visibleLayers:{$ref:"#/definitions/IVisibleLayer",description:"An array of objects used to indicate layer visibility."},visiblePopup:{$ref:"#/definitions/IVisiblePopup",description:"A presentation slide's visiblePopup which contains anchorPoint, featureId, layerId, and subLayerId."}},title:"ISlide"},IBaseMap:{type:"object",properties:{baseMapLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"An array of baseMapLayer objects defining the basemaps used in the web map."},title:{type:"string",description:"Required string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array."}},required:["baseMapLayers","title"],description:"A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.",title:"IBaseMap"},IPresentation:{type:"object",properties:{displayTimeSlider:{type:"boolean",description:"Indicates whether to display the time slider (if accessible)."},showLegend:{type:"boolean",description:"Indicates whether to display a legend on all slides."},slideAdvancementInterval:{type:"number",description:"Number of seconds to show slide before proceeding to the next slide."},slides:{type:"array",items:{$ref:"#/definitions/ISlide"},description:"Array of slide objects."},useTimeExtentOfSlide:{type:"boolean",description:"Indicates whether to use the time extent (if applicable) of a slide."}},title:"IPresentation"},IWebmap:{type:"object",properties:{applicationProperties:{$ref:"#/definitions/IApplicationProperties",description:"Viewing and editing properties of the webmap"},authoringApp:{type:"string",description:"String value indicating the application which authored the webmap"},authoringAppVersion:{type:"string",description:"String value indicating the authoring App's version number"},background:{$ref:"#/definitions/IWebMapBackground",description:"Defines the appearance for the background of the map."},baseMap:{$ref:"#/definitions/IBaseMap",description:"[Required] Basemaps give the web map a geographic context"},bookmarks:{type:"array",items:{$ref:"#/definitions/IBookmark"},description:"A bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest"},mapRangeInfo:{$ref:"#/definitions/IMapRangeInfo",description:"Map Range Information"},operationalLayers:{type:"array",items:{$ref:"#/definitions/ILayer"},description:"Operational layers contain business data which are used to make thematic maps"},presentation:{description:"A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc"},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"[Required] An object used to specify the spatial reference of the given geometry."},tables:{type:"array",items:{$ref:"#/definitions/ITable"},description:"Root element in the web map specifying an array of table objects. (optional)"},version:{type:"string",description:"[Required] Root element in the web map specifying a string value indicating the web map version."},widgets:{description:"The widgets object contains widgets that should be exposed to the user"}},required:["baseMap","spatialReference","version"],description:"The web map data lists the basemap, operational layers, and bookmarks to be used in the web map. It also contains information about popup windows and layer styling overrides to be used in the web map. A version property allows you to supply the version of the web map JSON format being used.",title:"IWebmap"},IApplicationProperties:{type:"object",properties:{editing:{anyOf:[{$ref:"#/definitions/IEditingProperties"},{type:"null"}],description:"If locationTracking is set and enabled, the Collector application will update the feature service at the defined interval with the current location of the user logged into the Collector app."},offline:{anyOf:[{$ref:"#/definitions/IOfflineInfo"},{type:"null"}],description:"Use if working with offline maps."},viewing:{anyOf:[{$ref:"#/definitions/IViewingInfo"},{type:"null"}],description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default."}},description:"The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.",title:"IApplicationProperties"},IEditingProperties:{type:"object",properties:{locationTracking:{$ref:"#/definitions/ILocationTracking",description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application."}},required:["locationTracking"],description:"An object containing all the editing properties within the web map.",title:"IEditingProperties"},ILocationTracking:{type:"object",properties:{enabled:{type:"boolean",description:"A boolean value indicating whether or not location tracking is enabled on the webmap."},info:{$ref:"#/definitions/ILocationTrackingInfo",description:"An object of additional information specifying layer and update interval time."}},required:["enabled","info"],description:"If locationTracking is set and enabled, the collector app will update the feature service at the defined interval with the current location of the user logged into the collector application.",title:"ILocationTracking"},ILocationTrackingInfo:{type:"object",properties:{layerId:{description:"A string value indicating the given layer id specified in the web map."},updateInterval:{description:"A numeric value indicating the time interval used to update the feature service. Default value is 300 seconds."}},required:["layerId"],description:"An object containing additional information specifying layer and update interval time used in the locationTracking object.",title:"ILocationTrackingInfo"},IOfflineInfo:{type:"object",properties:{editableLayers:{$ref:"#/definitions/IEditableLayers",description:"Object detailing the available offline editing options."},readonlyLayers:{$ref:"#/definitions/IReadOnlyLayers",description:"Object indicating what to do with attachments in read-only layers."}},required:["editableLayers","readonlyLayers"],description:"Use if working with offline maps.",title:"IOfflineInfo"},IEditableLayers:{type:"object",properties:{download:{type:"string",enum:["featuers","featuresAndAttachments","none"],description:"When editing layers, the edits are always sent to the server. This string value indicates which data is retrieved. For example, none indicates that only the schema is written since neither the features nor attachments are retrieved. For a full sync without downloading attachments, indicate features. Lastly, the default behavior is to have a full sync using featuresAndAttachments where both features and attachments are retrieved."},sync:{type:"string",enum:["syncFeaturesAndAttachments","syncFeaturesUploadAttachments","uploadFeaturesAndAttachments"],description:"This string value indicates how the data is synced."}},required:["download","sync"],description:"Object detailing the available offline editing options.",title:"IEditableLayers"},IReadOnlyLayers:{type:"object",properties:{downloadAttachments:{type:"boolean",description:"Indicates whether to include attachments with the read-only data."}},required:["downloadAttachments"],description:"Read-only layers as the features are always retrieved from the server.",title:"IReadOnlyLayers"},IViewingInfo:{type:"object",properties:{basemapGallery:{$ref:"#/definitions/IEnableable",description:"The basemap tool which will use the basemap group defined in the Portal."},measure:{$ref:"#/definitions/IEnableable",description:"Measure tool."},routing:{$ref:"#/definitions/IEnableable",description:"The route tool which will leverage the Portals defined route service."},search:{$ref:"#/definitions/ISearch",description:"An object specifying search parameters within the webmap."}},description:"An object containing all the viewing properties of the web map. If this is null or not defined, the client should assume a logical default.",title:"IViewingInfo"},IEnableable:{type:"object",properties:{enabled:{type:"boolean"}},required:["enabled"],title:"IEnableable"},ISearch:{type:"object",properties:{enabled:{type:"boolean"},disablePlaceFinder:{description:"A boolean value indicating whether or not to disable the place finder."},hintText:{description:"A string value used to indicate the hint provided with the search dialog."},layers:{description:"An array of layer objects defining the styling, geometry, and attribute information for the features."}},required:["enabled"],description:"An object specifying the search parameters set within the web map.",title:"ISearch"},IRange:{type:"object",properties:{interactionMode:{type:"string",enum:["picker","slider"],description:"Indicates the mode in which the active range should be presented to the user. Must be one of the following values: slider, picker"},numberOfStops:{description:"This is used to generate the activeRangeValues if activeRangeValues are not specified."},stopInterval:{type:"number",description:"Interval in which stops should be generated."}},description:"Range object.",title:"IRange"},IWidget:{type:"object",properties:{range:{$ref:"#/definitions/IRange",description:"Active range."},timeSlider:{$ref:"#/definitions/ITimeSliderProperties",description:"Time animation is controlled by a configurable time slider. The time slider widget will act upon all the time aware layers in the map."}},description:"The widgets object contains widgets that should be exposed to the user.",title:"IWidget"},ITimeSliderProperties:{type:"object",properties:{currentTimeExtent:{type:"array",items:{type:"number"},description:"An optional array of numbers indicating the slider's start to end time extent."},endTime:{type:"number",description:"The optional end of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},numberOfStops:{type:"number",description:"Number of stops within the timeSlider widget."},startTime:{type:"number",description:"The optional start of the time slider. If not specified, the slider defaults to the full time extent of all time-enabled layers."},thumbCount:{type:"number",description:"The default value for the thumbCount is 1."},thumbMovingRate:{type:"number",description:"Rate at which the time animation plays. Units are in milliseconds. Default is 1000."},timeStopInterval:{type:"number",description:"The interval which has been defined for the time slider."}},description:"Configurable properties used within the TimeSlider widget.",title:"ITimeSliderProperties"},ITimeSlider:{type:"object",properties:{properties:{$ref:"#/definitions/ITimeSliderProperties",description:"Configurable properties used within the TimeSlider widget."}},required:["properties"],description:"Time animation is controlled by a configurable time slider. Those configurations are saved to the web map as a timeSlider widget.",title:"ITimeSlider"},IBingLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",enum:["BingMapsAerial","BingMapsHybrid","BingMapsRoad"],description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bingKey:{type:"string",description:"String value that unlocks the use of Bing layers in a web map."},canShareBingPublic:{type:"boolean",description:"Boolean value indicating whether the Bing key can be shared to the public."},portalUrl:{type:"string",description:"A string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work."}},required:["id","layerType"],title:"IBingLayer"},IImageServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},bandIds:{type:"array",items:{type:"number"},description:"An array of bandIds that are visible, can specify bands to export or rearrange band order(from image service)."},compressionQuality:{description:"Controls how much loss the image will be subjected to by the compression algorithm (from image service)."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Boolean property indicating whether to ignore popups defined by the service item."},format:{type:"string",enum:["bmp","gif","jpg","jpgpng","png","png8","png24","png32","tiff"],description:"String value representing image format."},interpolation:{type:"string",enum:["RSP_BilinearInterpolation","RSP_CubicConvolution","RSP_Majority","RSP_NearestNeighbor"],description:"The algorithm used for interpolation."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},noData:{description:"The pixel value that represents no information."},noDataInterpretation:{type:"string",enum:["esriNoDataMatchAll","esriNoDataMatchAny"],description:"A string value of interpretation of noData setting. Default is 'esriNoDataMatchAny' when noData is a number, and 'esriNoDataMatchAll' when noData is an array."},pixelType:{type:"string",enum:["C64","C128","F32","F64","S8","S16","S32","U1","U2","U4","U8","U16","U32","UNKNOWN"],description:"Pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},renderingRule:{description:"Specifies the rendering rule for how the requested image should be rendered."}},required:["id","layerType"],title:"IImageServiceLayer"},IImageVectorLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISImageServiceVectorLayer",description:"String indicating the layer type. Value of this property must be ArcGISImageServiceVectorLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{description:"Stores interactive filters."},disablePopup:{description:"Boolean property indicating whether to ignore popups defined by the service item."},isReference:{type:"boolean",description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layerDefinition:{description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},mosaicRule:{description:"Specifies the mosaic rule when defining how individual images should be mosaicked."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},symbolTileSize:{description:"Number describing the size of the tile."}},required:["id","layerType"],title:"IImageVectorLayer"},IChildLayer:{type:"object",properties:{defaultVisibility:{description:"Default visibility of the layers in the map service."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"An object that provides interactive filters."},featureSet:{$ref:"#/definitions/IFeatureSet",description:"A featureSet object containing the geometry and attributes of the features in the layer. Used with feature collections only."},field:{type:"array",items:{$ref:"#/definitions/IField"},description:"Information about each field in a layer. Used with feature collections."},id:{type:"string",description:"A string indicating the index position of the layer in the map service or feature collection."},layerDefinition:{description:"The layerDefinition object defines the attribute schema and drawing information for the layer."},layerUrl:{description:"A string URL to a service that should be used for all queries against the layer. Used with hosted tiled map services on ArcGIS Online when there is an associated feature service that allows for queries."},maxScale:{description:"Represents the maximum scale at which the layer definition will be applied."},minScale:{description:"Represents the minimum scale at which the layer definition will be applied."},nextObjectId:{description:"Iterates within a featureset. Number objectId value is incremented +1 based on last Object ID defined for the feature in a featureset. Used with feature collections."},parentLayerId:{description:"If working with nested layers, this is the numeric value indicating the layer id of the next layer (parent) directly above the current referenced layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the popup window content for the layer."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},subLayer:{description:"Array of numeric values indicating the layer index for layers nested directly under the parent layer."},subLayerIds:{description:"If the layer is a parent layer, it will have one or more sub layers included in an array."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."}},description:"A layer object may allow overrides on popup content and drawing behavior for individual layers of a web service. This object also contains geographic features and their attributes when used in a feature collection.",title:"IChildLayer"},IMapServiceLayer:{type:"object",properties:{timeAnimation:{type:"boolean",description:"This property is applicable to layers that support time. If 'true', timeAnimation is enabled."},id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining the styling, geometry, and attribute information for the features."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},thematicGroup:{$ref:"#/definitions/IThematicGroup",description:"(Optional) A thematicGroup object used in ArcGISMapServiceLayer layers."},visibleLayers:{type:"array",items:{type:"number"},description:"An array of sublayer ids that should appear visible. Used with map service layers that are not tiled."}},required:["id","layerType"],title:"IMapServiceLayer"},IThematicGroup:{type:"object",properties:{fieldNames:{type:"array",items:{type:"string"},description:"An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list."},layerIds:{type:"array",items:{type:"number"},description:"A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers."},name:{type:"string",description:"String property indicating the name for the thematic grouping of layers."}},title:"IThematicGroup"},IDrawingInfo:{type:"object",properties:{fixedSymbols:{description:"Only used for feature collections with a renderer. The feature's symbol is defined by the layer's renderer."},labelingInfo:{description:"An object defining the properties used for labeling the layer."},renderer:{description:"An object defined which provides the symbology for the layer."},scaleSymbols:{description:"Boolean property indicating whether symbols should stay the same size in screen units as you zoom in. A value of true means the symbols stay the same size in screen units regardless of the map scale."},showLabels:{type:"boolean",description:"Defines whether labels should be shown or not. This is only valid for sublayers."},transparency:{type:"number",description:"Number value ranging between 0 (no transparency) to 100 (completely transparent)."}},title:"IDrawingInfo"},ITypeInfoDomain:{type:"object",properties:{type:{type:"string"}},required:["type"],title:"ITypeInfoDomain"},ITypeInfo:{type:"object",properties:{domains:{$ref:"#/definitions/Record%3Cstring%2CITypeInfoDomain%3E",description:"A comma-delimited series of domain objects for each domain in the type."},id:{type:["number","string"],description:"A unique string or numerical ID for the type."},name:{type:"string",description:"A user-friendly name for the type."},templates:{type:"array",items:{$ref:"#/definitions/ITemplate"},description:"Defined as a property of the layer definition when there are no types defined; otherwise, templates are defined as properties of the types."}},title:"ITypeInfo"},"Record<string,ITypeInfoDomain>":{type:"object",additionalProperties:{$ref:"#/definitions/ITypeInfoDomain"},title:"Record<string,ITypeInfoDomain>"},IOpenStreetMapLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"OpenStreetMap",description:"String indicating the layer type. Value of this property must be OpenStreetMap"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"OpenStreetMap",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."}},required:["id","layerType"],description:"Allows use of OpenStreetMap data for use in basemaps only.",title:"IOpenStreetMapLayer"},ITiledImageServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledImageServiceLayer",description:"String indicating the layer type. Value of this property must be ArcGISTiledImageServiceLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},isReference:{type:"boolean",description:"Applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"ITiledImageServiceLayer"},IExclusionArea:{type:"object",properties:{geometry:{$ref:"#/definitions/IGeometry",description:"The geometry defining the area where no data will be fetched. Only extent is supported."},maxScale:{type:"number",description:"The zoom level where the exclusion ends."},maxZoom:{type:"number",description:"The zoom level where the exclusion ends."},minScale:{type:"number",description:"The zoom level where the exclusion starts."},minZoom:{type:"number",description:"The zoom level where the exclusion starts."}},description:"Exclusion areas define extent areas where no data will be fetched for a layer.",title:"IExclusionArea"},ITiledMapServiceLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISTiledMapServiceLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},displayLevels:{anyOf:[{type:"array",items:{type:"number"}},{type:"number"}],description:"NOTE: Applicable if used as a baseMapLayer. Integer value(s) indicating the display levels of the basemap layer. Only applicable for TiledMapService layers. All tiled map service layers should share the same tiling scheme. This property cannot be set via the Map Viewer UI."},exclusionAreas:{type:"array",items:{$ref:"#/definitions/IExclusionArea"},description:"NOTE: Applicable if used as a baseMapLayer. An array of exclusionArea objects defining the layer exclusions."},isReference:{description:"This property is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},layers:{type:"array",items:{$ref:"#/definitions/IChildLayer"},description:"An array of layer objects defining a URL for queries and the popup window content."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"An ArcGIS Tiled Map Service layer displays map content from an ArcGIS Server Map service that has been cached (tiled).",title:"ITiledMapServiceLayer"},IVectorTileLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"VectorTileLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"VectorTileLayer",description:"Deprecated. User layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},styleUrl:{type:"string",description:"A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file."}},required:["id","layerType"],description:"A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.",title:"IVectorTileLayer"},ILod:{type:"object",properties:{level:{type:"number",description:"ID for each level."},levelValue:{type:"string",description:"String to be used when constructing URL to access a tile from this LOD."},resolution:{type:"number",description:"Resolution in map units of each pixel in a tile for each level."},scale:{type:"number",description:"Scale for each level."}},title:"ILod"},ITileInfo:{type:"object",properties:{cols:{description:"Requested tile's column."},compressionQuality:{description:"Compression quality of the tile."},dpi:{description:"The dpi of the tiling scheme."},format:{type:"string",enum:["bmp","emf","gif","jpg","lerc","mixed","pdf","png","png8","png24","png32","ps","svg","svgz"],description:"Image format of the cached tiles."},lods:{type:"array",items:{$ref:"#/definitions/ILod"},description:"An array of levels of detail that define the tiling scheme."},origin:{$ref:"#/definitions/IPoint",description:"The tiling scheme origin."},rows:{description:"Requested tile's row."},spatialReference:{$ref:"#/definitions/ISpatialReference",description:"The spatial reference of the tiling schema."}},description:"Tile information, returned from the WMTS OGC Web Service. The tileInfo will contain the spatial reference of the layer. tileInfo is the same json representation as the ArcGIS Map/Image service tileInfo except that it may contain a levelValue on the lod objects that should be used instead of the level in the templateUrl.",title:"ITileInfo"},IWebMapTileServiceInfo:{type:"object",properties:{customLayerParameters:{description:"A sequence of parameters used to append different custom parameters to a WMTS tile request. These parameters are applied to GetTile. The customLayerParameters property takes precedence if customParameters is also present."},customParameters:{description:"A sequence of parameters used to append custom parameters to all WMTS requests. These parameters are applied to GetCapabilities and GetTile. If used with the customLayerParameters property, customParameters will not take precedence."},layerIdentifier:{type:"string",description:"Identifier for the specific layer used in the WMTS service. Required input by the user."},tileMatrixSet:{description:"Tiling schema, set by the WMTS service."},url:{type:"string",description:"URL to the WMTS web service. Required input by the user."}},required:["layerIdentifier","url"],description:"Object defines and provides information about layers in a WMTSLayer service.",title:"IWebMapTileServiceInfo"},IWebTiledLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"WebTiledLayer",description:"String indicating the layer type. Value of this property must be WebTiledLayer"},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"WebTiledLayer",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},copyright:{description:"Attribution to the Web Tiled Layer provider. It is displayed in the attribution on the web map. Input required by the user when the layer is added to the web map."},fullExtent:{$ref:"#/definitions/IExtent",description:"An extent object representing the full extent envelope for the layer."},isReference:{description:"This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false)."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},subDomains:{description:"If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}."},templateUrl:{description:"URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'."},tileInfo:{$ref:"#/definitions/ITileInfo",description:"Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme."},wmtsInfo:{$ref:"#/definitions/IWebMapTileServiceInfo",description:"Object containing information about the chosen WMTS service layer and tiling schema."}},required:["id","layerType"],title:"IWebTiledLayer"},ICsvLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"CSV",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"CSV",description:"Deprecated, use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},columnDelimiter:{type:"string",enum:[" ",",",";"," ","|"],description:"A string defining the character used to separate columns in a CSV file."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},locationInfo:{description:"A locationInfo object defining how location information will be retrieved from a CSV file."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of popup windows when you click or query a feature."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],description:"The CSV layer type references a CSV or TXT file from a publically-accessible web server. It then dynamically loads into the map at run time. The CSV layer will maintain a reference to the CSV resource.",title:"ICsvLayer"},IGeoRssLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"GeoRSS",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"GeoRSS",description:"Deprecated, please use layerType.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},lineSymbol:{$ref:"#/definitions/ISimpleLineSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have lines, this property is not added to the layer JSON."},pointSymbol:{$ref:"#/definitions/IPictureMarkerSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have points, this property is not added to the layer JSON."},polygonSymbol:{$ref:"#/definitions/ISimpleFillSymbol",description:"Defined by the GeoRSS to JSON request service. If the GeoRSS feed does not have polygons, this property is not added to the layer JSON."},refreshInterval:{type:"number",description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."}},required:["id","layerType"],title:"IGeoRssLayer"},IKmlLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"KML",description:"String indicating the layer type."},maxScale:{description:"A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator."},minScale:{description:"A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator."},opacity:{description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{description:"Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend."},title:{description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",const:"KML",description:"Deprecated, use layerType instead.",deprecated:"Use layerType instead."},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},refreshInterval:{description:"Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled."},visibleFolders:{type:"array",items:{type:"number"},description:"Array of numeric IDs of folders that will be made visible."}},required:["id","layerType"],title:"IKmlLayer"},IArcGisStreamLayer:{type:"object",properties:{id:{description:"A unique identifying string for the layer."},name:{type:"string",description:"Layer name"},itemId:{type:"string",description:"Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal."},layerType:{type:"string",const:"ArcGISStreamLayer",description:"String indicating the layer type."},maxScale:{type:"number",description:"Integer property used to determine the maximum scale at which the layer is displayed."},minScale:{type:"number",description:"Integer property used to determine the minimum scale at which the layer is displayed."},opacity:{type:"number",description:"The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency."},showLegend:{type:"boolean",description:"Boolean property indicating whether to display in the legend."},title:{type:"string",description:"A user-friendly string title for the layer that can be used in a table of contents."},type:{type:"string",description:"Deprecated, use layerType instead.",deprecated:!0},visibility:{type:"boolean",description:"Boolean property determining whether the layer is initially visible in the web map."},url:{type:"string",description:"The URL to the layer. Not applicable to all layer types."},definitionEditor:{$ref:"#/definitions/IDefinitionEditor",description:"Stores interactive filters."},disablePopup:{type:"boolean",description:"Indicates whether to ignore popups defined by the service item."},layerDefinition:{$ref:"#/definitions/ILayerDefinition",description:"A layerDefinition object defining the attribute schema and drawing information for the layer."},popupInfo:{$ref:"#/definitions/IPopupInfo",description:"A popupInfo object defining the content of pop-up windows when you click or query a feature."}},required:["id","layerType"],title:"IArcGisStreamLayer"}},$ref:"#/definitions/WebChart"};var jc=un(Ic(),1);var qc=un(Pc(),1);var Ac={Count:"count",Start:"minValue",End:"maxValue"},L={Arabic:"ar",ArabicLatin:"ar-u-nu-latn",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",EnglishUSA:"en-US",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",NorwegianBokml:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},Rw=[...Object.values(L),"en-AU","en-GB","es-ES","es-MX","de-CH","de-DE","de-AT","it-CH","it-IT"];function Xe(t,e){return no(t)(e)}function _w(t){let e=/^([a-z]{2})-([A-Z]{2})$/u,i=t?.match(e),a=L.English;return i!=null&&i?.length>1?a=i[1]:t?.length===2&&t.toLowerCase()===t&&(a=t),a}function jw(t){let e=t;if(t!==void 0&&t.includes("-")){let[i,a]=t.split("-");e=`${i}-${a.toUpperCase()}`}return e}function Fc(t,e){let i=L.English,a=jw(t);if(a!==void 0)if(e.includes(a))i=a;else{let r=_w(a);e.includes(r)?i=r:r==="nb"&&(i="no")}return i}function Ec(t,e){function i(a){let r;return a===void 0||a===document||a===window?r=null:r=a.closest(t)||i(a.getRootNode().host),r}return i(e)}function Mc(t=document.documentElement){let e=Ec("[lang]",t)?.lang??window.navigator.language,i=Object.values(L),a=Object.values(Rw),r=Fc(e,i),o=Fc(e,a);return o=o==="ar"?"ar-u-nu-latn":o,{locale:r,rtl:Ec("[dir]",t)?.getAttribute("dir")==="rtl",formatLocale:o}}function Nj(t){let e;return t==="unknown"?e="UTC":t!==void 0&&t!=="system"&&(e=t),e}function Mj(t,e){let i={year:"numeric",month:"2-digit",day:"2-digit",timeZone:e};return new Intl.DateTimeFormat("en-CA",i).format(t)}function Wj(t,e){let i={hour:"2-digit",minute:"2-digit",hour12:!1,timeZone:e};return new Intl.DateTimeFormat("en-US",i).format(t)}function zj(t,e){let[,i,,,,a]=1111.1.toLocaleString(e),r=t.replace(i,"").replace(a,".");return Number.parseFloat(r)}async function yt(t=Mc().locale){let e=await import("./HIW66G6L.js");switch(t){case L.Arabic:e=await import("./4X2CCMAX.js");break;case L.Bosnian:e=await import("./4QWDVOQU.js");break;case L.Bulgarian:e=await import("./BLQY6ZL5.js");break;case L.Catalan:e=await import("./2E37HIMT.js");break;case L.Czech:e=await import("./EFAYMNAR.js");break;case L.Danish:e=await import("./RVMFKVZU.js");break;case L.German:e=await import("./TVNV6JEH.js");break;case L.Greek:e=await import("./HZ7LHFGR.js");break;case L.EnglishUSA:e=await import("./GZOVX7OZ.js");break;case L.Spanish:e=await import("./5JFWF5SU.js");break;case L.Estonian:e=await import("./6MREJ5YG.js");break;case L.Finnish:e=await import("./NES3BOHU.js");break;case L.French:e=await import("./V2EYF5WH.js");break;case L.Hebrew:e=await import("./22UZFOYZ.js");break;case L.Croatian:e=await import("./I246GABT.js");break;case L.Hungarian:e=await import("./24MQXT26.js");break;case L.Indonesian:e=await import("./JLY2UXRV.js");break;case L.Italian:e=await import("./3FXY7Q5O.js");break;case L.Japanese:e=await import("./BVSA63AK.js");break;case L.Korean:e=await import("./MCMN4UIR.js");break;case L.Lithuanian:e=await import("./EIJAABWL.js");break;case L.Latvian:e=await import("./THZTVEAD.js");break;case L.NorwegianBokml:e=await import("./OBQL4DID.js");break;case L.Dutch:e=await import("./LBJFM2LF.js");break;case L.Polish:e=await import("./KAIBVRHA.js");break;case L.PortugueseBrazil:e=await import("./HR4XTA6J.js");break;case L.PortuguesePortugal:e=await import("./FWE4GZ2T.js");break;case L.Romanian:e=await import("./F52QFKHW.js");break;case L.Russian:e=await import("./AVSRW44C.js");break;case L.Serbian:e=await import("./EDPAHR3Z.js");break;case L.Slovak:e=await import("./NCJKHZMQ.js");break;case L.Slovenian:e=await import("./73IVL7R4.js");break;case L.Swedish:e=await import("./DA4AXCCH.js");break;case L.Thai:e=await import("./B3PDSX5N.js");break;case L.Turkish:e=await import("./YYN5DXLD.js");break;case L.Ukrainian:e=await import("./NRFEJHV6.js");break;case L.Vietnamese:e=await import("./57YMRIAD.js");break;case L.ChineseChina:e=await import("./ZCKII5TJ.js");break;case L.ChineseHongKong:e=await import("./5SBSQFKN.js");break;case L.ChineseTaiwan:e=await import("./3E3LA62H.js");break;case L.English:}return e}var Wc={Reject:"reject",RenderUpToTheLimit:"renderUpToTheLimit"},G={AxisLabels:"axisLabels",GuideLabel:"guideLabel",AxisTitle:"axisTitle",ChartTitle:"chartTitle",ChartSubtitle:"chartSubtitle",DataLabels:"dataLabels",LegendTitle:"legendTitle",LegendText:"legendText",DescriptionText:"descriptionText"},Vj=32,Uj="arcgis_charts_features_extent",cr={maxRecordCountFactor:5,maxParallelRequests:4,maxRecords:2e3,orderByJSAPIDelimiter:" ",outStatistics:{statisticType:hn.statisticType,onStatisticField:"OBJECTID",outStatisticFieldName:"arcgis_charts_outStatisticFieldName_default_key"},uniqueIdsName:"arcgisChartsUniqueIds"},Bw=["EXPR_1","Expr1","expr1","EXPR1"],Gj=1,ot=.7,kw=25,zc=[156,156,156,255],qw=[156,156,156,255],Hj=Cr.Solid,Qj=2,Kj={defaultGroupOfSlicesId:"arcgis_charts_group_of_slices",sliceIdPrefix:"arcgis-charts-slice-id",undefinedSliceId:"arcgis-charts-slice-id-undefined",nullSliceId:"arcgis-charts-slice-id-null",emptySliceId:"arcgis-charts-slice-id-empty"},Vo="arcgis_charts_box_plot_category",Nw=[[31,120,180,255],[166,206,227,255],[51,160,44,255],[178,223,138,255],[227,26,28,255],[251,154,153,255],[255,127,0,255],[253,191,111,255],[106,61,154,255],[202,178,214,255]],Mw=[[104,104,104,255],[51,124,235,255],[132,0,168,255],[156,156,156,255]];function ft(t){let{colorIndex:e,opacity:i,histogramOverlays:a}=t,r=Math.max(0,e??0),o=[...a===!0?Mw:Nw],[s,n,l,u]=o[r%o.length],c=i!==void 0?i*255:u;return[s,n,l,c]}function Vc(t){return[0,0,0,(t??ot)*255]}function Jj(){return{type:C.CursorCrosshair,verticalLineVisible:!1,horizontalLineVisible:!1,style:{type:De.SLS,style:Cr.Dot,color:[211,211,211,255],width:1}}}function ja(t=1){return[Math.floor(Math.random()*256),Math.floor(Math.random()*256),Math.floor(Math.random()*256),t*255]}function ae(t){let e={family:"Arial, Helvetica, sans-serif",size:10};switch(t){case G.ChartTitle:e.size=18;break;case G.AxisTitle:e.size=14;break;case G.LegendText:e.size=12;break;case G.LegendTitle:e.size=13;break;case G.DescriptionText:e.size=11;break}return e}function Uc(t="",e=ae(),i){let a=bi.Center;return(i===G.DataLabels||i===G.GuideLabel)&&(a=void 0),{type:De.TS,color:Vc(),text:t,font:e,horizontalAlignment:a}}function X(t){let{text:e,visible:i,font:a,type:r}=t??{text:"",visible:!0,font:ae()};return{type:C.Text,visible:i,content:Uc(e,a,r)}}function ui(t){let e=t?.useRandomColor??!1,i=t?.useRampColor,a=t?.width??1,r=t?.isHistogramOverlay,o=t?.color??Vc(1);return e?o=ja():i!==void 0&&(r===!0?o=ft({colorIndex:i.colorIndex,histogramOverlays:r}):o=ft({colorIndex:i.colorIndex})),t?.opacity!==void 0&&(o[3]=t.opacity),{type:De.SLS,style:Cr.Solid,color:o,width:a}}function Ww(){return{type:C.CategoryAxisFormat,characterLimit:11}}function Zj(){return{type:C.DateAxisFormat,intlOptions:{}}}function qo(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:3,useGrouping:!0}}}function Xj(){return{type:C.NumberAxisFormat,intlOptions:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}}function Yj(){return{type:C.NumberAxisFormat,intlOptions:{style:"percent",minimumFractionDigits:0,maximumFractionDigits:0}}}function Oc(t="Category Axis"){let e=X({text:t,visible:!0,font:ae(G.AxisTitle)});e.content.horizontalAlignment=bi.Center,e.content.verticalAlignment=Ga.Middle;let i=X({text:t,visible:!0,font:ae(G.AxisLabels)});return{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:Ww(),lineSymbol:ui({color:zc})}}function Oa(t="Value Axis"){let e=X({text:t,visible:!0,font:ae(G.AxisTitle)}),i=X({text:t,visible:!0,font:ae(G.AxisLabels)});return e.content.verticalAlignment=Ga.Middle,e.content.horizontalAlignment=bi.Center,{type:C.Axis,visible:!0,title:e,labels:i,valueFormat:qo(),lineSymbol:ui({color:zc})}}function ur(){return{type:C.Legend,visible:!0,title:X({text:"",visible:!0,font:ae(G.LegendTitle)}),body:Uc("",ae(G.LegendText)),position:fn.Right,maxHeight:Number.NaN}}function Ta(t){return{type:C.Overlay,visible:!0,created:!1,symbol:ui({useRampColor:{colorIndex:t},isHistogramOverlay:!0})}}function fr(){return[255,255,255,255]}async function Qt(){return(await yt()).defaultTitle}function Kt(){return`Chart ${Date.now()}`}function e2(t,e=!1){return{type:De.SFS,style:Tr.Solid,color:e?ja(ot):ft({colorIndex:t??0,opacity:ot})}}function zw(t=0){return{type:De.SMS,style:Ua.Circle,color:ft({colorIndex:t,opacity:ot}),size:4}}function Vw(t){return{type:De.SLS,style:Cr.Solid,color:ft({colorIndex:t,opacity:ot}),width:2}}function Uw(t=!1){return{type:De.SMS,style:Ua.Circle,color:t?ja(ot):ft({colorIndex:0,opacity:ot}),size:7}}function t2(){return{type:C.SizePolicy,field:"",scaleType:gn.Linear,minSize:5,maxSize:30}}function Gw(t=!1){return{type:C.Overlays,trendLine:{type:C.Overlay,created:!1,visible:!0,symbol:{type:De.SLS,style:Cr.Solid,color:t?ja():ft({colorIndex:1}),width:2}}}}function Hw(){return{type:C.ScatterSeries,id:C.ScatterSeries,name:C.ScatterSeries,x:"",y:"",markerSymbol:Uw(),overlays:Gw(),dataLabels:X({text:"",visible:!1,font:ae(G.DataLabels)})}}async function Gr(t){let e=await yt(),i=[],a=e.xAxis,r=e.statistics.count,o,s=Oa(r),n=ui({opacity:kw});switch(s.grid=n,t){case C.BarSeries:{o=Oc(a);break}case C.ScatterSeries:{o=Oa(a),o.grid=n;break}case C.RadarSeries:case C.LineSeries:case C.HistogramSeries:{o=Oa(a);break}case C.BoxPlotSeries:{o=Oc("");break}}return o!==void 0&&i.push(o,s),i}function Qw(){return{type:C.GaugeNeedle,symbol:{type:De.SFS,color:[0,0,0,200]}}}async function Kw(){let t=await yt(),e=[],i=t.xAxis,a=Oa(i);return a.needle=Qw(),e.push(a),e}async function Jw(t){let e=t.objectIDField??"ObjectID",i=`${fe.Count}_${e}_0`.toUpperCase(),a=(await yt()).countSeries;return{type:C.LineSeries,id:a,name:a,query:{outStatistics:[{statisticType:fe.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,lineSymbol:Vw(t.seriesIndex),markerSymbol:zw(t.seriesIndex),dataLabels:X({text:"",visible:!1,font:ae(G.DataLabels)}),temporalBinning:{type:Va.FixedDateBased,unit:Le.Day,size:0,timeAggregationType:wr.Start,trimIncompleteTimeInterval:!0,nullPolicy:mn.Interpolate}}}async function r2(t){return{...await Jw(t),type:C.RadarSeries}}function Zw(t){return{type:De.SFS,style:Tr.Solid,color:ft({colorIndex:t,opacity:ot})}}async function i2(t){let e=t.objectIDField??"ObjectID",i=`${fe.Count}_${e}_0`.toUpperCase(),a=(await yt()).countSeries;return{type:C.BarSeries,id:a,name:a,query:{outStatistics:[{statisticType:fe.Count,onStatisticField:e,outStatisticFieldName:i}],groupByFieldsForStatistics:[]},x:"",y:i,fillSymbol:Zw(t.seriesIndex),dataLabels:X({text:"",visible:!1,font:ae(G.DataLabels),type:G.DataLabels})}}async function a2(t){let e=(await yt()).countSeries;return{name:e,type:C.BoxPlotSeries,id:e,fillSymbol:{type:De.SFS,style:Tr.Solid,color:ft({colorIndex:t,opacity:ot})},query:{},x:Vo,y:""}}function Xw(){return{type:C.PieTick,visible:!0,lineSymbol:ui({width:1,color:qw})}}function Yw(){return{type:De.SFS,style:Tr.Solid}}async function o2(t){let e=`${fe.Count}_${t}_0`.toUpperCase(),i=(await yt()).countSeries;return{type:C.PieSeries,id:i,name:i,query:{outStatistics:[{statisticType:fe.Count,onStatisticField:t??"ObjectID",outStatisticFieldName:e}],groupByFieldsForStatistics:[]},x:"",y:e,fillSymbol:Yw(),dataLabels:X({text:"",visible:!1,font:ae(G.DataLabels),type:G.DataLabels}),startAngle:-90,endAngle:270,dataLabelsCharacterLimit:11,displayCategoryOnDataLabel:!0,displayNumericValueOnDataLabel:!1,displayPercentageOnDataLabel:!0,numericValueFormat:{...qo(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},percentValueFormat:{...qo(),intlOptions:{minimumFractionDigits:1,maximumFractionDigits:1}},ticks:Xw()}}function n2(t){let e=t.objectIDField??"ObjectID",i=`${fe.Count}_${e}_0`.toUpperCase(),a="Series0";return{type:C.GaugeSeries,id:a,name:a,query:{outStatistics:[{statisticType:fe.Count,onStatisticField:e,outStatisticFieldName:i}]},x:""}}function pi(){return!1}async function s2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,rotated:pi(),orderOptions:{data:{orderType:Ir.Category,orderBy:wt.Ascending}},title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),axes:await Gr(C.BarSeries),series:[],legend:ur()}}async function l2(t=Kt()){return{version:Pt,type:C.Chart,id:t,rotated:pi(),colorMatch:!0,orderOptions:{data:{orderType:Ir.Category,orderBy:wt.Ascending}},title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),series:[],legend:ur(),axes:await Gr(C.BoxPlotSeries),standardizeValues:!0,showOutliers:!1}}async function p2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,rotated:pi(),orderOptions:{data:{orderType:Ir.Category,orderBy:wt.Ascending}},title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),axes:await Gr(C.LineSeries),series:[],legend:ur()}}async function d2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Ir.Category,orderBy:wt.Ascending}},title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),axes:await Gr(C.RadarSeries),series:[],legend:ur()}}async function c2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,orderOptions:{data:{orderType:Ir.YValue,orderBy:wt.Descending}},title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),series:[],legend:{...ur(),displayNumericValue:!1,displayPercentage:!0}}}async function u2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),series:[],axes:await Kw()}}async function f2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),axes:await Gr(C.ScatterSeries),series:[Hw()],legend:ur()}}function eI(){return{type:C.Overlays,mean:Ta(1),median:Ta(2),standardDeviation:Ta(3),comparisonDistribution:Ta(4)}}function tI(){return{type:De.SFS,style:Tr.Solid,color:ft({colorIndex:0,opacity:ot})}}function rI(){return{type:C.HistogramSeries,id:C.HistogramSeries,name:C.HistogramSeries,visible:!0,dataTooltipVisible:!0,dataTooltipReverseColor:!1,assignToSecondValueAxis:!1,x:"",binCount:32,overlays:eI(),dataTransformationType:za.None,fillSymbol:tI(),dataLabels:X({text:"",visible:!1,font:ae(G.DataLabels)})}}async function h2(t=Kt()){return{version:Pt,type:C.Chart,id:t,colorMatch:!0,title:X({text:await Qt(),visible:!0,font:ae(G.ChartTitle)}),subtitle:X(),footer:X({text:"",visible:!0,font:ae(G.DescriptionText)}),background:fr(),axes:await Gr(C.HistogramSeries),series:[rI()],legend:ur()}}var _o={behaviorAfterLimit:Wc.Reject,maxCategoryCount:Number.NaN,maxBarChartSeriesCount:100,maxBarUniqueSeriesCountTotal:1e4,maxBarTwoSeriesCountPerSeries:1e3,maxBarTwoSeriesCountTotal:2e3,maxBarThreePlusSeriesCountPerSeries:100,maxBarThreePlusSeriesCountTotal:2e3,maxScatterPointsBeforeAggregation:1e4,maxScatterPointsAfterAggregation:1e4,maxLineChartSeriesCount:100,maxLineUniqueSeriesCountTotal:1e4,maxLineTwoSeriesCountPerSeries:5e3,maxLineTwoSeriesCountTotal:1e4,maxLineThreePlusSeriesCountPerSeries:1e3,maxLineThreePlusSeriesCountTotal:1e4,maxPieChartSliceCountTotal:300,maxGaugeByFeaturesLimit:50,maxBoxPlotSeriesCount:100,maxBoxUniqueSeriesCountTotal:1e4,maxBoxTwoSeriesCountPerSeries:1e3,maxBoxTwoSeriesCountTotal:2e3,maxBoxThreePlusSeriesCountPerSeries:100,maxBoxThreePlusSeriesCountTotal:2e3,maxBoxPlotOutlierLimit:1e4};function iI(t){let e={..._o};return t!==void 0&&Object.keys(_o).forEach(i=>{let a=i;e[a]=t[a]??_o[a]}),e}function m2(){return{maxScatterCellsPerQuery:500,maxScatterCellsPerQueryForStandard:175,maxElementsPerSelectionQuery:25,maxOIDsPerSelectionQuery:2e3,maxOperandsPerWhereClause:200}}async function y2(t){let e=await yt(),i;switch(t){case fe.Average:{i=e.statistics.mean;break}case fe.ContinuousPercentile:{i=e.statistics.median;break}case fe.Sum:{i=e.statistics.sum;break}case fe.Minimum:{i=e.statistics.minimum;break}case fe.Maximum:{i=e.statistics.maximum;break}case fe.Variance:{i=e.statistics.variance;break}case fe.DiscretePercentile:{i=e.statistics.discretePercentile;break}case fe.NoAggregation:{i=e.statistics.noAggregation;break}case fe.Count:default:{i=e.statistics.count;break}}return i}async function g2(t){let e=await yt(),i;switch(t){case wr.End:{i=e.timeAggregationTypes.end;break}case wr.Start:{i=e.timeAggregationTypes.start;break}default:i="";break}return i}function aI(){return ei.Side}async function b2(){return(await yt()).notAvailable}var v2=0,oI="_arcgis_charts_outliers",nI="_arcgis_charts_z_score",S2=[210,210,210,255*ot],x2=" percentage ";var $a=function(){return $a=Object.assign||function(t){for(var e,i=1,a=arguments.length;i<a;i++){e=arguments[i];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])}return t},$a.apply(this,arguments)},No={exports:{}},me={},Mo={exports:{}},hr={};function Gc(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function sI(t,e,i){}function lI(t,e,i){}var pI=/javascript\s*\:/img;function dI(t,e){return pI.test(e)?"":e}hr.whiteList=Gc();hr.getDefaultWhiteList=Gc;hr.onAttr=sI;hr.onIgnoreAttr=lI;hr.safeAttrValue=dI;var cI={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},li=cI;function uI(t,e){t=li.trimRight(t),t[t.length-1]!==";"&&(t+=";");var i=t.length,a=!1,r=0,o=0,s="";function n(){if(!a){var c=li.trim(t.slice(r,o)),d=c.indexOf(":");if(d!==-1){var f=li.trim(c.slice(0,d)),p=li.trim(c.slice(d+1));if(f){var y=e(r,s.length,f,p,c);y&&(s+=y+"; ")}}}r=o+1}for(;o<i;o++){var l=t[o];if(l==="/"&&t[o+1]==="*"){var u=t.indexOf("*/",o+2);if(u===-1)break;o=u+1,r=o+1,a=!1}else l==="("?a=!0:l===")"?a=!1:l===";"?a||n():l===`
|
|
57
|
+
`&&n()}return li.trim(s)}var fI=uI,Pa=hr,hI=fI;function Lc(t){return t==null}function mI(t){var e={};for(var i in t)e[i]=t[i];return e}function Hc(t){t=mI(t||{}),t.whiteList=t.whiteList||Pa.whiteList,t.onAttr=t.onAttr||Pa.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||Pa.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||Pa.safeAttrValue,this.options=t}Hc.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onAttr,o=i.onIgnoreAttr,s=i.safeAttrValue,n=hI(t,function(l,u,c,d,f){var p=a[c],y=!1;if(p===!0?y=p:typeof p=="function"?y=p(d):p instanceof RegExp&&(y=p.test(d)),y!==!0&&(y=!1),d=s(c,d),!!d){var g={position:u,sourcePosition:l,source:f,isWhite:y};if(y){var m=r(c,d,g);return Lc(m)?c+":"+d:m}else{var m=o(c,d,g);if(!Lc(m))return m}}});return n};var yI=Hc;(function(t,e){var i=hr,a=yI;function r(s,n){var l=new a(n);return l.process(s)}e=t.exports=r,e.FilterCSS=a;for(var o in i)e[o]=i[o]})(Mo,Mo.exports);var Uo=Mo.exports,Go={indexOf:function(t,e){var i,a;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,a=t.length;i<a;i++)if(t[i]===e)return i;return-1},forEach:function(t,e,i){var a,r;if(Array.prototype.forEach)return t.forEach(e,i);for(a=0,r=t.length;a<r;a++)e.call(i,t[a],a,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,i=e.exec(t);return i?i.index:-1}},gI=Uo.FilterCSS,bI=Uo.getDefaultWhiteList,Da=Go;function Qc(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Kc=new gI;function vI(t,e,i){}function SI(t,e,i){}function xI(t,e,i){}function wI(t,e,i){}function Jc(t){return t.replace(CI,"<").replace(TI,">")}function II(t,e,i,a){if(i=ru(i),e==="href"||e==="src"){if(i=Da.trim(i),i==="#")return"#";if(!(i.substr(0,7)==="http://"||i.substr(0,8)==="https://"||i.substr(0,7)==="mailto:"||i.substr(0,4)==="tel:"||i.substr(0,11)==="data:image/"||i.substr(0,6)==="ftp://"||i.substr(0,2)==="./"||i.substr(0,3)==="../"||i[0]==="#"||i[0]==="/"))return""}else if(e==="background"){if(Aa.lastIndex=0,Aa.test(i))return""}else if(e==="style"){if($c.lastIndex=0,$c.test(i)||(Dc.lastIndex=0,Dc.test(i)&&(Aa.lastIndex=0,Aa.test(i))))return"";a!==!1&&(a=a||Kc,i=a.process(i))}return i=iu(i),i}var CI=/</g,TI=/>/g,PI=/"/g,AI=/"/g,FI=/&#([a-zA-Z0-9]*);?/gim,EI=/:?/gim,OI=/&newline;?/gim,Aa=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,$c=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Dc=/u\s*r\s*l\s*\(.*/gi;function Zc(t){return t.replace(PI,""")}function Xc(t){return t.replace(AI,'"')}function Yc(t){return t.replace(FI,function(e,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function eu(t){return t.replace(EI,":").replace(OI," ")}function tu(t){for(var e="",i=0,a=t.length;i<a;i++)e+=t.charCodeAt(i)<32?" ":t.charAt(i);return Da.trim(e)}function ru(t){return t=Xc(t),t=Yc(t),t=eu(t),t=tu(t),t}function iu(t){return t=Zc(t),t=Jc(t),t}function LI(){return""}function $I(t,e){typeof e!="function"&&(e=function(){});var i=!Array.isArray(t);function a(s){return i?!0:Da.indexOf(t,s)!==-1}var r=[],o=!1;return{onIgnoreTag:function(s,n,l){if(a(s))if(l.isClosing){var u="[/removed]",c=l.position+u.length;return r.push([o!==!1?o:l.position,c]),o=!1,u}else return o||(o=l.position),"[removed]";else return e(s,n,l)},remove:function(s){var n="",l=0;return Da.forEach(r,function(u){n+=s.slice(l,u[0]),l=u[1]}),n+=s.slice(l),n}}}function DI(t){for(var e="",i=0;i<t.length;){var a=t.indexOf("<!--",i);if(a===-1){e+=t.slice(i);break}e+=t.slice(i,a);var r=t.indexOf("-->",a);if(r===-1)break;i=r+3}return e}function RI(t){var e=t.split("");return e=e.filter(function(i){var a=i.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),e.join("")}me.whiteList=Qc();me.getDefaultWhiteList=Qc;me.onTag=vI;me.onIgnoreTag=SI;me.onTagAttr=xI;me.onIgnoreTagAttr=wI;me.safeAttrValue=II;me.escapeHtml=Jc;me.escapeQuote=Zc;me.unescapeQuote=Xc;me.escapeHtmlEntities=Yc;me.escapeDangerHtml5Entities=eu;me.clearNonPrintableCharacter=tu;me.friendlyAttrValue=ru;me.escapeAttrValue=iu;me.onIgnoreTagStripAll=LI;me.StripTagBody=$I;me.stripCommentTag=DI;me.stripBlankChar=RI;me.cssFilter=Kc;me.getDefaultCSSWhiteList=bI;var Ba={},Ut=Go;function _I(t){var e=Ut.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=Ut.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function jI(t){return t.slice(0,2)==="</"}function BI(t,e,i){var a="",r=0,o=!1,s=!1,n=0,l=t.length,u="",c="";e:for(n=0;n<l;n++){var d=t.charAt(n);if(o===!1){if(d==="<"){o=n;continue}}else if(s===!1){if(d==="<"){a+=i(t.slice(r,n)),o=n,r=n;continue}if(d===">"){a+=i(t.slice(r,o)),c=t.slice(o,n+1),u=_I(c),a+=e(o,a.length,u,c,jI(c)),r=n+1,o=!1;continue}if(d==='"'||d==="'")for(var f=1,p=t.charAt(n-f);p.trim()===""||p==="=";){if(p==="="){s=d;continue e}p=t.charAt(n-++f)}}else if(d===s){s=!1;continue}}return r<t.length&&(a+=i(t.substr(r))),a}var kI=/[^a-zA-Z0-9\\_:.-]/gim;function qI(t,e){var i=0,a=0,r=[],o=!1,s=t.length;function n(f,p){if(f=Ut.trim(f),f=f.replace(kI,"").toLowerCase(),!(f.length<1)){var y=e(f,p||"");y&&r.push(y)}}for(var l=0;l<s;l++){var u=t.charAt(l),c,d;if(o===!1&&u==="="){o=t.slice(i,l),i=l+1,a=t.charAt(i)==='"'||t.charAt(i)==="'"?i:MI(t,l+1);continue}if(o!==!1&&l===a){if(d=t.indexOf(u,l+1),d===-1)break;c=Ut.trim(t.slice(a+1,d)),n(o,c),o=!1,l=d,i=l+1;continue}if(/\s|\n|\t/.test(u))if(t=t.replace(/\s|\n|\t/g," "),o===!1)if(d=NI(t,l),d===-1){c=Ut.trim(t.slice(i,l)),n(c),o=!1,i=l+1;continue}else{l=d-1;continue}else if(d=WI(t,l-1),d===-1){c=Ut.trim(t.slice(i,l)),c=Rc(c),n(o,c),o=!1,i=l+1;continue}else continue}return i<t.length&&(o===!1?n(t.slice(i)):n(o,Rc(Ut.trim(t.slice(i))))),Ut.trim(r.join(" "))}function NI(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="="?e:-1}}function MI(t,e){for(;e<t.length;e++){var i=t[e];if(i!==" ")return i==="'"||i==='"'?e:-1}}function WI(t,e){for(;e>0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function zI(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function Rc(t){return zI(t)?t.substr(1,t.length-2):t}Ba.parseTag=BI;Ba.parseAttr=qI;var VI=Uo.FilterCSS,at=me,au=Ba,UI=au.parseTag,GI=au.parseAttr,La=Go;function Fa(t){return t==null}function HI(t){var e=La.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=La.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=La.trim(t.slice(0,-1))),{html:t,closing:i}}function QI(t){var e={};for(var i in t)e[i]=t[i];return e}function KI(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(a){return a.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function ou(t){t=QI(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=at.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=KI(t.whiteList||t.allowList):t.whiteList=at.whiteList,t.onTag=t.onTag||at.onTag,t.onTagAttr=t.onTagAttr||at.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||at.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||at.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||at.safeAttrValue,t.escapeHtml=t.escapeHtml||at.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new VI(t.css))}ou.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,a=i.whiteList,r=i.onTag,o=i.onIgnoreTag,s=i.onTagAttr,n=i.onIgnoreTagAttr,l=i.safeAttrValue,u=i.escapeHtml,c=e.cssFilter;i.stripBlankChar&&(t=at.stripBlankChar(t)),i.allowCommentTag||(t=at.stripCommentTag(t));var d=!1;i.stripIgnoreTagBody&&(d=at.StripTagBody(i.stripIgnoreTagBody,o),o=d.onIgnoreTag);var f=UI(t,function(p,y,g,m,S){var T={sourcePosition:p,position:y,isClosing:S,isWhite:Object.prototype.hasOwnProperty.call(a,g)},x=r(g,m,T);if(!Fa(x))return x;if(T.isWhite){if(T.isClosing)return"</"+g+">";var P=HI(m),F=a[g],A=GI(P.html,function(_,R){var E=La.indexOf(F,_)!==-1,j=s(g,_,R,E);return Fa(j)?E?(R=l(g,_,R,c),R?_+'="'+R+'"':_):(j=n(g,_,R,E),Fa(j)?void 0:j):j});return m="<"+g,A&&(m+=" "+A),P.closing&&(m+=" /"),m+=">",m}else return x=o(g,m,T),Fa(x)?u(m):x},u);return d&&(f=d.remove(f)),f};var JI=ou;(function(t,e){var i=me,a=Ba,r=JI;function o(n,l){var u=new r(l);return u.process(n)}e=t.exports=o,e.filterXSS=o,e.FilterXSS=r,function(){for(var n in i)e[n]=i[n];for(var l in a)e[l]=a[l]}();function s(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}s()&&(self.filterXSS=t.exports)})(No,No.exports);var Vr=No.exports,ZI=function(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e},XI=function(){function t(e,i){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=$a($a({},Vr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(o,s,n,l){return o==="a"&&s==="href"||(o==="img"||o==="source")&&s==="src"?a.sanitizeUrl(n):Vr.safeAttrValue(o,s,n,l)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var r;e&&!i?r=e:e&&i?(r=Object.create(this.arcgisFilterOptions),r.css={whiteList:this.arcgisCSSWhiteList},Object.keys(e).forEach(function(o){if(o==="whiteList")r.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,e.whiteList||{}]);else if(o==="css"){var s=e.css.whiteList;s!=null&&e.css instanceof Object&&Object.keys(s).forEach(function(n){return r.css.whiteList[n]=s[n]})}else r[o]=e[o]})):(r=Object.create(this.arcgisFilterOptions),r.whiteList=this.arcgisWhiteList,r.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=r,this._xssFilter=new Vr.FilterXSS(r)}return t.prototype.sanitize=function(e,i){switch(i===void 0&&(i={}),typeof e){case"number":return isNaN(e)||!isFinite(e)?null:e;case"boolean":return e;case"string":return this._xssFilter.process(e);case"object":return this._iterateOverObject(e,i);default:return i.allowUndefined&&typeof e>"u"?void 0:null}},t.prototype.sanitizeUrl=function(e,i){var a=(i??{}).isProtocolRequired,r=a===void 0?!0:a,o=this._trim(e.substring(0,e.indexOf(":"))),s=e==="/",n=/^#/.test(e),l=o&&this.allowedProtocols.indexOf(o.toLowerCase())>-1;return s||n||l?Vr.escapeAttrValue(e):!o&&!r?Vr.escapeAttrValue("https://".concat(e)):""},t.prototype.sanitizeHTMLAttribute=function(e,i,a,r){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(e,i,a,r):Vr.safeAttrValue(e,i,a,r)},t.prototype.validate=function(e,i){i===void 0&&(i={});var a=this.sanitize(e,i);return{isValid:e===a,sanitized:a}},t.prototype.encodeHTML=function(e){var i=this;return String(e).replace(/[&<>"'\/]/g,function(a){return i._entityMap[a]})},t.prototype.encodeAttrValue=function(e){var i=/^[a-zA-Z0-9]$/;return String(e).replace(/[\x00-\xFF]/g,function(a,r){return i.test(a)?a:"&#x".concat(Number(e.charCodeAt(r)).toString(16),";")})},t.prototype._extendObjectOfArrays=function(e){var i={};return e.forEach(function(a){Object.keys(a).forEach(function(r){Array.isArray(a[r])&&Array.isArray(i[r])?i[r]=i[r].concat(a[r]):i[r]=a[r]})}),i},t.prototype._iterateOverObject=function(e,i){var a=this;i===void 0&&(i={});try{var r=!1,o=void 0;if(Array.isArray(e))o=e.reduce(function(n,l){var u=a.validate(l,i);return u.isValid?n.concat([l]):(r=!0,n.concat([u.sanitized]))},[]);else if(ZI(e)){var s=Object.keys(e);o=s.reduce(function(n,l){var u=e[l],c=a.validate(u,i);return c.isValid?n[l]=u:(r=!0,n[l]=c.sanitized),n},{})}else return i.allowUndefined&&typeof e>"u"?void 0:null;return r?o:e}catch{return null}},t.prototype._trim=function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},t}(),N={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotMonoField:"boxPlotMonoField",BoxPlotMultiFields:"boxPlotMultiFields",BoxPlotMonoFieldAndCategory:"boxPlotMonoFieldAndCategory",BoxPlotMultiFieldsAndCategory:"boxPlotMultiFieldsAndCategory",BoxPlotMonoFieldAndSplitBy:"boxPlotMonoFieldAndSplitBy",BoxPlotMultiFieldsAndSplitBy:"boxPlotMultiFieldsAndSplitBy",BoxPlotMonoFieldAndCategoryAndSplitBy:"boxPlotMonoFieldAndCategoryAndSplitBy"},w2={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"};function I2(t){return t?.colorMatch??!1}function C2(t){let e=pi();if(t!==void 0){let i=qe(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.BoxPlotSeries)&&(e=t.rotated??pi())}return e}function T2(t){return t?.map(e=>e.type)??[]}function YI(t){let e=t?.stackedType;if(e===void 0&&t!==void 0){let i=qe(t.series);(i===C.BarSeries||i===C.LineSeries||i===C.ComboLineAndBarSeries||i===C.RadarSeries)&&(e=aI())}return e}function e0(t){let e=t;return e=e.replace(/'/gu,"''"),e=e.replace(/[/\\"|[\]\\]/gu,"\\$&"),e}function t0(t){let e=!1;if(typeof t!="number"){let i=new Intl.Segmenter;e=Array.from(i.segment(t),a=>a.segment).some(a=>a.charCodeAt(0)>255)}return e}function r0(t){let e=t,i="";t.startsWith("'")&&t.endsWith("'")&&(e=t.slice(1,-1),i="'"),e=e.replace(/'/gu,"''");let a="";return t0(e)&&(a="N"),`${a}${i}${e}${i}`}function nu(t){let{value:e,keepSurroundingQuotes:i,escape:a}=t,r=e?.trim();if(!ht(r)){let o="";r.startsWith("'")&&r.endsWith("'")&&(r=r.slice(1,-1),i&&(o="'")),a!==!1&&(r=e0(r)),r=`${o}${r}${o}`}return r}function P2(t){let{count:e,seriesCount:i,chartType:a,chartLimits:r}=t,{behaviorAfterLimit:o}=r??{},s=!0;if(o!==Wc.RenderUpToTheLimit){let{maxBarChartSeriesCount:n,maxBarUniqueSeriesCountTotal:l,maxBarTwoSeriesCountPerSeries:u,maxBarTwoSeriesCountTotal:c,maxBarThreePlusSeriesCountPerSeries:d,maxBarThreePlusSeriesCountTotal:f,maxLineChartSeriesCount:p,maxLineUniqueSeriesCountTotal:y,maxLineTwoSeriesCountPerSeries:g,maxLineTwoSeriesCountTotal:m,maxLineThreePlusSeriesCountPerSeries:S,maxLineThreePlusSeriesCountTotal:T,maxPieChartSliceCountTotal:x,maxGaugeByFeaturesLimit:P,maxBoxPlotSeriesCount:F,maxBoxUniqueSeriesCountTotal:A,maxBoxTwoSeriesCountTotal:_,maxBoxTwoSeriesCountPerSeries:R,maxBoxThreePlusSeriesCountTotal:E,maxBoxThreePlusSeriesCountPerSeries:j}=iI(r);switch(a){case C.BarSeries:case C.ComboLineAndBarSeries:{let $=e/i;i<=n?i===0?s=!0:i===1?s=e<=l:i===2?s=e<=c&&$<=u:i>2&&(s=e<=f&&$<=d):s=!1}break;case C.LineSeries:case C.RadarSeries:{let $=e/i;i<=p?i===0?s=!0:i===1?s=e<=y:i===2?s=e<=m&&$<=g:i>2&&(s=e<=T&&$<=S):s=!1}break;case C.PieSeries:s=e<=x;break;case C.BoxPlotSeries:{let $=e/i;i<=F?i===0?s=!0:i===1?s=e<=A:i===2?s=e<=_&&$<=R:i>2&&(s=e<=E&&$<=j):s=!1}break;case C.GaugeSeries:s=e<=P;break}}return s}function A2(t=[],e){let i=t.find(a=>a.name===e)?.alias;return i!==""?i??e:e}function F2(t=[],e){let i=t.find(a=>a.alias===e)?.name;return i!==""?i??e:e}function E2(t){let e=!1;switch(qe(t)){case C.PieSeries:e=!0;break;case C.BarSeries:case C.LineSeries:case C.RadarSeries:case C.ComboLineAndBarSeries:case C.BoxPlotSeries:e=t.length>1;break;case C.HistogramSeries:case C.ScatterSeries:{let i=t[0];e=i.overlays!==void 0&&Object.values(i.overlays).some(a=>a.created===!0);break}}return e}function i0(t){let e=!0;return qe(t.series)===C.ScatterSeries&&(e=t.series.length===1),e}function a0(t){let e=!0;return qe(t.series)===C.HistogramSeries&&(e=t.series.length<=1&&t.series[0].type===C.HistogramSeries&&(!("dataTransformationType"in t.series[0])||t.series[0].dataTransformationType!==void 0&&Object.values(za).includes(t.series[0].dataTransformationType))),e}function o0(t){let e=!0;return qe(t.series)===C.PieSeries&&(e=t.series.length<=1),e}function O2(t,e){let i=qe(e?.series),a=t.includes(i);if(a&&e!==void 0)switch(i){case C.HistogramSeries:a=a0(e);break;case C.ScatterSeries:a=i0(e);break;case C.PieSeries:a=o0(e);break}return a}function ht(t){return t==null||typeof t=="string"&&t.trim()===""}function n0(t,e){let i=e.find(a=>a in t);return{isInItem:i!==void 0,expr:i}}function L2(t){return n0(t,Bw)}function $2(t,e){let i;switch(t){case Le.Second:i=e.seconds??"";break;case Le.Minute:i=e.minutes??"";break;case Le.Hour:i=e.hours??"";break;case Le.Day:i=e.days??"";break;case Le.Week:i=e.weeks??"";break;case Le.Month:i=e.months??"";break;case Le.Year:i=e.years??"";break;default:i="";break}return i}function D2(t){let e;switch(t){case pt.Mean:e=1;break;case pt.Median:e=2;break;case pt.StdDev:e=3;break;case pt.Normal:default:e=0;break}return e}function R2(t,e){if(e!==void 0){let{seriesId:i,overlayType:a,visible:r}=t.detail,o;switch(a){case pt.Mean:e.series[0].type===C.HistogramSeries&&(o=e.series[0].overlays?.mean);break;case pt.Median:e.series[0].type===C.HistogramSeries&&(o=e.series[0].overlays?.median);break;case pt.StdDev:e.series[0].type===C.HistogramSeries&&(o=e.series[0].overlays?.standardDeviation);break;case pt.Normal:e.series[0].type===C.HistogramSeries&&(o=e.series[0].overlays?.comparisonDistribution);break;case pt.Trendline:e.series[0].type===C.ScatterSeries&&(o=e.series[0].overlays?.trendLine);break;default:o=e.series.find(s=>s.id===i);break}o!==void 0&&(o.visible=r)}}function _2(t){return new XI().sanitize(t)}function j2(t){return t!=null&&!Number.isNaN(t)&&Number.isFinite(t)}function B2(t,e){let i;return e!==void 0&&(i={...e,rotated:t}),i}function k2(t,e){let i={fieldToSort:""};if(!ht(t)){let a=t.trim(),r=a.split(" ").at(-1)?.toUpperCase();r===wt.Ascending||r===wt.Descending?i={fieldToSort:a.substring(0,a.lastIndexOf(" ")),orderBy:r}:(i={fieldToSort:a},e!==!1&&(i.orderBy=wt.Ascending))}return i}function q2(t){return t===N.BarAndLineSplitBy||t===N.BarAndLineSplitByNoAggregation||t===N.BoxPlotMonoFieldAndSplitBy||t===N.BoxPlotMultiFieldsAndSplitBy||t===N.BoxPlotMonoFieldAndCategoryAndSplitBy}function N2(t){return t?.selectionOIDs===void 0||t.selectionOIDs.length===0}function M2(t={arrayA:[],arrayB:[],getKey:e=>e}){let{arrayA:e,arrayB:i,getKey:a}=t;if(i.length===0||e.length===0)return e;let r=new Map;i.forEach((l,u)=>{let c=a(l);r.set(c,u)});let o=[],s=[];e.forEach((l,u)=>{let c=a(l);r.has(c)&&(o.push(u),s.push(l))}),s.sort((l,u)=>{let c=a(l),d=a(u);return r.get(c)-r.get(d)});let n=[...e];return o.forEach((l,u)=>{n[l]=s[u]}),n}var pr=["1.0.0","1.0.1","2.0.0","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2","3.10.0","3.11.0","4.0.0","4.0.1","5.0.0","6.0.0","6.1.0","6.2.0","6.2.1","6.3.0","6.4.0","7.0.0","7.1.0","7.1.1","7.2.0","7.2.1","7.3.1","7.4.0","7.4.1","7.5.0","7.5.1","7.6.0","8.0.0","8.0.1","9.0.0","9.1.0","9.2.0","9.3.0","9.4.0","9.5.0","9.6.0","9.6.1","9.7.0","10.0.0","11.0.0","12.0.0","13.0.0","14.0.0","14.0.1","15.0.0","16.0.0","16.1.0","16.1.1","17.0.0","17.1.0","17.2.0","17.2.1","18.0.0","18.1.0","18.1.1","18.1.2","18.1.3","19.0.0","20.0.0","20.1.0","20.2.0","21.0.0","21.1.0","22.0.0","23.0.0","23.1.0","23.2.0"],s0="1.0.0",l0="unrecognized.version",p0=[C.LineSeries,C.BarSeries,C.ComboLineAndBarSeries,C.RadarSeries];function jo(t,e){let i=0;if(t!==e){let a=t.split("."),r=e.split(".");for(let o=0;o<a.length;o+=1){let s=Number.parseInt(a[o],10),n=Number.parseInt(r[o],10);if(s>n||Number.isNaN(n)){i=1;break}if(s<n){i=-1;break}}}return i}function d0(t){return t!==void 0?/^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t):!1}function c0(t){let e=Ot.Same,i=[];if(d0(t)&&t!==void 0){pr.sort(jo);let a=jo(t,pr[pr.length-1]);if(a===1?e=Ot.Newer:a===-1&&(e=Ot.Older),e===Ot.Newer||e===Ot.Same)i.push(t);else{for(let r=pr.length-2;r>=0;r-=1)if(jo(t,pr[r])>=0){i=pr.slice(r,pr.length);break}i.length===0&&i.push(s0)}}else e=Ot.Unrecognized,i.push(l0);return{versionStatus:e,versions:i}}function u0(t){let{series:e}=t,i=("showMean"in t?t.showMean:!1)===!0?e.find(a=>a.type===C.LineSeries):e[0];return i??=e[0],i}function W2(t,e){let i=t!==null?t.toString():null,a=e!=null?e.toString():null;return a!==null&&a!==i?De.SFS:De.SLS}function Ho(t,e){let i="";return t!==void 0&&t.includes("=")&&(i=e!==!1?nu({value:t.split("=")[0]}):t.split("=")[0].trim()),i}function fi(t){let{where:e,normalize:i,keepSurroundingQuotes:a,escape:r}=t,o="";return e!==void 0&&e.includes("=")&&(o=e.split("=").slice(1).join("=").trim(),o==="null"?o=null:o.trim()!==""&&!Number.isNaN(Number(o))?o=Number(o):i===!1?r===!0&&(o=r0(o)):o=nu({value:o,keepSurroundingQuotes:a,escape:r})),o}function Ur(t){let e=!1;if(t===void 0||t==="")e=!0;else if(t.includes("=")){let i=Ho(t,!1),a=fi({where:t,normalize:!1});e=i===`${a}`}return e}function z2(t){let{where:e,normalize:i,escape:a}=t,r=i===void 0?!0:i,o=Ho(e),s=fi({where:e,normalize:r,keepSurroundingQuotes:!0,escape:a}),n=e;return o!==""&&s!==""&&(n=`${o}=${s}`),n}function f0(t){let e=N.PieFromCategory;return t[0].query?.outStatistics===void 0?e=N.PieNoAggregation:t[0].query?.groupByFieldsForStatistics===void 0&&(e=N.PieFromFields),e}function h0(t){let e=N.BarAndLineMonoField,i=t[0].query?.where;return t[0].query?.groupByFieldsForStatistics===void 0&&(t[0].query?.outStatistics??[]).length>0?e=N.BarAndLineFromFields:i===void 0&&t[0].query?.outStatistics===void 0?e=N.BarAndLineNoAggregation:Ur(i)?t.length>1&&(e=N.BarAndLineMultiFields):e=t[0].query?.outStatistics===void 0?N.BarAndLineSplitByNoAggregation:N.BarAndLineSplitBy,e}function m0(t){let e=N.BoxPlotMonoField,i=t.length===1,a=t.find(n=>n.type===C.LineSeries)??t[0],{x:r}=a,o="y"in a?a.y:"",s=a.query?.where;switch(r){case Vo:typeof o=="object"&&o.length>1?Ur(s)?i&&(e=N.BoxPlotMultiFields):e=N.BoxPlotMultiFieldsAndSplitBy:i?e=N.BoxPlotMonoField:Ur(s)||(e=N.BoxPlotMonoFieldAndSplitBy);break;default:i?e=N.BoxPlotMonoFieldAndCategory:Ur(s)?e=N.BoxPlotMultiFieldsAndCategory:e=N.BoxPlotMonoFieldAndCategoryAndSplitBy;break}return e}function At(t){let e=N.NonSpecific;if(t?.[0]!==void 0)switch(qe(t)){case C.PieSeries:e=f0(t);break;case C.RadarSeries:case C.BarSeries:case C.LineSeries:case C.ComboLineAndBarSeries:e=h0(t);break;case C.BoxPlotSeries:e=m0(t);break}return e}function V2(t){let{seriesConfig:e,xAxisValueFormatType:i,setTimeBinningInfoWhenNotProvided:a}=t,r=!1;if(y0(e)&&e.binTemporalData!==!1&&i===C.DateAxisFormat){let o=At([e]);if(e.temporalBinning&&o!==N.BarAndLineNoAggregation&&o!==N.BarAndLineSplitByNoAggregation){let{unit:s,size:n}=e.temporalBinning;r=a===!0||n!==void 0&&n>0&&s!==void 0}}return r}function y0(t){return p0.includes(t.type)}var le={Min:"min",FirstQuartile:"first_quartile",Median:"median",ThirdQuartile:"third_quartile",Max:"max",IQR:"iqr",Average:"avg",StandardDeviation:"stddev",Outlier:"outlier"};function g0(t){let e=t===void 0||t==="";return{[le.Average]:`${e?"":`${t}_`}${le.Average}`,[le.Min]:`${e?"":`${t}_`}${le.Min}`,[le.Max]:`${e?"":`${t}_`}${le.Max}`,[le.FirstQuartile]:`${e?"":`${t}_`}${le.FirstQuartile}`,[le.Median]:`${e?"":`${t}_`}${le.Median}`,[le.ThirdQuartile]:`${e?"":`${t}_`}${le.ThirdQuartile}`,[le.IQR]:`${e?"":`${t}_`}${le.IQR}`,[le.Outlier]:`${e?"":`${t}_`}${le.Outlier}`,[le.StandardDeviation]:`${e?"":`${t}_`}${le.StandardDeviation}`}}function b0(t){return t.subType===yn.FeatureGauge}function U2(t){let e;return t!==void 0&&("bins"in t?e=t.bins:"dataItems"in t&&(e=t.dataItems)),e}function v0(t){return t===N.BoxPlotMultiFields||t===N.BoxPlotMultiFieldsAndCategory||t===N.BoxPlotMultiFieldsAndSplitBy}function Ra(t){let{key:e,y:i,chartSubType:a,splitBy:r,splitByValue:o,showOutliers:s,standardizeValues:n}=t,l=o,u=g0(i)[e];return s===!0&&(e===le.Min||e===le.Max)&&(u=`${u}${oI}`),n===!0&&(v0(a)||e===le.Outlier)&&(u=`${u}${nI}`),(o===void 0||`${o}`.trim()==="")&&(l=fi({where:r,normalize:!0,escape:!1})),l!==void 0&&`${l}`.trim()!==""&&(u=`${l}${u!==""?`_${u}`:""}`),u}function Bo(t){let{dataItem:e,y:i,splitBy:a,showOutliers:r}=t,o=Ra({key:le.FirstQuartile,y:i,splitBy:a,showOutliers:r}),s=Ra({key:le.ThirdQuartile,y:i,splitBy:a,showOutliers:r});return Number.isFinite(e[o])||Number.isFinite(e[s])}function S0(t){let{configSeries:e,boxPlotDataItem:i,yList:a,showOutliers:r}=t,o=At(e),s=!1;switch(o){case N.BoxPlotMonoField:case N.BoxPlotMultiFields:case N.BoxPlotMonoFieldAndCategory:s=Bo({dataItem:i,showOutliers:r});break;case N.BoxPlotMultiFieldsAndCategory:s=a.some(n=>Bo({dataItem:i,y:n,showOutliers:r}));break;case N.BoxPlotMonoFieldAndSplitBy:case N.BoxPlotMultiFieldsAndSplitBy:case N.BoxPlotMonoFieldAndCategoryAndSplitBy:s=e.some(n=>Bo({dataItem:i,splitBy:n.query?.where,showOutliers:r}));break;default:s=!1;break}return s}function su(t){return t.map(e=>e.id).filter(e=>e!==void 0)}function _a(t,e){let i=[],a=e??su(t),r=At(t);return i=t.filter(o=>a.includes(o.id)).map(o=>{let s="y"in o?o.y:void 0;return s!==void 0&&r===N.BarAndLineSplitByNoAggregation&&(s=`${s.toString()}_${fi({where:o.query?.where})}`),s}).filter(o=>o!==void 0),Array.from(new Set(i.flat()))}function x0(t){let{seriesConfig:e,filteredSeriesIds:i,showMean:a}=t,r=[];if(a===!0){let o=e.find(s=>s.type===C.BoxPlotSeries);o!==void 0&&"y"in o&&(r=[o.y].flat())}else r=_a(e,i);return r}function dr(t,e){return t===null&&e===!0||Number.isFinite(t)}function w0(t){let{dataItem:e,x:i,y:a,nullAsValid:r=!1}=t;return e[i]!==void 0&&(typeof e[i]!="number"||Number.isFinite(e[i]))&&dr(e[a],r)}function G2(t){let{chartConfig:e,nullAsValid:i=!1,dataSet:a}=t,r=!0;if(e!==void 0){let o=qe(e.series);if(a===void 0||a.length===0)r=!0;else{let s=_a(e.series);r=!a.some(n=>{let l=!1;switch(o){case C.HistogramSeries:{let u=n;l=dr(u.minValue,i)&&dr(u.maxValue,i)}break;case C.ScatterSeries:{let u=n,{x:c,y:d}=e.series[0];l=dr(u[c],i)&&dr(u[d],i)}break;case C.ComboLineAndBarSeries:case C.RadarSeries:case C.LineSeries:case C.BarSeries:{let u=n,{x:c}=e.series[0];l=s.some(d=>w0({dataItem:u,x:c,y:d,nullAsValid:i}));break}case C.BoxPlotSeries:{let u=e.series,{showOutliers:c}=e;l=S0({configSeries:u,boxPlotDataItem:n,yList:s,showOutliers:c});break}case C.PieSeries:{let u=n,{x:c,y:d}=e.series[0];At(e.series)===N.PieFromFields&&(c=Si,d=Ha);let f=u[d];l=u[c]!==void 0&&u[c]!==null&&!Xa(f)&&dr(Number(f),i)}break;case C.GaugeSeries:{let{x:u}=e.series[0];l=dr(n[u],i)}break}return l})}}return r}function I0(t,e){let i=new Map,a=e??su(t);return t.forEach(r=>{if(a.includes(r.id)&&"y"in r){let o=i.get(r.type)??[];o.push(r.y),i.set(r.type,o)}}),i}function C0(t){let{seriesConfig:e,filteredSeriesIds:i,filteredData:a}=t,r=I0(e,i),o=e.find(l=>l.type===C.LineSeries||l.type===C.RadarSeries)?.stackNegativeValuesToBaseline??!0,s=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER;return a.forEach((l,u)=>{r.forEach(c=>{if(o){let d=[],f=[];for(let p=0;p<c.length;p+=1){let y=l[c[p]];y<0?f[u]=(f[u]??0)+y:d[u]=(d[u]??0)+y}d=d.filter(p=>Number.isFinite(p)).sort((p,y)=>p-y),f=f.filter(p=>Number.isFinite(p)).sort((p,y)=>p-y),s=Math.max(s,d.length>0?d[d.length-1]:f[f.length-1]),n=Math.min(n,f.length>0?f[0]:d[0])}else{let d=0;for(let f=0;f<c.length;f+=1){let p=l[c[f]];d+=p,s=Math.max(s,d),n=Math.min(n,d)}}})}),{stackedMinY:n,stackedMaxY:s}}function T0(t){let{dataItem:e,...i}=t,a=Ra({key:le.Min,...i}),r=Ra({key:le.Max,...i}),o=e[a],s=e[r];return{min:o,max:s}}function H2(t){let e=Number.NaN,i=Number.NaN,a,r,{chartConfig:o,chartData:s,filteredSeriesIds:n}=t,{series:l}=o;if(l?.length>0){let{x:u}=l[0],c=s.filter(f=>f[u]!==null);[a,r]=ni(c,f=>f[u]),o.axes?.[1]?.valueFormat.type===C.DateAxisFormat&&a!==void 0&&r!==void 0&&([a,r]=[new Date(a).valueOf(),new Date(r).valueOf()]);let d=qe(o.series);if(d===C.HistogramSeries&&s.length>0){let f=s[0]?.[Ac.Start],p=s[s.length-1]?.[Ac.End];a=typeof f=="number"?f:a,r=typeof p=="number"?p:r}else if(d===C.BoxPlotSeries){e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=_a(l,n),p=At(l),y="standardizeValues"in o?o.standardizeValues===!0:void 0,g=o.series.map(m=>m.visible!==!1?fi({where:m.query?.where}):"");g.length===0&&g.push(" ");for(let m=0;m<c.length;m+=1)for(let S=0;S<f.length;S+=1){let T=p===N.BoxPlotMultiFieldsAndCategory?f[S]:void 0;for(let x=0;x<g.length;x+=1){let{min:P,max:F}=T0({y:T,splitByValue:g[x],chartSubType:p,showOutliers:!1,standardizeValues:y,dataItem:c[m]});P!=null&&P<e&&(e=P),F!=null&&F>i&&(i=F)}}}else switch(YI(o)){case ei.Stacked100:{e=Number.NaN,i=Number.NaN;break}case ei.Stacked:{let{stackedMinY:f,stackedMaxY:p}=C0({seriesConfig:l,filteredData:c,filteredSeriesIds:n});e=f,i=p;break}case ei.Side:default:{e=Number.MAX_SAFE_INTEGER,i=Number.MIN_SAFE_INTEGER;let f=_a(l,n);for(let p=0;p<f.length;p+=1){let y=f[p],[g,m]=ni(c,S=>S[y]);g!==void 0&&g<e&&(e=g),m!==void 0&&m>i&&(i=m)}break}}}return{minY:e,maxY:i,minX:a,maxX:r}}async function mt(t=Mc().locale){let e=await import("./JSU37DNH.js");switch(t){case L.Arabic:e=await import("./ISCQ4FTU.js");break;case L.Bosnian:e=await import("./S2LGBK4P.js");break;case L.Bulgarian:e=await import("./YF64IGLL.js");break;case L.Catalan:e=await import("./DJT2BMLN.js");break;case L.Czech:e=await import("./HFPVDWDG.js");break;case L.Danish:e=await import("./GR3XTLKB.js");break;case L.German:e=await import("./JREDO6JS.js");break;case L.Greek:e=await import("./U5AI27XB.js");break;case L.EnglishUSA:e=await import("./4PPIMLRJ.js");break;case L.Spanish:e=await import("./MYLG6APC.js");break;case L.Estonian:e=await import("./53WCAPZM.js");break;case L.Finnish:e=await import("./SJQRD3SC.js");break;case L.French:e=await import("./RVPKHBM4.js");break;case L.Hebrew:e=await import("./7Q5BB6U7.js");break;case L.Croatian:e=await import("./ICICBG4A.js");break;case L.Hungarian:e=await import("./QASCS5OE.js");break;case L.Indonesian:e=await import("./PVBMB6ZV.js");break;case L.Italian:e=await import("./R2R23LY3.js");break;case L.Japanese:e=await import("./FRSWIZHJ.js");break;case L.Korean:e=await import("./W3SAKAAU.js");break;case L.Lithuanian:e=await import("./4O77D3XU.js");break;case L.Latvian:e=await import("./L5PNEV6D.js");break;case L.NorwegianBokml:e=await import("./MW6YM26F.js");break;case L.Dutch:e=await import("./CCLUCCTF.js");break;case L.Polish:e=await import("./WJ6CXAWX.js");break;case L.PortugueseBrazil:e=await import("./OJRJEY2T.js");break;case L.PortuguesePortugal:e=await import("./Y3JKUXCV.js");break;case L.Romanian:e=await import("./WARFX2R6.js");break;case L.Russian:e=await import("./X4VNZMA3.js");break;case L.Serbian:e=await import("./OI6BR7YD.js");break;case L.Slovak:e=await import("./7NVTOXRF.js");break;case L.Slovenian:e=await import("./ROGAZYAL.js");break;case L.Swedish:e=await import("./USQ5ZP3O.js");break;case L.Thai:e=await import("./VRR2DVE6.js");break;case L.Turkish:e=await import("./7HREKY3U.js");break;case L.Ukrainian:e=await import("./DDYIQRML.js");break;case L.Vietnamese:e=await import("./JWGERRNQ.js");break;case L.ChineseChina:e=await import("./W7AL3HFG.js");break;case L.ChineseHongKong:e=await import("./IZRV5JKA.js");break;case L.ChineseTaiwan:e=await import("./SBPK7VLA.js");break;case L.English:}return e}var Gt=class extends Error{constructor(e,i,a){super(i),this.name=e,this.details=a}},Ht={Default:"defaultError",LayerLoadFailure:"layerLoadFailure",QueryFeaturesError:"queryFeaturesError",ChartDisposed:"ChartDisposeError",LayerFieldsNotFound:"layerFieldsNotFound"};function Q2(t){return t!==void 0&&(!("url"in t)||!t.url)}function Qo(t){return t!==void 0&&"layer"in t}function P0(t){return t!==void 0&&"type"in t&&t.type==="feature"}function A0(t){return t!==void 0&&"type"in t&&t.type==="subtype-group"}function Ko(t){return t!==void 0&&"type"in t&&t.type==="subtype-sublayer"}function K2(t){return P0(t)||Ko(t)}function Fe(t){return Ko(t)?t.parent:t}function lu(t){return t.capabilities?.query?.supportsDistance||Fe(t).sourceJSON?.advancedQueryCapabilities?.supportsQueryWithDistance===!0}function F0(t,e){return t.capabilities?.queryAttributeBins?.supportsDate===!0&&(ht(e)||t.capabilities?.queryAttributeBins?.supportsStackBy)}function J2(t){let e=!1,i=Fe(Be(t)).sourceJSON;if(i){let a=i.queryBinsCapabilities?.supportsFixedIntervalBin,r=i.queryBinsCapabilities?.supportedStatisticTypes,o=[fe.Maximum,fe.Count].every(s=>r?.includes(s.toUpperCase())||r?.includes(s.toLowerCase()));e=a&&o}return e}function Z2(t){let e;return Qo(t)?e=t.layer:e=t,e}function Be(t){let e;return Qo(t)?e=t.layer:e=t,e}function E0(t){let e=!1,i=Fe(t).sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics??[],a=t.capabilities?.query.supportedSpatialAggregationStatistics??{};return e=i.includes("EnvelopeAggregate")||"envelope"in a&&a.envelope===!0,e}function X2(t){let{chartConfig:e,queryObject:i}=t,a,r=Be(i);return r&&(a={id:r.id,layerType:"ArcGISFeatureLayer"},r.url&&(a.url=r.url)),{...e,iLayer:a}}var di=new Map;function O0(t){let e;switch(t){case rr.Feet:e="esriSRUnit_Foot";break;case rr.Miles:e="esriSRUnit_StatuteMile";break;case rr.NauticalMiles:e="esriSRUnit_NauticalMile";break;case rr.USNauticalMiles:e="esriSRUnit_USNauticalMile";break;case rr.Meters:e="esriSRUnit_Meter";break;case rr.Kilometers:e="esriSRUnit_Kilometer";break}return e}async function Y2(t){let{queryObject:e,queryConfig:i,outputFormat:a,dataFormat:r,outAnalytics:o}=t,{where:s,geometry:n,distance:l,units:u,timeExtent:c}=i,d,f=Be(e),p=Fe(f),y={query:{where:ci([s,p.definitionExpression])}},g=Jo(n)?.extent?.toJSON();if(g!==void 0){let S=O0(u),{xmin:T,ymin:x,xmax:P,ymax:F}=g;y.query={...y.query,geometryType:"esriGeometryEnvelope",geometry:`${T},${x},${P},${F}`,distance:l,units:S,inSR:n?.spatialReference?.wkid}}c&&(y.query.time=`${c[0]},${c[1]}`);let m=`${p.url}/${p.layerId}/queryAnalytic?f=${a}&dataFormat=${r}&outAnalytics=${o}`;try{d=(await ko(m,y)).data?.features?.[0]?.attributes}catch(S){let T=await mt();throw new Gt(Ht.QueryFeaturesError,T.queryError,S)}return d}function L0(t,e){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`,stackAlias:`charts_stack_alias_${e}`}}async function eB(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:o,x:s,y:n,yStep:l,errorStrings:u}=t,c;if(e&&"queryAttributeBins"in e&&Number.isFinite(a)&&Number.isFinite(l)&&Number.isFinite(r)&&Number.isFinite(o)&&a>0&&l>0){let d=M0({queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:o,x:s,y:n,yStep:l});try{c=await e.queryAttributeBins(d)}catch(f){throw new Gt(Ht.QueryFeaturesError,u.errors.queryError,f)}}return c}async function tB(t){let{queryConfig:e,x:i,queryObject:a,chartSubType:r,isGaugeByFeature:o}=t,s=Be(a),n;if(a!==void 0){let l=s.objectIdField,{where:u,gdbVersion:c,timeExtent:d,geometry:f,distance:p,units:y}=e,g=B0(d),m=Jo(f),S=Fe(s),T=ci([u,S.definitionExpression]),x={returnDistinctValues:!0,outFields:o===!0||r===N.PieNoAggregation||r===N.BarAndLineNoAggregation||r===N.BarAndLineSplitByNoAggregation?[l]:[i],where:T,gdbVersion:c??S.gdbVersion,timeExtent:g??S.timeExtent,geometry:m};du(x)&&(x.cacheHint=!0),x.geometry!==void 0&&lu(s)&&(p!==void 0&&(x.distance=p),y!==void 0&&(x.units=y));try{n=await a.queryFeatureCount(x)}catch{n=Number.NaN}}return n}async function rB(t){let{queryObject:e,queryConfig:i,abortKey:a}=t,{outStatistics:r}=i,o=new Map;if(e!==void 0&&r!==void 0&&r.length>0){let s=r.map(c=>{let{statisticType:d,onStatisticField:f,outStatisticFieldName:p}=c;return{statisticType:d,onStatisticField:f,outStatisticFieldName:p?.toUpperCase()}});i.outStatistics=s,delete i.num,delete i.orderByFields;let n=uu({queryObject:e,queryConfig:i}),l;try{l=await e.queryFeatures(n,{signal:a!==void 0?di.get(a)?.signal:void 0})}catch(c){if(!zo.isAbortError(c)){let d=await mt();throw new Gt(Ht.QueryFeaturesError,d.queryError,c)}}let u=l?.features?.[0]?.attributes;u!==void 0&&r.forEach(c=>{let{outStatisticFieldName:d}=c;if(d!==void 0){let f=u[d.toLowerCase()]??u[d.toUpperCase()]??u[d];f!==void 0&&o.set(d,f)}})}return o}async function pu(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:r}=t,o=[],s=Be(e);if(e!==void 0){let n=W0(s),l=uu({queryObject:e,queryConfig:i,maxRecordCountFactor:n});try{a===!0?"queryObjectIds"in e?o=await e.queryObjectIds(l):(l.outFields=[s.objectIdField],o=(await e.queryFeatures(l,{signal:r!==void 0?di.get(r)?.signal:void 0})).features.map(u=>u.attributes[s.objectIdField])):o=(await e.queryFeatures(l,{signal:r!==void 0?di.get(r)?.signal:void 0})).features}catch(u){if(!zo.isAbortError(u)){let c=await mt();throw new Gt(Ht.QueryFeaturesError,c.queryError,u)}}}return o}async function $0(t){let e=[],{featureCount:i,maxRecords:a,queryConfig:r}=t,o=[],s=0,n=r?.start??0;for(;s<cr.maxParallelRequests&&n<i;){let l={...t};l.queryConfig={...r,start:n,num:Math.min(a,i-n)},e.push(pu(l)),n+=a,s+=1}return o=(await Promise.all(e)).flat(),o}async function D0(t){let{queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,featureCount:r,noBatch:o,abortKey:s}=t,n=[],l=Be(e);if(e!==void 0){let u=r??1,c=cu(l);if(o!==!0&&u>c&&l.capabilities?.query.supportsPagination){let d=0,f=0,p=Math.ceil(u/c),y=Math.ceil(p/cr.maxParallelRequests),g=[];for(;f<y;){d=f*cr.maxParallelRequests*c;let m=$0({queryConfig:{...i,start:d},queryObject:e,maxRecords:c,featureCount:u,returnUniqueIdsOnly:a,abortKey:s});g.push(m),f+=1}n=(await Promise.all(g)).flat()}else(Number.isNaN(u)||u>=0)&&(n=await pu({queryObject:e,queryConfig:i,returnUniqueIdsOnly:a,abortKey:s}))}return n}async function iB(t){let{queryObject:e,queryConfig:i,uniqueFeature:a,abortKey:r}=t,o={...i,returnDistinctValues:!0};return await D0({queryObject:e,abortKey:r,queryConfig:o,returnUniqueIdsOnly:!0,featureCount:a===!0?1:void 0})}function aB(t){if(t!==void 0){let e=di.get(t);e!==void 0&&e.abort(),di.set(t,new AbortController)}}function R0(t){return{lowerBoundaryAlias:`charts_lower_boundary_${t}`,upperBoundaryAlias:`charts_upper_boundary_${t}`}}async function oB(t){let{queryObject:e,dateField:i,splitByField:a,queryConfig:r,temporalBinning:o}=t,s=[],n;if(o){let{unit:l}=o;try{if(l){let u=Fe(Be(e));if(n=F0(u,a),n&&e&&"queryAttributeBins"in e){let c=await N0({queryObject:e,queryConfig:r,temporalBinning:o,dateField:i,splitByField:a});s=(await e.queryAttributeBins(c)).features}}}catch(u){let c=await mt();throw new Gt(Ht.QueryFeaturesError,c.queryError,u)}}if(n===!1){let l=await mt();throw new Gt(Ht.QueryFeaturesError,l.queryBinsNotSupported,l.queryBinsNotSupported)}return s}function du(t){let e=!t.geometry||t.geometry.type==="extent",i=(t.where??"").toUpperCase(),a=!i.includes("CURRENT_TIMESTAMP")&&!i.includes("CURRENT_DATE")&&!i.includes("CURRENT_TIME");return e&&a}function cu(t){let e=Fe(t)?.sourceJSON,i=e?.maxRecordCount??cr.maxRecords;return e?.advancedQueryCapabilities?.supportsMaxRecordCountFactor&&e?.maxRecordCount!==void 0&&(i=e.maxRecordCount*cr.maxRecordCountFactor),i}function ci(t,e){let i,a=Array.from(new Set(t)).filter(r=>r!=null&&r!==""&&!Ur(r));return a.sort((r,o)=>o.length-r.length),a.length===1?[i]=a:a?.forEach(r=>{r!==void 0&&(ht(i)?i=`(${r})`:i?.includes(`(${r})`)||(i=`${i} ${e??"AND"} (${r})`))}),i??"1=1"}function _0(t,e){let i=e;if(t!==void 0){let a=Be(t),r=Fe(a).timeExtent;r?.start!=null&&r?.end!=null&&(i=[r.start.valueOf(),r.end.valueOf()])}return i}function j0(t){let{queryObject:e,defaultGeometry:i,ignoreViewExtent:a}=t,r=i;if(!a&&Qo(e)){let o=e.view.extent,{xmin:s,xmax:n,ymin:l,ymax:u,zmin:c,zmax:d,spatialReference:f}=o;r={xmin:s,ymin:l,zmin:c,xmax:n,ymax:u,zmax:d,spatialReference:f}}return r}function B0(t){let e;return t!==void 0&&(e=new Nc({start:new Date(t[0]),end:new Date(t[1])})),e}function Jo(t){let e;return t!==void 0&&(e=Wo.fromJSON(t)),e}function k0(t){return t===void 0?["*"]:Array.from(new Set(t))}function Zo(t){let{queryObject:e,queryConfig:i,queryType:a}=t,{where:r,outStatistics:o,geometry:s,distance:n,units:l,timeExtent:u,returnDistinctValues:c}=i??{},d=a==="Query"?new $w({}):new Lw({}),f=Be(e),p=Fe(f),y=[r,p.definitionExpression];if(d.where=ci(y),d.returnDistinctValues=c??!1,o!==void 0){let S=E0(f);d.outStatistics=o.filter(T=>T.statisticType!==fe.EnvelopeAggregate||S).map(T=>Dw.fromJSON(T))}let g=Jo(s);g!==void 0&&(d.geometry=g,i?.spatialRelationship&&(d.spatialRelationship=i.spatialRelationship),lu(f)&&(n!==void 0&&(d.distance=n),l!==void 0&&(d.units=l)));let m;return u&&(m=new Nc({start:u?.[0],end:u?.[1]})),m!==void 0?d.timeExtent=m:p.timeExtent!==void 0&&(d.timeExtent=p.timeExtent),du(d)&&(d.cacheHint=!0),d}function q0(t){let e;switch(t){case wr.Start:e="first";break;case wr.End:e="last";break}return e}async function N0(t){let{queryObject:e,queryConfig:i,temporalBinning:a,dateField:r,splitByField:o}=t,s=Be(e),n=(await ka(e)).find(x=>x.name===r)?.type,l=Zo({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),{type:u,unit:c,size:d,trimIncompleteTimeInterval:f,timeAggregationType:p}=a,{start:y,end:g,offset:m,outTimeZone:S}=u===Va.CalendarBased?a:{},T=R0(r);if(l.lowerBoundaryAlias=T.lowerBoundaryAlias,l.upperBoundaryAlias=T.upperBoundaryAlias,n!==$e.DateOnly&&(l.outTimeZone=S??Intl.DateTimeFormat().resolvedOptions().timeZone),l.binParameters={type:"date",field:r,interval:{unit:c,value:d},start:y,end:g,offset:m?{unit:m.unit,value:m.size}:null},l.binParameters.type==="date"&&(s.capabilities?.queryAttributeBins?.supportsSnapToData&&(l.binParameters.snapToData=q0(p)),s.capabilities?.queryAttributeBins?.supportsReturnFullIntervalBin&&(l.binParameters.returnFullIntervalBin=f===!1)),!ht(o)){let x=Fe(s).fields.find(P=>P.name===o)?.type;(!x||x==="string"||x==="integer"||x==="small-integer"||x==="big-integer"||x==="double")&&(l.binParameters.stackBy={type:"field",value:o,valueType:x==="string"?"string":"integer"})}return l}function M0(t){let{queryObject:e,queryConfig:i,xStep:a,xMin:r,xMax:o,x:s,y:n,yStep:l}=t,u=Zo({queryObject:e,queryConfig:i,queryType:"AttributeBinsQuery"}),c=L0(s,n);return u.lowerBoundaryAlias=c.lowerBoundaryAlias,u.upperBoundaryAlias=c.upperBoundaryAlias,u.binParameters={type:"fixed-interval",field:s,interval:a,start:r,end:o,stackBy:{value:`FLOOR(${n} / ${l})`,type:"expression",alias:c.stackAlias,valueType:"integer"}},u}function uu(t){let{queryObject:e,queryConfig:i,maxRecordCountFactor:a}=t,{groupByFieldsForStatistics:r,orderByFields:o,gdbVersion:s,start:n,num:l,outFields:u}=i??{},c=Zo({queryObject:e,queryConfig:i,queryType:"Query"});c.returnGeometry=!1;let d=Be(e),f=Fe(d);return c.outFields=k0(u),c.groupByFieldsForStatistics=r??c.groupByFieldsForStatistics,c.orderByFields=o??[],c.objectIds=i?.objectIds,a!==void 0&&(c.maxRecordCountFactor=a),s!==void 0&&s!==""?c.gdbVersion=s:f.gdbVersion!==void 0&&f.gdbVersion!==""&&(c.gdbVersion=f.gdbVersion),l!==void 0&&(c.num=l),n!==void 0&&(c.start=n,c.num=c.num??cu(d)),c}function W0(t){return Fe(t)?.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor===!0?cr.maxRecordCountFactor:void 0}function nB(t){let e,i,a;return t!==void 0&&(e=t.type,(e===vi.UniqueValue||e===vi.ClassBreaks)&&(i=t.field??void 0,e===vi.ClassBreaks&&(a=t.normalizationField??void 0))),{rendererType:e,rendererField:i,rendererNormalizationField:a}}var z0=(0,qc.default)(async t=>{let e=t.featureCollection,i,a;if(e?.layers?.[0]!==void 0){let s=e.layers[0];i=s.featureSet,a=s.layerDefinition}else a=t.layerDefinition;let r={};if(i!==void 0){if(r.source=Fw.fromJSON(i).features,a?.fields!==void 0&&(r.fields=a.fields.map(s=>Aw.fromJSON(s))),a?.objectIdField!==void 0&&(r.objectIdField=a.objectIdField),a?.geometryType!==void 0){let s=Wo.fromJSON({geometryType:a.geometryType});s?.type!==void 0&&s?.type!=="extent"&&(r.geometryType=s.type)}a?.spatialReference!==void 0&&(r.spatialReference=a.spatialReference)}else r.id=t.id,a?.id!==void 0&&(r.layerId=a.id),t.url!==void 0&&(r.url=t.url),t.itemId!==void 0&&a?.id!==void 0&&(r.portalItem={id:t.itemId});if(a!==void 0){let s=a.drawingInfo;s?.renderer!==void 0&&(r.renderer=kc.fromJSON(s.renderer))}let o=new Ew(r);return await o.load(),o});async function sB(t){let{layer:e,view:i,chartConfig:a}=t,r;if(e!==void 0){let o=Be(e),s=Fe(o);if(i!==void 0&&!s.isTable){s.outFields=["*"];let n=u=>"highlight"in u,l=await i.whenLayerView(s);n(l)&&(r=l)}else r=e}else"iLayer"in a&&a.iLayer&&(r=await z0(a.iLayer));return r}async function ka(t,e){let i=Be(t),a=[];if(i!==void 0){await i.load();let r=e===!0&&i?.popupTemplate?.fieldInfos!==void 0;a=i.fields.map(o=>{let s=o.toJSON();if(r){let n=i.popupTemplate?.fieldInfos?.find(l=>l.fieldName?.toLowerCase()===o.name.toLowerCase())?.label;n!==void 0&&n!==o.name&&(s.alias=n)}return s})}return a}function Xo(t,e=[]){return e.find(i=>i.name===t)}function lB(t){return t.find(e=>e.type===$e.OID)?.name??""}function fu(t){return[$e.Single,$e.Double,$e.SmallInteger,$e.Integer,$e.BigInteger].includes(t.type)}function pB(t){return t.type===$e.Date}function dB(t){return[$e.SmallInteger,$e.Integer,$e.BigInteger].includes(t.type)}function cB(t){return t.filter(e=>e.type===$e.Date||e.type===$e.DateOnly||e.type===$e.TimestampOffset).map(e=>e.name)}function uB(t){return t.filter(e=>fu(e)).map(e=>e.name)}function V0(t){let{subtypeInfo:e,fieldName:i,fieldValueToMatch:a}=t,r,o=s=>`${s.id}`==`${a}`;return e?.subtypeField===i&&e.subtypes?r=e.subtypes.find(o)?.name:e?.typeIdField===i&&e.types&&(r=e.types.find(o)?.name),r}function _c(t,e){let i=[],a=A0(t)?t.subtypes:t[e];return a?.[0]!==void 0&&a.forEach(r=>{let{name:o,domains:s}=r,n="id"in r?r.id:void 0;!n&&"code"in r&&(n=r.code);let l=Object.entries(s??{}),u=[],c=l?.filter(([d,f])=>f?.type==="coded-value")?.map(([d,f])=>{let p={fieldName:d,name:o,codedValues:u};if(f&&"codedValues"in f){let y=f.codedValues.map(({code:g,name:m})=>({name:m,code:g}));p={fieldName:d,name:f.name,codedValues:y}}return p});i.push({id:n??"",name:o,domains:c})}),i.length===0?void 0:i}function fB(t){let e;if(t!==void 0){let i=Be(t);if(!Ko(i)&&!ht(i?.typeIdField)){let a=_c(i,"types");a!==void 0&&(e={typeIdField:i.typeIdField??void 0,types:a})}if(!ht(i?.subtypeField)){let a=Fe(i),r=_c(a,"subtypes");r!==void 0&&(e={...e,subtypeField:a.subtypeField??void 0,subtypes:r})}}return e}function hB(t){let{fieldName:e,fieldValueToMatch:i,subtypeInfo:a,fieldList:r}=t,o;if((typeof i!="string"||!ht(i))&&!ht(e)&&(o=V0({subtypeInfo:a,fieldName:e,fieldValueToMatch:i}),o===void 0)){let s=Xo(e,r);if(a?.types!==void 0){let n=a?.types;for(let l of n){let u=l.domains?.filter(c=>c.fieldName===s?.name)??[];for(let c of u)if(o=c?.codedValues?.find(d=>`${d.code}`===i)?.name,o!==void 0)break;if(o!==void 0)break}}o===void 0&&s?.domain!==void 0&&s.domain.type==="codedValue"&&(o=s.domain.codedValues?.find(n=>`${n.code}`==`${i}`)?.name)}return o}async function mB(t){let e=[];return!Fe(t).isTable&&t.fieldsIndex&&(e=await Bc.getRendererFields(t.renderer,t.fieldsIndex)),e}function U0(t){let e="/rest/services",i=t.toLowerCase(),a=i.indexOf(e);return i=a>-1?t.substring(0,a):t,`${i}/rest/info`}async function yB(t){let e=!0,i=".arcgis.com/",a=t.url,r=a?.includes(i);if(a&&r&&Fe(t).sourceJSON.serviceItemId!==void 0){let o=U0(a);try{let s=(await ko(o,{query:{f:"json"}})).data;if(s.owningTenant!==void 0&&s.owningSystemUrl!==void 0){let n=`${s.owningSystemUrl}/sharing/rest/portals/${s.owningTenant}`,l=(await ko(n,{authMode:"auto",query:{f:"json"}})).data,u=new Ow({sourceJSON:l});await u.load(),e=u?.sourceJSON?.subscriptionInfo?.dataStoreLevel===void 0}}catch{}}return e}async function G0(t){let{queryObject:e,fieldToMatch:i,returnUndefinedIfNotFound:a}=t,r=await ka(e),o=r.find(n=>i===n.name);o||(o=r.find(n=>i.toUpperCase()===n.name.toUpperCase()));let s=a?"":i;return o?.name??s}async function gB(t){let{fieldsList:e,queryObject:i,returnUndefinedIfNotFound:a}=t,r=e;return r!==void 0&&(r=await Promise.all(r.map(async o=>await G0({queryObject:i,fieldToMatch:o,returnUndefinedIfNotFound:a})))),r}function bB(t){let{queryObject:e,chartConfig:i,runtimeDataFilters:a,ignoreViewExtent:r}=t,{series:o,dataFilters:s}=i,{where:n,gdbVersion:l,timeExtent:u,geometry:c,distance:d,units:f,objectIds:p,spatialRelationship:y}=s??{},{where:g,gdbVersion:m,timeExtent:S,geometry:T,distance:x,units:P,objectIds:F,spatialRelationship:A}=a??{},_=o[0],{query:R}=_,{where:E}=R??{},j=At(o),$={...R};return $.where=ci([n,g]),j!==N.BarAndLineSplitBy&&j!==N.BoxPlotMonoFieldAndSplitBy&&j!==N.BoxPlotMonoFieldAndCategoryAndSplitBy&&j!==N.BoxPlotMultiFieldsAndSplitBy&&j!==N.BarAndLineSplitByNoAggregation&&($.where=ci([$.where,E])),i.orderOptions?.orderByFields!==void 0&&($.orderByFields=i.orderOptions.orderByFields),$.gdbVersion=m??l,$.timeExtent=_0(e,S??u),$.geometry=j0({queryObject:e,defaultGeometry:T??c,ignoreViewExtent:r}),$.distance=x??d,$.units=P??f,$.objectIds=F??p,$.spatialRelationship=A??y,R?.outStatistics?.[0]?.statisticType===fe.Count&&($.returnDistinctValues=R?.returnDistinctValues??!1),$}var hu={NonNumericAggregation:"nonNumericAggregation",DuplicateSeriesID:"duplicateSeriesId"},Vt={Required:"required",MinLength:"minLength",MinItems:"minItems",MaxItems:"maxItems",Pattern:"pattern",AdditionalProperties:"additionalProperties",Enum:"enum",AnyOf:"anyOf"},vB={BadData:"badData",EmptyDataSet:"emptyDataSet",HistogramEmptyField:"histogramEmptyField",BarElementExceedsLimit:"barElementExceedsLimit",LineChartExceedsLimit:"lineChartExceedsLimit",BoxPlotExceedsLimit:"boxPlotExceedsLimit",BoxPlotOutliersExceedsLimit:"boxPlotOutliersExceedsLimit",PieChartExceedsLimit:"pieChartExceedsLimit",GaugeExceedsLimit:"gaugeExceedsLimit",PieChartMixOfNegativePositiveSlices:"PieChartMixOfNegativePositiveSlices",NegativeValueInSqrtCalculation:"negativeValueInSqrtCalculation",NegativeValueInLogCalculation:"negativeValueInLogCalculation",NegativeValueInXAxisLogScale:"negativeValueInXAxisLogScale",NegativeValueInYAxisLogScale:"negativeValueInYAxisLogScale"};function H0(t){let e=t.lastIndexOf("/");return e!==-1?t.slice(e+1):t}async function Q0(t){let e=await mt();return t.map(i=>{let a=i,r=i.dataPath.startsWith(".")?i.dataPath.substring(1):i.dataPath;switch(i.keyword){case Vt.Required:a={...i,message:Xe(e.requiredProperty,{dataPath:r,missingProperty:i.params.missingProperty})};break;case Vt.MinLength:a={...i,message:Xe(e.minLength,{dataPath:r,limit:i.params.limit.toString()})};break;case Vt.MinItems:a={...i,message:Xe(e.minItems,{dataPath:r,limit:i.params.limit.toString()})};break;case Vt.MaxItems:a={...i,message:Xe(e.maxItems,{dataPath:r,limit:i.params.limit.toString()})};break;case Vt.Pattern:i.params.pattern==="\\w+"&&(a={...i,message:Xe(e.whiteSpacePattern,{dataPath:r}),params:{}});break;case Vt.AdditionalProperties:a={...i,message:Xe(e.additionalProperty,{dataPath:r,additionalProperty:i.params.additionalProperty})};break;case Vt.Enum:a={...i,message:Xe(e.enumValues,{dataPath:r,allowedValues:i.params.allowedValues.join(", ")})};break;case Vt.AnyOf:{let o=[];i.schemaPath==="#/properties/legend/anyOf"&&(o=nr.definitions.WebChart.properties.legend.anyOf.map(s=>H0(s.$ref))),a={...i,params:o,message:Xe(e.anyOfValues,{dataPath:r,schemaOptions:o.join(", ")})};break}}return a})}function Ea(t,e){return{...t,$ref:`#/definitions/${e}`}}async function K0(t){let e,i=await mt(),a=Be(t);try{await a.load()}catch{let r=a?.url??"",o=Fe(a)?.portalItem?.id??"";e={keyword:Ht.LayerLoadFailure,message:Xe(i.layerLoadFailure,{url:r,portalItemId:o}),params:{url:r,portalItemId:o}}}return e}function J0(){let t=new jc.default({allErrors:!0});return async e=>{let i=[],a=qe(e?.series),r=nr;switch(a){case C.GaugeSeries:r=Ea(nr,"WebGaugeChart");break;case C.BoxPlotSeries:r=Ea(nr,"WebBoxPlot");break;case C.RadarSeries:r=Ea(nr,"WebRadarChart");break;default:r=Ea(nr,"WebChart");break}let o=t.compile(r);return o(e),o.errors!==null&&o.errors!==void 0&&(i=await Q0(o.errors)),i}}var Z0=J0();async function X0(t){let{seriesConfigs:e,queryObject:i,allowUsingObjectIdStat:a}=t,r=[],o=await ka(i),s=await mt();for(let n=0;n<e.length;n+=1){let l=e[n].query?.outStatistics;if(l!==void 0)for(let u=0;u<l.length;u+=1){let c=l[u],d=Xo(c.onStatisticField,o);if(d&&!(d.type===$e.OID&&a||fu(d))&&c.statisticType!==fe.Count){let f=`series[${n}].query.outStatistics[${u}]`;r.push({keyword:hu.NonNumericAggregation,message:Xe(s.nonNumericAggregation,{dataPath:f}),dataPath:f,params:{fieldName:c.onStatisticField,fieldType:d.type,aggregationRequested:c.statisticType}})}}}return r}async function Y0(t){let e=[],i=await mt();if(t!==void 0&&t.series.length>1){let a=new Set,r=0;t.series.forEach((o,s)=>{if(a.add(o.id),a.size===r){let n=`series[${s}].id`;e.push({keyword:hu.DuplicateSeriesID,message:Xe(i.duplicateSeriesID,{dataPath:n,seriesID:o.id,seriesName:o.name}),dataPath:n,params:{seriesId:o.id,seriesName:o.name}})}else r+=1})}return e}function eC(t){let e=new Set,i=u0(t);if(i){let a=qe(t.series),r=At(t.series);a===C.GaugeSeries&&!b0(t)||r===N.PieFromFields||r===N.BarAndLineFromFields||r===N.BoxPlotMonoField||r===N.BoxPlotMultiFields||r===N.BoxPlotMonoFieldAndSplitBy||r===N.BoxPlotMultiFieldsAndSplitBy||e.add(i.x);let o=a===C.ScatterSeries||a===C.BoxPlotSeries||r===N.BarAndLineNoAggregation||r===N.BarAndLineSplitByNoAggregation||r===N.PieNoAggregation,s=[Vo,Si,bn,Ha,vn,cr.outStatistics.outStatisticFieldName??""],n=[];if(a===C.BoxPlotSeries?n=x0({showMean:t.showMean,seriesConfig:t.series}):n=t.series.map(l=>"y"in l?l.y:void 0).filter(l=>l!==void 0).flat(),o?n.forEach(l=>e.add(l)):s.push(...n),t.series.forEach(l=>{let{query:u}=l;u&&(Ur(u.where)||e.add(Ho(u.where)),u.groupByFieldsForStatistics&&u.groupByFieldsForStatistics.forEach(c=>e.add(c)),u.outStatistics&&u.outStatistics.forEach(c=>e.add(c.onStatisticField)))}),a===C.GaugeSeries&&t.axes?.[0]!==void 0){let l=t.axes?.[0];l&&"minimumFromField"in l&&typeof l.minimumFromField=="string"&&e.add(l.minimumFromField),l&&"maximumFromField"in l&&typeof l.maximumFromField=="string"&&e.add(l.maximumFromField)}s.forEach(l=>{e.delete(l)})}return Array.from(e.values()).filter(a=>!ht(a))}async function tC(t,e){let i,a=await mt(),r=await ka(e),o=eC(t).filter(s=>!Xo(s,r));if(o.length>0){let s=o.join(", ");i={keyword:Ht.LayerFieldsNotFound,message:Xe(a.layerFieldsNotFound,{fieldNames:s}),params:s}}return i}async function rC(t){let{input:e,queryObject:i,allowUsingObjectIdStat:a}=t,r=[];if(i!==void 0){let o=await X0({seriesConfigs:e.series,queryObject:i,allowUsingObjectIdStat:a});r=r.concat(o)}return r=r.concat(await Y0(e)),r}async function iC(t,e){let i=[];if(t!==void 0){let a=await K0(t);if(a!==void 0)i=i.concat(a);else if(e!==void 0){let r=await tC(e,t);r!==void 0&&(i=i.concat(r))}}return i}async function SB(t){let{input:e,queryObject:i,allowUsingObjectIdStat:a}=t,r;if(c0(e?.version).versionStatus===Ot.Newer)r={valid:!0,schemaErrors:[],customErrors:[],warnings:[]};else{let o=await Z0(e),s=[],n=[];e!==void 0&&o.length===0&&(n=await iC(i,e),n.length===0&&(s=await rC({input:e,queryObject:i,allowUsingObjectIdStat:a}))),r={valid:o.length===0&&s.length===0&&n.length===0,schemaErrors:o,customErrors:n,warnings:s}}return r}function xB(t){let e=qe(t?.series),i=!1;switch(e){case C.HistogramSeries:{i=(t?.series?.[0]?.x?.trim()?.length??0)===0;break}case C.ScatterSeries:{let a=t?.series;i=(a?.[0]?.x?.length??0)===0||(a?.[0]?.y?.length??0)===0;break}case C.PieSeries:{let a=t?.series;At(a)===N.PieFromFields?i=(a?.[0]?.query?.outStatistics?.length??0)===0:i=(a?.[0]?.x?.length??0)===0||a?.[0]?.x===Si;break}case C.BoxPlotSeries:{let a=t?.series;i=[a?.[0]?.y].flat().length===0||a?.[0]?.y==="";break}case C.ComboLineAndBarSeries:case C.RadarSeries:case C.BarSeries:case C.LineSeries:{let a=t?.series;At(a)===N.BarAndLineFromFields?i=(a?.[0]?.query?.outStatistics?.length??0)===0:i=(a?.[0]?.x?.trim()?.length??0)===0;break}}return i}var wB=[{unit:Le.Second,threshold:6e4,unitMs:1e3,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:Le.Minute,threshold:36e5,unitMs:1e3*60,preferredIntervalSize:[1,2,3,5,6,10,12,15,20,30,60]},{unit:Le.Hour,threshold:864e5,unitMs:1e3*60*60,preferredIntervalSize:[1,2,3,4,6,8,12,24]},{unit:Le.Day,threshold:6048e5,unitMs:1e3*60*60*24,preferredIntervalSize:[1,2,3,4,5,6,7]},{unit:Le.Week,threshold:24192e5,unitMs:1e3*60*60*24*7,preferredIntervalSize:[1,2,3,4]},{unit:Le.Month,threshold:290304e5,unitMs:1e3*60*60*24*7*4,preferredIntervalSize:[1,2,3,4,6,12]},{unit:Le.Year,threshold:Number.MAX_SAFE_INTEGER,unitMs:1e3*60*60*24*7*4*12,preferredIntervalSize:[1,2,4,5,10,25,50,100]}],IB="${ groupByFieldsForStatistics } WHEN ${ dateField }>='${ startDate }' AND ${ dateField }${ endDateOperand }'${ endDate }' THEN '${ y }|${ binIndex}'";return{a:Pt,b:$e,c:Cr,d:Ua,e:Tr,f:bi,g:Ga,h:De,i:uC,j:fC,k:hC,l:vi,m:Si,n:Ha,o:bn,p:vn,q:pt,r:re,s:de,t:wi,u:eo,v:aS,w:cg,x:gg,y:Ug,z:Zg,A:yl,B:fS,C:Xa,D:mS,E:$b,F:Iv,G:jS,H:ni,I:NS,J:bp,K:vp,L:Sp,M:xp,N:wp,O:Ac,P:L,Q:Xe,R:Mc,S:Nj,T:Mj,U:Wj,V:zj,W:yt,X:Wc,Y:G,Z:Vj,_:Uj,$:cr,aa:Bw,ba:Gj,ca:ot,da:qw,ea:Hj,fa:Qj,ga:Kj,ha:Vo,ia:Nw,ja:ft,ka:Vc,la:Jj,ma:ja,na:ae,oa:Uc,pa:X,qa:ui,ra:Ww,sa:Zj,ta:qo,ua:Xj,va:Yj,wa:ur,xa:Ta,ya:e2,za:zw,Aa:Vw,Ba:Uw,Ca:t2,Da:Gw,Ea:Gr,Fa:Qw,Ga:Jw,Ha:r2,Ia:Zw,Ja:i2,Ka:a2,La:Xw,Ma:Yw,Na:o2,Oa:n2,Pa:pi,Qa:s2,Ra:l2,Sa:p2,Ta:d2,Ua:c2,Va:u2,Wa:f2,Xa:eI,Ya:tI,Za:rI,_a:h2,$a:iI,ab:m2,bb:y2,cb:g2,db:aI,eb:b2,fb:v2,gb:oI,hb:nI,ib:S2,jb:x2,kb:N,lb:w2,mb:I2,nb:C2,ob:T2,pb:YI,qb:r0,rb:nu,sb:P2,tb:A2,ub:F2,vb:E2,wb:O2,xb:ht,yb:n0,zb:L2,Ab:$2,Bb:D2,Cb:R2,Db:_2,Eb:j2,Fb:B2,Gb:k2,Hb:q2,Ib:N2,Jb:M2,Kb:s0,Lb:l0,Mb:c0,Nb:u0,Ob:W2,Pb:Ho,Qb:fi,Rb:Ur,Sb:z2,Tb:At,Ub:V2,Vb:y0,Wb:le,Xb:g0,Yb:b0,Zb:U2,_b:v0,$b:Ra,ac:Bo,bc:_a,cc:x0,dc:w0,ec:G2,fc:C0,gc:H2,hc:Gt,ic:Ht,jc:Q2,kc:Qo,lc:K2,mc:Fe,nc:lu,oc:J2,pc:Z2,qc:Be,rc:X2,sc:di,tc:Y2,uc:L0,vc:eB,wc:tB,xc:rB,yc:D0,zc:iB,Ac:aB,Bc:R0,Cc:oB,Dc:ci,Ec:Jo,Fc:nB,Gc:z0,Hc:sB,Ic:ka,Jc:lB,Kc:fu,Lc:pB,Mc:dB,Nc:cB,Oc:uB,Pc:fB,Qc:hB,Rc:mB,Sc:yB,Tc:G0,Uc:gB,Vc:bB,Wc:hu,Xc:vB,Yc:SB,Zc:xB,_c:wB,$c:IB}},"geometry/support/jsonUtils","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","request","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils")
|