@arcgis/charts-components 4.34.0-next.46 → 4.34.0-next.48
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/{GMIY46X4.js → 26N4P7W5.js} +2 -2
- package/dist/cdn/{MWJ4NXQV.js → 275ZSFBZ.js} +2 -2
- package/dist/cdn/{ZQZCIQ3F.js → 2D2NXS4P.js} +2 -2
- package/dist/cdn/{CYRGUS2H.js → 2F3F4RMI.js} +2 -2
- package/dist/cdn/{JXR2CAYV.js → 2F4GAP35.js} +2 -2
- package/dist/cdn/{VH7TTODO.js → 2PZQDQSR.js} +2 -2
- package/dist/cdn/{L4G27NNY.js → 2TNS45DF.js} +7 -7
- package/dist/cdn/{VUAF3ZD5.js → 2YEEAK4K.js} +2 -2
- package/dist/cdn/{FDGMIYFX.js → 2ZS7WSM4.js} +2 -2
- package/dist/cdn/{W7XG7CAP.js → 34ZWSO6T.js} +2 -2
- package/dist/cdn/{4IBFPR2Q.js → 3DLWFFQH.js} +2 -2
- package/dist/cdn/{4BNTXF24.js → 3FXR5IRQ.js} +2 -2
- package/dist/cdn/{V7AICLQH.js → 3GGYGDQ6.js} +2 -2
- package/dist/cdn/{JTOMMQHI.js → 3JVA7PG6.js} +2 -2
- package/dist/cdn/{QRDRMX2B.js → 3LPFAZDW.js} +2 -2
- package/dist/cdn/{KLPIOG6Y.js → 3PQ7KPZA.js} +2 -2
- package/dist/cdn/{3CPVLZ34.js → 3UHL6WEF.js} +2 -2
- package/dist/cdn/{KTIOKX6S.js → 3WOLRWRQ.js} +2 -2
- package/dist/cdn/{FXW2UN6C.js → 3X3JM3FW.js} +2 -2
- package/dist/cdn/{J27XNGD2.js → 3XM74UUR.js} +2 -2
- package/dist/cdn/{II2USCKD.js → 3ZFGZAWQ.js} +2 -2
- package/dist/cdn/{LGVJTKY4.js → 42TM4V6A.js} +2 -2
- package/dist/cdn/{C34RANW5.js → 42VLQWJD.js} +2 -2
- package/dist/cdn/{UYYHOCBI.js → 43IH5MJY.js} +2 -2
- package/dist/cdn/{LLPHDORR.js → 46K3MSE6.js} +2 -2
- package/dist/cdn/{BMGEIKK5.js → 4FA223XF.js} +2 -2
- package/dist/cdn/{CGJKNXMO.js → 4PB7PAUI.js} +2 -2
- package/dist/cdn/{5A3QF5W3.js → 4PYCCAN2.js} +2 -2
- package/dist/cdn/{6WCV6EIC.js → 4Y3ECF6N.js} +2 -2
- package/dist/cdn/{Q4XMK235.js → 4YURTXHA.js} +2 -2
- package/dist/cdn/{FGT4G2J4.js → 5LIJS6VA.js} +2 -2
- package/dist/cdn/{GWVI2IYX.js → 5NIYECHK.js} +2 -2
- package/dist/cdn/5VGBMMKR.js +4 -0
- package/dist/cdn/{NPZPS6DY.js → 5XP7JSYE.js} +2 -2
- package/dist/cdn/{522QJ2XS.js → 66RV37JR.js} +2 -2
- package/dist/cdn/{HPTDT5MS.js → 6GE5NI4L.js} +2 -2
- package/dist/cdn/{3BR54V6J.js → 6KYA22IY.js} +2 -2
- package/dist/cdn/{QKRMT3FF.js → 6NPDNWKW.js} +2 -2
- package/dist/cdn/{VJNU6TFV.js → 6OEONTVC.js} +2 -2
- package/dist/cdn/{WHF4K25K.js → 6SCM7LMU.js} +2 -2
- package/dist/cdn/{G6M2YWRP.js → 6SFQDC33.js} +2 -2
- package/dist/cdn/{TVGU4SPT.js → 6SNHIUYD.js} +2 -2
- package/dist/cdn/{IZWQSMFU.js → 6WL4W75G.js} +2 -2
- package/dist/cdn/{6XX7ESOS.js → 73L54RUJ.js} +2 -2
- package/dist/cdn/{NMH77PA3.js → 74SIECTU.js} +2 -2
- package/dist/cdn/{BKK6XWRQ.js → 76IGD6SO.js} +2 -2
- package/dist/cdn/{SY4ST6CR.js → 77S2XRNS.js} +2 -2
- package/dist/cdn/{QVNOGVB2.js → 7BLDWOUF.js} +2 -2
- package/dist/cdn/{JLK47IGP.js → 7FONGS3Q.js} +2 -2
- package/dist/cdn/{TAKZOHKS.js → 7KH3J5YJ.js} +2 -2
- package/dist/cdn/{KUC37UT6.js → 7LRYSAYS.js} +2 -2
- package/dist/cdn/{6X6BPCEX.js → 7QJ7AV5U.js} +2 -2
- package/dist/cdn/{SXZGVWGV.js → 7XE6HCN6.js} +2 -2
- package/dist/cdn/{SMA4VT2V.js → 7YEOXCWU.js} +2 -2
- package/dist/cdn/{7HBBR2Q6.js → A2ME4UJB.js} +2 -2
- package/dist/cdn/{V4MLSLFW.js → ABQXKUCB.js} +2 -2
- package/dist/cdn/{W3AFEL7D.js → AFJJRTK7.js} +2 -2
- package/dist/cdn/{WV3UAKG7.js → AGYAPBDY.js} +2 -2
- package/dist/cdn/{KHBBMSTY.js → AI447QF6.js} +2 -2
- package/dist/cdn/AKXXDSZZ.js +4 -0
- package/dist/cdn/{FNXMF36K.js → AP3DMF2D.js} +2 -2
- package/dist/cdn/{GVDKQSI5.js → APV7H35C.js} +2 -2
- package/dist/cdn/{2GOMZGTK.js → ARUF2CQQ.js} +2 -2
- package/dist/cdn/{ANVBDA2Z.js → AVIVDBBM.js} +2 -2
- package/dist/cdn/{4MRNMNGT.js → AVV3FWKJ.js} +2 -2
- package/dist/cdn/{LQHPJRHH.js → AWTUTRGD.js} +2 -2
- package/dist/cdn/{GNT3AHKT.js → AZLZ7YRF.js} +2 -2
- package/dist/cdn/{EBRFCUFH.js → B5ONH5PB.js} +2 -2
- package/dist/cdn/{J53FEBS4.js → BFW6TRYM.js} +2 -2
- package/dist/cdn/{7FDB5GZC.js → BJCRT2ZM.js} +2 -2
- package/dist/cdn/{EVE5FVAA.js → BKVQVFDQ.js} +2 -2
- package/dist/cdn/{FMBUJP46.js → BMFIOJIZ.js} +2 -2
- package/dist/cdn/{6AMJMRAB.js → BO32RT6C.js} +2 -2
- package/dist/cdn/{O4H3MYFX.js → BYURJHEC.js} +2 -2
- package/dist/cdn/{NOAJE2FM.js → BZW3Y54Q.js} +2 -2
- package/dist/cdn/{RWZTYZHF.js → C3H7QAL6.js} +2 -2
- package/dist/cdn/{NSC2VLB6.js → C3PTTVNF.js} +2 -2
- package/dist/cdn/{6UTEHCDH.js → C44MZARH.js} +2 -2
- package/dist/cdn/{A4NEJVMV.js → C53IHSGH.js} +2 -2
- package/dist/cdn/{5CRSKDU2.js → CAMVOGAP.js} +2 -2
- package/dist/cdn/{4MKARCYL.js → CBLCNL2L.js} +2 -2
- package/dist/cdn/{B3PY3C3C.js → CIK33ZFG.js} +2 -2
- package/dist/cdn/{7JYG2RR6.js → CN7E3GOM.js} +2 -2
- package/dist/cdn/{COCKGBFK.js → COQHH3LW.js} +2 -2
- package/dist/cdn/{2O6ABYFI.js → D2EP45EQ.js} +2 -2
- package/dist/cdn/{3CLH5O2M.js → DEI3GHII.js} +2 -2
- package/dist/cdn/{IMHDWJF5.js → DLDPYUBX.js} +2 -2
- package/dist/cdn/{GKUG2DR3.js → DMPQXPBD.js} +2 -2
- package/dist/cdn/{MRZFBRZ3.js → DPCDDVBF.js} +2 -2
- package/dist/cdn/{PVIW2IDO.js → DYWRZOTD.js} +2 -2
- package/dist/cdn/{D7TSTKQH.js → E7DCOVQ5.js} +2 -2
- package/dist/cdn/{R3QHHBY3.js → E7SWCA2K.js} +1 -1
- package/dist/cdn/{GGHPJMJQ.js → ED35PEC3.js} +2 -2
- package/dist/cdn/{BKC4HUNR.js → EFQSHXPP.js} +2 -2
- package/dist/cdn/{ES2I5I3X.js → EG27KJK4.js} +2 -2
- package/dist/cdn/{3LRRAHUV.js → EH74HFFB.js} +2 -2
- package/dist/cdn/{TOGE3K7W.js → EHNFMY6K.js} +2 -2
- package/dist/cdn/{I2PWHNQ4.js → EJNYEMN3.js} +2 -2
- package/dist/cdn/{ZJ3DAP5J.js → ELIC2KPR.js} +2 -2
- package/dist/cdn/{6M5YJJPL.js → EMWGIZUI.js} +2 -2
- package/dist/cdn/{QV4CBKFD.js → EUDGTT7R.js} +2 -2
- package/dist/cdn/{M3OH7LNH.js → EZSKNFM6.js} +2 -2
- package/dist/cdn/{3XQRYVUE.js → F3QJ2CEV.js} +2 -2
- package/dist/cdn/{OLTPF2UD.js → F56OPFX5.js} +2 -2
- package/dist/cdn/{ZIPRMTMV.js → F6YKLWOZ.js} +2 -2
- package/dist/cdn/{TDMJ2EQC.js → F7QOEDDB.js} +2 -2
- package/dist/cdn/{CYVLLHFH.js → FC2WTV3Q.js} +2 -2
- package/dist/cdn/{MUXXWEIU.js → FC4T4YJ7.js} +2 -2
- package/dist/cdn/{4NLU7DCD.js → FHORVYNP.js} +2 -2
- package/dist/cdn/{4NI2ISV7.js → FPWSBNJS.js} +2 -2
- package/dist/cdn/{DSNIH67L.js → FVRXIA5P.js} +2 -2
- package/dist/cdn/{BCEXJDR7.js → FYZ5U4KJ.js} +2 -2
- package/dist/cdn/{IDHSFYT5.js → G2UB53MF.js} +2 -2
- package/dist/cdn/{W4BBUVWN.js → G46TMGPA.js} +2 -2
- package/dist/cdn/{AJQFM3UD.js → GAERDBGA.js} +2 -2
- package/dist/cdn/{SIFHJNFA.js → GBYDJV73.js} +2 -2
- package/dist/cdn/{WP5QG2VZ.js → GF4BYLBZ.js} +2 -2
- package/dist/cdn/{WFYABZDX.js → GGPAWEGH.js} +1 -1
- package/dist/cdn/{KQKLIKXQ.js → GILDVQS3.js} +2 -2
- package/dist/cdn/{DULRGGUO.js → GYFUU27P.js} +2 -2
- package/dist/cdn/{NI5ZBYGA.js → H34BBYYV.js} +2 -2
- package/dist/cdn/{GXCDIVO6.js → HAMUB65Q.js} +4 -4
- package/dist/cdn/{WHP5AECE.js → HEIMBURO.js} +2 -2
- package/dist/cdn/{THQNXWR7.js → HGGJVBNF.js} +2 -2
- package/dist/cdn/{G2T35JFK.js → HMMUTJRU.js} +2 -2
- package/dist/cdn/{W7JDW4SP.js → HRLIBCGG.js} +1 -1
- package/dist/cdn/{WBWOINYA.js → HUV65OJF.js} +2 -2
- package/dist/cdn/{LOBXO6Z3.js → HYER3YRU.js} +2 -2
- package/dist/cdn/{KERRIMFR.js → I3EXOIYD.js} +2 -2
- package/dist/cdn/{ISF5Z62B.js → I56GF7J2.js} +2 -2
- package/dist/cdn/{XRVKF2B5.js → IGM4KAAZ.js} +2 -2
- package/dist/cdn/{VHM3PA33.js → IHEGWDMH.js} +2 -2
- package/dist/cdn/{EW44ZRGN.js → IIMX5FQH.js} +2 -2
- package/dist/cdn/{YZ7S266T.js → IKCPOABM.js} +2 -2
- package/dist/cdn/{UHU4TBKK.js → IO6FJUYV.js} +2 -2
- package/dist/cdn/{T5REQZ2F.js → IRKKFCKP.js} +2 -2
- package/dist/cdn/{TJVFTWIA.js → IUCV5TEN.js} +2 -2
- package/dist/cdn/{22QRDHRH.js → IXKO5XBU.js} +2 -2
- package/dist/cdn/{3DLBY7CD.js → J5C74QNV.js} +2 -2
- package/dist/cdn/JAWJXFYG.js +3 -0
- package/dist/cdn/{WOWPQN2K.js → JEWDN4DD.js} +2 -2
- package/dist/cdn/{YFYKRLR2.js → JHZVCNLW.js} +2 -2
- package/dist/cdn/{ADZEFOZZ.js → JJLSR4DL.js} +1 -1
- package/dist/cdn/{F6W4VW7A.js → JMLIAS5Q.js} +2 -2
- package/dist/cdn/{RTXWN3K6.js → JP7MZ4SO.js} +2 -2
- package/dist/cdn/{64VY6RQU.js → JRL4KM6I.js} +2 -2
- package/dist/cdn/{2KLYZMGM.js → JTKAOSOL.js} +2 -2
- package/dist/cdn/{4EMVE66N.js → JZ6SESNZ.js} +2 -2
- package/dist/cdn/{6ZFWOPLZ.js → JZWMZPIA.js} +2 -2
- package/dist/cdn/{Y7OS6Y4C.js → K2DEYW4E.js} +2 -2
- package/dist/cdn/{V5VW6HE6.js → K6ONAC2Y.js} +2 -2
- package/dist/cdn/{MKBESEK6.js → K6V7CV3I.js} +2 -2
- package/dist/cdn/{O4EWJWWF.js → KCFL2L25.js} +2 -2
- package/dist/cdn/{VMI765BN.js → KILDUUO6.js} +2 -2
- package/dist/cdn/KLVKCDFL.js +4 -0
- package/dist/cdn/{XTGUZO2I.js → KONXEBXV.js} +2 -2
- package/dist/cdn/{YITUVG4Q.js → KVBLMJVK.js} +2 -2
- package/dist/cdn/{XZI7QQM2.js → KVCBK7IJ.js} +2 -2
- package/dist/cdn/{SMVFTXQY.js → KVWBK67L.js} +1 -1
- package/dist/cdn/{V6H5DM7D.js → KW5AXQHG.js} +2 -2
- package/dist/cdn/{PJNL2XUA.js → KWBF3ELG.js} +2 -2
- package/dist/cdn/{JARTADUK.js → L4ID2PD6.js} +2 -2
- package/dist/cdn/{V5DNV7K7.js → L7G7FMBF.js} +2 -2
- package/dist/cdn/{YSN5DT4R.js → LEQU2L74.js} +2 -2
- package/dist/cdn/{MYV5XCN4.js → LHMKN4WD.js} +2 -2
- package/dist/cdn/{6TUQASWO.js → LLEAWARE.js} +2 -2
- package/dist/cdn/LLUMYYF5.js +4 -0
- package/dist/cdn/{DVQE5SJY.js → LMBGBKQX.js} +2 -2
- package/dist/cdn/{ZALRUPDW.js → LNV3X7PA.js} +2 -2
- package/dist/cdn/{HBTLAJ6G.js → LPPQL3CB.js} +2 -2
- package/dist/cdn/{5QJREIDM.js → LQPGO3OE.js} +2 -2
- package/dist/cdn/{SSJWZ4QM.js → M2ZX2SB2.js} +2 -2
- package/dist/cdn/{74JDXM3E.js → M6FNEHA5.js} +2 -2
- package/dist/cdn/{7EEK3PPV.js → MAFA22MZ.js} +2 -2
- package/dist/cdn/{CWPAWADJ.js → MCM6KIFF.js} +2 -2
- package/dist/cdn/{C6RTYH26.js → MEMTWMMG.js} +2 -2
- package/dist/cdn/{6BSHC3BS.js → MH2K2MEJ.js} +2 -2
- package/dist/cdn/{SXYEKMEU.js → N6GMCGSP.js} +2 -2
- package/dist/cdn/{NVFEWSYI.js → NAQ2GUAZ.js} +2 -2
- package/dist/cdn/{QP2CQ7GY.js → NED3KP6B.js} +2 -2
- package/dist/cdn/{PI5NFYIF.js → NQKBIIXI.js} +2 -2
- package/dist/cdn/{LA7F43T5.js → NVKXRPTG.js} +2 -2
- package/dist/cdn/{RXPNPZP3.js → NVZFTHO2.js} +2 -2
- package/dist/cdn/{BTBF4YYS.js → NW4C23M5.js} +2 -2
- package/dist/cdn/{WV3XQZR4.js → NXNWM65C.js} +2 -2
- package/dist/cdn/{ZF2TCT3W.js → O5A7NFQJ.js} +2 -2
- package/dist/cdn/{IKH4CWWE.js → O7KS4WKD.js} +2 -2
- package/dist/cdn/{KPRLNTDS.js → O7RYPDYM.js} +2 -2
- package/dist/cdn/{PPNA4JSM.js → OBBACAIS.js} +2 -2
- package/dist/cdn/{VCSU6MDL.js → OCRXE5FC.js} +2 -2
- package/dist/cdn/{W3AEAF2M.js → OFDJPNN3.js} +2 -2
- package/dist/cdn/{MJGUL6VA.js → OTQ5K62E.js} +2 -2
- package/dist/cdn/{5KRGNEAH.js → OVCBAFG7.js} +2 -2
- package/dist/cdn/{ZC3WRQME.js → OYMDIHVJ.js} +2 -2
- package/dist/cdn/{D65DPEI3.js → OYS5QXRB.js} +2 -2
- package/dist/cdn/{ULVQ2Q42.js → OYXXJOB6.js} +2 -2
- package/dist/cdn/{MENCYEC3.js → P3FJOWVL.js} +2 -2
- package/dist/cdn/{2C4POFML.js → P4YCK4O4.js} +2 -2
- package/dist/cdn/{KFVQPZWF.js → P7Q5JL7O.js} +2 -2
- package/dist/cdn/{MXW2KGQZ.js → PCKUBXIR.js} +2 -2
- package/dist/cdn/PDGLGYU7.js +6 -0
- package/dist/cdn/{IK2FREYU.js → PDLEV2TQ.js} +2 -2
- package/dist/cdn/{33T7RUVZ.js → PEFUYAKJ.js} +2 -2
- package/dist/cdn/{A4THBRLV.js → PQQ6DGLN.js} +2 -2
- package/dist/cdn/{HSRXTDMB.js → PQTYBGTF.js} +2 -2
- package/dist/cdn/{XKWBTW3M.js → PR4B5WOJ.js} +2 -2
- package/dist/cdn/{ILS5QES5.js → PRRQB6FV.js} +2 -2
- package/dist/cdn/{FWCZWMAZ.js → PWLD3JDG.js} +2 -2
- package/dist/cdn/{ZCSO5TL3.js → PXJZXH5S.js} +2 -2
- package/dist/cdn/{VKPROFLA.js → PXTUG2BG.js} +2 -2
- package/dist/cdn/{MBKDIQTX.js → Q3CZAX5I.js} +2 -2
- package/dist/cdn/{Z5WKUGYA.js → QBKO2OLA.js} +2 -2
- package/dist/cdn/{FCELCLX5.js → QDOWZI64.js} +2 -2
- package/dist/cdn/{KN4NIL6I.js → QGBHCKYM.js} +2 -2
- package/dist/cdn/{FICJKRQP.js → QMQCUC4F.js} +2 -2
- package/dist/cdn/{EEO34DRE.js → QNJMMJR7.js} +2 -2
- package/dist/cdn/{EKLRFFPD.js → QOBEFGOE.js} +2 -2
- package/dist/cdn/{GURDNLFG.js → QRMZS7ZD.js} +2 -2
- package/dist/cdn/{BTSYQKOO.js → QTDGPPQA.js} +2 -2
- package/dist/cdn/{F7ZYKO4F.js → R2COUSCC.js} +2 -2
- package/dist/cdn/{GB3HBWRC.js → R7OFBLGT.js} +2 -2
- package/dist/cdn/{BKUBWY3J.js → RCNQMPYD.js} +2 -2
- package/dist/cdn/{SPEAS5KV.js → RHWNK7G3.js} +2 -2
- package/dist/cdn/{GRQKQMVX.js → RL2DOUJJ.js} +2 -2
- package/dist/cdn/{FLOHYJ3P.js → RTK7SIPF.js} +2 -2
- package/dist/cdn/{RN5NVSUN.js → RZ7E7WOX.js} +2 -2
- package/dist/cdn/{QIP3ZT7K.js → S7TJYBYW.js} +2 -2
- package/dist/cdn/{UIAPIO2Q.js → SDN26EIJ.js} +1 -1
- package/dist/cdn/{CH2NBEW4.js → SHZKCLZW.js} +2 -2
- package/dist/cdn/{326AZUOH.js → SJ5362BW.js} +2 -2
- package/dist/cdn/{DVGGQJ32.js → SLRCUI6T.js} +2 -2
- package/dist/cdn/{5ALB5YQE.js → SPUXY266.js} +2 -2
- package/dist/cdn/SPVJPFBL.js +4 -0
- package/dist/cdn/{47CEWHVK.js → SYNFMXXE.js} +2 -2
- package/dist/cdn/{HCEOZTTO.js → T2HKG2XN.js} +2 -2
- package/dist/cdn/{J6QQ4EEK.js → T4D53A3F.js} +2 -2
- package/dist/cdn/{BNMVQGTZ.js → T64BC2HQ.js} +2 -2
- package/dist/cdn/{V7FY6MFH.js → T6R7MRGP.js} +2 -2
- package/dist/cdn/{KOS5RZNS.js → TCXS62CQ.js} +2 -2
- package/dist/cdn/{VNWA2VBD.js → TEEKTLVT.js} +2 -2
- package/dist/cdn/{X7CVKQMX.js → TMZFWKYN.js} +2 -2
- package/dist/cdn/{7KIAYORW.js → TS6BL6YH.js} +2 -2
- package/dist/cdn/{CW6DQYOB.js → TZQ37VVK.js} +2 -2
- package/dist/cdn/{BEBJB24F.js → U3KG7DC6.js} +2 -2
- package/dist/cdn/{SVENPG7I.js → U4JEJJRG.js} +2 -2
- package/dist/cdn/{ALADWNJH.js → UENS32LE.js} +2 -2
- package/dist/cdn/{OG4I3T6T.js → UFSONEIX.js} +2 -2
- package/dist/cdn/{JZUDYJQ3.js → UJX67YFO.js} +2 -2
- package/dist/cdn/{UPZDYSXN.js → UNASF6UO.js} +2 -2
- package/dist/cdn/{WRHQMZ7L.js → UNIDHIAN.js} +2 -2
- package/dist/cdn/{I3VMFBEC.js → UPTWVA54.js} +2 -2
- package/dist/cdn/{GBUOVUAR.js → URL2CQDC.js} +2 -2
- package/dist/cdn/{YQQE5TU5.js → USYRTK2A.js} +2 -2
- package/dist/cdn/{K3UQUO4L.js → UTGI2BTH.js} +2 -2
- package/dist/cdn/{GMLBVUJ6.js → UTMFICZP.js} +2 -2
- package/dist/cdn/{RYF27FLZ.js → UXUNPLCW.js} +2 -2
- package/dist/cdn/{ZAQSBS7O.js → UYM6X4BF.js} +2 -2
- package/dist/cdn/{M4J3T6HO.js → UZIT3A7T.js} +2 -2
- package/dist/cdn/{YUOOHAUQ.js → V5XXVO6Z.js} +2 -2
- package/dist/cdn/{FTWIUCOI.js → V5ZRYVOC.js} +2 -2
- package/dist/cdn/{CRIFNHCN.js → V7MBBBET.js} +2 -2
- package/dist/cdn/{3MINZB34.js → VFAR3UIA.js} +2 -2
- package/dist/cdn/{GXWBZNC2.js → VHS3SWO4.js} +2 -2
- package/dist/cdn/{FHSEGRL3.js → VHSZVAAE.js} +2 -2
- package/dist/cdn/{ADRKYZFB.js → VIODHIWR.js} +2 -2
- package/dist/cdn/{S3DOGV2V.js → VNXHHBRU.js} +2 -2
- package/dist/cdn/{NRDLKLJJ.js → VU3T3JBR.js} +2 -2
- package/dist/cdn/{WYNJJFBY.js → VWBQ2IUK.js} +2 -2
- package/dist/cdn/{IWKKMUPR.js → WA4P5VQP.js} +2 -2
- package/dist/cdn/{6T3SEMWA.js → WG6F5DOH.js} +2 -2
- package/dist/cdn/{5ZDJOXJO.js → WKRQBVQF.js} +2 -2
- package/dist/cdn/{3OSAI5NX.js → WNBT6ZVZ.js} +2 -2
- package/dist/cdn/{6HTGOQWC.js → WNXV7NCH.js} +2 -2
- package/dist/cdn/{ZNI2PNMF.js → WQX565K2.js} +2 -2
- package/dist/cdn/{LFM3PMX6.js → X4SYESRJ.js} +2 -2
- package/dist/cdn/{AA72D7XR.js → X4YCDQL3.js} +2 -2
- package/dist/cdn/{LROH7KZN.js → XFSDKIE2.js} +2 -2
- package/dist/cdn/{NFM5IL35.js → XGNXBTK7.js} +2 -2
- package/dist/cdn/{XS2HNQ3P.js → XOWMG6KF.js} +2 -2
- package/dist/cdn/{3XNY3ZNS.js → XSXES5W2.js} +2 -2
- package/dist/cdn/{SBR5B4QU.js → XUYWZN7J.js} +2 -2
- package/dist/cdn/{U222AYOT.js → XV7FJZ5A.js} +2 -2
- package/dist/cdn/{IOVHUQJ5.js → XXATQAWL.js} +2 -2
- package/dist/cdn/{APULZUKX.js → Y25UK45U.js} +2 -2
- package/dist/cdn/{ZMCUBHUX.js → Y37QQI6K.js} +2 -2
- package/dist/cdn/{SMXEKCVJ.js → Y42ZXHO3.js} +2 -2
- package/dist/cdn/{RZXMB34H.js → Y4IHPALZ.js} +2 -2
- package/dist/cdn/{K7SISGOD.js → Y6NIBYOZ.js} +2 -2
- package/dist/cdn/{YEV6FZB5.js → Y7KSRA5Q.js} +2 -2
- package/dist/cdn/{IYAKFIO4.js → YBVXW5PH.js} +2 -2
- package/dist/cdn/{PX5CZI5D.js → YD2QETKH.js} +2 -2
- package/dist/cdn/{7XGE2NIE.js → YRA2ZGUS.js} +2 -2
- package/dist/cdn/YVUOADHN.js +4 -0
- package/dist/cdn/{TIPPZVBF.js → Z3366SJM.js} +2 -2
- package/dist/cdn/{235LTHQ6.js → Z4SDMBBQ.js} +2 -2
- package/dist/cdn/{LOOJ6EPF.js → Z5YXVUYP.js} +2 -2
- package/dist/cdn/{2SCYJV7B.js → Z62YFJFH.js} +2 -2
- package/dist/cdn/{KRW3E2CR.js → ZICN6XGP.js} +2 -2
- package/dist/cdn/{4BICSCTH.js → ZRHGTO4X.js} +2 -2
- package/dist/cdn/{V2QV7663.js → ZU2J75NX.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/model.js +2 -2
- package/dist/chunks/action-bar-utils.js +1 -1
- package/dist/chunks/axis-model-wrapper.js +1 -1
- package/dist/chunks/bar-chart-model.js +1 -1
- package/dist/chunks/bar-chart-series.js +1 -1
- package/dist/chunks/baseline-stacking.js +1 -1
- package/dist/chunks/bg_BG.js +1 -1
- package/dist/chunks/bg_BG2.js +1 -1
- package/dist/chunks/box-plot-data.js +1 -1
- package/dist/chunks/box-plot-model.js +1 -1
- package/dist/chunks/chart-ui-utils.js +1 -1
- package/dist/chunks/chart-ui-utils2.js +1 -1
- package/dist/chunks/combo-bar-line-chart-model.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/data.js +1 -1
- package/dist/chunks/default.js +1 -1
- package/dist/chunks/gauge-model.js +1 -1
- package/dist/chunks/histogram-data.js +1 -1
- package/dist/chunks/histogram-model.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/index2.js +1 -1
- package/dist/chunks/index3.js +1 -1
- package/dist/chunks/index4.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/interfaces2.js +1 -1
- package/dist/chunks/line-chart-model.js +1 -1
- 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 +1 -1
- package/dist/chunks/model-with-rotation.js +1 -1
- package/dist/chunks/model-with-y-guides.js +1 -1
- package/dist/chunks/pie-chart-data.js +1 -1
- package/dist/chunks/pie-chart-model.js +1 -1
- package/dist/chunks/popover-ui-utils.js +1 -1
- package/dist/chunks/radar-chart-model.js +1 -1
- package/dist/chunks/resource.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/scatterplot-model.js +1 -1
- package/dist/chunks/serial-chart-model.js +1 -1
- package/dist/chunks/series-types.js +1 -1
- package/dist/chunks/series.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-chart/customElement.js +114 -115
- package/dist/components/arcgis-charts-action-bar/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-axes/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-axis/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-box-plot/customElement.js +4 -5
- package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +39 -40
- package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +18 -19
- package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-category-format/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-color-style/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-colors/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-create-flow/customElement.js +16 -17
- package/dist/components/arcgis-charts-config-field-select/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-font-style/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-format/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-format-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-general/customElement.js +8 -9
- package/dist/components/arcgis-charts-config-guide/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-guide-popover/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-guides/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-histogram-data/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +15 -16
- package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +10 -11
- package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-line-style/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-number-format/customElement.js +17 -18
- package/dist/components/arcgis-charts-config-pie-chart/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +7 -8
- package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -7
- package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +9 -10
- package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -3
- package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +5 -6
- package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +11 -12
- package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +12 -13
- package/dist/components/arcgis-charts-config-view-charts/customElement.js +7 -8
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/model.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/JJPVBMUC.js +0 -4
- package/dist/cdn/O44DYKFG.js +0 -6
- package/dist/cdn/ORXM4WPQ.js +0 -4
- package/dist/cdn/SSKWQMEP.js +0 -4
- package/dist/cdn/SYRKIM2Y.js +0 -4
- package/dist/cdn/UVOPFHYI.js +0 -4
- package/dist/cdn/ZXGOUI2N.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
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"./SMVFTXQY.js";import{b as nc,d as sc}from"./ADZEFOZZ.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," ")+`
|
|
3
|
+
v4.34.0-next.48 */
|
|
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"./KVWBK67L.js";import{b as nc,d as sc}from"./JJLSR4DL.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
5
|
`:"";e.replace(p,function(b,I,w,F,S,C){return w||(w=F),u+=e.slice(c,C).replace(av,vl),I&&(s=!0,u+=`' +
|
|
6
6
|
__e(`+I+`) +
|
|
7
7
|
'`),S&&(l=!0,u+=`';
|
|
@@ -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("./V6H5DM7D.js");switch(e){case q.Arabic:r=await import("./2O6ABYFI.js");break;case q.Bosnian:r=await import("./BTSYQKOO.js");break;case q.Bulgarian:r=await import("./G6M2YWRP.js");break;case q.Catalan:r=await import("./I3VMFBEC.js");break;case q.Czech:r=await import("./BTBF4YYS.js");break;case q.Danish:r=await import("./3DLBY7CD.js");break;case q.German:r=await import("./J53FEBS4.js");break;case q.Greek:r=await import("./TIPPZVBF.js");break;case q.EnglishUSA:r=await import("./YZ7S266T.js");break;case q.Spanish:r=await import("./TOGE3K7W.js");break;case q.Estonian:r=await import("./QRDRMX2B.js");break;case q.Finnish:r=await import("./MXW2KGQZ.js");break;case q.French:r=await import("./5ZDJOXJO.js");break;case q.Hebrew:r=await import("./VMI765BN.js");break;case q.Croatian:r=await import("./RYF27FLZ.js");break;case q.Hungarian:r=await import("./O4H3MYFX.js");break;case q.Indonesian:r=await import("./GNT3AHKT.js");break;case q.Italian:r=await import("./3LRRAHUV.js");break;case q.Japanese:r=await import("./VNWA2VBD.js");break;case q.Korean:r=await import("./235LTHQ6.js");break;case q.Lithuanian:r=await import("./RTXWN3K6.js");break;case q.Latvian:r=await import("./OG4I3T6T.js");break;case q.NorwegianBokml:r=await import("./D65DPEI3.js");break;case q.Dutch:r=await import("./4NI2ISV7.js");break;case q.Polish:r=await import("./ES2I5I3X.js");break;case q.PortugueseBrazil:r=await import("./KQKLIKXQ.js");break;case q.PortuguesePortugal:r=await import("./6WCV6EIC.js");break;case q.Romanian:r=await import("./BEBJB24F.js");break;case q.Russian:r=await import("./JTOMMQHI.js");break;case q.Serbian:r=await import("./5CRSKDU2.js");break;case q.Slovak:r=await import("./6ZFWOPLZ.js");break;case q.Slovenian:r=await import("./FXW2UN6C.js");break;case q.Swedish:r=await import("./K3UQUO4L.js");break;case q.Thai:r=await import("./VJNU6TFV.js");break;case q.Turkish:r=await import("./IDHSFYT5.js");break;case q.Ukrainian:r=await import("./KTIOKX6S.js");break;case q.Vietnamese:r=await import("./GGHPJMJQ.js");break;case q.ChineseChina:r=await import("./IYAKFIO4.js");break;case q.ChineseHongKong:r=await import("./V7FY6MFH.js");break;case q.ChineseTaiwan:r=await import("./JARTADUK.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("./FGT4G2J4.js");switch(e){case q.Arabic:r=await import("./VH7TTODO.js");break;case q.Bosnian:r=await import("./UHU4TBKK.js");break;case q.Bulgarian:r=await import("./GRQKQMVX.js");break;case q.Catalan:r=await import("./BKK6XWRQ.js");break;case q.Czech:r=await import("./NVFEWSYI.js");break;case q.Danish:r=await import("./NI5ZBYGA.js");break;case q.German:r=await import("./I2PWHNQ4.js");break;case q.Greek:r=await import("./KHBBMSTY.js");break;case q.EnglishUSA:r=await import("./NMH77PA3.js");break;case q.Spanish:r=await import("./FMBUJP46.js");break;case q.Estonian:r=await import("./GBUOVUAR.js");break;case q.Finnish:r=await import("./QKRMT3FF.js");break;case q.French:r=await import("./LA7F43T5.js");break;case q.Hebrew:r=await import("./DULRGGUO.js");break;case q.Croatian:r=await import("./4NLU7DCD.js");break;case q.Hungarian:r=await import("./IZWQSMFU.js");break;case q.Indonesian:r=await import("./SBR5B4QU.js");break;case q.Italian:r=await import("./MYV5XCN4.js");break;case q.Japanese:r=await import("./FNXMF36K.js");break;case q.Korean:r=await import("./NOAJE2FM.js");break;case q.Lithuanian:r=await import("./LGVJTKY4.js");break;case q.Latvian:r=await import("./CGJKNXMO.js");break;case q.NorwegianBokml:r=await import("./MENCYEC3.js");break;case q.Dutch:r=await import("./HBTLAJ6G.js");break;case q.Polish:r=await import("./ALADWNJH.js");break;case q.PortugueseBrazil:r=await import("./7FDB5GZC.js");break;case q.PortuguesePortugal:r=await import("./PVIW2IDO.js");break;case q.Romanian:r=await import("./XTGUZO2I.js");break;case q.Russian:r=await import("./J27XNGD2.js");break;case q.Serbian:r=await import("./GWVI2IYX.js");break;case q.Slovak:r=await import("./UYYHOCBI.js");break;case q.Slovenian:r=await import("./TDMJ2EQC.js");break;case q.Swedish:r=await import("./3CLH5O2M.js");break;case q.Thai:r=await import("./ZQZCIQ3F.js");break;case q.Turkish:r=await import("./Z5WKUGYA.js");break;case q.Ukrainian:r=await import("./A4THBRLV.js");break;case q.Vietnamese:r=await import("./SPEAS5KV.js");break;case q.ChineseChina:r=await import("./YQQE5TU5.js");break;case q.ChineseHongKong:r=await import("./A4NEJVMV.js");break;case q.ChineseTaiwan:r=await import("./MKBESEK6.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 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("./IKCPOABM.js");switch(e){case q.Arabic:r=await import("./D2EP45EQ.js");break;case q.Bosnian:r=await import("./UXUNPLCW.js");break;case q.Bulgarian:r=await import("./6SFQDC33.js");break;case q.Catalan:r=await import("./UPTWVA54.js");break;case q.Czech:r=await import("./NW4C23M5.js");break;case q.Danish:r=await import("./J5C74QNV.js");break;case q.German:r=await import("./BFW6TRYM.js");break;case q.Greek:r=await import("./Z3366SJM.js");break;case q.EnglishUSA:r=await import("./KW5AXQHG.js");break;case q.Spanish:r=await import("./EHNFMY6K.js");break;case q.Estonian:r=await import("./3LPFAZDW.js");break;case q.Finnish:r=await import("./PCKUBXIR.js");break;case q.French:r=await import("./WKRQBVQF.js");break;case q.Hebrew:r=await import("./KILDUUO6.js");break;case q.Croatian:r=await import("./QTDGPPQA.js");break;case q.Hungarian:r=await import("./BYURJHEC.js");break;case q.Indonesian:r=await import("./AZLZ7YRF.js");break;case q.Italian:r=await import("./EH74HFFB.js");break;case q.Japanese:r=await import("./TEEKTLVT.js");break;case q.Korean:r=await import("./Z4SDMBBQ.js");break;case q.Lithuanian:r=await import("./JP7MZ4SO.js");break;case q.Latvian:r=await import("./UFSONEIX.js");break;case q.NorwegianBokml:r=await import("./OYS5QXRB.js");break;case q.Dutch:r=await import("./FPWSBNJS.js");break;case q.Polish:r=await import("./EG27KJK4.js");break;case q.PortugueseBrazil:r=await import("./GILDVQS3.js");break;case q.PortuguesePortugal:r=await import("./4Y3ECF6N.js");break;case q.Romanian:r=await import("./U3KG7DC6.js");break;case q.Russian:r=await import("./3JVA7PG6.js");break;case q.Serbian:r=await import("./CAMVOGAP.js");break;case q.Slovak:r=await import("./JZWMZPIA.js");break;case q.Slovenian:r=await import("./3X3JM3FW.js");break;case q.Swedish:r=await import("./UTGI2BTH.js");break;case q.Thai:r=await import("./6OEONTVC.js");break;case q.Turkish:r=await import("./G2UB53MF.js");break;case q.Ukrainian:r=await import("./3WOLRWRQ.js");break;case q.Vietnamese:r=await import("./ED35PEC3.js");break;case q.ChineseChina:r=await import("./YBVXW5PH.js");break;case q.ChineseHongKong:r=await import("./T6R7MRGP.js");break;case q.ChineseTaiwan:r=await import("./L4ID2PD6.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("./74SIECTU.js");switch(e){case q.Arabic:r=await import("./2PZQDQSR.js");break;case q.Bosnian:r=await import("./IO6FJUYV.js");break;case q.Bulgarian:r=await import("./RL2DOUJJ.js");break;case q.Catalan:r=await import("./76IGD6SO.js");break;case q.Czech:r=await import("./NAQ2GUAZ.js");break;case q.Danish:r=await import("./H34BBYYV.js");break;case q.German:r=await import("./EJNYEMN3.js");break;case q.Greek:r=await import("./AI447QF6.js");break;case q.EnglishUSA:r=await import("./5LIJS6VA.js");break;case q.Spanish:r=await import("./BMFIOJIZ.js");break;case q.Estonian:r=await import("./URL2CQDC.js");break;case q.Finnish:r=await import("./6NPDNWKW.js");break;case q.French:r=await import("./NVKXRPTG.js");break;case q.Hebrew:r=await import("./GYFUU27P.js");break;case q.Croatian:r=await import("./FHORVYNP.js");break;case q.Hungarian:r=await import("./6WL4W75G.js");break;case q.Indonesian:r=await import("./XUYWZN7J.js");break;case q.Italian:r=await import("./LHMKN4WD.js");break;case q.Japanese:r=await import("./AP3DMF2D.js");break;case q.Korean:r=await import("./BZW3Y54Q.js");break;case q.Lithuanian:r=await import("./42TM4V6A.js");break;case q.Latvian:r=await import("./4PB7PAUI.js");break;case q.NorwegianBokml:r=await import("./P3FJOWVL.js");break;case q.Dutch:r=await import("./LPPQL3CB.js");break;case q.Polish:r=await import("./UENS32LE.js");break;case q.PortugueseBrazil:r=await import("./BJCRT2ZM.js");break;case q.PortuguesePortugal:r=await import("./DYWRZOTD.js");break;case q.Romanian:r=await import("./KONXEBXV.js");break;case q.Russian:r=await import("./3XM74UUR.js");break;case q.Serbian:r=await import("./5NIYECHK.js");break;case q.Slovak:r=await import("./43IH5MJY.js");break;case q.Slovenian:r=await import("./F7QOEDDB.js");break;case q.Swedish:r=await import("./DEI3GHII.js");break;case q.Thai:r=await import("./2D2NXS4P.js");break;case q.Turkish:r=await import("./QBKO2OLA.js");break;case q.Ukrainian:r=await import("./PQQ6DGLN.js");break;case q.Vietnamese:r=await import("./RHWNK7G3.js");break;case q.ChineseChina:r=await import("./USYRTK2A.js");break;case q.ChineseHongKong:r=await import("./K6V7CV3I.js");break;case q.ChineseTaiwan:r=await import("./C53IHSGH.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")
|